/* ===== CSS Variables ===== */
:root {
    --brand-primary: hsl(257, 94%, 64%);
    --brand-secondary: hsl(199, 90%, 54%);
    --brand-highlight: hsl(44, 96%, 62%);
    --background: hsl(226, 47%, 8%);
    --foreground: hsl(210, 40%, 98%);
    --surface: hsl(228, 45%, 12%);
    --surface-muted: hsl(226, 41%, 16%);
    --card: hsl(226, 40%, 13%);
    --border: hsl(225, 34%, 24%);
    --muted-foreground: hsl(220, 18%, 70%);
    --transition: all 0.2s ease;
}

/* ===== Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--foreground);
    background: radial-gradient(circle at top left, hsla(199, 90%, 54%, 0.18), transparent 45%),
                radial-gradient(circle at bottom right, hsla(257, 94%, 64%, 0.16), transparent 55%),
                var(--background);
    min-height: 100vh;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 4vw, 2rem);
}

/* ===== Header & Navigation ===== */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(16px);
    background: linear-gradient(90deg, hsla(228, 45%, 12%, 0.9), hsla(226, 41%, 16%, 0.85));
    border-bottom: 1px solid hsla(225, 34%, 24%, 0.65);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem clamp(1.5rem, 4vw, 2rem);
    max-height: 52px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.nav-brand-text {
    font-weight: 700;
    font-size: 1.35rem;
    letter-spacing: 0.01em;
    color: var(--foreground);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.nav-link {
    color: hsla(220, 18%, 70%, 0.9);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--foreground);
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
    color: var(--foreground);
    box-shadow: 0 4px 14px hsla(257, 94%, 64%, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px hsla(257, 94%, 64%, 0.5);
}

.btn-secondary {
    background: hsla(224, 37%, 20%, 0.8);
    color: var(--foreground);
    border: 1px solid hsla(225, 34%, 24%, 0.6);
}

.btn-secondary:hover {
    background: hsla(224, 37%, 20%, 1);
    border-color: var(--brand-primary);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.0625rem;
}

.btn-xlarge {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

/* ===== Hero Section ===== */
.hero {
    padding: clamp(4rem, 10vh, 8rem) 0 clamp(3rem, 8vh, 6rem);
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    border-radius: 999px;
    background: linear-gradient(135deg, hsla(257, 94%, 64%, 0.15), hsla(199, 90%, 54%, 0.15));
    border: 1px solid hsla(257, 94%, 64%, 0.3);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--brand-primary);
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--foreground);
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

.gradient-text {
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-description {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    line-height: 1.6;
    color: hsla(220, 18%, 70%, 0.9);
    max-width: 680px;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 0.5rem;
    animation: fadeInUp 1.2s ease-out 0.3s both;
}

.hero-trust {
    font-size: 0.875rem;
    color: hsla(220, 18%, 70%, 0.7);
    animation: fadeInUp 1.4s ease-out 0.4s both;
}

/* ===== Section Styles ===== */
.section-header {
    text-align: center;
    margin-bottom: clamp(3rem, 6vh, 4rem);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: hsla(220, 18%, 70%, 0.85);
    max-width: 640px;
    margin: 0 auto;
}

/* ===== Features Section ===== */
.features {
    padding: clamp(4rem, 10vh, 8rem) 0;
}

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

.feature-card {
    background: linear-gradient(135deg, hsla(226, 40%, 13%, 0.95), hsla(226, 41%, 16%, 0.9));
    border: 1px solid hsla(225, 34%, 24%, 0.6);
    border-radius: 1.25rem;
    padding: 2.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.feature-card:hover {
    transform: translateY(-4px);
    border-color: hsla(257, 94%, 64%, 0.4);
    box-shadow: 0 12px 30px hsla(210, 40%, 98%, 0.1);
}

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

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 1rem;
    background: linear-gradient(135deg, hsla(257, 94%, 64%, 0.2), hsla(199, 90%, 54%, 0.3));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon svg {
    color: var(--brand-primary);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.feature-description {
    font-size: 1rem;
    line-height: 1.6;
    color: hsla(220, 18%, 70%, 0.85);
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-list li {
    font-size: 0.9375rem;
    color: hsla(220, 18%, 70%, 0.9);
}

/* ===== Benefits Section ===== */
.benefits {
    padding: clamp(4rem, 10vh, 8rem) 0;
    background: linear-gradient(135deg, hsla(226, 41%, 16%, 0.3), hsla(228, 45%, 12%, 0.4));
    border-radius: 2rem;
    margin: 0 clamp(1.5rem, 4vw, 2rem);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.benefit-card {
    position: relative;
    padding-left: 4rem;
}

.benefit-number {
    position: absolute;
    left: 0;
    top: 0;
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.4;
    line-height: 1;
}

.benefit-title {
    font-size: 1.375rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.benefit-description {
    font-size: 1rem;
    line-height: 1.6;
    color: hsla(220, 18%, 70%, 0.85);
}

/* ===== CTA Section ===== */
.cta-section {
    padding: clamp(4rem, 10vh, 8rem) 0;
    text-align: center;
}

.cta-card {
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(135deg, hsla(226, 40%, 13%, 0.9), hsla(226, 41%, 16%, 0.8));
    border: 1px solid hsla(225, 34%, 24%, 0.6);
    border-radius: 2rem;
    padding: clamp(3rem, 6vw, 4rem);
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, hsla(257, 94%, 64%, 0.15), transparent 70%);
    pointer-events: none;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--foreground);
    position: relative;
}

.cta-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: hsla(220, 18%, 70%, 0.85);
    margin-bottom: 2rem;
    position: relative;
}

.cta-subtitle {
    font-size: 0.875rem;
    color: hsla(220, 18%, 70%, 0.7);
    margin-top: 1.5rem;
    position: relative;
}

/* ===== Footer ===== */
.footer {
    padding: 2rem 0 3rem;
    border-top: 1px solid hsla(225, 34%, 24%, 0.6);
    background: linear-gradient(180deg, hsla(228, 45%, 12%, 0.9), hsla(226, 41%, 16%, 0.95));
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 1.125rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: hsla(220, 18%, 70%, 0.85);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: var(--transition);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid hsla(225, 34%, 24%, 0.4);
}

.footer-bottom p {
    color: hsla(220, 18%, 70%, 0.7);
    font-size: 0.875rem;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .nav-links {
        gap: 0.75rem;
    }
    
    .nav-link {
        display: none;
    }
    
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .benefit-card {
        padding-left: 0;
        padding-top: 3.5rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .feature-card,
    .cta-card {
        padding: 2rem 1.5rem;
    }
}
