/* Professional Tracking Website - Modern Design System */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Primary Brand Colors - Purple & Orange */
    --primary-purple: #4D148C;
    --primary-purple-dark: #3A0F6A;
    --primary-purple-light: #6B21A8;
    --primary-orange: #FF6200;
    --primary-orange-dark: #E55A00;
    --primary-orange-light: #FF7A1A;

    /* Neutral Colors */
    --white: #FFFFFF;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;

    /* Status Colors */
    --success: #10B981;
    --success-light: #D1FAE5;
    --warning: #F59E0B;
    --warning-light: #FEF3C7;
    --error: #EF4444;
    --error-light: #FEE2E2;
    --info: #3B82F6;
    --info-light: #DBEAFE;

    /* Shadows - Modern subtle shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-purple: 0 10px 40px -10px rgba(77, 20, 140, 0.3);
    --shadow-orange: 0 10px 40px -10px rgba(255, 98, 0, 0.3);

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

    /* Typography Scale */
    --text-xs: 0.75rem;      /* 12px */
    --text-sm: 0.875rem;     /* 14px */
    --text-base: 1rem;       /* 16px */
    --text-lg: 1.125rem;     /* 18px */
    --text-xl: 1.25rem;      /* 20px */
    --text-2xl: 1.5rem;      /* 24px */
    --text-3xl: 1.875rem;    /* 30px */
    --text-4xl: 2.25rem;     /* 36px */
    --text-5xl: 3rem;        /* 48px */
    --text-6xl: 3.75rem;     /* 60px */

    /* Font Weights */
    --font-light: 300;
    --font-normal: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
    --font-extrabold: 800;

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

    /* Spacing Scale */
    --space-1: 0.25rem;   /* 4px */
    --space-2: 0.5rem;    /* 8px */
    --space-3: 0.75rem;   /* 12px */
    --space-4: 1rem;      /* 16px */
    --space-5: 1.25rem;   /* 20px */
    --space-6: 1.5rem;    /* 24px */
    --space-8: 2rem;      /* 32px */
    --space-10: 2.5rem;   /* 40px */
    --space-12: 3rem;     /* 48px */
    --space-16: 4rem;     /* 64px */
    --space-20: 5rem;     /* 80px */

    /* Icon Sizes */
    --icon-xs: 12px;
    --icon-sm: 16px;
    --icon-md: 20px;
    --icon-lg: 24px;
    --icon-xl: 32px;
    --icon-2xl: 48px;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--gray-50);
    color: var(--gray-800);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: var(--text-base);
    letter-spacing: -0.01em;
}

/* Modern Typography Classes */
h1, h2, h3, h4, h5, h6 {
    color: var(--gray-900);
    font-weight: var(--font-bold);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-3xl); }
h4 { font-size: var(--text-2xl); }
h5 { font-size: var(--text-xl); }
h6 { font-size: var(--text-lg); }

p {
    color: var(--gray-600);
    line-height: 1.7;
}

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

a:hover {
    color: var(--primary-purple-dark);
}

/* Consistent Icon Styling */
.icon-img {
    width: var(--icon-sm);
    height: var(--icon-sm);
    vertical-align: middle;
    flex-shrink: 0;
}

.icon-img-sm {
    width: var(--icon-xs);
    height: var(--icon-xs);
    vertical-align: middle;
}

.icon-img-md {
    width: var(--icon-md);
    height: var(--icon-md);
    vertical-align: middle;
}

.icon-img-lg {
    width: var(--icon-lg);
    height: var(--icon-lg);
    vertical-align: middle;
}

.icon-img-xl {
    width: var(--icon-xl);
    height: var(--icon-xl);
    vertical-align: middle;
}

.icon-img-2xl {
    width: var(--icon-2xl);
    height: var(--icon-2xl);
    vertical-align: middle;
}

/* Icon Color Filters */
.icon-purple {
    filter: brightness(0) saturate(100%) invert(12%) sepia(80%) saturate(4500%) hue-rotate(268deg) brightness(85%) contrast(115%);
}

.icon-orange {
    filter: brightness(0) saturate(100%) invert(45%) sepia(95%) saturate(2000%) hue-rotate(360deg) brightness(100%) contrast(105%);
}

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

.icon-gray {
    filter: brightness(0) saturate(100%) invert(45%) sepia(0%) saturate(0%) brightness(90%);
}

.icon-dark {
    filter: brightness(0) saturate(100%) invert(10%) sepia(5%) saturate(500%) brightness(30%);
}

.icon-success {
    filter: brightness(0) saturate(100%) invert(55%) sepia(75%) saturate(500%) hue-rotate(100deg) brightness(95%);
}

.icon-error {
    filter: brightness(0) saturate(100%) invert(35%) sepia(95%) saturate(2000%) hue-rotate(340deg) brightness(95%);
}

.icon-info {
    filter: brightness(0) saturate(100%) invert(40%) sepia(90%) saturate(1500%) hue-rotate(200deg) brightness(95%);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   HEADER - Top Navigation Bar
   ============================================ */
header {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background: var(--primary-purple);
    padding: 8px 0;
}

.header-top .container {
    display: flex;
    justify-content: flex-end;
    gap: 24px;
}

.header-top a {
    color: var(--white);
    text-decoration: none;
    font-size: var(--text-xs);
    font-weight: var(--font-medium);
    opacity: 0.9;
    transition: opacity var(--transition-fast);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.header-top a:hover {
    opacity: 1;
}

/* White icons on purple header-top background */
.header-top .icon-img {
    filter: brightness(0) invert(1);
    width: var(--icon-sm);
    height: var(--icon-sm);
}

.header-main {
    padding: 16px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 2px;
    text-decoration: none;
}

.logo-text {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -1px;
}

.logo-track {
    color: var(--primary-purple);
}

.logo-pro {
    color: var(--primary-orange);
}

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

nav a {
    text-decoration: none;
    color: var(--gray-700);
    font-weight: 500;
    font-size: 14px;
    padding: 10px 20px;
    border-radius: 4px;
    transition: all var(--transition-fast);
}

nav a:hover {
    background: var(--gray-100);
    color: var(--gray-900);
}

nav a.active {
    background: var(--primary-purple);
    color: var(--white);
}

/* White icons on active nav items */
nav a.active .icon-img {
    filter: brightness(0) invert(1);
}

/* Gray icons on regular nav items */
nav a .icon-img {
    filter: brightness(0) saturate(100%) invert(45%) sepia(0%) saturate(0%) brightness(90%);
}

nav a:hover .icon-img {
    filter: brightness(0) saturate(100%) invert(12%) sepia(80%) saturate(4500%) hue-rotate(268deg) brightness(85%) contrast(115%);
}

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

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

.nav-dropdown .dropdown-toggle .icon {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-fast);
}

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

.nav-dropdown .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow-xl);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-fast);
    z-index: 1001;
    border: 1px solid var(--gray-200);
}

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

.nav-dropdown .dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: var(--gray-700);
    font-size: 14px;
    border-radius: 0;
    transition: all var(--transition-fast);
}

.nav-dropdown .dropdown-menu a:hover {
    background: var(--gray-50);
    color: var(--primary-purple);
}

.nav-dropdown .dropdown-menu a .icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Purple icons in dropdown menu */
.nav-dropdown .dropdown-menu a .icon-img {
    filter: brightness(0) saturate(100%) invert(12%) sepia(80%) saturate(4500%) hue-rotate(268deg) brightness(85%) contrast(115%);
}

.nav-dropdown .dropdown-menu a:hover .icon-img {
    filter: brightness(0) saturate(100%) invert(45%) sepia(95%) saturate(2000%) hue-rotate(360deg) brightness(100%) contrast(105%);
}

/* Header top with icons */
.header-top a {
    display: flex;
    align-items: center;
    gap: 6px;
}

.header-top a .icon {
    width: 14px;
    height: 14px;
    filter: brightness(0) invert(1);
}

/* ============================================
   HERO SECTION - Main Tracking Area
   ============================================ */
.hero {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-purple-dark) 100%);
    padding: 80px 0 120px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M0 100 L100 0 L100 100 Z' fill='rgba(255,255,255,0.03)'/%3E%3C/svg%3E") no-repeat;
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 24px;
}

.hero-badge span {
    color: var(--white);
    font-size: 13px;
    font-weight: 500;
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    background: var(--primary-orange);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.hero h1 {
    color: var(--white);
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 16px;
}

.hero p {
    color: rgba(255,255,255,0.85);
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 500px;
}

/* Search Box */
.search-container {
    background: var(--white);
    border-radius: 8px;
    padding: 8px;
    box-shadow: var(--shadow-xl);
    max-width: 700px;
}

.search-box {
    display: flex;
    gap: 8px;
}

.search-input-wrapper {
    flex: 1;
    position: relative;
}

.search-input-wrapper .icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    font-size: 20px;
}

.search-box input {
    width: 100%;
    padding: 18px 18px 18px 50px;
    border: 2px solid var(--gray-200);
    border-radius: 6px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color var(--transition-fast);
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-purple);
}

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

.search-box button {
    padding: 18px 40px;
    background: var(--primary-orange);
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.search-box button:hover {
    background: var(--primary-orange-dark);
    transform: translateY(-1px);
}

.search-box button:active {
    transform: translateY(0);
}

.search-hint {
    margin-top: 12px;
    padding: 0 8px;
    color: var(--gray-500);
    font-size: 13px;
}

/* ============================================
   TRACKING RESULTS
   ============================================ */
.result-section {
    padding: 0 0 60px;
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.tracking-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

/* Status Header */
.status-header {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-purple-dark) 100%);
    padding: 32px 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 24px;
}

.status-main {
    color: var(--white);
}

.status-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
    margin-bottom: 8px;
}

.status-text {
    font-size: 28px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}

.status-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.tracking-id {
    text-align: right;
    color: var(--white);
}

.tracking-id .label {
    font-size: 13px;
    opacity: 0.8;
    margin-bottom: 4px;
}

.tracking-id .number {
    font-size: 20px;
    font-weight: 600;
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
}

/* Progress Bar */
.progress-section {
    padding: 32px 40px;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
}

.progress-bar {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 8px;
}

.progress-bar::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 20px;
    right: 20px;
    height: 4px;
    background: var(--gray-300);
    border-radius: 2px;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 15px;
    left: 20px;
    height: 4px;
    background: var(--primary-orange);
    border-radius: 2px;
    transition: width 0.5s ease;
}

/* 6 steps progress bar */
.progress-bar[data-progress="1"]::after { width: 0%; }
.progress-bar[data-progress="2"]::after { width: 20%; }
.progress-bar[data-progress="3"]::after { width: 40%; }
.progress-bar[data-progress="4"]::after { width: 60%; }
.progress-bar[data-progress="5"]::after { width: 80%; }
.progress-bar[data-progress="6"]::after { width: calc(100% - 40px); }

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

.step-dot {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--white);
    border: 4px solid var(--gray-300);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    transition: all var(--transition-normal);
}

.progress-step.completed .step-dot {
    background: var(--primary-orange);
    border-color: var(--primary-orange);
    color: var(--white);
}

.progress-step.active .step-dot {
    border-color: var(--primary-orange);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(255, 98, 0, 0.2);
}

.step-label {
    font-size: 12px;
    color: var(--gray-500);
    text-align: center;
    max-width: 80px;
}

.progress-step.completed .step-label,
.progress-step.active .step-label {
    color: var(--gray-800);
    font-weight: 500;
}

/* Order Details Grid */
.order-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1px;
    background: var(--gray-200);
}

.detail-item {
    background: var(--white);
    padding: 24px 32px;
}

.detail-item .label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gray-500);
    margin-bottom: 6px;
}

.detail-item .value {
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-900);
}

/* ============================================
   SHIPPING ROUTE VISUALIZATION
   ============================================ */
.shipping-route-section {
    padding: 32px 40px;
    border-bottom: 1px solid var(--gray-200);
}

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

.route-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-900);
    display: flex;
    align-items: center;
    gap: 8px;
}

.route-info {
    display: flex;
    gap: 24px;
}

.route-distance,
.route-stops {
    font-size: 13px;
    color: var(--gray-600);
    background: var(--gray-100);
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 500;
}

.route-visualization {
    position: relative;
}

.route-map {
    display: flex;
    align-items: flex-start;
    overflow-x: auto;
    padding: 20px 0;
    gap: 0;
}

.route-stop {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 140px;
    position: relative;
    flex-shrink: 0;
}

.stop-marker {
    position: relative;
    width: 50px;
    height: 50px;
    background: var(--gray-200);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    z-index: 2;
    transition: all var(--transition-normal);
}

.stop-icon {
    font-size: 20px;
}

.stop-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid transparent;
    animation: none;
}

.route-stop.completed .stop-marker {
    background: var(--success);
    color: var(--white);
}

.route-stop.completed .stop-icon {
    color: var(--white);
}

.route-stop.current .stop-marker {
    background: var(--primary-orange);
    color: var(--white);
    box-shadow: 0 0 0 4px rgba(255, 98, 0, 0.2);
}

.route-stop.current .stop-icon {
    color: var(--white);
}

.route-stop.current .stop-pulse {
    border-color: var(--primary-orange);
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.route-stop.pending .stop-marker {
    background: var(--gray-200);
    color: var(--gray-500);
}

.route-stop.origin .stop-marker {
    border: 3px solid var(--primary-purple);
}

.route-stop.destination .stop-marker {
    border: 3px solid var(--primary-orange);
}

.stop-info {
    text-align: center;
    padding: 0 8px;
}

.stop-city {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 4px;
    white-space: nowrap;
}

.stop-facility {
    font-size: 11px;
    color: var(--gray-500);
    margin-bottom: 4px;
    line-height: 1.3;
}

.stop-distance {
    font-size: 10px;
    color: var(--gray-400);
    background: var(--gray-100);
    padding: 2px 8px;
    border-radius: 10px;
    display: inline-block;
}

.route-connector {
    flex: 1;
    height: 4px;
    background: var(--gray-200);
    min-width: 40px;
    margin-top: 23px;
    position: relative;
    z-index: 1;
}

.route-connector.completed {
    background: var(--success);
}

.route-connector::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid var(--gray-200);
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
}

.route-connector.completed::after {
    border-left-color: var(--success);
}

/* Timeline */
.timeline-section {
    padding: 32px 40px;
}

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

.timeline-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-900);
}

.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: var(--gray-200);
}

.timeline-item {
    position: relative;
    padding-bottom: 28px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -33px;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray-300);
    border: 3px solid var(--white);
    box-shadow: 0 0 0 2px var(--gray-300);
}

.timeline-item.active::before {
    background: var(--primary-orange);
    box-shadow: 0 0 0 2px var(--primary-orange);
}

.timeline-item.completed::before {
    background: var(--success);
    box-shadow: 0 0 0 2px var(--success);
}

.timeline-content {
    background: var(--gray-50);
    padding: 16px 20px;
    border-radius: 8px;
    border-left: 3px solid var(--gray-300);
}

.timeline-item.active .timeline-content {
    background: rgba(255, 98, 0, 0.08);
    border-left-color: var(--primary-orange);
}

.timeline-item.completed .timeline-content {
    border-left-color: var(--success);
}

.timeline-empty {
    padding: 20px;
    text-align: center;
    color: var(--gray-500);
    font-size: 14px;
    background: var(--gray-50);
    border-radius: 8px;
}

.timeline-date {
    font-size: 12px;
    color: var(--gray-500);
    margin-bottom: 4px;
}

.timeline-status {
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 2px;
}

.timeline-location {
    font-size: 13px;
    color: var(--gray-600);
    display: flex;
    align-items: center;
    gap: 4px;
}

.timeline-description {
    font-size: 13px;
    color: var(--gray-500);
    margin-top: 6px;
}

/* ============================================
   ERROR SECTION
   ============================================ */
.error-section {
    padding: 0 0 60px;
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.error-card {
    background: var(--white);
    border-radius: 12px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    max-width: 500px;
    margin: 0 auto;
}

.error-icon {
    width: 80px;
    height: 80px;
    background: var(--error-light);
    color: var(--error);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin: 0 auto 24px;
}

.error-card h3 {
    font-size: 22px;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.error-card p {
    color: var(--gray-600);
    margin-bottom: 24px;
}

.error-card .btn-primary {
    display: inline-block;
    width: auto;
    padding: 14px 32px;
}

/* ============================================
   STATUS BADGES
   ============================================ */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 13px;
    text-transform: capitalize;
}

.status-order_placed {
    background: var(--info-light);
    color: var(--info);
}
.status-processing {
    background: #FFF8E1;
    color: #F57C00;
}
.status-shipped {
    background: #EDE7F6;
    color: var(--primary-purple);
}
.status-in_transit {
    background: #FFF3E0;
    color: var(--primary-orange);
}
.status-customs {
    background: #E3F2FD;
    color: #1565C0;
}
.status-out_for_delivery {
    background: #E8F5E9;
    color: #2E7D32;
}
.status-delivered {
    background: var(--success-light);
    color: var(--success);
}
.status-failed {
    background: var(--error-light);
    color: var(--error);
}
.status-on_hold {
    background: #FFF3E0;
    color: #E65100;
}
.status-returned {
    background: #FCE4EC;
    color: #C2185B;
}
/* Legacy support */
.status-pending {
    background: var(--warning-light);
    color: #E65100;
}

/* ============================================
   ADMIN DASHBOARD
   ============================================ */
.admin-main {
    flex: 1;
    padding: 40px 0;
}

.page-header {
    margin-bottom: 32px;
}

.page-header.admin-page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
}

.page-header-content {
    flex: 1;
}

.page-header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.admin-user {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--gray-100);
    border-radius: 8px;
    font-size: 14px;
    color: var(--gray-700);
    font-weight: 500;
}

.btn-logout {
    padding: 10px 20px;
    background: var(--white);
    color: var(--error);
    border: 2px solid var(--error);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-logout:hover {
    background: var(--error);
    color: var(--white);
}

.page-header h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.page-header p {
    color: var(--gray-600);
}

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

.admin-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.admin-card.full-width {
    grid-column: 1 / -1;
}

.card-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-actions .search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.header-actions .search-box .icon {
    position: absolute;
    left: 12px;
    color: var(--gray-400);
    pointer-events: none;
}

.header-actions .search-box input {
    padding: 10px 12px 10px 36px;
    border: 2px solid var(--gray-200);
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    width: 220px;
    transition: all var(--transition-fast);
}

.header-actions .search-box input:focus {
    outline: none;
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 3px rgba(77, 20, 140, 0.1);
}

.header-actions .search-box input::placeholder {
    color: var(--gray-400);
}

.card-header h2 {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-900);
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-header h2 .icon {
    width: 32px;
    height: 32px;
    background: var(--primary-purple);
    color: var(--white);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.card-body {
    padding: 24px;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 14px;
    color: var(--gray-700);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: all var(--transition-fast);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 3px rgba(77, 20, 140, 0.1);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* Modern Button System */
.btn-primary {
    width: 100%;
    padding: var(--space-4) var(--space-6);
    background: var(--primary-orange);
    color: var(--white);
    border: none;
    border-radius: var(--radius-lg);
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    font-family: inherit;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    box-shadow: var(--shadow-sm);
}

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

.btn-primary:active {
    transform: translateY(0);
}

.btn-primary.purple {
    background: var(--primary-purple);
}

.btn-primary.purple:hover {
    background: var(--primary-purple-dark);
    box-shadow: var(--shadow-purple);
}

.btn-primary .icon-img {
    width: var(--icon-sm);
    height: var(--icon-sm);
    filter: brightness(0) invert(1);
}

.btn-secondary {
    padding: var(--space-3) var(--space-5);
    background: var(--white);
    color: var(--gray-700);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    font-family: inherit;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
}

.btn-secondary:hover {
    background: var(--gray-50);
    border-color: var(--gray-400);
    color: var(--gray-900);
}

.btn-secondary .icon-img {
    width: var(--icon-sm);
    height: var(--icon-sm);
    filter: brightness(0) saturate(100%) invert(40%);
}

.btn-danger {
    padding: var(--space-2) var(--space-4);
    background: var(--white);
    color: var(--error);
    border: 1px solid var(--error);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    cursor: pointer;
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
}

.btn-danger:hover {
    background: var(--error);
    color: var(--white);
}

.btn-danger .icon-img {
    width: var(--icon-sm);
    height: var(--icon-sm);
}

.btn-danger:hover .icon-img {
    filter: brightness(0) invert(1);
}

.btn-icon {
    padding: var(--space-2) var(--space-4);
    background: var(--gray-100);
    color: var(--gray-700);
    border: none;
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
}

.btn-icon:hover {
    background: var(--gray-200);
}

.btn-icon .icon-img {
    width: var(--icon-sm);
    height: var(--icon-sm);
}

/* Result Box */
.result-box {
    margin-top: 20px;
    padding: 16px 20px;
    background: var(--success-light);
    border-radius: 8px;
    border-left: 4px solid var(--success);
}

.result-box p {
    color: #1B5E20;
    font-weight: 500;
}

.result-box.error {
    background: var(--error-light);
    border-left-color: var(--error);
}

.result-box.error p {
    color: #B71C1C;
}

.tracking-display {
    margin-top: 16px;
    padding: 16px 20px;
    background: var(--white);
    border-radius: 8px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    border: 1px solid var(--gray-200);
}

.tracking-display span {
    color: var(--gray-600);
    font-size: 14px;
}

.tracking-display strong {
    font-size: 18px;
    color: var(--primary-purple);
    letter-spacing: 2px;
    font-family: 'Courier New', monospace;
}

.btn-copy {
    padding: 8px 16px;
    background: var(--primary-purple);
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    margin-left: auto;
    transition: all var(--transition-fast);
}

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

/* Table */
.table-container {
    overflow-x: auto;
}

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

th, td {
    padding: 14px 16px;
    text-align: left;
}

th {
    background: var(--gray-50);
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gray-600);
    border-bottom: 2px solid var(--gray-200);
}

td {
    border-bottom: 1px solid var(--gray-100);
    font-size: 14px;
}

tbody tr {
    transition: background var(--transition-fast);
}

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

td strong {
    color: var(--primary-purple);
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
}

td .status-badge {
    padding: 4px 12px;
    font-size: 12px;
}

.table-actions {
    display: flex;
    gap: 8px;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 48px 24px;
    color: var(--gray-500);
}

.empty-state .icon {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background: var(--gray-900);
    color: var(--white);
    padding: 48px 0 24px;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--white);
}

.footer-col a {
    display: block;
    color: var(--gray-400);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 10px;
    transition: color var(--transition-fast);
}

.footer-col a:hover {
    color: var(--white);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--gray-700);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    color: var(--gray-500);
    font-size: 13px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 800;
}

.footer-logo .track {
    color: var(--white);
}

.footer-logo .pro {
    color: var(--primary-orange);
}

/* ============================================
   SECTION HEADER (Common)
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.section-header p {
    font-size: 18px;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features-section {
    padding: 80px 0;
    background: var(--white);
}

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

.feature-card {
    text-align: center;
    padding: 32px 24px;
    border-radius: 12px;
    transition: all var(--transition-normal);
}

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

.feature-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-purple-light));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
}

.feature-icon span {
    filter: grayscale(1) brightness(10);
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.6;
}

.feature-image {
    width: 100%;
    height: 160px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.feature-card:hover .feature-image img {
    transform: scale(1.05);
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-section {
    padding: 80px 0;
    background: var(--gray-50);
}

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

.service-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

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

.service-icon {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
}

.service-icon.orange {
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-orange-light));
    color: var(--white);
}

.service-icon.purple {
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-purple-light));
    color: var(--white);
}

.service-icon.green {
    background: linear-gradient(135deg, #00A651, #00C853);
    color: var(--white);
}

.service-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.service-card:hover .service-image img {
    transform: scale(1.08);
}

.service-content {
    padding: 24px;
}

.service-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.service-content p {
    font-size: 14px;
    color: var(--gray-600);
    margin-bottom: 16px;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    margin-bottom: 20px;
}

.service-features li {
    font-size: 14px;
    color: var(--gray-700);
    padding: 6px 0;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-purple);
    text-decoration: none;
    transition: gap var(--transition-fast);
}

.service-link:hover {
    gap: 10px;
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-purple-dark) 100%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.stat-item {
    color: var(--white);
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 16px;
    opacity: 0.85;
}

/* ============================================
   HOW IT WORKS SECTION
   ============================================ */
.how-it-works-section {
    padding: 80px 0;
    background: var(--white);
}

.steps-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 24px;
}

.step-card {
    flex: 1;
    max-width: 300px;
    text-align: center;
    padding: 32px 24px;
}

.step-number {
    width: 64px;
    height: 64px;
    background: var(--primary-orange);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.step-content p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.6;
}

.step-connector {
    display: flex;
    align-items: center;
    padding-top: 32px;
    color: var(--gray-300);
    font-size: 32px;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials-section {
    padding: 80px 0;
    background: var(--gray-50);
}

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

.testimonial-card {
    background: var(--white);
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--shadow-md);
}

.testimonial-rating {
    margin-bottom: 16px;
    color: #FFC107;
    font-size: 20px;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 15px;
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: var(--primary-purple);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
}

.author-avatar-img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-purple);
}

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

.author-info strong {
    font-size: 15px;
    color: var(--gray-900);
}

.author-info span {
    font-size: 13px;
    color: var(--gray-500);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-purple-dark) 100%);
    text-align: center;
}

.cta-content h2 {
    font-size: 40px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 18px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-cta {
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.btn-cta.primary {
    background: var(--primary-orange);
    color: var(--white);
}

.btn-cta.primary:hover {
    background: var(--primary-orange-dark);
    transform: translateY(-2px);
}

.btn-cta.secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.5);
}

.btn-cta.secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
    padding: 80px 0;
    background: var(--white);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--gray-200);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.faq-question:hover {
    color: var(--primary-purple);
}

.faq-question span:first-child {
    font-size: 16px;
    font-weight: 500;
    color: var(--gray-900);
}

.faq-icon {
    width: 28px;
    height: 28px;
    border: 2px solid var(--gray-300);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--gray-500);
    transition: all var(--transition-fast);
}

.faq-item.active .faq-icon {
    background: var(--primary-purple);
    border-color: var(--primary-purple);
    color: var(--white);
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding-bottom: 20px;
}

.faq-answer p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ============================================
   NEWSLETTER SECTION
   ============================================ */
.newsletter-section {
    padding: 60px 0;
    background: var(--gray-100);
}

.newsletter-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.newsletter-text h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.newsletter-text p {
    font-size: 15px;
    color: var(--gray-600);
}

.newsletter-form {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.newsletter-form input {
    padding: 14px 20px;
    border: 2px solid var(--gray-300);
    border-radius: 8px;
    font-size: 15px;
    min-width: 300px;
    transition: border-color var(--transition-fast);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-purple);
}

.newsletter-form button {
    padding: 14px 28px;
    background: var(--primary-orange);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.newsletter-form button:hover {
    background: var(--primary-orange-dark);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .admin-grid {
        grid-template-columns: 1fr;
    }

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

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

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

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

    .steps-grid {
        flex-wrap: wrap;
    }

    .step-connector {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 60px 0 100px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .search-box {
        flex-direction: column;
    }

    .search-box button {
        width: 100%;
    }

    .header-main .container {
        flex-direction: column;
        gap: 16px;
    }

    .status-header {
        padding: 24px;
    }

    .status-text {
        font-size: 22px;
    }

    .progress-section {
        padding: 24px;
        overflow-x: auto;
    }

    .progress-bar {
        min-width: 500px;
    }

    .order-details {
        grid-template-columns: 1fr;
    }

    .timeline-section {
        padding: 24px;
    }

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

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

    /* New sections responsive */
    .section-header h2 {
        font-size: 28px;
    }

    .section-header p {
        font-size: 16px;
    }

    .features-section,
    .services-section,
    .how-it-works-section,
    .testimonials-section,
    .faq-section,
    .cta-section {
        padding: 60px 0;
    }

    .features-grid,
    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

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

    .stat-number {
        font-size: 36px;
    }

    .steps-grid {
        flex-direction: column;
        align-items: center;
    }

    .step-card {
        max-width: 100%;
    }

    .cta-content h2 {
        font-size: 28px;
    }

    .newsletter-content {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-form {
        width: 100%;
        flex-direction: column;
    }

    .newsletter-form input {
        min-width: 100%;
    }

    .newsletter-form button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 26px;
    }

    .container {
        padding: 0 16px;
    }

    nav {
        width: 100%;
        justify-content: center;
    }

    nav a {
        padding: 8px 16px;
        font-size: 13px;
    }

    .tracking-id .number {
        font-size: 16px;
    }

    .card-body {
        padding: 16px;
    }

    th, td {
        padding: 10px 12px;
        font-size: 13px;
    }

    /* New sections mobile */
    .section-header h2 {
        font-size: 24px;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 26px;
    }

    .stat-number {
        font-size: 28px;
    }

    .stat-label {
        font-size: 14px;
    }

    .stats-grid {
        gap: 24px;
    }

    .testimonial-card {
        padding: 24px;
    }

    .cta-content h2 {
        font-size: 24px;
    }

    .cta-content p {
        font-size: 15px;
    }

    .btn-cta {
        width: 100%;
        text-align: center;
    }

    .faq-question span:first-child {
        font-size: 14px;
    }
}

/* ============================================
   FORM SECTIONS (Create Order Form)
   ============================================ */
.form-section {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-200);
}

.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 20px;
}

.form-section-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-purple);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-section-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 16px;
    background: var(--primary-orange);
    border-radius: 2px;
}

/* Checkbox Styles */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    color: var(--gray-700);
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--primary-purple);
    cursor: pointer;
}

.checkbox-label span {
    flex: 1;
}

/* Form Hints */
.form-hint {
    display: block;
    font-size: 12px;
    color: var(--gray-500);
    margin-top: 6px;
    line-height: 1.4;
}

/* ============================================
   TOAST NOTIFICATIONS
   ============================================ */
.toast-notification {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--gray-900);
    color: var(--white);
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 9999;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
    max-width: 400px;
}

.toast-notification.show {
    transform: translateY(0);
    opacity: 1;
}

.toast-notification.toast-success {
    background: linear-gradient(135deg, #00A651, #00C853);
}

.toast-notification.toast-error {
    background: linear-gradient(135deg, #D32F2F, #F44336);
}

.toast-icon {
    font-size: 18px;
    font-weight: bold;
}

.toast-message {
    font-size: 14px;
    font-weight: 500;
}

/* ============================================
   NOTIFICATION TABLE STYLES
   ============================================ */
#notificationTable {
    font-size: 13px;
}

#notificationTable td {
    vertical-align: middle;
}

/* ============================================
   STORE SETTINGS CARD
   ============================================ */
#storeSettingsSection {
    padding-top: 16px;
}

#storeSettingsSection .form-row {
    margin-bottom: 16px;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS FOR NEW ELEMENTS
   ============================================ */
@media (max-width: 768px) {
    .toast-notification {
        left: 16px;
        right: 16px;
        bottom: 16px;
        max-width: none;
    }

    .form-section-title {
        font-size: 13px;
    }

    #notificationTable {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .checkbox-label {
        font-size: 13px;
    }

    .toast-notification {
        padding: 12px 16px;
    }

    .toast-message {
        font-size: 13px;
    }
}

/* ============================================
   MODERN HEADER - V3
   ============================================ */
.header-v3 {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.header-v3.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.header-v3 .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    max-width: 1400px;
    margin: 0 auto;
    overflow: visible;
}

/* Logo */
.header-v3-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 8px;
}

.header-v3-logo .logo-img {
    height: 70px;
    width: auto;
    max-width: 250px;
    object-fit: contain;
}

.header-v3-logo .logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-purple-dark) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-v3-logo .logo-icon svg {
    width: 24px;
    height: 24px;
}

.header-v3-logo .logo-text {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.header-v3-logo .logo-text .track {
    color: var(--primary-purple);
}

.header-v3-logo .logo-text .pro {
    color: var(--primary-orange);
}

/* Navigation */
.header-v3-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-v3-nav a {
    position: relative;
    padding: 10px 16px;
    color: var(--gray-700);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.header-v3-nav a:hover {
    color: var(--primary-purple);
    background: rgba(77, 20, 140, 0.05);
}

.header-v3-nav a.active {
    color: var(--primary-purple);
    background: rgba(77, 20, 140, 0.1);
}

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

.header-v3-dropdown > a {
    display: flex;
    align-items: center;
    gap: 6px;
}

.header-v3-dropdown > a .dropdown-arrow {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}

.header-v3-dropdown:hover > a .dropdown-arrow {
    transform: rotate(180deg);
}

.header-v3-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: white;
    border-radius: 16px;
    padding: 12px;
    min-width: 240px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.05);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
}

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

.header-v3-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--gray-700);
    border-radius: 10px;
    transition: all 0.2s ease;
}

.header-v3-dropdown-menu a:hover {
    background: rgba(77, 20, 140, 0.08);
    color: var(--primary-purple);
}

.header-v3-dropdown-menu a .menu-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.header-v3-dropdown-menu a .menu-icon.purple {
    background: rgba(77, 20, 140, 0.1);
}

.header-v3-dropdown-menu a .menu-icon.orange {
    background: rgba(255, 98, 0, 0.1);
}

.header-v3-dropdown-menu a .menu-icon.green {
    background: rgba(16, 185, 129, 0.1);
}

.header-v3-dropdown-menu a .menu-icon img {
    width: 20px;
    height: 20px;
}

.header-v3-dropdown-menu a .menu-text {
    display: flex;
    flex-direction: column;
}

.header-v3-dropdown-menu a .menu-text span {
    font-weight: 600;
    font-size: 14px;
}

.header-v3-dropdown-menu a .menu-text small {
    font-size: 12px;
    color: var(--gray-500);
    font-weight: 400;
}

/* Header Actions */
.header-v3-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-v3-actions .btn-track {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-purple-dark) 100%);
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(77, 20, 140, 0.3);
}

.header-v3-actions .btn-track:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(77, 20, 140, 0.4);
}

.header-v3-actions .btn-track img {
    width: 16px;
    height: 16px;
    filter: brightness(0) invert(1);
}

.header-v3-actions .btn-login {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    color: var(--gray-700);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: 10px;
    border: 1px solid var(--gray-200);
    transition: all 0.2s ease;
}

.header-v3-actions .btn-login:hover {
    border-color: var(--primary-purple);
    color: var(--primary-purple);
}

.header-v3-actions .btn-login img {
    width: 16px;
    height: 16px;
}

/* Mobile Menu Toggle - hidden on desktop */
.header-v3-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 100;
}

.header-v3-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: all 0.3s ease;
}

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

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

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

/* Mobile Menu - Hidden by default on desktop */
.header-v3-mobile {
    display: none;
}

/* Mobile Styles */
@media (max-width: 1024px) {
    .header-v3 {
        overflow: visible;
    }

    .header-v3 .container {
        padding: 12px 16px;
        gap: 12px;
        overflow: visible;
    }

    .header-v3-logo {
        flex: 0 1 auto;
        min-width: 0;
        overflow: hidden;
    }

    .header-v3-logo .logo-img {
        height: 50px;
        max-width: 160px;
        width: auto;
    }

    .header-v3-nav {
        display: none !important;
    }

    .header-v3-actions {
        display: flex !important;
        flex: 0 0 auto;
        gap: 8px;
    }

    .header-v3-actions .btn-login {
        display: none !important;
    }

    .header-v3-actions .btn-track {
        display: flex !important;
        padding: 10px 16px;
        font-size: 13px;
    }

    .header-v3-toggle {
        display: flex !important;
        flex: 0 0 auto;
    }

    /* Mobile Menu */
    .header-v3-mobile {
        display: block;
        position: fixed;
        top: 74px;
        left: 0;
        right: 0;
        bottom: 0;
        background: white;
        padding: 24px 16px;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        z-index: 998;
    }

    .header-v3-mobile.active {
        transform: translateX(0);
    }

    .header-v3-mobile-nav {
        display: flex;
        flex-direction: column;
        gap: 4px;
        text-align: left;
    }

    .header-v3-mobile-nav > a {
        display: block;
        padding: 16px;
        color: var(--gray-700);
        text-decoration: none;
        font-size: 16px;
        font-weight: 500;
        border-radius: 12px;
        transition: all 0.2s ease;
        text-align: left;
    }

    .header-v3-mobile-nav > a:hover,
    .header-v3-mobile-nav > a.active {
        background: rgba(77, 20, 140, 0.08);
        color: var(--primary-purple);
    }

    /* Mobile Dropdown */
    .header-v3-mobile-dropdown {
        border-radius: 12px;
        overflow: hidden;
        text-align: left;
    }

    .header-v3-mobile-dropdown-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 16px;
        background: none;
        border: none;
        color: var(--gray-700);
        font-size: 16px;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.2s ease;
        text-align: left;
    }

    .header-v3-mobile-dropdown-toggle:hover {
        background: rgba(77, 20, 140, 0.08);
        color: var(--primary-purple);
    }

    .header-v3-mobile-dropdown-toggle img {
        width: 20px;
        height: 20px;
        transition: transform 0.2s ease;
    }

    .header-v3-mobile-dropdown.active .header-v3-mobile-dropdown-toggle img {
        transform: rotate(180deg);
    }

    .header-v3-mobile-dropdown-menu {
        display: none;
        padding: 8px 16px 16px;
    }

    .header-v3-mobile-dropdown.active .header-v3-mobile-dropdown-menu {
        display: block;
    }

    .header-v3-mobile-dropdown-menu a {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px;
        color: var(--gray-600);
        text-decoration: none;
        font-size: 15px;
        border-radius: 10px;
        transition: all 0.2s ease;
    }

    .header-v3-mobile-dropdown-menu a:hover {
        background: rgba(77, 20, 140, 0.05);
        color: var(--primary-purple);
    }

    .header-v3-mobile-dropdown-menu a img {
        width: 20px;
        height: 20px;
    }

    /* Mobile Divider */
    .header-v3-mobile-divider {
        height: 1px;
        background: var(--gray-200);
        margin: 16px 0;
    }

    /* Mobile Actions */
    .header-v3-mobile-actions {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-top: 16px;
    }

    .header-v3-mobile-actions a {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 16px;
        text-decoration: none;
        font-size: 15px;
        font-weight: 600;
        border-radius: 12px;
        transition: all 0.2s ease;
    }

    .header-v3-mobile-actions .btn-track-mobile {
        background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-purple-dark) 100%);
        color: white;
        box-shadow: 0 4px 15px rgba(77, 20, 140, 0.3);
    }

    .header-v3-mobile-actions .btn-login-mobile {
        background: var(--gray-100);
        color: var(--gray-700);
    }

    .header-v3-mobile-actions a img {
        width: 18px;
        height: 18px;
    }

    .header-v3-mobile-actions .btn-track-mobile img {
        filter: brightness(0) invert(1);
    }
}

@media (max-width: 480px) {
    .header-v3 .container {
        padding: 10px 12px;
        gap: 8px;
    }

    .header-v3-logo .logo-img {
        height: 40px;
        max-width: 120px;
    }

    .header-v3-logo .logo-icon {
        width: 32px;
        height: 32px;
    }

    .header-v3-logo .logo-text {
        font-size: 18px;
    }

    .header-v3-actions .btn-track {
        padding: 8px 10px;
        font-size: 12px;
        border-radius: 8px;
    }

    .header-v3-actions .btn-track span {
        display: none;
    }

    .header-v3-actions .btn-track img {
        width: 16px;
        height: 16px;
        margin: 0;
    }

    .header-v3-toggle {
        padding: 6px;
    }

    .header-v3-toggle span {
        width: 20px;
        height: 2px;
    }

    .header-v3-mobile {
        top: 60px;
        padding: 20px 12px;
    }
}

/* Body padding for fixed header */
body.has-header-v3 {
    padding-top: 102px;
}

@media (max-width: 1024px) {
    body.has-header-v3 {
        padding-top: 74px;
    }
}

@media (max-width: 480px) {
    body.has-header-v3 {
        padding-top: 60px;
    }
}

/* ============================================
   MOBILE HEADER FORCE VISIBILITY FIX
   ============================================ */
@media screen and (max-width: 1024px) {
    .header-v3 .header-v3-actions {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .header-v3 .header-v3-actions .btn-track {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .header-v3 .header-v3-toggle {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .header-v3 .header-v3-nav {
        display: none !important;
    }
}

/* ============================================
   MODERN FOOTER V3
   ============================================ */

.footer-v3 {
    background: linear-gradient(180deg, var(--gray-900) 0%, #0a0a0f 100%);
    color: var(--gray-300);
    position: relative;
    overflow: hidden;
}

.footer-v3::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-purple), var(--primary-orange), transparent);
}

/* Footer Top - Newsletter Section */
.footer-v3-top {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-purple-dark) 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.footer-v3-top::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: var(--primary-orange);
    border-radius: 50%;
    opacity: 0.1;
    filter: blur(80px);
}

.footer-v3-top .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.footer-v3-newsletter-content h3 {
    font-size: 28px;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.footer-v3-newsletter-content p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 400px;
}

.footer-v3-newsletter-form {
    display: flex;
    gap: 12px;
    flex: 1;
    max-width: 500px;
}

.footer-v3-newsletter-form input {
    flex: 1;
    padding: 16px 24px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.footer-v3-newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.footer-v3-newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-orange);
    background: rgba(255, 255, 255, 0.15);
}

.footer-v3-newsletter-form button {
    padding: 16px 32px;
    background: var(--primary-orange);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-v3-newsletter-form button:hover {
    background: var(--primary-orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 98, 0, 0.3);
}

/* Footer Main Content */
.footer-v3-main {
    padding: 80px 0 60px;
}

.footer-v3-main .container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr;
    gap: 60px;
}

/* Footer Brand */
.footer-v3-brand {
    max-width: 300px;
}

.footer-v3-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    text-decoration: none;
}

.footer-v3-logo .logo-img {
    height: 70px;
    width: auto;
    max-width: 250px;
    object-fit: contain;
}

.footer-v3-logo .logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-purple-dark) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.footer-v3-logo .logo-icon::after {
    content: '✓';
    color: white;
    font-size: 24px;
    font-weight: 700;
}

.footer-v3-logo .logo-text {
    font-size: 26px;
    font-weight: 800;
    color: white;
    letter-spacing: -0.5px;
}

.footer-v3-logo .logo-text .pro {
    color: var(--primary-orange);
}

.footer-v3-brand p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--gray-400);
    margin-bottom: 24px;
}

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

.footer-v3-social a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.footer-v3-social a:hover {
    background: var(--primary-purple);
    border-color: var(--primary-purple);
    transform: translateY(-3px);
}

.footer-v3-social a img {
    width: 20px;
    height: 20px;
    opacity: 0.7;
    filter: brightness(0) invert(1);
    transition: opacity 0.3s ease;
}

.footer-v3-social a:hover img {
    opacity: 1;
}

/* Footer Columns */
.footer-v3-column h4 {
    font-size: 14px;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.footer-v3-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-orange), transparent);
    border-radius: 2px;
}

.footer-v3-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-v3-column ul li {
    margin-bottom: 14px;
}

.footer-v3-column ul li a {
    color: var(--gray-400);
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-v3-column ul li a:hover {
    color: white;
    padding-left: 8px;
}

.footer-v3-column ul li a::before {
    content: '';
    width: 0;
    height: 2px;
    background: var(--primary-orange);
    transition: width 0.3s ease;
}

.footer-v3-column ul li a:hover::before {
    width: 12px;
}

/* Footer Contact Info */
.footer-v3-contact {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-v3-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.footer-v3-contact-item .icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-purple-dark) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-v3-contact-item .icon svg {
    width: 20px;
    height: 20px;
    color: white;
    stroke: white;
    fill: none;
}

.footer-v3-contact-item .info h5 {
    font-size: 14px;
    font-weight: 600;
    color: white;
    margin-bottom: 4px;
}

.footer-v3-contact-item .info p,
.footer-v3-contact-item .info a {
    font-size: 14px;
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-v3-contact-item .info a:hover {
    color: var(--primary-orange);
}

/* Footer Bottom */
.footer-v3-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 30px 0;
}

.footer-v3-bottom .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-v3-bottom p {
    font-size: 14px;
    color: var(--gray-500);
}

.footer-v3-bottom-links {
    display: flex;
    gap: 32px;
}

.footer-v3-bottom-links a {
    font-size: 14px;
    color: var(--gray-500);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-v3-bottom-links a:hover {
    color: white;
}

/* Footer Responsive */
@media (max-width: 1200px) {
    .footer-v3-main .container {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 40px;
    }

    .footer-v3-brand {
        grid-column: 1 / -1;
        max-width: 100%;
        text-align: center;
    }

    .footer-v3-brand p {
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .footer-v3-logo {
        justify-content: center;
    }

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

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

    .footer-v3-column {
        text-align: center;
    }

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

    .footer-v3-column ul li a:hover {
        padding-left: 0;
    }
}

@media (max-width: 992px) {
    .footer-v3-top .container {
        flex-direction: column;
        text-align: center;
    }

    .footer-v3-newsletter-content p {
        max-width: 100%;
    }

    .footer-v3-newsletter-form {
        max-width: 100%;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .footer-v3-top {
        padding: 40px 0;
    }

    .footer-v3-newsletter-content h3 {
        font-size: 24px;
    }

    .footer-v3-newsletter-form {
        flex-direction: column;
    }

    .footer-v3-newsletter-form button {
        justify-content: center;
    }

    .footer-v3-main {
        padding: 60px 0 40px;
    }

    .footer-v3-main .container {
        grid-template-columns: 1fr 1fr;
        gap: 40px 30px;
    }

    .footer-v3-contact {
        grid-column: 1 / -1;
    }

    .footer-v3-contact-item {
        justify-content: center;
    }

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

    .footer-v3-bottom-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px 24px;
    }
}

@media (max-width: 480px) {
    .footer-v3-main .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-v3-logo .logo-icon {
        width: 40px;
        height: 40px;
    }

    .footer-v3-logo .logo-icon::after {
        font-size: 20px;
    }

    .footer-v3-logo .logo-text {
        font-size: 22px;
    }

    .footer-v3-newsletter-content h3 {
        font-size: 20px;
    }

    .footer-v3-newsletter-content p {
        font-size: 14px;
    }
}

/* ============================================
   ENHANCED MOBILE RESPONSIVENESS
   ============================================ */

/* Mobile-first touch improvements */
@media (max-width: 768px) {
    /* Larger touch targets */
    button, .btn, .btn-primary, .btn-secondary, a.btn {
        min-height: 48px;
        padding: 14px 24px;
    }

    /* Better form inputs for mobile */
    input, select, textarea {
        font-size: 16px !important; /* Prevents iOS zoom on focus */
        padding: 14px 16px;
        min-height: 48px;
    }

    /* Container padding for mobile */
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    /* Typography scaling for mobile */
    h1 {
        font-size: 28px;
        line-height: 1.2;
    }

    h2 {
        font-size: 24px;
        line-height: 1.3;
    }

    h3 {
        font-size: 20px;
    }

    h4 {
        font-size: 18px;
    }

    /* Services grid mobile */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Stats section mobile */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stat-number {
        font-size: 32px;
    }

    .stat-label {
        font-size: 13px;
    }

    /* Testimonials mobile */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .testimonial-card {
        padding: 24px;
    }

    /* Steps/How it works mobile */
    .steps-grid {
        flex-direction: column;
        gap: 32px;
    }

    .step-card {
        max-width: 100%;
        padding: 24px 16px;
    }

    .step-connector {
        display: none;
    }

    /* Features mobile */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Track CTA section mobile */
    .track-cta-content {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }

    .track-cta-form {
        flex-direction: column;
        width: 100%;
    }

    .track-cta-form input {
        width: 100%;
        text-align: center;
    }

    .track-cta-form button {
        width: 100%;
        justify-content: center;
    }

    /* Hero sections mobile */
    .hero-section {
        padding: 60px 0;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 16px;
    }

    /* Admin specific mobile */
    .admin-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .admin-card {
        padding: 16px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    table {
        min-width: 600px;
    }

    .table-actions {
        flex-wrap: nowrap;
    }

    /* Tracking result mobile */
    .tracking-card {
        padding: 20px;
    }

    .tracking-header {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .status-badge-large {
        width: 100%;
        justify-content: center;
    }

    .tracking-progress {
        overflow-x: auto;
        padding-bottom: 12px;
    }

    .progress-steps {
        min-width: 500px;
    }

    /* Timeline mobile */
    .timeline-container {
        padding-left: 20px;
    }

    .timeline-item {
        padding-left: 30px;
    }

    /* Cards mobile */
    .card, .admin-card {
        border-radius: 12px;
    }

    .card-header {
        padding: 16px;
    }

    .card-body {
        padding: 16px;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    /* Even smaller typography */
    h1 {
        font-size: 24px;
    }

    h2 {
        font-size: 20px;
    }

    /* Container tighter padding */
    .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    /* Stats 2x2 to 1 column on very small */
    .stats-grid {
        grid-template-columns: 1fr;
    }

    /* Buttons full width */
    .btn-primary, .btn-secondary {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    /* Page hero mobile */
    .page-hero {
        padding: 60px 0;
    }

    .page-hero h1 {
        font-size: 28px;
    }

    .page-hero p {
        font-size: 15px;
    }

    /* Service cards mobile */
    .service-content {
        padding: 16px;
    }

    .service-content h3 {
        font-size: 18px;
    }

    /* Admin table actions */
    .table-actions .btn-icon {
        width: 32px;
        height: 32px;
    }

    /* Form sections */
    .form-section {
        padding: 16px;
        margin-bottom: 16px;
    }

    .form-section-title {
        font-size: 14px;
    }
}

/* Header mobile improvements */
@media (max-width: 1024px) {
    .header-v3-nav {
        display: none;
    }

    .header-v3-actions {
        display: none;
    }

    .header-v3-toggle {
        display: flex;
    }

    .header-v3-logo .logo-img {
        height: 50px;
        max-width: 180px;
    }

    .header-v3 .container {
        padding: 12px 16px;
    }
}

/* Mobile menu improvements */
.header-v3-mobile {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    z-index: 999;
    padding-top: 80px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.header-v3-mobile.active {
    transform: translateX(0);
}

.header-v3-mobile-nav {
    padding: 20px;
}

.header-v3-mobile-nav > a,
.header-v3-mobile-dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 20px;
    font-size: 16px;
    font-weight: 500;
    color: var(--gray-700);
    text-decoration: none;
    border-radius: 12px;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.header-v3-mobile-nav > a:hover,
.header-v3-mobile-dropdown-toggle:hover {
    background: rgba(77, 20, 140, 0.05);
    color: var(--primary-purple);
}

.header-v3-mobile-dropdown-menu {
    display: none;
    padding: 8px 0 8px 20px;
}

.header-v3-mobile-dropdown.active .header-v3-mobile-dropdown-menu {
    display: block;
}

.header-v3-mobile-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    font-size: 15px;
    color: var(--gray-600);
    text-decoration: none;
    border-radius: 8px;
}

.header-v3-mobile-dropdown-menu a img {
    width: 20px;
    height: 20px;
}

.header-v3-mobile-actions {
    padding: 20px;
    border-top: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-track-mobile,
.btn-login-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-track-mobile {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-purple-dark) 100%);
    color: white;
}

.btn-login-mobile {
    background: var(--gray-100);
    color: var(--gray-700);
}

.header-v3-mobile-divider {
    height: 1px;
    background: var(--gray-200);
    margin: 12px 20px;
}

/* Toggle button improvements */
.header-v3-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
    padding: 10px;
}

.header-v3-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: all 0.3s ease;
}

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

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

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

/* Fix body scroll when mobile menu is open */
body.menu-open {
    overflow: hidden;
}

/* Smooth scrolling for better mobile experience */
html {
    scroll-behavior: smooth;
}

/* Touch-friendly spacing */
@media (pointer: coarse) {
    /* Larger spacing for touch devices */
    .form-group {
        margin-bottom: 20px;
    }

    .checkbox-label {
        padding: 12px 0;
    }

    /* Larger click areas */
    .service-link,
    .footer-v3-column a,
    .header-v3-dropdown-menu a {
        padding: 14px 16px;
    }
}
