:root {
    /* Brand colors */
    --blue: #4285F4;
    --blue-dark: #1a73e8;
    --blue-light: #669df6;
    --red: #EA4335;
    --yellow: #FBBC05;
    --green: #34A853;

    /* Light theme (default) */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #f1f3f4;
    --bg-card: #ffffff;
    --bg-elevated: #ffffff;
    --border-color: #e8eaed;
    --border-color-light: #dadce0;
    --text-primary: #202124;
    --text-secondary: #5f6368;
    --text-light: #80868b;
    --text-inverse: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgba(60, 64, 67, 0.3), 0 1px 3px 1px rgba(60, 64, 67, 0.15);
    --shadow-md: 0 1px 3px 0 rgba(60, 64, 67, 0.3), 0 4px 8px 3px rgba(60, 64, 67, 0.15);
    --shadow-lg: 0 1px 3px 0 rgba(60, 64, 67, 0.3), 0 8px 16px 4px rgba(60, 64, 67, 0.15);
    --shadow-xl: 0 2px 6px 0 rgba(60, 64, 67, 0.3), 0 16px 24px 8px rgba(60, 64, 67, 0.15);
    --code-bg: #202124;
    --code-text: #f1f3f4;

    /* Legacy variables for compatibility */
    --white: #ffffff;
    --gray-50: #f8f9fa;
    --gray-100: #f1f3f4;
    --gray-200: #e8eaed;
    --gray-300: #dadce0;
    --gray-400: #bdc1c6;
    --gray-500: #9aa0a6;
    --gray-600: #80868b;
    --gray-700: #5f6368;
    --gray-800: #3c4043;
    --gray-900: #202124;
}

/* Dark theme */
[data-theme="dark"] {
    --bg-primary: #202124;
    --bg-secondary: #292a2d;
    --bg-tertiary: #35363a;
    --bg-card: #292a2d;
    --bg-elevated: #35363a;
    --border-color: #3c4043;
    --border-color-light: #5f6368;
    --text-primary: #e8eaed;
    --text-secondary: #9aa0a6;
    --text-light: #80868b;
    --text-inverse: #202124;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.5), 0 1px 3px 1px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 1px 3px 0 rgba(0, 0, 0, 0.5), 0 4px 8px 3px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 1px 3px 0 rgba(0, 0, 0, 0.5), 0 8px 16px 4px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 2px 6px 0 rgba(0, 0, 0, 0.5), 0 16px 24px 8px rgba(0, 0, 0, 0.3);
    --code-bg: #35363a;
    --code-text: #e8eaed;

    --white: #202124;
    --gray-50: #292a2d;
    --gray-100: #35363a;
    --gray-200: #3c4043;
    --gray-300: #5f6368;
    --gray-400: #80868b;
    --gray-500: #9aa0a6;
    --gray-600: #bdc1c6;
    --gray-700: #dadce0;
    --gray-800: #e8eaed;
    --gray-900: #f1f3f4;
}

/* System preference dark mode */
@media (prefers-color-scheme: dark) {
    [data-theme="system"] {
        --bg-primary: #202124;
        --bg-secondary: #292a2d;
        --bg-tertiary: #35363a;
        --bg-card: #292a2d;
        --bg-elevated: #35363a;
        --border-color: #3c4043;
        --border-color-light: #5f6368;
        --text-primary: #e8eaed;
        --text-secondary: #9aa0a6;
        --text-light: #80868b;
        --text-inverse: #202124;
        --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.5), 0 1px 3px 1px rgba(0, 0, 0, 0.3);
        --shadow-md: 0 1px 3px 0 rgba(0, 0, 0, 0.5), 0 4px 8px 3px rgba(0, 0, 0, 0.3);
        --shadow-lg: 0 1px 3px 0 rgba(0, 0, 0, 0.5), 0 8px 16px 4px rgba(0, 0, 0, 0.3);
        --shadow-xl: 0 2px 6px 0 rgba(0, 0, 0, 0.5), 0 16px 24px 8px rgba(0, 0, 0, 0.3);
        --code-bg: #35363a;
        --code-text: #e8eaed;

        --white: #202124;
        --gray-50: #292a2d;
        --gray-100: #35363a;
        --gray-200: #3c4043;
        --gray-300: #5f6368;
        --gray-400: #80868b;
        --gray-500: #9aa0a6;
        --gray-600: #bdc1c6;
        --gray-700: #dadce0;
        --gray-800: #e8eaed;
        --gray-900: #f1f3f4;
    }
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

::selection {
    background: rgba(66, 133, 244, 0.2);
    color: var(--text-primary);
}

body {
    font-family: 'Inter', 'Google Sans', 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 16px;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* ===== LANDING PAGE STYLES ===== */

.landing-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 24px;
    background: var(--bg-primary);
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.nav.scrolled {
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.25em;
    letter-spacing: -0.5px;
}

.nav-brand:hover {
    color: var(--text-primary);
    text-decoration: none;
}

.nav-logo {
    height: 32px;
    width: auto;
}

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95em;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--blue);
}

/* Theme Switcher */
.theme-switcher {
    display: flex;
    align-items: center;
    background: var(--bg-tertiary);
    border-radius: 100px;
    padding: 4px;
    gap: 2px;
}

.theme-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--text-light);
}

.theme-btn:hover {
    color: var(--text-primary);
    background: var(--bg-secondary);
}

.theme-btn.active {
    background: var(--bg-primary);
    color: var(--blue);
    box-shadow: var(--shadow-sm);
}

.theme-btn svg {
    width: 18px;
    height: 18px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 140px 24px 100px;
    position: relative;
    background: var(--bg-primary);
    overflow: hidden;
    transition: background-color 0.3s ease;
}

/* Subtle decorative shapes */
.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(66, 133, 244, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(52, 168, 83, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gray-100);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.875em;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 32px;
    animation: fadeIn 0.6s ease-out;
}

.badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--green);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 400;
    margin: 0 0 24px;
    color: var(--text-primary);
    letter-spacing: -1px;
    line-height: 1.2;
    animation: fadeIn 0.6s ease-out 0.1s both;
}

.hero h1 .rotating-text {
    color: var(--blue);
    font-weight: 500;
}

.hero .subtitle {
    font-size: 1.25em;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto 16px;
    line-height: 1.8;
    font-weight: 400;
    animation: fadeIn 0.6s ease-out 0.2s both;
}

.hero .subtitle-small {
    font-size: 1em;
    color: var(--text-light);
    margin-bottom: 48px;
    animation: fadeIn 0.6s ease-out 0.3s both;
}

/* Hero CTA Buttons */
.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeIn 0.6s ease-out 0.4s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn:focus {
    outline: none;
}

.btn:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 2px;
}

.btn-primary {
    background: var(--blue);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: var(--blue-dark);
    color: var(--white);
    box-shadow: var(--shadow-md);
    text-decoration: none;
    transform: translateY(-1px);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}

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

.btn-secondary:hover {
    background: var(--bg-secondary);
    border-color: var(--blue-light);
    transform: translateY(-1px);
}

.btn-secondary:active {
    transform: translateY(0);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.05em;
}

/* Hero Visual / Search Preview */
.hero-visual {
    margin-top: 64px;
    width: 100%;
    max-width: 680px;
    animation: fadeIn 0.8s ease-out 0.5s both;
}

.search-preview {
    background: var(--bg-card);
    border: 1px solid var(--border-color-light);
    border-radius: 16px;
    padding: 20px 24px;
    box-shadow: var(--shadow-xl);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.search-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(66, 133, 244, 0.1), rgba(52, 168, 83, 0.1));
    border: 1px solid rgba(66, 133, 244, 0.2);
    border-radius: 100px;
    padding: 6px 14px;
    font-size: 0.8em;
    font-weight: 600;
    color: var(--blue);
}

.ai-icon {
    width: 16px;
    height: 16px;
    color: var(--blue);
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: scale(1.1) rotate(5deg);
        opacity: 0.8;
    }
}

.search-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-tertiary);
    border-radius: 12px;
    padding: 14px 20px;
    margin-bottom: 16px;
    position: relative;
}

.search-icon {
    width: 20px;
    height: 20px;
    color: var(--text-light);
    flex-shrink: 0;
}

.search-placeholder {
    color: var(--text-light);
    font-size: 0.95em;
    flex: 1;
}

.search-placeholder .typing-cursor {
    display: inline-block;
    width: 2px;
    height: 1.1em;
    background: var(--blue);
    margin-left: 2px;
    vertical-align: text-bottom;
    animation: blink 1s step-end infinite;
}

.search-ai-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--blue), var(--green));
    border-radius: 8px;
    flex-shrink: 0;
}

.search-ai-hint svg {
    width: 16px;
    height: 16px;
    color: white;
}

.search-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background: var(--bg-card);
    border: 1px solid var(--border-color-light);
    color: var(--text-secondary);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.85em;
    font-weight: 500;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.tag:hover {
    background: rgba(66, 133, 244, 0.08);
    border-color: var(--blue);
    color: var(--blue);
    transform: translateY(-1px);
}

/* Scroll Animation Classes */
.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* Value Props Section */
.value-props {
    padding: 100px 24px;
    background: var(--bg-secondary);
    transition: background-color 0.3s ease;
}

.value-props-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.value-prop {
    text-align: center;
    padding: 32px;
}

.value-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.value-prop:hover .value-icon {
    transform: scale(1.1);
}

.value-icon .icon {
    width: 48px;
    height: 48px;
    stroke: var(--blue);
    stroke-width: 1.25;
    transition: stroke 0.3s ease;
}

.value-prop:nth-child(1) .value-icon .icon { stroke: var(--blue); }
.value-prop:nth-child(2) .value-icon .icon { stroke: var(--red); }
.value-prop:nth-child(3) .value-icon .icon { stroke: var(--green); }

.value-prop h3 {
    color: var(--text-primary);
    font-size: 1.25em;
    margin: 0 0 12px;
    font-weight: 500;
}

.value-prop p {
    color: var(--text-secondary);
    font-size: 1em;
    line-height: 1.7;
    margin: 0;
}

/* Section Styling */
.section-header {
    text-align: center;
    margin-bottom: 72px;
}

.section-label {
    display: inline-block;
    font-size: 0.875em;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--blue);
    margin-bottom: 16px;
}

/* Features Section */
.features {
    padding: 120px 24px;
    background: var(--bg-primary);
    transition: background-color 0.3s ease;
}

.features-container {
    max-width: 1100px;
    margin: 0 auto;
}

.features h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 400;
    color: var(--text-primary);
    margin: 0 0 16px;
    letter-spacing: -0.5px;
    border: none;
    padding: 0;
}

.features .section-subtitle {
    color: var(--text-secondary);
    font-size: 1.125em;
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.7;
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px 32px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue), var(--green));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    border-color: var(--border-color-light);
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-icon .icon {
    width: 40px;
    height: 40px;
    stroke-width: 1.25;
    transition: stroke 0.3s ease;
}

/* Icon path animations */
.feature-icon .icon path,
.feature-icon .icon circle,
.feature-icon .icon polyline {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: none;
}

.feature-card:hover .feature-icon .icon path,
.feature-card:hover .feature-icon .icon circle,
.feature-card:hover .feature-icon .icon polyline {
    animation: drawIcon 0.6s ease forwards;
}

/* Value prop icon animations */
.value-icon .icon path,
.value-icon .icon circle,
.value-icon .icon polyline {
    stroke-dasharray: 100;
    stroke-dashoffset: 0;
    transition: stroke-dashoffset 0.4s ease;
}

.value-prop:hover .value-icon .icon path,
.value-prop:hover .value-icon .icon circle,
.value-prop:hover .value-icon .icon polyline {
    animation: drawIcon 0.6s ease forwards;
}

.feature-card:nth-child(1) .feature-icon .icon { stroke: var(--blue); }
.feature-card:nth-child(2) .feature-icon .icon { stroke: var(--red); }
.feature-card:nth-child(3) .feature-icon .icon { stroke: var(--yellow); }
.feature-card:nth-child(4) .feature-icon .icon { stroke: var(--green); }
.feature-card:nth-child(5) .feature-icon .icon { stroke: var(--blue); }
.feature-card:nth-child(6) .feature-icon .icon { stroke: var(--red); }

.feature-card h3 {
    color: var(--text-primary);
    font-size: 1.125em;
    margin: 0 0 12px;
    font-weight: 500;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95em;
    margin: 0;
    line-height: 1.7;
}

/* Who Section */
.who-section {
    padding: 120px 24px;
    background: var(--bg-secondary);
    transition: background-color 0.3s ease;
}

.who-container {
    max-width: 1100px;
    margin: 0 auto;
}

.who-section .section-header {
    margin-bottom: 56px;
}

.who-section h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 400;
    color: var(--text-primary);
    margin: 0;
    letter-spacing: -0.5px;
}

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

.who-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
}

.who-card:hover {
    border-color: var(--border-color-light);
    box-shadow: var(--shadow-sm);
}

.who-card h3 {
    color: var(--text-primary);
    font-size: 1.05em;
    margin: 0 0 8px;
    font-weight: 500;
}

.who-card p {
    color: var(--text-secondary);
    font-size: 0.95em;
    margin: 0;
    line-height: 1.7;
}

/* CTA Section */
.cta-section {
    padding: 120px 24px;
    background: var(--bg-primary);
    text-align: center;
    transition: background-color 0.3s ease;
}

.cta-container {
    max-width: 600px;
    margin: 0 auto;
}

.cta-section h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 400;
    color: var(--text-primary);
    margin: 0 0 16px;
    letter-spacing: -0.5px;
}

.cta-section p {
    font-size: 1.125em;
    color: var(--text-secondary);
    margin: 0 0 40px;
    line-height: 1.7;
}

/* Landing Footer */
.landing-footer {
    background: var(--bg-secondary);
    padding: 64px 24px 32px;
    border-top: 1px solid var(--border-color);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 64px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

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

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

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.95em;
    margin: 0;
    line-height: 1.6;
}

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

.footer-col h4 {
    color: var(--text-primary);
    font-size: 0.875em;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 16px;
}

.footer-col a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95em;
    margin-bottom: 10px;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--blue);
}

.footer-bottom-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 16px;
}

.social-links {
    display: flex;
    gap: 8px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    text-decoration: none;
}

.social-links a:hover {
    background: var(--bg-tertiary);
}

.social-links svg {
    width: 20px;
    height: 20px;
    fill: var(--text-secondary);
    transition: fill 0.2s ease;
}

.social-links a:hover svg {
    fill: var(--text-primary);
}

.footer-bottom {
    font-size: 0.875em;
    color: var(--text-light);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes drawIcon {
    0% {
        stroke-dashoffset: 100;
    }
    100% {
        stroke-dashoffset: 0;
    }
}

/* Landing Page Responsive */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav {
        padding: 12px 20px;
    }

    .nav-brand span {
        display: none;
    }

    .hero {
        padding: 120px 20px 80px;
        min-height: auto;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }

    .hero-visual {
        margin-top: 48px;
    }

    .value-props {
        padding: 80px 20px;
    }

    .value-props-container {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .value-prop {
        padding: 24px;
    }

    .features, .who-section, .cta-section {
        padding: 80px 20px;
    }

    .section-header {
        margin-bottom: 48px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-card {
        padding: 32px 24px;
    }

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

    .footer-main {
        flex-direction: column;
        gap: 32px;
    }

    .footer-links-grid {
        gap: 48px;
    }

    .footer-bottom-section {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.75rem;
        letter-spacing: -0.5px;
    }

    .hero .subtitle {
        font-size: 1.05em;
    }

    .search-tags {
        display: none;
    }
}

/* ===== BOT PAGE & GENERAL STYLES ===== */

.page-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    padding: 40px 20px;
    background: var(--bg-secondary);
    transition: background-color 0.3s ease;
}

.container {
    background-color: var(--bg-card);
    padding: 48px 56px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    max-width: 800px;
    width: 100%;
    text-align: left;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.header {
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 32px;
    margin-bottom: 40px;
    position: relative;
}

.bot-page-theme {
    position: absolute;
    top: 0;
    right: 0;
}

.logo {
    max-width: 100px;
    height: auto;
    margin-bottom: 16px;
}

.logo.large {
    max-width: 180px;
    margin-bottom: 24px;
}

h1 {
    font-size: 1.75em;
    color: var(--text-primary);
    margin: 0;
    font-weight: 500;
}

h2 {
    font-size: 1.375em;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
    margin-top: 40px;
    margin-bottom: 24px;
    font-weight: 500;
}

h3 {
    font-size: 1.05em;
    color: var(--text-primary);
    margin-top: 28px;
    margin-bottom: 12px;
    font-weight: 500;
}

p {
    margin-bottom: 16px;
    color: var(--text-secondary);
}

code {
    background-color: var(--bg-tertiary);
    padding: 4px 8px;
    border-radius: 6px;
    font-family: 'JetBrains Mono', 'Consolas', 'Monaco', monospace;
    color: var(--blue-dark);
    font-size: 0.875em;
}

pre {
    background-color: var(--code-bg);
    color: var(--code-text);
    padding: 24px;
    border-radius: 12px;
    overflow-x: auto;
    font-size: 0.875em;
    font-family: 'JetBrains Mono', 'Consolas', 'Monaco', monospace;
    line-height: 1.6;
    margin: 20px 0;
}

pre code {
    background-color: transparent;
    color: inherit;
    padding: 0;
    font-size: inherit;
}

ul {
    color: var(--text-secondary);
    padding-left: 24px;
}

li {
    margin-bottom: 10px;
}

.contact-box {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    margin-top: 28px;
}

.contact-box p {
    color: var(--text-secondary);
    margin: 0;
}

a {
    color: var(--blue);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--blue-dark);
    text-decoration: underline;
}

.footer {
    text-align: center;
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    font-size: 0.875em;
    color: var(--text-light);
}

/* =====================================================
   BOT PAGE - Modern Layout Styles
   ===================================================== */

.bot-hero {
    padding: 140px 24px 80px;
    background: var(--bg-primary);
    text-align: center;
    transition: background-color 0.3s ease;
}

.bot-hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.bot-hero h1 {
    font-size: 3em;
    font-weight: 700;
    color: var(--text-primary);
    margin: 16px 0;
    letter-spacing: -1px;
}

.bot-hero .subtitle {
    font-size: 1.25em;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.bot-content {
    padding: 60px 24px 100px;
    background: var(--bg-secondary);
    transition: background-color 0.3s ease;
}

.bot-container {
    max-width: 800px;
    margin: 0 auto;
}

.bot-section {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 24px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.bot-section h2 {
    font-size: 1.5em;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 20px 0;
    padding: 0;
    border: none;
}

.bot-section h3 {
    font-size: 1.1em;
    font-weight: 600;
    color: var(--text-primary);
    margin: 28px 0 12px 0;
}

.bot-section p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0 0 16px 0;
}

.bot-section p:last-child {
    margin-bottom: 0;
}

.bot-section pre {
    background: var(--code-bg);
    border-radius: 8px;
    padding: 16px 20px;
    overflow-x: auto;
    margin: 16px 0;
}

.bot-section code {
    font-family: 'JetBrains Mono', 'Consolas', 'Monaco', monospace;
    font-size: 0.9em;
    color: var(--code-text);
}

.bot-section p code {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    padding: 2px 8px;
    border-radius: 4px;
}

/* Policy Cards Grid */
.bot-policies {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 24px;
}

.policy-card {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 24px;
    transition: background-color 0.3s ease;
}

.policy-icon {
    width: 48px;
    height: 48px;
    background: var(--blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.policy-icon svg {
    color: white;
}

.policy-card h4 {
    font-size: 1em;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 8px 0;
}

.policy-card p {
    font-size: 0.9em;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

/* Contact Card */
.contact-card {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 32px;
    text-align: center;
}

.contact-card p {
    margin: 0 0 24px 0;
}

.contact-card .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.contact-card .contact-note {
    font-size: 0.875em;
    color: var(--text-light);
    margin: 0;
}

/* Bot Page Responsive */
@media (max-width: 768px) {
    .bot-hero {
        padding: 120px 20px 60px;
    }

    .bot-hero h1 {
        font-size: 2.25em;
    }

    .bot-content {
        padding: 40px 20px 80px;
    }

    .bot-section {
        padding: 28px;
    }

    .bot-policies {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 32px 24px;
    }
    h1 {
        font-size: 1.5em;
    }
    .logo.large {
        max-width: 120px;
    }
}

/* =====================================================
   COOKIE CONSENT BANNER
   ===================================================== */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    padding: 20px 24px;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s ease;
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cookie-text {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.cookie-icon {
    width: 32px;
    height: 32px;
    color: var(--blue);
    flex-shrink: 0;
}

.cookie-text p {
    margin: 0;
    font-size: 0.95em;
    color: var(--text-secondary);
    line-height: 1.5;
}

.cookie-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 0.9em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    font-family: inherit;
}

.cookie-btn-primary {
    background: var(--blue);
    color: white;
}

.cookie-btn-primary:hover {
    background: var(--blue-dark);
    transform: translateY(-1px);
}

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

.cookie-btn-secondary:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

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

    .cookie-text {
        flex-direction: column;
    }

    .cookie-actions {
        width: 100%;
    }

    .cookie-btn {
        flex: 1;
    }
}
