:root {
    /* Colors */
    --color-primary: #6366f1;
    --color-secondary: #8b5cf6;
    --color-accent: #06b6d4;
    --color-bg: #0f0f11;
    --color-surface: #1a1a1f;
    --color-text: #f4f4f5;
    --color-text-muted: #a1a1aa;
    --color-border: #2a2a2f;

    /* Typography */
    --font-display: 'Outfit', sans-serif;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-caption: 'Inter', sans-serif;

    /* Spacing & Layout */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 32px;
    --space-xl: 64px;
    --space-2xl: 128px;
    --max-width: 1280px;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --border-radius-pill: 9999px;

    /* Shadow Intensity (medium) */
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    position: relative;
}

/* Typography Classes */
.display-text {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 4.5rem; /* 4.5rem */
    line-height: 1.1;
    color: var(--color-text);
    text-align: center;
}

.heading-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 2.5rem; /* 2.5rem */
    line-height: 1.2;
    color: var(--color-text);
    text-align: center;
    margin-bottom: var(--space-lg);
}

.heading-text-sm {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem; /* Custom for cards */
    color: var(--color-text);
    margin-bottom: var(--space-sm);
}

.body-text-lg {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 1.125rem; /* Slightly larger body text */
    line-height: 1.7;
    color: var(--color-text-muted);
    text-align: center;
    max-width: 800px;
    margin: var(--space-md) auto var(--space-xl) auto;
}

.body-text-sm {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 1rem;
    color: var(--color-text-muted);
}

.caption-text {
    font-family: var(--font-caption);
    font-weight: 400;
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.text-center {
    text-align: center;
}

.text-muted {
    color: var(--color-text-muted);
}

/* Container */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* Ambient Gradient (hero-only) */
.ambient-gradient {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle at 20% 20%, var(--color-primary) 0%, transparent 20%),
                radial-gradient(circle at 80% 80%, var(--color-secondary) 0%, transparent 20%);
    filter: blur(100px) opacity(0.3);
    pointer-events: none;
    z-index: -1;
    animation: floatGradient 15s infinite alternate ease-in-out;
}

@keyframes floatGradient {
    0% {
        transform: translate(0, 0) scale(1);
    }
    100% {
        transform: translate(20px, 20px) scale(1.05);
    }
}

/* Header */
.main-header {
    background-color: rgba(0, 0, 0, 0.4); /* Semi-transparent background */
    backdrop-filter: blur(10px);
    padding: var(--space-md) 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--color-border);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-text);
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: var(--space-lg);
}

.main-nav a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: var(--color-primary);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-text);
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

/* Sections */
section {
    padding: var(--space-xl) 0;
    position: relative;
    overflow: hidden;
}

.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 0;
    padding-bottom: 0;
}

.hero-section h1 {
    margin-bottom: var(--space-md);
}

.hero-actions {
    margin-top: var(--space-xl);
    display: flex;
    gap: var(--space-md);
    justify-content: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--border-radius-pill);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: var(--font-body);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-text);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: var(--shadow-lg);
    background-color: #5558e6;
}

.btn-secondary {
    background-color: var(--color-surface);
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: var(--shadow-lg);
    background-color: var(--color-primary);
    color: var(--color-text);
}

.btn-large {
    padding: var(--space-lg) var(--space-2xl);
    font-size: 1.125rem;
}

/* Feature Section */
.features-section {
    background-color: var(--color-surface);
    padding-top: var(--space-xl);
    padding-bottom: var(--space-xl);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.feature-card {
    background-color: rgba(26, 26, 31, 0.6); /* Glassmorphism background */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(42, 42, 47, 0.7);
    border-radius: var(--border-radius-md);
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    color: var(--color-accent);
    width: 48px;
    height: 48px;
    margin-bottom: var(--space-md);
}

/* Social Proof Section */
.social-proof-section {
    padding-top: var(--space-xl);
    padding-bottom: var(--space-xl);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.testimonial-card {
    background-color: rgba(26, 26, 31, 0.6); /* Glassmorphism background */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(42, 42, 47, 0.7);
    border-radius: var(--border-radius-md);
    padding: var(--space-lg);
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: var(--space-md);
    color: var(--color-text);
}

.testimonial-author {
    font-weight: 600;
    color: var(--color-primary);
}

.testimonial-author .author-title {
    display: block;
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.stats-counters {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: var(--space-lg);
    margin-top: var(--space-xl);
    text-align: center;
}

.stat-item {
    flex: 1;
    min-width: 150px;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-accent);
    display: block;
}

.stat-label {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-text);
    display: block;
    margin-top: var(--space-sm);
}

/* CTA Section */
.cta-section {
    background-color: var(--color-primary);
    color: var(--color-text);
    text-align: center;
    padding: var(--space-xl) 0;
    border-top: 1px solid var(--color-border);
}

.cta-section .heading-text, .cta-section .body-text-lg {
    color: var(--color-text);
}

.cta-section .btn {
    margin-top: var(--space-lg);
}

.cta-section .btn-primary {
    background-color: var(--color-surface);
    color: var(--color-primary);
    border: 1px solid var(--color-surface);
}

.cta-section .btn-primary:hover {
    background-color: var(--color-text);
    color: var(--color-primary);
    transform: translateY(-2px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

/* Footer */
.main-footer {
    background-color: var(--color-surface);
    padding: var(--space-xl) 0;
    border-top: 1px solid var(--color-border);
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.main-footer .footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.main-footer .footer-brand .logo {
    margin-bottom: var(--space-sm);
}

.main-footer .footer-brand p {
    color: var(--color-text-muted);
}

.main-footer .footer-heading {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--space-md);
}

.main-footer ul {
    list-style: none;
}

.main-footer ul li {
    margin-bottom: var(--space-sm);
}

.main-footer ul li a {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.main-footer ul li a:hover {
    color: var(--color-primary);
}

.social-icons {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-md);
}

.social-icons a {
    color: var(--color-text-muted);
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
    color: var(--color-primary);
    transform: translateY(-2px);
}

.social-icons svg {
    width: 24px;
    height: 24px;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-md);
    border-top: 1px solid var(--color-border);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .display-text {
        font-size: 3rem;
    }

    .heading-text {
        font-size: 2rem;
    }

    .main-nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--color-surface);
        border-top: 1px solid var(--color-border);
        padding: var(--space-md) 0;
    }

    .main-nav.active {
        display: flex;
    }

    .main-nav ul {
        flex-direction: column;
        text-align: center;
        gap: var(--space-sm);
    }

    .main-nav a {
        display: block;
        padding: var(--space-sm) var(--space-md);
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero-actions {
        flex-direction: column;
    }

    .stats-counters {
        flex-direction: column;
        align-items: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand, .footer-links, .footer-legal, .footer-social {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .social-icons {
        justify-content: center;
    }
}

/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}