﻿/* ===========================
   CSS Reset & Base Styles
   =========================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', 'Manrope', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #111827;
    line-height: 1.6;
    background-color: #FFFFFF;
    overflow-x: hidden;
    width: 100%;
}

/* ===========================
   Typography
   =========================== */

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    color: #111827;
}

h2 {
    font-size: 2.5rem;
    color: #111827;
    text-align: center;
}

h3 {
    font-size: 1.5rem;
    color: #111827;
}

h4 {
    font-size: 1.125rem;
    color: #374151;
}

p {
    color: #374151;
    font-size: 1.125rem;
}

em {
    font-style: italic;
    font-weight: 600;
}

/* ===========================
   Buttons
   =========================== */

.btn-primary {
    display: inline-block;
    background-color: #065AD8;
    color: #FFFFFF;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #0547b3;
    transform: translateY(-2px);
}

.btn-primary.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* ===========================
   Container
   =========================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===========================
   Section Themes
   =========================== */

.section-dark {
    background-color: #111827;
    color: #F9FAFB;
}

#hero.section-dark {
    background: linear-gradient(135deg, #1F2937 0%, #0B1623 100%);
}

.section-dark h1,
.section-dark h2,
.section-dark h3 {
    color: #F9FAFB;
}

.section-dark .section-intro,
.section-dark .hero-subtitle,
.section-dark .use-case-footnote {
    color: #E5E7EB;
}

.section-dark .hero-subtitle {
    color: #CBD5F5;
}

.section-dark .form-group label {
    color: #F9FAFB;
}

.section-dark .demo-upload,
.section-dark .solution-card,
.section-dark .use-case-card {
    color: #111827;
}

.section-dark .solution-card p {
    color: #374151;
}

.section-dark .contact-form input,
.section-dark .contact-form textarea {
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #F9FAFB;
}

.section-dark .contact-form input:focus,
.section-dark .contact-form textarea:focus {
    border-color: #93C5FD;
}

.section-dark .contact-form input::placeholder,
.section-dark .contact-form textarea::placeholder {
    color: #D1D5DB;
}

/* ===========================
   Header
   =========================== */

header {
    position: sticky;
    top: 0;
    background-color: #FFFFFF;
    border-bottom: 1px solid #E5E7EB;
    z-index: 1000;
    padding: 1rem 0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
}

nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

nav a {
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #065AD8;
}

/* ===========================
   Hero Section
   =========================== */

#hero {
    padding: 6rem 0;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #374151;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    background-color: #E5E7EB;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    color: #6B7280;
    text-align: center;
    padding: 2rem;
}

/* Demo Upload Widget */
.demo-upload {
    width: 100%;
    max-width: 420px;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 1.75rem;
    background-color: #FFFFFF;
    box-shadow: 0 18px 35px rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.demo-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.demo-title-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.demo-title-row h3 {
    flex: 1 1 auto;
    min-width: 200px;
}

.demo-upload h3 {
    margin: 0;
    font-size: 1.25rem;
    color: #111827;
}

.demo-help-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(37, 99, 235, 0.4);
    background-color: rgba(37, 99, 235, 0.08);
    color: #1D4ED8;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    line-height: 1.2;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.demo-help-trigger:hover,
.demo-help-trigger:focus-visible,
.demo-help-trigger[aria-expanded="true"] {
    background-color: #2563EB;
    color: #FFFFFF;
    border-color: #2563EB;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.25);
}

.demo-help-trigger:focus-visible {
    outline: none;
}

.demo-help-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    border: 1px solid currentColor;
    background-color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    flex-shrink: 0;
}

.demo-help-trigger:hover .demo-help-icon,
.demo-help-trigger:focus-visible .demo-help-icon,
.demo-help-trigger[aria-expanded="true"] .demo-help-icon {
    background-color: rgba(255, 255, 255, 0.16);
    border-color: transparent;
    color: #FFFFFF;
}

.demo-help-label {
    text-transform: none;
    letter-spacing: 0.01em;
}

@media (max-width: 640px) {
    .demo-title-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .demo-help-trigger {
        width: 100%;
        justify-content: center;
        font-size: 0.95rem;
        padding: 0.6rem 1rem;
    }

    .demo-help-icon {
        width: 2rem;
        height: 2rem;
        font-size: 1.125rem;
    }

    .demo-help-panel {
        margin-top: 0.5rem;
    }

    .demo-help-panel-inner {
        padding: 1.25rem;
        font-size: 0.95rem;
    }
}

.demo-status-container {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    align-items: flex-end;
}

.demo-status-light {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #6B7280;
}

.demo-queue-tracker {
    font-size: 0.85rem;
    color: #6B7280;
}

.status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.status-indicator.status-ready,
.status-indicator.status-online {
    background-color: #10B981;
    box-shadow: 0 0 4px rgba(16, 185, 129, 0.6);
}

.status-indicator.status-offline {
    background-color: #EF4444;
    box-shadow: 0 0 4px rgba(239, 68, 68, 0.6);
}

.status-indicator.status-checking {
    background-color: #F59E0B;
    box-shadow: 0 0 4px rgba(245, 158, 11, 0.6);
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.demo-upload-row {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.demo-upload-row + .demo-upload-row {
    margin-top: 0.65rem;
}

.demo-btn {
    background-color: #F3F4F6;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    padding: 0.65rem 1.25rem;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    color: #111827;
    transition: background-color 0.2s ease, border-color 0.2s ease;
    min-width: 160px;
}

.demo-btn:hover {
    background-color: #E5E7EB;
    border-color: #9CA3AF;
}

.demo-btn.demo-primary {
    background-color: #065AD8;
    border-color: #065AD8;
    color: #FFFFFF;
}

.demo-btn.demo-primary:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.demo-file-status {
    font-size: 0.9rem;
    color: #4B5563;
}

.demo-helper {
    font-size: 0.85rem;
    color: #6B7280;
}

.demo-results {
    border-top: 1px solid #E5E7EB;
    padding-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.demo-heatmap-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: #1F2937;
}

.demo-heatmap-controls[hidden] {
    display: none;
}

.demo-heatmap-controls label {
    font-weight: 600;
}

.demo-heatmap-controls input[type="range"] {
    flex: 1;
    accent-color: #2563EB;
}

.demo-range-value {
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    color: #2563EB;
}

.demo-heatmap-hint {
    font-size: 0.75rem;
    color: #6B7280;
    margin: 0;
}

.demo-results-strip {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.75rem;
    padding-bottom: 0.25rem;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
}

.demo-results-strip::-webkit-scrollbar {
    height: 6px;
}

.demo-results-strip::-webkit-scrollbar-track {
    background: #E5E7EB;
    border-radius: 3px;
}

.demo-results-strip::-webkit-scrollbar-thumb {
    background: #9CA3AF;
    border-radius: 3px;
}

.demo-results-strip::-webkit-scrollbar-thumb:hover {
    background: #6B7280;
}

.demo-result-item {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    width: 180px;
    flex-shrink: 0;
    padding: 0.75rem;
    border-radius: 12px;
    border: 1px solid #E5E7EB;
    background-color: #FFFFFF;
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.06);
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    text-align: left;
    font: inherit;
    color: inherit;
    appearance: none;
    -webkit-appearance: none;
    scroll-snap-align: start;
}

.demo-result-item:hover {
    border-color: #2563EB;
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.12);
    transform: translateY(-2px);
}

.demo-result-item.is-active {
    border-color: #2563EB;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.18);
}

.demo-result-item:focus-visible {
    outline: 2px solid #2563EB;
    outline-offset: 2px;
}

.demo-result-visual {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background-color: #F9FAFB;
    border: 1px solid #E5E7EB;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 140px;
    pointer-events: none;
}

.demo-heatmap-canvas {
    max-width: 100%;
    max-height: 100%;
    display: block;
    margin: auto;
}

.demo-result-fallback {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.demo-result-meta {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    pointer-events: none;
}

.demo-result-label {
    font-weight: 600;
    color: #1F2937;
}

.demo-result-score {
    font-size: 0.85rem;
    color: #374151;
}

.demo-results-empty {
    font-size: 0.9rem;
    color: #6B7280;
}

.demo-privacy-note {
    font-size: 0.8rem;
    color: #9CA3AF;
    margin-top: 0.5rem;
    font-style: italic;
}


.demo-modal {
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, 0.65);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    z-index: 1000;
}

.demo-modal.is-open {
    display: flex;
}

.demo-modal-content {
    background: #FFFFFF;
    border-radius: 16px;
    width: min(960px, 95vw);
    max-height: 90vh;
    overflow-y: auto;
    padding: 2rem;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.35);
}

.demo-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    border: none;
    background: transparent;
    font-size: 1.75rem;
    line-height: 1;
    color: #6B7280;
    cursor: pointer;
    transition: color 0.2s ease;
    padding: 0.5rem;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.demo-modal-close:hover {
    color: #111827;
}

.demo-modal-title {
    margin: 0;
    font-size: 1.25rem;
    color: #111827;
    font-weight: 700;
}

.demo-modal-body {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.demo-modal-panel h4 {
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #374151;
}

.demo-modal-panel img {
    width: 100%;
    border-radius: 12px;
    border: 1px solid #E5E7EB;
    background-color: #F9FAFB;
}

.demo-modal-canvas {
    max-width: 100%;
    display: block;
    border-radius: 12px;
    border: 1px solid #E5E7EB;
    background-color: #F9FAFB;
}

.demo-modal-threshold {
    margin-top: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
}

.demo-modal-threshold input[type="range"] {
    flex: 1;
    accent-color: #2563EB;
}

.demo-modal-meta {
    display: flex;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: #1F2937;
}

.demo-modal-score-label {
    font-weight: 600;
    color: #374151;
}

body.no-scroll {
    overflow: hidden;
}

.demo-help-panel {
    margin-top: 0.75rem;
    border-radius: 16px;
    border: 1px solid rgba(37, 99, 235, 0.18);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(37, 99, 235, 0.05));
    box-shadow: 0 18px 28px rgba(37, 99, 235, 0.12);
}

.demo-help-panel[hidden] {
    display: none !important;
}

.demo-help-panel-inner {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    color: #1F2937;
    font-size: 0.95rem;
    line-height: 1.6;
}

.demo-help-heading {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: #1D4ED8;
}

.demo-help-panel-inner p {
    margin: 0;
}

.demo-help-panel-inner ul {
    margin: 0;
    padding-left: 1.25rem;
}

.demo-help-panel-inner li + li {
    margin-top: 0.5rem;
}

.demo-dataset-links {
    list-style: none;
    padding-left: 0;
}

.demo-dataset-links li {
    margin: 0;
}

.demo-dataset-links li + li {
    margin-top: 0.75rem;
}

.demo-dataset-links a {
    color: #2563EB;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.demo-dataset-links a:hover {
    color: #1D4ED8;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .demo-modal {
        padding: 1rem;
    }

    .demo-modal-body {
        grid-template-columns: 1fr;
    }
}
/* ===========================
   Problem Section
   =========================== */

#problem {
    padding: 6rem 0;
}

#problem:not(.section-dark) {
    background-color: #F3F4F6;
}

#problem.section-dark .icon-placeholder {
    background-color: rgba(255, 255, 255, 0.12);
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
    font-size: 1.25rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.stat-card {
    text-align: center;
}

.icon-placeholder {
    width: 80px;
    height: 80px;
    background-color: #EEF2FF;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.icon-placeholder .stat-icon {
    width: 44px;
    height: 44px;
    display: block;
}

.stat-card h3 {
    margin-bottom: 0.75rem;
}

.stat-card p {
    font-size: 1rem;
}

/* ===========================
   Solution Section
   =========================== */

#solution {
    padding: 6rem 0;
    background-color: #F9FAFB;
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.solution-card {
    background-color: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.solution-card h3 {
    margin-bottom: 1rem;
    color: #065AD8;
}

.solution-card p {
    font-size: 1rem;
}

/* ===========================
   How It Works Section
   =========================== */

#how-it-works {
    padding: 6rem 0;
}

#how-it-works:not(.section-dark) {
    background-color: #FFFFFF;
}

#how-it-works.section-dark {
    background-color: #0F172A;
}

.accordion {
    max-width: 800px;
    margin: 4rem auto 0;
}

.accordion-item {
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-title {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #F9FAFB;
    transition: background-color 0.3s ease;
    user-select: none;
}

.accordion-title:hover {
    background-color: #F3F4F6;
}

.accordion-item.active .accordion-title {
    background-color: #065AD8;
    color: #FFFFFF;
}

.accordion-icon {
    font-size: 1.5rem;
    font-weight: 400;
    color: #374151;
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
    color: #FFFFFF;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background-color: #FFFFFF;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
    padding: 1.5rem;
    border-top: 1px solid #E5E7EB;
}

.accordion-content p {
    font-size: 1rem;
    margin: 0;
}

#how-it-works.section-dark .accordion-item {
    border-color: rgba(255, 255, 255, 0.12);
    background-color: rgba(255, 255, 255, 0.03);
}

#how-it-works.section-dark .accordion-title {
    background-color: rgba(255, 255, 255, 0.06);
    color: #F9FAFB;
}

#how-it-works.section-dark .accordion-title:hover {
    background-color: rgba(255, 255, 255, 0.12);
}

#how-it-works.section-dark .accordion-item.active .accordion-title {
    background-color: #2563EB;
}

#how-it-works.section-dark .accordion-icon {
    color: #E5E7EB;
}

#how-it-works.section-dark .accordion-item.active .accordion-icon {
    color: #FFFFFF;
}

#how-it-works.section-dark .accordion-content {
    background-color: rgba(255, 255, 255, 0.12);
    color: #F3F4F6;
}

#how-it-works.section-dark .accordion-content p,
#how-it-works.section-dark .accordion-content li,
#how-it-works.section-dark .accordion-content span {
    color: inherit;
}

#how-it-works.section-dark .accordion-item.active .accordion-content {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    background-color: rgba(255, 255, 255, 0.18);
    color: #FFFFFF;
}

/* ===========================
   Use Cases Section
   =========================== */

#use-cases {
    padding: 6rem 0;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.use-case-card {
    background-color: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
}

.use-case-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 6px;
    object-fit: cover;
    display: block;
    margin-bottom: 1rem;
    background-color: #F3F4F6;
}

.use-case-image.detection {
    border: 2px solid #065AD8;
    box-shadow: 0 12px 24px rgba(6, 90, 216, 0.15);
}

.use-case-card h4 {
    margin-top: 1rem;
    margin-bottom: 0;
}

.use-case-footnote {
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: #6B7280;
    text-align: center;
}

/* ===========================
   Pilot CTA Section
   =========================== */

#pilot-cta {
    padding: 6rem 0;
    background-color: #F3F4F6;
}

.pilot-benefits {
    max-width: 600px;
    margin: 2rem auto 0;
    list-style: none;
}

.pilot-benefits li {
    padding: 1rem 0 1rem 2.5rem;
    position: relative;
    font-size: 1.125rem;
    color: #374151;
}

.pilot-benefits li:before {
    content: "âœ“";
    position: absolute;
    left: 0;
    top: 1rem;
    width: 1.5rem;
    height: 1.5rem;
    background-color: #065AD8;
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 1rem;
}

/* ===========================
   Contact Section
   =========================== */

#contact {
    padding: 6rem 0;
    background-color: #F3F4F6;
}

.contact-form {
    max-width: 600px;
    margin: 3rem auto 0;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #111827;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 1px solid #D1D5DB;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #065AD8;
}

.form-group textarea {
    resize: vertical;
}

.contact-form button {
    width: 100%;
    margin-top: 1rem;
}

.form-status {
    margin-top: 0.75rem;
    font-size: 0.95rem;
    min-height: 1.25rem;
    color: #1F2937;
}

.form-status.is-info {
    color: #2563EB;
}

.form-status.is-success {
    color: #047857;
}

.form-status.is-error {
    color: #B91C1C;
}

.form-helper-text {
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #6B7280;
}

.image-upload-area {
    margin-top: 0.75rem;
}

.image-upload-area input[type="file"] {
    width: 100%;
    padding: 0.75rem;
    border: 2px dashed #D1D5DB;
    border-radius: 6px;
    background-color: #F9FAFB;
    cursor: pointer;
    transition: all 0.3s ease;
}

.image-upload-area input[type="file"]:hover {
    border-color: #065AD8;
    background-color: #F3F4F6;
}

.image-upload-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.image-preview-thumb {
    width: 80px;
    height: 80px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 6px;
    border: 2px solid #E5E7EB;
    transition: transform 0.2s ease;
}

.image-preview-thumb:hover {
    transform: scale(1.05);
    border-color: #065AD8;
}

.image-upload-status {
    margin-top: 0.75rem;
    font-size: 0.875rem;
    color: #059669;
    min-height: 1.25rem;
}

.image-upload-status.error {
    color: #DC2626;
}

/* ===========================
   Footer
   =========================== */

footer {
    background-color: #111827;
    color: #9CA3AF;
    padding: 2rem 0;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left p {
    margin: 0;
    font-size: 0.875rem;
}

.footer-footnote {
    margin-top: 0.5rem;
    font-size: 0.8125rem;
    color: #D1D5DB;
    max-width: 520px;
}

.footer-right a {
    color: #9CA3AF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-right a:hover {
    color: #FFFFFF;
}

/* ===========================
   Mobile Responsiveness
   =========================== */

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-container {
        gap: 3rem;
    }

    .stats-grid,
    .solution-grid,
    .use-cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .container {
        padding: 0 1.25rem;
    }

    .header-container {
        padding: 0 1.25rem;
        flex-wrap: wrap;
        gap: 1rem;
    }

    nav {
        order: 3;
        width: 100%;
        justify-content: center;
        gap: 1.5rem;
    }

    nav a {
        padding: 0.5rem;
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    h1 {
        font-size: 2rem;
        line-height: 1.1;
    }

    h2 {
        font-size: 1.75rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-text {
        text-align: center;
    }

    .hero-subtitle {
        font-size: 1.0625rem;
        line-height: 1.5;
    }

    #hero,
    #problem,
    #solution,
    #how-it-works,
    #use-cases,
    #pilot-cta,
    #contact {
        padding: 3rem 0;
    }

    .stats-grid,
    .solution-grid,
    .use-cases-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section-intro {
        font-size: 1.0625rem;
        line-height: 1.6;
    }

    .footer-container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .demo-upload {
        max-width: 100%;
        box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
        padding: 1.5rem;
    }

    .demo-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .demo-status-container {
        align-items: flex-start;
    }

    .demo-upload-row {
        flex-direction: column;
        align-items: stretch;
    }

    .demo-btn {
        width: 100%;
        text-align: center;
        min-height: 44px;
    }

    .demo-status {
        width: 100%;
    }

    .demo-result-item {
        min-width: 140px;
        width: 140px;
    }

    .demo-result-visual {
        height: 120px;
    }

    .accordion-title {
        padding: 1.25rem;
        min-height: 44px;
    }

    .btn-primary {
        min-height: 44px;
    }

    .form-group input,
    .form-group textarea {
        font-size: 1rem;
        min-height: 44px;
    }

    .demo-modal-content,
    .demo-help-panel-inner {
        padding: 1.5rem;
        width: 95vw;
    }

    .demo-help-panel-inner {
        font-size: 0.9375rem;
    }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .header-container {
        padding: 0 1rem;
    }

    h1 {
        font-size: 1.625rem;
        line-height: 1.15;
    }

    h2 {
        font-size: 1.5rem;
        line-height: 1.2;
    }

    .btn-primary {
        padding: 0.75rem 1.25rem;
        font-size: 0.9375rem;
    }

    .btn-primary.btn-large {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }

    nav {
        gap: 0.75rem;
        font-size: 0.875rem;
    }

    nav a {
        padding: 0.5rem 0.25rem;
    }

    .pilot-benefits li {
        font-size: 1rem;
    }

    .demo-upload {
        padding: 1.25rem;
    }

    .demo-upload h3 {
        font-size: 1.125rem;
    }

    .demo-result-item {
        min-width: 120px;
        width: 120px;
    }

    .demo-result-visual {
        height: 100px;
    }

    .demo-result-label {
        font-size: 0.875rem;
    }

    .demo-result-score {
        font-size: 0.8125rem;
    }

    #hero,
    #problem,
    #solution,
    #how-it-works,
    #use-cases,
    #contact {
        padding: 2.5rem 0;
    }

    .section-intro {
        font-size: 1rem;
    }

    .accordion-title {
        font-size: 1rem;
        padding: 1rem;
    }

    .accordion-content p {
        font-size: 0.9375rem;
    }
}



