/* ============================================
   VEHICRON WEBSITE - STYLES
   Matching React/Tailwind frontend design
   ============================================ */

/* ---- CSS Variables ---- */
:root {
    --font-family: 'Inter', system-ui, -apple-system, sans-serif;

    /* Green primary (matching React) */
    --green-400: #4ade80;
    --green-500: #22c55e;
    --green-600: #16a34a;
    --green-700: #15803d;

    /* Gray scale */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --gray-950: #030712;

    /* Accent colors */
    --blue-500: #3b82f6;
    --blue-600: #2563eb;
    --indigo-600: #4f46e5;
    --violet-500: #8b5cf6;
    --violet-600: #7c3aed;
    --purple-500: #a855f7;
    --purple-600: #9333ea;
    --cyan-500: #06b6d4;
    --cyan-600: #0891b2;
    --amber-500: #f59e0b;
    --amber-600: #d97706;
    --orange-500: #f97316;
    --orange-600: #ea580c;
    --rose-500: #f43f5e;
    --rose-600: #e11d48;
    --pink-600: #db2777;
    --teal-400: #2dd4bf;
    --emerald-400: #34d399;
    --emerald-600: #059669;

    /* Spacing - use 80% of screen width, capped at 1600px */
    --container-max: 80%;
    --container-max-cap: 1600px;
    --section-py: 6rem;
    --section-py-lg: 8rem;

    /* Transitions */
    --transition-all: all 0.3s ease;
    --transition-colors: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

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

html {
    font-family: var(--font-family);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--gray-900);
    background: white;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ---- Container ---- */
.container-main {
    width: var(--container-max);
    max-width: var(--container-max-cap);
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container-main {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container-main {
        padding: 0;
    }
}

/* ============================================
   NAVIGATION (matches React public-layout.tsx)
   ============================================ */

.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(229, 231, 235, 0.5);
}

/* Dark hero unscrolled: semi-transparent dark bg so text is visible */
.site-nav.dark-hero:not(.scrolled) {
    background: rgba(3, 7, 18, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Scrolled state: solid white bg */
.site-nav.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
    border-bottom: 1px solid rgba(229, 231, 235, 0.7);
}

.nav-inner {
    width: var(--container-max);
    max-width: var(--container-max-cap);
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
}

@media (min-width: 640px) {
    .nav-inner {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .nav-inner {
        padding: 0;
        height: 5rem;
    }
}

/* Logo - uses image like React's Next/Image component */
.nav-logo-wrapper {
    display: flex;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.2s ease;
}

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

/* Image logo */
.nav-logo-img {
    height: 3rem;
    width: auto;
    transition: transform 0.2s ease;
}

/* On dark hero (unscrolled), add slight background for logo visibility */
.site-nav.dark-hero:not(.scrolled) .nav-logo-img {
    filter: drop-shadow(0 0 4px rgba(255,255,255,0.3));
}

/* Fallback SVG logo */
.nav-logo-fallback {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-logo-icon {
    width: 28px;
    height: 28px;
}

.nav-logo-text {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-900);
}

.site-nav.dark-hero:not(.scrolled) .nav-logo-text {
    color: white;
}

/* Nav Links - centered (matches React: hidden lg:flex items-center space-x-1) */
.nav-links {
    display: none;
    align-items: center;
    gap: 0.25rem;
}

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

/* Nav link item (matches React: px-4 py-2 text-sm font-medium rounded-lg) */
.nav-link-item {
    position: relative;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    color: var(--gray-700);
}

.nav-link-item:hover {
    color: var(--gray-900);
    background: rgba(243, 244, 246, 0.9);
}

/* Active state (matches React: text-green-600 bg-green-50/80) */
.nav-link-item.active {
    color: var(--green-600);
    background: rgba(240, 253, 244, 0.8);
}

/* Dark hero unscrolled: bright white text for visibility */
.site-nav.dark-hero:not(.scrolled) .nav-link-item {
    color: rgba(255, 255, 255, 0.9);
}

.site-nav.dark-hero:not(.scrolled) .nav-link-item:hover {
    color: white;
    background: rgba(255, 255, 255, 0.12);
}

.site-nav.dark-hero:not(.scrolled) .nav-link-item.active {
    color: var(--green-400);
    background: rgba(34, 197, 94, 0.2);
}

/* Nav Right (matches React: flex items-center space-x-3) */
.nav-right-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Sign In button (matches React: hidden sm:inline-flex px-5 py-2 text-sm font-medium rounded-lg bg-green-600) */
.nav-signin {
    display: none;
    align-items: center;
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 0.5rem;
    background: var(--green-600);
    color: white;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

@media (min-width: 640px) {
    .nav-signin {
        display: inline-flex;
    }
}

/* Hover (matches React: hover:bg-green-500 hover:shadow-md hover:-translate-y-[1px]) */
.nav-signin:hover {
    background: var(--green-500);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

/* Active (matches React: active:translate-y-0) */
.nav-signin:active {
    transform: translateY(0);
}

/* Mobile menu toggle (matches React: lg:hidden p-2 rounded-lg) */
.nav-mobile-toggle {
    display: flex;
    padding: 0.5rem;
    border-radius: 0.5rem;
    color: var(--gray-600);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.site-nav.dark-hero:not(.scrolled) .nav-mobile-toggle {
    color: rgba(255, 255, 255, 0.9);
}

.nav-mobile-toggle:hover {
    background: var(--gray-100);
}

.site-nav.dark-hero:not(.scrolled) .nav-mobile-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

@media (min-width: 1024px) {
    .nav-mobile-toggle {
        display: none;
    }
}

.nav-mobile-toggle svg {
    width: 1.5rem;
    height: 1.5rem;
}

/* ---- Mobile Menu Overlay (matches React mobile menu) ---- */

/* Container - hidden on desktop, shown on mobile */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    top: 4rem;
    z-index: 40;
}

@media (min-width: 1024px) {
    .mobile-menu-overlay {
        display: none !important;
    }
}

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

/* Backdrop (matches React: bg-black/20 backdrop-blur-sm) */
.mobile-menu-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* Panel */
.mobile-menu-panel {
    position: relative;
    background: white;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    max-height: calc(100vh - 4rem);
    overflow-y: auto;
}

/* Inner */
.mobile-menu-inner {
    padding: 1.5rem 1rem;
}

/* Mobile links (matches React: block px-4 py-3 rounded-lg text-base font-medium) */
.mobile-menu-inner .mobile-link {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray-700);
    transition: background-color 0.2s ease, color 0.2s ease;
    margin-bottom: 0.25rem;
}

.mobile-menu-inner .mobile-link:hover {
    background: var(--gray-50);
}

/* Active (matches React: text-green-600 bg-green-50) */
.mobile-menu-inner .mobile-link.active {
    color: var(--green-600);
    background: rgba(240, 253, 244, 1);
}

/* Divider (matches React: pt-4 border-t border-gray-200 mt-4) */
.mobile-menu-divider {
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 1px solid var(--gray-200);
}

/* Mobile Sign In (matches React: block w-full text-center px-4 py-3 bg-green-600 rounded-lg font-medium) */
.mobile-signin {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.75rem 1rem;
    background: var(--green-600);
    color: white;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.mobile-signin:hover {
    background: var(--green-500);
}

/* ============================================
   DESKTOP DROPDOWN MENUS
   ============================================ */

.nav-dropdown {
    position: relative;
}

.nav-dropdown-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    cursor: pointer;
    font-family: inherit;
    border: none;
    background: none;
}

/* Chevron icon */
.dropdown-chevron {
    width: 0.875rem;
    height: 0.875rem;
    transition: transform 0.2s ease;
    opacity: 0.7;
    color: inherit;
}

.nav-dropdown.open .dropdown-chevron {
    transform: rotate(180deg);
}

/* Dropdown Panel */
.dropdown-panel {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 50%;
    transform: translateX(-50%) translateY(0.25rem);
    min-width: 420px;
    background: white;
    border-radius: 1rem;
    border: 1px solid var(--gray-200);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    padding: 1.25rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    pointer-events: none;
    z-index: 60;
}

/* Invisible bridge to connect trigger to panel (prevents hover gap) */
.dropdown-panel::before {
    content: '';
    position: absolute;
    top: -0.75rem;
    left: 0;
    right: 0;
    height: 0.75rem;
    background: transparent;
}

.nav-dropdown.open .dropdown-panel {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

/* Dropdown grid - two sections side by side */
.dropdown-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* When only one section, full width */
.dropdown-grid > .dropdown-section:only-child {
    grid-column: span 2;
}

/* Section title */
.dropdown-section-title {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-400);
    padding: 0 0.5rem;
    margin-bottom: 0.5rem;
}

/* Dropdown item */
.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0.5rem;
    border-radius: 0.5rem;
    transition: background-color 0.15s ease;
    text-decoration: none;
}

.dropdown-item:hover {
    background: var(--gray-50);
}

.dropdown-item.active {
    background: rgba(240, 253, 244, 0.8);
}

/* Item icon */
.dropdown-item-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dropdown-item-icon svg {
    width: 0.75rem;
    height: 0.75rem;
    color: white;
}

.dropdown-item-icon.icon-blue {
    background: linear-gradient(135deg, var(--blue-500), var(--indigo-600));
}

.dropdown-item-icon.icon-orange {
    background: linear-gradient(135deg, var(--orange-500), var(--amber-600));
}

.dropdown-item-icon.icon-green {
    background: linear-gradient(135deg, var(--green-500), var(--emerald-600));
}

.dropdown-item-icon.icon-purple {
    background: linear-gradient(135deg, var(--purple-500), var(--violet-600));
}

.dropdown-item-icon.icon-cyan {
    background: linear-gradient(135deg, var(--cyan-500), var(--blue-600));
}

.dropdown-item-icon.icon-amber {
    background: linear-gradient(135deg, var(--amber-500), var(--orange-600));
}

/* Item text */
.dropdown-item-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.dropdown-item-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-900);
    line-height: 1.3;
}

.dropdown-item.active .dropdown-item-label {
    color: var(--green-700);
}

.dropdown-item-desc {
    font-size: 0.75rem;
    color: var(--gray-500);
    line-height: 1.3;
    margin-top: 0.125rem;
}

/* ============================================
   MOBILE ACCORDION MENUS
   ============================================ */

.mobile-accordion {
    margin-bottom: 0.25rem;
}

.mobile-accordion-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray-700);
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.mobile-accordion-trigger:hover {
    background: var(--gray-50);
}

.mobile-accordion-trigger.active {
    color: var(--green-600);
}

/* Accordion arrow */
.mobile-accordion-arrow {
    width: 1.25rem;
    height: 1.25rem;
    transition: transform 0.2s ease;
    color: var(--gray-400);
}

.mobile-accordion-trigger.expanded .mobile-accordion-arrow {
    transform: rotate(180deg);
}

/* Accordion content */
.mobile-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 0.5rem;
}

.mobile-accordion-section-title {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-400);
    padding: 0.5rem 1rem 0.25rem;
}

.mobile-accordion-link {
    display: block;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    color: var(--gray-600);
    transition: background-color 0.15s ease, color 0.15s ease;
}

.mobile-accordion-link:hover {
    background: var(--gray-50);
    color: var(--gray-900);
}

.mobile-accordion-link.active {
    color: var(--green-600);
    background: rgba(240, 253, 244, 0.8);
}

/* ---- Nav Spacer (matches React: h-16 lg:h-20) ---- */
.nav-spacer {
    height: 4rem;
}

@media (min-width: 1024px) {
    .nav-spacer {
        height: 5rem;
    }
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(to bottom, var(--gray-950), var(--gray-900), var(--gray-950));
}

.hero-bg-effects {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(128px);
}

.hero-glow-1 {
    top: 25%;
    left: 25%;
    width: 500px;
    height: 500px;
    background: rgba(34, 197, 94, 0.1);
}

.hero-glow-2 {
    bottom: 33%;
    right: 25%;
    width: 400px;
    height: 400px;
    background: rgba(52, 211, 153, 0.08);
}

.hero-grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 64px 64px;
}

.hero-container {
    position: relative;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

@media (min-width: 1024px) {
    .hero-container {
        padding-top: 8rem;
        padding-bottom: 8rem;
    }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

/* Hero Text */
.hero-text {
    text-align: center;
}

@media (min-width: 1024px) {
    .hero-text {
        text-align: left;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    color: var(--green-400);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 2rem;
}

.hero-badge-icon {
    width: 1rem;
    height: 1rem;
    margin-right: 0.375rem;
}

.hero-title {
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

@media (min-width: 640px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

.hero-title-highlight {
    display: block;
    background: linear-gradient(to right, var(--green-400), var(--emerald-400), var(--teal-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--gray-400);
    margin-bottom: 2.5rem;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.75;
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .hero-subtitle {
        margin-left: 0;
    }
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

@media (min-width: 1024px) {
    .hero-buttons {
        justify-content: flex-start;
    }
}

/* Hero Image */
.hero-image-wrapper {
    position: relative;
}

.hero-image-glow {
    position: absolute;
    inset: -1rem;
    background: linear-gradient(to right, rgba(34, 197, 94, 0.2), rgba(45, 212, 191, 0.2));
    border-radius: 1.5rem;
    filter: blur(16px);
}

.hero-image {
    position: relative;
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    width: 100%;
    max-height: 28rem;
    object-fit: contain;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Hero Stats */
.hero-stats {
    margin-top: 5rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

@media (min-width: 768px) {
    .hero-stats {
        grid-template-columns: repeat(4, 1fr);
    }
}

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

.hero-stat-value {
    font-size: 1.875rem;
    font-weight: 700;
    color: white;
}

@media (min-width: 768px) {
    .hero-stat-value {
        font-size: 2.25rem;
    }
}

.hero-stat-label {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-top: 0.25rem;
}

/* ============================================
   BUTTONS (matching React)
   ============================================ */

.btn-primary-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    background: var(--green-600);
    color: white;
    font-weight: 500;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(22, 163, 74, 0.25);
    transition: var(--transition-all);
}

.btn-primary-hero:hover {
    background: var(--green-500);
    box-shadow: 0 10px 15px -3px rgba(22, 163, 74, 0.3);
    transform: translateY(-2px);
}

.btn-outline-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    border: 1px solid var(--gray-700);
    color: var(--gray-300);
    font-weight: 500;
    border-radius: 0.75rem;
    transition: var(--transition-all);
}

.btn-outline-hero:hover {
    border-color: var(--gray-500);
    color: white;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-icon {
    width: 1.25rem;
    height: 1.25rem;
    margin-left: 0.5rem;
}

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

.section-white {
    padding: var(--section-py) 0;
    background: white;
}

@media (min-width: 1024px) {
    .section-white {
        padding: var(--section-py-lg) 0;
    }
}

.section-gray {
    padding: var(--section-py) 0;
    background: var(--gray-50);
}

@media (min-width: 1024px) {
    .section-gray {
        padding: var(--section-py-lg) 0;
    }
}

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

.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.25rem;
    }
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 42rem;
    margin: 0 auto;
    line-height: 1.75;
}

.section-subtitle-left {
    font-size: 1.125rem;
    color: var(--gray-600);
    line-height: 1.75;
}

/* ============================================
   FEATURE CARDS (matching React card pattern)
   ============================================ */

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

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    position: relative;
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid var(--gray-200);
    transition: var(--transition-all);
}

.feature-card:hover {
    border-color: rgba(34, 197, 94, 0.5);
    box-shadow: 0 20px 25px -5px rgba(34, 197, 94, 0.05);
    transform: translateY(-4px);
}

/* Feature Icon */
.feature-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon svg {
    width: 1.75rem;
    height: 1.75rem;
    color: white;
}

.icon-green {
    background: linear-gradient(135deg, var(--green-500), var(--emerald-600));
    box-shadow: 0 10px 15px -3px rgba(34, 197, 94, 0.2);
}

.icon-blue {
    background: linear-gradient(135deg, var(--blue-500), var(--indigo-600));
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.2);
}

.icon-violet {
    background: linear-gradient(135deg, var(--violet-500), var(--purple-600));
    box-shadow: 0 10px 15px -3px rgba(139, 92, 246, 0.2);
}

.icon-cyan {
    background: linear-gradient(135deg, var(--cyan-500), var(--blue-600));
    box-shadow: 0 10px 15px -3px rgba(6, 182, 212, 0.2);
}

.icon-amber {
    background: linear-gradient(135deg, var(--amber-500), var(--orange-600));
    box-shadow: 0 10px 15px -3px rgba(245, 158, 11, 0.2);
}

.icon-rose {
    background: linear-gradient(135deg, var(--rose-500), var(--pink-600));
    box-shadow: 0 10px 15px -3px rgba(244, 63, 94, 0.2);
}

.icon-purple {
    background: linear-gradient(135deg, var(--purple-500), var(--violet-600));
    box-shadow: 0 10px 15px -3px rgba(168, 85, 247, 0.2);
}

.icon-orange {
    background: linear-gradient(135deg, var(--orange-500), var(--amber-600));
    box-shadow: 0 10px 15px -3px rgba(249, 115, 22, 0.2);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.feature-desc {
    color: var(--gray-600);
    line-height: 1.75;
}

/* ============================================
   SOLUTIONS SECTION
   ============================================ */

.solutions-header {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

@media (min-width: 1024px) {
    .solutions-header {
        grid-template-columns: 1fr 1fr;
    }
}

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

.solutions-image img {
    width: 100%;
    max-width: 32rem;
    max-height: 24rem;
    object-fit: contain;
    border-radius: 1.5rem;
    margin: 0 auto;
}

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

@media (min-width: 768px) {
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .solutions-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.solution-card {
    position: relative;
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid var(--gray-200);
    transition: var(--transition-all);
}

.solution-card:hover {
    border-color: var(--gray-300);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
    position: relative;
    padding: var(--section-py) 0;
    overflow: hidden;
    background: var(--gray-950);
}

.cta-section-gradient {
    background: linear-gradient(to bottom, var(--gray-950), var(--gray-900));
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 50%;
    filter: blur(128px);
    pointer-events: none;
}

.cta-glow-top {
    top: 0;
    left: 33%;
    transform: none;
    width: 500px;
    height: 500px;
    background: rgba(34, 197, 94, 0.08);
}

.cta-glow-bottom {
    top: auto;
    bottom: 0;
    left: auto;
    right: 33%;
    transform: none;
    width: 400px;
    height: 400px;
    background: rgba(52, 211, 153, 0.08);
}

.cta-container {
    position: relative;
    text-align: center;
}

.cta-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    letter-spacing: -0.025em;
}

@media (min-width: 768px) {
    .cta-title {
        font-size: 3rem;
    }
}

.cta-subtitle {
    font-size: 1.125rem;
    color: var(--gray-400);
    margin-bottom: 2.5rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

@media (min-width: 640px) {
    .cta-buttons {
        flex-direction: row;
    }
}

/* ============================================
   INTELLIGENCE SECTION
   ============================================ */

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

@media (min-width: 768px) {
    .intelligence-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .intelligence-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.intelligence-card {
    position: relative;
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid var(--gray-200);
    transition: var(--transition-all);
}

.intelligence-card:hover {
    border-color: rgba(168, 85, 247, 0.5);
    box-shadow: 0 20px 25px -5px rgba(168, 85, 247, 0.05);
    transform: translateY(-4px);
}

/* ============================================
   TRANSFORMATION SECTION
   ============================================ */

.transformation-header {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

@media (min-width: 1024px) {
    .transformation-header {
        grid-template-columns: 1fr 1fr;
    }
}

.transformation-image {
    position: relative;
    order: 2;
}

@media (min-width: 1024px) {
    .transformation-image {
        order: 1;
    }
}

.transformation-image-glow {
    position: absolute;
    inset: -1rem;
    background: linear-gradient(to right, rgba(249, 115, 22, 0.1), rgba(245, 158, 11, 0.1));
    border-radius: 1.5rem;
    filter: blur(16px);
}

.transformation-image img {
    position: relative;
    width: 100%;
    max-width: 28rem;
    max-height: 22rem;
    object-fit: contain;
    margin: 0 auto;
    border-radius: 1.5rem;
}

.transformation-text {
    order: 1;
}

@media (min-width: 1024px) {
    .transformation-text {
        order: 2;
    }
}

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

@media (min-width: 768px) {
    .transformation-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .transformation-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.transformation-card {
    position: relative;
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid var(--gray-200);
    transition: var(--transition-all);
}

.transformation-card:hover {
    border-color: rgba(249, 115, 22, 0.5);
    box-shadow: 0 20px 25px -5px rgba(249, 115, 22, 0.05);
    transform: translateY(-4px);
}

/* ============================================
   FOOTER (matches React public-layout.tsx)
   ============================================ */

.site-footer {
    background: var(--gray-950);
    color: var(--gray-300);
    border-top: 1px solid var(--gray-800);
}

.footer-main-content {
    width: var(--container-max);
    max-width: var(--container-max-cap);
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .footer-main-content {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .footer-main-content {
        padding: 0 2rem;
    }
}

/* Footer grid (matches React: py-16 grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-12) */
.footer-grid {
    padding: 4rem 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

/* Footer Brand - full width on mobile, first column on desktop */
.footer-brand-section {
    grid-column: 1 / -1;
}

@media (min-width: 1024px) {
    .footer-brand-section {
        grid-column: span 1;
    }
}

.footer-logo-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

/* Footer logo image */
.footer-logo-img {
    height: 3rem;
    width: auto;
}

.footer-logo-fallback {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-logo-link svg {
    width: 32px;
    height: 32px;
}

.footer-logo-link span {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
}

.footer-description {
    color: var(--gray-400);
    max-width: 28rem;
    margin-bottom: 2rem;
    line-height: 1.75;
}

.footer-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.footer-status-dot {
    position: relative;
    display: flex;
    width: 0.625rem;
    height: 0.625rem;
}

.footer-status-dot .ping {
    position: absolute;
    display: inline-flex;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--green-400);
    opacity: 0.75;
    animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.footer-status-dot .dot {
    position: relative;
    display: inline-flex;
    border-radius: 50%;
    width: 0.625rem;
    height: 0.625rem;
    background: var(--green-500);
}

@keyframes ping {
    75%, 100% {
        transform: scale(2);
        opacity: 0;
    }
}

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

/* Footer Columns */
.footer-column-section h3 {
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.footer-column-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-column-links a {
    color: var(--gray-400);
    transition: color 0.2s ease;
    font-size: 0.9375rem;
}

.footer-column-links a:hover {
    color: white;
}

/* Footer Bottom */
.footer-bottom-bar {
    border-top: 1px solid var(--gray-800);
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 640px) {
    .footer-bottom-bar {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-copyright {
    color: var(--gray-500);
    font-size: 0.875rem;
}

.footer-legal-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.875rem;
}

.footer-legal-links a {
    color: var(--gray-500);
    transition: color 0.2s ease;
}

.footer-legal-links a:hover {
    color: var(--gray-300);
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }
.reveal-delay-4 { transition-delay: 400ms; }
.reveal-delay-5 { transition-delay: 500ms; }
.reveal-delay-6 { transition-delay: 600ms; }

/* ============================================
   CUSTOM SCROLLBAR
   ============================================ */

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.text-center { text-align: center; }
.hidden { display: none; }

/* ============================================
   PAGE-SPECIFIC STYLES (for sub-pages)
   ============================================ */

/* Generic page hero (used by product/solution/etc pages) */
.page-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(to bottom, var(--gray-950), var(--gray-900), var(--gray-950));
    padding: 5rem 0;
}

@media (min-width: 1024px) {
    .page-hero {
        padding: 6rem 0;
    }
}

.page-hero .hero-bg-effects {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.page-hero-content {
    position: relative;
    width: var(--container-max);
    max-width: var(--container-max-cap);
    margin: 0 auto;
    text-align: center;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .page-hero-content {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .page-hero-content {
        padding: 0 2rem;
    }
}

.page-hero-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
}

@media (min-width: 768px) {
    .page-hero-title {
        font-size: 3rem;
    }
}

.page-hero-subtitle {
    font-size: 1.125rem;
    color: var(--gray-400);
    max-width: 42rem;
    margin: 0 auto;
    line-height: 1.75;
}

/* Generic content section */
.content-section {
    padding: var(--section-py) 0;
}

.content-section-white {
    background: white;
}

.content-section-gray {
    background: var(--gray-50);
}

/* ============================================
   CONTACT PAGE STYLES
   ============================================ */

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

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 3fr 2fr;
    }
}

.contact-form {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid var(--gray-200);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .form-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
}

.form-input,
.form-textarea,
.form-select {
    padding: 0.625rem 0.75rem;
    border: 1px solid var(--gray-200);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-family: var(--font-family);
    color: var(--gray-900);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
    width: 100%;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    border-color: var(--green-500);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
}

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

.form-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    background: var(--green-600);
    color: white;
    font-weight: 500;
    border-radius: 0.75rem;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition-all);
}

.form-submit:hover {
    background: var(--green-500);
    transform: translateY(-1px);
}

/* Contact Info Cards */
.contact-info-stack {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid var(--gray-200);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-info-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    background: rgba(34, 197, 94, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--green-600);
}

.contact-info-title {
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.contact-info-text {
    font-size: 0.875rem;
    color: var(--gray-600);
}

/* ============================================
   SUB-PAGE SHARED STYLES (matching React design)
   ============================================ */

/* Two column grid layout */
.two-col-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .two-col-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Stats overlay (About page - on image) */
.stats-overlay {
    position: absolute;
    bottom: -1.5rem;
    left: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 1rem;
    padding: 1.5rem;
    backdrop-filter: blur(8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(229, 231, 235, 0.5);
}

@media (min-width: 640px) {
    .stats-overlay {
        left: 2rem;
        right: 2rem;
    }
}

.stats-overlay-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 640px) {
    .stats-overlay-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stats-overlay-item {
    text-align: center;
}

.stats-overlay-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--green-600);
    margin: 0 auto 0.375rem;
}

.stats-overlay-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
}

.stats-overlay-label {
    font-size: 0.75rem;
    color: var(--gray-500);
}

/* Team cards */
.team-card {
    background: white;
    border-radius: 1rem;
    border: 1px solid var(--gray-200);
    overflow: hidden;
    transition: var(--transition-all);
}

.team-card:hover {
    border-color: var(--gray-300);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.team-card-header {
    height: 14rem;
    position: relative;
    overflow: hidden;
}

.team-card-header-green {
    background: linear-gradient(135deg, var(--green-400), var(--emerald-600));
}

.team-card-header-blue {
    background: linear-gradient(135deg, var(--blue-500), var(--violet-600));
}

.team-card-header-purple {
    background: linear-gradient(135deg, var(--purple-500), var(--pink-600));
}

.team-role {
    margin-bottom: 1rem;
}

.story-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.section-title-left {
    text-align: left;
}

.team-card-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.2;
}

.team-card-avatar {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-card-avatar svg {
    width: 2rem;
    height: 2rem;
    color: white;
}

.team-card-body {
    padding: 2rem;
}

/* Modern contact form inputs (matching React rounded-xl style) */
.contact-form-modern {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-input-modern,
.form-textarea-modern {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    border: 1px solid var(--gray-300);
    background: white;
    color: var(--gray-900);
    font-size: 0.875rem;
    font-family: var(--font-family);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input-modern::placeholder,
.form-textarea-modern::placeholder {
    color: var(--gray-400);
}

.form-input-modern:focus,
.form-textarea-modern:focus {
    border-color: var(--green-500);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

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

/* Modern contact info cards (matching React style) */
.contact-info-card-modern {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: white;
    border-radius: 1rem;
    border: 1px solid var(--gray-200);
    transition: var(--transition-all);
}

.contact-info-card-modern:hover {
    border-color: var(--gray-300);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.contact-info-icon-modern {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-icon-modern svg {
    width: 1.5rem;
    height: 1.5rem;
    color: white;
}

/* Service feature list items */
.feature-list-items {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.feature-list-item {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    color: var(--gray-500);
}

.feature-list-item svg {
    width: 1rem;
    height: 1rem;
    color: var(--green-500);
    margin-right: 0.5rem;
    flex-shrink: 0;
}

/* Platform features - left icon + right text layout */
.platform-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.platform-feature-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    background: rgba(34, 197, 94, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.platform-feature-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--green-600);
}

.platform-feature-title {
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.platform-feature-desc {
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* Stats cards (Why Choose section) */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-card-modern {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 1rem;
    border: 1px solid var(--gray-200);
}

.stat-card-value {
    font-size: 2.25rem;
    font-weight: 700;
    background: linear-gradient(to right, var(--green-500), var(--emerald-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-card-label {
    color: var(--gray-600);
    font-weight: 500;
}

/* Hero page title with highlight span */
.page-hero-title .hero-title-highlight {
    display: block;
    background: linear-gradient(to right, var(--green-400), var(--emerald-400), var(--teal-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero badge for sub-pages */
.page-hero-content .hero-badge {
    margin-bottom: 2rem;
}

/* Page hero larger padding matching React py-24 lg:py-32 */
@media (min-width: 1024px) {
    .page-hero {
        padding: 6rem 0 8rem;
    }
}

/* Five-column grid for services */
.services-grid-5 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .services-grid-5 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid-5 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ============================================
   FOCUS STATES (Accessibility)
   ============================================ */

.nav-link-item:focus-visible,
.nav-dropdown-trigger:focus-visible,
.nav-signin:focus-visible,
.nav-mobile-toggle:focus-visible,
.mobile-link:focus-visible,
.mobile-accordion-trigger:focus-visible,
.mobile-accordion-link:focus-visible,
.dropdown-item:focus-visible,
.btn-primary-hero:focus-visible,
.btn-outline-hero:focus-visible,
.form-submit:focus-visible,
.mobile-signin:focus-visible {
    outline: 2px solid var(--green-500);
    outline-offset: 2px;
}

.form-input-modern:focus-visible,
.form-textarea-modern:focus-visible,
.form-input:focus-visible,
.form-textarea:focus-visible,
.form-select:focus-visible {
    outline: none;
    border-color: var(--green-500);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
}

/* ============================================
   LEGAL CONTENT STYLES
   ============================================ */

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-heading {
    text-align: left;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
}

.legal-subheading {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.legal-text {
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-text-spaced {
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.legal-list {
    color: var(--gray-600);
    line-height: 2;
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.legal-list li {
    margin-bottom: 0.25rem;
}

.legal-list-compact {
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

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

.legal-contact {
    background: var(--gray-50);
    border-radius: 1rem;
    padding: 2rem;
    margin-top: 2rem;
    border: 1px solid var(--gray-200);
}

.legal-contact p {
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.legal-contact a {
    color: var(--green-600);
    font-weight: 500;
}

.legal-contact a:hover {
    color: var(--green-700);
    text-decoration: underline;
}

.legal-link {
    color: var(--green-600);
    text-decoration: underline;
}

.legal-link:hover {
    color: var(--green-700);
}

.btn-icon-inline {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.5rem;
}

/* ============================================
   ABOUT PAGE IMAGE STYLES
   ============================================ */

.about-image-wrapper {
    position: relative;
}

.about-image-glow {
    position: absolute;
    inset: -1rem;
    background: linear-gradient(to right, rgba(34, 197, 94, 0.1), rgba(45, 212, 191, 0.1));
    border-radius: 1.5rem;
    filter: blur(16px);
}

.about-image {
    position: relative;
    border-radius: 1.5rem;
    width: 100%;
    max-height: 24rem;
    object-fit: cover;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--gray-200);
    margin: 0 auto;
}

/* ============================================
   CONTACT PAGE SECTION HEADINGS
   ============================================ */

.section-heading {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
    letter-spacing: -0.025em;
}

.section-desc {
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.contact-highlight {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--green-600);
    margin-top: 0.375rem;
}

.required-mark {
    color: #ef4444;
}
