/* ============================================
   SHIPPING KINGZ - Bold Corporate Design System
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@700;800;900&display=swap');

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

:root {
    /* === Brand Colors === */
    --navy: #0A1628;
    --navy-800: #111D35;
    --navy-700: #1B2A4A;
    --navy-600: #243660;
    --navy-500: #2E4376;
    --navy-400: #4A6294;
    --navy-300: #7B92B8;
    --navy-200: #B0C1D9;
    --navy-100: #E0E7F0;
    --navy-50: #F0F3F8;

    --gold: #C9A84C;
    --gold-dark: #A8892E;
    --gold-light: #E2C96A;
    --gold-100: #FBF5E4;
    --gold-200: #F0DFB0;

    /* === Neutrals === */
    --white: #FFFFFF;
    --gray-50: #F8F9FA;
    --gray-100: #F1F3F5;
    --gray-200: #E9ECEF;
    --gray-300: #DEE2E6;
    --gray-400: #ADB5BD;
    --gray-500: #6C757D;
    --gray-600: #495057;
    --gray-700: #343A40;
    --gray-800: #212529;
    --gray-900: #0D0F12;

    /* === Status === */
    --success: #059669;
    --success-light: #D1FAE5;
    --warning: #D97706;
    --warning-light: #FEF3C7;
    --error: #DC2626;
    --error-light: #FEE2E2;
    --info: #2563EB;
    --info-light: #DBEAFE;

    /* === Shadows === */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-xl: 0 16px 48px rgba(0,0,0,0.16);
    --shadow-2xl: 0 24px 64px rgba(0,0,0,0.2);
    --shadow-navy: 0 8px 32px rgba(10,22,40,0.25);
    --shadow-gold: 0 8px 32px rgba(201,168,76,0.2);
    --shadow-card: 0 2px 8px rgba(0,0,0,0.06), 0 8px 24px rgba(0,0,0,0.08);
    --shadow-card-hover: 0 4px 12px rgba(0,0,0,0.08), 0 16px 40px rgba(0,0,0,0.12);

    /* === Typography === */
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Playfair Display', Georgia, serif;

    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;
    --text-7xl: 4.5rem;

    --font-light: 300;
    --font-regular: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
    --font-extrabold: 800;
    --font-black: 900;

    --leading-tight: 1.15;
    --leading-snug: 1.3;
    --leading-normal: 1.6;
    --leading-relaxed: 1.75;

    /* === Spacing === */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    --space-32: 8rem;

    /* === Borders === */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 9999px;

    /* === Transitions === */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: 150ms var(--ease);
    --transition-normal: 250ms var(--ease);
    --transition-slow: 400ms var(--ease);

    /* === Layout === */
    --container-max: 1280px;
    --container-wide: 1440px;
    --header-height: 80px;
}

/* ---- Base ---- */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: var(--leading-normal);
    color: var(--gray-800);
    background: var(--white);
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: var(--font-bold);
    line-height: var(--leading-tight);
    color: var(--navy);
}

h1 { font-size: var(--text-6xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }

p { margin-bottom: var(--space-4); }

.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }
.text-white { color: var(--white); }
.text-gray { color: var(--gray-500); }

.font-body { font-family: var(--font-body); }
.font-heading { font-family: var(--font-heading); }

/* ---- Container ---- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.container-wide {
    max-width: var(--container-wide);
    margin: 0 auto;
    padding: 0 var(--space-6);
}

/* ---- Section ---- */
.section {
    padding: var(--space-24) 0;
}

.section-dark {
    background: var(--navy);
    color: var(--white);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: var(--white);
}

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

.section-gold {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--navy);
}

/* Section Header */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-16);
}

.section-header .overline {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: var(--font-bold);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold);
    margin-bottom: var(--space-4);
}

.section-header .overline::before {
    content: '';
    width: 40px;
    height: 2px;
    background: var(--gold);
}

.section-dark .section-header .overline {
    color: var(--gold-light);
}

.section-dark .section-header .overline::before {
    background: var(--gold-light);
}

.section-header h2 {
    margin-bottom: var(--space-4);
}

.section-header p {
    font-size: var(--text-lg);
    color: var(--gray-500);
    line-height: var(--leading-relaxed);
}

.section-dark .section-header p {
    color: var(--navy-200);
}

/* ============================================
   HEADER / NAVIGATION — Solid Dark Bar
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    background: var(--navy);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* Legacy classes — all resolve to same solid look */
.header-transparent,
.header-solid,
.header-scrolled {
    background: var(--navy);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    text-decoration: none;
    z-index: 1001;
}

.logo-icon {
    width: 38px;
    height: 38px;
    background: var(--gold);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: var(--font-black);
    font-size: var(--text-lg);
    color: var(--navy);
}

.logo-text {
    font-family: var(--font-body);
    font-weight: var(--font-bold);
    font-size: var(--text-xl);
    color: var(--white);
    letter-spacing: -0.02em;
}

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

/* Nav */
.nav {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    color: var(--navy-200);
    border-radius: 0;
    transition: color var(--transition-fast);
    cursor: pointer;
    position: relative;
    background: none;
    border: none;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: var(--space-4);
    right: var(--space-4);
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform var(--transition-fast);
}

.nav-link:hover {
    color: var(--white);
    background: transparent;
}

.nav-link:hover::after {
    transform: scaleX(1);
}

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

.nav-link.active::after {
    transform: scaleX(1);
}

/* Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown > .nav-link::after {
    display: none;
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 1px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    min-width: 200px;
    background: var(--navy-800);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    box-shadow: 0 12px 32px rgba(0,0,0,0.3);
    padding: var(--space-2) 0;
    opacity: 0;
    visibility: hidden;
    transition: all 200ms var(--ease);
    z-index: 1000;
    border: 1px solid rgba(255,255,255,0.06);
    border-top: 2px solid var(--gold);
}

.nav-dropdown-menu::before {
    display: none;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-5);
    color: var(--navy-200);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    border-radius: 0;
    transition: all var(--transition-fast);
}

.nav-dropdown-item:hover {
    background: rgba(255,255,255,0.06);
    color: var(--gold);
}

.nav-dropdown-item img {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);
    opacity: 0.4;
}

.nav-dropdown-item:hover img {
    opacity: 0.8;
    filter: brightness(0) saturate(100%) invert(75%) sepia(30%) saturate(600%) hue-rotate(10deg);
}

.nav-dropdown-chevron {
    width: 14px;
    height: 14px;
    transition: transform var(--transition-fast);
}

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

/* Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

/* Divider between nav and actions */
.nav-divider {
    width: 1px;
    height: 24px;
    background: rgba(255,255,255,0.1);
    margin: 0 var(--space-2);
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-2);
    z-index: 1001;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

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

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

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

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    line-height: 1;
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
    white-space: nowrap;
}

.btn img {
    width: 18px;
    height: 18px;
}

.btn-gold {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
}

.btn-gold:hover {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.btn-navy {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

.btn-navy:hover {
    background: var(--navy-800);
    border-color: var(--navy-800);
    transform: translateY(-2px);
    box-shadow: var(--shadow-navy);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.3);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--navy);
    border-color: var(--white);
}

.btn-outline-navy {
    background: transparent;
    color: var(--navy);
    border-color: var(--navy);
}

.btn-outline-navy:hover {
    background: var(--navy);
    color: var(--white);
}

.btn-outline-gold {
    background: transparent;
    color: var(--gold);
    border-color: var(--gold);
}

.btn-outline-gold:hover {
    background: var(--gold);
    color: var(--navy);
}

.btn-ghost {
    background: transparent;
    color: var(--white);
    border-color: transparent;
    padding: var(--space-2) var(--space-4);
}

.btn-ghost:hover {
    background: rgba(255,255,255,0.1);
}

.btn-lg {
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-base);
    border-radius: var(--radius-lg);
}

.btn-sm {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-xs);
}

.btn-icon {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: var(--radius-md);
}

.btn-icon.sm {
    width: 32px;
    height: 32px;
}

/* ============================================
   CARDS
   ============================================ */
.card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    box-shadow: var(--shadow-card);
    transition: all var(--transition-normal);
    border: 1px solid var(--gray-100);
}

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

.card-dark {
    background: var(--navy-800);
    border-color: rgba(255,255,255,0.06);
}

.card-dark:hover {
    border-color: rgba(255,255,255,0.12);
}

.card-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-6);
}

.card-icon img {
    width: 28px;
    height: 28px;
}

.card-icon.navy {
    background: var(--navy-50);
}

.card-icon.gold {
    background: var(--gold-100);
}

.card-icon.navy img {
    filter: brightness(0) saturate(100%) invert(12%) sepia(30%) saturate(2000%) hue-rotate(195deg) brightness(90%) contrast(95%);
}

.card-icon.gold img {
    filter: brightness(0) saturate(100%) invert(65%) sepia(60%) saturate(500%) hue-rotate(10deg) brightness(95%) contrast(90%);
}

.card h3 {
    font-family: var(--font-body);
    font-size: var(--text-lg);
    font-weight: var(--font-bold);
    margin-bottom: var(--space-3);
}

.card p {
    color: var(--gray-500);
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
    margin-bottom: 0;
}

.section-dark .card-dark h3 {
    color: var(--white);
}

.section-dark .card-dark p {
    color: var(--navy-300);
}

/* ============================================
   BADGES
   ============================================ */
.badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-1) var(--space-3);
    font-size: var(--text-xs);
    font-weight: var(--font-bold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: var(--radius-full);
}

.badge-gold {
    background: var(--gold-100);
    color: var(--gold-dark);
}

.badge-navy {
    background: var(--navy-50);
    color: var(--navy);
}

.badge-success {
    background: var(--success-light);
    color: var(--success);
}

.badge-warning {
    background: var(--warning-light);
    color: var(--warning);
}

.badge-error {
    background: var(--error-light);
    color: var(--error);
}

.badge-info {
    background: var(--info-light);
    color: var(--info);
}

/* Status badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-1) var(--space-3);
    font-size: var(--text-xs);
    font-weight: var(--font-semibold);
    border-radius: var(--radius-full);
}

.status-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.status-delivered { background: var(--success-light); color: var(--success); }
.status-in_transit, .status-shipped { background: var(--info-light); color: var(--info); }
.status-processing, .status-order_placed { background: var(--warning-light); color: var(--warning); }
.status-out_for_delivery { background: #E0E7FF; color: #4338CA; }
.status-failed, .status-returned { background: var(--error-light); color: var(--error); }
.status-on_hold, .status-customs { background: var(--gray-100); color: var(--gray-600); }

/* ============================================
   FORMS / INPUTS
   ============================================ */
.form-group {
    margin-bottom: var(--space-5);
}

.form-label {
    display: block;
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    color: var(--gray-700);
    margin-bottom: var(--space-2);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: var(--gray-800);
    background: var(--white);
    border: 1.5px solid var(--gray-300);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--navy-500);
    box-shadow: 0 0 0 3px rgba(10,22,40,0.08);
}

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

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

.form-hint {
    font-size: var(--text-xs);
    color: var(--gray-400);
    margin-top: var(--space-1);
}

/* Large tracking input */
.tracking-input-group {
    display: flex;
    gap: 0;
    max-width: 560px;
}

.tracking-input-group .form-input {
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
    padding: var(--space-4) var(--space-6);
    font-size: var(--text-base);
    border-right: none;
}

.tracking-input-group .btn {
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-base);
    white-space: nowrap;
}

/* ============================================
   GRID / LAYOUT UTILITIES
   ============================================ */
.grid {
    display: grid;
    gap: var(--space-8);
}

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

.flex {
    display: flex;
}

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

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.gap-2 { gap: var(--space-2); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }

.text-center { text-align: center; }
.text-left { text-align: left; }

/* ============================================
   NOTIFICATION / TOAST
   ============================================ */
.toast {
    position: fixed;
    top: calc(var(--header-height) + 16px);
    right: 16px;
    padding: var(--space-4) var(--space-6);
    border-radius: var(--radius-lg);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    z-index: 9999;
    max-width: 400px;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: var(--space-2);
    transform: translateX(120%);
    transition: transform 0.3s var(--ease);
}

.toast.show {
    transform: translateX(0);
}

.toast-success {
    background: var(--success);
    color: var(--white);
}

.toast-error {
    background: var(--error);
    color: var(--white);
}

.toast-info {
    background: var(--info);
    color: var(--white);
}

.toast-warning {
    background: var(--warning);
    color: var(--white);
}

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--navy);
    color: var(--navy-200);
    padding: var(--space-20) 0 var(--space-8);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-12);
    margin-bottom: var(--space-16);
}

.footer-brand p {
    color: var(--navy-300);
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-6);
    max-width: 320px;
}

.footer-social {
    display: flex;
    gap: var(--space-3);
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.06);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--gold);
}

.footer-social a img {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);
    opacity: 0.7;
}

.footer-social a:hover img {
    filter: brightness(0);
    opacity: 1;
}

.footer-column h4 {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: var(--font-bold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--white);
    margin-bottom: var(--space-6);
}

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

.footer-column li {
    margin-bottom: var(--space-3);
}

.footer-column a {
    font-size: var(--text-sm);
    color: var(--navy-300);
    transition: color var(--transition-fast);
}

.footer-column a:hover {
    color: var(--gold);
}

/* Footer newsletter */
.footer-newsletter {
    margin-top: var(--space-8);
}

.footer-newsletter-form {
    display: flex;
    gap: 0;
    max-width: 400px;
}

.footer-newsletter-form input {
    flex: 1;
    padding: var(--space-3) var(--space-4);
    background: rgba(255,255,255,0.06);
    border: 1.5px solid rgba(255,255,255,0.1);
    border-right: none;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
    color: var(--white);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    outline: none;
    transition: all var(--transition-fast);
}

.footer-newsletter-form input:focus {
    border-color: var(--gold);
    background: rgba(255,255,255,0.1);
}

.footer-newsletter-form input::placeholder {
    color: var(--navy-400);
}

.footer-newsletter-form button {
    padding: var(--space-3) var(--space-5);
    background: var(--gold);
    color: var(--navy);
    border: 1.5px solid var(--gold);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.footer-newsletter-form button:hover {
    background: var(--gold-light);
}

/* Footer bottom */
.footer-bottom {
    padding-top: var(--space-8);
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-4);
}

.footer-bottom p {
    font-size: var(--text-sm);
    color: var(--navy-400);
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: var(--space-6);
}

.footer-bottom-links a {
    font-size: var(--text-sm);
    color: var(--navy-400);
}

.footer-bottom-links a:hover {
    color: var(--gold);
}

/* ============================================
   ICON UTILITY CLASSES
   ============================================ */
.icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon img {
    width: 100%;
    height: 100%;
}

.icon-sm { width: 16px; height: 16px; }
.icon-md { width: 20px; height: 20px; }
.icon-lg { width: 24px; height: 24px; }
.icon-xl { width: 32px; height: 32px; }
.icon-2xl { width: 48px; height: 48px; }

.icon-white img {
    filter: brightness(0) invert(1);
}

.icon-navy img {
    filter: brightness(0) saturate(100%) invert(8%) sepia(30%) saturate(3000%) hue-rotate(195deg) brightness(90%) contrast(100%);
}

.icon-gold img {
    filter: brightness(0) saturate(100%) invert(70%) sepia(40%) saturate(600%) hue-rotate(10deg) brightness(95%) contrast(85%);
}

.icon-gray img {
    filter: brightness(0) saturate(100%) invert(50%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(90%) contrast(90%);
}

/* ============================================
   MOBILE MENU OVERLAY
   ============================================ */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--navy);
    z-index: 999;
    padding: calc(var(--header-height) + var(--space-8)) var(--space-6) var(--space-6);
    overflow-y: auto;
}

.mobile-menu.active {
    display: block;
    animation: fadeIn 0.2s var(--ease);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.mobile-menu .nav-link {
    display: flex;
    padding: var(--space-4) 0;
    font-size: var(--text-lg);
    color: var(--white);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.mobile-menu .nav-dropdown-menu {
    position: static;
    background: transparent;
    box-shadow: none;
    border: none;
    padding: 0 0 0 var(--space-4);
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
}

.mobile-menu .nav-dropdown.open .nav-dropdown-menu {
    display: block;
}

.mobile-menu .nav-dropdown-item {
    color: var(--navy-300);
    padding: var(--space-3) 0;
    border-bottom: none;
}

.mobile-menu .nav-dropdown-item:hover {
    background: transparent;
    color: var(--gold);
}

.mobile-menu .nav-actions {
    flex-direction: column;
    margin-top: var(--space-8);
    gap: var(--space-4);
}

.mobile-menu .nav-actions .btn {
    width: 100%;
    justify-content: center;
    padding: var(--space-4);
}

/* ============================================
   TABLES
   ============================================ */
.table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
}

table {
    width: 100%;
    border-collapse: collapse;
}

thead {
    background: var(--gray-50);
}

th {
    padding: var(--space-3) var(--space-4);
    font-size: var(--text-xs);
    font-weight: var(--font-bold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray-500);
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
}

td {
    padding: var(--space-4);
    font-size: var(--text-sm);
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-100);
}

tbody tr:hover {
    background: var(--gray-50);
}

tbody tr:last-child td {
    border-bottom: none;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    :root {
        --text-6xl: 2.75rem;
        --text-5xl: 2.25rem;
        --text-4xl: 1.875rem;
    }

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

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

@media (max-width: 768px) {
    :root {
        --text-7xl: 2.5rem;
        --text-6xl: 2.25rem;
        --text-5xl: 2rem;
        --text-4xl: 1.5rem;
        --text-3xl: 1.25rem;
        --header-height: 64px;
    }

    .section {
        padding: var(--space-16) 0;
    }

    .container {
        padding: 0 var(--space-4);
    }

    .nav, .nav-actions {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .tracking-input-group {
        flex-direction: column;
    }

    .tracking-input-group .form-input {
        border-radius: var(--radius-lg);
        border-right: 1.5px solid var(--gray-300);
    }

    .tracking-input-group .btn {
        border-radius: var(--radius-lg);
    }

    .btn-lg {
        padding: var(--space-3) var(--space-6);
    }
}

/* ============================================
   UTILITY / MISC
   ============================================ */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

.divider {
    height: 1px;
    background: var(--gray-200);
    margin: var(--space-8) 0;
}

.section-dark .divider {
    background: rgba(255,255,255,0.08);
}

/* Scroll animations */
[data-animate] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

[data-animate].animated {
    opacity: 1;
    transform: translateY(0);
}

[data-animate="fade-left"] {
    transform: translateX(-24px);
}

[data-animate="fade-left"].animated {
    transform: translateX(0);
}

[data-animate="fade-right"] {
    transform: translateX(24px);
}

[data-animate="fade-right"].animated {
    transform: translateX(0);
}

/* Loading spinner */
.spinner {
    width: 24px;
    height: 24px;
    border: 3px solid var(--gray-200);
    border-top-color: var(--navy);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

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

/* Hide/Show utility */
.hidden { display: none !important; }
.visible { display: block; }
