@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700;800&family=Playfair+Display:wght@700;900&display=swap');

:root {
    /* Color Palette - Midnight Emerald */
    --bg-dark: #0B0F1A;
    --surface-dark: #161B2D;
    --primary: #10B981; /* Emerald */
    --primary-hover: #059669;
    --primary-glow: rgba(16, 185, 129, 0.3);
    --secondary: #6366F1; /* Indigo */
    --text-white: #F8FAFC;
    --text-muted: #94A3B8;
    --border-color: #1E293B;
    --glass-bg: rgba(22, 27, 45, 0.7);
    
    /* Layout Tokens */
    --font-heading: 'Outfit', sans-serif;
    --font-main: 'Outfit', sans-serif;
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --radius: 24px;
    --section-padding: 100px 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

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

/* Glassmorphism Classes */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.text-gradient {
    background: linear-gradient(135deg, #FFF 30%, var(--primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Header & Nav */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.header.scrolled {
    padding: 15px 0;
    background: rgba(11, 15, 26, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

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

.logo {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--text-white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0;
}

.header-logo {
    height: 90px;
    width: auto;
    object-fit: contain;
    margin-right: -18px;
    transform: translateY(4px);
    filter: drop-shadow(0 0 25px rgba(16, 185, 129, 0.45));
}

.logo span {
    color: var(--primary);
}

/* Buttons */
.btn {
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: var(--bg-dark);
    box-shadow: 0 10px 30px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px var(--primary-glow);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-white);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-white);
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    position: relative;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    filter: blur(60px);
    z-index: -1;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 24px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.hero-mockup {
    margin-top: 60px;
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 100px rgba(0,0,0,0.8);
    border: 1px solid var(--border-color);
}

/* Features Grid */
.features {
    padding: var(--section-padding);
}

.section-head {
    text-align: center;
    margin-bottom: 60px;
}

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

.card {
    padding: 40px;
    border-radius: var(--radius);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--primary);
    font-size: 24px;
}

.card h3 {
    margin-bottom: 16px;
    font-size: 1.5rem;
}

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

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

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

/* Responsive */
/* Utility Colors */
.text-red { color: #EF4444; }
.text-indigo { color: #818CF8; }
.text-emerald { color: #10B981; }

/* Problem Section */
.glass-red {
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.2);
}
.glass-red:hover {
    border-color: #EF4444;
    box-shadow: 0 10px 30px rgba(239, 68, 68, 0.1);
}
.problem-grid .card-icon {
    background: rgba(239, 68, 68, 0.1);
    color: #EF4444;
}
.impact-text {
    font-size: 1.5rem;
    line-height: 1.4;
    color: var(--text-white);
}

/* Vision Section */
.glass-indigo {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(11, 15, 26, 1) 100%);
    border-top: 1px solid rgba(99, 102, 241, 0.2);
    border-bottom: 1px solid rgba(99, 102, 241, 0.2);
}
.vision-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.vision-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Comparison Section */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}
.comp-card {
    padding: 40px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
}
.comp-card h4 {
    font-size: 1.5rem;
    margin-bottom: 24px;
    text-align: center;
}
.comp-card ul {
    list-style: none;
}
.comp-card ul li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
}
.comp-card.best {
    border: 2px solid var(--primary);
    background: rgba(16, 185, 129, 0.05);
    transform: scale(1.05);
}
.comp-card.best li {
    color: var(--text-white);
}
.comp-card.best li::before {
    content: '✓';
    color: var(--primary);
    font-weight: bold;
}

/* Misc */
.text-mini {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 16px;
}
.btn-large {
    padding: 20px 48px;
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .section-padding { padding: 60px 20px; }
    .hero { padding: 140px 0 60px; }
    .comparison-grid { grid-template-columns: 1fr; }
    .comp-card.best { transform: scale(1); margin-top: 20px; }

    .logo {
        font-size: 1.6rem;
    }
    
    .header-logo {
        height: 50px;
        margin-right: -10px;
        transform: translateY(2px);
    }
}
