/*
 * ===== T.R.U.S.T. ARGUS CLONED WEBSITE - MAIN STYLESHEET =====
* 
* This file contains all the main styling for the T.R.U.S.T. Argus cloned website.
 * Enhanced with scroll effects, language selector, and improved animations.
 * 
 * SECTIONS:
 * - Reset & Base Styles: Global resets and base element styles
 * - Typography: All heading and text styles
 * - Layout & Containers: Main container and grid layouts
 * - Language Selector: Top-right language switcher
 * - Navigation: Top navigation bar and logo
 * - Hero Section: Main landing section with enhanced scroll effects
 * - Features Section: Feature cards with animations
 * - Demo Section: Interactive demo with image upload
 * - Technology Section: Tech stack and capabilities
 * - Use Cases Section: Emergency response scenarios
 * - Contact Section: Contact form and information
 * - Footer: Site footer and links
 * 
 * DESIGNER NOTES:
 * - Primary colors: #0a0e17 (dark), #29a9e1 (blue), #40e9a4 (green)
 * - Font: Inter (Google Fonts)
 * - Icons: Font Awesome + Custom icons (scan, MCI, profile)
 * - Gradients: Dark to blue-green transitions
 * - Enhanced scroll effects and animations
 * 
 * Last updated: [Current Date]
 */

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: #0a0e17;
    overflow-x: hidden;
    position: relative;
}

/* Video background */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    object-fit: cover;
}



/* ===== LANGUAGE DROPDOWN (in navbar) ===== */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}


.theme-icon-toggle {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    border: 1px solid rgba(41, 169, 225, 0.35);
    background: rgba(41, 169, 225, 0.1);
    color: #29a9e1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
}

.theme-icon-toggle:hover {
    background: rgba(41, 169, 225, 0.2);
    border-color: rgba(41, 169, 225, 0.6);
    transform: translateY(-1px);
}

.theme-icon-toggle i {
    font-size: 0.95rem;
}

.language-dropdown {
    position: relative;
}

.language-dropdown-btn {
    background: rgba(41, 169, 225, 0.1);
    border: 1px solid rgba(41, 169, 225, 0.3);
    color: #ffffff;
    padding: 8px 12px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 70px;
    justify-content: center;
}

.language-dropdown-btn:hover,
.language-dropdown.open .language-dropdown-btn {
    background: rgba(41, 169, 225, 0.2);
    border-color: rgba(41, 169, 225, 0.5);
}

.language-dropdown-btn i {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.language-dropdown.open .language-dropdown-btn i {
    transform: rotate(180deg);
}

.language-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 180px;
    max-height: min(500px, calc(100vh - 100px));
    overflow-y: auto;
    background: rgba(10, 14, 23, 0.98);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(41, 169, 225, 0.2);
    border-radius: 12px;
    padding: 6px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.language-dropdown.open .language-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: block;
    width: 100%;
    background: transparent;
    border: none;
    color: #ffffff;
    padding: 10px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    text-align: left;
    transition: all 0.2s ease;
}

.language-option:hover {
    background: rgba(41, 169, 225, 0.15);
}

.language-option.active {
    background: linear-gradient(135deg, rgba(41, 169, 225, 0.3), rgba(64, 233, 164, 0.2));
    color: #40e9a4;
}

.flag-icon {
    width: 16px;
    height: 12px;
    border-radius: 2px;
}

html[dir="rtl"] .language-option {
    text-align: right;
}

html[dir="rtl"] .legal-document ul,
html[dir="rtl"] .careers-content ul,
html[dir="rtl"] .feature-list {
    margin-right: 1.5rem;
    margin-left: 0;
}

html[dir="rtl"] .language-dropdown-menu {
    right: auto;
    left: 0;
}



body.light-mode {
    background: #e7eff7;
    color: #0b1f33;
}

body.light-mode .navbar {
    background: rgba(244, 248, 252, 0.95) !important;
    border-bottom: 1px solid rgba(41, 169, 225, 0.15);
}

body.light-mode .survey-callout {
    background: rgba(41, 169, 225, 0.14);
    border-bottom: 1px solid rgba(41, 169, 225, 0.28);
}

body.light-mode .survey-callout-link,
body.light-mode .survey-callout-link:hover {
    color: #0b1f33;
}

body.light-mode .survey-callout-link--beta,
body.light-mode .survey-callout-link + .survey-callout-link {
    border-left-color: rgba(11, 31, 51, 0.25);
}

body.light-mode .nav-link,
body.light-mode .section-title,
body.light-mode h1,
body.light-mode h2,
body.light-mode h3 {
    color: #0b1f33;
}

body.light-mode .language-dropdown-btn,
body.light-mode .theme-icon-toggle {
    background: rgba(41, 169, 225, 0.12);
    color: #1f6fa5;
}


body.light-mode .video-background {
    opacity: 0.05;
}

body.light-mode p,
body.light-mode .stat-label,
body.light-mode .footer p,
body.light-mode .legal-document,
body.light-mode .careers-content {
    color: #1f344b;
}

body.light-mode section {
    background: transparent !important;
}

body.light-mode .hero,
body.light-mode .features,
body.light-mode .demo,
body.light-mode .technology,
body.light-mode .use-cases,
body.light-mode .contact,
body.light-mode .about-content,
body.light-mode .team-section,
body.light-mode .legal-page,
body.light-mode .careers-page,
body.light-mode .press-page,
body.light-mode .news911-page,
body.light-mode .page-hero {
    background: linear-gradient(180deg, rgba(246, 251, 255, 0.96), rgba(222, 235, 248, 0.96)) !important;
}

body.light-mode .feature-card,
body.light-mode .demo-sidebar,
body.light-mode .demo-main,
body.light-mode .tech-item,
body.light-mode .use-case-card,
body.light-mode .contact-form,
body.light-mode .team-card,
body.light-mode .legal-document,
body.light-mode .opportunity-card {
    background: rgba(255,255,255,0.98) !important;
    border-color: rgba(20, 92, 146, 0.28) !important;
    box-shadow: 0 10px 30px rgba(11, 31, 51, 0.12);
}

body.light-mode .footer {
    background: rgba(210, 226, 241, 0.98) !important;
    border-top-color: rgba(41, 169, 225, 0.2) !important;
}

body.light-mode .footer a,
body.light-mode .footer h4,
body.light-mode .footer-logo,
body.light-mode .footer-bottom p {
    color: #0f2a42 !important;
}

body.light-mode input,
body.light-mode textarea,
body.light-mode select {
    background: rgba(255,255,255,0.92) !important;
    color: #112033 !important;
    border-color: rgba(20, 92, 146, 0.34) !important;
}

body.light-mode .result-value,
body.light-mode .guidance-content,
body.light-mode .demo-placeholder {
    color: #0f2a42 !important;
}

body.light-mode .btn-secondary {
    color: #155c92;
    border-color: #155c92;
    background: rgba(21, 92, 146, 0.08);
}


body.light-mode .workflow-disclaimer {
    background: rgba(236, 245, 253, 0.95) !important;
    color: #12324f !important;
    border: 1px solid rgba(20, 92, 146, 0.30) !important;
    box-shadow: 0 6px 18px rgba(11, 31, 51, 0.08);
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

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

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

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    margin-bottom: 1rem;
    color: #b8c5d6;
}

/* ===== LAYOUT & CONTAINERS ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    color: #ffffff;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #29a9e1;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== SURVEY CALLOUT (under fixed nav) ===== */
.survey-callout {
    position: fixed;
    top: 90px;
    left: 0;
    right: 0;
    z-index: 998;
    background: rgba(20, 92, 146, 0.94);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
}

.survey-callout-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.55rem 2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.65rem 1.25rem;
    text-align: center;
}

.survey-callout-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: opacity 0.2s ease;
}

.survey-callout-link:hover {
    opacity: 0.88;
    color: #fff;
}

.survey-callout-link--beta,
.survey-callout-link + .survey-callout-link {
    font-weight: 600;
    padding-left: 1.25rem;
    border-left: 1px solid rgba(255, 255, 255, 0.35);
}

.survey-callout-arrow {
    font-weight: 600;
    opacity: 0.9;
}

body:has(.survey-callout) .hero {
    padding-top: 154px;
    scroll-margin-top: 154px;
}

body:has(.survey-callout) .about-page {
    padding-top: 134px;
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(10, 14, 23, 0.95);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    padding: 1rem 0;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-logo .logo-img {
    height: 58px;
    transition: transform 0.3s ease;
}

.nav-logo:hover .logo-img {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #29a9e1;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #29a9e1, #40e9a4);
    transition: width 0.3s ease;
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
}

/* ===== HERO SECTION WITH ENHANCED SCROLL EFFECTS ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 110px;
    padding-bottom: 5rem;
    scroll-margin-top: 110px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(41, 169, 225, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(64, 233, 164, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(41, 169, 225, 0.05) 0%, transparent 50%);
    animation: particleFloat 20s ease-in-out infinite;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(10, 14, 23, 0.8) 0%, 
        rgba(26, 31, 46, 0.6) 50%, 
        rgba(41, 169, 225, 0.1) 100%);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    margin-bottom: 2rem;
    line-height: 1.1;
}

.hero-line {
    display: block;
    margin-bottom: 0.5rem;
    opacity: 0;
    animation: slideInLeft 0.8s ease-out forwards;
}

.hero-line:nth-child(1) { animation-delay: 0.2s; }
.hero-line:nth-child(2) { animation-delay: 0.4s; }
.hero-line:nth-child(3) { animation-delay: 0.6s; }

.ai-powered,
.hero-accent {
    background: linear-gradient(135deg, #29a9e1, #40e9a4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight {
    color: #40e9a4;
    font-size: 1.2em;
}

.accent-link {
    color: #40e9a4;
    text-decoration: none;
}

.accent-link:hover {
    color: #29a9e1;
}

.hero-title .highlight {
    color: #29a9e1;
}

.scan-effect {
    position: relative;
    overflow: hidden;
}

.scan-effect::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(64, 233, 164, 0.3), transparent);
    animation: scanEffect 3s ease-in-out infinite;
}

.hero-title .scan-effect::before {
    background: linear-gradient(90deg, transparent, rgba(41, 169, 225, 0.4), transparent);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 1s forwards;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 1.2s forwards;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #29a9e1, #40e9a4);
    color: #0a0e17;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(41, 169, 225, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid #29a9e1;
}

.btn-secondary:hover {
    background: #29a9e1;
    color: #0a0e17;
    transform: translateY(-3px);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 1.4s forwards;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: rgba(41, 169, 225, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(41, 169, 225, 0.2);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(41, 169, 225, 0.2);
    border-color: rgba(41, 169, 225, 0.4);
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: #40e9a4;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #b8c5d6;
    line-height: 1.3;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    animation: fadeInRight 1s ease-out 1.6s forwards;
}

.app-mockup {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.mockup-image {
    max-width: 300px;
    border-radius: 28px;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

.mockup-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(41, 169, 225, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: glowPulse 4s ease-in-out infinite;
}

/* Temporarily hidden until injury detection model is updated — remove .is-demo-hidden to re-enable */
.is-demo-hidden {
    display: none !important;
}

/* ===== FEATURES SECTION ===== */
.features {
    padding: 6rem 0;
    background: linear-gradient(135deg, #0a0e17 0%, #1a1f2e 100%);
}

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

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(41, 169, 225, 0.2);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(41, 169, 225, 0.4);
    box-shadow: 0 20px 40px rgba(41, 169, 225, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #29a9e1, #40e9a4);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: #0a0e17;
}

.custom-feature-icon {
    width: 52px;
    height: 52px;
}

.feature-title {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.feature-description {
    color: #b8c5d6;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

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

.feature-list li {
    color: #b8c5d6;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #40e9a4;
    font-weight: bold;
}

/* ===== DEMO SECTION ===== */
.demo {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1a1f2e 0%, #0a0e17 100%);
}

.demo-notice {
    max-width: 720px;
    margin: 1.5rem auto 0;
    padding: 1.25rem 1.5rem;
    background: #29a9e1;
    border: 2px solid #ffffff;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(41, 169, 225, 0.35);
}

.demo-notice-lead {
    color: #0a0e17;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.demo-notice-tips {
    color: #0a0e17;
    font-size: 0.875rem;
    line-height: 1.55;
    margin: 0;
}

.demo-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
}

.demo-sidebar {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(41, 169, 225, 0.2);
}

.demo-controls h3 {
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.ai-status {
    margin-bottom: 2rem;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: #b8c5d6;
}

.status-indicator.loading {
    color: #29a9e1;
}

.loading-progress {
    margin-bottom: 1rem;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #29a9e1, #40e9a4);
    width: 0%;
    animation: progressFill 2s ease-in-out infinite;
}

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

.control-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #ffffff;
    font-weight: 500;
}

.file-input {
    width: 100%;
    padding: 0.75rem;
    border: 2px dashed rgba(41, 169, 225, 0.3);
    border-radius: 10px;
    background: transparent;
    color: #ffffff;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.file-input:hover {
    border-color: rgba(41, 169, 225, 0.6);
}

.demo-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.demo-actions .btn {
    width: 100%;
    max-width: 260px;
    justify-content: center;
}

.demo-info {
    margin-top: 2rem;
    padding-top: 0.5rem;
}

.demo-info h3 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.sample-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.sample-img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.sample-img:hover {
    transform: scale(1.05);
    border-color: #29a9e1;
}

.demo-info ol {
    color: #b8c5d6;
    padding-left: 1.5rem;
}

.demo-info li {
    margin-bottom: 0.5rem;
}

.demo-main {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(41, 169, 225, 0.2);
}

.image-display {
    min-height: 400px;
    border: 2px dashed rgba(41, 169, 225, 0.3);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.image-display:hover {
    border-color: rgba(41, 169, 225, 0.6);
}

.placeholder-content {
    text-align: center;
    color: #b8c5d6;
}

.placeholder-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.analysis-results {
    background: rgba(41, 169, 225, 0.1);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(41, 169, 225, 0.3);
}

.analysis-results.hidden {
    display: none;
}

.analysis-results h3 {
    color: #ffffff;
    margin-bottom: 1.5rem;
    text-align: center;
}

.result-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.result-label {
    color: #b8c5d6;
    font-weight: 500;
}

.result-value {
    color: #40e9a4;
    font-weight: 600;
}

.medical-guidance {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(41, 169, 225, 0.3);
}

.medical-guidance h4 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.guidance-text {
    color: #b8c5d6;
    line-height: 1.6;
}

/* ===== TECHNOLOGY SECTION ===== */
.technology {
    padding: 6rem 0;
    background: linear-gradient(135deg, #0a0e17 0%, #1a1f2e 100%);
}

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

.tech-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(41, 169, 225, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.tech-item:hover {
    transform: translateY(-5px);
    border-color: rgba(41, 169, 225, 0.4);
    box-shadow: 0 15px 30px rgba(41, 169, 225, 0.1);
}

.tech-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #29a9e1, #40e9a4);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: #0a0e17;
}

.tech-item h3 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.tech-item p {
    color: #b8c5d6;
    line-height: 1.6;
}

/* ===== VIDEO AD SECTION ===== */
.video-ad-section {
    width: 100%;
    background: #0a0e17;
    border-top: 1px solid rgba(41, 169, 225, 0.15);
    border-bottom: 1px solid rgba(41, 169, 225, 0.15);
}

.video-ad-player {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 320px;
    max-height: 85vh;
    overflow: hidden;
    background: #000000;
}

.video-ad-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-ad-controls {
    position: absolute;
    bottom: 1.25rem;
    right: 1.25rem;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.video-ad-control {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border: 2px solid rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    background: rgba(10, 14, 23, 0.55);
    color: #ffffff;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.video-ad-control:hover {
    background: rgba(10, 14, 23, 0.8);
    border-color: #ffffff;
    color: #ffffff;
}

/* ===== WORKFLOW STRIP ===== */
.workflow-strip {
    padding: 4rem 0;
    background: linear-gradient(135deg, #0a0e17 0%, #1a1f2e 100%);
    border-top: 1px solid rgba(41, 169, 225, 0.1);
    border-bottom: 1px solid rgba(41, 169, 225, 0.1);
}

.workflow-tagline {
    text-align: center;
    color: #40e9a4;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.workflow-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

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

.workflow-img {
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 16px;
    border: 2px solid rgba(41, 169, 225, 0.3);
    margin-bottom: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.workflow-step h3 {
    color: #29a9e1;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.workflow-step p {
    color: #b8c5d6;
    font-size: 0.9rem;
    line-height: 1.5;
}

.workflow-disclaimer {
    text-align: center;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    font-style: normal;
    letter-spacing: 0.02em;
    margin-top: 2.5rem;
    padding: 1.25rem 1.75rem;
    background: rgba(10, 14, 23, 0.75);
    border: 2px solid rgba(64, 233, 164, 0.5);
    border-radius: 12px;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

.freemium-strip {
    padding: 4.5rem 0;
}

.freemium-lead {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 2rem;
    color: #b8c5d6;
    font-size: 1.05rem;
    line-height: 1.65;
}

.freemium-points .workflow-step h3 {
    color: #40e9a4;
}

.freemium-points .workflow-step p {
    color: #b8c5d6;
}

/* ===== USE CASES SECTION ===== */
.use-cases {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1a1f2e 0%, #0a0e17 100%);
}

.use-cases-layout {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.use-cases-grid {
    display: grid;
    gap: 2rem;
}

.use-cases-grid--primary {
    grid-template-columns: repeat(3, 1fr);
}

.use-cases-grid--secondary {
    grid-template-columns: repeat(2, 1fr);
    max-width: calc(66.666% + 1rem);
    margin: 0 auto;
    width: 100%;
}

.use-case-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(41, 169, 225, 0.2);
    border-radius: 20px;
    padding: 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.use-case-image {
    width: 100%;
    height: 140px;
    overflow: hidden;
}

.use-case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.3s ease;
}

.use-case-image--caregivers img {
    object-position: center top;
}

.use-case-image--outdoor {
    background: #0a0e17;
    display: flex;
    align-items: center;
    justify-content: center;
}

.use-case-image--outdoor img {
    object-fit: contain;
    object-position: center center;
}

.use-case-image--responders img {
    object-fit: cover;
    object-position: center 55%;
}

.use-case-card:hover .use-case-image img {
    transform: scale(1.05);
}

.use-case-card:hover .use-case-image--caregivers img {
    transform-origin: center top;
}

.use-case-card:hover .use-case-image--outdoor img {
    transform: scale(1.03);
    transform-origin: center center;
}

.use-case-card:hover .use-case-image--responders img {
    transform: scale(1.05);
    transform-origin: center 55%;
}

.use-case-card .use-case-icon,
.use-case-card h3,
.use-case-card p,
.use-case-card ul {
    margin-left: 2rem;
    margin-right: 2rem;
}

.use-case-card .use-case-icon {
    margin-top: 1.5rem;
}

.use-case-card p {
    margin-bottom: 1rem;
}

.use-case-card ul {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

.use-case-card:hover {
    transform: translateY(-10px);
    border-color: rgba(41, 169, 225, 0.4);
    box-shadow: 0 20px 40px rgba(41, 169, 225, 0.1);
}

.use-case-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #29a9e1, #40e9a4);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: #0a0e17;
}

.use-case-card h3 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.use-case-card p {
    color: #b8c5d6;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.use-case-card ul {
    list-style: none;
    color: #b8c5d6;
}

.use-case-card li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.use-case-card li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #40e9a4;
    font-weight: bold;
}

/* ===== CONTACT SECTION ===== */
.contact {
    padding: 6rem 0;
    background: linear-gradient(135deg, #0a0e17 0%, #1a1f2e 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    color: #ffffff;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: #b8c5d6;
}

.contact-item i {
    color: #29a9e1;
    font-size: 1.2rem;
    width: 20px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-links--hidden {
    display: none;
}

.social-link {
    width: 50px;
    height: 50px;
    background: rgba(41, 169, 225, 0.1);
    border: 1px solid rgba(41, 169, 225, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #29a9e1;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #29a9e1;
    color: #0a0e17;
    transform: translateY(-3px);
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(41, 169, 225, 0.2);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(41, 169, 225, 0.3);
    border-radius: 10px;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #b8c5d6;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #29a9e1;
    box-shadow: 0 0 0 3px rgba(41, 169, 225, 0.2);
}

/* ===== FOOTER ===== */
.footer {
    background: #0a0e17;
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(41, 169, 225, 0.2);
}

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

.footer-section h4 {
    color: #ffffff;
    margin-bottom: 1.5rem;
}

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

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

.footer-section a {
    color: #b8c5d6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #29a9e1;
}

.footer-link-active,
.footer-section a.footer-link-active {
    color: #40e9a4;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo-img {
    height: 58px;
}

.footer-bottom {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(41, 169, 225, 0.2);
    color: #b8c5d6;
}

.footer-bottom p {
    margin: 0;
    text-align: center;
    font-size: 0.9rem;
}

.footer-bottom-meta {
    grid-column: 2;
    text-align: center;
}

.footer-patent {
    margin-top: 0.3rem;
    font-size: 0.82rem;
    color: #8fa3bc;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.footer-social.social-links {
    grid-column: 1;
    justify-self: start;
    margin-top: 0;
    flex-shrink: 0;
}

/* ===== ABOUT PAGE ===== */
.about-page {
    padding-top: 80px;
}

.page-hero {
    padding: 5rem 0 3rem;
    background: rgba(10, 14, 23, 0.85);
    border-bottom: 1px solid rgba(41, 169, 225, 0.15);
}

.team-section {
    padding: 4rem 0 6rem;
    background: #e8e8e8;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: stretch;
}

.team-card {
    display: flex;
    flex-direction: column;
    background: #f5f5f5;
    border: none;
    border-radius: 4px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease;
}

.team-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.team-photo {
    width: 100%;
    height: 280px;
    border-radius: 0;
    overflow: hidden;
    border: none;
    flex-shrink: 0;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.team-photo--contain {
    background: #d8d8d8;
}

.team-photo--contain img {
    object-fit: contain;
    object-position: center center;
}

.team-content {
    padding: 1.5rem 1.25rem 1.75rem;
    flex: 1;
}

.team-name {
    color: #1a1a2e;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-align: center;
}

.team-bio {
    color: #444444;
    line-height: 1.65;
    margin-bottom: 0.75rem;
    font-size: 0.92rem;
    text-align: left;
}

.team-bio:last-child {
    margin-bottom: 0;
}

.about-contact-cta {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem 2rem;
    background: rgba(10, 14, 23, 0.85);
    border: 1px solid rgba(41, 169, 225, 0.25);
    border-radius: 20px;
    backdrop-filter: blur(12px);
}

.about-cta-logo {
    height: 96px;
    margin-bottom: 1.5rem;
}

.about-contact-cta p {
    color: #b8c5d6;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.about-contact-cta a {
    color: #29a9e1;
    text-decoration: none;
}

.about-contact-cta a:hover {
    color: #40e9a4;
}

@media (max-width: 992px) {
    .team-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .team-photo {
        height: 320px;
    }
}

/* ===== CAREERS PAGE ===== */
.careers-section {
    padding: 3rem 0 6rem;
    background: rgba(10, 14, 23, 0.85);
}

.careers-content {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(10, 14, 23, 0.85);
    border: 1px solid rgba(41, 169, 225, 0.25);
    border-radius: 20px;
    padding: 2.5rem 3rem;
    backdrop-filter: blur(12px);
}

.careers-content p {
    color: #b8c5d6;
    line-height: 1.75;
    margin-bottom: 1.25rem;
}

.careers-lead {
    font-size: 1.1rem;
    color: #e8edf5;
}

.careers-lead strong {
    color: #40e9a4;
    font-weight: 600;
}

.careers-involvement {
    margin-top: 2rem;
    padding: 1.5rem 1.25rem;
    background: rgba(64, 233, 164, 0.06);
    border: 1px solid rgba(64, 233, 164, 0.2);
    border-radius: 12px;
}

.careers-involvement h2 {
    margin-top: 0;
}

.careers-involvement p {
    margin-bottom: 0;
}

.careers-note a {
    color: #29a9e1;
    text-decoration: none;
}

.careers-note a:hover {
    color: #40e9a4;
}

.careers-content h2 {
    color: #ffffff;
    font-size: 1.35rem;
    margin: 2rem 0 0.75rem;
}

.careers-note {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(41, 169, 225, 0.2);
    font-size: 0.95rem;
    color: #8fa3bc;
}

.careers-focus-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin: 1.5rem 0 0.5rem;
}

.careers-focus-card {
    background: rgba(41, 169, 225, 0.08);
    border: 1px solid rgba(41, 169, 225, 0.2);
    border-radius: 12px;
    padding: 1.5rem 1.25rem;
    text-align: center;
}

.careers-focus-card i {
    font-size: 1.75rem;
    color: #29a9e1;
    margin-bottom: 0.75rem;
}

.careers-focus-card h3 {
    color: #ffffff;
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.careers-focus-card p {
    font-size: 0.88rem;
    margin-bottom: 0;
    text-align: left;
}

@media (max-width: 768px) {
    .careers-content {
        padding: 1.75rem 1.5rem;
    }

    .careers-focus-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== PRESS PAGE ===== */
.press-facts {
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
}

.press-facts li {
    color: #b8c5d6;
    line-height: 1.75;
    margin-bottom: 0.65rem;
    padding-left: 0;
}

.press-facts a,
.press-boilerplate a,
.press-contact-list a,
.careers-content .press-contact-note a {
    color: #29a9e1;
    text-decoration: none;
}

.press-facts a:hover,
.press-boilerplate a:hover,
.press-contact-list a:hover {
    color: #40e9a4;
}

.press-boilerplate {
    padding: 1.25rem 1.5rem;
    background: rgba(41, 169, 225, 0.06);
    border-left: 4px solid rgba(41, 169, 225, 0.45);
    border-radius: 0 12px 12px 0;
    font-size: 0.98rem;
}

.press-contact-list {
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
}

.press-contact-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: #b8c5d6;
}

.press-contact-list i {
    color: #29a9e1;
    width: 1.25rem;
    text-align: center;
}

.press-contact-note {
    margin-top: 1rem;
    margin-bottom: 0;
    font-size: 0.92rem;
    color: #8fa3bc;
}

/* ===== LEGAL PAGES ===== */
.legal-section {
    padding: 3rem 0 6rem;
    background: rgba(10, 14, 23, 0.85);
}

.legal-effective {
    color: #b8c5d6;
    font-size: 0.95rem;
    margin-top: 0.5rem;
}

.legal-document {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(10, 14, 23, 0.85);
    border: 1px solid rgba(41, 169, 225, 0.25);
    border-radius: 20px;
    padding: 2.5rem 3rem;
    backdrop-filter: blur(12px);
}

.legal-document p {
    color: #b8c5d6;
    line-height: 1.75;
    margin-bottom: 1.25rem;
}

.legal-document h2 {
    color: #ffffff;
    font-size: 1.35rem;
    margin: 2.5rem 0 1rem;
}

.legal-document h2:first-of-type {
    margin-top: 0;
}

.legal-document h3 {
    color: #e8edf5;
    font-size: 1.1rem;
    margin: 1.75rem 0 0.75rem;
}

.legal-subtitle {
    font-size: 1.5rem !important;
    margin-top: 0 !important;
}

.legal-document ul {
    color: #b8c5d6;
    line-height: 1.75;
    margin: 0 0 1.25rem 1.5rem;
    padding: 0;
}

.legal-document li {
    margin-bottom: 0.5rem;
}

.legal-document a {
    color: #29a9e1;
    text-decoration: none;
}

.legal-document a:hover {
    color: #40e9a4;
}

.legal-divider {
    height: 1px;
    background: rgba(41, 169, 225, 0.2);
    margin: 3rem 0;
}

@media (max-width: 768px) {
    .legal-document {
        padding: 1.75rem 1.5rem;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

@keyframes scanEffect {
    0% {
        left: -100%;
    }
    50% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

@keyframes scrollBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

@keyframes progressFill {
    0% {
        width: 0%;
    }
    50% {
        width: 70%;
    }
    100% {
        width: 100%;
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .workflow-steps {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .language-dropdown-menu {
        right: 0;
        left: auto;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .demo-container {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 14, 23, 0.98);
        padding: 2rem;
        border-top: 1px solid rgba(41, 169, 225, 0.2);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .use-cases-grid--primary,
    .use-cases-grid--secondary {
        grid-template-columns: 1fr;
    }
}

/* ===== LIGHT MODE — page-specific overrides (must come after component styles) ===== */
body.light-mode .workflow-strip,
body.light-mode .video-ad-section,
body.light-mode .careers-section,
body.light-mode .legal-section {
    background: linear-gradient(180deg, rgba(246, 251, 255, 0.96), rgba(222, 235, 248, 0.96)) !important;
    border-color: rgba(41, 169, 225, 0.12) !important;
}

body.light-mode .careers-content,
body.light-mode .careers-focus-card,
body.light-mode .careers-involvement,
body.light-mode .about-contact-cta {
    background: rgba(255, 255, 255, 0.98) !important;
    border-color: rgba(20, 92, 146, 0.28) !important;
    box-shadow: 0 10px 30px rgba(11, 31, 51, 0.1);
}

body.light-mode .careers-involvement {
    background: rgba(236, 252, 245, 0.95) !important;
    border-color: rgba(34, 150, 100, 0.28) !important;
}

body.light-mode .careers-content p,
body.light-mode .careers-lead,
body.light-mode .careers-focus-card p,
body.light-mode .careers-involvement p,
body.light-mode .press-facts li,
body.light-mode .press-boilerplate,
body.light-mode .press-contact-list li,
body.light-mode .press-contact-note,
body.light-mode .legal-document p,
body.light-mode .legal-document ul,
body.light-mode .legal-effective,
body.light-mode .about-contact-cta p,
body.light-mode .feature-description,
body.light-mode .feature-list li,
body.light-mode .tech-item p,
body.light-mode .use-case-card p,
body.light-mode .use-case-card ul,
body.light-mode .use-case-card li,
body.light-mode .contact-item,
body.light-mode .workflow-step p,
body.light-mode .freemium-lead,
body.light-mode .footer-bottom,
body.light-mode .footer-patent {
    color: #1f344b !important;
}

body.light-mode .careers-content h2,
body.light-mode .careers-focus-card h3,
body.light-mode .careers-involvement h2,
body.light-mode .legal-document h2,
body.light-mode .legal-document h3,
body.light-mode .feature-title,
body.light-mode .use-case-card h3,
body.light-mode .contact-info h3 {
    color: #0b1f33 !important;
}

body.light-mode .careers-lead {
    color: #12324f !important;
}

body.light-mode .careers-note {
    color: #3d556c !important;
    border-top-color: rgba(20, 92, 146, 0.2) !important;
}

body.light-mode .freemium-points .workflow-step h3 {
    color: #0b1f33 !important;
}

body.light-mode .video-ad-control {
    background: rgba(255, 255, 255, 0.92) !important;
    border-color: rgba(20, 92, 146, 0.4) !important;
    color: #0b1f33 !important;
}

body.light-mode .video-ad-control:hover {
    background: rgba(41, 169, 225, 0.15) !important;
    border-color: #29a9e1 !important;
    color: #0b1f33 !important;
}

body.light-mode .language-dropdown-menu {
    background: rgba(255, 255, 255, 0.98) !important;
    border-color: rgba(20, 92, 146, 0.25) !important;
    box-shadow: 0 8px 32px rgba(11, 31, 51, 0.12) !important;
}

body.light-mode .language-option {
    color: #0b1f33 !important;
}

body.light-mode .language-option:hover,
body.light-mode .language-option.active {
    background: rgba(41, 169, 225, 0.12) !important;
    color: #29a9e1 !important;
}

body.light-mode .form-group input::placeholder,
body.light-mode .form-group textarea::placeholder {
    color: #5a7086 !important;
}

body.light-mode .nav-menu.active {
    background: rgba(244, 248, 252, 0.98) !important;
    border-top-color: rgba(41, 169, 225, 0.15) !important;
}

body.light-mode .stat-item {
    background: rgba(255, 255, 255, 0.85) !important;
    border-color: rgba(20, 92, 146, 0.22) !important;
}

body.light-mode .bar {
    background: #0b1f33 !important;
}

body.light-mode .page-hero {
    border-bottom-color: rgba(41, 169, 225, 0.12) !important;
}

/* ===== LIGHT MODE — green accent text → site blue ===== */
body.light-mode {
    --accent-green: #29a9e1;
}

body.light-mode .section-subtitle,
body.light-mode .highlight,
body.light-mode .stat-number,
body.light-mode .result-value,
body.light-mode .footer-link-active,
body.light-mode .footer-section a.footer-link-active,
body.light-mode .careers-lead strong,
body.light-mode .about-contact-cta a,
body.light-mode .careers-note a,
body.light-mode .legal-document a,
body.light-mode .press-facts a,
body.light-mode .press-boilerplate a,
body.light-mode .press-contact-list a {
    color: #29a9e1 !important;
}

body.light-mode .about-contact-cta a:hover,
body.light-mode .careers-note a:hover,
body.light-mode .legal-document a:hover {
    color: #1f6fa5 !important;
}

body.light-mode .feature-list li::before,
body.light-mode .use-case-card li::before {
    color: #29a9e1 !important;
}

body.light-mode .ai-powered,
body.light-mode .hero-accent {
    background: linear-gradient(135deg, #1f6fa5, #29a9e1) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

body.light-mode .accent-link {
    color: #29a9e1 !important;
}

body.light-mode .accent-link:hover {
    color: #1f6fa5 !important;
}

/* ===== 911 NEWS / DIRECTORY PAGE ===== */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.news911-hero {
    position: relative;
    min-height: clamp(220px, 38vw, 420px);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    border-bottom: 1px solid rgba(41, 169, 225, 0.2);
}

.news911-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}

.news911-hero-scrim {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(6, 12, 22, 0.35) 0%, rgba(6, 12, 22, 0.78) 55%, rgba(6, 12, 22, 0.94) 100%),
        linear-gradient(90deg, rgba(6, 12, 22, 0.55), transparent 55%);
    pointer-events: none;
}

.news911-hero-inner {
    position: relative;
    z-index: 1;
    padding: 4.5rem 0 2.25rem;
    max-width: 760px;
}

.news911-hero-title {
    margin: 0 0 0.55rem;
    color: #f4f8fc;
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.news911-hero-subtitle {
    margin: 0;
    color: rgba(220, 230, 242, 0.88);
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.45;
    max-width: 36rem;
}

.news911-serp-section {
    padding: 1.75rem 0 4.5rem;
    background: rgba(10, 14, 23, 0.72);
}

.news911-serp {
    max-width: 720px;
}









.news911-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.15rem 0.35rem;
    margin: 0 0 0.85rem;
    padding-bottom: 0.15rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.news911-tab {
    appearance: none;
    border: 0;
    border-bottom: 3px solid transparent;
    background: transparent;
    color: rgba(190, 205, 222, 0.85);
    padding: 0.65rem 0.7rem 0.55rem;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: -1px;
}

.news911-tab:hover {
    color: #fff;
}

.news911-tab.is-active {
    color: #29a9e1;
    border-bottom-color: #29a9e1;
}

.news911-count {
    margin: 0 0 0.35rem;
    color: rgba(180, 196, 214, 0.75);
    font-size: 0.86rem;
}

.news911-lead {
    margin: 0 0 1.15rem;
    color: rgba(200, 214, 230, 0.88);
    font-size: 0.92rem;
    line-height: 1.55;
}

.news911-paa {
    margin: 0 0 0.55rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    overflow: hidden;
}

.news911-paa summary {
    list-style: none;
    cursor: pointer;
    padding: 0.85rem 1rem;
    color: #e8edf5;
    font-weight: 650;
    font-size: 0.98rem;
}

.news911-paa summary::-webkit-details-marker {
    display: none;
}

.news911-paa summary::after {
    content: "+";
    float: right;
    color: #29a9e1;
    font-weight: 700;
}

.news911-paa[open] summary::after {
    content: "–";
}

.news911-paa-body {
    padding: 0 1rem 1rem;
    color: rgba(200, 214, 230, 0.9);
    font-size: 0.92rem;
    line-height: 1.6;
}

.news911-paa-body p {
    margin: 0 0 0.75rem;
}

.news911-paa-body p:last-child {
    margin-bottom: 0;
}

.news911-results {
    list-style: none;
    margin: 1.35rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
}

.news911-result[hidden] {
    display: none !important;
}

.news911-result-top {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 0.2rem;
}

.news911-favicon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #1a4f6e, #0d2a40);
    border: 1px solid rgba(41, 169, 225, 0.35);
    color: #9fd8f3;
    font-size: 0.72rem;
    font-weight: 800;
    flex-shrink: 0;
}

.news911-result-site {
    margin: 0;
    color: #e8edf5;
    font-size: 0.86rem;
    line-height: 1.2;
}

.news911-result-url {
    display: block;
    font-style: normal;
    color: #40e9a4;
    font-size: 0.78rem;
    line-height: 1.3;
    word-break: break-all;
}

.news911-result-title {
    display: inline-block;
    margin: 0.15rem 0 0.25rem;
    color: #7ec8f0;
    font-size: 1.22rem;
    font-weight: 500;
    line-height: 1.3;
    text-decoration: none;
}

.news911-result-title:hover {
    text-decoration: underline;
    color: #a8dcff;
}

.news911-result-snippet {
    margin: 0;
    color: rgba(200, 214, 230, 0.9);
    font-size: 0.92rem;
    line-height: 1.55;
}

.news911-result-meta {
    margin: 0.4rem 0 0;
    color: rgba(170, 186, 204, 0.75);
    font-size: 0.8rem;
}

.news911-chip {
    display: inline-block;
    margin-right: 0.35rem;
    padding: 0.12rem 0.45rem;
    border-radius: 4px;
    background: rgba(41, 169, 225, 0.16);
    color: #9fd8f3;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.news911-empty {
    margin: 1.5rem 0 0;
    color: rgba(200, 214, 230, 0.8);
}

.news911-invite {
    margin: 2rem 0 0;
    padding: 1.4rem 1.35rem 1.5rem;
    border-radius: 14px;
    border: 1px solid rgba(64, 233, 164, 0.28);
    background:
        linear-gradient(135deg, rgba(64, 233, 164, 0.1), rgba(41, 169, 225, 0.08));
}

.news911-invite h2 {
    margin: 0 0 0.55rem;
    color: #f0f5fb;
    font-size: 1.2rem;
    line-height: 1.3;
}

.news911-invite > p {
    margin: 0 0 1.05rem;
    color: rgba(220, 230, 242, 0.9);
    font-size: 0.95rem;
    line-height: 1.55;
}

.news911-invite > p a {
    color: #9fd8f3;
    font-weight: 600;
}

.news911-invite-form {
    margin-top: 0.25rem;
}

.news911-invite-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem 1rem;
    margin-bottom: 1rem;
}

.news911-invite-span {
    grid-column: 1 / -1;
}

.news911-invite-form .form-group {
    margin: 0;
}

.news911-invite-form label {
    display: block;
    margin-bottom: 0.35rem;
    color: rgba(220, 230, 242, 0.88);
    font-size: 0.82rem;
    font-weight: 650;
}

.news911-invite-form input,
.news911-invite-form select,
.news911-invite-form textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 0.65rem 0.75rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(8, 14, 24, 0.55);
    color: #f0f5fb;
    font: inherit;
    font-size: 0.95rem;
}

.news911-invite-form input:focus,
.news911-invite-form select:focus,
.news911-invite-form textarea:focus {
    outline: none;
    border-color: rgba(64, 233, 164, 0.65);
}

.news911-invite-form select {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #9fd8f3 50%), linear-gradient(135deg, #9fd8f3 50%, transparent 50%);
    background-position: calc(100% - 16px) calc(50% - 3px), calc(100% - 11px) calc(50% - 3px);
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    padding-right: 2rem;
}

.news911-invite-form select option {
    background: #0f1a28;
    color: #f0f5fb;
}

.news911-invite-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.85rem 1.15rem;
}

.news911-invite-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.65rem 1.1rem;
    border: 0;
    border-radius: 10px;
    background: #40e9a4;
    color: #041018 !important;
    font: inherit;
    font-weight: 700;
    text-decoration: none !important;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.news911-invite-btn:hover {
    background: #29a9e1;
    transform: translateY(-1px);
}

.news911-invite-hint {
    margin: 0;
    color: rgba(180, 196, 214, 0.78);
    font-size: 0.82rem;
    max-width: 18rem;
    line-height: 1.4;
}

.news911-invite-success {
    margin: 0.9rem 0 0;
    color: #b8f0d4;
    font-size: 0.9rem;
}

.news911-invite-success a {
    color: #9fd8f3;
    font-weight: 650;
}

.news911-disclaimer {
    margin-top: 2.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.84rem;
    line-height: 1.55;
    color: rgba(170, 186, 204, 0.78);
}

body.light-mode .news911-hero-scrim {
    background:
        linear-gradient(180deg, rgba(8, 20, 36, 0.25) 0%, rgba(8, 20, 36, 0.55) 50%, rgba(232, 236, 242, 0.92) 100%),
        linear-gradient(90deg, rgba(8, 20, 36, 0.35), transparent 60%);
}

body.light-mode .news911-hero-title {
    color: #0b1f33;
}

body.light-mode .news911-hero-subtitle {
    color: #243447;
}

body.light-mode .news911-serp-section {
    background: rgba(245, 247, 250, 0.94) !important;
}

body.light-mode .news911-result-title {
    color: #1a5f96;
}

body.light-mode .news911-favicon {
    background: linear-gradient(145deg, #d7ecf8, #b8d9ef);
    border-color: rgba(20, 92, 146, 0.28);
    color: #1474b0;
}

body.light-mode .news911-invite {
    background: linear-gradient(135deg, rgba(64, 233, 164, 0.12), rgba(41, 169, 225, 0.08)) !important;
    border-color: rgba(20, 120, 90, 0.22);
}




body.light-mode .news911-tabs {
    border-bottom-color: rgba(20, 92, 146, 0.15);
}

body.light-mode .news911-tab {
    color: #5a6b7d;
}

body.light-mode .news911-tab.is-active {
    color: #1474b0;
    border-bottom-color: #1474b0;
}

body.light-mode .news911-count,
body.light-mode .news911-lead,
body.light-mode .news911-result-snippet,
body.light-mode .news911-result-meta,
body.light-mode .news911-paa-body {
    color: #3a4d60;
}

body.light-mode .news911-paa {
    background: #fff;
    border-color: rgba(20, 92, 146, 0.14);
}

body.light-mode .news911-paa summary,
body.light-mode .news911-result-site {
    color: #0b1f33;
}

body.light-mode .news911-result-url {
    color: #1a7a4c;
}

body.light-mode .news911-result-title {
    color: #1a5f96;
}

body.light-mode .news911-result-title:hover {
    color: #0d4a78;
}

body.light-mode .news911-chip {
    background: rgba(20, 116, 176, 0.1);
    color: #1474b0;
}

body.light-mode .news911-invite {
    background: linear-gradient(135deg, rgba(64, 233, 164, 0.12), rgba(41, 169, 225, 0.08));
    border-color: rgba(20, 120, 90, 0.22);
}

body.light-mode .news911-invite h2 {
    color: #0b1f33;
}

body.light-mode .news911-invite > p {
    color: #3a4d60;
}

body.light-mode .news911-invite > p a,
body.light-mode .news911-invite-success a {
    color: #1474b0;
}

body.light-mode .news911-invite-form label {
    color: #3a4d60;
}

body.light-mode .news911-invite-form input,
body.light-mode .news911-invite-form select,
body.light-mode .news911-invite-form textarea {
    background: #fff;
    border-color: rgba(20, 92, 146, 0.2);
    color: #0b1f33;
}

body.light-mode .news911-invite-hint {
    color: #5a6b7d;
}

body.light-mode .news911-invite-success {
    color: #1a7a4c;
}

body.light-mode .news911-disclaimer {
    color: #5a6b7d;
    border-top-color: rgba(20, 92, 146, 0.15);
}

@media (max-width: 640px) {
    .news911-invite-grid {
        grid-template-columns: 1fr;
    }

    .news911-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .news911-tab {
        white-space: nowrap;
    }

    .news911-result-title {
        font-size: 1.08rem;
    }
}
