:root {
    /* Light Mode Palette */
    --bg: #FAFAFA;
    --bg-secondary: #F4F4F5;
    --text-primary: #18181B;
    --text-secondary: #52525B;
    --primary: #8B5E3C;
    /* The Contusk Brown */
    --primary-light: rgba(139, 94, 60, 0.1);
    --accent: #3B82F6;

    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(0, 0, 0, 0.06);
    --card-bg: #FFFFFF;
    --card-hover: #FFFFFF;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 12px 24px -6px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px -8px rgba(0, 0, 0, 0.12);

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --radius: 12px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Mesh Background (Subtle Light) */
.mesh-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background:
        radial-gradient(circle at 10% 20%, rgba(139, 94, 60, 0.05), transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(59, 130, 246, 0.05), transparent 40%);
}

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

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 40px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    padding: 16px 40px;
    box-shadow: var(--shadow-sm);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

.brand-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 20px;
    color: var(--text-primary);
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
    font-size: 14px;
}

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

.nav-btn.primary {
    background: var(--text-primary);
    color: white;
    padding: 8px 18px;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.2s;
}

.nav-btn.primary:hover {
    transform: translateY(-1px);
}

/* Hero */
.hero {
    padding: 180px 40px 100px;
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    border: 1px solid var(--glass-border);
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
}

h1 {
    font-family: var(--font-heading);
    font-size: 72px;
    line-height: 1.05;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -2px;
    color: var(--text-primary);
}

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

.subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 500px;
    margin-bottom: 40px;
    font-weight: 400;
}

.cta-group {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.btn {
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.btn-xl {
    font-size: 18px;
    padding: 18px 36px;
}

.btn-glow {
    background: var(--text-primary);
    color: white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.btn-ghost {
    background: white;
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-sm);
}

.btn-ghost:hover {
    background: var(--bg-secondary);
}

.supported-badges {
    display: flex;
    gap: 16px;
    color: var(--text-secondary);
    font-size: 14px;
    align-items: center;
}

.platform {
    color: var(--text-primary);
    font-weight: 600;
}

/* Mockup - Styled like the Actual Extension */
.app-mockup {
    position: relative;
    border-radius: 16px;
    background: transparent;
    transition: transform 0.5s ease;
    display: flex;
    justify-content: center;
}

/* The Overlay Card */
.mockup-card {
    width: 340px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    border: 1px solid #E5E5E5;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    text-align: left;
}

.mockup-header {
    padding: 14px 16px;
    border-bottom: 1px solid #EEE;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #F8F8F8;
}

.mockup-title {
    font-weight: 600;
    font-size: 14px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ele-icon {
    font-size: 16px;
}

.mockup-body {
    padding: 0;
}

.search-bar {
    margin: 12px;
    background: #F3F4F6;
    border-radius: 6px;
    padding: 8px 12px;
    color: #9CA3AF;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.result-list {
    padding: 0 12px 12px;
}

.result-item {
    padding: 10px;
    border-radius: 6px;
    background: white;
    border: 1px solid white;
    margin-bottom: 4px;
    display: flex;
    gap: 10px;
    cursor: default;
}

.result-item:hover {
    background: #F9FAFB;
    border-color: #EEE;
}

.result-item.active {
    background: #EEF2FF;
    border-color: #E0E7FF;
}

.res-icon {
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.res-content {
    flex: 1;
}

.res-title {
    font-size: 13px;
    font-weight: 500;
    color: #1F2937;
    margin-bottom: 2px;
}

.res-meta {
    font-size: 11px;
    color: #6B7280;
}

.res-score {
    font-size: 11px;
    color: #3B82F6;
    font-weight: 500;
    text-align: right;
}


/* Sections */
section {
    padding: 100px 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 80px;
    color: var(--text-primary);
}

/* Problem Grid */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.comparison-card {
    background: white;
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    box-shadow: var(--shadow-lg);
}

.bad-side,
.good-side {
    padding: 40px;
}

.bad-side {
    background: #FEF2F2;
    border-right: 1px solid #FEE2E2;
}

.good-side {
    background: #F0FDF4;
}

.comparison-card h4 {
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 700;
}

.comparison-card ul {
    list-style: none;
}

.comparison-card li {
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--text-secondary);
}

/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 240px);
    gap: 24px;
}

.bento-card {
    background: white;
    border: 1px solid #E5E5E5;
    border-radius: 24px;
    padding: 32px;
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-shadow: var(--shadow-sm);
}

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

.large {
    grid-row: span 2;
}

.wide {
    grid-column: span 2;
}

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

.bento-card h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.bento-card p {
    color: var(--text-secondary);
    font-size: 15px;
}

/* Download */
.download-wrapper {
    background: white;
    border: 1px solid #E5E5E5;
    border-radius: 32px;
    padding: 80px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.section-header h2 {
    color: var(--text-primary);
    margin-bottom: 12px;
    font-family: var(--font-heading);
    font-size: 36px;
}

.install-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-top: 60px;
}

.install-step {
    background: var(--bg-secondary);
    border: 1px solid #E4E4E7;
    padding: 40px;
    border-radius: 20px;
    width: 320px;
    text-align: left;
}

.step-badge {
    background: var(--text-primary);
    color: white;
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 16px;
}

.install-step h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.install-step p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 24px;
}

.code-snippet,
.chrome-instruction {
    background: white;
    border: 1px solid #E4E4E7;
    padding: 12px;
    border-radius: 8px;
    font-family: var(--font-mono);
    font-size: 12px;
    color: #52525B;
    margin-bottom: 20px;
    overflow-x: auto;
}

.btn-secondary {
    background: white;
    color: var(--text-primary);
    border: 1px solid #D4D4D8;
    width: 100%;
    border-radius: 8px;
    padding: 12px;
    font-weight: 500;
    cursor: pointer;
}

.btn-secondary:hover {
    background: #F4F4F5;
}

.btn-primary {
    background: var(--text-primary);
    color: white;
    border: none;
    width: 100%;
    border-radius: 8px;
    padding: 12px;
    font-weight: 500;
    cursor: pointer;
}

.btn-primary:hover {
    opacity: 0.9;
}

.divider {
    font-size: 12px;
    color: #A1A1AA;
    font-weight: 700;
    letter-spacing: 1px;
}

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

.faq-item {
    padding: 32px;
    border: 1px solid #E5E5E5;
    border-radius: 16px;
    background: white;
    box-shadow: var(--shadow-sm);
}

.faq-item h4 {
    margin-bottom: 12px;
    font-size: 16px;
    color: var(--text-primary);
}

.faq-item p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Footer */
footer {
    padding: 60px 0;
    border-top: 1px solid #E5E5E5;
    margin-top: 80px;
    text-align: center;
    background: white;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo {
    width: 24px;
    border-radius: 4px;
}

.copyright {
    color: #A1A1AA;
    font-size: 14px;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 140px;
    }

    h1 {
        font-size: 48px;
    }

    .bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .large,
    .wide {
        grid-column: auto;
        grid-row: auto;
    }

    .install-grid {
        flex-direction: column;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }
}