:root {
    /* Positive & Fresh Palette */
    --color-bg-primary: #f0fdf4;
    --color-bg-secondary: #e0f2e0;
    --color-bg-tertiary: #c8e6c9;
    --color-surface: #f9f9f7;

    /* Text Colors */
    --color-text-primary: #0f172a;
    --color-text-secondary: #334155;
    --color-text-muted: #64748b;

    /* Accent Colors */
    --color-accent-primary: #10b981;
    --color-accent-secondary: #059669;
    --color-accent-tertiary: #34d399;

    /* Utility Colors */
    --color-success: #10b981;
    --color-warning: #f59e0b;
    --color-danger: #ef4444;
    --color-border: #e2e8f0;
    --color-border-light: #cbd5e1;

    /* Layout */
    --max-width: 1280px;
    --gutter: 1.5rem;
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;

    /* Shadows - Soft & Clean */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--color-text-primary);
    background: var(--color-bg-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4 {
    line-height: 1.2;
    letter-spacing: -0.025em;
    font-weight: 800;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: 1.5rem;
    font-weight: 700;
}

p {
    margin-bottom: 1rem;
}

/* Utilities */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.section-padding {
    padding: clamp(4rem, 8vw, 6rem) 0;
}

.text-center {
    text-align: center;
}

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

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

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

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Buttons - Flat, Elegant Design */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.5rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    font-size: 0.9rem;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--color-accent-primary);
    color: white;
    border-color: var(--color-accent-primary);
}

.btn-primary:hover {
    background: var(--color-accent-secondary);
    border-color: var(--color-accent-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--color-text-primary);
    border-color: var(--color-border-light);
}

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

.btn-outline-light {
    background: transparent;
    border: 2px solid var(--color-text-primary);
    color: var(--color-text-primary);
}

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

.btn-block {
    width: 100%;
    margin-top: 1rem;
}

.btn-white {
    background: white;
    color: var(--color-accent-primary);
    font-weight: 700;
    border-color: white;
}

.btn-white:hover {
    background: var(--color-bg-primary);
    color: white;
    border-color: white;
    transform: translateY(-2px);
}

/* Navigation - Clean & Minimal */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--color-bg-secondary);
    border-bottom: 1px solid var(--color-border);
    padding: 1rem 0;
    box-shadow: var(--shadow-sm);
}

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

.logo {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--color-text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    /* Remove underline for logo link */
}

.logo svg {
    stroke: var(--color-accent-primary);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--color-text-primary);
}

@media(max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        /* Height of navbar approx */
        left: 0;
        right: 0;
        background: var(--color-bg-secondary);
        flex-direction: column;
        padding: 2rem;
        border-bottom: 1px solid var(--color-border);
        display: none;
        /* Hidden by default */
        box-shadow: var(--shadow-md);
    }

    .nav-links.active {
        display: flex;
        animation: slideDown 0.3s ease-out;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Hide the desktop CTA in nav on small screens if it's too crowded, or style it differently */
    .nav-content .btn-primary {
        display: none;
        /* Hide "Schedule" button on mobile header to save space, assuming it's in the menu or Hero */
    }

    /* Add the CTA inside the mobile menu */
    .nav-links .mobile-only-cta {
        display: inline-flex;
        margin-top: 1rem;
        width: 100%;
    }
}

.nav-links {
    /* display: none; removed this as we handle it in media query above/below */
    gap: 2rem;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent-primary);
    transition: width 0.2s;
}

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

.nav-links a:hover::after {
    width: 100%;
}

@media(min-width: 769px) {
    .nav-links {
        display: flex;
    }

    .mobile-menu-btn {
        display: none;
    }

    .mobile-only-cta {
        display: none;
    }
}

/* Hero Section */
.hero {
    background: var(--color-bg-secondary);
    background-image: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
    color: var(--color-text-primary);
    padding-top: 10rem;
    /* More breathing room top */
    padding-bottom: 8rem;
    position: relative;
    border-bottom: 1px solid var(--color-border);
    overflow: hidden;
}

.hero-content {
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 10;
}

.hero h1 {
    margin-bottom: 1.5rem;
    color: var(--color-text-primary);
    font-size: clamp(3rem, 6vw, 4.5rem);
    /* Slightly larger */
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.hero h1 span {
    color: var(--color-accent-primary);
}

.hero p {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    margin-bottom: 3rem;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    font-weight: 400;
}

.hero-badges {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 4rem;
    font-size: 0.9rem;
    flex-wrap: wrap;
    opacity: 0.9;
}

.hero-badge {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 1.2rem;
    background: rgba(255, 255, 255, 0.4);
    /* Glass effect */
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 100px;
    /* Pill shape */
    color: var(--color-text-secondary);
    font-weight: 500;
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}

.hero-badge:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: translateY(-1px);
    border-color: var(--color-accent-primary);
}

.hero-badge svg {
    stroke: var(--color-accent-primary);
    width: 18px;
    height: 18px;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 4rem;
}

.cta-buttons .btn {
    min-width: 200px;
    padding: 0.875rem 2rem;
    font-size: 1rem;
}

/* Industry Use Cases Section */
.industry-showcase {
    background: var(--color-bg-tertiary);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    margin: 3rem auto 0;
    max-width: 1000px;
    border: 1px solid var(--color-border);
}

.industry-example {
    background: var(--color-surface);
    padding: 1.75rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    border-left: 3px solid var(--color-accent-primary);
    transition: all 0.2s ease;
}

.industry-example:hover {
    transform: translateX(3px);
    border-left-width: 4px;
}

.industry-example:last-child {
    margin-bottom: 0;
}

.industry-label {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--color-accent-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.industry-question {
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

.industry-answer {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

.industry-benefit {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--color-border);
    color: var(--color-accent-primary);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.industry-benefit::before {
    content: '→';
    font-weight: 800;
}

/* Problem Section */
.problem-section {
    background: var(--color-bg-primary);
    padding: clamp(4rem, 8vw, 6rem) 0;
    border-bottom: 1px solid var(--color-border);
}

.section-header {
    max-width: 800px;
    margin: 0 auto 4rem;
    text-align: center;
}

.section-header h2 {
    margin-bottom: 1rem;
    color: var(--color-text-primary);
}

.section-header p {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

.card {
    background: var(--color-bg-secondary);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    transition: all 0.2s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-accent-primary);
}

.card-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: var(--radius-md);
    background: var(--color-accent-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.card h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
    color: var(--color-text-primary);
}

.card p {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Warning Box */
.warning-box {
    margin-top: 4rem;
    background: var(--color-bg-tertiary);
    border: 2px solid var(--color-warning);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.warning-icon {
    color: var(--color-warning);
    margin-bottom: 1rem;
}

.warning-box h3 {
    color: var(--color-text-primary);
    margin-bottom: 0.75rem;
    font-size: 1.75rem;
}

.warning-box p {
    color: var(--color-text-secondary);
    max-width: 700px;
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Solution/Guide Section */
.solution-section {
    background: var(--color-bg-secondary);
    color: var(--color-text-primary);
    padding: clamp(4rem, 8vw, 6rem) 0;
    border-bottom: 1px solid var(--color-border);
}

.solution-section h2 {
    margin-bottom: 2rem;
    text-align: center;
}

.trust-indicators {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

@media(max-width: 900px) {
    .trust-indicators {
        grid-template-columns: 1fr;
    }
}

.trust-card {
    background: var(--color-bg-tertiary);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid var(--color-border);
    transition: all 0.2s ease;
}

.trust-card:hover {
    transform: translateY(-3px);
    border-color: var(--color-accent-primary);
    box-shadow: var(--shadow-sm);
}

.trust-icon {
    color: var(--color-accent-primary);
    margin-bottom: 1rem;
}

.trust-label {
    color: var(--color-text-secondary);
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.6;
}

/* Plan Section - Consulting Process */
.plan-section {
    background: var(--color-bg-primary);
    padding: clamp(4rem, 8vw, 6rem) 0;
    border-bottom: 1px solid var(--color-border);
}

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

.step-card {
    background: var(--color-bg-secondary);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    position: relative;
    border: 1px solid var(--color-border);
    transition: all 0.2s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-accent-primary);
    box-shadow: var(--shadow-md);
}

.step-number {
    position: absolute;
    top: -1.5rem;
    left: 2rem;
    width: 3.5rem;
    height: 3.5rem;
    background: var(--color-accent-primary);
    color: white;
    border-radius: 50%;
    font-weight: 800;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid var(--color-bg-primary);
}

.step-card h3 {
    margin-top: 1rem;
    margin-bottom: 1rem;
    color: var(--color-text-primary);
    font-size: 1.5rem;
}

.step-card p {
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* Industry Examples Grid */
.industries-section-title {
    text-align: center;
    margin-bottom: 4rem;
    color: var(--color-text-primary);
    font-size: clamp(2rem, 4vw, 3rem);
}

.industry-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 3rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    align-items: start;
}

@media(min-width: 1100px) {
    .industry-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3.5rem;
    }
}

.industry-card {
    background: var(--color-bg-tertiary);
    padding: 3rem 3.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    transition: all 0.2s ease;
}

@media(max-width: 768px) {
    .industry-card {
        padding: 2.5rem 2rem;
    }
}

.industry-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-accent-primary);
    box-shadow: var(--shadow-md);
}

.industry-card h4 {
    color: var(--color-accent-primary);
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Accordion Styles */
.accordion-card {
    padding: 0 !important;
    /* Reset padding for accordion layout */
    overflow: hidden;
}

.accordion-header {
    padding: 2rem 2.5rem;
    /* Reduced from 3rem 3.5rem */
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.2s;
}

.accordion-header:hover {
    background: var(--color-bg-secondary);
}

@media(max-width: 768px) {
    .accordion-header {
        padding: 1.5rem 1.5rem;
        /* Reduced from 2.5rem 2rem */
    }
}

.accordion-icon {
    transition: transform 0.3s ease;
    color: var(--color-text-muted);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background: var(--color-bg-tertiary);
}

.industry-scenarios {
    padding: 0 2.5rem 2rem;
    /* Reduced from 0 3.5rem 3rem */
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

@media(max-width: 768px) {
    .industry-scenarios {
        padding: 0 1.5rem 1.5rem;
        /* Reduced from 0 2rem 2.5rem */
    }
}

/* Open State */
.accordion-card.open .accordion-icon {
    transform: rotate(180deg);
    color: var(--color-accent-primary);
}

.accordion-card.open .accordion-content {
    /* Max-height will be set via JS, but this ensures visibility logic */
}

.industry-desc {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 0;
    /* Remove bottom margin as it's now inside header */
}

.scenario {
    background: var(--color-surface);
    padding: 1.5rem 1.75rem;
    border-radius: var(--radius-md);
    border-left: 3px solid var(--color-accent-primary);
    transition: all 0.2s ease;
}

.scenario:hover {
    border-left-width: 4px;
    padding-left: 2rem;
}

.scenario-q {
    color: var(--color-text-primary);
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    line-height: 1.6;
}

.scenario-q::before {
    content: 'Q: ';
    color: var(--color-accent-primary);
    font-weight: 700;
    margin-right: 0.25rem;
}

.scenario-a {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    padding-left: 1.75rem;
    position: relative;
}

.scenario-a::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-accent-primary);
    font-weight: 700;
    font-size: 1.1rem;
}

/* Stakes Section */
.stakes-section {
    background: var(--color-bg-secondary);
    padding: clamp(4rem, 8vw, 6rem) 0;
    border-bottom: 1px solid var(--color-border);
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media(min-width: 900px) {
    .comparison-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

.stake-col {
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    transition: all 0.2s ease;
}

.stake-failure {
    background: var(--color-bg-tertiary);
    border: 2px solid var(--color-danger);
}

.stake-failure:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.stake-success {
    background: var(--color-bg-tertiary);
    border: 2px solid var(--color-success);
}

.stake-success:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.stake-col h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.stake-failure h3 {
    color: var(--color-danger);
}

.stake-success h3 {
    color: var(--color-success);
}

.stake-list {
    list-style: none;
}

.stake-list li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    color: var(--color-text-secondary);
    line-height: 1.6;
    font-size: 1.05rem;
}

.stake-failure li::before {
    content: '×';
    position: absolute;
    left: 0;
    color: var(--color-danger);
    font-weight: 800;
    font-size: 1.5rem;
    line-height: 1.2;
}

.stake-success li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-success);
    font-weight: 800;
    font-size: 1.5rem;
    line-height: 1.2;
}

/* CTA Section */
.cta-section {
    background: var(--color-accent-primary);
    color: white;
    text-align: center;
    padding: clamp(4rem, 8vw, 6rem) 0;
}

.cta-section h2 {
    margin-bottom: 1.5rem;
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: white;
}

.cta-section p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
    color: white;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
footer {
    background: var(--color-bg-secondary);
    color: var(--color-text-muted);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--color-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand h4 {
    color: var(--color-text-primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

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

.footer-col h5 {
    color: var(--color-text-primary);
    margin-bottom: 1rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.75rem;
}

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

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

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

/* Icons */
svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.icon-lg {
    width: 48px;
    height: 48px;
}

/* Consultation Specific Styles */
/* Form Section */
.form-section {
    padding-top: 8rem;
    padding-bottom: 6rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.form-card {
    background: var(--color-bg-secondary);
    padding: 3rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg);
    max-width: 700px;
    margin: 0 auto;
}

.form-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.form-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--color-text-primary);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.875rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    background: var(--color-surface);
    color: var(--color-text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-accent-primary);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* Tabs */
.tab-container {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.tab-btn {
    background: transparent;
    border: none;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    color: var(--color-text-muted);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
    font-size: 1rem;
}

.tab-btn.active {
    color: var(--color-accent-primary);
    border-bottom-color: var(--color-accent-primary);
}

.tab-btn:hover:not(.active) {
    color: var(--color-text-primary);
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease-out;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Voice Recorder Styles */
.voice-container {
    text-align: center;
    padding: 2rem 0;
}

.mic-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--color-bg-tertiary);
    border: 2px solid var(--color-border);
    color: var(--color-text-primary);
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.mic-btn:hover {
    background: var(--color-accent-primary);
    color: white;
    border-color: var(--color-accent-primary);
    transform: scale(1.05);
}

.mic-btn.recording {
    background: var(--color-danger);
    color: white;
    border-color: var(--color-danger);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(239, 68, 68, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

.voice-status {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--color-text-secondary);
    min-height: 1.6em;
}

.voice-instruction {
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* Simple Footer for Consultation Page */
.footer-simple {
    padding: 2rem 0;
    text-align: center;
}
/* AI Demo Section */
.ai-demo-section {
    background: var(--color-bg-secondary);
    padding: clamp(4rem, 8vw, 6rem) 0;
    border-bottom: 1px solid var(--color-border);
}

.ai-demo-container {
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--color-border);
    overflow: hidden;
    max-width: 1100px;
    margin: 3rem auto 0;
}

/* Demo Tabs */
.demo-tabs {
    display: flex;
    border-bottom: 1px solid var(--color-border);
    background: var(--color-bg-tertiary);
    overflow-x: auto;
}

.demo-tab-btn {
    padding: 1rem 2rem;
    background: transparent;
    border: none;
    border-right: 1px solid var(--color-border);
    font-weight: 600;
    color: var(--color-text-secondary);
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.demo-tab-btn:hover {
    background: rgba(255, 255, 255, 0.5);
    color: var(--color-accent-primary);
}

.demo-tab-btn.active {
    background: white;
    color: var(--color-accent-primary);
    border-bottom: 2px solid var(--color-accent-primary);
}

/* Split View */
.demo-split-view {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
}

@media (max-width: 768px) {
    .demo-split-view {
        grid-template-columns: 1fr;
    }
}

/* Document Viewer (Left) */
.document-viewer {
    padding: 2rem;
    background: #f8fafc;
    border-right: 1px solid var(--color-border);
    position: relative;
    overflow-y: auto;
    max-height: 600px;
}

.doc-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-border-light);
}

.doc-icon {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent-primary);
    box-shadow: var(--shadow-sm);
}

.doc-content {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--color-text-secondary);
    background: white;
    padding: 2rem;
    border-radius: 4px;
    box-shadow: var(--shadow-sm);
    position: relative;
}

/* Scanning Effect */
.scan-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--color-accent-primary);
    box-shadow: 0 0 10px var(--color-accent-primary);
    opacity: 0;
    pointer-events: none;
    z-index: 10;
}

.scanning .scan-overlay {
    animation: scanDocument 2s ease-in-out infinite;
    opacity: 0.8;
}

@keyframes scanDocument {
    0% { top: 0; }
    50% { top: 100%; }
    100% { top: 0; }
}

.highlight-text {
    background-color: rgba(16, 185, 129, 0.2);
    transition: background-color 0.3s;
}

/* Chat Interface (Right) */
.chat-interface {
    display: flex;
    flex-direction: column;
    background: white;
}

.chat-messages {
    flex: 1;
    padding: 2rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.message {
    max-width: 85%;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    font-size: 0.95rem;
    line-height: 1.5;
    animation: messageFadeIn 0.3s ease-out;
}

@keyframes messageFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.message.user {
    align-self: flex-end;
    background: var(--color-accent-primary);
    color: white;
    border-bottom-right-radius: 2px;
}

.message.ai {
    align-self: flex-start;
    background: var(--color-bg-tertiary);
    color: var(--color-text-primary);
    border-bottom-left-radius: 2px;
    border: 1px solid var(--color-border);
}

.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 1rem;
    background: var(--color-bg-tertiary);
    border-radius: 12px;
    align-self: flex-start;
    width: fit-content;
}

.typing-dot {
    width: 8px;
    height: 8px;
    background: var(--color-text-muted);
    border-radius: 50%;
    animation: typingBounce 1.4s infinite ease-in-out both;
}

.typing-dot:nth-child(1) { animation-delay: -0.32s; }
.typing-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes typingBounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

/* Controls Area */
.chat-controls {
    padding: 1.5rem;
    border-top: 1px solid var(--color-border);
    background: #f8fafc;
}

.question-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.question-btn {
    text-align: left;
    padding: 1rem;
    background: white;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    color: var(--color-text-primary);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.question-btn:hover {
    border-color: var(--color-accent-primary);
    transform: translateX(4px);
    box-shadow: var(--shadow-sm);
}

.question-btn svg {
    color: var(--color-accent-primary);
    opacity: 0;
    transition: opacity 0.2s;
}

.question-btn:hover svg {
    opacity: 1;
}

/* Database Search View */
.database-search-view {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    height: 100%;
}

.search-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-border);
}

.search-header svg {
    color: var(--color-accent-primary);
    animation: rotate 2s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.document-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    overflow: hidden;
}

.doc-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: white;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    font-size: 0.85rem;
    opacity: 0;
    animation: docSlideIn 0.3s ease-out forwards;
}

@keyframes docSlideIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.doc-name {
    color: var(--color-text-secondary);
    font-family: 'Courier New', monospace;
}

.doc-status {
    font-size: 0.9rem;
}

.search-progress {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--color-bg-tertiary);
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-accent-primary), var(--color-accent-tertiary));
    width: 0%;
    transition: width 0.1s linear;
    border-radius: 10px;
}

.search-stats {
    text-align: center;
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Database Overview */
.database-overview {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 3rem 2rem;
    text-align: center;
}

.db-icon {
    margin-bottom: 1.5rem;
    color: var(--color-accent-primary);
}

.db-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    width: 100%;
    max-width: 400px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-accent-primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

/* Demo Title Enhancements */
.demo-title-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.demo-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(5, 150, 105, 0.15));
    border: 1px solid var(--color-accent-primary);
    border-radius: 50px;
    color: var(--color-accent-primary);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
    }
}

.demo-badge svg {
    animation: starRotate 3s linear infinite;
}

@keyframes starRotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.demo-title-wrapper h2 {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.demo-icon-left,
.demo-icon-right {
    color: var(--color-accent-primary);
    display: inline-flex;
    align-items: center;
    opacity: 0.8;
}

.demo-icon-left {
    animation: iconBounceLeft 2s ease-in-out infinite;
}

.demo-icon-right {
    animation: iconBounceRight 2s ease-in-out infinite;
}

@keyframes iconBounceLeft {
    0%, 100% {
        transform: translateX(0) rotate(0deg);
    }
    50% {
        transform: translateX(-5px) rotate(-5deg);
    }
}

@keyframes iconBounceRight {
    0%, 100% {
        transform: translateX(0) rotate(0deg);
    }
    50% {
        transform: translateX(5px) rotate(5deg);
    }
}

@media (max-width: 768px) {
    .demo-title-wrapper h2 {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .demo-icon-left,
    .demo-icon-right {
        display: none;
    }
}

/* Enhanced Demo Badge */
.demo-badge {
    display: inline-flex !important;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.5rem !important;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    border: 2px solid #10b981 !important;
    border-radius: 50px;
    color: white !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    box-shadow: 0 4px 14px 0 rgba(16, 185, 129, 0.4),
                0 0 0 0 rgba(16, 185, 129, 0.4);
    animation: badgePopPulse 2.5s ease-in-out infinite;
    position: relative;
}

@keyframes badgePopPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 14px 0 rgba(16, 185, 129, 0.4),
                    0 0 0 0 rgba(16, 185, 129, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px 0 rgba(16, 185, 129, 0.5),
                    0 0 0 10px rgba(16, 185, 129, 0);
    }
}

.demo-badge svg {
    animation: starRotatePop 4s linear infinite !important;
    filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.8));
}

@keyframes starRotatePop {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    25% {
        transform: rotate(90deg) scale(1.1);
    }
    50% {
        transform: rotate(180deg) scale(1);
    }
    75% {
        transform: rotate(270deg) scale(1.1);
    }
}
