:root {
    /* Color Palette */
    --color-bg: #050508;
    --color-bg-elevated: #0f1118;
    --color-text-main: #f0f2f8;
    --color-text-muted: #949db1;
    --color-primary: #5c3ce6;
    --color-primary-hover: #7b5ef0;
    --color-accent: #21d0a5;
    
    /* Gradients */
    --gradient-brand: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
    --gradient-stroke: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05));
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Layout */
    --container-max-width: 1200px;
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 8px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

/* Base Styles */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    line-height: 1.1;
    font-weight: 600;
}

h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

p {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    margin-bottom: 24px;
}

a {
    color: var(--color-text-main);
    text-decoration: none;
    transition: var(--transition);
}

.text-gradient {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

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

.section {
    padding: 120px 0;
    position: relative;
    z-index: 10;
}

/* Backgrounds */
.hero-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('assets/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.6;
    z-index: 0;
    pointer-events: none;
    mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
}

/* UI Elements */
.badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: rgba(92, 60, 230, 0.15);
    color: #a48fff;
    border: 1px solid rgba(92, 60, 230, 0.3);
    margin-bottom: 24px;
}

.badge-accent {
    background: rgba(33, 208, 165, 0.15);
    color: #55ffcd;
    border-color: rgba(33, 208, 165, 0.3);
}

.btn {
    display: inline-block;
    font-family: var(--font-body);
    font-weight: 500;
    cursor: pointer;
    border: none;
    border-radius: 100px;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: var(--color-primary);
    color: white;
    box-shadow: 0 4px 14px rgba(92, 60, 230, 0.4);
}

.btn-primary:hover {
    background: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(92, 60, 230, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.125rem;
}

.btn-small {
    padding: 10px 24px;
    font-size: 0.875rem;
}

.glass-container, .glass-card {
    background: var(--gradient-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.4);
}

/* Nav */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

.navbar.scrolled {
    background: rgba(5, 5, 8, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.05em;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a:hover {
    color: white;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
}

.hero-content {
    max-width: 800px;
}

.hero-headline {
    font-size: clamp(3.5rem, 8vw, 5.5rem);
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.hero-subheadline {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    max-width: 600px;
    margin-bottom: 48px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

/* Layout Blocks */
.split-layout {
    display: flex;
    align-items: center;
    gap: 64px;
}

.split-layout.reverse {
    flex-direction: row-reverse;
}

.split-text, .split-image {
    flex: 1;
}

.image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    padding: 8px; /* Inner border effect */
}

.image-wrapper img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    transition: transform 0.5s ease;
}

.image-wrapper:hover img {
    transform: scale(1.02);
}

/* How It Works Steps */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 80px;
}

.steps-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.steps-list li {
    display: flex;
    gap: 24px;
}

.step-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
}

.step-content p {
    margin-bottom: 0;
}

.feature-list {
    list-style: none;
    margin-top: 24px;
}

.feature-list li {
    margin-bottom: 12px;
    color: var(--color-text-main);
    font-weight: 500;
}

/* Vision */
.vision-content {
    text-align: center;
}

.vision-text {
    max-width: 700px;
    margin: 0 auto 64px;
}

.grid-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.glass-card {
    padding: 40px;
    text-align: left;
    transition: transform 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-8px);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

/* CTA */
.cta-content {
    padding: 80px;
    text-align: center;
}

.cta-content p {
    max-width: 600px;
    margin: 0 auto 32px;
}

/* Footer */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 80px 0 40px;
    position: relative;
    z-index: 10;
    background: var(--color-bg);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 64px;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-links {
    display: flex;
    gap: 80px;
}

.link-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.link-column h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 8px;
}

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

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 32px;
    text-align: center;
}

.footer-bottom p {
    margin-bottom: 0;
    font-size: 0.875rem;
}

/* Animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
    .split-layout, .split-layout.reverse {
        flex-direction: column;
        gap: 40px;
    }
    
    .grid-features {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 48px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* simple mobile nav override */
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .cta-content {
        padding: 40px 24px;
    }
}
