:root {
    /* Colors */
    --primary: #10B981; /* Emerald-500 */
    --primary-dark: #059669; /* Emerald-600 */
    --primary-light: #34D399; /* Emerald-400 */
    --secondary: #4F46E5; /* Indigo-600 */
    --dark: #0F172A; /* Slate-900 */
    --dark-surface: #1E293B; /* Slate-800 */
    --gray-light: #F8FAFC; /* Slate-50 */
    --gray-medium: #64748B; /* Slate-500 */
    --text-main: #1E293B;
    --text-muted: #475569;
    --white: #ffffff;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #10B981 0%, #059669 100%);
    --gradient-surface: linear-gradient(145deg, #ffffff, #f1f5f9);

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-premium: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

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

    /* Spacing */
    --container-width: 1200px;
    --radius-md: 12px;
    --radius-lg: 24px;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .logo {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Utilities */
.text-center { text-align: center; }

.section {
    padding: 6rem 0;
}

.section-dark {
    background-color: var(--dark);
    color: var(--white);
}

.section-gray {
    background-color: var(--gray-light);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 4rem;
    position: relative;
    display: inline-block;
}

/* Navbar */
.navbar {
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

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

.nav-link {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.nav-link:hover {
    color: var(--primary);
    background-color: rgba(16, 185, 129, 0.05);
}

.logo {
    font-size: 1.75rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
}

/* Hero */
.hero-section {
    padding: 8rem 0 6rem;
    text-align: center;
    background: radial-gradient(circle at 50% 0%, #d1fae5 0%, #ffffff 50%);
}

.hero-title {
    font-size: 5rem;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 2rem;
    color: var(--text-main);
    font-weight: 500;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 10px 20px -5px rgba(16, 185, 129, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px -5px rgba(16, 185, 129, 0.5);
}

.hero-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--gray-medium);
}

/* Steps Grid (How it works) */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.step-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.step-number {
    font-size: 4rem;
    font-weight: 700;
    color: #f1f5f9;
    position: absolute;
    top: -10px;
    right: 10px;
    z-index: 0;
    line-height: 1;
}

.step-card h3 {
    position: relative;
    z-index: 1;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.step-card p {
    position: relative;
    z-index: 1;
    color: var(--text-muted);
}

/* Features Grid (Why Xpenser) */
/* Override dark text for dark section */
.section-dark .section-title { color: var(--white); }

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

.feature-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
    transition: background 0.3s ease;
}

.feature-card:hover {
    background: rgba(255,255,255,0.1);
}

.feature-card.full-width {
    grid-column: 1 / -1;
    text-align: center;
}

.feature-card .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.feature-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.4rem;
}

.feature-card p {
    color: #cbd5e1;
}

/* Use Cases */
.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.use-case-item {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0,0,0,0.03);
    text-align: center;
}

.use-case-item h3 {
    color: var(--primary);
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.use-case-item p {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* Upcoming */
.upcoming-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.upcoming-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-light);
    box-shadow: var(--shadow-sm);
}

.upcoming-card h3 {
    margin-bottom: 0.5rem;
}

.upcoming-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Footer CTA */
.footer-cta {
    padding: 8rem 0;
    text-align: center;
    background: var(--dark);
    position: relative;
    overflow: hidden;
}

.footer-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: var(--primary);
    filter: blur(150px);
    opacity: 0.2;
    border-radius: 50%;
    z-index: 0;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.footer-cta h2 {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.cta-subtitle {
    color: #e2e8f0;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.cta-description {
    color: #94a3b8;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.25rem;
}

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

    .hero-title {
        font-size: 3rem;
    }

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

    .use-cases-grid {
        grid-template-columns: 1fr;
    }

    .feature-card.full-width {
        grid-column: auto;
    }
}

.site-footer {
    padding: 2rem 0;
    background-color: var(--dark);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.site-footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

.site-footer a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.site-footer a:hover {
    color: var(--white);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .site-footer .container {
        flex-direction: column;
        text-align: center;
    }
}
