/* ===========================================================
   IMPORT CARGO COURIER — MOBILE-ONLY WEB APP CSS v7
   No desktop view. Pure mobile-first app design.
   Color Scheme: RED + BLACK Primary, GOLD Tertiary
   =========================================================== */

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

:root {
    /* === PRIMARY: RED + BLACK === */
    --red: #dc2626;
    --red-light: #ef4444;
    --red-dark: #b91c1c;
    --red-glow: rgba(220,38,38,0.15);
    --red-deep: #991b1b;

    /* === TERTIARY: GOLD (borders, thin lines, tiny details only) === */
    --gold: #D4AF37;
    --gold-light: #E8C547;
    --gold-dark: #B8960F;
    --gold-glow: rgba(212,175,55,0.12);
    --gold-deep: #8B6914;

    /* === PRIMARY: BLACK === */
    --black: #0a0a0a;
    --black-light: #1a1a1a;
    --black-mid: #2a2a2a;
    --black-glow: rgba(10,10,10,0.25);

    /* === UTILITY COLORS === */
    --blue: #2563eb;
    --green: #16a34a;
    --amber: #d97706;
    --purple: #7c3aed;
    --cyan: #0891b2;

    /* === SURFACE / BACKGROUND === */
    --bg: #181818;
    --bg-card: #1e1e1e;
    --bg-elevated: #262626;
    --bg-dark: #111111;

    /* === TEXT === */
    --text: #f0f0f0;
    --text-2: #b0b0b8;
    --text-3: #808088;
    --text-inv: #ffffff;

    /* === BORDERS & SHADOWS === */
    --border: rgba(255,255,255,0.1);
    --border-light: rgba(255,255,255,0.06);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
    --shadow: 0 2px 12px rgba(0,0,0,0.4);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.5);
    --shadow-red: 0 4px 20px rgba(220,38,38,0.3);
    --shadow-gold: 0 4px 20px rgba(212,175,55,0.15);
    --shadow-black: 0 4px 20px rgba(0,0,0,0.5);

    /* === RADIUS === */
    --radius: 16px;
    --radius-sm: 10px;
    --radius-xs: 8px;
    --radius-full: 9999px;

    /* === TYPOGRAPHY === */
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* === LAYOUT === */
    --bar-h: 56px;
    --tab-h: 68px;
    --safe-top: env(safe-area-inset-top, 0px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font);
    background: #0f0f0f;
    color: var(--text);
    line-height: 1.5;
    overflow: hidden;
    height: 100vh;
    height: 100dvh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; font-size: 16px; }

/* ===== APP SHELL — BREATHING BACKGROUND ===== */
.app-shell {
    position: fixed;
    inset: 0;
    max-width: 480px;
    margin: 0 auto;
    background: linear-gradient(160deg, #181818 0%, #1a0a0a 40%, #181818 100%);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 0 60px rgba(220,38,38,0.1), 0 0 120px rgba(0,0,0,0.5);
    z-index: 100;
    animation: appBreathing 8s ease-in-out infinite;
}

@keyframes appBreathing {
    0%, 100% {
        background: linear-gradient(160deg, #181818 0%, #1a0a0a 40%, #181818 100%);
        box-shadow: 0 0 60px rgba(220,38,38,0.08), 0 0 120px rgba(0,0,0,0.5);
    }
    50% {
        background: linear-gradient(160deg, #1c0c0c 0%, #181818 40%, #1a0a0a 100%);
        box-shadow: 0 0 80px rgba(220,38,38,0.12), 0 0 120px rgba(0,0,0,0.5);
    }
}

/* ===== TOP APP BAR (BLACK + RED) ===== */
.app-bar {
    position: relative;
    flex-shrink: 0;
    height: var(--bar-h);
    padding-top: var(--safe-top);
    background: linear-gradient(180deg, #111, #1a1a1a);
    color: white;
    z-index: 200;
    box-shadow: 0 2px 20px rgba(0,0,0,0.8);
    border-bottom: 1.5px solid rgba(220,38,38,0.4);
}

.app-bar-inner {
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 16px;
    gap: 12px;
}

.app-bar-logo {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 800;
    font-size: 1.15rem;
    color: white;
    letter-spacing: -0.02em;
    flex-shrink: 0;
}
.app-bar-logo i { font-size: 1.3rem; }

.app-bar-title {
    flex: 1;
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: right;
    color: #fff;
}
.app-bar-left {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.app-bar-left a {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.app-bar-logo-img {
    height: 32px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.app-bar-actions { flex-shrink: 0; }

.app-bar-btn {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.15rem;
    transition: background 0.2s;
}
.app-bar-btn:active { background: rgba(220,38,38,0.2); }

/* ===== HAMBURGER BUTTON ===== */
.hamburger-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    transition: background 0.2s, transform 0.2s;
    position: relative;
    z-index: 10;
    -webkit-tap-highlight-color: transparent;
}
.hamburger-btn:active {
    background: rgba(220,38,38,0.2);
    transform: scale(0.9);
}

/* ===== MAIN CONTENT SCROLL ===== */
.app-content {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    padding-bottom: calc(var(--tab-h) + var(--safe-bottom) + 20px);
    scrollbar-width: none;
    -ms-overflow-style: none;
    position: relative;
    z-index: 1;
}
.app-content::-webkit-scrollbar { display: none; }

.app-content > *:not(.page-hero):not(.trk-hero):not(.idx-hero) { position: relative; z-index: 1; }

/* ===== BOTTOM TAB BAR ===== */
.tab-bar {
    position: fixed;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 20px);
    max-width: 430px;
    height: calc(var(--tab-h) + var(--safe-bottom));
    padding-bottom: var(--safe-bottom);
    background: rgba(17, 17, 17, 0.35);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: stretch;
    z-index: 200;
    border-radius: 24px;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.6), 0 0 15px rgba(220,38,38,0.08), inset 0 1px 0 rgba(255,255,255,0.05);
    overflow: visible;
}

/* Tab bar notch/cutout for center button */
.tab-bar::before {
    content: '';
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 64px;
    height: 28px;
    background: transparent;
    border-radius: 0 0 32px 32px;
    z-index: -1;
}

.tab-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: var(--text-3);
    font-size: 0.65rem;
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
    -webkit-tap-highlight-color: transparent;
}
.tab-item i { font-size: 1.3rem; transition: transform 0.2s; }
.tab-item:active { transform: scale(0.92); }
.tab-item.active { color: var(--red); }
.tab-item.active i { color: var(--red); transform: scale(1.1); }
.tab-item.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 25%;
    right: 25%;
    height: 2.5px;
    background: var(--red);
    border-radius: 0 0 3px 3px;
}

/* ===== CENTER TRACK BUTTON — RED GRADIENT ===== */
.tab-item-center {
    margin-top: -20px;
    z-index: 5;
}

.tab-track-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #dc2626, #991b1b);
    color: white;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(220,38,38,0.4), 0 0 0 3px rgba(220,38,38,0.15);
    border: 2px solid rgba(255,255,255,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    animation: trackBtnPulse 3s ease-in-out infinite;
}

.tab-track-btn i {
    font-size: 1.3rem;
}

.tab-item-center.active .tab-track-btn {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    box-shadow: 0 4px 20px rgba(220,38,38,0.5), 0 0 0 4px rgba(220,38,38,0.2);
    border-color: rgba(255,255,255,0.2);
}
.tab-item-center.active .tab-track-btn i {
    color: #ffffff !important;
}
.tab-item-center.active span {
    color: #ffffff !important;
}

.tab-item-center:active .tab-track-btn {
    transform: scale(0.9);
    box-shadow: 0 2px 8px rgba(220,38,38,0.3);
}

@keyframes trackBtnPulse {
    0%, 100% { box-shadow: 0 4px 16px rgba(220,38,38,0.4), 0 0 0 3px rgba(220,38,38,0.15); }
    50% { box-shadow: 0 4px 24px rgba(220,38,38,0.6), 0 0 0 6px rgba(220,38,38,0.08); }
}

/* ===== IN-APP FOOTER ===== */
.in-app-footer {
    padding: 16px 16px 12px;
    text-align: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.in-app-footer-hr {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(220,38,38,0.3), rgba(212,175,55,0.2), transparent);
    margin-bottom: 12px;
}

.in-app-footer-copy {
    font-size: 0.72rem;
    color: #f0f0f0;
    margin-bottom: 8px;
}

.in-app-footer-links {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.in-app-footer-links a {
    font-size: 0.68rem;
    color: #D4AF37;
    transition: color 0.2s;
}

.in-app-footer-links a:hover {
    color: var(--red);
}

/* ===== WHATSAPP FAB ===== */
.wa-fab {
    position: absolute;
    bottom: calc(var(--tab-h) + var(--safe-bottom) + 24px);
    left: 16px;
    width: 52px;
    height: 52px;
    border-radius: var(--radius-full);
    background: #25D366;
    color: white;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37,211,102,0.4);
    z-index: 300;
    transition: transform 0.2s, box-shadow 0.2s;
    animation: waPulse 2s ease infinite;
}
.wa-fab:active { transform: scale(0.9); }
@keyframes waPulse {
    0%, 100% { box-shadow: 0 4px 16px rgba(37,211,102,0.4); }
    50% { box-shadow: 0 4px 24px rgba(37,211,102,0.6); }
}

/* ===== CONTAINER ===== */
.container {
    padding: 0 16px;
    max-width: 100%;
}

/* ===== SECTION BASE ===== */
.app-section { padding: 20px 0; }

/* ===== CARD — GLASSMORPHIC DARK ===== */
.card {
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    overflow: hidden;
    border-left: 3px solid var(--red);
    animation: cardGlow 6s ease-in-out infinite;
}

@keyframes cardGlow {
    0%, 100% { border-left-color: var(--red); box-shadow: 0 8px 32px rgba(0,0,0,0.3), 0 0 10px rgba(220,38,38,0.05); }
    33% { border-left-color: var(--red); box-shadow: 0 8px 32px rgba(0,0,0,0.3), 0 0 15px rgba(220,38,38,0.1); }
    66% { border-left-color: var(--red-dark); box-shadow: 0 8px 32px rgba(0,0,0,0.3), 0 0 10px rgba(220,38,38,0.05); }
}

.card-body { padding: 16px; }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    color: white;
    box-shadow: 0 4px 16px rgba(220,38,38,0.3);
}
.btn-primary:hover {
    background: linear-gradient(135deg, var(--red-light), var(--red));
    box-shadow: 0 6px 24px rgba(220,38,38,0.4);
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--black);
    box-shadow: var(--shadow-gold);
}

.btn-dark {
    background: linear-gradient(135deg, var(--black), var(--black-light));
    color: white;
    box-shadow: var(--shadow-black);
    border: 1px solid rgba(255,255,255,0.08);
}

.btn-outline {
    background: transparent;
    color: var(--red);
    border: 1.5px solid var(--red);
}
.btn-outline:hover { background: var(--red); color: white; }

.btn-outline-gold {
    background: transparent;
    color: var(--gold);
    border: 1.5px solid var(--gold);
}
.btn-outline-gold:hover { background: var(--gold); color: var(--black); }

.btn-sm { padding: 8px 16px; font-size: 0.82rem; border-radius: var(--radius-xs); }
.btn-lg { padding: 14px 28px; font-size: 0.95rem; }
.btn-block { width: 100%; }
.btn-icon { width: 40px; height: 40px; padding: 0; border-radius: var(--radius-sm); }

/* ===== SECTION HEADERS ===== */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}
.section-badge.badge-red {
    background: var(--red-glow);
    color: var(--red-light);
    border: 1px solid rgba(220,38,38,0.2);
}
.section-badge.badge-gold {
    background: var(--gold-glow);
    color: var(--gold);
    border: 1px solid rgba(212,175,55,0.15);
}
.section-badge.badge-dark {
    background: rgba(255,255,255,0.05);
    color: var(--text);
    border: 1px solid rgba(255,255,255,0.1);
}

.section-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.25;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}
.section-subtitle {
    font-size: 0.85rem;
    color: var(--text-2);
    line-height: 1.6;
    font-weight: 400;
}

/* ===== PAGE HERO ===== */
.page-hero {
    background: linear-gradient(135deg, #000, #1a0505, #0a0a0a);
    background-size: 200% 200%;
    animation: pageHeroShift 10s ease-in-out infinite;
    color: white;
    padding: 28px 16px;
    text-align: center;
    border-bottom: 2px solid rgba(220,38,38,0.4);
    margin: 0;
    border-radius: 0;
    position: relative;
    z-index: 1;
}

@keyframes pageHeroShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.page-hero h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}
.page-hero p {
    font-size: 0.85rem;
    opacity: 0.85;
    line-height: 1.5;
}

/* ===== ABOUT GRID ===== */
.about-grid { display: flex; flex-direction: column; gap: 20px; }
.about-image { border-radius: var(--radius); overflow: hidden; }
.about-image img { width: 100%; height: 200px; object-fit: cover; }
.about-content p { font-size: 0.88rem; color: var(--text-2); line-height: 1.7; margin-bottom: 14px; }
.about-content h2 { font-size: 1.25rem; font-weight: 700; color: var(--text); margin-bottom: 12px; line-height: 1.3; }
.about-highlights { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.about-highlight {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 600;
}
.about-highlight:nth-child(odd) { background: var(--red-glow); color: var(--red); }
.about-highlight:nth-child(even) { background: rgba(255,255,255,0.05); color: var(--text); }
.about-highlight i { font-size: 0.85rem; }

/* ===== SERVICE ICONS ===== */
.service-icon {
    width: 48px; height: 48px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; color: white; flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.service-icon.air { background: linear-gradient(135deg, #dc2626, #991b1b); }
.service-icon.sea { background: linear-gradient(135deg, #0a0a0a, #333); border: 1px solid rgba(255,255,255,0.1); }
.service-icon.express { background: linear-gradient(135deg, #dc2626, #b91c1c); }
.service-icon.ground { background: linear-gradient(135deg, #dc2626, #333); }
.service-icon.customs { background: linear-gradient(135deg, #1a1a1a, #333); border: 1px solid rgba(255,255,255,0.08); }
.service-icon.ware { background: linear-gradient(135deg, #0a0a0a, #1a1a1a); border: 1px solid rgba(255,255,255,0.08); }

/* ===== FEATURES GRID ===== */
.features-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.feature-card {
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius);
    padding: 18px 16px;
    display: flex; gap: 14px; align-items: flex-start;
    transition: transform 0.2s, border-color 0.3s;
    position: relative; overflow: hidden;
    animation: featureGlow 6s ease-in-out infinite;
}
@keyframes featureGlow {
    0%, 100% { border-color: rgba(255,255,255,0.08); }
    50% { border-color: rgba(220,38,38,0.15); }
}

.feature-card::after {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--red), transparent);
}
.feature-card:active { transform: scale(0.98); }

.feature-icon {
    width: 44px; height: 44px; min-width: 44px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; color: white;
}
.feature-card:nth-child(3n+1) .feature-icon {
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    box-shadow: 0 4px 12px rgba(220,38,38,0.25);
}
.feature-card:nth-child(3n+2) .feature-icon {
    background: linear-gradient(135deg, var(--black-light), var(--black));
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.08);
}
.feature-card:nth-child(3n+3) .feature-icon {
    background: linear-gradient(135deg, var(--red-dark), #7f1d1d);
    box-shadow: 0 4px 12px rgba(220,38,38,0.2);
}

.feature-card h3 { font-size: 0.95rem; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.feature-card p { font-size: 0.82rem; color: var(--text-2); line-height: 1.6; }

/* ===== STATS GRID ===== */
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stat-item {
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius);
    padding: 18px 14px; text-align: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    position: relative; overflow: hidden;
}
.stat-item::before { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--red), transparent); }
.stat-icon { font-size: 1.3rem; margin-bottom: 8px; }
.stat-item:nth-child(odd) .stat-icon { color: var(--red); }
.stat-item:nth-child(even) .stat-icon { color: var(--text); }
.stat-item:nth-child(odd) .stat-number { color: var(--red); }
.stat-item:nth-child(even) .stat-number { color: var(--text); }
.stat-number { font-size: 1.5rem; font-weight: 800; margin-bottom: 4px; }
.stat-label { font-size: 0.75rem; color: var(--text-3); font-weight: 500; }

/* ===== CONTACT GRID ===== */
.contact-grid { display: flex; flex-direction: column; gap: 20px; }
.contact-info-cards { display: flex; flex-direction: column; gap: 12px; }
.contact-info-card {
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius);
    padding: 14px 16px; display: flex; gap: 14px; align-items: center;
    transition: border-color 0.2s;
}
.contact-info-card:hover { border-color: var(--red); }
.contact-info-icon {
    width: 44px; height: 44px; min-width: 44px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; color: white;
}
.contact-info-card:nth-child(odd) .contact-info-icon { background: linear-gradient(135deg, var(--red), var(--red-dark)); box-shadow: 0 3px 10px rgba(220,38,38,0.2); }
.contact-info-card:nth-child(even) .contact-info-icon { background: linear-gradient(135deg, #1a1a1a, #2a2a2a); border: 1px solid rgba(255,255,255,0.08); }
.contact-info-card h4 { font-size: 0.78rem; font-weight: 600; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 2px; }
.contact-info-card p { font-size: 0.88rem; color: var(--text); font-weight: 500; }
.contact-info-card a { color: var(--red); font-weight: 600; }

/* ===== FORMS ===== */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.form-control {
    width: 100%; padding: 12px 14px;
    border: 1.5px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-xs); font-size: 0.95rem;
    color: var(--text); background: rgba(255,255,255,0.05);
    transition: border-color 0.2s, box-shadow 0.2s;
    -webkit-appearance: none;
}
.form-control:focus {
    outline: none;
    border-color: var(--red);
    box-shadow: 0 0 0 3px var(--red-glow);
}
.form-control::placeholder { color: var(--text-3); }
textarea.form-control { resize: vertical; min-height: 100px; }
select.form-control { cursor: pointer; }

/* ===== FAQ ===== */
.faq-search-wrap { position: relative; margin-bottom: 16px; }
.faq-search-wrap i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--text-3); font-size: 1rem; }
.faq-search-input {
    width: 100%; padding: 12px 14px 12px 40px;
    border: 1.5px solid rgba(255,255,255,0.1); border-radius: var(--radius-xs);
    font-size: 0.9rem; background: rgba(255,255,255,0.05); color: var(--text);
}
.faq-search-input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px var(--red-glow); }

.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item {
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-sm); overflow: hidden;
    transition: box-shadow 0.2s, border-color 0.2s;
}
.faq-item.active { box-shadow: 0 4px 20px rgba(220,38,38,0.15); border-color: rgba(220,38,38,0.3); }
.faq-hidden { display: none; }
.faq-question {
    width: 100%; padding: 14px 16px; display: flex; align-items: center; justify-content: space-between;
    font-size: 0.9rem; font-weight: 600; color: var(--text); text-align: left; gap: 12px;
}
.faq-item.active .faq-question { color: var(--red-light); }
.faq-question i { font-size: 1.1rem; color: var(--text-3); transition: transform 0.3s, color 0.3s; flex-shrink: 0; }
.faq-item.active .faq-question i { transform: rotate(180deg); color: var(--red); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item.active .faq-answer { max-height: 500px; }
.faq-answer-inner { padding: 0 16px 14px; font-size: 0.85rem; color: var(--text-2); line-height: 1.7; }
.faq-answer-inner a { color: var(--red); font-weight: 600; }
.faq-no-results { display: none; text-align: center; padding: 32px 16px; color: var(--text-3); }
.faq-no-results.visible { display: block; }
.faq-no-results i { font-size: 2rem; margin-bottom: 8px; display: block; color: var(--red); }

/* ===== NEWSLETTER ===== */
.newsletter-banner { padding: 0; background: transparent; }
.newsletter-inner {
    background: rgba(10,10,10,0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(220,38,38,0.2);
    border-radius: var(--radius);
    padding: 24px 20px; color: white;
    position: relative; overflow: hidden;
}
.newsletter-inner::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--red), transparent, var(--red)); }
.newsletter-text h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.newsletter-text h3 i { color: var(--red); }
.newsletter-text h3 .nl-title-accent { color: var(--red-light); }
.newsletter-text p { font-size: 0.82rem; opacity: 0.85; line-height: 1.5; margin-bottom: 16px; }
.newsletter-form { display: flex; gap: 8px; }
.newsletter-form input { flex: 1; padding: 10px 14px; border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-xs); font-size: 0.88rem; min-width: 0; background: rgba(255,255,255,0.06); color: white; }
.newsletter-form input:focus { outline: 2px solid rgba(220,38,38,0.4); }
.newsletter-form button {
    padding: 10px 18px; background: linear-gradient(135deg, var(--red), var(--red-dark));
    color: white; border-radius: var(--radius-xs); font-weight: 700; font-size: 0.82rem;
    white-space: nowrap; display: flex; align-items: center; gap: 6px;
    box-shadow: 0 3px 12px rgba(220,38,38,0.3);
}

/* ===== FOOTER ===== */
.footer { background: var(--bg-dark); color: rgba(255,255,255,0.7); padding: 32px 16px 24px; font-size: 0.8rem; text-align: center; }
.footer a { color: rgba(255,255,255,0.8); }
.footer a:hover { color: white; }
.footer-logo { height: 32px; margin: 0 auto 12px; opacity: 0.9; }
.footer-grid, .footer-bottom, .footer-col, .footer-socials, .footer-bottom-links, .footer-about { display: none; }

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, #000, #1a0505, #000);
    color: white; padding: 32px 16px; text-align: center;
    margin: 0; position: relative; overflow: hidden;
    animation: pageHeroShift 10s ease-in-out infinite;
    background-size: 200% 200%;
}
.cta-section::before { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--red), transparent, var(--red)); }
.cta-section h2 { font-size: 1.25rem; font-weight: 700; margin-bottom: 8px; }
.cta-section p { font-size: 0.85rem; opacity: 0.85; line-height: 1.6; margin-bottom: 20px; }
.cta-section .btn-primary { background: linear-gradient(135deg, var(--red), var(--red-dark)); color: white; box-shadow: var(--shadow-red); }

/* ===== SECTION DARK ===== */
.section-dark { background: var(--bg-dark); color: white; padding: 24px 0; }
.section-dark .section-title { color: white; }
.section-dark .section-subtitle { color: rgba(255,255,255,0.65); }
.section-dark .section-badge { background: rgba(220,38,38,0.15); color: var(--red-light); }
.section-dark .feature-card { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.08); }
.section-dark .feature-card h3 { color: white; }
.section-dark .feature-card p { color: rgba(255,255,255,0.65); }

/* ===== SERVICE CARDS GRID ===== */
.services-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.service-card {
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius); padding: 20px 16px; text-align: center;
    transition: transform 0.2s, border-color 0.2s;
    position: relative; overflow: hidden;
}
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--red), transparent); }
.service-card:active { transform: scale(0.98); }
.service-card:hover { border-color: rgba(220,38,38,0.3); }
.service-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 12px; color: var(--text); }

/* ===== SCROLL REVEAL ===== */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== SPINNER ===== */
.spinner { display: inline-block; width: 16px; height: 16px; border: 2px solid rgba(255,255,255,0.3); border-top-color: white; border-radius: 50%; animation: spin 0.6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== CONTACT FORM SUCCESS ===== */
.contact-form-success { display: none; text-align: center; padding: 40px 20px; }
.contact-form-success.visible { display: block; }
.contact-form-success i { font-size: 3rem; color: var(--green); margin-bottom: 16px; }
.contact-form-success h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.contact-form-success p { font-size: 0.88rem; color: var(--text-2); line-height: 1.6; }

/* ===== MAP CONTAINER ===== */
.map-container { position: relative; height: 200px; border-radius: var(--radius); overflow: hidden; }

/* ===== TOAST ===== */
.toast-container {
    position: fixed; top: calc(var(--bar-h) + var(--safe-top) + 12px);
    left: 50%; transform: translateX(-50%); z-index: 9999;
    display: flex; flex-direction: column; gap: 8px;
    max-width: 400px; width: calc(100% - 32px); pointer-events: none;
}

/* ===== HIDE OLD DESKTOP ELEMENTS ===== */
.navbar, .mobile-nav, .mobile-nav-overlay, .mobile-toggle,
.mouse-glow, .loading-screen, .scroll-top,
.page-hero .container { display: none !important; }

.section { padding: 20px 0; }
.section-header { margin-bottom: 16px; }
.counter { font-family: var(--font); }

.mv-cards-grid { display: grid; grid-template-columns: 1fr !important; gap: 16px; max-width: 100% !important; }

/* ===== TRACKING PAGE STYLES ===== */
.trk-hero { padding: 24px 16px !important; min-height: auto !important; }
.trk-hero h1 { font-size: 1.4rem !important; }
.trk-hero-desc { font-size: 0.85rem !important; }
.trk-search-box { flex-direction: column !important; }
.trk-search-wrap { max-width: 100% !important; }
.trk-result-wrap { padding: 0 12px !important; margin-top: 0 !important; }
.trk-status-panel { padding: 16px !important; border-radius: 14px !important; }
.trk-card { border-radius: 14px !important; }
.trk-card-body { padding: 14px 16px !important; }
.trk-sender-receiver-grid { grid-template-columns: 1fr !important; gap: 16px !important; }
.trk-info-grid { grid-template-columns: 1fr !important; gap: 12px !important; }
.trk-info-item { padding: 10px !important; 
    padding-left: 10px !important; border: none !important; }
.trk-content-single { gap: 16px !important; }
.trk-map-perspective { height: 240px !important; border-radius: 14px !important; }
.trk-map-section { border-radius: 14px !important; }
.trk-3d-map-header { padding: 14px 16px !important; }
.trk-map-footer { padding: 12px 14px !important; flex-wrap: wrap; gap: 8px; }
.trk-demo-grid { grid-template-columns: 1fr !important; }
.trk-how-grid { grid-template-columns: 1fr !important; }
.trk-meta-row { flex-direction: column !important; gap: 12px !important; }
.trk-meta-item { width: 100% !important; }
.trk-tracking-num { font-size: 1rem !important; word-break: break-all !important; }
.trk-status-top { flex-direction: column !important; align-items: stretch !important; gap: 12px !important; }
.trk-status-right { justify-content: flex-start !important; }
.trk-status-badge { padding: 8px 14px !important; font-size: 0.82rem !important; }
.trk-delivery-pill { font-size: 0.78rem !important; padding: 6px 12px !important; }

/* ===== TIMELINE OVERLAP FIX ===== */
.trk-timeline { position: relative; padding-left: 50px !important; margin-top: 8px; }
.trk-timeline::before { left: 18px !important; top: 0; bottom: 0; width: 3px !important; background: linear-gradient(180deg, var(--gold), #dc2626 30%, rgba(220,38,38,0.15)) !important; }
.trk-tl-dot {
    width: 24px !important; height: 38px !important; min-width: 38px !important; font-size: 1rem !important;
    left: -49px !important;
    border-radius: 50% !important;
    display: flex !important; align-items: center !important; justify-content: center !important;
    border: 2px solid rgba(255,255,255,0.1) !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.2) !important;
}
.trk-tl-dot.completed {  
    background:  var(--gold) !important;
    color: var(--black) !important;
    border-color: rgba(212,175,55,0.3) !important;
    box-shadow: 0 2px 12px rgba(212,175,55,0.25) !important;
}
.trk-tl-dot.current {
    background: #dc2626 !important;
    color: #fff !important;
    border-color: rgba(220,38,38,0.3) !important;
    box-shadow: 0 2px 12px rgba(220,38,38,0.3) !important;
    animation: trkPulse 2s infinite !important;
}
.trk-tl-dot.pending {
    background: rgba(255,255,255,0.05) !important;
    color: #666670 !important;
    border-color: rgba(255,255,255,0.1) !important;
}
.trk-step-circle.completed {
    background: #D4AF37;
    color: #fff;
    box-shadow: 0 0 0 4px rgba(212,175,55,0.15), 0 4px 12px rgba(212,175,55,0.25);
}
.trk-tl-content { position: relative; z-index: 1; padding: 10px 0; }
.trk-tl-content h4 { font-size: 0.88rem !important; }
.trk-tl-loc { font-size: 0.8rem !important; }
.trk-tl-datetime { font-size: 0.72rem !important; }
.trk-tl-note { font-size: 0.82rem !important; }
.trk-notfound { padding: 40px 20px !important; }
.trk-notfound h2 { font-size: 1.3rem !important; }
.trk-guide-card { border-radius: 14px !important; }
.trk-guide-head { padding: 14px 16px !important; }
.trk-guide-head h3 { font-size: 0.92rem !important; }
.trk-guide-inner { padding: 0 16px 16px !important; }
.trk-guide-item { padding: 10px 0 !important; }
.trk-bottom-cta { padding: 24px 16px 40px !important; }
.trk-bottom-cta p { font-size: 0.88rem !important; }
.trk-no-media { padding: 24px !important; }
.trk-exception { flex-direction: column !important; padding: 14px !important; }
.trk-copy-btn { width: 30px !important; height: 30px !important; font-size: 0.8rem !important; }
.trk-map-popup { max-width: 200px !important; font-size: 0.75rem !important; }
.trk-card-head { padding: 12px 14px !important; }
.trk-card-head h3 { font-size: 0.92rem !important; }

#shipmentMap { min-height: 280px !important; border-radius: 14px !important; overflow: hidden !important; position: relative !important; border: 1px solid rgba(255,255,255,0.08); }
.trk-progress-section { display: none !important; }
.trk-content-grid { display: none !important; }
.trk-col-left, .trk-col-right { display: none !important; }
.trk-map-container { display: none !important; }
.trk-hero .container { max-width: 100% !important; padding: 0 !important; }

/* ===== HOMEPAGE SPECIFIC ===== */
.hp-main { --h-font: var(--font) !important; }
.hp-main .container { max-width: 100% !important; padding: 0 16px !important; }
.hp-hero { min-height: auto !important; padding: 0 !important; position: relative !important; }
.hp-hero-slide { display: none !important; }
.hp-hero-overlay { display: none !important; }
.hp-hero-content { padding: 24px 0 20px !important; position: relative !important; z-index: 3 !important; max-width: 100% !important; }
.hp-hero h1 { font-size: 1.6rem !important; font-weight: 700 !important; line-height: 1.2 !important; }
.hp-hero p { font-size: 0.88rem !important; }
.hp-hero-badge { margin-bottom: 16px !important; }
.hp-btn { padding: 12px 22px !important; font-size: 0.88rem !important; }
.hp-hero-dots { display: none !important; }
.hp-quick-track { margin-top: 20px !important; }
.hp-quick-track input { font-size: 16px !important; }
.hp-services-scroll { display: flex !important; gap: 12px !important; overflow-x: auto !important; padding: 0 0 8px !important; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.hp-services-scroll::-webkit-scrollbar { display: none; }
.hp-services-scroll .card { display: none !important; }
.hp-service-mini { background: rgba(255,255,255,0.05); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); min-width: 140px !important; flex-shrink: 0; border: 1px solid rgba(255,255,255,0.08); }
.hp-testimonials-grid { grid-template-columns: 1fr !important; gap: 12px !important; }
.hp-testimonials-grid .card, .hp-testimonials-grid [style*="background"] { background: rgba(255,255,255,0.05) !important; backdrop-filter: blur(16px) !important; -webkit-backdrop-filter: blur(16px) !important; border: 1px solid rgba(255,255,255,0.08) !important; }
.hp-why-grid { grid-template-columns: 1fr !important; gap: 12px !important; }
.hp-newsletter .newsletter-inner { border-radius: var(--radius) !important; }
.hp-cta-section { padding: 32px 16px !important; }
.loading-screen { display: none !important; }
.section { padding: 20px 0; }
.section-header { margin-bottom: 16px; }
.faq-section-bg { background: var(--bg) !important; padding: 0 !important; }
.map-container { border-radius: var(--radius) !important; }

/* ===========================================================
   GLASSMORPHIC DESIGN SYSTEM — ENHANCED
   =========================================================== */

@keyframes glassShimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 15px rgba(220,38,38,0.2); }
    50% { box-shadow: 0 0 30px rgba(220,38,38,0.35), 0 0 60px rgba(220,38,38,0.1); }
}

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

@keyframes shimmerSlide {
    0% { left: -100%; }
    100% { left: 200%; }
}

@keyframes borderGlowRed {
    0%, 100% { border-color: rgba(220,38,38,0.2); }
    50% { border-color: rgba(220,38,38,0.4); }
}

/* ===== GLASS CARD ===== */
.glass-card {
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    position: relative; overflow: hidden;
    animation: borderGlowRed 6s ease-in-out infinite;
}
.glass-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--red), transparent); opacity: 0.8; }

/* ===== GLASS DARK ===== */
.glass-dark {
    background: rgba(10,10,10,0.8);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
    color: white; position: relative; overflow: hidden;
}
.glass-dark::before { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--red), transparent); opacity: 0.6; }

/* ===== GLASS SHIMMER ===== */
.glass-shimmer { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.glass-shimmer:hover, .glass-shimmer:active { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.05); }
.glass-shimmer::after { content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent); pointer-events: none; }
.glass-shimmer:hover::after { animation: shimmerSlide 0.8s ease forwards; }

/* ===== CUSTOM CURSOR (Desktop only) ===== */
.custom-cursor {
    display: none;
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 10px var(--red), 0 0 20px rgba(220,38,38,0.5);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s;
}

.custom-cursor-glow {
    display: none;
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(220,38,38,0.15), transparent 70%);
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
}

@media (pointer: fine) {
    .custom-cursor, .custom-cursor-glow { display: block; }
}

/* ===== PARTICLE CANVAS ===== */
.particle-canvas {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.6;
}

@media (pointer: fine) {
    .particle-canvas { display: block; }
}

/* ===== FLOATING ORBS ===== */
.floating-orbs {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.floating-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.08;
    animation: orbFloat 20s ease-in-out infinite;
}

.orb-1 {
    width: 200px; height: 200px;
    background: radial-gradient(circle, var(--red), transparent);
    top: 10%; left: -30%;
    animation-delay: 0s;
    animation-duration: 18s;
}

.orb-2 {
    width: 150px; height: 150px;
    background: radial-gradient(circle, var(--red-dark), transparent);
    top: 60%; right: -20%;
    animation-delay: -6s;
    animation-duration: 22s;
}

.orb-3 {
    width: 120px; height: 120px;
    background: radial-gradient(circle, var(--gold), transparent);
    top: 30%; left: 40%;
    animation-delay: -12s;
    animation-duration: 25s;
    opacity: 0.04;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -20px) scale(1.1); }
    50% { transform: translate(-10px, 20px) scale(0.95); }
    75% { transform: translate(20px, 10px) scale(1.05); }
}

/* ===== HERO CAROUSEL ===== */
.hero-carousel {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-radius: 0;
     border-bottom-left-radius: 25px; border-bottom-right-radius: 25px;
}

.hero-carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    background-size: cover;
    background-position: center;
}

.hero-carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-carousel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
    z-index: 2;
}

.hero-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 12px 0;
    position: relative;
    z-index: 3;
}

.hero-carousel-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}

.hero-carousel-dot.active {
    background: var(--red);
    width: 18px;
    border-radius: 3px;
    box-shadow: 0 0 8px rgba(220,38,38,0.5);
}

/* ===========================================================
   SIDE NAVIGATION DRAWER
   =========================================================== */

/* Side nav overlay */
.side-nav-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 500;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.side-nav-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Side nav drawer */
.side-nav {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 280px;
    max-width: 80%;
    background: linear-gradient(180deg, #0a0a0a 0%, #111 50%, #0a0a0a 100%);
    border-right: 1.5px solid rgba(220,38,38,0.3);
    z-index: 600;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 8px 0 32px rgba(0,0,0,0.5);
    scrollbar-width: none;
}
.side-nav::-webkit-scrollbar { display: none; }

.side-nav.active {
    transform: translateX(0);
}

/* Side nav header */
.side-nav-header {
    padding: 20px 20px 16px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}
.side-nav-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(220,38,38,0.4), rgba(212,175,55,0.2), transparent);
}

.side-nav-logo {
    display: inline-block;
}
.side-nav-logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.side-nav-tagline {
    font-size: 0.7rem;
    color: var(--text-3);
    margin-top: 8px;
    font-weight: 500;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

/* Side nav links */
.side-nav-links {
    padding: 12px 0;
    flex-shrink: 0;
}

.side-nav-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 20px;
    color: var(--text-2);
    font-size: 0.88rem;
    font-weight: 500;
    transition: all 0.2s ease;
    position: relative;
    -webkit-tap-highlight-color: transparent;
}
.side-nav-link i {
    font-size: 1.15rem;
    width: 24px;
    text-align: center;
    transition: color 0.2s;
}
.side-nav-link:active {
    background: rgba(220,38,38,0.08);
}
.side-nav-link.active {
    color: var(--red-light);
    background: rgba(220,38,38,0.08);
}
.side-nav-link.active i {
    color: var(--red);
}
.side-nav-link.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 3px;
    background: var(--red);
    border-radius: 0 3px 3px 0;
}

/* Side nav divider */
.side-nav-divider {
    height: 1px;
    margin: 4px 20px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
}

/* Side nav legal links */
.side-nav-legal .side-nav-link {
    font-size: 0.82rem;
    color: var(--text-3);
    padding: 11px 20px;
}

/* Side nav bottom */
.side-nav-bottom {
    padding: 16px 20px 24px;
    margin-top: auto;
    flex-shrink: 0;
}

.side-nav-wa {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    background: #25D366;
    color: white;
    border-radius: 14px;
    font-size: 0.88rem;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 16px rgba(37,211,102,0.3);
}
.side-nav-wa i {
    font-size: 1.2rem;
}
.side-nav-wa:active {
    transform: scale(0.97);
}

/* ===== REDESIGNED "HOW IT WORKS" SECTION ===== */
.how-it-works {
    padding: 24px 0;
    position: relative;
}

.how-steps-container {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}

/* Connecting line */
.how-steps-line {
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--red), rgba(212,175,55,0.3), var(--red));
    z-index: 0;
}

/* Animated progress fill */
.how-steps-line-fill {
    position: absolute;
    left: 24px;
    top: 0;
    width: 2px;
    height: 0%;
    background: var(--red);
    z-index: 1;
    box-shadow: 0 0 8px rgba(220,38,38,0.4);
    transition: height 2s ease;
}

.how-step-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    position: relative;
    z-index: 2;
    padding: 12px 0;
}

.how-step-badge {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: white;
    position: relative;
    z-index: 2;
}

.how-step-badge.step-1 {
    background: linear-gradient(135deg, #dc2626, #991b1b);
    box-shadow: 0 4px 16px rgba(220,38,38,0.3);
}

.how-step-badge.step-2 {
    background: linear-gradient(135deg, #1a1a1a, #333);
    border: 1.5px solid rgba(220,38,38,0.3);
    box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}

.how-step-badge.step-3 {
    background: linear-gradient(135deg, #dc2626, #7f1d1d);
    box-shadow: 0 4px 16px rgba(220,38,38,0.3);
}

.how-step-num {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--bg);
    color: var(--red);
    font-size: 0.6rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid rgba(220,38,38,0.3);
}

.how-step-content {
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
    padding: 14px 16px;
    flex: 1;
}

.how-step-content h3 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}

.how-step-content p {
    font-size: 0.8rem;
    color: var(--text-2);
    line-height: 1.6;
}

/* ===== APP LOADER — PREMIUM PULSE ===== */
.app-loader {
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    margin:auto;
    max-width: 480px;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
.app-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.loader-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    position: relative;
}
.loader-ring {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.loader-ring::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 3px solid rgba(220,38,38,0.15);
    border-top-color: #dc2626;
    animation: loaderSpin 1s linear infinite;
}
.loader-ring::after {
    content: '';
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    border: 3px solid rgba(212,175,55,0.12);
    border-bottom-color: #D4AF37;
    animation: loaderSpin 1.5s linear infinite reverse;
}
.loader-ring-inner {
    position: absolute;
    inset: 16px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(220,38,38,0.08), transparent);
    animation: loaderPulse 2s ease-in-out infinite;
}
@keyframes loaderSpin {
    to { transform: rotate(360deg); }
}
@keyframes loaderPulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.3); opacity: 1; }
}
.loader-icon-wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -65%);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #dc2626;
    animation: loaderIconFloat 2s ease-in-out infinite;
    filter: drop-shadow(0 0 8px rgba(220,38,38,0.4));
}
@keyframes loaderIconFloat {
    0%, 100% { transform: translate(-50%, -65%) translateY(0); }
    50% { transform: translate(-50%, -65%) translateY(-4px); }
}
.loader-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    animation: loaderTextFade 2s ease-in-out infinite;
}
@keyframes loaderTextFade {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}
