/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 16px 0;
    background: rgba(10, 10, 22, 0.75);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: -1px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.nav-links {
    display: flex;
    gap: 36px;
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.25s;
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: width 0.3s;
}

.nav-links a:hover {
    color: var(--text);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 150px 0 130px;
}

.hero h1 {
    font-size: 4.6rem;
    font-weight: 700;
    margin-bottom: 28px;
    line-height: 1.05;
    letter-spacing: -3px;
}

.hero h1 span {
    background: linear-gradient(90deg, var(--primary) 10%, var(--accent) 90%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 48px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.75;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 17px 46px;
    background: linear-gradient(135deg, var(--primary), #8f6bff 55%, var(--accent));
    background-size: 160% 160%;
    color: #ffffff;
    text-decoration: none;
    border-radius: 999px;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.2px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 12px 36px var(--primary-glow);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.35), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 52px rgba(124, 92, 255, 0.5);
}

.cta-button:hover::before {
    opacity: 1;
}

/* Features Section */
.features {
    padding: 110px 0;
    background: linear-gradient(180deg, transparent, rgba(124, 92, 255, 0.05), transparent);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.features h2 {
    text-align: center;
    font-size: 2.6rem;
    margin-bottom: 72px;
    font-weight: 700;
    letter-spacing: -1.5px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}

.feature-card {
    background: linear-gradient(180deg, var(--bg-card), #10101f);
    padding: 44px 36px;
    border-radius: 24px;
    text-align: center;
    border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0;
    transition: opacity 0.35s;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-strong);
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.4), 0 0 36px rgba(124, 92, 255, 0.12);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 78px;
    height: 78px;
    border-radius: 50%;
    background: rgba(124, 92, 255, 0.10);
    border: 1px solid rgba(124, 92, 255, 0.35);
    transition: transform 0.35s, box-shadow 0.35s, background 0.35s;
}

.feature-card:hover .feature-icon {
    transform: scale(1.08) rotate(-4deg);
    background: rgba(124, 92, 255, 0.18);
    box-shadow: 0 0 28px rgba(124, 92, 255, 0.3);
}

.feature-card h3 {
    font-size: 1.45rem;
    margin-bottom: 14px;
    font-weight: 700;
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.75;
}

/* How It Works */
.how-it-works {
    padding: 110px 0;
}

.how-it-works h2 {
    text-align: center;
    font-size: 2.6rem;
    margin-bottom: 72px;
    font-weight: 700;
    letter-spacing: -1.5px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
    position: relative;
}

.step {
    text-align: center;
    position: relative;
    padding: 36px 24px;
    border-radius: 24px;
    background: linear-gradient(180deg, var(--bg-card), #10101f);
    border: 1px solid var(--border);
    transition: all 0.35s;
}

.step:hover {
    border-color: var(--primary);
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), 0 0 28px rgba(124, 92, 255, 0.12);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 20px;
    line-height: 1;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: #ffffff;
    box-shadow: 0 10px 28px var(--primary-glow);
}

.step h3 {
    font-size: 1.35rem;
    margin-bottom: 14px;
    font-weight: 700;
}

.step p {
    color: var(--text-muted);
    line-height: 1.75;
}

/* Footer */
.footer {
    background: var(--bg-soft);
    padding: 60px 0;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-links {
    display: flex;
    gap: 36px;
    list-style: none;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.25s;
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--accent);
}

.copyright {
    color: var(--text-dim);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.9rem;
        letter-spacing: -1.5px;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .nav-links {
        display: none;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .steps {
        grid-template-columns: 1fr;
    }
}
