/* ==========================================================================
   VISIONFI CORE SYSTEM v3.3
   usage: <link rel="stylesheet" href="/assets/css/visionfi-core.css">
   ========================================================================== */

/* 1. DESIGN TOKENS (The Source of Truth) */
:root {
    /* Brand Palette */
    --color-primary: #F26334;       /* Scout Orange */
    --color-primary-hover: #D95225;
    --color-primary-light: #FCEFE9;

    --color-text-main: #2D2A26;     /* Deep Charcoal */
    --color-text-light: #6B6B6B;
    --color-text-disabled: #A1A1AA;
    --color-text-inv: #FFFFFF;

    --color-bg-main: #FFFFFF;
    --color-bg-alt: #F9F7F2;        /* Soft Sand */
    --color-bg-dark: #1e1c1a;       /* Terminal/Code bg */
    --color-border: #E5E5E5;

    /* Accent Colors */
    --color-accent-gold: #FFD700;   /* Gold accent for special emphasis */
    --color-accent-brown: #6B4C3E;  /* Branch Brown */

    /* Gray Scale */
    --color-gray-100: #F3F4F6;
    --color-gray-200: #E5E7EB;
    --color-gray-300: #D1D5DB;
    --color-gray-400: #9CA3AF;
    --color-gray-600: #6B7280;

    /* Semantic / Status Colors */
    --color-info: #008C95;          /* Slate Teal */
    --color-success: #2E7D32;
    --color-success-bg: #E8F5E9;
    --color-warning: #ED6C02;
    --color-warning-bg: #FFF3E0;
    --color-error: #D32F2F;
    --color-error-bg: #FFEBEE;

    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'Courier New', Courier, monospace;

    /* Dimensions & Physics */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-pill: 50px;
    
    --shadow-card: 0 4px 12px rgba(45, 42, 38, 0.08);
    --shadow-float: 0 10px 30px rgba(45, 42, 38, 0.12);
    --focus-ring: 0 0 0 3px rgba(242, 99, 52, 0.15);
}

/* ==========================================================================
   HOLIDAY THEME OVERRIDES
   Toggle these on/off by commenting/uncommenting the theme you want
   ========================================================================== */

/* Default Theme - Always active */
:root {
    --theme-scout-nav: url('./scout.png');
    --theme-scout-hero: url('./scout.png');
    --theme-banner-bg: linear-gradient(135deg, #0f4c81 0%, #1e88e5 50%, #0d47a1 100%);
    --theme-banner-border: #ffd700;
    --theme-scout-circle-border: var(--color-accent-brown);
    --theme-scout-circle-bg: var(--color-bg-alt);
}

/* ─────────────────────────────────────────────────────────────────
   READY-TO-USE THEMES (Scout artwork already exists)
   Uncomment the theme block you want to activate
   ───────────────────────────────────────────────────────────────── */

/* New Year's 2025 Theme (Dec 28 - Jan 15)
   Asset: scout-logo-new-years.png

   Uncomment to activate: */
/*
:root {
    --theme-scout-nav: url('./scout-logo-new-years.png');
    --theme-scout-hero: url('./scout-logo-new-years.png');
    --theme-banner-bg: linear-gradient(135deg, #1a1a2e 0%, #ffd700 50%, #000000 100%);
    --theme-banner-border: #ffd700;
    --theme-scout-circle-border: #ffd700;
    --theme-scout-circle-bg: #1a1a2e;
}
*/

/* Super Bowl Season Theme (Late Jan - Super Bowl Sunday, ~Feb 10)
   Asset: scout-logo-super-bowl.jpeg (621KB)
   Banner suggestion: "Game Day Ready with VisionFI" or "Scout's Super Bowl Special"

   Uncomment to activate: */
/*
:root {
    --theme-scout-nav: url('./scout-logo-super-bowl.jpeg');
    --theme-scout-hero: url('./scout-logo-super-bowl.jpeg');
    --theme-banner-bg: linear-gradient(135deg, #013369 0%, #d50a0a 50%, #013369 100%);
    --theme-banner-border: #FFB612;
    --theme-scout-circle-border: #d50a0a;
    --theme-scout-circle-bg: #f5f5f5;
}
*/

/* ─────────────────────────────────────────────────────────────────
   FUTURE THEME TEMPLATES (Create Scout artwork as needed)
   Copy one of these templates when you add new Scout artwork
   ───────────────────────────────────────────────────────────────── */

/* Valentine's Day Theme (Feb 1 - Feb 14)
   TODO: Create scout-logo-valentines.png */
/*
:root {
    --theme-scout-nav: url('./scout-logo-valentines.png');
    --theme-scout-hero: url('./scout-logo-valentines.png');
    --theme-banner-bg: linear-gradient(135deg, #ff1744 0%, #ff4081 50%, #f50057 100%);
    --theme-banner-border: #ff69b4;
    --theme-scout-circle-border: #ff1744;
    --theme-scout-circle-bg: #fff0f5;
}
*/

/* Spring/Easter Theme (Mar 20 - Apr 30)
   TODO: Create scout-logo-spring.png */
/*
:root {
    --theme-scout-nav: url('./scout-logo-spring.png');
    --theme-scout-hero: url('./scout-logo-spring.png');
    --theme-banner-bg: linear-gradient(135deg, #66bb6a 0%, #81c784 50%, #aed581 100%);
    --theme-banner-border: #ffeb3b;
    --theme-scout-circle-border: #66bb6a;
    --theme-scout-circle-bg: #f1f8e9;
}
*/

/* July 4th Theme (Jun 25 - Jul 7)
   TODO: Create scout-logo-july4th.png */
/*
:root {
    --theme-scout-nav: url('./scout-logo-july4th.png');
    --theme-scout-hero: url('./scout-logo-july4th.png');
    --theme-banner-bg: linear-gradient(135deg, #c41e3a 0%, #ffffff 50%, #0a3161 100%);
    --theme-banner-border: #ffd700;
    --theme-scout-circle-border: #c41e3a;
    --theme-scout-circle-bg: #ffffff;
}
*/

/* Summer Theme (Jul 8 - Sep 22)
   TODO: Create scout-logo-summer.png */

/* Fall Theme (Sep 23 - Oct 14)
   TODO: Create scout-logo-fall.png */

/* Halloween Theme (Oct 15 - Oct 31)
   TODO: Create scout-logo-halloween.png */

/* Thanksgiving Theme (Nov 15 - Nov 30)
   TODO: Create scout-logo-thanksgiving.png */

/* 2. BASE RESETS */
* { box-sizing: border-box; margin: 0; padding: 0; }

html {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-main);
    background-color: var(--color-bg-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
}

h1, h2, h3, h4, h5 { font-family: var(--font-heading); color: var(--color-text-main); line-height: 1.2; margin-bottom: 0.5em;}
p { margin-bottom: 1rem; color: var(--color-text-light); }
small { font-size: 0.85rem; color: var(--color-text-light); }

/* 3. ATOMS: BUTTONS */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 10px 24px; border-radius: var(--radius-md);
    font-family: var(--font-heading); font-weight: 600; font-size: 0.95rem;
    cursor: pointer; transition: all 0.2s ease; border: 1px solid transparent;
    text-decoration: none; line-height: 1;
}

.btn:disabled { opacity: 0.6; cursor: not-allowed; pointer-events: none; }

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

.btn-secondary { background: white; border-color: var(--color-border); color: var(--color-text-main); }
.btn-secondary:hover { border-color: var(--color-text-main); background-color: var(--color-bg-alt); }

.btn-ghost { background: transparent; color: var(--color-text-light); border-color: transparent; }
.btn-ghost:hover { background: var(--color-bg-alt); color: var(--color-text-main); }

.btn-sm { font-size: 0.85rem; padding: 6px 16px; }

/* 4. ATOMS: STATUS PILLS (Badges) */
.pill {
    display: inline-flex; align-items: center; padding: 4px 10px;
    border-radius: var(--radius-pill); font-size: 0.75rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.5px; white-space: nowrap;
}
.pill-success { background: var(--color-success-bg); color: var(--color-success); }
.pill-warn { background: var(--color-warning-bg); color: var(--color-warning); }
.pill-error { background: var(--color-error-bg); color: var(--color-error); }
.pill-info { background: #E0F7FA; color: var(--color-info); }
.pill-neutral { background: var(--color-border); color: var(--color-text-main); }

/* 5. MOLECULES: CARDS & CONTAINERS */
.card {
    background: white; border: 1px solid var(--color-border);
    border-radius: var(--radius-lg); padding: 25px;
    box-shadow: var(--shadow-card);
}

.card-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 20px; padding-bottom: 15px; border-bottom: 1px solid var(--color-border);
}

.card-split {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.card-split-header {
    background-color: var(--color-bg-alt);
    padding: 15px 25px;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-split-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--color-text-main);
}

.card-split-body {
    padding: 25px;
}

/* 6. FORMS & INPUTS */
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-weight: 500; font-size: 0.9rem; margin-bottom: 6px; color: var(--color-text-main); }

.input-control {
    width: 100%; padding: 10px 12px;
    border: 1px solid var(--color-border); border-radius: var(--radius-md);
    font-family: var(--font-body); font-size: 0.95rem; background: white;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.input-control:focus { 
    outline: none; border-color: var(--color-primary); 
    box-shadow: var(--focus-ring); 
}

.input-control::placeholder { color: #A1A1AA; }

/* Checkboxes */
.check-group { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 0.95rem; }
input[type="checkbox"], input[type="radio"] { 
    accent-color: var(--color-primary); width: 16px; height: 16px; cursor: pointer; 
}

/* 7. LAYOUT UTILITIES */
.container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; width: 100%; }
.section { padding: 4rem 0; }

/* Flexbox */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }

/* Grid */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* Positioning */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }

/* Spacing - Margin */
.m-0 { margin: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* Spacing - Padding */
.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }
.px-2 { padding-left: 1rem; padding-right: 1rem; }
.px-3 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-2 { padding-top: 1rem; padding-bottom: 1rem; }
.py-3 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-4 { padding-top: 2rem; padding-bottom: 2rem; }

/* Typography */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-sub { color: var(--color-text-light); font-size: 0.9rem; }
.text-white { color: white; }
.text-primary { color: var(--color-primary); }

/* Display */
.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }

/* Flex utilities */
.flex-wrap { flex-wrap: wrap; }

/* Font styles */
.italic { font-style: italic; }

/* Flex order */
.order-1 { order: 1; }
.order-2 { order: 2; }

/* Icon sizes */
.icon-sm { width: 1.5rem; height: 1.5rem; }
.icon-md { width: 2rem; height: 2rem; }
.icon-lg { width: 4rem; height: 4rem; }

/* Positioning */
.pos-relative { position: relative; }

/* Object fit */
.object-contain { object-fit: contain; }

/* Width */
.w-full { width: 100%; }
.max-w-lg { max-width: 900px; }
.max-w-xl { max-width: 1100px; }

/* Images */
img { max-width: 100%; height: auto; display: block; }
.rounded { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.shadow-lg { box-shadow: var(--shadow-float); }

/* 8. TYPOGRAPHY SCALES */
h1 { font-size: 3rem; font-weight: 800; }
h2 { font-size: 2.25rem; font-weight: 700; }
h3 { font-size: 1.875rem; font-weight: 600; }
h4 { font-size: 1.5rem; font-weight: 600; }
h5 { font-size: 1.25rem; font-weight: 600; }

.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }

/* 9. BACKGROUNDS */
.bg-white { background-color: white; }
.bg-dark { background-color: var(--color-bg-dark); }
.bg-alt { background-color: var(--color-bg-alt); }
.bg-gradient-hero {
    background: linear-gradient(to right, white 0%, #f3f4f6 50%, #111827 100%);
}
.bg-gradient-dark {
    background: linear-gradient(135deg, #0f4c81 0%, #1e88e5 50%, #0d47a1 100%);
}

/* 10. NAVIGATION */
.navbar {
    background: white;
    border-bottom: 1px solid var(--color-border);
    border-top: 3px solid var(--color-primary);
    padding: 0.75rem 0;
    margin-top: 0.5rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

.scout-circle {
    width: 5.5rem;
    height: 5.5rem;
    border-radius: 50%;
    background: var(--theme-scout-circle-bg);
    border: 1px solid var(--theme-scout-circle-border);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem;
    flex-shrink: 0;
    position: absolute;
    top: -0.25rem;
    left: 0;
    z-index: 10;
}

.scout-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.nav-logo-container {
    position: relative;
    padding-left: 6rem;
}

.nav-logo {
    height: 3rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

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

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

/* 11. HERO SECTION */
.hero {
    position: relative;
    background: linear-gradient(to right, white 0%, #f3f4f6 50%, #111827 100%);
    padding: 2rem 0 8rem;
    min-height: 600px;
    overflow: hidden;
}

.hero-content {
    max-width: 580px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-light);
    margin-bottom: 2rem;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 620px;
    right: 1rem;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.hero-image img {
    width: 70%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-float);
}

/* Comparison Table - Hero Section */
.comparison-table {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    font-size: 0.95rem;
    max-width: 750px;
    width: 100%;
}

.comparison-header {
    display: grid;
    grid-template-columns: 150px 1fr 1fr;
    font-size: 1.25rem;
    font-weight: 700;
    background-color: var(--color-bg-alt);
    border-bottom: 1px solid var(--color-border);
}

.comparison-header-left {
    color: var(--color-text-main);
    padding: 1.25rem 0.75rem;
    text-align: center;
    grid-column: 2;
}

.comparison-header-right {
    background: var(--color-primary);
    color: white;
    padding: 1.25rem 0.75rem;
    text-align: center;
    grid-column: 3;
}

.comparison-row {
    display: grid;
    grid-template-columns: 150px 1fr 1fr;
    border-bottom: 1px solid var(--color-border);
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-label {
    background: var(--color-bg-alt);
    padding: 1.15rem 0.65rem;
    font-weight: 700;
    border-right: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    line-height: 1.3;
}

.comparison-left,
.comparison-right {
    padding: 1.15rem 0.85rem;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    line-height: 1.4;
}

.comparison-left {
    border-right: 1px solid var(--color-border);
}

/* 12. SECTIONS */
.section-dark {
    background-color: var(--color-bg-dark);
    color: white;
    padding: 4rem 0;
}

.section-dark h2,
.section-dark h3 {
    color: white;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-light);
    text-align: center;
    margin-bottom: 3rem;
}

/* 13. PROCESS STEPS */
.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: var(--radius-md);
    background-color: var(--color-text-main);
    color: white;
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.step-number-primary {
    background-color: var(--color-primary);
}

.grid-5 { grid-template-columns: repeat(5, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* 14. FEATURE CARDS */
.feature-card {
    background: white;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-float);
    transform: translateY(-4px);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

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

/* 15. INTEGRATION CARDS */
.integration-card {
    background: var(--color-bg-alt);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
}

.integration-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

/* 16. MODAL */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

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

.modal-content {
    background-color: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-text-light);
}

.modal-close:hover {
    color: var(--color-text-main);
}

/* 17. FOOTER */
footer {
    background-color: var(--color-bg-alt);
    padding: 3rem 0;
}

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

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

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 1.5rem;
}

/* 18. BANNERS */
.banner {
    background: var(--theme-banner-bg);
    color: white;
    text-align: center;
    padding: 0.75rem 0;
    border-bottom: 3px solid var(--theme-banner-border);
    position: relative;
    overflow: hidden;
}

/* Twinkling lights effect for holiday theme */
.banner-lights {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.light {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #ffd700;
    box-shadow: 0 0 4px #ffd700, 0 0 8px #ffd700;
    opacity: 0;
    animation: twinkle 2s infinite;
}

.light.white {
    background: #ffffff;
    box-shadow: 0 0 4px #ffffff, 0 0 8px #ffffff;
}

/* Create multiple lights with different positions and delays */
.light:nth-child(1) { left: 5%; top: 20%; animation-delay: 0s; }
.light:nth-child(2) { left: 15%; top: 60%; animation-delay: 0.3s; }
.light:nth-child(3) { left: 25%; top: 30%; animation-delay: 0.6s; }
.light:nth-child(4) { left: 35%; top: 70%; animation-delay: 0.9s; }
.light:nth-child(5) { left: 45%; top: 40%; animation-delay: 1.2s; }
.light:nth-child(6) { left: 55%; top: 65%; animation-delay: 1.5s; }
.light:nth-child(7) { left: 65%; top: 25%; animation-delay: 0.2s; }
.light:nth-child(8) { left: 75%; top: 55%; animation-delay: 0.5s; }
.light:nth-child(9) { left: 85%; top: 35%; animation-delay: 0.8s; }
.light:nth-child(10) { left: 95%; top: 50%; animation-delay: 1.1s; }
.light:nth-child(11) { left: 10%; top: 45%; animation-delay: 1.4s; }
.light:nth-child(12) { left: 20%; top: 75%; animation-delay: 0.4s; }
.light:nth-child(13) { left: 30%; top: 55%; animation-delay: 0.7s; }
.light:nth-child(14) { left: 40%; top: 20%; animation-delay: 1s; }
.light:nth-child(15) { left: 50%; top: 80%; animation-delay: 1.3s; }
.light:nth-child(16) { left: 60%; top: 40%; animation-delay: 0.1s; }
.light:nth-child(17) { left: 70%; top: 70%; animation-delay: 0.9s; }
.light:nth-child(18) { left: 80%; top: 30%; animation-delay: 1.2s; }
.light:nth-child(19) { left: 90%; top: 60%; animation-delay: 0.6s; }
.light:nth-child(20) { left: 12%; top: 50%; animation-delay: 1.5s; }

@keyframes twinkle {
    0%, 100% {
        opacity: 0;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* 19. MORE UTILITIES */
.mx-auto { margin-left: auto; margin-right: auto; }
.text-sm { font-size: 0.875rem; }
.border-b { border-bottom: 1px solid var(--color-border); }
.border-t { border-top: 1px solid var(--color-border); }
.overflow-hidden { overflow: hidden; }

/* Color utilities */
.text-gold { color: var(--color-accent-gold); }
.text-gray-300 { color: var(--color-gray-300); }
.text-gray-400 { color: var(--color-gray-400); }
.text-gray-600 { color: var(--color-gray-600); }
.bg-gray-100 { background-color: var(--color-gray-100); }
.bg-gray-200 { background-color: var(--color-gray-200); }

/* Page-specific components */
.model-card {
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    overflow: hidden;
    transition: transform 0.2s;
    display: flex;
    flex-direction: column;
}

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

.model-header {
    background: var(--color-bg-alt);
    padding: 20px;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    gap: 15px;
}

.model-icon {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-weight: bold;
    border: 2px solid var(--color-primary);
    font-size: 1.25rem;
}

.model-body {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.checkmark {
    color: var(--color-success);
}

.logo-placeholder {
    height: 3rem;
    background-color: var(--color-border);
    border-radius: var(--radius-md);
}

.social-icon {
    color: var(--color-gray-400);
    transition: color 0.2s;
}

.social-icon:hover {
    color: var(--color-primary);
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1rem;
    min-width: 200px;
    box-shadow: var(--shadow-card);
}

.mobile-menu.active {
    display: block;
}

.mobile-menu a {
    display: block;
    padding: 0.5rem 0;
    color: var(--color-text-main);
    text-decoration: none;
}

.mobile-menu a:hover {
    color: var(--color-primary);
}

.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.5rem;
}

.hero-image-mobile {
    display: none;
}

/* 20. RESPONSIVE BREAKPOINTS */
@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .hero-image { position: static; width: 100%; margin-top: 2rem; }
    .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .hamburger { display: block; }
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    .container { padding: 0 1rem; }

    /* Comparison table mobile adjustments */
    .comparison-row {
        grid-template-columns: 1fr;
    }

    .comparison-label {
        border-right: none;
        border-bottom: 1px solid var(--color-border);
        font-weight: 700;
        background: var(--color-bg-alt);
    }

    .comparison-left {
        border-right: none;
        border-bottom: 1px solid var(--color-border);
        background: #f5f5f5;
        position: relative;
        padding-left: 0.85rem;
    }

    .comparison-left::before {
        content: "( Generic AI )";
        display: block;
        font-size: 0.65rem;
        font-weight: 700;
        color: var(--color-text-light);
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-bottom: 0.5rem;
        font-style: italic;
    }

    .comparison-right {
        background: var(--color-primary-light);
        position: relative;
        padding-left: 0.85rem;
    }

    .comparison-right::before {
        content: "( Scout ILM )";
        display: block;
        font-size: 0.65rem;
        font-weight: 700;
        color: var(--color-primary);
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-bottom: 0.5rem;
        font-style: italic;
    }

    .comparison-header {
        font-size: 1.125rem;
    }

    .comparison-table {
        font-size: 0.85rem;
    }
}

@media (max-width: 1024px) {
    .hero-image {
        display: none;
    }

    .hero-image-mobile {
        display: block;
        margin-top: 2rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .hero-title { font-size: 3rem; }
    .grid-3, .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); }

    /* Force mobile layout for comparison table on tablets */
    .hero-image {
        display: none !important;
    }

    .hero-image-mobile {
        display: block !important;
        margin-top: 2rem;
    }

    /* Tablet-specific comparison table fixes */
    .comparison-header,
    .comparison-row {
        grid-template-columns: 100px 1fr 1fr;
    }

    .comparison-label {
        font-size: 0.7rem;
        padding: 0.75rem 0.4rem;
        line-height: 1.2;
    }

    .comparison-left,
    .comparison-right {
        padding: 0.75rem 0.5rem;
        font-size: 0.8rem;
    }

    .comparison-header {
        font-size: 0.95rem;
        padding: 1rem 0.5rem;
    }

    .comparison-header-left,
    .comparison-header-right {
        padding: 1rem 0.5rem;
    }

    .comparison-table {
        font-size: 0.8rem;
        max-width: 100%;
    }
}

/* 14. APPLICATION SPECIFIC: CHAT INTERFACE */
.chat-window {
    display: flex; flex-direction: column; gap: 12px;
    background: white; border: 1px solid var(--color-border);
    border-radius: var(--radius-lg); padding: 20px;
    max-height: 600px; overflow-y: auto;
}

.chat-bubble {
    max-width: 85%; padding: 12px 16px; border-radius: 12px;
    font-size: 0.95rem; line-height: 1.5; position: relative;
}

.chat-bubble-ai {
    align-self: flex-start; background-color: var(--color-bg-alt);
    color: var(--color-text-main); border-bottom-left-radius: 2px;
    border: 1px solid var(--color-border);
}

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

.chat-label {
    font-size: 0.7rem; color: var(--color-primary);
    font-weight: 700; margin-bottom: 4px; display: block; text-transform: uppercase;
}