: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;
}

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

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-text);
    line-height: 1.2;
}

h1 {
    font-size: var(--font-display);
    font-weight: 800;
}

h2 {
    font-size: var(--font-heading);
    font-weight: 700;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: var(--font-body);
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

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

.section-padding {
    padding: var(--space-xl) 0;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--border-radius-pill);
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
    outline: none;
    position: relative;
    overflow: hidden;
    transform: translateY(0);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

.btn-primary:hover {
    background-color: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

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

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-text);
    transform: translateY(-2px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

/* Hero Section */
.hero {
    background-color: var(--color-surface);
    padding: var(--space-2xl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-title {
    font-size: 4.5rem;
    font-family: var(--font-display);
    margin-bottom: var(--space-md);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    max-width: 700px;
    margin: 0 auto var(--space-lg);
}

.hero-decoration {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle at 10% 20%, var(--color-primary) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, var(--color-secondary) 0%, transparent 40%);
    opacity: 0.2;
    filter: blur(80px);
    z-index: 0;
    animation: floatBlob 10s ease-in-out infinite alternate;
}

.hero > .container {
    position: relative;
    z-index: 1;
}

/* Features Section */
.features {
    background-color: var(--color-bg);
    text-align: center;
}

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

.feature-card {
    background: rgba(26, 26, 31, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    padding: var(--space-lg);
    text-align: left;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

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

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
}

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

/* Social Proof Section */
.social-proof {
    background-color: var(--color-surface);
    text-align: center;
}

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

.stat-item {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    padding: var(--space-lg);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-primary);
    display: block;
    margin-bottom: var(--space-sm);
}

.stat-label {
    font-family: var(--font-caption);
    color: var(--color-text-muted);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    padding: var(--space-2xl) 0;
    text-align: center;
}

.cta-title {
    color: var(--color-text);
    margin-bottom: var(--space-md);
}

.cta-subtitle {
    color: var(--color-text);
    font-size: 1.125rem;
    margin-bottom: var(--space-lg);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

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

.footer-brand h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
}

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

.footer-links h4,
.footer-social h4 {
    font-size: 1.125rem;
    color: var(--color-text);
    margin-bottom: var(--space-md);
}

.footer-links ul,
.footer-social ul {
    list-style: none;
}

.footer-links li,
.footer-social li {
    margin-bottom: var(--space-sm);
}

.footer-social ul {
    display: flex;
    gap: var(--space-md);
}

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

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

.footer-social svg {
    width: 20px;
    height: 20px;
}

.footer-legal {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-top: 1px solid var(--color-border);
    padding-top: var(--space-lg);
    margin-top: var(--space-lg);
}

.footer-legal p {
    margin-bottom: var(--space-sm);
}

.footer-legal ul {
    list-style: none;
    display: flex;
    gap: var(--space-md);
}

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

/* Section Titles */
.section-title {
    font-size: var(--font-heading);
    font-weight: 700;
    margin-bottom: var(--space-lg);
}

/* Animations */
@keyframes floatBlob {
    0% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(20%, -15%) scale(1.1);
    }
    66% {
        transform: translate(-15%, 10%) scale(0.9);
    }
    100% {
        transform: translate(0, 0) scale(1);
    }
}

.reveal-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal-item.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .feature-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

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

    .footer-links ul,
    .footer-social ul {
        justify-content: center;
    }

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

    .footer-legal ul {
        flex-direction: column;
        gap: var(--space-sm);
    }
}
