/* assets/css/index.css - Unique Landing Page Styles */

/* Hero Section - Immersive */
.hero {
    position: relative;
    padding: 160px 0 120px;
    text-align: center;
    overflow: hidden;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.15) 0%, transparent 60%);
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGNpcmNsZSBjeD0iMSIgY3k9IjEiIHI9IjEiIGZpbGw9InJnYmEoMjU1LDI1NSwyNTUsMC4wNSkiLz48L3N2Zz4=');
    mask-image: radial-gradient(circle, black 40%, transparent 80%);
    animation: rotateBg 120s linear infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes rotateBg {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 99px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: var(--text-accent);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.2);
    animation: fadeIn 0.8s ease-out;
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #fff 30%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.8s ease-out;
}

.hero-description {
    font-size: 1.35rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 48px;
    line-height: 1.6;
    animation: slideUp 0.8s 0.1s ease-out backwards;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: slideUp 0.8s 0.2s ease-out backwards;
}

.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: rotate(45deg) translate(-100%, 0);
    transition: 0.6s;
}

.btn-glow:hover::after {
    transform: rotate(45deg) translate(100%, 0);
}

/* Features Section - Grid Layout */
.features-section {
    padding: 100px 0;
    background: linear-gradient(to bottom, var(--bg-body), var(--bg-surface));
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 16px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 32px;
    border-radius: 20px;
    transition: 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-box:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--primary-glow);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.3);
}

.feature-icon-wrapper {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(6, 182, 212, 0.1));
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-size: 1.75rem;
    margin-bottom: 24px;
    color: var(--primary);
}

/* Steps / Workflow */
.workflow-section {
    padding: 100px 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    counter-reset: step;
}

.step-card {
    position: relative;
    padding-left: 20px;
}

.step-card::before {
    counter-increment: step;
    content: "0" counter(step);
    font-size: 4rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.03);
    position: absolute;
    top: -30px;
    left: 0;
    z-index: -1;
}

.step-title {
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 12px;
    font-weight: 700;
}

.step-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Device Support */
.devices-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 0;
    margin: 60px 0;
}

.devices-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    align-items: center;
    opacity: 0.6;
}

.device-item {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-actions {
        flex-direction: column;
    }
}