/* ============================================
   OPTIDRIVE - COMPLETE PROFESSIONAL STYLESHEET
   Version: 8.0 (Alternating Sections + Premium Logo)
   ============================================ */

/* ===== ROOT VARIABLES ===== */
:root {
    --primary: #0b3d91;
    --primary-dark: #082b66;
    --primary-light: #eaf1fb;
    --primary-gradient: linear-gradient(135deg, #0b3d91 0%, #1a5cb5 50%, #2d7dd2 100%);

    --secondary: #e74c3c;
    --secondary-light: #fde8e6;

    --gold: #ffd700;
    --gold-light: #ffe44d;
    --gold-dark: #e6c200;

    --success: #27ae60;
    --success-light: #e8f8ef;
    --warning: #f39c12;
    --warning-light: #fef6e7;
    --danger: #e74c3c;
    --danger-light: #fde8e6;

    --info: #3182ce;
    --info-light: #ebf4fd;

    --text: #1a1a1a;
    --text-secondary: #4a5568;
    --text-light: #a0aec0;

    --bg: #f7fafc;
    --bg-white: #ffffff;
    --bg-card: #ffffff;
    --bg-alt: #f2f6fc;
    --bg-section-light: #f8faff;
    --bg-section-dark: #0a1628;

    --border: #e2e8f0;
    --border-light: #edf2f7;

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(11,61,145,0.10);
    --shadow-lg: 0 8px 40px rgba(11,61,145,0.15);
    --shadow-xl: 0 20px 60px rgba(11,61,145,0.20);
    --shadow-2xl: 0 30px 80px rgba(11,61,145,0.25);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);

    --font: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

body {
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    min-height: 100vh;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    position: relative;
}

/* Global anti-overflow safety net: no single element (image, table,
   long unbroken text/email/url, embed) should ever be able to force
   horizontal scroll on the page, which is what was pushing the fixed
   header's hamburger button out of view on mobile. */
img, svg, video, iframe, canvas, table {
    max-width: 100%;
}

* {
    min-width: 0;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb {
    background: var(--primary-gradient);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Shared page badge */
.page-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 8px 22px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
    border: 1px solid rgba(255,255,255,0.15);
}

.highlight {
    color: var(--gold);
}

#team, #tech, #contact, #metrics, #benchmark, #planner-form {
    scroll-margin-top: 100px;
}

/* ============================================
   HEADER
   ============================================ */

.site-header {
    background: rgba(11, 61, 145, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transition: var(--transition);
}

.site-header.scrolled {
    background: rgba(11, 61, 145, 0.98);
    box-shadow: 0 4px 30px rgba(0,0,0,0.2);
}

.nav-wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 12px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 22px;
    transition: var(--transition);
    flex-shrink: 0;
}

.brand:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

.brand-logo {
    height: 42px;
    width: auto;
    object-fit: contain;
    border-radius: 8px;
}

.brand-name {
    font-weight: 800;
    letter-spacing: -0.5px;
}

.brand-name .highlight {
    color: var(--gold);
}

.brand-tag {
    font-size: 10px;
    font-weight: 500;
    opacity: 0.6;
    background: rgba(255,255,255,0.12);
    padding: 2px 12px;
    border-radius: var(--radius-full);
    margin-left: 4px;
    letter-spacing: 0.5px;
}

nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

nav a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
}

nav a i {
    font-size: 14px;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
    transform: translateX(-50%);
}

nav a:hover::after,
nav a.active::after {
    width: 60%;
}

nav a:hover {
    color: #fff;
    background: rgba(255,255,255,0.06);
}

nav a.active {
    color: #fff;
    background: rgba(255,255,255,0.08);
}

.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

.dropdown-arrow {
    font-size: 10px;
    transition: transform 0.3s;
}

.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 220px;
    background: #fff;
    border-radius: var(--radius-md);
    padding: 8px;
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(0.98);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    border: 1px solid var(--border-light);
}

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

.dropdown-menu a {
    color: var(--text) !important;
    padding: 10px 14px !important;
    border-radius: var(--radius-sm);
    font-weight: 500;
    background: transparent !important;
    margin: 0 !important;
}

.dropdown-menu a:hover {
    background: var(--primary-light) !important;
    color: var(--primary) !important;
}

.dropdown-menu a i {
    color: var(--primary);
    width: 20px;
    text-align: center;
}

.nav-cta {
    background: var(--gold) !important;
    color: var(--primary-dark) !important;
    padding: 8px 20px !important;
    border-radius: var(--radius-full) !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 16px rgba(255, 215, 0, 0.3);
}

.nav-cta:hover {
    background: var(--gold-light) !important;
    transform: scale(1.05) !important;
    box-shadow: 0 6px 24px rgba(255, 215, 0, 0.4);
}

.nav-cta::after {
    display: none !important;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.menu-toggle:hover {
    background: rgba(255,255,255,0.1);
}

/* ============================================
   HERO SECTION (Blue Background)
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    animation: floatShape 25s infinite ease-in-out;
}

.shape-1 { width: 500px; height: 500px; top: -200px; right: -100px; animation-delay: 0s; }
.shape-2 { width: 350px; height: 350px; bottom: -100px; left: -50px; animation-delay: -6s; }
.shape-3 { width: 200px; height: 200px; top: 40%; right: 25%; animation-delay: -12s; }
.shape-4 { width: 150px; height: 150px; bottom: 30%; left: 10%; animation-delay: -18s; }
.shape-5 { width: 80px; height: 80px; top: 20%; left: 40%; animation-delay: -4s; }

@keyframes floatShape {
    0%, 100% { transform: translate(0,0) scale(1) rotate(0deg); }
    25% { transform: translate(40px,-50px) scale(1.1) rotate(10deg); }
    50% { transform: translate(-30px,30px) scale(0.9) rotate(-10deg); }
    75% { transform: translate(30px,40px) scale(1.05) rotate(5deg); }
}

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

.hero-container {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 32px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    color: #fff;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.10);
    backdrop-filter: blur(10px);
    padding: 8px 20px 8px 16px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 24px;
}

.badge-pulse {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

.hero h1 {
    font-size: 60px;
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1.05;
    margin-bottom: 20px;
}

.hero h1 .highlight {
    color: var(--gold);
    text-shadow: 0 0 60px rgba(255, 215, 0, 0.2);
}

.hero .lead {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255,255,255,0.8);
    max-width: 540px;
    margin-bottom: 32px;
}

.hero .lead strong {
    color: var(--gold);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gold);
    color: var(--primary-dark);
    padding: 14px 32px;
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 24px rgba(255, 215, 0, 0.35);
}

.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(255, 215, 0, 0.5);
}

.btn-glow {
    animation: glowPulse 3s infinite;
}

@keyframes glowPulse {
    0%, 100% { box-shadow: 0 4px 24px rgba(255, 215, 0, 0.35); }
    50% { box-shadow: 0 4px 48px rgba(255, 215, 0, 0.6); }
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.10);
    color: #fff;
    padding: 14px 32px;
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    border: 1px solid rgba(255,255,255,0.2);
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.20);
    transform: translateY(-3px);
    border-color: rgba(255,255,255,0.4);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 40px;
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.06);
    padding: 4px;
    max-width: 560px;
}

.stat-item {
    text-align: center;
    padding: 16px 12px;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.stat-item:hover {
    background: rgba(255,255,255,0.06);
}

.stat-divider {
    width: 1px;
    background: rgba(255,255,255,0.08);
}

.stat-number {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: var(--gold);
    line-height: 1.1;
}

.stat-label {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-suffix {
    font-size: 11px;
    opacity: 0.7;
}

/* ============================================
   EYE-CATCHING LOGO - HERO VISUAL
   ============================================ */

.hero-visual-container {
    display: flex;
    justify-content: center;
    align-items: center;
}


.hero-logo-display {
    position: relative;
    width: 100%;
    max-width: 520px;
    height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
}


.logo-outer-ring {
    position: absolute;
    width: 460px;
    height: 460px;
    border: 2px solid rgba(255, 215, 0, 0.15);
    border-radius: 50%;
    animation: ringSpin 25s linear infinite;
    pointer-events: none;
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.05);
}

.logo-outer-ring-2 {
    position: absolute;
    width: 410px;
    height: 410px;
    border: 1.5px dashed rgba(255, 215, 0, 0.10);
    border-radius: 50%;
    animation: ringSpin 35s linear infinite reverse;
    pointer-events: none;
}
.logo-outer-ring-3 {
    position: absolute;
    width: 500px;
    height: 500px;
    border: 1px solid rgba(255, 215, 0, 0.04);
    border-radius: 50%;
    animation: ringSpin 45s linear infinite;
    pointer-events: none;
}

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

.logo-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.logo-particles .particle {
    position: absolute;
    font-size: 22px;
    color: rgba(255, 215, 0, 0.20);
    animation: particleFloat 8s infinite ease-in-out;
}

.particle.p1 { top: 8%; left: 15%; animation-delay: 0s; font-size: 24px; }
.particle.p2 { top: 12%; right: 10%; animation-delay: -1s; font-size: 20px; }
.particle.p3 { bottom: 25%; left: 8%; animation-delay: -2s; font-size: 28px; }
.particle.p4 { bottom: 15%; right: 12%; animation-delay: -3s; font-size: 22px; }
.particle.p5 { top: 45%; left: 4%; animation-delay: -4s; font-size: 18px; }
.particle.p6 { top: 40%; right: 4%; animation-delay: -5s; font-size: 20px; }
.particle.p7 { bottom: 45%; left: 10%; animation-delay: -6s; font-size: 16px; }
.particle.p8 { bottom: 40%; right: 8%; animation-delay: -7s; font-size: 18px; }

@keyframes particleFloat {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.15; }
    25% { transform: translate(15px, -25px) scale(1.3); opacity: 0.5; }
    50% { transform: translate(-10px, 18px) scale(0.8); opacity: 0.15; }
    75% { transform: translate(20px, 10px) scale(1.2); opacity: 0.35; }
}

.logo-main-card {
    position: relative;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 28px;
    padding: 32px 28px 28px;
    width: 100%;
    max-width: 340px;
    text-align: center;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.logo-main-card:hover {
    transform: perspective(800px) rotateY(4deg) rotateX(-2deg) translateY(-4px);
}

.logo-card-glow {
    position: absolute;
    top: -40%;
    right: -40%;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.06) 0%, transparent 70%);
    pointer-events: none;
    border-radius: 50%;
}

.logo-card-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.03) 0%, transparent 60%);
    pointer-events: none;
    border-radius: 50%;
}

.logo-image-wrapper {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto 16px;
}

.logo-image {
    width: 140px;
    height: 140px;
    object-fit: contain;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    padding: 16px;
    filter: drop-shadow(0 8px 32px rgba(255, 215, 0, 0.2));
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-main-card:hover .logo-image {
    transform: scale(1.05) rotate(-5deg);
}

.logo-image-overlay {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, transparent 50%, rgba(255, 215, 0, 0.05) 100%);
    pointer-events: none;
}

.logo-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 215, 0, 0.12);
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: var(--radius-full);
    padding: 4px 14px 4px 10px;
    margin-bottom: 14px;
    font-size: 11px;
    font-weight: 600;
    color: var(--gold);
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: #4ade80;
    border-radius: 50%;
    animation: pulseDot 2s infinite;
}

.badge-status {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.logo-info h3 {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
    margin-bottom: 2px;
}

.logo-info h3 span {
    color: var(--gold);
}

.logo-info p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.logo-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

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

.logo-stat-number {
    display: block;
    font-size: 16px;
    font-weight: 800;
    color: var(--gold);
    line-height: 1.2;
}

.logo-stat-label {
    font-size: 9px;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.logo-stat-divider {
    width: 1px;
    height: 24px;
    background: rgba(255, 255, 255, 0.06);
}

.floating-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.orb-1 {
    width: 80px;
    height: 80px;
    top: -20px;
    right: -10px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.08) 0%, transparent 70%);
    animation: orbFloat 6s ease-in-out infinite;
}

.orb-2 {
    width: 60px;
    height: 60px;
    bottom: 10px;
    left: -20px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.05) 0%, transparent 70%);
    animation: orbFloat 8s ease-in-out infinite reverse;
    animation-delay: -2s;
}

.orb-3 {
    width: 40px;
    height: 40px;
    top: 50%;
    right: -30px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.04) 0%, transparent 70%);
    animation: orbFloat 10s ease-in-out infinite;
    animation-delay: -4s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.6; }
    50% { transform: translate(-20px, -30px) scale(1.3); opacity: 1; }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.5);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    animation: bounceDown 2.5s infinite ease-in-out;
}

.scroll-indicator i {
    font-size: 20px;
    color: rgba(255,215,0,0.4);
    animation: scrollArrow 2s infinite ease-in-out;
}

@keyframes scrollArrow {
    0%, 100% { transform: translateY(0); opacity: 0.4; }
    50% { transform: translateY(8px); opacity: 1; }
}

@keyframes bounceDown {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

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

.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }

.reveal-left { opacity: 0; transform: translateX(-60px); transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1); }
.reveal-left.active { opacity: 1; transform: translateX(0); }

.reveal-right { opacity: 0; transform: translateX(60px); transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1); }
.reveal-right.active { opacity: 1; transform: translateX(0); }

.reveal-bottom { opacity: 0; transform: translateY(60px); transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1); }
.reveal-bottom.active { opacity: 1; transform: translateY(0); }

.feature-card:nth-child(1) { transition-delay: 0.1s; }
.feature-card:nth-child(2) { transition-delay: 0.3s; }
.feature-card:nth-child(3) { transition-delay: 0.5s; }

.step-item:nth-child(1) { transition-delay: 0.2s; }
.step-item:nth-child(2) { transition-delay: 0.4s; }
.step-item:nth-child(3) { transition-delay: 0.6s; }

.about-card:nth-child(1) { transition-delay: 0.1s; }
.about-card:nth-child(2) { transition-delay: 0.2s; }
.about-card:nth-child(3) { transition-delay: 0.3s; }
.about-card:nth-child(4) { transition-delay: 0.4s; }

/* ============================================
   SECTION HEADERS (shared)
   ============================================ */

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 6px 20px;
    border-radius: var(--radius-full);
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: 40px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -1px;
    margin-bottom: 8px;
}

.section-header h2 .highlight { color: var(--secondary); }

.section-header p {
    color: var(--text-secondary);
    font-size: 17px;
}

.section-description {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
    color: var(--text-secondary);
    font-size: 16px;
}

/* ============================================
   ABOUT SYSTEM SECTION (WHITE Background)
   ============================================ */

.about-system {
    padding: 80px 32px;
    max-width: 1280px;
    margin: 0 auto;
    background: var(--bg-white);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.about-card {
    background: var(--bg-white);
    padding: 32px 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid var(--border-light);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.about-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.about-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-size: 26px;
    color: var(--primary);
    transition: var(--transition);
}

.about-card:hover .about-icon { background: var(--primary); color: #fff; }

.about-card h3 { font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.about-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }
.about-card p strong { color: var(--primary); }

/* ============================================
   FEATURES SECTION (LIGHT BLUE Background)
   ============================================ */

.features-section {
    padding: 80px 32px;
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    background: var(--bg-alt);
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, transparent, var(--primary), var(--gold), var(--primary), transparent);
    border-radius: 2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    border: 1px solid var(--border-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--primary-gradient);
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover { transform: translateY(-8px) scale(1.01); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.feature-card:hover::before { opacity: 1; }

.feature-number {
    position: absolute;
    bottom: 16px;
    right: 20px;
    font-size: 48px;
    font-weight: 900;
    color: rgba(11,61,145,0.04);
    line-height: 1;
    transition: var(--transition);
}

.feature-card:hover .feature-number { color: rgba(11,61,145,0.08); transform: scale(1.1); }

.feature-icon {
    position: relative;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.feature-icon i { font-size: 24px; color: var(--primary); z-index: 1; }

.icon-bg {
    position: absolute;
    inset: 0;
    background: var(--primary-light);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.feature-card:hover .icon-bg { background: var(--primary); }
.feature-card:hover .feature-icon i { color: #fff; }

.feature-card h3 { font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.feature-card p { color: var(--text-secondary); font-size: 14px; line-height: 1.7; margin-bottom: 16px; }

.feature-tag {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 16px;
    border-radius: var(--radius-full);
}

/* ============================================
   HOW IT WORKS SECTION (WHITE Background)
   ============================================ */

.how-section {
    padding: 80px 32px;
    max-width: 1280px;
    margin: 0 auto;
    background: var(--bg-white);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 960px;
    margin: 0 auto;
    position: relative;
}

.steps-container::before {
    content: '';
    position: absolute;
    top: 48px;
    left: 16.6%;
    right: 16.6%;
    height: 2px;
    background: linear-gradient(to right, var(--primary), var(--gold), var(--primary));
    z-index: 0;
    opacity: 0.3;
}

.step-item { text-align: center; position: relative; z-index: 1; }

.step-circle {
    position: relative;
    width: 96px;
    height: 96px;
    margin: 0 auto 16px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(11,61,145,0.25);
    transition: var(--transition);
}

.step-item:hover .step-circle { transform: scale(1.08); box-shadow: 0 12px 40px rgba(11,61,145,0.35); }

.step-circle span {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--gold);
    color: var(--primary-dark);
    font-size: 12px;
    font-weight: 800;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}

.step-icon { font-size: 32px; color: #fff; }

.step-item h4 { font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.step-item p { font-size: 14px; color: var(--text-secondary); max-width: 240px; margin: 0 auto; }

/* ============================================
   PERFORMANCE TABLE SECTION (LIGHT BLUE Background)
   ============================================ */

.performance-section {
    padding: 80px 32px;
    max-width: 1280px;
    margin: 0 auto;
    background: var(--bg-alt);
}

.performance-table-wrapper {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 8px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    overflow-x: auto;
}

.performance-table { width: 100%; border-collapse: collapse; font-size: 14px; }

.performance-table thead th {
    background: var(--primary-gradient);
    color: #fff;
    padding: 16px 20px;
    text-align: left;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.performance-table thead th:first-child { border-radius: var(--radius-sm) 0 0 0; }
.performance-table thead th:last-child { border-radius: 0 var(--radius-sm) 0 0; }

.performance-table tbody td { padding: 14px 20px; border-bottom: 1px solid var(--border-light); }
.performance-table tbody tr:last-child td { border-bottom: none; }
.performance-table tbody tr:hover { background: var(--primary-light); }

.perf-best { color: var(--success); font-weight: 700; }

.perf-improve {
    color: var(--success);
    font-weight: 600;
    background: var(--success-light);
    padding: 2px 12px;
    border-radius: var(--radius-full);
    font-size: 13px;
}

/* ============================================
   CTA SECTION (BLUE Background)
   ============================================ */

.cta-section {
    padding: 40px 32px 80px;
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
}

.cta-container {
    position: relative;
    background: var(--primary-gradient);
    border-radius: var(--radius-xl);
    padding: 64px 48px;
    text-align: center;
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-container:hover { transform: scale(1.01); }

.cta-bg-shapes { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }

.cta-shape { position: absolute; border-radius: 50%; background: rgba(255,255,255,0.03); }
.cta-shape-1 { width: 400px; height: 400px; top: -200px; right: -100px; animation: floatShape 20s infinite ease-in-out; }
.cta-shape-2 { width: 300px; height: 300px; bottom: -150px; left: -100px; animation: floatShape 25s infinite ease-in-out reverse; }

.cta-content { position: relative; z-index: 1; }

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,215,0,0.12);
    color: var(--gold);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 24px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
    border: 1px solid rgba(255,215,0,0.15);
}

.cta-container h2 { font-size: 40px; font-weight: 800; color: #fff; margin-bottom: 12px; letter-spacing: -1px; }
.cta-container h2 .highlight { color: var(--gold); }
.cta-container p { color: rgba(255,255,255,0.7); font-size: 18px; max-width: 540px; margin: 0 auto 32px; line-height: 1.7; }

.btn-cta {
    background: var(--gold) !important;
    color: var(--primary-dark) !important;
    font-size: 18px !important;
    padding: 16px 48px !important;
    box-shadow: 0 4px 32px rgba(255, 215, 0, 0.4) !important;
}

.btn-cta:hover {
    background: var(--gold-light) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 48px rgba(255, 215, 0, 0.6) !important;
}

.btn-large { font-size: 18px !important; padding: 16px 40px !important; }

/* ============================================
   PAGE HERO (shared - About / Comparison / Planner)
   ============================================ */

.about-hero,
.comparison-header,
.planner-header {
    background: var(--primary-gradient);
    position: relative;
    overflow: hidden;
    padding: 140px 32px 72px;
    text-align: center;
    color: #fff;
}

.about-hero::before,
.comparison-header::before,
.planner-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.about-hero-content,
.planner-header-content {
    position: relative;
    max-width: 760px;
    margin: 0 auto;
}

.about-hero h1,
.comparison-header h1,
.planner-header h1 {
    position: relative;
    font-size: 44px;
    font-weight: 900;
    letter-spacing: -1.5px;
    line-height: 1.15;
    margin-bottom: 16px;
}

.about-hero h1 .highlight,
.comparison-header h1 .highlight,
.planner-header h1 .highlight {
    color: var(--gold);
}

.about-hero .lead,
.comparison-header .lead,
.planner-header .lead {
    position: relative;
    font-size: 17px;
    line-height: 1.8;
    color: rgba(255,255,255,0.82);
    max-width: 640px;
    margin: 0 auto;
}

.comparison-header {
    max-width: none;
}

.comparison-header .lead {
    max-width: 760px;
}

/* ============================================
   ABOUT PAGE
   ============================================ */

.about-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 72px 32px;
    display: flex;
    flex-direction: column;
    gap: 80px;
    background: var(--bg-white);
}

.about-section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
}

.about-section-header h2 {
    font-size: 34px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.8px;
    margin-top: 10px;
}

.about-section-header h2 .highlight { color: var(--secondary); }

.about-content-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
}

.about-text p {
    color: var(--text-secondary);
    font-size: 15.5px;
    line-height: 1.85;
    margin-bottom: 18px;
}

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

.about-key-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 24px;
}

.key-point {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 600;
    font-size: 13.5px;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.key-point:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.key-point i { font-size: 15px; }

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

.about-image-placeholder {
    width: 100%;
    aspect-ratio: 1 / 1;
    max-width: 340px;
    background: var(--primary-gradient);
    border-radius: var(--radius-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: #fff;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.about-image-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 30px 30px;
}

.about-image-placeholder i {
    font-size: 64px;
    color: var(--gold);
    position: relative;
}

.about-image-placeholder p {
    position: relative;
    text-align: center;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.5;
}

.about-image-placeholder p span {
    display: block;
    font-weight: 500;
    font-size: 12.5px;
    opacity: 0.75;
    margin-top: 2px;
}

/* Technology grid */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.tech-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 28px 22px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.tech-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.tech-icon {
    width: 54px;
    height: 54px;
    border-radius: var(--radius-md);
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 16px;
    transition: var(--transition);
}

.tech-card:hover .tech-icon { background: var(--primary); color: #fff; }

.tech-card h4 { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.tech-card p { font-size: 13.5px; color: var(--text-secondary); line-height: 1.7; }
.tech-card p strong { color: var(--primary); }

/* Team grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.team-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.team-avatar { display: flex; justify-content: center; margin-bottom: 16px; }

.avatar-icon {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: var(--primary-gradient);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    box-shadow: var(--shadow-md);
}

.team-card h4 { font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 4px; }

.team-role {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    font-size: 12.5px;
    background: var(--primary-light);
    padding: 4px 14px;
    border-radius: var(--radius-full);
    margin-bottom: 14px;
}

.team-card p {
    color: var(--text-secondary);
    font-size: 13.5px;
    line-height: 1.7;
    margin-bottom: 18px;
}

.team-social { display: flex; justify-content: center; gap: 10px; }

.team-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.team-social a:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-3px);
}

/* Contact grid */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.contact-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 28px 22px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.contact-icon {
    width: 54px;
    height: 54px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: var(--transition);
}

.contact-card:hover .contact-icon { background: var(--primary); color: #fff; }

.contact-card h4 { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.contact-card p { font-size: 13.5px; color: var(--text-secondary); line-height: 1.7; }

/* Partners grid */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.partner-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 28px 16px;
    text-align: center;
    transition: var(--transition);
}

.partner-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.partner-item i { font-size: 30px; color: var(--primary); }
.partner-item span { font-size: 13.5px; font-weight: 600; color: var(--text-secondary); }

/* ============================================
   COMPARISON PAGE
   ============================================ */

.comparison-page { max-width: 1280px; margin: 0 auto; background: var(--bg-white); }

.comparison-metrics,
.comparison-charts {
    padding: 72px 32px 0;
    max-width: 1280px;
    margin: 0 auto;
}

.table-wrapper {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 8px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    overflow-x: auto;
    margin-bottom: 40px;
}

.metrics-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }

.metrics-table thead th {
    background: var(--primary-gradient);
    color: #fff;
    padding: 16px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 13px;
}

.metrics-table thead th:first-child { border-radius: var(--radius-sm) 0 0 0; }
.metrics-table thead th:last-child { border-radius: 0 var(--radius-sm) 0 0; }

.metrics-table tbody td { padding: 14px 20px; border-bottom: 1px solid var(--border-light); }
.metrics-table tbody tr:last-child td { border-bottom: none; }
.metrics-table tbody tr:hover { background: var(--primary-light); }

.metrics-table .best-value { color: var(--success); font-weight: 800; }

.metrics-table .improvement-value {
    color: var(--success);
    font-weight: 700;
    background: var(--success-light);
    padding: 4px 14px;
    border-radius: var(--radius-full);
    font-size: 12.5px;
    display: inline-block;
}

.optidrive-label { color: var(--gold-dark); font-weight: 700; }
.google-label { color: #4285f4; font-weight: 700; }
.waze-label { color: #17a1a1; font-weight: 700; }

/* Summary cards */
.summary-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}

.summary-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 26px 22px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.summary-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.summary-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
}

.summary-card-best .summary-icon { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: var(--primary-dark); }
.summary-card-speed .summary-icon { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); }
.summary-card-accurate .summary-icon { background: linear-gradient(135deg, var(--success), #1f8b4d); }

.summary-content h4 { font-size: 15.5px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.summary-content p { font-size: 13.5px; color: var(--text-secondary); line-height: 1.6; }

/* Charts */
.charts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}

.chart-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.chart-card h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
}

.chart-card h4 i { color: var(--primary); }

.chart-container { position: relative; height: 260px; }

/* Conclusion */
.comparison-conclusion {
    max-width: 1280px;
    margin: 24px auto 0;
    padding: 48px 32px 88px;
}

.conclusion-container {
    display: flex;
    gap: 28px;
    align-items: flex-start;
    background: var(--primary-gradient);
    border-radius: var(--radius-xl);
    padding: 48px;
    color: #fff;
    box-shadow: var(--shadow-2xl);
    position: relative;
    overflow: hidden;
}

.conclusion-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 50px 50px;
}

.conclusion-icon {
    position: relative;
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(255,215,0,0.15);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    border: 1px solid rgba(255,215,0,0.25);
}

.conclusion-content { position: relative; flex: 1; }

.conclusion-content h3 { font-size: 24px; font-weight: 800; margin-bottom: 12px; letter-spacing: -0.5px; }

.conclusion-content p {
    color: rgba(255,255,255,0.82);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 28px;
}

.conclusion-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.conclusion-stat {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-md);
    padding: 16px 18px;
}

.conclusion-stat .stat-number { font-size: 26px; font-weight: 800; color: var(--gold); }
.conclusion-stat .stat-label {
    font-size: 11.5px;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================
   ROUTE PLANNER PAGE
   ============================================ */

.planner-page { max-width: 1280px; margin: 0 auto; background: var(--bg-white); }

.planner-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 32px 60px;
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 32px;
    align-items: start;
}

.planner-form-section { display: flex; flex-direction: column; gap: 24px; }

.form-wrapper {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-md);
}

.form-header { margin-bottom: 24px; }

.form-header h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 19px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 6px;
}

.form-header h3 i { color: var(--primary); }
.form-header p { font-size: 13.5px; color: var(--text-secondary); }

.route-form { display: grid; gap: 20px; }

.route-form .field { display: flex; flex-direction: column; gap: 6px; }

.route-form .field label {
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 6px;
}

.route-form .field label i { color: var(--primary); }

.route-form .field select,
.route-form .field input {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: var(--font);
    transition: var(--transition);
    background: var(--bg-white);
    color: var(--text);
}

.route-form .field select:focus,
.route-form .field input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(11, 61, 145, 0.12);
}

.route-form .field select optgroup { font-weight: 700; color: var(--primary); }
.route-form .field select option { font-weight: 400; color: var(--text); }

.field-hint {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-light);
}

.field-hint i { color: var(--primary); opacity: 0.7; }

.route-form .btn-submit {
    justify-content: center;
    padding: 14px 28px;
    font-size: 15.5px;
    width: 100%;
    margin-top: 4px;
}

.planner-info-cards { display: grid; gap: 14px; }

.info-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.info-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-2px); }

.info-icon {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
}

.info-content h4 { font-size: 14.5px; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.info-content p { font-size: 12.5px; color: var(--text-secondary); }

.planner-map-section { display: flex; flex-direction: column; gap: 24px; }

.map-container {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    min-height: 460px;
    width: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.map-loading {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--text-light);
    font-size: 14px;
}

.map-loading i { font-size: 48px; color: var(--border); }

.planner-results-section {
    grid-column: 1 / -1;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-top: 3px solid var(--primary);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    box-shadow: var(--shadow-md);
}

.results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.results-header h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 800;
    color: var(--primary);
}

.results-badge {
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 700;
    font-size: 12.5px;
    padding: 6px 16px;
    border-radius: var(--radius-full);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.result-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--bg-alt);
    border-radius: var(--radius-md);
    padding: 18px 20px;
}

.result-icon {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.result-info { display: flex; flex-direction: column; }

.result-label {
    font-size: 11.5px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.result-value { font-size: 22px; font-weight: 800; color: var(--text); line-height: 1.3; }
.result-unit { font-size: 11.5px; color: var(--text-light); }

.planner-comparison-section {
    grid-column: 1 / -1;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-top: 3px solid var(--gold);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    box-shadow: var(--shadow-md);
}

.planner-comparison-section .comparison-header {
    background: none;
    color: var(--text);
    padding: 0 0 20px;
    text-align: left;
}

.planner-comparison-section .comparison-header::before { display: none; }

.planner-comparison-section .comparison-header h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 4px;
}

.planner-comparison-section .comparison-header p {
    font-size: 13.5px;
    color: var(--text-secondary);
}

.comparison-table-wrapper { overflow-x: auto; margin-bottom: 16px; }

.comparison-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 480px; }

.comparison-table th {
    background: var(--primary);
    color: #fff;
    text-align: left;
    padding: 12px 18px;
    font-weight: 600;
    font-size: 12.5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.comparison-table th:first-child { border-radius: var(--radius-sm) 0 0 0; }
.comparison-table th:last-child { border-radius: 0 var(--radius-sm) 0 0; }

.comparison-table td { padding: 13px 18px; border-bottom: 1px solid var(--border-light); }
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr:hover { background: var(--primary-light); }

.optidrive-row { background: var(--success-light); }
.optidrive-row:hover { background: #d9f2e3; }

.badge-best, .badge-google, .badge-waze {
    display: inline-block;
    font-weight: 700;
    font-size: 12px;
    padding: 4px 14px;
    border-radius: var(--radius-full);
}

.badge-best { background: var(--gold); color: var(--primary-dark); }
.badge-google { background: #e8f0fe; color: #4285f4; }
.badge-waze { background: #e6fafa; color: #17a1a1; }

.improvement {
    font-weight: 700;
    font-size: 14px;
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    background: var(--success-light);
    color: var(--success);
    display: inline-block;
}

/* ============================================
   ABOUT PAGE (legacy fallback selectors)
   ============================================ */

.about h1 { color: var(--text); font-size: 32px; font-weight: 800; }
.about h1 .highlight { color: var(--secondary); }
.about h2 { color: var(--primary); font-size: 20px; margin-top: 28px; margin-bottom: 8px; }
.about p { color: var(--text-secondary); line-height: 1.8; }
.about ul { padding-left: 24px; color: var(--text-secondary); }
.about ul li { margin-bottom: 4px; line-height: 1.7; }

/* ============================================
   FOOTER - DARK PROFESSIONAL
   ============================================ */

.site-footer {
    background: #0a1628;
    color: rgba(255,255,255,0.7);
    padding: 0;
    margin-top: 40px;
    border-top: none;
    font-size: 14px;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 60px 32px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1.2fr 1.2fr 1.8fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    align-items: start;
}

.footer-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-col h4 {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 10px;
    width: 100%;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
}

.footer-col ul { list-style: none; padding: 0; margin: 0; width: 100%; }
.footer-col ul li { margin-bottom: 10px; }

.footer-col ul li a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-col ul li a i { font-size: 10px; color: var(--gold); opacity: 0.5; transition: var(--transition); }
.footer-col ul li a:hover { color: #fff; transform: translateX(4px); }
.footer-col ul li a:hover i { opacity: 1; }

.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }

.footer-brand-icon {
    width: 44px;
    height: 44px;
    background: var(--gold);
    color: var(--primary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 900;
    flex-shrink: 0;
}

.footer-brand-name { font-size: 24px; font-weight: 800; color: #fff; letter-spacing: -0.5px; }
.footer-brand-name span { color: var(--gold); }

.footer-desc {
    color: rgba(255,255,255,0.5);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 16px;
    max-width: 280px;
}

.footer-social { display: flex; gap: 10px; }

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    text-decoration: none;
    font-size: 15px;
}

.footer-social a:hover {
    background: var(--gold);
    color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(255, 215, 0, 0.3);
}

.footer-contact { list-style: none; padding: 0; margin: 0; width: 100%; }

.footer-contact li {
    color: rgba(255,255,255,0.5);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    padding: 5px 0;
    line-height: 1.5;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.footer-contact li i { color: var(--gold); width: 20px; font-size: 14px; opacity: 0.7; flex-shrink: 0; text-align: center; }

.footer-bottom { padding: 24px 0; text-align: center; }
.footer-bottom-content p { color: rgba(255,255,255,0.4); font-size: 13px; margin: 0; }
.footer-bottom-content .footer-sub { font-size: 12px; margin-top: 6px; opacity: 0.6; color: rgba(255,255,255,0.35); }
.footer-bottom-content .footer-sub i { color: var(--gold); opacity: 0.5; }
.footer-bottom-content strong { color: rgba(255,255,255,0.7); }

/* ============================================
   FOOTER RESPONSIVE (previously missing —
   this is what forced 4 cramped columns and
   horizontal overflow on tablet/mobile)
   ============================================ */

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .footer-col-brand {
        grid-column: 1 / -1;
    }

    .footer-desc {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
    }

    .footer-col {
        align-items: center;
    }

    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-col ul li a {
        justify-content: center;
    }

    .footer-brand {
        justify-content: center;
    }

    .footer-desc {
        max-width: 100%;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-contact li {
        justify-content: center;
        text-align: left;
    }

    .footer-container {
        padding: 40px 20px 0;
        max-width: 100%;
        box-sizing: border-box;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        gap: 20px;
    }

    .footer-bottom-content p {
        font-size: 12px;
    }

    .footer-bottom-content .footer-sub {
        font-size: 11px;
    }

    .footer-container {
        padding: 30px 16px 0;
    }

    .footer-brand-name {
        font-size: 20px;
    }

    .footer-brand-icon {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }

    .footer-social a {
        width: 34px;
        height: 34px;
        font-size: 13px;
    }

    .footer-contact li {
        font-size: 12px;
    }
}

/* ============================================
   RESPONSIVE FOR LOGO
   ============================================ */
@media (max-width: 1024px) {
    .planner-container {
        grid-template-columns: 340px 1fr;
        gap: 24px;
    }
}
@media (max-width: 992px) {
    .planner-container {
        grid-template-columns: 1fr;
        padding: 32px 24px 48px;
    }
    
    .map-container,
    #map-container {
        height: 450px !important;
        min-height: 450px !important;
    }
}

@media (max-width: 768px) {
    .planner-container {
        padding: 24px 16px 40px;
    }
    
    .map-container,
    #map-container {
        height: 350px !important;
        min-height: 350px !important;
    }
}

@media (max-width: 480px) {
    .planner-container {
        padding: 16px 12px 32px;
    }
    
    .map-container,
    #map-container {
        height: 280px !important;
        min-height: 280px !important;
    }
    
    .planner-form-section .form-wrapper {
        padding: 16px;
    }
}

@media (max-width: 992px) {
    .hero-logo-display {
        max-width: 380px;
        height: 380px;
    }

    .logo-outer-ring {
        width: 340px;
        height: 340px;
    }

    .logo-outer-ring-2 {
        width: 300px;
        height: 300px;
    }

    .logo-main-card {
        max-width: 280px;
        padding: 24px 20px 20px;
    }

    .logo-image-wrapper {
        width: 110px;
        height: 110px;
    }

    .logo-image {
        width: 110px;
        height: 110px;
        padding: 12px;
    }

    .logo-info h3 {
        font-size: 22px;
    }

    .logo-particles .particle {
        font-size: 14px !important;
    }
}

@media (max-width: 768px) {
    .hero-logo-display {
        max-width: 320px;
        height: 320px;
    }

    .logo-outer-ring {
        width: 280px;
        height: 280px;
    }

    .logo-outer-ring-2 {
        width: 250px;
        height: 250px;
    }

    .logo-main-card {
        max-width: 240px;
        padding: 20px 16px 16px;
        border-radius: 20px;
    }

    .logo-image-wrapper {
        width: 90px;
        height: 90px;
    }

    .logo-image {
        width: 90px;
        height: 90px;
        padding: 10px;
    }

    .logo-info h3 {
        font-size: 18px;
    }

    .logo-info p {
        font-size: 10px;
    }

    .logo-stats {
        gap: 6px;
        padding-top: 12px;
        margin-top: 12px;
    }

    .logo-stat-number {
        font-size: 13px;
    }

    .logo-stat-label {
        font-size: 8px;
    }

    .logo-particles .particle {
        display: none;
    }

    .orb-1, .orb-2, .orb-3 {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-logo-display {
        max-width: 260px;
        height: 260px;
    }

    .logo-outer-ring {
        width: 230px;
        height: 230px;
    }

    .logo-outer-ring-2 {
        width: 200px;
        height: 200px;
    }

    .logo-main-card {
        max-width: 200px;
        padding: 16px 12px 12px;
        border-radius: 16px;
    }

    .logo-image-wrapper {
        width: 72px;
        height: 72px;
        margin-bottom: 10px;
    }

    .logo-image {
        width: 72px;
        height: 72px;
        padding: 8px;
    }

    .logo-info h3 {
        font-size: 16px;
    }

    .logo-badge {
        font-size: 9px;
        padding: 2px 10px 2px 8px;
        margin-bottom: 10px;
    }

    .logo-stats {
        flex-wrap: wrap;
        gap: 4px;
    }

    .logo-stat-number {
        font-size: 12px;
    }

    .logo-stat-divider {
        height: 16px;
    }

    .logo-card-glow, .logo-card-shine {
        display: none;
    }
}

/* ============================================
   RESPONSIVE - COMPLETE
   ============================================ */

@media (max-width: 1200px) {
    .hero h1 { font-size: 48px; }
    .hero-stats { grid-template-columns: repeat(4, 1fr); }
    .tech-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: repeat(2, 1fr); }
    .partners-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
    .hero-container { grid-template-columns: 1fr; gap: 40px; text-align: center; padding: 20px 24px; }
    .hero .lead { margin: 0 auto 28px; }
    .hero-buttons { justify-content: center; }
    .hero-stats { margin: 32px auto 0; }
    .hero-visual-container { order: -1; margin-bottom: 20px; }
    .hero-graphic { max-width: 320px; height: 300px; }
    .hero-graphic-map { width: 150px; height: 150px; }
    .hero-graphic-map i { font-size: 54px; }
    .rotating-ring { width: 250px; height: 250px; }
    .rotating-ring-2 { width: 290px; height: 290px; }
    .hero h1 { font-size: 42px; }

    .about-grid { grid-template-columns: 1fr 1fr; }
    .features-grid { grid-template-columns: 1fr 1fr; }
    .steps-container::before { display: none; }
    .steps-container { grid-template-columns: 1fr 1fr; gap: 24px; }

    .cta-container { padding: 48px 32px; }
    .cta-container h2 { font-size: 32px; }

    .about-content-grid { grid-template-columns: 1fr; }
    .about-image { order: -1; }
    .team-grid { grid-template-columns: 1fr 1fr; }
    .summary-cards { grid-template-columns: 1fr; }
    .charts-grid { grid-template-columns: 1fr; }
    .conclusion-container { flex-direction: column; }
    .conclusion-stats { grid-template-columns: 1fr 1fr; }

    .planner-container { grid-template-columns: 1fr; }
    .results-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    /* ---- Header/nav: guarantee the hamburger is always on-screen,
       on one row, with zero chance of horizontal wrap/overflow ---- */
    .site-header { width: 100%; max-width: 100vw; overflow: visible; }

    .nav-wrap {
        padding: 10px 16px;
        flex-wrap: nowrap;
        position: relative;
        width: 100%;
        max-width: 100%;
        gap: 8px;
    }

    .brand {
        min-width: 0;
        flex: 1 1 auto;
        overflow: hidden;
    }

    .brand-name {
        font-size: 18px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: inline-block;
        max-width: 140px;
        vertical-align: middle;
    }

    .brand-tag { display: none; }
    .brand-logo { height: 32px; flex-shrink: 0; }

    .menu-toggle {
        display: block;
        flex-shrink: 0;
        margin-left: auto;
    }

    nav {
        display: none;
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background: var(--primary-dark);
        padding: 16px 24px 24px;
        box-shadow: var(--shadow-lg);
        border-radius: 0 0 var(--radius-lg) var(--radius-lg);
        box-sizing: border-box;
        max-height: calc(100vh - 64px);
        overflow-y: auto;
    }

    nav.nav-open { display: flex; }
    nav a { margin: 2px 0; padding: 10px 12px; width: 100%; justify-content: flex-start; }
    nav a::after { display: none; }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        background: rgba(255,255,255,0.05);
        border-radius: var(--radius-sm);
        padding: 4px 0 4px 16px;
        opacity: 1;
        visibility: visible;
        transform: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        border: none;
    }

    .dropdown.dropdown-open .dropdown-menu { max-height: 300px; }
    .dropdown-menu a { color: rgba(255,255,255,0.8) !important; padding: 8px 12px !important; }
    .dropdown-menu a:hover { background: rgba(255,255,255,0.08) !important; color: #fff !important; }
    .dropdown-menu a i { color: rgba(255,255,255,0.5); }

    .nav-cta { margin-top: 8px; text-align: center; }

    .hero { min-height: auto; padding: 100px 0 40px; }
    .hero h1 { font-size: 32px; }
    .hero .lead { font-size: 15px; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 0; padding: 0; }
    .stat-divider:nth-child(2) { display: none; }
    .stat-item { padding: 12px 8px; }
    .stat-number { font-size: 24px; }
    .stat-label { font-size: 10px; }

    .hero-graphic { max-width: 260px; height: 240px; }
    .hero-graphic-map { width: 120px; height: 120px; }
    .hero-graphic-map i { font-size: 44px; }
    .rotating-ring { width: 200px; height: 200px; }
    .rotating-ring-2 { width: 240px; height: 240px; }
    .graphic-float { font-size: 14px !important; }
    .graphic-info { font-size: 10px; padding: 4px 14px; bottom: 5%; }
    .scroll-indicator { display: none; }

    .about-grid { grid-template-columns: 1fr; gap: 16px; }
    .features-section { padding: 40px 16px; }
    .features-grid { grid-template-columns: 1fr; gap: 20px; }
    .feature-card { padding: 24px 20px; }

    .how-section { padding: 40px 16px; }
    .steps-container { grid-template-columns: 1fr; gap: 16px; }
    .step-circle { width: 72px; height: 72px; }
    .step-icon { font-size: 24px; }
    .step-item p { max-width: 100%; }

    .performance-section { padding: 40px 16px; }
    .performance-table { font-size: 12px; }
    .performance-table thead th, .performance-table tbody td { padding: 10px 12px; }
    .perf-improve { font-size: 11px; padding: 2px 8px; }

    .cta-section { padding: 20px 16px 40px; }
    .cta-container { padding: 32px 20px; }
    .cta-container h2 { font-size: 26px; }
    .cta-container p { font-size: 15px; }

    .section-header h2 { font-size: 28px; }
    .section-header p { font-size: 15px; }

    .btn-primary, .btn-secondary { padding: 12px 24px; font-size: 14px; width: 100%; justify-content: center; }
    .hero-buttons { flex-direction: column; width: 100%; }
    .hero-buttons a { width: 100%; justify-content: center; }

    .about-hero, .comparison-header, .planner-header { padding: 120px 20px 56px; }
    .about-hero h1, .comparison-header h1, .planner-header h1 { font-size: 30px; }
    .about-container { padding: 48px 20px; gap: 56px; }
    .about-key-points { grid-template-columns: 1fr; }
    .tech-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr 1fr; }
    .partners-grid { grid-template-columns: 1fr 1fr; }

    .comparison-metrics, .comparison-charts { padding: 48px 16px 0; }
    .comparison-conclusion { padding: 32px 16px 56px; }
    .conclusion-container { padding: 32px 24px; }
    .conclusion-content h3 { font-size: 20px; }
    .conclusion-stats { grid-template-columns: 1fr 1fr; }

    .planner-container { padding: 40px 16px 56px; gap: 24px; }
    .form-wrapper { padding: 24px; }
    .results-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
    .planner-results-section, .planner-comparison-section { padding: 22px 20px; }
    .results-header { flex-direction: column; align-items: flex-start; gap: 10px; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 28px; }
    .stat-number { font-size: 20px; }
    .hero-stats { grid-template-columns: 1fr 1fr; }
    .cta-container h2 { font-size: 22px; }
    .section-header h2 { font-size: 24px; }
    .nav-wrap { padding: 8px 12px; flex-wrap: nowrap; }
    .brand-name { font-size: 16px; max-width: 100px; }
    .brand-logo { height: 28px; }
    .menu-toggle { font-size: 20px; padding: 4px 6px; }

    .hero-graphic { max-width: 200px; height: 180px; }
    .hero-graphic-map { width: 90px; height: 90px; }
    .hero-graphic-map i { font-size: 32px; }
    .rotating-ring { width: 160px; height: 160px; }
    .rotating-ring-2 { width: 190px; height: 190px; }
    .graphic-float { display: none; }

    .contact-grid, .partners-grid, .results-grid, .conclusion-stats { grid-template-columns: 1fr; }
    .about-hero h1, .comparison-header h1, .planner-header h1 { font-size: 26px; }
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
    .site-header { position: static; box-shadow: none; }
    .btn-primary, .btn-secondary { display: none; }
    .site-footer { margin-top: 20px; }
    .hero { min-height: auto; padding: 40px 0; }
    .scroll-indicator { display: none; }
    .hero-bg-shapes { display: none; }
}
/* ============================================
   TEXT-BASED PREMIUM LOGO STYLES
   ============================================ */
/* ============================================
   SIMPLE OD LOGO - NO FLEX CARD
   ============================================ */

/* ===== HERO VISUAL CONTAINER ===== */
.hero-visual-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo-display {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== OUTER RINGS ===== */
.logo-outer-ring {
    position: absolute;
    width: 360px;
    height: 360px;
    border: 1px solid rgba(255, 215, 0, 0.08);
    border-radius: 50%;
    animation: ringSpin 25s linear infinite;
    pointer-events: none;
}

.logo-outer-ring-2 {
    position: absolute;
    width: 320px;
    height: 320px;
    border: 1px dashed rgba(255, 215, 0, 0.05);
    border-radius: 50%;
    animation: ringSpin 35s linear infinite reverse;
    pointer-events: none;
}

.logo-outer-ring-3 {
    position: absolute;
    width: 400px;
    height: 400px;
    border: 1px solid rgba(255, 215, 0, 0.03);
    border-radius: 50%;
    animation: ringSpin 45s linear infinite;
    pointer-events: none;
}

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

/* ===== PARTICLES ===== */
.logo-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.logo-particles .particle {
    position: absolute;
    font-size: 18px;
    color: rgba(255, 215, 0, 0.12);
    animation: particleFloat 8s infinite ease-in-out;
}

.particle.p1 { top: 8%; left: 15%; animation-delay: 0s; font-size: 20px; }
.particle.p2 { top: 12%; right: 10%; animation-delay: -1s; font-size: 16px; }
.particle.p3 { bottom: 25%; left: 8%; animation-delay: -2s; font-size: 22px; }
.particle.p4 { bottom: 15%; right: 12%; animation-delay: -3s; font-size: 18px; }
.particle.p5 { top: 45%; left: 4%; animation-delay: -4s; font-size: 14px; }
.particle.p6 { top: 40%; right: 4%; animation-delay: -5s; font-size: 16px; }
.particle.p7 { bottom: 45%; left: 10%; animation-delay: -6s; font-size: 12px; }
.particle.p8 { bottom: 40%; right: 8%; animation-delay: -7s; font-size: 14px; }

@keyframes particleFloat {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.12; }
    25% { transform: translate(12px, -20px) scale(1.2); opacity: 0.3; }
    50% { transform: translate(-8px, 15px) scale(0.8); opacity: 0.12; }
    75% { transform: translate(16px, 8px) scale(1.1); opacity: 0.25; }
}

/* ===== SIMPLE OD LOGO ===== */
.logo-simple {
    position: relative;
    z-index: 2;
    text-align: center;
}

.logo-circle {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 12px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 215, 0, 0.05));
    border: 2px solid rgba(255, 215, 0, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 60px rgba(255, 215, 0, 0.08);
    transition: all 0.4s ease;
}

.logo-circle:hover {
    transform: scale(1.05);
    border-color: rgba(255, 215, 0, 0.4);
    box-shadow: 0 0 80px rgba(255, 215, 0, 0.15);
}

.logo-od-text {
    font-size: 40px;
    font-weight: 900;
    color: var(--gold);
    letter-spacing: -1px;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.2);
}

.logo-circle-glow {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    animation: glowPulse 3s ease-in-out infinite;
}

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

.logo-simple-info h3 {
    font-size: 30px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
    margin-bottom: 2px;
}

.logo-simple-info h3 span {
    color: var(--gold);
}

.logo-simple-info p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.logo-simple-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 215, 0, 0.08);
    border: 1px solid rgba(255, 215, 0, 0.08);
    border-radius: var(--radius-full);
    padding: 4px 14px 4px 10px;
    margin-top: 10px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
}

.logo-simple-badge .badge-dot {
    width: 6px;
    height: 6px;
    background: #4ade80;
    border-radius: 50%;
    animation: pulseDot 2s infinite;
}

/* ===== FLOATING ORBS ===== */
.floating-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.orb-1 {
    width: 70px;
    height: 70px;
    top: -10px;
    right: 0px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.06) 0%, transparent 70%);
    animation: orbFloat 6s ease-in-out infinite;
}

.orb-2 {
    width: 50px;
    height: 50px;
    bottom: 20px;
    left: -10px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.04) 0%, transparent 70%);
    animation: orbFloat 8s ease-in-out infinite reverse;
    animation-delay: -2s;
}

.orb-3 {
    width: 35px;
    height: 35px;
    top: 50%;
    right: -20px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.03) 0%, transparent 70%);
    animation: orbFloat 10s ease-in-out infinite;
    animation-delay: -4s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.5; }
    50% { transform: translate(-15px, -25px) scale(1.2); opacity: 0.9; }
}

/* ============================================
   SIMPLE OD LOGO - LARGER & IMPROVED COLORS
   ============================================ */

/* ===== HERO VISUAL CONTAINER ===== */
.hero-visual-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo-display {
    position: relative;
    width: 100%;
    max-width: 520px;
    height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== OUTER RINGS - MAS MAKAPAL AT MABRIGTH ===== */
.logo-outer-ring {
    position: absolute;
    width: 460px;
    height: 460px;
    border: 2px solid rgba(255, 215, 0, 0.15);
    border-radius: 50%;
    animation: ringSpin 25s linear infinite;
    pointer-events: none;
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.05);
}

.logo-outer-ring-2 {
    position: absolute;
    width: 410px;
    height: 410px;
    border: 1.5px dashed rgba(255, 215, 0, 0.10);
    border-radius: 50%;
    animation: ringSpin 35s linear infinite reverse;
    pointer-events: none;
}

.logo-outer-ring-3 {
    position: absolute;
    width: 500px;
    height: 500px;
    border: 1px solid rgba(255, 215, 0, 0.04);
    border-radius: 50%;
    animation: ringSpin 45s linear infinite;
    pointer-events: none;
}

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

/* ===== PARTICLES - MAS MABRIGTH ===== */
.logo-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.logo-particles .particle {
    position: absolute;
    font-size: 22px;
    color: rgba(255, 215, 0, 0.20);
    animation: particleFloat 8s infinite ease-in-out;
}

.particle.p1 { top: 8%; left: 15%; animation-delay: 0s; font-size: 24px; }
.particle.p2 { top: 12%; right: 10%; animation-delay: -1s; font-size: 20px; }
.particle.p3 { bottom: 25%; left: 8%; animation-delay: -2s; font-size: 28px; }
.particle.p4 { bottom: 15%; right: 12%; animation-delay: -3s; font-size: 22px; }
.particle.p5 { top: 45%; left: 4%; animation-delay: -4s; font-size: 18px; }
.particle.p6 { top: 40%; right: 4%; animation-delay: -5s; font-size: 20px; }
.particle.p7 { bottom: 45%; left: 10%; animation-delay: -6s; font-size: 16px; }
.particle.p8 { bottom: 40%; right: 8%; animation-delay: -7s; font-size: 18px; }

@keyframes particleFloat {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.15; }
    25% { transform: translate(15px, -25px) scale(1.3); opacity: 0.5; }
    50% { transform: translate(-10px, 18px) scale(0.8); opacity: 0.15; }
    75% { transform: translate(20px, 10px) scale(1.2); opacity: 0.35; }
}

/* ===== SIMPLE OD LOGO - MAS MALAKI ===== */
.logo-simple {
    position: relative;
    z-index: 2;
    text-align: center;
}

.logo-circle {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto 16px;
    background: linear-gradient(145deg, rgba(255, 215, 0, 0.20), rgba(255, 215, 0, 0.05));
    border: 3px solid rgba(255, 215, 0, 0.35);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 0 80px rgba(255, 215, 0, 0.12),
        inset 0 0 60px rgba(255, 215, 0, 0.05);
    transition: all 0.5s ease;
}

.logo-circle:hover {
    transform: scale(1.06);
    border-color: rgba(255, 215, 0, 0.6);
    box-shadow: 
        0 0 100px rgba(255, 215, 0, 0.25),
        inset 0 0 80px rgba(255, 215, 0, 0.08);
}

/* Gold Gradient Text */
.logo-od-text {
    font-size: 54px;
    font-weight: 900;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4a 30%, #f5a623 60%, #ffd700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -2px;
    filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.3));
    animation: textShine 3s ease-in-out infinite;
}

@keyframes textShine {
    0%, 100% { filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.3)); }
    50% { filter: drop-shadow(0 0 60px rgba(255, 215, 0, 0.6)); }
}

.logo-circle-glow {
    position: absolute;
    top: -30px;
    right: -30px;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.10) 0%, transparent 70%);
    border-radius: 50%;
    animation: glowPulse 3s ease-in-out infinite;
}

.logo-circle-glow-2 {
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    animation: glowPulse 4s ease-in-out infinite reverse;
}

@keyframes glowPulse {
    0%, 100% { transform: scale(0.8); opacity: 0.5; }
    50% { transform: scale(1.3); opacity: 1; }
}

/* Logo Info - MAS MALAKI */
.logo-simple-info h3 {
    font-size: 38px;
    font-weight: 900;
    color: #fff;
    letter-spacing: -1px;
    margin-bottom: 2px;
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.05);
}

.logo-simple-info h3 span {
    background: linear-gradient(135deg, #ffd700, #ffed4a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.2));
}

.logo-simple-info p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* Logo Badge - MAS MALAKI AT MAS MAGANDA */
.logo-simple-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.12), rgba(255, 215, 0, 0.04));
    border: 1px solid rgba(255, 215, 0, 0.12);
    border-radius: var(--radius-full);
    padding: 6px 18px 6px 12px;
    margin-top: 14px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 215, 0, 0.7);
}

.logo-simple-badge .badge-dot {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    animation: pulseDot 2s infinite;
    box-shadow: 0 0 12px rgba(74, 222, 128, 0.3);
}

/* ===== FLOATING ORBS - MAS MALAKI ===== */
.floating-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.orb-1 {
    width: 100px;
    height: 100px;
    top: -20px;
    right: -10px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.08) 0%, transparent 70%);
    animation: orbFloat 6s ease-in-out infinite;
}

.orb-2 {
    width: 70px;
    height: 70px;
    bottom: 20px;
    left: -20px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.05) 0%, transparent 70%);
    animation: orbFloat 8s ease-in-out infinite reverse;
    animation-delay: -2s;
}

.orb-3 {
    width: 50px;
    height: 50px;
    top: 50%;
    right: -30px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.04) 0%, transparent 70%);
    animation: orbFloat 10s ease-in-out infinite;
    animation-delay: -4s;
}

.orb-4 {
    width: 40px;
    height: 40px;
    top: 20%;
    left: -15px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.03) 0%, transparent 70%);
    animation: orbFloat 7s ease-in-out infinite;
    animation-delay: -1s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.4; }
    50% { transform: translate(-20px, -30px) scale(1.2); opacity: 0.8; }
}

/* ============================================
   RESPONSIVE FOR LARGER LOGO
   ============================================ */

@media (max-width: 992px) {
    .hero-logo-display {
        max-width: 400px;
        height: 400px;
    }

    .logo-outer-ring {
        width: 350px;
        height: 350px;
    }

    .logo-outer-ring-2 {
        width: 310px;
        height: 310px;
    }

    .logo-outer-ring-3 {
        width: 390px;
        height: 390px;
    }

    .logo-circle {
        width: 130px;
        height: 130px;
    }

    .logo-od-text {
        font-size: 44px;
    }

    .logo-simple-info h3 {
        font-size: 30px;
    }

    .logo-simple-info p {
        font-size: 12px;
    }

    .orb-1 { width: 70px; height: 70px; }
    .orb-2 { width: 50px; height: 50px; }
    .orb-3 { width: 35px; height: 35px; }
    .orb-4 { display: none; }
}

@media (max-width: 768px) {
    .hero-logo-display {
        max-width: 320px;
        height: 320px;
    }

    .logo-outer-ring {
        width: 280px;
        height: 280px;
    }

    .logo-outer-ring-2 {
        width: 250px;
        height: 250px;
    }

    .logo-outer-ring-3 {
        width: 310px;
        height: 310px;
    }

    .logo-circle {
        width: 110px;
        height: 110px;
    }

    .logo-od-text {
        font-size: 36px;
    }

    .logo-simple-info h3 {
        font-size: 24px;
    }

    .logo-simple-info p {
        font-size: 10px;
        letter-spacing: 2px;
    }

    .logo-simple-badge {
        font-size: 11px;
        padding: 4px 14px 4px 10px;
    }

    .logo-particles .particle {
        display: none;
    }

    .orb-1, .orb-2, .orb-3 {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-logo-display {
        max-width: 240px;
        height: 240px;
    }

    .logo-outer-ring {
        width: 210px;
        height: 210px;
    }

    .logo-outer-ring-2 {
        width: 185px;
        height: 185px;
    }

    .logo-outer-ring-3 {
        width: 235px;
        height: 235px;
    }

    .logo-circle {
        width: 80px;
        height: 80px;
        border-width: 2px;
    }

    .logo-od-text {
        font-size: 28px;
    }

    .logo-simple-info h3 {
        font-size: 20px;
    }

    .logo-simple-info p {
        font-size: 9px;
        letter-spacing: 1px;
    }

    .logo-simple-badge {
        font-size: 10px;
        padding: 3px 10px 3px 8px;
        gap: 6px;
    }

    .logo-circle-glow, .logo-circle-glow-2 {
        display: none;
    }
}
/* ============================================
   ROUTE PLANNER - FULL WIDTH BLUE HEADER
   ============================================ */

/* ===== FULL WIDTH PAGE HEADER ===== */
.planner-header-full {
    position: relative;
    background: var(--primary-gradient);
    overflow: hidden;
    padding: 160px 32px 80px;
    text-align: center;
    color: #fff;
    width: 100%;
    margin: 0;
    padding-left: 0;
    padding-right: 0;
}

/* Remove any container constraints */
.planner-header-full .planner-header-content-full {
    position: relative;
    max-width: 860px;
    margin: 0 auto;
    padding: 0 24px;
    z-index: 2;
}

/* ===== HEADER BACKGROUND EFFECTS ===== */
.planner-header-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.header-bg-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.header-bg-shapes .hshape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    animation: hfloatShape 25s infinite ease-in-out;
}

.hshape-1 { width: 600px; height: 600px; top: -250px; right: -150px; animation-delay: 0s; }
.hshape-2 { width: 400px; height: 400px; bottom: -150px; left: -100px; animation-delay: -6s; }
.hshape-3 { width: 250px; height: 250px; top: 30%; right: 20%; animation-delay: -12s; }
.hshape-4 { width: 180px; height: 180px; bottom: 20%; left: 15%; animation-delay: -18s; }

@keyframes hfloatShape {
    0%, 100% { transform: translate(0,0) scale(1) rotate(0deg); }
    25% { transform: translate(50px,-60px) scale(1.1) rotate(10deg); }
    50% { transform: translate(-40px,40px) scale(0.9) rotate(-10deg); }
    75% { transform: translate(40px,50px) scale(1.05) rotate(5deg); }
}

.header-grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

/* ===== PAGE BADGE ===== */
.planner-header-full .page-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 8px 22px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
    border: 1px solid rgba(255,255,255,0.15);
}

/* ===== HEADER CONTENT ===== */
.planner-header-content-full h1 {
    font-size: 48px;
    font-weight: 900;
    letter-spacing: -1.5px;
    line-height: 1.15;
    margin-bottom: 16px;
}

.planner-header-content-full h1 .highlight {
    color: var(--gold);
}

.planner-header-content-full .lead {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255,255,255,0.82);
    max-width: 660px;
    margin: 0 auto;
}

.planner-header-content-full .lead strong {
    color: var(--gold);
}

/* ============================================
   MAIN CONTENT - FULL WIDTH
   ============================================ */

.planner-page {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    background: var(--bg-white);
}

.planner-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 56px 32px 88px;
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 32px;
    align-items: start;
}

/* ============================================
   RESPONSIVE FOR FULL WIDTH HEADER
   ============================================ */

@media (max-width: 992px) {
    .planner-header-full {
        padding: 140px 24px 60px;
    }

    .planner-header-content-full h1 {
        font-size: 38px;
    }

    .planner-header-content-full .lead {
        font-size: 16px;
    }

    .planner-container {
        grid-template-columns: 1fr;
        padding: 40px 24px 60px;
    }
}

@media (max-width: 768px) {
    .planner-header-full {
        padding: 120px 16px 48px;
    }

    .planner-header-content-full h1 {
        font-size: 30px;
    }

    .planner-header-content-full .lead {
        font-size: 15px;
    }

    .planner-header-full .page-badge {
        font-size: 10px;
        padding: 6px 16px;
    }

    .planner-container {
        padding: 32px 16px 48px;
        gap: 24px;
    }

    .hshape-1, .hshape-2 {
        display: none;
    }
}

@media (max-width: 480px) {
    .planner-header-full {
        padding: 100px 12px 40px;
    }

    .planner-header-content-full h1 {
        font-size: 26px;
    }

    .planner-header-content-full .lead {
        font-size: 14px;
    }

    .planner-container {
        padding: 24px 12px 40px;
    }
}

/* ============================================
   REMOVE OLD PLANNER HEADER STYLES (if any)
   ============================================ */

/* Override old styles to prevent conflicts */
.planner-header {
    display: none;
}
/* ============================================
   COMPARISON PAGE - FULL WIDTH BLUE HEADER
   ============================================ */

/* ===== FULL WIDTH PAGE HEADER ===== */
.comparison-header-full {
    position: relative;
    background: var(--primary-gradient);
    overflow: hidden;
    padding: 160px 32px 80px;
    text-align: center;
    color: #fff;
    width: 100%;
    margin: 0;
    padding-left: 0;
    padding-right: 0;
}

/* Remove any container constraints */
.comparison-header-full .comparison-header-content-full {
    position: relative;
    max-width: 860px;
    margin: 0 auto;
    padding: 0 24px;
    z-index: 2;
}

/* ===== HEADER BACKGROUND EFFECTS ===== */
.comparison-header-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.cheader-bg-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.cheader-bg-shapes .cshape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    animation: cfloatShape 25s infinite ease-in-out;
}

.cshape-1 { width: 600px; height: 600px; top: -250px; right: -150px; animation-delay: 0s; }
.cshape-2 { width: 400px; height: 400px; bottom: -150px; left: -100px; animation-delay: -6s; }
.cshape-3 { width: 250px; height: 250px; top: 30%; right: 20%; animation-delay: -12s; }
.cshape-4 { width: 180px; height: 180px; bottom: 20%; left: 15%; animation-delay: -18s; }

@keyframes cfloatShape {
    0%, 100% { transform: translate(0,0) scale(1) rotate(0deg); }
    25% { transform: translate(50px,-60px) scale(1.1) rotate(10deg); }
    50% { transform: translate(-40px,40px) scale(0.9) rotate(-10deg); }
    75% { transform: translate(40px,50px) scale(1.05) rotate(5deg); }
}

.cheader-grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

/* ===== PAGE BADGE ===== */
.comparison-header-full .page-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 8px 22px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
    border: 1px solid rgba(255,255,255,0.15);
}

/* ===== HEADER CONTENT ===== */
.comparison-header-content-full h1 {
    font-size: 48px;
    font-weight: 900;
    letter-spacing: -1.5px;
    line-height: 1.15;
    margin-bottom: 16px;
}

.comparison-header-content-full h1 .highlight {
    color: var(--gold);
}

.comparison-header-content-full .lead {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255,255,255,0.82);
    max-width: 720px;
    margin: 0 auto;
}

.comparison-header-content-full .lead strong {
    color: var(--gold);
}

/* ===== MAIN CONTENT - FULL WIDTH ===== */
.comparison-page {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    background: var(--bg-white);
}

.comparison-metrics {
    max-width: 1280px;
    margin: 0 auto;
    padding: 72px 32px 0;
}

.comparison-charts {
    max-width: 1280px;
    margin: 0 auto;
    padding: 72px 32px 0;
}

.comparison-conclusion {
    max-width: 1280px;
    margin: 0 auto;
    padding: 48px 32px 88px;
}

/* ============================================
   RESPONSIVE FOR FULL WIDTH HEADER
   ============================================ */

@media (max-width: 992px) {
    .comparison-header-full {
        padding: 140px 24px 60px;
    }

    .comparison-header-content-full h1 {
        font-size: 38px;
    }

    .comparison-header-content-full .lead {
        font-size: 16px;
    }

    .comparison-metrics,
    .comparison-charts {
        padding: 48px 24px 0;
    }

    .comparison-conclusion {
        padding: 32px 24px 60px;
    }
}

@media (max-width: 768px) {
    .comparison-header-full {
        padding: 120px 16px 48px;
    }

    .comparison-header-content-full h1 {
        font-size: 30px;
    }

    .comparison-header-content-full .lead {
        font-size: 15px;
    }

    .comparison-header-full .page-badge {
        font-size: 10px;
        padding: 6px 16px;
    }

    .comparison-metrics,
    .comparison-charts {
        padding: 40px 16px 0;
    }

    .comparison-conclusion {
        padding: 24px 16px 48px;
    }

    .cshape-1, .cshape-2 {
        display: none;
    }
}

@media (max-width: 480px) {
    .comparison-header-full {
        padding: 100px 12px 40px;
    }

    .comparison-header-content-full h1 {
        font-size: 26px;
    }

    .comparison-header-content-full .lead {
        font-size: 14px;
    }

    .comparison-metrics,
    .comparison-charts {
        padding: 32px 12px 0;
    }

    .comparison-conclusion {
        padding: 16px 12px 40px;
    }
}

/* ============================================
   REMOVE OLD COMPARISON HEADER STYLES
   ============================================ */

/* Override old styles to prevent conflicts */
.comparison-header {
    display: none;
}
.logo-od-container {
    position: relative;
    z-index: 2;
    text-align: center;
}

/* Full Yellow Circle - Same as Footer */
.logo-od-circle {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto 16px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 0 60px rgba(255, 215, 0, 0.3),
        0 0 120px rgba(255, 215, 0, 0.15),
        inset 0 -4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
}

.logo-od-circle:hover {
    transform: scale(1.06);
    box-shadow: 
        0 0 80px rgba(255, 215, 0, 0.5),
        0 0 160px rgba(255, 215, 0, 0.25),
        inset 0 -4px 8px rgba(0, 0, 0, 0.1);
}

/* "OD" Text - Dark color for contrast */
.logo-od-text-full {
    font-size: 54px;
    font-weight: 900;
    color: var(--primary-dark);
    letter-spacing: -2px;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.3);
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
}

/* Glow effect around the circle */
.logo-od-glow {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 70px;
    height: 70px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: odGlowPulse 3s ease-in-out infinite;
}

.logo-od-glow-2 {
    position: absolute;
    bottom: -10px;
    left: -10px;
    width: 50px;
    height: 50px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: odGlowPulse 4s ease-in-out infinite reverse;
}

@keyframes odGlowPulse {
    0%, 100% { transform: scale(0.8); opacity: 0.5; }
    50% { transform: scale(1.4); opacity: 1; }
}

/* Logo Info */
.logo-od-info h3 {
    font-size: 38px;
    font-weight: 900;
    color: #fff;
    letter-spacing: -1px;
    margin-bottom: 2px;
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.05);
}

.logo-od-info h3 span {
    color: var(--gold);
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.2);
}

.logo-od-info p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* Logo Badge */
.logo-od-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 215, 0, 0.12);
    border: 1px solid rgba(255, 215, 0, 0.12);
    border-radius: var(--radius-full);
    padding: 6px 18px 6px 12px;
    margin-top: 14px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 215, 0, 0.7);
}

.logo-od-badge .badge-dot {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    animation: pulseDot 2s infinite;
    box-shadow: 0 0 12px rgba(74, 222, 128, 0.3);
}

/* ===== FLOATING ORBS ===== */
.floating-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.orb-1 {
    width: 100px;
    height: 100px;
    top: -20px;
    right: -10px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.08) 0%, transparent 70%);
    animation: orbFloat 6s ease-in-out infinite;
}

.orb-2 {
    width: 70px;
    height: 70px;
    bottom: 20px;
    left: -20px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.05) 0%, transparent 70%);
    animation: orbFloat 8s ease-in-out infinite reverse;
    animation-delay: -2s;
}

.orb-3 {
    width: 50px;
    height: 50px;
    top: 50%;
    right: -30px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.04) 0%, transparent 70%);
    animation: orbFloat 10s ease-in-out infinite;
    animation-delay: -4s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.4; }
    50% { transform: translate(-20px, -30px) scale(1.2); opacity: 0.8; }
}

/* ============================================
   RESPONSIVE FOR OD LOGO
   ============================================ */

@media (max-width: 992px) {
    .hero-logo-display {
        max-width: 400px;
        height: 400px;
    }

    .logo-outer-ring {
        width: 350px;
        height: 350px;
    }

    .logo-outer-ring-2 {
        width: 310px;
        height: 310px;
    }

    .logo-outer-ring-3 {
        width: 390px;
        height: 390px;
    }

    .logo-od-circle {
        width: 130px;
        height: 130px;
    }

    .logo-od-text-full {
        font-size: 44px;
    }

    .logo-od-info h3 {
        font-size: 30px;
    }

    .logo-od-info p {
        font-size: 12px;
    }

    .orb-1 { width: 70px; height: 70px; }
    .orb-2 { width: 50px; height: 50px; }
    .orb-3 { width: 35px; height: 35px; }
}

@media (max-width: 768px) {
    .hero-logo-display {
        max-width: 320px;
        height: 320px;
    }

    .logo-outer-ring {
        width: 280px;
        height: 280px;
    }

    .logo-outer-ring-2 {
        width: 250px;
        height: 250px;
    }

    .logo-outer-ring-3 {
        width: 310px;
        height: 310px;
    }

    .logo-od-circle {
        width: 110px;
        height: 110px;
    }

    .logo-od-text-full {
        font-size: 36px;
    }

    .logo-od-info h3 {
        font-size: 24px;
    }

    .logo-od-info p {
        font-size: 10px;
        letter-spacing: 2px;
    }

    .logo-od-badge {
        font-size: 11px;
        padding: 4px 14px 4px 10px;
    }

    .logo-particles .particle {
        display: none;
    }

    .orb-1, .orb-2, .orb-3 {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-logo-display {
        max-width: 240px;
        height: 240px;
    }

    .logo-outer-ring {
        width: 210px;
        height: 210px;
    }

    .logo-outer-ring-2 {
        width: 185px;
        height: 185px;
    }

    .logo-outer-ring-3 {
        width: 235px;
        height: 235px;
    }

    .logo-od-circle {
        width: 80px;
        height: 80px;
    }

    .logo-od-text-full {
        font-size: 28px;
    }

    .logo-od-info h3 {
        font-size: 20px;
    }

    .logo-od-info p {
        font-size: 9px;
        letter-spacing: 1px;
    }

    .logo-od-badge {
        font-size: 10px;
        padding: 3px 10px 3px 8px;
        gap: 6px;
    }

    .logo-od-glow, .logo-od-glow-2 {
        display: none;
    }
}
/* ============================================
   IDAGDAG SA DULO NG style.css
   1) Compact, single-line, horizontal info cards
   2) Recent Searches panel
   ============================================ */

/* --- Compact horizontal info cards (overrides the old stacked version) --- */
.planner-info-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.info-icon {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.info-line {
    margin: 0;
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.info-line strong {
    color: var(--text);
    font-size: 12.5px;
}

@media (max-width: 768px) {
    .planner-info-cards {
        grid-template-columns: 1fr;
    }
    .info-line {
        white-space: normal;
    }
}

/* --- Recent Searches panel --- */
.recent-searches {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 16px 18px;
    box-shadow: var(--shadow-sm);
}

.recent-searches h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
}

.recent-searches h4 i { color: var(--primary); }

.recent-searches-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.recent-search-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    background: var(--bg-alt);
    cursor: pointer;
    transition: var(--transition);
}

.recent-search-item:hover {
    background: var(--primary-light);
}

.recent-search-item i {
    color: var(--primary);
    font-size: 13px;
    flex-shrink: 0;
}

.recent-search-text {
    flex: 1;
    font-size: 12.5px;
    color: var(--text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.recent-search-meta {
    font-size: 11px;
    color: var(--text-light);
    flex-shrink: 0;
}
/* ============================================
   MAP MODAL - FULL SCREEN MAP VIEW
   ============================================ */

/* View Map Button */
.btn-view-map {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: #fff;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    border: none;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 12px;
    box-shadow: 0 4px 16px rgba(11, 61, 145, 0.25);
}

.btn-view-map:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(11, 61, 145, 0.35);
    background: var(--primary-dark);
}

.btn-view-map i {
    font-size: 14px;
}

/* Modal Overlay */
.map-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 24px;
    animation: modalFadeIn 0.3s ease-out;
}

.map-modal.active {
    display: flex;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Modal Content */
.map-modal-content {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 1200px;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.map-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    background: var(--primary);
    color: #fff;
    flex-shrink: 0;
}

.map-modal-header h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.map-modal-header h3 i {
    color: var(--gold);
}

.map-modal-close {
    background: rgba(255, 255, 255, 0.12);
    border: none;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-modal-close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(90deg);
}

/* Modal Body */
.map-modal-body {
    flex: 1;
    padding: 16px;
    background: var(--bg);
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow: hidden;
}

#map-modal-container {
    flex: 1;
    min-height: 500px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-light);
    background: #f0f0f0;
}

.map-container-full {
    height: 100%;
    width: 100%;
    min-height: 500px;
}

/* Modal Legend */
.map-modal-legend {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    padding: 10px 0;
    font-size: 13px;
    color: var(--text-secondary);
    flex-shrink: 0;
}

.map-modal-legend span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.legend-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: inline-block;
}

.legend-dot.start {
    background: #2ecc71;
    border: 2px solid #27ae60;
}
.legend-dot.destination {
    background: #e74c3c;
    border: 2px solid #c0392b;
}
.legend-dot.route {
    width: 30px;
    height: 4px;
    border-radius: 2px;
    background: #e74c3c;
}
.legend-dot.hospital {
    background: #3498db;
    border: 2px solid #2980b9;
}

/* ============================================
   RESPONSIVE FOR MAP MODAL
   ============================================ */

@media (max-width: 768px) {
    .map-modal {
        padding: 12px;
    }

    .map-modal-content {
        max-height: 95vh;
    }

    .map-modal-header {
        padding: 12px 16px;
    }

    .map-modal-header h3 {
        font-size: 15px;
    }

    .map-modal-body {
        padding: 12px;
    }

    #map-modal-container,
    .map-container-full {
        min-height: 350px;
    }

    .map-modal-legend {
        gap: 12px;
        font-size: 12px;
    }

    .btn-view-map {
        width: 100%;
        justify-content: center;
        padding: 12px 16px;
    }
}

@media (max-width: 480px) {
    #map-modal-container,
    .map-container-full {
        min-height: 280px;
    }

    .map-modal-legend {
        gap: 8px;
        font-size: 11px;
    }

    .map-modal-legend span {
        gap: 4px;
    }

    .legend-dot {
        width: 10px;
        height: 10px;
    }

    .legend-dot.route {
        width: 20px;
        height: 3px;
    }
}

/* ============================================
   ENHANCED MAP CONTAINER
   ============================================ */


.planner-map-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 550px;
}


.map-container {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    height: 550px;
    min-height: 550px;
    width: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    flex: 1;
}


.map-container .map-loading {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--text-light);
    font-size: 14px;
}

.map-container .map-loading i {
    font-size: 48px;
    color: var(--border);
    animation: pulse 2s infinite;
}

/* Map container should take full width */
#map-container {
    height: 550px !important;
    min-height: 550px !important;
    width: 100% !important;
}

#map-container .leaflet-container {
    height: 100% !important;
    width: 100% !important;
}


/* ============================================
   RESPONSIVE FOR MAP
   ============================================ */

@media (max-width: 768px) {
    .map-container,
    #map-container {
        min-height: 320px !important;
        height: 320px !important;
    }
}

@media (max-width: 480px) {
    .map-container,
    #map-container {
        min-height: 260px !important;
        height: 260px !important;
    }
}
/* ============================================
   SEARCH BAR STYLES
   ============================================ */

.search-container {
    position: relative;
    margin-bottom: 18px;
}

.search-wrapper {
    display: flex;
    align-items: center;
    background: var(--bg-white);
    border: 2px solid var(--border);
    border-radius: var(--radius-full);
    transition: var(--transition);
    overflow: hidden;
}

.search-wrapper:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(11, 61, 145, 0.12);
}

.search-icon {
    padding: 0 12px 0 16px;
    color: var(--text-light);
    font-size: 14px;
}

.search-input {
    flex: 1;
    padding: 10px 0;
    border: none;
    outline: none;
    font-size: 14px;
    font-family: var(--font);
    color: var(--text);
    background: transparent;
}

.search-input::placeholder {
    color: var(--text-light);
}

.search-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 10px 18px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
}

.search-btn:hover {
    background: var(--primary-dark);
}

/* Search Results Dropdown */
.search-results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    max-height: 300px;
    overflow-y: auto;
    z-index: 100;
    padding: 4px;
}

.search-results::-webkit-scrollbar {
    width: 4px;
}
.search-results::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 2px;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.search-result-item:hover {
    background: var(--primary-light);
}

.search-result-item .result-icon {
    font-size: 18px;
}

.search-result-item .result-name {
    flex: 1;
    font-size: 14px;
    color: var(--text);
    font-weight: 500;
}

.search-result-item .result-type {
    font-size: 11px;
    color: var(--text-light);
    background: var(--bg-alt);
    padding: 2px 10px;
    border-radius: var(--radius-full);
}

.search-result-item.no-result {
    justify-content: center;
    color: var(--text-light);
    font-size: 14px;
    cursor: default;
}

.search-result-item.no-result:hover {
    background: transparent;
}

/* Search Marker on Map */
.search-marker {
    font-size: 24px;
    animation: bounceMarker 1s ease-in-out infinite;
}

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

/* ============================================
   RESPONSIVE FOR SEARCH BAR
   ============================================ */

@media (max-width: 768px) {
    .search-wrapper {
        border-radius: var(--radius-sm);
    }
    
    .search-input {
        font-size: 13px;
        padding: 8px 0;
    }
    
    .search-btn {
        padding: 8px 14px;
        font-size: 13px;
    }
    
    .search-results {
        max-height: 220px;
    }
    
    .search-result-item {
        padding: 8px 12px;
    }
    
    .search-result-item .result-name {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .search-icon {
        padding: 0 8px 0 12px;
        font-size: 12px;
    }
    
    .search-input {
        font-size: 12px;
        padding: 6px 0;
    }
    
    .search-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .search-result-item {
        padding: 6px 10px;
        flex-wrap: wrap;
    }
    
    .search-result-item .result-name {
        font-size: 12px;
    }
}
/* ============================================
   MODAL ZOOM CONTROLS
   ============================================ */

.modal-zoom-controls {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-shrink: 0;
    padding: 8px 0 4px;
}

.zoom-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.zoom-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(11, 61, 145, 0.25);
}

.zoom-btn i {
    font-size: 13px;
}

/* ============================================
   RESPONSIVE FOR ZOOM CONTROLS
   ============================================ */

@media (max-width: 768px) {
    .modal-zoom-controls {
        flex-wrap: wrap;
        gap: 6px;
    }
    
    .zoom-btn {
        padding: 6px 12px;
        font-size: 12px;
        flex: 1;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .zoom-btn {
        font-size: 11px;
        padding: 5px 10px;
    }
}
/* ============================================
   MODAL RESULTS STYLES
   ============================================ */
/* ============================================
   MODAL SUMMARY STYLES
   ============================================ */

.modal-summary {
    background: linear-gradient(135deg, var(--primary-light), #ffffff);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    margin: 0 0 12px 0;
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-sm);
    animation: fadeInUp 0.3s ease-out;
}

.modal-summary-header h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-summary-locations {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.7);
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.modal-location {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    min-width: 100px;
}

.modal-location-icon {
    font-size: 18px;
}

.modal-location-label {
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
}

.modal-location-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.modal-location-arrow {
    color: var(--gold);
    font-size: 16px;
    flex-shrink: 0;
}

.modal-summary-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

.modal-summary-item {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.6);
    padding: 8px 10px;
    border-radius: var(--radius-sm);
    text-align: center;
}

.modal-summary-label {
    font-size: 9px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.modal-summary-value {
    font-size: 16px;
    font-weight: 800;
    color: var(--text);
    line-height: 1.3;
}

.modal-unit {
    font-size: 11px;
    font-weight: 400;
    color: var(--text-light);
}

/* ============================================
   MODAL ZOOM CONTROLS
   ============================================ */

.modal-zoom-controls {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-shrink: 0;
    padding: 8px 0 4px;
}

.zoom-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.zoom-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(11, 61, 145, 0.25);
}

.zoom-btn i {
    font-size: 13px;
}

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

@media (max-width: 992px) {
    .modal-summary-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .modal-summary-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .modal-summary-locations {
        flex-direction: column;
        text-align: center;
    }
    
    .modal-location-arrow {
        transform: rotate(90deg);
    }
    
    .modal-zoom-controls {
        flex-wrap: wrap;
        gap: 6px;
    }
    
    .zoom-btn {
        padding: 6px 12px;
        font-size: 12px;
        flex: 1;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .modal-summary-grid {
        grid-template-columns: 1fr 1fr;
        gap: 6px;
    }
    
    .modal-summary-value {
        font-size: 14px;
    }
    
    .zoom-btn {
        font-size: 11px;
        padding: 5px 10px;
    }
    
    .modal-location-name {
        font-size: 12px;
    }
}

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