/* CSS Variables for Brand Colors and Design System */
:root {
    --primary-black: #000000;
    --primary-dark: #1a1a1a;
    --primary-gray: #333333;
    --medium-gray: #666666;
    --light-gray: #f5f5f5;
    --baby-blue: #87CEEB;
    --accent-blue: #5DADE2;
    --yellow: #FFD700;
    --accent-yellow: #FFA500;
    --white: #ffffff;

    --font-primary: 'Inter', sans-serif;

    --border-radius: 12px;
    --border-radius-lg: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 16px 64px rgba(0, 0, 0, 0.25);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

p {
    margin-bottom: 1rem;
    color: var(--medium-gray);
}

a {
    color: var(--accent-blue);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--baby-blue);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: nowrap;
}

.logo-img {
    width: 36px;
    height: 36px;
    max-width: 36px;
    max-height: 36px;
    flex-shrink: 0;
    object-fit: contain;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    background: linear-gradient(135deg, var(--baby-blue), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-link {
    text-decoration: none;
    color: var(--primary-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--baby-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--baby-blue);
    transition: var(--transition);
}

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

.nav-link.active {
    color: var(--accent-blue);
}

.nav-cta {
    background: linear-gradient(135deg, var(--baby-blue), var(--accent-blue));
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-black);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

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

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

.hero-title {
    margin-bottom: 1.5rem;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1.1;
}

.text-gradient {
    background: linear-gradient(135deg, var(--baby-blue), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--medium-gray);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

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

.knight-container {
    width: 100%;
    max-width: 480px;
    filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.12));
    transition: transform 0.3s ease;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 16px;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--baby-blue), var(--accent-blue));
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--primary-black);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--accent-blue);
    border: 2px solid var(--accent-blue);
}

.btn-outline:hover {
    background: var(--accent-blue);
    color: var(--white);
    transform: translateY(-2px);
}

/* Section Styles */
section {
    padding: 80px 0;
}

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

.section-header h2 {
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.section-header p {
    font-size: 1.2rem;
    color: var(--medium-gray);
}

.section-title {
    text-align: center;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: var(--medium-gray);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* How It Works */
.how-it-works {
    background: var(--light-gray);
}

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

.step-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--baby-blue), var(--accent-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.step-title {
    font-size: 1.25rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.step-description {
    color: var(--medium-gray);
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
}

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

.stat-card {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--baby-blue);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--medium-gray);
}

.stats-disclaimer {
    font-size: 0.8rem;
    color: var(--medium-gray);
    opacity: 0.7;
    margin-top: 0.5rem;
    text-align: center;
}

/* Features Section */
.features {
    background: var(--white);
}

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

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.feature-card:hover {
    background: var(--light-gray);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    width: 60px;
    height: 60px;
    margin-left: auto;
    margin-right: auto;
    background: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-blue);
}

.feature-title {
    font-size: 1.25rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.feature-description {
    color: var(--medium-gray);
}

/* Service Info Section (Fleetz details) */
.service-info-section {
    padding: 80px 0;
    background: var(--white);
}

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

.service-row:last-child {
    margin-bottom: 0;
}

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

.service-knight {
    width: 100%;
    max-width: 540px;
    height: auto;
    filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.12));
    transition: transform 0.3s ease;
}

.service-row:hover .service-knight {
    transform: scale(1.05);
}

.service-info h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.service-info > p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--medium-gray);
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    margin: 0 0 2rem 0;
    padding: 0;
}

.service-features li {
    padding: 0.6rem 0;
    color: var(--medium-gray);
    position: relative;
    padding-left: 1.8rem;
    font-size: 1rem;
}

.service-features li::before {
    content: "✓";
    color: var(--accent-blue);
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.1rem;
}

.service-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Zones Section */
.zones {
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
}

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

.zone-map {
    height: 450px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 2px solid rgba(0, 0, 0, 0.08);
    position: relative;
    cursor: pointer;
}

.zone-map .leaflet-container {
    height: 100%;
    width: 100%;
    border-radius: var(--border-radius-lg);
}

.zone-map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    cursor: pointer;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 1rem;
}

.zone-map-overlay span {
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 8px 20px;
    border-radius: 24px;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: var(--font-primary);
    transition: opacity 0.3s ease;
    white-space: nowrap;
}

.zone-map-overlay:hover span {
    opacity: 0.7;
}

/* Full Page Zone Map Overlay */
.zone-fullmap {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    background: var(--white);
    flex-direction: column;
}

.zone-fullmap.active {
    display: flex;
}

.zone-fullmap-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: var(--white);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    z-index: 10;
}

.zone-fullmap-header h3 {
    font-size: 1.1rem;
    margin: 0;
    color: var(--primary-dark);
}

.zone-fullmap-back {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    background: none;
    border: 2px solid var(--baby-blue);
    color: var(--baby-blue);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: var(--font-primary);
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.zone-fullmap-back:hover {
    background: var(--baby-blue);
    color: var(--white);
}

.zone-fullmap-map {
    flex: 1;
    width: 100%;
}

.zone-fullmap-map .leaflet-container {
    height: 100%;
    width: 100%;
}

/* Zone Popup Styles */
.zone-popup-title {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
    font-family: var(--font-primary);
}

.zone-popup-table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--font-primary);
    font-size: 0.85rem;
}

.zone-popup-table th {
    text-align: left;
    padding: 4px 8px 4px 0;
    color: var(--medium-gray);
    font-weight: 600;
    border-bottom: 1px solid #eee;
}

.zone-popup-table td {
    padding: 4px 8px 4px 0;
    border-bottom: 1px solid #f5f5f5;
}

.zone-popup-table td:last-child {
    text-align: right;
    font-weight: 600;
}

.zone-popup-realtime {
    color: var(--baby-blue);
    font-style: italic;
    font-weight: 500;
}

.zone-label {
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    font-family: var(--font-primary);
    white-space: nowrap;
    border: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* Download Section */
.download {
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
    overflow: hidden;
}

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

.download-content {
    max-width: 600px;
}

.download-content h2 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.download-content > p {
    color: var(--medium-gray);
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
}

.download-badges {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.download-visual {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.download-lottie {
    width: 100%;
    max-width: 380px;
}

.store-badge {
    display: inline-block;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.9;
}

.store-badge:hover {
    transform: translateY(-3px);
    opacity: 1;
}

.app-badge {
    transition: var(--transition);
}

.app-badge:hover {
    transform: translateY(-3px);
}

.app-badge img {
    height: 40px;
}

/* Contact Section */
.contact {
    background: var(--white);
}

.contact-info-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    text-align: center;
}

.contact-info-row a {
    color: var(--baby-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-row a:hover {
    color: var(--accent-blue);
}

.contact-item h3 {
    color: var(--baby-blue);
    margin-bottom: 0.5rem;
}

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

.contact-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.contact-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-blue);
}

.contact-title {
    font-size: 1.25rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.contact-info {
    color: var(--medium-gray);
}

.contact-info a {
    color: var(--baby-blue);
    font-weight: 500;
}

/* Footer */
.footer {
    background: var(--primary-black);
    color: var(--white);
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-brand h3 {
    color: var(--baby-blue);
    margin-bottom: 0.5rem;
}

.footer-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

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

.footer-section h4 {
    color: var(--baby-blue);
    margin-bottom: 1rem;
}

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

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

.footer-section ul li a {
    color: var(--light-gray);
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--baby-blue);
}

.footer-bottom {
    border-top: 1px solid var(--medium-gray);
    padding-top: 2rem;
    text-align: center;
    color: var(--light-gray);
}

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

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes shimmer {
    0% { background-position: -400px 0; }
    100% { background-position: 400px 0; }
}

/* Zone map loading skeleton */
.zone-map-skeleton {
    position: absolute;
    inset: 0;
    z-index: 500;
    background: var(--light-gray);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    transition: opacity 0.4s ease;
}

.zone-map-skeleton.hidden {
    opacity: 0;
    pointer-events: none;
}

.zone-map-skeleton::before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 1.5s infinite;
}

.zone-map-skeleton-text {
    position: relative;
    z-index: 1;
    color: var(--medium-gray);
    font-size: 0.9rem;
    font-weight: 500;
}

.zone-map-skeleton-dot {
    position: relative;
    z-index: 1;
    width: 32px;
    height: 32px;
    border: 3px solid var(--baby-blue);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

.loading {
    animation: pulse 2s infinite;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── CAREERS SECTION (homepage banner) ── */
.careers-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-black), var(--primary-dark));
}

.careers-banner {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.careers-text h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.careers-text p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* ── CAREERS PAGE ── */
.careers-hero {
    padding: 160px 0 80px;
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
    text-align: center;
}

.careers-hero h1 {
    margin-bottom: 1.5rem;
}

.careers-hero p {
    font-size: 1.15rem;
    line-height: 1.7;
    max-width: 620px;
    margin: 0 auto;
    color: var(--medium-gray);
}

.careers-roles {
    padding: 80px 0;
    background: var(--white);
}

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

.role-card {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    transition: var(--transition);
    border: 1px solid transparent;
}

.role-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--baby-blue);
}

.role-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.role-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.role-card > p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.role-perks {
    list-style: none;
    padding: 0;
    margin: 0;
}

.role-perks li {
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.9rem;
    color: var(--medium-gray);
}

.role-perks li::before {
    content: "✓";
    color: var(--accent-blue);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.careers-apply {
    padding: 80px 0;
    background: var(--light-gray);
}

.careers-form-wrap {
    max-width: 680px;
    margin: 0 auto;
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

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

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

.careers-form label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.careers-form input,
.careers-form select,
.careers-form textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    font-size: 16px;
    background: var(--white);
    transition: var(--transition);
}

.careers-form input:focus,
.careers-form select:focus,
.careers-form textarea:focus {
    outline: none;
    border-color: var(--baby-blue);
}

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

.careers-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    cursor: pointer;
}

.careers-form .btn {
    width: 100%;
    margin-top: 0.5rem;
}

/* Selection Color */
::selection {
    background: var(--baby-blue);
    color: var(--white);
}

/* Focus States */
a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 2px solid var(--baby-blue);
    outline-offset: 2px;
}

/* Mobile nav overlay */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-overlay.active {
    display: block;
    opacity: 1;
}

@media (max-width: 768px) {
    .nav-menu {
        display: flex !important;
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        width: 100%;
        height: auto;
        max-height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        padding: 1rem 1.25rem 1.5rem;
        gap: 0;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
        transform: translateY(-120%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1001;
        overflow-y: auto;
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .nav-menu .nav-link {
        padding: 0.85rem 0;
        display: block;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }

    .nav-menu .nav-link.active {
        color: var(--accent-blue);
    }

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

    .nav-menu .btn {
        margin-top: 1rem;
        display: block;
        width: 100%;
        text-align: center;
    }
}

.nav-toggle {
    position: relative;
    z-index: 1002;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }

    /* Lottie knight on top on mobile */
    .hero-visual {
        order: -1;
    }

    .hero-cta {
        justify-content: center;
    }

    .knight-container {
        max-width: 260px;
        margin: 0 auto;
    }

    .hero-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn {
        padding: 14px 28px;
        font-size: 16px;
        min-height: 48px;
    }

    .section-header h2 {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }

    .service-row {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-visual {
        order: -1;
    }

    .service-knight {
        max-width: 220px;
        margin: 0 auto;
    }

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

    .service-features {
        text-align: left;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 2rem;
    }

    .service-actions {
        justify-content: center;
    }

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

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

    .about-visual {
        order: -1;
    }

    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
    }

    .stat-card {
        padding: 1rem 0.5rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    .zone-map {
        height: 300px;
    }

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

    .feature-card {
        padding: 1.25rem 1rem;
    }

    .feature-icon {
        width: 48px;
        height: 48px;
        font-size: 1.5rem;
    }

    .feature-title {
        font-size: 1rem;
    }

    .feature-description {
        font-size: 0.85rem;
    }

    .steps-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-info-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .download-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .download-content h2 {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }

    .download-badges {
        flex-direction: column;
        align-items: center;
    }

    .download-visual {
        justify-content: center;
    }

    .download-lottie {
        max-width: 280px;
    }

    .store-badge svg {
        width: 160px;
        height: auto;
    }

    .roles-grid {
        grid-template-columns: 1fr;
    }

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

    .careers-form-wrap {
        padding: 1.5rem;
    }

    .careers-hero {
        padding: 120px 0 60px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    section {
        padding: 50px 0;
    }

    .hero {
        padding: 90px 0 50px;
        min-height: auto;
    }

    /* Full-page map overlay mobile */
    .zone-fullmap-header {
        padding: 0.75rem 1rem;
    }

    .zone-fullmap-header h3 {
        font-size: 0.95rem;
    }

    .zone-fullmap-back {
        padding: 0.4rem 0.75rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .nav-container {
        padding: 0 16px;
        height: 64px;
    }

    .nav-menu {
        top: 64px;
        max-height: calc(100vh - 64px);
    }

    .logo-text {
        font-size: 1.4rem;
    }

    .hero {
        padding: 80px 0 40px;
        min-height: auto;
    }

    .knight-container {
        max-width: 200px;
    }

    .hero-title {
        font-size: clamp(1.5rem, 7vw, 2rem);
    }

    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .hero-cta .btn {
        width: 100%;
        max-width: 280px;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .section-header p {
        font-size: 0.95rem;
    }

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

    .stat-number {
        font-size: 1.4rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .zone-map {
        height: 250px;
    }

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

    .feature-card {
        padding: 1rem 0.75rem;
    }

    .service-knight {
        max-width: 180px;
    }

    .footer-content {
        gap: 1.5rem;
    }

    .footer-brand p {
        font-size: 0.85rem;
    }
}
