/* ==========================================================================
   HS Logistics Design System & Core Styles - Light Theme
   ========================================================================== */

:root {
    /* Color Palette - Premium Light Theme */
    --bg-base: #FAFAFC;
    /* Off-white for background */
    --bg-surface: #FFFFFF;
    /* Pure white for surfaces */
    --bg-glass: rgba(255, 255, 255, 0.7);
    --bg-glass-heavy: rgba(255, 255, 255, 0.9);

    --accent-primary: #0066FF;
    /* Corporate Blue */
    --accent-primary-glow: rgba(0, 102, 255, 0.2);
    --accent-secondary: #001f3f;
    /* Deep Navy */

    --text-primary: #0F172A;
    /* Slate 900 */
    --text-secondary: #475569;
    /* Slate 600 */
    --text-muted: #64748B;
    /* Slate 500 */

    --border-glass: rgba(0, 0, 0, 0.08);
    /* Subtle border for light theme */
    --border-glass-hover: rgba(0, 102, 255, 0.15);
    /* Blue border on hover */

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Layout */
    --container-max: 1280px;
    --section-padding: 100px;

    /* Animations */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.1;
    color: var(--text-primary);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

/* ==========================================================================
   Utility Classes & Design System
   ========================================================================== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.section-padding {
    padding: var(--section-padding) 0;
}

.text-center {
    text-align: center;
}

.relative {
    position: relative;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-4 {
    margin-top: 2rem;
}

/* Text Gradient */
.text-gradient {
    background: linear-gradient(135deg, var(--accent-primary) 0%, #00C6FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glassmorphism Elements */
.glass-panel {
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.04);
    /* Soft shadow since it's light theme */
}

.glass-panel-heavy {
    background: var(--bg-glass-heavy);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: clamp(10px, 3vw, 12px) clamp(16px, 4vw, 24px);
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    outline: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--text-primary);
    /* Slate 900 for high end tech feel */
    color: #FFFFFF;
}

.btn-primary:hover {
    background: var(--accent-primary);
    /* Turns corporate blue */
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--accent-primary-glow);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--text-primary);
    color: var(--text-primary);
}

.btn-secondary:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    background: rgba(0, 102, 255, 0.05);
    /* very light blue hover */
}

/* Glow Orbs for Background Aesthetics */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0;
    pointer-events: none;
    max-width: 100vw;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: rgba(0, 102, 255, 0.1);
    top: -200px;
    right: -100px;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: rgba(0, 198, 255, 0.08);
    /* light cyan blue */
    bottom: -100px;
    left: -200px;
}

.orb-3 {
    width: 800px;
    height: 800px;
    background: rgba(0, 102, 255, 0.08);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 20px 0;
    transition: var(--transition-smooth);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    padding: 12px 0;
    background: var(--bg-glass-heavy);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 101;
}

/* Real logo image */
.logo-img {
    height: 52px;
    width: auto;
    object-fit: contain;
    display: block;
}

.logo-img-footer {
    height: 56px;
}

.logo-icon-wrapper {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent-primary), #00C6FF);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 1.6rem;
    box-shadow: 0 4px 12px var(--accent-primary-glow);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

.nav-links {
    display: flex;
    gap: 32px;
}

/* mobile-nav is just a flex wrapper; on desktop it acts transparent */
.mobile-nav {
    display: contents;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-primary);
    transition: var(--transition-smooth);
}

.nav-link:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 101;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Real background photo */
.hero-bg-image {
    position: absolute;
    inset: 0;
    background: url('images/background.jpeg') center center / cover no-repeat;
    z-index: 0;
}

/* Dark overlay so text stays legible */
.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 18, 40, 0.72) 0%,
        rgba(10, 18, 40, 0.55) 60%,
        rgba(10, 18, 40, 0.70) 100%
    );
    z-index: 1;
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 1;
    z-index: 2;
    mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}

.hero-content {
    max-width: 900px;
    text-align: center;
    position: relative;
    z-index: 3;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: clamp(0.75rem, 2vw, 0.85rem);
    font-weight: 500;
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
    white-space: nowrap;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-primary);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--accent-primary);
    animation: pulse 2s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: .5;
    }
}

.hero-title {
    font-size: clamp(3rem, 5vw + 1rem, 5.5rem);
    letter-spacing: -1.5px;
    margin-bottom: 24px;
    color: #FFFFFF;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 48px;
}

/* Tracking Input Group */
.tracking-input-group {
    display: flex;
    align-items: center;
    max-width: 600px;
    margin: 0 auto 64px;
    padding: 8px;
    border-radius: 12px;
    transition: var(--transition-smooth);
    background: var(--bg-surface);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
    /* elevated input field feels premium */
}

.tracking-input-group:focus-within {
    border-color: var(--accent-primary);
    box-shadow: 0 12px 32px var(--accent-primary-glow);
}

.search-icon {
    font-size: 1.4rem;
    color: var(--text-muted);
    margin: 0 16px;
}

.tracking-input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    outline: none;
}

.tracking-input::placeholder {
    color: var(--text-muted);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1;
}

.stat-plus {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--accent-primary);
    vertical-align: top;
}

.stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 8px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.section-header {
    max-width: 600px;
    margin: 0 auto 64px;
}

.section-title {
    font-size: clamp(2rem, 3vw, 3rem);
    margin-bottom: 16px;
}

.section-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.service-card {
    padding: clamp(24px, 5vw, 40px) clamp(20px, 4vw, 32px);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    z-index: 1;
    background: var(--bg-surface);
    /* solid white inner base */
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.05) 0%, transparent 100%);
    z-index: -1;
    opacity: 0;
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-glass-hover);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
    /* deeper shadow on hover */
}

.service-card:hover::before {
    opacity: 1;
}

.card-icon-wrapper {
    width: 64px;
    height: 64px;
    background: rgba(0, 102, 255, 0.08);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--accent-primary);
    font-size: 2rem;
    transition: var(--transition-smooth);
    border: 1px solid rgba(0, 102, 255, 0.1);
}

.service-card:hover .card-icon-wrapper {
    background: var(--accent-primary);
    color: #FFFFFF;
    transform: scale(1.1);
}

.card-title {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    margin-bottom: 16px;
}

.card-text {
    color: var(--text-secondary);
    margin-bottom: 32px;
    flex-grow: 1;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-primary);
    font-weight: 500;
}

.card-link i {
    transition: var(--transition-fast);
}

.card-link:hover i {
    transform: translate(2px, -2px);
}

/* ==========================================================================
   Why Choose Us Section
   ========================================================================== */
.why-choose-us {
    background: var(--bg-surface);
    position: relative;
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.feature-item {
    padding: clamp(20px, 4vw, 32px);
    background: var(--bg-base);
    /* slight contrast against surface */
    border-radius: 16px;
    border: 1px solid var(--border-glass);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
}

.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
    border-color: var(--accent-primary-glow);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(0, 102, 255, 0.08);
    /* corporate blue tint */
    color: var(--accent-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    transition: var(--transition-smooth);
}

.feature-item:hover .feature-icon {
    background: var(--accent-primary);
    color: #FFFFFF;
    transform: scale(1.1);
}

.feature-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.feature-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================================================
   Technology Section
   ========================================================================== */
/* Global Network Section */
.global-network {
    background: #FFFFFF;
    position: relative;
    overflow: hidden;
    padding-bottom: 100px;
}

.network-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 64px;
    align-items: center;
    margin-top: 48px;
}

.network-stats-box {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.network-stat {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    background: var(--bg-surface);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
    border: 1px solid var(--border-glass);
    transition: var(--transition-smooth);
}

.network-stat:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(15, 23, 42, 0.08);
    border-color: rgba(0, 102, 255, 0.2);
}

.network-stat i {
    font-size: 2.5rem;
    color: var(--accent-primary);
    background: rgba(0, 102, 255, 0.05);
    padding: 12px;
    border-radius: 12px;
}

.network-stat h4 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
    font-family: var(--font-heading);
}

.network-stat p {
    color: var(--text-secondary);
    font-weight: 500;
}

.network-map-container {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    background: #F8FAFC;
    border-radius: 20px;
    border: 1px solid #E2E8F0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.world-map-visual {
    position: relative;
    width: 90%;
    height: 90%;
    background-image: radial-gradient(circle at center, #CBD5E1 1px, transparent 1px);
    background-size: 20px 20px;
    border-radius: 12px;
}

.map-node {
    position: absolute;
    width: 16px;
    height: 16px;
    background: var(--accent-primary);
    border-radius: 50%;
    z-index: 2;
    cursor: pointer;
    box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.2);
}

.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--accent-primary);
    z-index: -1;
    animation: mapPulse 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes mapPulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }

    100% {
        transform: translate(-50%, -50%) scale(3.5);
        opacity: 0;
    }
}

.node-label {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: #0F172A;
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}

.node-label::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 4px 4px 0;
    border-style: solid;
    border-color: #0F172A transparent transparent transparent;
}

.map-node:hover .node-label {
    opacity: 1;
    top: -40px;
}

/* Approximate node positions */
.node-usa {
    top: 35%;
    left: 20%;
}

.node-europe {
    top: 30%;
    left: 50%;
}

.node-egypt {
    top: 45%;
    left: 55%;
    background: #FFBD2E;
    box-shadow: 0 0 0 4px rgba(255, 189, 46, 0.2);
}

.node-egypt .pulse-ring {
    background: #FFBD2E;
}

.node-asia {
    top: 55%;
    left: 80%;
}

.map-connections {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
}


/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    border-top: 1px solid var(--border-glass);
    padding: 80px 0 32px;
    background: var(--bg-surface);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 64px;
}

.footer-desc {
    color: var(--text-secondary);
    max-width: 300px;
    margin-top: 16px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-base);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 1.2rem;
    border: 1px solid var(--border-glass);
}

.social-icon:hover {
    background: var(--accent-primary);
    color: #FFFFFF;
    border-color: var(--accent-primary);
}

.footer-title {
    font-size: 1.1rem;
    margin-bottom: 24px;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: var(--text-secondary);
}

.footer-links ul li a:hover {
    color: var(--accent-primary);
}

.text-link {
    color: var(--accent-primary);
}

.contact-info-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.flex-align-center {
    display: inline-flex;
    align-items: center;
}

.mr-2 {
    margin-right: 8px;
}

.footer-bottom {
    border-top: 1px solid var(--border-glass);
    padding-top: 32px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ==========================================================================
   Animations & Reveals
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-up {
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

/* ── Tablet (≤ 992px) ─────────────────────────────────────────────────── */
@media (max-width: 992px) {
    :root {
        --section-padding: 72px;
    }

    .tech-content-wrapper {
        grid-template-columns: 1fr;
        padding: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .network-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .network-map-container {
        aspect-ratio: 16 / 9;
    }
}

/* ── Mobile (≤ 768px) ─────────────────────────────────────────────────── */
@media (max-width: 768px) {
    :root {
        --section-padding: 56px;
    }

    /* --- Navigation --- */
    .nav-links,
    .nav-actions {
        display: none;
    }

    /* mobile-nav wraps both nav-links + nav-actions; hidden by default */
    .mobile-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: var(--bg-glass-heavy);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border-glass);
        animation: slideDown 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        /* generous touch target */
        margin: -8px;
    }

    /* Mobile menu open state — controlled by JS adding .nav-open to <nav> */
    .navbar.nav-open {
        background: var(--bg-glass-heavy);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border-glass);
    }

    .navbar.nav-open .mobile-nav {
        display: flex;
    }

    /* nav-links inside open mobile-nav */
    .navbar.nav-open .nav-links {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 8px 0 0;
    }

    .navbar.nav-open .nav-link {
        padding: 14px 24px;
        font-size: 1.05rem;
        border-bottom: 1px solid var(--border-glass);
        display: block;
    }

    .navbar.nav-open .nav-link:last-child {
        border-bottom: none;
    }

    /* nav-actions inside open mobile-nav */
    .navbar.nav-open .nav-actions {
        display: block;
        padding: 16px 24px;
        border-top: 1px solid var(--border-glass);
    }

    .navbar.nav-open .nav-actions .btn {
        width: 100%;
        justify-content: center;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-8px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* --- Hero --- */
    .hero {
        padding: 100px 20px 60px;
        min-height: 100svh;
    }

    .hero-title {
        font-size: clamp(2.2rem, 8vw, 3rem);
        letter-spacing: -0.5px;
        margin-bottom: 16px;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 32px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .stat-divider {
        width: 80px;
        height: 1px;
    }

    .stat-value {
        font-size: 2rem;
    }

    /* --- Tracking Input --- */
    .tracking-input-group {
        flex-direction: column;
        background: transparent;
        border: none;
        padding: 0;
        box-shadow: none;
        gap: 12px;
        margin-bottom: 40px;
    }

    .tracking-input-group>* {
        width: 100%;
    }

    .tracking-input {
        background: var(--bg-surface);
        padding: 16px;
        border-radius: 8px;
        border: 1px solid var(--border-glass);
        box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
    }

    .search-icon {
        display: none;
    }

    .track-btn {
        padding: 14px 24px;
    }

    /* --- Services Grid --- */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .service-card {
        padding: 28px 24px;
    }

    /* --- Features Grid --- */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 32px;
    }

    .feature-item {
        padding: 24px;
    }

    /* --- Network Section --- */
    .network-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .network-stats-box {
        gap: 16px;
    }

    .network-stat {
        padding: 16px;
        gap: 14px;
    }

    .network-stat i {
        font-size: 1.8rem;
    }

    .network-stat h4 {
        font-size: 1.5rem;
    }

    .network-map-container {
        aspect-ratio: 4 / 3;
    }

    /* --- Section headers --- */
    .section-header {
        margin-bottom: 40px;
    }

    .section-description {
        font-size: 1rem;
    }

    /* --- Footer --- */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-bottom: 40px;
    }

    .site-footer {
        padding: 56px 0 24px;
    }

    .footer-bottom {
        padding-top: 24px;
    }
}

/* ── Small phones (≤ 430px) ───────────────────────────────────────────── */
@media (max-width: 430px) {
    :root {
        --section-padding: 48px;
    }

    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 90px 16px 56px;
    }

    .hero-title {
        font-size: clamp(1.9rem, 9vw, 2.5rem);
    }

    .badge {
        font-size: 0.78rem;
        padding: 5px 12px;
    }

    .btn {
        font-size: 0.95rem;
        padding: 11px 18px;
    }

    .service-card {
        padding: 24px 18px;
    }

    .card-title {
        font-size: 1.25rem;
    }

    .network-stat {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}