/* ============================================
   TANNERY CREEK SYSTEMS - MAIN STYLESHEET
   ============================================
   Version: 2.0
   Last Updated: January 2026
   ============================================ */

/* ============================================
   CSS CUSTOM PROPERTIES (VARIABLES)
   ============================================ */
:root {
    /* Brand Colors */
    --primary: #005984;           /* PANTONE 3025 C - Deep Teal/Blue */
    --primary-dark: #003d5c;      /* Darker shade */
    --primary-light: #0073a8;     /* Lighter shade */
    --secondary: #5B8FA3;         /* PANTONE 545 C - Blue-gray */
    --accent: #0091b8;            /* Bright accent */
    
    /* Product Colors */
    --product-mobile: #F47B20;    /* Orange */
    --product-parkade: #49A942;   /* Green */
    --product-office: #7F3F98;    /* Purple */
    --product-handheld: #005984;  /* Blue (matches brand) */
    --product-compact: #F4364C;   /* Red/Pink */
    
    /* Neutrals */
    --dark: #000000;
    --dark-soft: #1a1a1a;
    --gray: #6b7280;
    --gray-light: #9ca3af;
    --light-gray: #e5e7eb;
    --lighter-gray: #f3f4f6;
    --bg: #ffffff;
    
    /* Backgrounds with teal tint */
    --bg-teal-light: #f0f6f9;
    --bg-teal-lighter: #f8fbfc;
    
    /* Status Colors */
    --success: #10b981;
    --success-light: #d1fae5;
    --success-dark: #065f46;
    --error: #ef4444;
    --error-light: #fee2e2;
    --error-dark: #991b1b;
    --warning: #f59e0b;
    --warning-light: #fef3c7;
    
    /* Typography */
    --font-display: 'Orbitron', sans-serif;
    --font-body: 'IBM Plex Sans', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    --spacing-4xl: 5rem;
    --spacing-5xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 8px;
    --radius-xl: 12px;
    --radius-2xl: 16px;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 25px rgba(0, 89, 132, 0.1);
    --shadow-xl: 0 20px 40px rgba(0, 89, 132, 0.15);
    --shadow-2xl: 0 25px 50px rgba(0, 89, 132, 0.2);
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.2s ease;
    --transition-slow: 0.3s ease;
    --transition-slower: 0.5s ease-out;
    
    /* Z-Index Scale */
    --z-dropdown: 100;
    --z-sticky: 500;
    --z-fixed: 1000;
    --z-modal-backdrop: 1100;
    --z-modal: 1200;
    --z-tooltip: 1300;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Remove default list styles */
ul, ol {
    list-style: none;
}

/* Images */
img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Form elements inherit font */
input, button, textarea, select {
    font: inherit;
}

/* Remove default button styles */
button {
    background: none;
    border: none;
    cursor: pointer;
}

/* Links */
a {
    color: inherit;
    text-decoration: none;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--dark);
}

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

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

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

h4 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
}

p {
    margin-bottom: 1rem;
}

p:last-child {
    margin-bottom: 0;
}

.text-gray {
    color: var(--gray);
}

.text-primary {
    color: var(--primary);
}

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

.lead {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--gray);
}

/* ============================================
   LAYOUT UTILITIES
   ============================================ */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
}

.container-sm {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
}

.container-md {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: var(--z-fixed);
    border-bottom: none;
    animation: slideDown var(--transition-slower) both;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) var(--spacing-xl);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo img {
    height: 45px;
    width: auto;
    display: block;
}

.logo span,
.logo-text {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 900;
    color: white;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    gap: var(--spacing-xl);
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    transition: color var(--transition-base);
}

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

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: white;
    padding: var(--spacing-sm);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 77px; /* Height of nav */
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-lg);
    z-index: calc(var(--z-fixed) - 1);
    padding: var(--spacing-lg);
}

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

.mobile-menu a {
    display: block;
    padding: var(--spacing-md) 0;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu a:last-child {
    border-bottom: none;
}

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

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all var(--transition-slow);
    border: 2px solid transparent;
    cursor: pointer;
}

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

/* Primary Button */
.btn-primary {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.btn-primary:hover:not(:disabled) {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 89, 132, 0.3);
}

/* Secondary Button */
.btn-secondary {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-secondary:hover:not(:disabled) {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

/* White Button (for dark backgrounds) */
.btn-white {
    background: white;
    color: var(--primary);
    border-color: white;
    font-size: 1.1rem;
    padding: var(--spacing-md) 2.5rem;
}

.btn-white:hover:not(:disabled) {
    background: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* CTA Button (nav) */
.cta-button {
    background: var(--primary);
    color: white !important;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: all var(--transition-slow);
    border: 2px solid var(--primary);
}

.cta-button:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ============================================
   HERO SECTIONS
   ============================================ */

/* Full-Width Video Background Hero */
.hero-video-bg {
    position: relative;
    margin-top: 0;
    padding-top: 80px; /* Account for fixed nav */
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Video container - full coverage */
.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Gradient Overlay - Dark left to lighter right */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    /* Dark gradient from left (where text is) fading to more transparent on right */
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.7) 30%,
        rgba(0, 0, 0, 0.4) 60%,
        rgba(0, 0, 0, 0.2) 100%
    );
}

/* Video product badge - shows which product is featured */
.hero-video-badge {
    position: absolute;
    bottom: 10px;
    right: 5px;
    z-index: 3;
    opacity: 0.85;
    transition: opacity var(--transition-base);
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.3) 100%);
    padding: 10px 12px;
    border-radius: var(--radius-lg);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.hero-video-badge:hover {
    opacity: 1;
}

.hero-video-badge img {
    height: 34px;
    width: auto;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.5));
}

/* Responsive adjustments for video badge */
@media (max-width: 768px) {
    .hero-video-badge {
        bottom: 10px;
        right: 10px;
    }
    
    .hero-video-badge img {
        height: 35px;
    }
}

/* Content overlay */
.hero-video-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: var(--spacing-3xl) var(--spacing-xl);
    padding-left: calc((100vw - 1400px) / 2 + var(--spacing-xl));
    animation: fadeInUp 0.8s ease-out;
}

/* Ensure padding doesn't break on smaller screens */
@media (max-width: 1440px) {
    .hero-video-content {
        padding-left: var(--spacing-xl);
        padding-right: var(--spacing-xl);
    }
}

/* Light tag for dark backgrounds */
.hero-tag-light {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-video-bg h1 {
    color: white;
    margin-bottom: var(--spacing-lg);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-video-bg p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-xl);
    font-weight: 300;
    line-height: 1.8;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
}

/* Outline button for light text on dark */
.btn-outline-light {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.btn-outline-light:hover:not(:disabled) {
    background: white;
    color: var(--primary);
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

/* Video background hero - Mobile */
@media (max-width: 768px) {
    .hero-video-bg {
        min-height: 80vh;
    }
    
    .hero-video-content {
        padding: var(--spacing-2xl) var(--spacing-lg);
        max-width: 100%;
        text-align: center;
    }
    
    .hero-video-content .hero-tag-light {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-video-content .hero-buttons {
        justify-content: center;
    }
    
    .hero-video-bg h1 {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .hero-video-bg p {
        font-size: 1.1rem;
    }
    
    /* Darken overlay more on mobile for readability */
    .hero-overlay {
        background: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.7) 0%,
            rgba(0, 0, 0, 0.6) 50%,
            rgba(0, 0, 0, 0.7) 100%
        );
    }
}

/* Hide video on very small/slow connections, show poster */
@media (max-width: 480px) {
    .hero-bg-video {
        display: none;
    }
    
    .hero-video-container {
        background-image: url('../images/autoChalkCompact-Hero.jpg');
        background-size: cover;
        background-position: center;
    }
    
    /* Hide watermark-covering badge when static image is shown */
    .hero-video-badge {
        display: none;
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .hero-bg-video {
        display: none;
    }
    
    .hero-video-container {
        background-image: url('../images/autoChalkCompact-Hero.jpg');
        background-size: cover;
        background-position: center;
    }
    
    /* Hide watermark-covering badge when static image is shown */
    .hero-video-badge {
        display: none;
    }
}

/* ============================================
   FULL-WIDTH IMAGE BACKGROUND HERO
   (For product pages with static images)
   ============================================ */
.hero-image-bg {
    position: relative;
    margin-top: 0;
    padding-top: 80px; /* Account for fixed nav */
    min-height: calc(75vh + 80px);
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Image container - full coverage */
.hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 70%; /* Shift image down to show more of the car's bottom */
}

/* Product-colored gradient overlays */
.hero-overlay-orange {
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.7) 30%,
        rgba(0, 0, 0, 0.4) 60%,
        rgba(0, 0, 0, 0.2) 100%
    );
}

.hero-overlay-green {
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.7) 30%,
        rgba(0, 0, 0, 0.4) 60%,
        rgba(0, 0, 0, 0.2) 100%
    );
}

.hero-overlay-purple {
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.7) 30%,
        rgba(0, 0, 0, 0.4) 60%,
        rgba(0, 0, 0, 0.2) 100%
    );
}

.hero-overlay-blue {
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.7) 30%,
        rgba(0, 0, 0, 0.4) 60%,
        rgba(0, 0, 0, 0.2) 100%
    );
}

.hero-overlay-red {
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.7) 30%,
        rgba(0, 0, 0, 0.4) 60%,
        rgba(0, 0, 0, 0.2) 100%
    );
}

/* Content for image hero */
.hero-image-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
    padding: var(--spacing-3xl) var(--spacing-xl);
    padding-left: calc((100vw - 1400px) / 2 + var(--spacing-xl));
    animation: fadeInUp 0.8s ease-out;
}

/* Ensure padding doesn't break on smaller screens */
@media (max-width: 1440px) {
    .hero-image-content {
        padding-left: var(--spacing-xl);
        padding-right: var(--spacing-xl);
    }
}

/* Breadcrumb for dark backgrounds */
.breadcrumb-light {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-lg);
}

.breadcrumb-light a {
    color: rgba(255, 255, 255, 0.9);
    transition: color var(--transition-base);
}

.breadcrumb-light a:hover {
    color: white;
    text-decoration: underline;
}

.hero-image-bg h1 {
    color: white;
    margin-bottom: var(--spacing-lg);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-image-bg p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: var(--spacing-xl);
    font-weight: 300;
    line-height: 1.8;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
}

/* Image hero - Mobile responsive */
@media (max-width: 768px) {
    .hero-image-bg {
        min-height: 70vh;
    }
    
    .hero-image-content {
        padding: var(--spacing-2xl) var(--spacing-lg);
        max-width: 100%;
    }
    
    .hero-image-bg h1 {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }
    
    .hero-image-bg p {
        font-size: 1.05rem;
    }
    
    /* Adjust overlay for mobile - more centered gradient */
    .hero-overlay-orange,
    .hero-overlay-green,
    .hero-overlay-purple,
    .hero-overlay-blue,
    .hero-overlay-red {
        background: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.6) 0%,
            rgba(0, 0, 0, 0.5) 50%,
            rgba(0, 0, 0, 0.7) 100%
        );
    }
    
    /* Add colored top accent bar on mobile */
    .hero-overlay-orange::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: var(--product-mobile);
    }
    
    .hero-overlay-green::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: var(--product-parkade);
    }
    
    .hero-overlay-purple::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: var(--product-office);
    }
    
    .hero-overlay-blue::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: var(--product-handheld);
    }
    
    .hero-overlay-red::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: var(--product-compact);
    }
}

/* Original two-column hero (kept for other pages if needed) */
.hero {
    margin-top: 0;
    padding-top: 80px; /* Account for fixed nav */
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--bg-teal-lighter) 0%, var(--bg-teal-light) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: 
        radial-gradient(circle at 80% 20%, rgba(0, 145, 184, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 60% 80%, rgba(0, 89, 132, 0.05) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(20px, -20px) rotate(1deg); }
    50% { transform: translate(-20px, 20px) rotate(-1deg); }
    75% { transform: translate(20px, 20px) rotate(0.5deg); }
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--spacing-3xl) var(--spacing-xl);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

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

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

.hero-tag {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero h1 {
    margin-bottom: var(--spacing-lg);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: var(--spacing-xl);
    font-weight: 300;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

/* Container for the visual side */
.hero-visual {
    width: 100%;
    max-width: 600px; /* Adjust based on your design */
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    /* Set a background color similar to the video/poster to prevent a white flash */
    background: #000; 
}

/* Aspect Ratio Box (prevents SEO layout shift) */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* This is 16:9 ratio. For 4:3 use 75% */
    height: 0;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the video fills the box without stretching */
}

/* Mobile optimization: Hide video on very small screens to save data */
@media (max-width: 480px) {
    .hero-video {
        display: none;
    }
    .video-wrapper {
        background-image: url('assets/hero-poster.jpg');
        background-size: cover;
        background-position: center;
        height: 250px; /* Fixed height for mobile image */
        padding-bottom: 0;
    }
}

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

/* Simple Hero (for About, Contact pages) */
.hero-simple {
    margin-top: 0;
    padding: var(--spacing-5xl) var(--spacing-xl);
    padding-top: calc(80px + var(--spacing-5xl)); /* Account for fixed nav */
    background: linear-gradient(135deg, var(--bg-teal-lighter) 0%, var(--bg-teal-light) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-simple::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at 80% 50%, rgba(0, 89, 132, 0.08) 0%, transparent 60%);
}

.hero-simple .container {
    position: relative;
    z-index: 1;
}

.hero-simple h1 {
    margin-bottom: var(--spacing-lg);
    color: var(--dark);
}

.hero-simple .lead {
    max-width: 700px;
    margin: 0 auto;
}

/* Product Hero */
.product-hero {
    margin-top: 0;
    padding-top: calc(80px + var(--spacing-3xl)); /* Account for fixed nav */
    background: linear-gradient(135deg, var(--bg-teal-lighter) 0%, var(--bg-teal-light) 100%);
    padding-left: var(--spacing-xl);
    padding-right: var(--spacing-xl);
    padding-bottom: var(--spacing-3xl);
    position: relative;
    overflow: hidden;
}

.product-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: var(--primary);
    color: white;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.breadcrumb {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-xl);
}

.breadcrumb a {
    color: var(--primary);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* ============================================
   DEVICE MOCKUP (Hero Visual)
   ============================================ */
.device-mockup {
    background: var(--dark-soft);
    border-radius: var(--radius-2xl);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-2xl);
    position: relative;
}

.device-screen {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    aspect-ratio: 16/10;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.screen-header {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #fbbf24; }
.dot-green { background: var(--accent); }

.license-plate {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    color: white;
    font-family: monospace;
    font-size: 1.5rem;
    text-align: center;
    font-weight: bold;
    letter-spacing: 0.2em;
    box-shadow: 0 4px 15px rgba(0, 145, 184, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

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

.scan-lines {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.scan-line {
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
    animation: scan 2s ease-in-out infinite;
    opacity: 0.6;
}

.scan-line:nth-child(2) { animation-delay: 0.3s; }
.scan-line:nth-child(3) { animation-delay: 0.6s; }

@keyframes scan {
    0%, 100% { width: 0%; }
    50% { width: 100%; }
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats {
    background: var(--dark);
    color: white;
    padding: var(--spacing-3xl) var(--spacing-xl);
}

.stats-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-2xl);
    text-align: center;
}

.stat-item {
    animation: fadeInUp 0.8s ease-out;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--accent);
    line-height: 1;
    margin-bottom: var(--spacing-sm);
}

.stat-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
}

/* ============================================
   CONTENT SECTIONS
   ============================================ */
.section {
    padding: var(--spacing-5xl) var(--spacing-xl);
}

.section-alt {
    background: var(--bg-teal-lighter);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.section-tag {
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
    margin-bottom: var(--spacing-md);
    display: block;
}

.section-title {
    margin-bottom: var(--spacing-md);
}

.section-description {
    font-size: 1.2rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

/* Split Content Layout */
.split-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
    margin-bottom: var(--spacing-3xl);
}

.split-content:last-child {
    margin-bottom: 0;
}

.split-content.reverse {
    direction: rtl;
}

.split-content.reverse > * {
    direction: ltr;
}

.content-text h2,
.content-text h3 {
    margin-bottom: var(--spacing-md);
}

.content-text p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.content-text ul {
    margin-top: var(--spacing-md);
}

.content-text li {
    padding-left: var(--spacing-lg);
    position: relative;
    margin-bottom: 0.75rem;
    color: var(--gray);
}

.content-text li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.content-visual {
    background: linear-gradient(135deg, var(--lighter-gray), var(--light-gray));
    border-radius: var(--radius-2xl);
    padding: var(--spacing-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    font-size: 8rem;
    color: var(--gray);
}

/* ============================================
   FEATURE CARDS
   ============================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-xl);
}

.feature-card {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    padding: 2.5rem;
    border-radius: var(--radius-2xl);
    border: 2px solid transparent;
    transition: all var(--transition-slow);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transition: transform var(--transition-slow);
}

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

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-lg);
    font-size: 1.8rem;
    color: white;
}

.feature-card h3,
.feature-card h4 {
    margin-bottom: var(--spacing-md);
}

.feature-card p {
    color: var(--gray);
    line-height: 1.8;
}

/* Feature Box (alternative style) */
.feature-box {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    border: 2px solid var(--light-gray);
    transition: all var(--transition-slow);
    text-align: center;
}

.feature-box:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.feature-box .feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto var(--spacing-lg);
    border-radius: 50%;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(0, 89, 132, 0.2);
}

/* ============================================
   PRODUCT CARDS
   ============================================ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-2xl);
}

.product-card {
    background: white;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    border: 2px solid var(--light-gray);
    transition: all var(--transition-slow);
    cursor: pointer;
    display: block;
}

.product-card:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.product-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.product-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    opacity: 0.9;
}

.product-image span,
.product-image i {
    position: relative;
    z-index: 1;
}

/* Product-specific colors */
.product-mobile .product-image,
.product-mobile .product-badge { background: linear-gradient(135deg, var(--product-mobile), #c66318); }
.product-parkade .product-image,
.product-parkade .product-badge { background: linear-gradient(135deg, var(--product-parkade), #3a8735); }
.product-handheld .product-image,
.product-handheld .product-badge { background: linear-gradient(135deg, var(--product-handheld), var(--primary-dark)); }
.product-office .product-image,
.product-office .product-badge { background: linear-gradient(135deg, var(--product-office), #633279); }
.product-compact .product-image,
.product-compact .product-badge { background: linear-gradient(135deg, var(--product-compact), #c72b3e); }

.product-card .product-badge {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    background: rgba(255, 255, 255, 0.95);
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.product-card.product-mobile .product-badge { color: var(--product-mobile); }
.product-card.product-parkade .product-badge { color: var(--product-parkade); }
.product-card.product-handheld .product-badge { color: var(--product-handheld); }
.product-card.product-office .product-badge { color: var(--product-office); }
.product-card.product-compact .product-badge { color: var(--product-compact); }

.product-content {
    padding: var(--spacing-xl);
}

.product-card h3 {
    margin-bottom: var(--spacing-md);
}

.product-card p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
}

.learn-more {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    transition: gap var(--transition-slow);
}

.learn-more:hover {
    gap: var(--spacing-md);
}

/* ============================================
   COMPARISON TABLE
   ============================================ */
.comparison-table-wrapper {
    overflow-x: auto;
    margin-top: var(--spacing-xl);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    min-width: 500px;
}

.comparison-table thead {
    background: var(--dark);
    color: white;
}

.comparison-table th {
    padding: var(--spacing-lg) var(--spacing-xl);
    text-align: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.02em;
}

.comparison-table th:first-child {
    text-align: left;
}

.comparison-table tbody tr {
    border-bottom: 1px solid var(--light-gray);
    transition: background var(--transition-base);
}

.comparison-table tbody tr:last-child {
    border-bottom: none;
}

.comparison-table tbody tr:hover {
    background: var(--bg-teal-lighter);
}

.comparison-table td {
    padding: var(--spacing-md) var(--spacing-xl);
    text-align: center;
    font-size: 1rem;
    color: var(--dark);
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
    color: var(--gray);
}

.comparison-table .feature-yes {
    color: var(--success);
    font-size: 1.25rem;
}

.comparison-table .feature-no {
    color: var(--gray-light);
    font-size: 1.25rem;
}

/* Colored comparison table style (TechSmith-inspired) */
.comparison-table-colored {
    border-radius: 0;
    box-shadow: none;
}

.comparison-table-colored thead {
    background: transparent;
}

.comparison-table-colored .feature-header {
    background: white;
    border: none;
}

.comparison-table-colored .product-header {
    color: white;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    padding: var(--spacing-md) var(--spacing-lg);
}

/* Product-specific header colors */
.comparison-table-colored .product-header-compact {
    background: var(--product-compact);
}

.comparison-table-colored .product-header-mobile {
    background: var(--product-mobile);
}

.comparison-table-colored .product-header-parkade {
    background: var(--product-parkade);
}

.comparison-table-colored .product-header-handheld {
    background: var(--product-handheld);
}

.comparison-table-colored .product-header-office {
    background: var(--product-office);
}

/* Column shading with pastel product colors */
.comparison-table-colored tbody tr {
    background: transparent;
}

.comparison-table-colored tbody tr:hover {
    background: rgba(0, 0, 0, 0.02);
}

.comparison-table-colored td:nth-child(2) {
    background: rgba(244, 54, 76, 0.1); /* Compact - pastel red */
}

.comparison-table-colored td:nth-child(3) {
    background: rgba(244, 123, 32, 0.1); /* Mobile - pastel orange */
}

.comparison-table-colored td:nth-child(4) {
    background: rgba(73, 169, 66, 0.1); /* Parkade - pastel green */
}

.comparison-table-colored td:nth-child(5) {
    background: rgba(0, 89, 132, 0.1); /* Handheld - pastel blue */
}

.comparison-table-colored td:nth-child(6) {
    background: rgba(127, 63, 152, 0.1); /* Office - pastel purple */
}

/* Product-colored dots */
.comparison-table-colored td i.fa-circle {
    font-size: 0.75rem;
}

.comparison-table-colored td.feature-text {
    font-size: 0.85rem;
    font-weight: 700;
}

/* Color feature text by column */
.comparison-table-colored td:nth-child(2).feature-text {
    color: var(--product-compact);
}

.comparison-table-colored td:nth-child(3).feature-text {
    color: var(--product-mobile);
}

.comparison-table-colored td:nth-child(4).feature-text {
    color: var(--product-parkade);
}

.comparison-table-colored td:nth-child(5).feature-text {
    color: var(--product-handheld);
}

.comparison-table-colored td:nth-child(6).feature-text {
    color: var(--product-office);
}

.dot-compact { color: var(--product-compact); }
.dot-mobile { color: var(--product-mobile); }
.dot-parkade { color: var(--product-parkade); }
.dot-handheld { color: var(--product-handheld); }
.dot-office { color: var(--product-office); }

/* Responsive table */
@media (max-width: 600px) {
    .comparison-table th,
    .comparison-table td {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 0.9rem;
    }
    
    .comparison-table th:first-child,
    .comparison-table td:first-child {
        min-width: 180px;
    }
    
    .comparison-table-colored .product-header {
        font-size: 0.75rem;
        padding: var(--spacing-sm) var(--spacing-md);
    }
}

/* ============================================
   VALUES GRID (About page)
   ============================================ */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-2xl);
}

.value-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    border: 2px solid var(--light-gray);
    transition: all var(--transition-slow);
    text-align: center;
}

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

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-lg);
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 89, 132, 0.2);
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
    color: var(--primary);
}

.value-card p {
    color: var(--gray);
    line-height: 1.7;
}

/* ============================================
   TIMELINE (About page)
   ============================================ */
.timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding-left: 150px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 75px;
    top: 0;
    width: 2px;
    height: 100%;
    background: var(--light-gray);
}

.timeline-item {
    position: relative;
    margin-bottom: var(--spacing-2xl);
    padding-left: var(--spacing-xl);
}

.timeline-content {
    padding: var(--spacing-xl);
    background: white;
    border-radius: var(--radius-xl);
    border: 2px solid var(--light-gray);
    transition: all var(--transition-slow);
}

.timeline-content:hover {
    border-color: var(--primary);
    transform: translateX(5px);
    box-shadow: var(--shadow-lg);
}

.timeline-year {
    position: absolute;
    left: -75px;
    top: 0;
    width: 110px;
    height: 110px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.9rem;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 89, 132, 0.3);
    border: 4px solid white;
}

.timeline-content h3 {
    color: var(--primary);
    margin-bottom: 0.75rem;
    font-size: 1.3rem;
}

.timeline-content p {
    color: var(--gray);
    line-height: 1.7;
}

/* ============================================
   TEAM SECTION (About page)
   ============================================ */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-2xl);
    margin-top: var(--spacing-2xl);
}

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

.team-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-lg);
    font-size: 3rem;
    color: white;
    font-family: var(--font-display);
    font-weight: 700;
}

.team-member h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
}

.team-title {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.team-bio {
    color: var(--gray);
    line-height: 1.7;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: white;
    padding: var(--spacing-5xl) var(--spacing-xl);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 145, 184, 0.15) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
}

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

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    margin-bottom: var(--spacing-lg);
    color: white;
}

.cta-section p {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-xl);
    opacity: 0.95;
}

/* ============================================
   CONTACT PAGE STYLES
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--spacing-3xl);
    align-items: start;
}

.contact-info h2 {
    margin-bottom: var(--spacing-md);
}

.contact-intro {
    color: var(--gray);
    margin-bottom: var(--spacing-xl);
    font-size: 1.1rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.contact-method {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
    background: var(--bg-teal-lighter);
    border-radius: var(--radius-xl);
    border-left: 4px solid var(--primary);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.contact-method:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.contact-icon {
    font-size: 1.75rem;
    min-width: 50px;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-details h3 {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-sm);
    color: var(--primary);
}

.contact-details a {
    color: var(--primary);
    font-weight: 600;
    transition: color var(--transition-base);
}

.contact-details a:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

.contact-address {
    color: var(--gray);
    font-size: 0.95rem;
    margin-top: var(--spacing-xs);
}

/* Contact Form */
.contact-form-wrapper {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--light-gray);
}

.contact-form-wrapper h2 {
    margin-bottom: var(--spacing-lg);
}

/* ============================================
   FORMS
   ============================================ */
.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
    color: var(--dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
    background: white;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 89, 132, 0.1);
}

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

.honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

.char-counter {
    font-size: 0.875rem;
    color: var(--gray);
    text-align: right;
    margin-top: var(--spacing-xs);
}

.btn-submit {
    background: var(--primary);
    color: white;
    padding: var(--spacing-md) 2.5rem;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-slow);
    width: 100%;
}

.btn-submit:hover:not(:disabled) {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 89, 132, 0.3);
}

.btn-submit:disabled {
    background: var(--gray);
    cursor: not-allowed;
}

/* Form Messages */
.message {
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-lg);
    display: none;
}

.message.show {
    display: block;
}

.success-message {
    background: var(--success-light);
    border: 2px solid var(--success);
    color: var(--success-dark);
}

.error-message {
    background: var(--error-light);
    border: 2px solid var(--error);
    color: var(--error-dark);
}

.error-message ul {
    margin-top: var(--spacing-sm);
    margin-left: var(--spacing-lg);
    list-style: disc;
}

/* Loading Spinner */
.loading-spinner {
    display: none;
    border: 3px solid var(--light-gray);
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    animation: spin 1s linear infinite;
    margin: 0 auto var(--spacing-md);
}

.loading-spinner.show {
    display: block;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--dark-soft);
    color: rgba(255, 255, 255, 0.8);
    padding: var(--spacing-2xl) var(--spacing-xl) var(--spacing-lg);
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-xl);
}

.footer-about h3 {
    color: white;
    margin-bottom: var(--spacing-md);
    font-size: 1.3rem;
}

.footer-about p {
    line-height: 1.7;
}

.footer-links h4 {
    color: white;
    margin-bottom: var(--spacing-md);
    font-weight: 600;
    font-family: var(--font-body);
}

.footer-links a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-base);
    line-height: 2;
}

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

/* Footer Social Icons */
.footer-social {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    transition: all var(--transition-base);
}

.footer-social a:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-lg);
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* ============================================
   PARTNERSHIP BOX (About page)
   ============================================ */
.partnership-box {
    max-width: 900px;
    margin: var(--spacing-2xl) auto 0;
    background: white;
    padding: var(--spacing-2xl);
    border-radius: var(--radius-2xl);
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-lg);
}

.partnership-box h3 {
    color: var(--primary);
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

.partnership-box p {
    color: var(--gray);
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
}

.partnership-box p:last-child {
    margin-bottom: 0;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.hidden {
    display: none !important;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }
.mt-4 { margin-top: var(--spacing-xl); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }
.mb-4 { margin-bottom: var(--spacing-xl); }

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */

/* Tablets and below */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-visual {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .split-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .split-content.reverse {
        direction: ltr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .timeline {
        padding-left: 100px;
    }
    
    .timeline::before {
        left: 50px;
    }
    
    .timeline-year {
        left: -50px;
        width: 80px;
        height: 80px;
        font-size: 0.75rem;
    }
    
    .timeline-item {
        padding-left: var(--spacing-lg);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero {
        min-height: auto;
        padding: var(--spacing-3xl) 0;
    }
    
    .hero-simple {
        padding: var(--spacing-3xl) var(--spacing-xl);
    }
    
    .product-hero {
        padding: var(--spacing-xl);
    }
    
    .features-grid,
    .products-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-container {
        grid-template-columns: 1fr 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline {
        padding-left: 0;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-year {
        position: relative;
        left: 0;
        width: auto;
        height: auto;
        padding: var(--spacing-sm) var(--spacing-md);
        border-radius: var(--radius-md);
        margin-bottom: var(--spacing-md);
        font-size: 0.85rem;
    }
    
    .timeline-item {
        padding-left: var(--spacing-3xl);
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .container,
    .container-sm,
    .container-md {
        padding: 0 var(--spacing-md);
    }
    
    .section {
        padding: var(--spacing-3xl) var(--spacing-md);
    }
    
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .contact-form-wrapper {
        padding: var(--spacing-lg);
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .nav,
    .mobile-menu-btn,
    .cta-section,
    .btn {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
        color: black;
        background: white;
    }
    
    h1, h2, h3, h4 {
        color: black;
        page-break-after: avoid;
    }
    
    .hero {
        margin-top: 0;
        min-height: auto;
        padding: 2rem 0;
    }
}
