/*
 * ============================================
 * Leve+ by Hono DC — Design System
 * Premium Dark Mode with Glassmorphism
 * ============================================
 */

/* ---- Google Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800;900&display=swap');

/* ---- CSS Custom Properties ---- */
:root {
    /* Brand Colors (from logos) */
    --primary: #FF7000;
    --primary-light: #FF9440;
    --primary-dark: #D15A00;
    --secondary: #112A4F;
    --secondary-light: #1C3F73;
    --secondary-dark: #0A1A33;
    --accent-green: #35A344;
    --accent-green-light: #4AC75A;
    --accent-blue: #112A4F;

    /* Background & Surfaces */
    --bg-primary: #F8F9FA;
    --bg-secondary: #FFFFFF;
    --bg-card: rgba(255, 255, 255, 0.9);
    --bg-card-hover: rgba(248, 249, 250, 0.95);
    --bg-glass: rgba(255, 255, 255, 0.7);
    --bg-input: rgba(248, 249, 250, 0.8);

    /* Text */
    --text-primary: #112A4F;
    --text-secondary: #4B5563;
    --text-muted: #6B7280;
    --text-accent: #FF7000;

    /* Borders */
    --border-color: rgba(255, 112, 0, 0.2);
    --border-glass: rgba(0, 0, 0, 0.05);
    --border-focus: rgba(255, 112, 0, 0.5);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #FF7000, #FF9440);
    --gradient-hero: linear-gradient(135deg, #F8F9FA 0%, #E9ECEF 50%, #DEE2E6 100%);
    --gradient-card: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 249, 250, 0.7));
    --gradient-green: linear-gradient(135deg, #35A344, #4AC75A);
    --gradient-glow: radial-gradient(ellipse at top, rgba(255, 112, 0, 0.1), transparent 60%);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 0 30px rgba(255, 112, 0, 0.15);
    --shadow-card: 0 8px 32px rgba(17, 42, 79, 0.08), inset 0 1px 0 rgba(255, 255, 255, 1);

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;

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

    /* Typography */
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Outfit', 'Inter', sans-serif;

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

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

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

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    min-height: 100vh;
    overflow-x: hidden;
}

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

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

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

/* ---- Vector Icons ---- */
.icon {
    display: inline-block;
    vertical-align: -0.15em;
    flex-shrink: 0;
    transition: transform var(--transition-fast), stroke var(--transition-fast);
}

.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-primary { stroke: var(--primary); }
.icon-success { stroke: #10B981; }
.icon-warning { stroke: #FBBF24; }
.icon-danger { stroke: #EF4444; }
.icon-muted { stroke: var(--text-muted); }

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

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

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-title h2 {
    margin-bottom: var(--space-md);
}

.section-title p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ---- Layout ---- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

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

/* ---- Navbar ---- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0.85rem 0;
    transition: all var(--transition-base);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(17, 42, 79, 0.08);
    box-shadow: 0 4px 20px rgba(17, 42, 79, 0.06);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    padding: 0.65rem 0;
    box-shadow: var(--shadow-md);
}

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

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.navbar-brand img {
    height: 44px;
    width: auto;
    object-fit: contain;
    transition: transform var(--transition-base);
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.navbar-brand .brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.navbar-brand .brand-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--secondary);
    letter-spacing: -0.02em;
}

.navbar-brand .brand-title span {
    color: var(--primary);
}

.navbar-brand .brand-sub {
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    list-style: none;
}

.navbar-links a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.92rem;
    transition: color var(--transition-fast);
    position: relative;
    padding: 4px 0;
}

.navbar-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 1px;
    transition: width var(--transition-base);
}

.navbar-links a:hover,
.navbar-links a.active {
    color: var(--text-primary);
}

.navbar-links a:hover::after,
.navbar-links a.active::after {
    width: 100%;
}

.navbar-cta {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: var(--space-sm);
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.btn:hover::before {
    opacity: 1;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 16px rgba(244, 121, 32, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(244, 121, 32, 0.4);
    color: #fff;
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--bg-card-hover);
    border-color: var(--primary);
    transform: translateY(-2px);
    color: var(--text-primary);
}

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

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.btn-success {
    background: var(--gradient-green);
    color: #fff;
}

.btn-danger {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: #fff;
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    border-radius: var(--radius-lg);
}

.btn-block {
    width: 100%;
}

.btn:active {
    transform: translateY(0) scale(0.98);
}

/* ---- Cards ---- */
.card {
    background: var(--gradient-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-card);
    transition: all var(--transition-base);
}

.card:hover {
    border-color: rgba(244, 121, 32, 0.3);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-lg);
}

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
}

/* ---- Badges ---- */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.badge-primary {
    background: rgba(244, 121, 32, 0.15);
    color: var(--primary-light);
    border: 1px solid rgba(244, 121, 32, 0.3);
}

.badge-success {
    background: rgba(45, 140, 60, 0.15);
    color: var(--accent-green-light);
    border: 1px solid rgba(45, 140, 60, 0.3);
}

.badge-warning {
    background: rgba(245, 158, 11, 0.15);
    color: #FBBF24;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-danger {
    background: rgba(239, 68, 68, 0.15);
    color: #FCA5A5;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.badge-info {
    background: rgba(30, 95, 140, 0.15);
    color: #7DD3FC;
    border: 1px solid rgba(30, 95, 140, 0.3);
}

.badge-secondary {
    background: rgba(148, 163, 184, 0.15);
    color: var(--text-secondary);
    border: 1px solid rgba(148, 163, 184, 0.3);
}

/* ---- Forms ---- */
.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    margin-bottom: var(--space-sm);
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.form-control {
    width: 100%;
    padding: 0.85rem 1.15rem;
    background: var(--bg-input);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all var(--transition-fast);
    outline: none;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 112, 0, 0.12);
    background: #FFFFFF;
}

.form-control::placeholder {
    color: var(--text-muted);
}

.form-control.is-invalid {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.form-error {
    display: block;
    margin-top: var(--space-xs);
    font-size: 0.8rem;
    color: #FCA5A5;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2394A3B8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.2rem;
    padding-right: 3rem;
}

select.form-control option {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

/* ---- Hero Section ---- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--gradient-hero);
    padding-top: 135px;
    padding-bottom: 90px;
}

.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 75%;
    height: 140%;
    background: radial-gradient(circle, rgba(255, 112, 0, 0.07) 0%, rgba(17, 42, 79, 0.05) 40%, transparent 70%);
    animation: heroGlow 10s ease-in-out infinite alternate;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to top, var(--bg-primary), transparent);
    pointer-events: none;
}

@keyframes heroGlow {
    0% { transform: translate(0, 0) scale(1); opacity: 0.6; }
    100% { transform: translate(-4%, 4%) scale(1.15); opacity: 0.9; }
}

.hero .container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: var(--space-3xl);
    align-items: center;
    position: relative;
    z-index: 2;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0.45rem 1rem;
    background: rgba(244, 121, 32, 0.1);
    border: 1px solid rgba(244, 121, 32, 0.3);
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: var(--space-lg);
    box-shadow: 0 0 20px rgba(244, 121, 32, 0.1);
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    background: #10B981;
    border-radius: 50%;
    box-shadow: 0 0 10px #10B981;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.hero h1 {
    font-size: clamp(2.3rem, 5.2vw, 3.8rem);
    font-weight: 900;
    margin-bottom: var(--space-md);
    line-height: 1.12;
    letter-spacing: -0.02em;
}

.hero p.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    max-width: 580px;
    line-height: 1.65;
}

/* Hero Quick Search Box (Workana / Marketplace style) */
.hero-search-card {
    background: var(--bg-card);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-card);
    margin-bottom: var(--space-xl);
}

.hero-search-card .search-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--border-glass);
}

.hero-search-card .search-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-search-form {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: var(--space-sm);
    align-items: end;
}

.hero-search-form .search-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero-search-form label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-search-form select,
.hero-search-form input {
    background: #FFFFFF;
    border: 1px solid rgba(17, 42, 79, 0.15);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    padding: 0.65rem 0.85rem;
    font-size: 0.88rem;
    outline: none;
    transition: all var(--transition-fast);
}

.hero-search-form select:focus,
.hero-search-form input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(255, 112, 0, 0.15);
}

.hero-search-form .btn-search {
    padding: 0.65rem 1.4rem;
    height: 42px;
    white-space: nowrap;
    font-size: 0.9rem;
    font-weight: 700;
}

.quick-routes {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: var(--space-md);
    flex-wrap: wrap;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.quick-routes .route-chip {
    background: rgba(17, 42, 79, 0.05);
    border: 1px solid rgba(17, 42, 79, 0.1);
    padding: 2px 10px;
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.quick-routes .route-chip:hover {
    background: rgba(255, 112, 0, 0.1);
    border-color: var(--primary);
    color: var(--primary);
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    align-items: center;
}

/* Floating Stats (Hero) */
.floating-stats {
    display: flex;
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
    animation: fadeInUp 0.8s ease-out 0.4s both;
    flex-wrap: wrap;
}

.floating-stat {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.floating-stat .stat-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    font-size: 1.15rem;
    flex-shrink: 0;
}

.floating-stat .stat-icon.orange {
    background: rgba(244, 121, 32, 0.15);
    color: var(--primary);
    border: 1px solid rgba(244, 121, 32, 0.25);
}

.floating-stat .stat-icon.green {
    background: rgba(16, 185, 129, 0.15);
    color: #10B981;
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.floating-stat .stat-icon.blue {
    background: rgba(30, 95, 140, 0.15);
    color: #7DD3FC;
    border: 1px solid rgba(30, 95, 140, 0.25);
}

.floating-stat .stat-value {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.1;
}

.floating-stat .stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Hero Live Simulator Visual (Right Column) */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 0.9s ease-out 0.2s both;
}

.hero-live-card {
    width: 100%;
    max-width: 440px;
    background: var(--bg-card);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-card);
    position: relative;
    z-index: 2;
}

.hero-live-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--border-glass);
}

.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #10B981;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 3px 8px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.live-badge .live-dot {
    width: 6px;
    height: 6px;
    background: #10B981;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

.hero-live-route {
    background: rgba(17, 42, 79, 0.04);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    margin-bottom: var(--space-lg);
    border: 1px solid rgba(17, 42, 79, 0.1);
}

.route-step-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-xs);
}

.route-step-col {
    display: flex;
    flex-direction: column;
}

.route-step-col .step-city {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-primary);
}

.route-step-col .step-time {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.route-step-col.right {
    text-align: right;
}

.route-step-progress {
    position: relative;
    margin: var(--space-sm) 0;
    height: 4px;
    background: rgba(17, 42, 79, 0.1);
    border-radius: 2px;
}

.route-step-progress-bar {
    height: 100%;
    width: 65%;
    background: linear-gradient(to right, var(--primary), #10B981);
    border-radius: 2px;
    position: relative;
}

.route-step-progress-bar::after {
    content: '🚗';
    position: absolute;
    right: -10px;
    top: -12px;
    font-size: 1rem;
}

.hero-carrier-profile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md);
    background: rgba(244, 121, 32, 0.06);
    border-radius: var(--radius-md);
    border: 1px solid rgba(244, 121, 32, 0.2);
    margin-bottom: var(--space-lg);
}

.carrier-info-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.carrier-avatar-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    color: #fff;
    box-shadow: 0 4px 12px rgba(244, 121, 32, 0.3);
}

.carrier-text-meta h5 {
    font-size: 0.95rem;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.carrier-text-meta span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.hero-live-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-sm);
}

.hero-live-price {
    display: flex;
    flex-direction: column;
}

.hero-live-price .price-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero-live-price .price-val {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-light);
}

/* Floating Notification Pills around live card */
.hero-pill-notification {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(17, 42, 79, 0.12);
    border-radius: var(--radius-full);
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    box-shadow: 0 10px 30px rgba(17, 42, 79, 0.12);
    z-index: 3;
    white-space: nowrap;
}

.hero-pill-notification.top-right {
    top: -18px;
    right: -24px;
    border-color: rgba(16, 185, 129, 0.4);
    animation: floatSlow 5s ease-in-out infinite;
}

.hero-pill-notification.bottom-left {
    bottom: -18px;
    left: -24px;
    border-color: rgba(244, 121, 32, 0.4);
    animation: floatSlow 6s ease-in-out infinite 1s;
}

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

/* Workana-style Marketplace Projects Section */
.marketplace-preview-section {
    padding: var(--space-3xl) 0;
    position: relative;
    background: var(--bg-secondary);
}

.marketplace-preview-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border-color), transparent);
}

.marketplace-filters-chips {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: var(--space-2xl);
    flex-wrap: wrap;
}

.filter-chip-btn {
    background: rgba(17, 42, 79, 0.04);
    border: 1px solid rgba(17, 42, 79, 0.1);
    color: var(--text-secondary);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-chip-btn.active,
.filter-chip-btn:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* Two-Sided Marketplace Split Feature Cards */
.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    margin-top: var(--space-2xl);
}

.split-card {
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.split-card.sender-side {
    background: linear-gradient(135deg, #FFFFFF, #FFF5EE);
    border: 1px solid rgba(255, 112, 0, 0.2);
    box-shadow: 0 8px 32px rgba(255, 112, 0, 0.06);
}

.split-card.carrier-side {
    background: linear-gradient(135deg, #FFFFFF, #F0FDF4);
    border: 1px solid rgba(53, 163, 68, 0.2);
    box-shadow: 0 8px 32px rgba(53, 163, 68, 0.06);
}

.split-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--space-md);
    width: fit-content;
}

.split-card.sender-side .split-card-badge {
    background: rgba(244, 121, 32, 0.15);
    color: var(--primary-light);
    border: 1px solid rgba(244, 121, 32, 0.3);
}

.split-card.carrier-side .split-card-badge {
    background: rgba(16, 185, 129, 0.15);
    color: #10B981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.split-card-list {
    list-style: none;
    margin: var(--space-xl) 0;
}

.split-card-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: var(--space-md);
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.split-card-list li span.check {
    color: #10B981;
    font-weight: 800;
    flex-shrink: 0;
}

/* ---- How It Works Section ---- */
.how-it-works {
    position: relative;
    background: var(--bg-secondary);
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border-color), transparent);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    position: relative;
}

.steps-grid::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 15%;
    right: 15%;
    height: 2px;
    background: linear-gradient(to right, var(--primary), var(--accent-green), var(--accent-blue));
    opacity: 0.3;
}

.step-card {
    text-align: center;
    padding: var(--space-2xl) var(--space-xl);
    position: relative;
}

.step-number {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto var(--space-lg);
    position: relative;
    z-index: 2;
}

.step-card:nth-child(1) .step-number {
    background: rgba(244, 121, 32, 0.15);
    color: var(--primary);
    border: 2px solid rgba(244, 121, 32, 0.3);
}

.step-card:nth-child(2) .step-number {
    background: rgba(45, 140, 60, 0.15);
    color: var(--accent-green-light);
    border: 2px solid rgba(45, 140, 60, 0.3);
}

.step-card:nth-child(3) .step-number {
    background: rgba(30, 95, 140, 0.15);
    color: #7DD3FC;
    border: 2px solid rgba(30, 95, 140, 0.3);
}

.step-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
}

.step-card h3 {
    margin-bottom: var(--space-sm);
    font-size: 1.2rem;
}

.step-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ---- Benefits Section ---- */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
}

.benefit-card {
    padding: var(--space-2xl);
}

.benefit-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    font-size: 1.5rem;
    margin-bottom: var(--space-lg);
    background: rgba(244, 121, 32, 0.1);
    border: 1px solid rgba(244, 121, 32, 0.2);
    transition: all var(--transition-base);
}

.benefit-card:hover .benefit-icon {
    background: var(--primary);
    color: #fff;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 24px rgba(244, 121, 32, 0.3);
}

.benefit-card h3 {
    font-size: 1.15rem;
    margin-bottom: var(--space-sm);
}

.benefit-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ---- Provinces Section ---- */
.provinces-section {
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.provinces-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    justify-content: center;
}

.province-tag {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 0.5rem 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: all var(--transition-base);
    cursor: default;
}

.province-tag:hover {
    border-color: var(--primary);
    color: var(--primary-light);
    background: rgba(244, 121, 32, 0.08);
    transform: translateY(-2px);
}

.province-tag .pin {
    color: var(--primary);
}

/* ---- CTA Section ---- */
.cta-section {
    text-align: center;
    position: relative;
}

.cta-card {
    max-width: 700px;
    margin: 0 auto;
    padding: var(--space-3xl);
    background: var(--gradient-card);
    border: 1px solid rgba(244, 121, 32, 0.2);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
}

.cta-card h2 {
    margin-bottom: var(--space-md);
}

.cta-card p {
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    font-size: 1.1rem;
}

/* ---- Footer ---- */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-glass);
    padding: var(--space-3xl) 0 var(--space-xl);
}

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.footer-brand img {
    height: 36px;
}

.footer-brand span {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--text-primary);
}

.footer-about p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: var(--space-lg);
}

.footer-column h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: var(--space-lg);
}

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

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

.footer-column a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--space-xl);
    border-top: 1px solid var(--border-glass);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-bottom-logos {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.footer-bottom-logos img {
    height: 28px;
    opacity: 0.7;
    transition: opacity var(--transition-fast);
}

.footer-bottom-logos img:hover {
    opacity: 1;
}

/* ---- Auth Pages ---- */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-2xl);
    background: linear-gradient(135deg, #F8F9FA 0%, #E9ECEF 50%, #F0F4F8 100%);
    position: relative;
}

.auth-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-glow);
}

.auth-card {
    width: 100%;
    max-width: 480px;
    position: relative;
    z-index: 2;
}

.auth-card .card {
    padding: var(--space-2xl);
}

.auth-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.auth-header img {
    height: 50px;
    margin-bottom: var(--space-lg);
}

.auth-header h1 {
    font-size: 1.75rem;
    margin-bottom: var(--space-sm);
}

.auth-header p {
    color: var(--text-secondary);
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin: var(--space-xl) 0;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-glass);
}

.auth-footer {
    text-align: center;
    margin-top: var(--space-xl);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Role Selector */
.role-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.role-option {
    position: relative;
}

.role-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.role-option label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-lg);
    background: var(--bg-input);
    border: 2px solid var(--border-glass);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
    text-align: center;
}

.role-option label .role-icon {
    font-size: 2rem;
}

.role-option label .role-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.role-option label .role-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.role-option input:checked + label {
    border-color: var(--primary);
    background: rgba(244, 121, 32, 0.08);
    box-shadow: 0 0 0 3px rgba(244, 121, 32, 0.15);
}

/* ---- Dashboard ---- */
.dashboard-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 100vh;
}

.sidebar {
    background: var(--bg-secondary);
    border-right: 1px solid var(--border-glass);
    padding: var(--space-xl);
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding-bottom: var(--space-xl);
    margin-bottom: var(--space-xl);
    border-bottom: 1px solid var(--border-glass);
}

.sidebar-brand img {
    height: 36px;
}

.sidebar-brand span {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sidebar-nav {
    list-style: none;
}

.sidebar-nav li {
    margin-bottom: var(--space-xs);
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.sidebar-nav a:hover {
    background: var(--bg-card);
    color: var(--text-primary);
}

.sidebar-nav a.active {
    background: rgba(244, 121, 32, 0.12);
    color: var(--primary-light);
    border-left: 3px solid var(--primary);
}

.sidebar-nav .nav-icon {
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
}

.sidebar-user {
    position: absolute;
    bottom: var(--space-xl);
    left: var(--space-xl);
    right: var(--space-xl);
    padding: var(--space-md);
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-glass);
}

.sidebar-user-info {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.sidebar-user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: #fff;
}

.sidebar-user-name {
    font-weight: 600;
    font-size: 0.85rem;
}

.sidebar-user-role {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.main-content {
    padding: var(--space-2xl);
    background: var(--bg-primary);
    min-height: 100vh;
}

.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-2xl);
}

.page-header h1 {
    font-size: 1.75rem;
}

.page-header p {
    color: var(--text-secondary);
    margin-top: var(--space-xs);
}

/* ---- Stats Grid ---- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.stat-card {
    padding: var(--space-xl);
}

.stat-card .stat-icon-wrap {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    font-size: 1.3rem;
    margin-bottom: var(--space-md);
}

.stat-card .stat-icon-wrap.orange {
    background: rgba(244, 121, 32, 0.12);
    color: var(--primary);
}

.stat-card .stat-icon-wrap.green {
    background: rgba(45, 140, 60, 0.12);
    color: var(--accent-green-light);
}

.stat-card .stat-icon-wrap.blue {
    background: rgba(30, 95, 140, 0.12);
    color: #7DD3FC;
}

.stat-card .stat-icon-wrap.purple {
    background: rgba(147, 51, 234, 0.12);
    color: #C084FC;
}

.stat-card .stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: var(--space-xs);
}

.stat-card .stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ---- Shipment Cards ---- */
.shipment-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: var(--space-lg);
}

.shipment-card {
    padding: var(--space-xl);
    cursor: pointer;
}

.shipment-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-md);
}

.shipment-card-title {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.shipment-route {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    font-size: 0.9rem;
}

.shipment-route .route-from {
    color: var(--primary-light);
    font-weight: 500;
}

.shipment-route .route-arrow {
    color: var(--text-muted);
    font-size: 1.2rem;
}

.shipment-route .route-to {
    color: var(--accent-green-light);
    font-weight: 500;
}

.shipment-meta {
    display: flex;
    gap: var(--space-lg);
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: var(--space-md);
}

.shipment-meta span {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.shipment-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-md);
    border-top: 1px solid var(--border-glass);
}

.shipment-price {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-light);
}

.shipment-sender {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ---- Shipment Detail ---- */
.shipment-detail {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-xl);
}

.detail-section {
    margin-bottom: var(--space-xl);
}

.detail-section h3 {
    font-size: 1.1rem;
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--border-glass);
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.detail-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.detail-value {
    font-weight: 500;
    font-size: 0.9rem;
}

/* Route visualization */
.route-visual {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    padding: var(--space-xl);
    background: rgba(244, 121, 32, 0.05);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(244, 121, 32, 0.15);
    margin-bottom: var(--space-xl);
}

.route-point {
    text-align: center;
    flex: 1;
}

.route-point .point-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-xs);
}

.route-point .point-value {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
}

.route-point.origin .point-value { color: var(--primary-light); }
.route-point.destination .point-value { color: var(--accent-green-light); }

.route-line {
    flex: 1;
    height: 3px;
    background: linear-gradient(to right, var(--primary), var(--accent-green));
    border-radius: 2px;
    position: relative;
}

.route-line::before {
    content: '✈';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.2rem;
    background: var(--bg-card);
    padding: 0 var(--space-sm);
}

/* ---- Bids List ---- */
.bid-item {
    padding: var(--space-lg);
    margin-bottom: var(--space-md);
}

.bid-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-sm);
}

.bid-carrier {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.bid-carrier-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    color: #fff;
}

.bid-price {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-light);
}

.bid-message {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
}

.bid-actions {
    display: flex;
    gap: var(--space-sm);
}

/* ---- Filter Bar ---- */
.filter-bar {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
    padding: var(--space-lg);
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-glass);
    flex-wrap: wrap;
    align-items: end;
}

.filter-bar .form-group {
    flex: 1;
    min-width: 200px;
    margin-bottom: 0;
}

/* ---- Pagination ---- */
.pagination {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-top: var(--space-2xl);
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.pagination a {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    color: var(--text-secondary);
}

.pagination a:hover {
    border-color: var(--primary);
    color: var(--primary-light);
}

.pagination span.active {
    background: var(--gradient-primary);
    color: #fff;
    border: none;
}

/* ---- Alerts / Flash Messages ---- */
.alert {
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-xl);
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-size: 0.9rem;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.alert-success {
    background: rgba(45, 140, 60, 0.15);
    border: 1px solid rgba(45, 140, 60, 0.3);
    color: var(--accent-green-light);
}

.alert-error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #FCA5A5;
}

.alert-warning {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #FBBF24;
}

.alert-close {
    margin-left: auto;
    background: none;
    border: none;
    color: inherit;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity var(--transition-fast);
}

.alert-close:hover {
    opacity: 1;
}

/* ---- Profile Page ---- */
.profile-header {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
    padding: var(--space-2xl);
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
}

.profile-info h2 {
    font-size: 1.5rem;
    margin-bottom: var(--space-xs);
}

.profile-info .profile-meta {
    display: flex;
    gap: var(--space-lg);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ---- Empty State ---- */
.empty-state {
    text-align: center;
    padding: var(--space-3xl);
}

.empty-state .empty-icon {
    font-size: 3rem;
    margin-bottom: var(--space-lg);
    opacity: 0.5;
}

.empty-state h3 {
    margin-bottom: var(--space-sm);
    color: var(--text-secondary);
}

.empty-state p {
    color: var(--text-muted);
    margin-bottom: var(--space-xl);
}

/* ---- Error Pages ---- */
.error-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
    padding: var(--space-2xl);
}

.error-page h1 {
    font-size: 6rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-md);
}

.error-page p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: var(--space-xl);
}

/* ---- Animations ---- */
.animate-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .dashboard-layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        display: none;
    }

    .shipment-detail {
        grid-template-columns: 1fr;
    }

    .hero .container {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

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

    .hero-search-form .btn-search {
        grid-column: span 2;
    }

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

@media (max-width: 768px) {
    .hero {
        padding-top: 110px;
        padding-bottom: 60px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

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

    .hero-search-form .btn-search {
        grid-column: span 1;
    }

    .hero-pill-notification {
        display: none;
    }

    .hero-live-card {
        margin: 0 auto;
    }

    .floating-stats {
        justify-content: center;
    }

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

    .steps-grid::before {
        display: none;
    }

    .navbar-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        border-bottom: 1px solid var(--border-glass);
        flex-direction: column;
        padding: var(--space-lg);
        gap: var(--space-md);
        box-shadow: var(--shadow-lg);
    }

    .navbar-links.active {
        display: flex;
    }

    .mobile-toggle {
        display: block;
    }

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

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

    .filter-bar {
        flex-direction: column;
    }

    .shipment-list {
        grid-template-columns: 1fr;
    }

    .route-visual {
        flex-direction: column;
        text-align: center;
    }

    .route-line {
        width: 3px;
        height: 40px;
    }
}

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

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }

    .role-selector {
        grid-template-columns: 1fr;
    }

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

    .page-header {
        flex-direction: column;
        gap: var(--space-md);
        align-items: flex-start;
    }
}

/* ---- Utility Classes ---- */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-muted { color: var(--text-muted); }
.text-primary { color: var(--primary); }
.text-success { color: var(--accent-green-light); }

.mt-1 { margin-top: var(--space-md); }
.mt-2 { margin-top: var(--space-xl); }
.mt-3 { margin-top: var(--space-2xl); }
.mb-1 { margin-bottom: var(--space-md); }
.mb-2 { margin-bottom: var(--space-xl); }
.mb-3 { margin-bottom: var(--space-2xl); }

.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: var(--space-md); }
.gap-2 { gap: var(--space-xl); }

.w-100 { width: 100%; }
