/* ==========================================================================
   Anonymous Express Core - Next-Gen Glassmorphic Design System (Glass Mode)
   ========================================================================== */

:root {
    /* Core Luxury Palette */
    --ae-bg-dark: #090d16;
    --ae-bg-darker: #05080f;
    --ae-bg-surface: rgba(15, 23, 42, 0.65);
    
    /* Neon & Specular Accents */
    --ae-emerald: #10b981;
    --ae-emerald-glow: rgba(16, 185, 129, 0.4);
    --ae-cyan: #06b6d4;
    --ae-cyan-glow: rgba(6, 182, 212, 0.4);
    --ae-amber: #f59e0b;
    --ae-amber-glow: rgba(245, 158, 11, 0.35);
    --ae-indigo: #6366f1;
    --ae-indigo-glow: rgba(99, 102, 241, 0.35);

    /* Glass Tokens */
    --ae-glass-bg: rgba(15, 23, 42, 0.68);
    --ae-glass-bg-subtle: rgba(255, 255, 255, 0.04);
    --ae-glass-bg-hover: rgba(30, 41, 59, 0.8);
    --ae-glass-border: rgba(255, 255, 255, 0.12);
    --ae-glass-border-hover: rgba(16, 185, 129, 0.45);
    --ae-glass-border-specular: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.03) 100%);
    
    --ae-glass-blur: blur(20px) saturate(190%);
    --ae-glass-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    --ae-glass-shadow-lg: 0 20px 50px -10px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    --ae-glass-glow: 0 0 25px rgba(16, 185, 129, 0.25);

    /* Text Colors */
    --ae-text-light: #f8fafc;
    --ae-text-subtle: #94a3b8;
    --ae-text-muted: #64748b;

    --ae-radius-sm: 8px;
    --ae-radius-md: 14px;
    --ae-radius-lg: 20px;
    --ae-radius-xl: 28px;
    --ae-radius-full: 9999px;

    --ae-font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --ae-font-heading: 'Poppins', var(--ae-font-sans);
}

.ae-currency-btn {
    transition: all 0.2s ease;
}
.ae-currency-btn.active {
    background: #0284c7 !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(2, 132, 199, 0.4);
}

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

body.ae-body {
    font-family: var(--ae-font-sans);
    color: var(--ae-text-light);
    background-color: var(--ae-bg-dark);
    background-image: 
        radial-gradient(at 10% 15%, rgba(6, 182, 212, 0.12) 0px, transparent 50%),
        radial-gradient(at 90% 20%, rgba(16, 185, 129, 0.12) 0px, transparent 50%),
        radial-gradient(at 50% 80%, rgba(99, 102, 241, 0.1) 0px, transparent 60%);
    background-attachment: fixed;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: var(--ae-cyan);
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

a:hover {
    color: var(--ae-emerald);
    text-shadow: 0 0 10px var(--ae-emerald-glow);
}

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

/* Layout */
.ae-container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.ae-section {
    padding: 90px 0;
    position: relative;
}

.ae-section-light {
    background: rgba(15, 23, 42, 0.35);
    backdrop-filter: var(--ae-glass-blur);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ae-section-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 60px;
}

.ae-subheading {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--ae-emerald);
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 5px 14px;
    border-radius: var(--ae-radius-full);
    margin-bottom: 16px;
    backdrop-filter: blur(8px);
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.15);
}

.ae-heading {
    font-family: var(--ae-font-heading);
    font-size: 38px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.ae-subtext {
    font-size: 17px;
    color: var(--ae-text-subtle);
    line-height: 1.6;
}

/* Glass Top Bar */
.ae-topbar {
    background: rgba(9, 13, 22, 0.85);
    backdrop-filter: blur(12px);
    color: var(--ae-text-subtle);
    font-size: 13px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.ae-topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.ae-topbar a {
    color: var(--ae-text-light);
    font-weight: 500;
}
.ae-topbar a:hover {
    color: var(--ae-cyan);
}

.ae-divider {
    margin: 0 10px;
    opacity: 0.3;
}

.ae-badge-secure {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 3px 10px;
    border-radius: var(--ae-radius-full);
    font-size: 12px;
    color: var(--ae-emerald);
}

/* Glass Header Navigation */
.ae-header {
    background: rgba(9, 13, 22, 0.7);
    backdrop-filter: var(--ae-glass-blur);
    -webkit-backdrop-filter: var(--ae-glass-blur);
    border-bottom: 1px solid var(--ae-glass-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.ae-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 84px;
}

.ae-logo-img {
    height: 52px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
}

.ae-nav-menu {
    display: flex;
    list-style: none;
    gap: 34px;
}

.ae-nav-menu a {
    font-family: var(--ae-font-heading);
    font-size: 15px;
    font-weight: 500;
    color: var(--ae-text-subtle);
    padding: 8px 0;
    position: relative;
    letter-spacing: 0.2px;
}

.ae-nav-menu a:hover,
.ae-nav-menu a.active {
    color: #ffffff;
}

.ae-nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--ae-emerald), var(--ae-cyan));
    border-radius: 2px;
    box-shadow: 0 0 8px var(--ae-emerald-glow);
}

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

/* Glass Buttons */
.ae-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--ae-font-sans);
    font-size: 14px;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: var(--ae-radius-md);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.ae-btn-primary {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.ae-btn-primary:hover {
    background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.ae-btn-outline {
    background: rgba(255, 255, 255, 0.05);
    color: var(--ae-text-light);
    border: 1px solid var(--ae-glass-border);
    backdrop-filter: blur(8px);
}

.ae-btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--ae-cyan);
    color: #ffffff;
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.3);
    transform: translateY(-2px);
}

.ae-btn-white {
    background: #ffffff;
    color: var(--ae-bg-dark);
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.ae-btn-white:hover {
    background: #e2e8f0;
    transform: translateY(-2px);
}

.ae-btn-lg {
    padding: 16px 32px;
    font-size: 16px;
    border-radius: var(--ae-radius-lg);
}

.ae-btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

.ae-btn-block {
    width: 100%;
}

/* Mobile Toggle & Drawer */
.ae-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.ae-mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--ae-text-light);
    border-radius: 2px;
}

.ae-mobile-drawer {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
}

.ae-mobile-drawer.open {
    display: block;
}

.ae-drawer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
}

.ae-drawer-content {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 300px;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(24px);
    border-left: 1px solid var(--ae-glass-border);
    padding: 30px;
    display: flex;
    flex-direction: column;
    z-index: 10;
}

.ae-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
}

.ae-drawer-logo {
    height: 42px;
}

.ae-drawer-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--ae-text-subtle);
}

.ae-drawer-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.ae-drawer-menu a {
    font-size: 16px;
    font-weight: 500;
    color: var(--ae-text-light);
    display: block;
    padding: 6px 0;
}

.ae-drawer-footer {
    margin-top: auto;
}

/* Glass Hero Section */
.ae-hero {
    padding: 90px 0 110px;
    position: relative;
}

.ae-hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 50px;
    align-items: center;
}

.ae-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 6px 16px;
    border-radius: var(--ae-radius-full);
    font-size: 13px;
    font-weight: 600;
    color: var(--ae-cyan);
    margin-bottom: 24px;
    backdrop-filter: blur(12px);
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.2);
}

.ae-pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--ae-emerald);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: ae-pulse 1.8s infinite;
}

@keyframes ae-pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.ae-hero-title {
    font-family: var(--ae-font-heading);
    font-size: 48px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    color: #ffffff;
    letter-spacing: -0.8px;
}

.ae-hero-title span {
    background: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ae-hero-subtitle {
    font-size: 18px;
    color: var(--ae-text-subtle);
    line-height: 1.65;
    margin-bottom: 35px;
}

/* Glass Hero Tracking Card */
.ae-hero-track-box {
    background: var(--ae-glass-bg);
    backdrop-filter: var(--ae-glass-blur);
    -webkit-backdrop-filter: var(--ae-glass-blur);
    border: 1px solid var(--ae-glass-border);
    padding: 28px;
    border-radius: var(--ae-radius-xl);
    box-shadow: var(--ae-glass-shadow-lg);
    position: relative;
}

.ae-hero-track-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
}

.ae-track-box-title {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ae-input-group {
    display: flex;
    gap: 12px;
}

.ae-input-group input {
    flex: 1;
    padding: 14px 20px;
    background: rgba(15, 23, 42, 0.85);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--ae-radius-md);
    color: #ffffff;
    font-size: 15px;
    outline: none;
    transition: all 0.25s ease;
}

.ae-input-group input:focus {
    border-color: var(--ae-emerald);
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.3);
    background: rgba(15, 23, 42, 0.95);
}

.ae-sample-tracks {
    margin-top: 14px;
    font-size: 13px;
    color: var(--ae-text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.ae-sample-tracks a {
    color: var(--ae-cyan);
    font-family: monospace;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3px 8px;
    border-radius: var(--ae-radius-sm);
}

.ae-sample-tracks a:hover {
    background: rgba(6, 182, 212, 0.15);
    border-color: var(--ae-cyan);
}

.ae-hero-stats {
    display: flex;
    gap: 45px;
    margin-top: 40px;
}

.ae-stat-item strong {
    display: block;
    font-size: 30px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.ae-stat-item span {
    font-size: 13px;
    color: var(--ae-text-muted);
}

.ae-hero-visual {
    position: relative;
}

.ae-hero-card-image {
    position: relative;
    border-radius: var(--ae-radius-xl);
    overflow: hidden;
    border: 1px solid var(--ae-glass-border);
    box-shadow: var(--ae-glass-shadow-lg);
}

.ae-hero-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.ae-hero-card-image:hover .ae-hero-img {
    transform: scale(1.03);
}

.ae-hero-floating-card {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: var(--ae-glass-blur);
    -webkit-backdrop-filter: var(--ae-glass-blur);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 18px 22px;
    border-radius: var(--ae-radius-lg);
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--ae-glass-shadow);
}

.ae-floating-icon {
    font-size: 30px;
}

.ae-floating-text strong {
    display: block;
    color: #ffffff;
    font-size: 15px;
}

.ae-floating-text small {
    color: var(--ae-text-subtle);
}

/* Glass Cards & Containers */
.ae-card {
    background: var(--ae-glass-bg);
    backdrop-filter: var(--ae-glass-blur);
    -webkit-backdrop-filter: var(--ae-glass-blur);
    border: 1px solid var(--ae-glass-border);
    border-radius: var(--ae-radius-xl);
    padding: 32px;
    box-shadow: var(--ae-glass-shadow);
    transition: all 0.3s ease;
}

.ae-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: var(--ae-glass-shadow-lg);
}

.ae-card h2, .ae-card h3 {
    color: #ffffff;
    font-family: var(--ae-font-heading);
    letter-spacing: -0.3px;
}

/* Forms & Select Inputs in Glass Mode */
.ae-form-field label {
    font-size: 13px;
    font-weight: 600;
    color: var(--ae-text-light);
    margin-bottom: 6px;
}

.ae-select, .ae-input, .ae-textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(15, 23, 42, 0.85);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--ae-radius-md);
    color: #ffffff;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: all 0.25s ease;
}

.ae-select option {
    background-color: #0f172a;
    color: #ffffff;
}

.ae-select:focus, .ae-input:focus, .ae-textarea:focus {
    border-color: var(--ae-cyan);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.3);
    background: rgba(15, 23, 42, 0.95);
}

.ae-calc-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.ae-calc-dims-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 24px;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px 24px;
    border-radius: var(--ae-radius-lg);
}

.ae-input-sm {
    width: 110px;
    padding: 10px 14px;
    background: rgba(15, 23, 42, 0.85);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--ae-radius-sm);
    color: #ffffff;
    font-size: 13px;
}

/* Glass Rate Comparison Cards */
.ae-rates-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.ae-rate-card {
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: var(--ae-glass-blur);
    border: 1.5px solid var(--ae-glass-border);
    border-radius: var(--ae-radius-xl);
    padding: 30px 22px;
    text-align: center;
    position: relative;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--ae-glass-shadow);
}

.ae-rate-card:hover {
    transform: translateY(-6px);
    border-color: var(--ae-emerald);
    box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.6), 0 0 20px rgba(16, 185, 129, 0.3);
}

.ae-rate-featured {
    border-color: var(--ae-emerald);
    background: rgba(16, 185, 129, 0.08);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.2);
}

.ae-rate-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--ae-emerald), #059669);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 3px 14px;
    border-radius: var(--ae-radius-full);
    box-shadow: 0 0 12px var(--ae-emerald-glow);
}

.ae-rate-carrier-logo {
    height: 42px;
    margin: 0 auto 16px;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.5));
}

.ae-rate-card h4 {
    font-size: 16px;
    color: #ffffff;
    margin-bottom: 6px;
}

.ae-rate-eta {
    font-size: 13px;
    color: var(--ae-text-muted);
    margin-bottom: 18px;
}

.ae-rate-price {
    font-size: 32px;
    font-weight: 800;
    color: var(--ae-emerald);
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}

/* Glass Feature Boxes */
.ae-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.ae-feature-box {
    background: var(--ae-glass-bg);
    backdrop-filter: var(--ae-glass-blur);
    border: 1px solid var(--ae-glass-border);
    border-radius: var(--ae-radius-xl);
    padding: 35px 26px;
    transition: all 0.3s ease;
    box-shadow: var(--ae-glass-shadow);
}

.ae-feature-box:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: var(--ae-glass-shadow-lg);
}

.ae-feature-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.ae-feature-box h3 {
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 12px;
}

.ae-feature-box p {
    font-size: 14px;
    color: var(--ae-text-subtle);
    line-height: 1.6;
}

/* Glass Logistics Steps */
.ae-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.ae-step-card {
    background: var(--ae-glass-bg);
    backdrop-filter: var(--ae-glass-blur);
    border: 1px solid var(--ae-glass-border);
    border-radius: var(--ae-radius-xl);
    padding: 35px 24px;
    position: relative;
}

.ae-step-number {
    font-family: var(--ae-font-heading);
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--ae-emerald), var(--ae-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 14px;
}

.ae-step-card h4 {
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 10px;
}

.ae-step-card p {
    font-size: 14px;
    color: var(--ae-text-subtle);
}

/* Carrier Partners Glass Cards */
.ae-partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    align-items: center;
}

.ae-partner-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: var(--ae-glass-blur);
    border: 1px solid var(--ae-glass-border);
    border-radius: var(--ae-radius-lg);
    padding: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 110px;
    transition: all 0.3s;
}

.ae-partner-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}

.ae-partner-item img {
    max-height: 46px;
    max-width: 140px;
    object-fit: contain;
}

/* Glass CTA Banner */
.ae-cta-banner {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.15) 0%, rgba(16, 185, 129, 0.15) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding: 80px 0;
    text-align: center;
    backdrop-filter: blur(16px);
}

.ae-cta-content h2 {
    font-size: 36px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 15px;
}

.ae-cta-content p {
    font-size: 18px;
    color: var(--ae-text-subtle);
    max-width: 650px;
    margin: 0 auto 30px;
}

.ae-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 18px;
}

/* Page Hero */
.ae-page-hero {
    padding: 80px 0 85px;
    text-align: center;
    position: relative;
}

.ae-page-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 5px 16px;
    border-radius: var(--ae-radius-full);
    font-size: 13px;
    font-weight: 600;
    color: var(--ae-cyan);
    margin-bottom: 18px;
    backdrop-filter: blur(8px);
}

.ae-page-title {
    font-family: var(--ae-font-heading);
    font-size: 44px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.ae-page-desc {
    font-size: 17px;
    color: var(--ae-text-subtle);
    max-width: 700px;
    margin: 0 auto;
}

/* Track Search Glass Card */
.ae-track-search-card {
    max-width: 800px;
    margin: 35px auto 0;
    background: var(--ae-glass-bg);
    backdrop-filter: var(--ae-glass-blur);
    border: 1px solid var(--ae-glass-border);
    padding: 28px;
    border-radius: var(--ae-radius-xl);
    box-shadow: var(--ae-glass-shadow-lg);
}

.ae-input-group-lg {
    display: flex;
    gap: 12px;
}

.ae-input-group-lg input {
    flex: 1;
    padding: 16px 24px;
    font-size: 16px;
    background: rgba(15, 23, 42, 0.85);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--ae-radius-md);
    color: #ffffff;
    outline: none;
    transition: all 0.25s;
}

.ae-input-group-lg input:focus {
    border-color: var(--ae-emerald);
    box-shadow: 0 0 20px var(--ae-emerald-glow);
}

.ae-sample-tracks-row {
    margin-top: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--ae-text-muted);
}

.ae-chip-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 5px 12px;
    border-radius: var(--ae-radius-full);
    font-family: monospace;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    color: var(--ae-cyan);
    transition: all 0.2s;
}

.ae-chip-btn:hover {
    background: var(--ae-cyan);
    color: #ffffff;
    box-shadow: 0 0 12px var(--ae-cyan-glow);
}

/* Tracking Dashboard Header */
.ae-track-header-card {
    background: var(--ae-glass-bg);
    backdrop-filter: var(--ae-glass-blur);
    border: 1px solid var(--ae-glass-border);
    border-radius: var(--ae-radius-xl);
    padding: 35px;
    margin-bottom: 35px;
    box-shadow: var(--ae-glass-shadow);
}

.ae-track-header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 35px;
}

.ae-track-header-main h2 {
    font-size: 32px;
    color: var(--ae-cyan);
    font-family: monospace;
    letter-spacing: 1px;
}

.ae-track-header-status {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* Status Pills */
.ae-status-pill {
    display: inline-block;
    padding: 6px 16px;
    border-radius: var(--ae-radius-full);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid transparent;
}

.ae-status-lg {
    font-size: 14px;
    padding: 9px 22px;
}

.ae-status-transit {
    background: rgba(6, 182, 212, 0.15);
    border-color: rgba(6, 182, 212, 0.4);
    color: #38bdf8;
}

.ae-status-customs {
    background: rgba(245, 158, 11, 0.15);
    border-color: rgba(245, 158, 11, 0.4);
    color: #fbbf24;
}

.ae-status-out {
    background: rgba(168, 85, 247, 0.15);
    border-color: rgba(168, 85, 247, 0.4);
    color: #c084fc;
}

.ae-status-delivered {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.4);
    color: #34d399;
}

.ae-badge-carrier {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--ae-text-light);
    padding: 8px 14px;
    border-radius: var(--ae-radius-sm);
    font-size: 13px;
    font-weight: 600;
}

/* Progress Steps */
.ae-progress-track-wrapper {
    overflow-x: auto;
    padding: 10px 0;
}

.ae-progress-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 600px;
}

.ae-step-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ae-text-muted);
}

.ae-node-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s;
}

.ae-step-node.completed .ae-node-icon {
    background: var(--ae-emerald);
    border-color: var(--ae-emerald);
    color: #ffffff;
    box-shadow: 0 0 15px var(--ae-emerald-glow);
}

.ae-step-node.active .ae-node-icon {
    background: var(--ae-amber);
    border-color: var(--ae-amber);
    color: #ffffff;
    box-shadow: 0 0 20px var(--ae-amber-glow);
}

.ae-step-node.completed, .ae-step-node.active {
    color: #ffffff;
}

.ae-step-line {
    flex: 1;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 10px;
    position: relative;
    top: -14px;
}

.ae-step-line.completed {
    background: linear-gradient(90deg, var(--ae-emerald), var(--ae-cyan));
    box-shadow: 0 0 10px var(--ae-emerald-glow);
}

/* Tracking Body Grid */
.ae-track-body-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 30px;
}

.ae-track-map-card {
    background: var(--ae-glass-bg);
    backdrop-filter: var(--ae-glass-blur);
    border: 1px solid var(--ae-glass-border);
    border-radius: var(--ae-radius-xl);
    padding: 28px;
    box-shadow: var(--ae-glass-shadow);
}

.ae-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.ae-card-header h3 {
    font-size: 19px;
    color: #ffffff;
}

.ae-live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--ae-emerald);
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    padding: 4px 10px;
    border-radius: var(--ae-radius-full);
}

.ae-map-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.ae-map-header-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.ae-map-theme-toggle {
    display: inline-flex;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--ae-radius-sm);
    padding: 2px;
    backdrop-filter: blur(8px);
}

.ae-theme-btn {
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    color: var(--ae-text-subtle);
    background: transparent;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ae-theme-btn:hover {
    color: #fff;
}

.ae-theme-btn.active {
    background: var(--ae-cyan);
    color: #041324;
    font-weight: 700;
    box-shadow: 0 0 10px var(--ae-cyan-glow);
}

.ae-map-tool-btns {
    display: inline-flex;
    gap: 6px;
}

.ae-map-btn {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--ae-text-light);
    font-size: 11px;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: var(--ae-radius-sm);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
    backdrop-filter: blur(8px);
}

.ae-map-btn:hover {
    background: rgba(30, 41, 59, 0.9);
    border-color: var(--ae-cyan);
    color: var(--ae-cyan);
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.3);
}

.ae-leaflet-map-container {
    height: 480px;
    width: 100%;
    border-radius: var(--ae-radius-lg);
    border: 1px solid var(--ae-glass-border);
    z-index: 1;
    overflow: hidden;
    background: #0b1120;
}

/* Floating Glassmorphism Telemetry HUD */
.ae-map-telemetry-hud {
    position: absolute;
    bottom: 16px;
    left: 16px;
    right: 16px;
    z-index: 999;
    background: rgba(11, 17, 32, 0.82);
    backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--ae-radius-md);
    padding: 10px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    pointer-events: auto;
    flex-wrap: wrap;
    gap: 10px;
}

.ae-hud-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ae-hud-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--ae-text-muted);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
}

.ae-hud-val {
    font-size: 12px;
    font-weight: 700;
    color: var(--ae-text-light);
    font-family: 'Space Mono', monospace;
}

.ae-hud-divider {
    width: 1px;
    height: 24px;
    background: rgba(255, 255, 255, 0.12);
}

.ae-hud-blink {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
    animation: ae-hud-pulse 1.4s infinite;
}

@keyframes ae-hud-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(0.7); }
}

/* Radar Beacon Live Pulse on Map */
.ae-radar-beacon {
    position: relative;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ae-beacon-core {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #ef4444;
    border: 2px solid #ffffff;
    box-shadow: 0 0 14px rgba(239, 68, 68, 0.9);
    position: relative;
    z-index: 3;
}

.ae-beacon-icon-badge {
    position: absolute;
    top: -12px;
    right: -12px;
    background: #0f172a;
    border: 1.5px solid #38bdf8;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    z-index: 4;
    box-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.ae-beacon-wave, .ae-beacon-wave-2 {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.4);
    border: 1px solid rgba(239, 68, 68, 0.8);
    animation: ae-beacon-ripple 2s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    z-index: 1;
}

.ae-beacon-wave-2 {
    animation-delay: 1s;
}

@keyframes ae-beacon-ripple {
    0% {
        transform: scale(0.3);
        opacity: 1;
    }
    100% {
        transform: scale(2.2);
        opacity: 0;
    }
}

/* Custom Leaflet Dark Glass Popup */
.leaflet-popup-content-wrapper {
    background: rgba(15, 23, 42, 0.92) !important;
    backdrop-filter: blur(16px) !important;
    color: #f8fafc !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 12px !important;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.7) !important;
    padding: 4px 6px !important;
}

.leaflet-popup-tip {
    background: rgba(15, 23, 42, 0.92) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.leaflet-popup-content {
    margin: 10px 14px !important;
    line-height: 1.45 !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 12px !important;
}

.ae-popup-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--ae-cyan);
    margin-bottom: 3px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ae-popup-meta {
    font-size: 11px;
    color: var(--ae-text-subtle);
}

.ae-map-legend {
    display: flex;
    gap: 18px;
    margin-top: 16px;
    font-size: 12px;
    color: var(--ae-text-subtle);
    flex-wrap: wrap;
    align-items: center;
}

.ae-legend-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 6px;
}

.ae-dot-origin { background: #38bdf8; box-shadow: 0 0 8px rgba(56, 189, 248, 0.6); }
.ae-dot-transit { background: #a855f7; box-shadow: 0 0 8px rgba(168, 85, 247, 0.6); }
.ae-dot-current { background: #ef4444; box-shadow: 0 0 8px rgba(239, 68, 68, 0.9); }
.ae-dot-dest { background: #10b981; box-shadow: 0 0 8px rgba(16, 185, 129, 0.6); }

/* Fullscreen Map Mode */
.ae-track-map-card.ae-map-fullscreen-active {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    max-width: none !important;
    z-index: 999999 !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 16px !important;
    background: #090d16 !important;
}

.ae-track-map-card.ae-map-fullscreen-active .ae-leaflet-map-container {
    height: calc(100vh - 120px) !important;
}

.ae-track-info-column {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.ae-status-notice-card {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--ae-radius-lg);
    padding: 20px;
    display: flex;
    gap: 16px;
    backdrop-filter: blur(12px);
}

.ae-notice-icon {
    font-size: 26px;
}

.ae-notice-body h4 {
    font-size: 16px;
    color: #34d399;
    margin-bottom: 4px;
}

.ae-notice-body p {
    font-size: 13px;
    color: var(--ae-text-light);
    line-height: 1.5;
}

.ae-table-details {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.ae-table-details th {
    text-align: left;
    color: var(--ae-text-muted);
    font-weight: 500;
    padding: 10px 0;
    width: 40%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ae-table-details td {
    color: #ffffff;
    font-weight: 600;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Glass Timeline */
.ae-vertical-timeline {
    position: relative;
    padding-left: 28px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.ae-vertical-timeline::before {
    content: '';
    position: absolute;
    top: 6px;
    bottom: 6px;
    left: 8px;
    width: 2px;
    background: rgba(255, 255, 255, 0.12);
}

.ae-timeline-item {
    position: relative;
}

.ae-timeline-marker {
    position: absolute;
    left: -28px;
    top: 4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--ae-bg-dark);
    border: 3px solid var(--ae-emerald);
    box-shadow: 0 0 10px var(--ae-emerald-glow);
}

.ae-timeline-item.pending .ae-timeline-marker {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: none;
}

.ae-timeline-time {
    font-size: 12px;
    color: var(--ae-text-muted);
    font-weight: 500;
}

.ae-timeline-title {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
}

.ae-timeline-loc {
    font-size: 13px;
    color: var(--ae-cyan);
}

/* Glass FAQ Accordion */
.ae-faq-grid {
    max-width: 880px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ae-faq-item {
    background: var(--ae-glass-bg);
    backdrop-filter: var(--ae-glass-blur);
    border: 1px solid var(--ae-glass-border);
    border-radius: var(--ae-radius-lg);
    overflow: hidden;
    transition: all 0.3s;
}

.ae-faq-item:hover {
    border-color: rgba(255, 255, 255, 0.25);
}

.ae-faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 22px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--ae-font-heading);
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    text-align: left;
    cursor: pointer;
}

.ae-faq-question:hover {
    color: var(--ae-cyan);
}

.ae-chevron {
    transition: transform 0.25s ease;
    color: var(--ae-cyan);
}

.ae-faq-item.open .ae-chevron {
    transform: rotate(180deg);
}

.ae-faq-answer {
    display: none;
    padding: 0 28px 24px;
    font-size: 14px;
    color: var(--ae-text-subtle);
    line-height: 1.65;
}

.ae-faq-item.open .ae-faq-answer {
    display: block;
}

/* About Story & Team Grid */
.ae-about-story-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.ae-lead-p {
    font-size: 18px;
    color: #ffffff;
    font-weight: 500;
    margin-bottom: 18px;
    line-height: 1.6;
}

.ae-story-highlights {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.ae-highlight-item {
    display: flex;
    gap: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px 22px;
    border-radius: var(--ae-radius-lg);
}

.ae-highlight-icon {
    font-size: 26px;
}

.ae-highlight-item h4 {
    font-size: 16px;
    color: #ffffff;
    margin-bottom: 4px;
}

.ae-highlight-item p {
    font-size: 13px;
    color: var(--ae-text-subtle);
}

.ae-rounded-img {
    border-radius: var(--ae-radius-xl);
    border: 1px solid var(--ae-glass-border);
    box-shadow: var(--ae-glass-shadow-lg);
}

.ae-team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.ae-team-card {
    background: var(--ae-glass-bg);
    backdrop-filter: var(--ae-glass-blur);
    border: 1px solid var(--ae-glass-border);
    border-radius: var(--ae-radius-xl);
    padding: 30px 22px;
    text-align: center;
    transition: all 0.3s;
}

.ae-team-card:hover {
    transform: translateY(-5px);
    border-color: var(--ae-cyan);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(6, 182, 212, 0.25);
}

.ae-team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 18px;
    border: 3px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

.ae-team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ae-team-card h4 {
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 4px;
}

.ae-team-role {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--ae-emerald);
    margin-bottom: 12px;
}

.ae-team-card p {
    font-size: 13px;
    color: var(--ae-text-subtle);
    line-height: 1.5;
}

.ae-infra-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.ae-infra-card {
    border-radius: var(--ae-radius-xl);
    overflow: hidden;
    background: var(--ae-glass-bg);
    border: 1px solid var(--ae-glass-border);
    box-shadow: var(--ae-glass-shadow);
}

.ae-infra-card img {
    height: 280px;
    width: 100%;
    object-fit: cover;
}

.ae-infra-info {
    padding: 24px;
}

.ae-infra-info h4 {
    font-size: 19px;
    color: #ffffff;
    margin-bottom: 8px;
}

.ae-infra-info p {
    font-size: 14px;
    color: var(--ae-text-subtle);
}

/* Calculator Page Expansion */
.ae-calc-page-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 35px;
}

.ae-form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 18px;
}

.ae-form-row-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 18px;
    margin-bottom: 18px;
}

.ae-dims-fieldset {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px;
    border-radius: var(--ae-radius-lg);
    margin-bottom: 24px;
}

.ae-field-title {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--ae-text-light);
    margin-bottom: 12px;
}

.ae-dims-inputs-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ae-dim-x {
    font-weight: 700;
    color: var(--ae-text-muted);
}

.ae-help-text {
    display: block;
    font-size: 11px;
    color: var(--ae-text-muted);
    margin-top: 10px;
}

.ae-summary-box {
    margin-bottom: 24px;
}

.ae-metric-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
    font-size: 14px;
    color: var(--ae-text-subtle);
}

.ae-metric-row strong {
    color: #ffffff;
}

.ae-metric-highlight {
    color: var(--ae-cyan);
    font-size: 17px;
    font-weight: 700;
    border-bottom: none;
    padding-top: 14px;
}

.ae-metric-highlight strong {
    color: var(--ae-emerald);
}

.ae-quotes-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ae-quote-card {
    background: var(--ae-glass-bg);
    border: 1.5px solid var(--ae-glass-border);
    border-radius: var(--ae-radius-lg);
    padding: 22px;
    transition: all 0.25s;
}

.ae-quote-card:hover {
    border-color: var(--ae-cyan);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.ae-quote-best {
    border-color: var(--ae-emerald);
    background: rgba(16, 185, 129, 0.08);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

.ae-quote-top {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 14px;
}

.ae-quote-logo {
    height: 34px;
    max-width: 85px;
    object-fit: contain;
}

.ae-quote-top h4 {
    font-size: 15px;
    color: #ffffff;
}

.ae-quote-eta {
    font-size: 12px;
    color: var(--ae-text-muted);
}

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

.ae-quote-price {
    font-size: 24px;
    font-weight: 800;
    color: var(--ae-emerald);
}

/* Contact Page Glass Layout */
.ae-contact-layout-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 35px;
}

.ae-contact-item {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.ae-contact-icon {
    font-size: 26px;
}

.ae-contact-item strong {
    display: block;
    font-size: 14px;
    color: #ffffff;
}

.ae-contact-item p {
    font-size: 14px;
    color: var(--ae-text-subtle);
}

.ae-alert {
    padding: 14px 20px;
    border-radius: var(--ae-radius-md);
    font-size: 14px;
    margin-bottom: 24px;
}

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

.ae-alert-success {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #6ee7b7;
}

/* Inline Error (auto-dismissing) */
.ae-inline-error {
    padding: 12px 18px;
    border-radius: var(--ae-radius-md);
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #fca5a5;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    animation: aeSlideDown 0.3s ease;
}

/* ===== Contact Confirmation Card ===== */
.ae-confirmation-card {
    text-align: center;
    padding: 45px 35px 35px;
    animation: aeConfirmIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ae-confirm-icon-wrap {
    margin-bottom: 20px;
}

.ae-confirm-checkmark {
    display: inline-block;
}

.ae-confirm-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: #10b981;
    animation: aeCircleDraw 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.ae-confirm-check {
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    stroke: #10b981;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    animation: aeCheckDraw 0.4s 0.4s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.ae-confirm-title {
    font-size: 24px;
    font-weight: 800;
    color: #10b981;
    margin: 0 0 8px 0;
}

.ae-confirm-message {
    font-size: 15px;
    color: var(--ae-text-subtle);
    line-height: 1.6;
    margin: 0 0 24px 0;
}

.ae-confirm-details {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--ae-radius-md);
    padding: 16px 20px;
    margin-bottom: 24px;
}

.ae-confirm-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.ae-confirm-detail-row + .ae-confirm-detail-row {
    border-top: 1px solid rgba(255,255,255,0.06);
}

.ae-confirm-label {
    font-size: 13px;
    color: var(--ae-text-subtle);
    font-weight: 600;
}

.ae-confirm-value {
    font-size: 13px;
    color: var(--ae-text-primary);
    font-weight: 700;
}

.ae-btn-outline {
    background: transparent;
    border: 2px solid var(--ae-cyan);
    color: var(--ae-cyan);
    font-weight: 700;
    padding: 12px 24px;
    border-radius: var(--ae-radius-md);
    cursor: pointer;
    font-size: 14px;
    transition: all 0.25s ease;
}

.ae-btn-outline:hover {
    background: rgba(0, 198, 255, 0.1);
    transform: translateY(-1px);
}

.ae-confirm-auto-dismiss {
    margin-top: 18px;
    text-align: center;
}

.ae-confirm-progress-bar {
    width: 100%;
    height: 3px;
    background: rgba(255,255,255,0.08);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.ae-confirm-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--ae-cyan), #10b981);
    border-radius: 4px;
}

.ae-confirm-dismiss-text {
    font-size: 12px;
    color: var(--ae-text-subtle);
    font-weight: 500;
}

@keyframes aeConfirmIn {
    from { opacity: 0; transform: scale(0.92) translateY(15px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes aeCircleDraw {
    to { stroke-dashoffset: 0; }
}

@keyframes aeCheckDraw {
    to { stroke-dashoffset: 0; }
}

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

/* Legal Glass Pages */
.ae-legal-container {
    max-width: 900px;
}

.ae-legal-card h2 {
    font-size: 22px;
    color: var(--ae-cyan);
    margin: 30px 0 12px;
}

.ae-legal-card h2:first-child {
    margin-top: 0;
}

.ae-legal-card p, .ae-legal-card ul {
    font-size: 15px;
    color: var(--ae-text-subtle);
    margin-bottom: 16px;
    line-height: 1.7;
}

.ae-legal-card ul {
    padding-left: 24px;
}

.ae-legal-card li {
    margin-bottom: 10px;
}

/* Glass Footer */
.ae-footer {
    background: rgba(5, 8, 15, 0.95);
    backdrop-filter: blur(20px);
    color: var(--ae-text-muted);
    padding: 80px 0 35px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ae-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 45px;
    margin-bottom: 60px;
}

.ae-footer-logo {
    height: 48px;
    margin-bottom: 18px;
}

.ae-footer-desc {
    font-size: 14px;
    line-height: 1.65;
    margin-bottom: 22px;
    color: var(--ae-text-subtle);
}

.ae-footer-socials {
    display: flex;
    gap: 12px;
}

.ae-social-icon {
    font-size: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
}

.ae-social-icon:hover {
    border-color: var(--ae-cyan);
    transform: translateY(-2px);
}

.ae-footer-title {
    font-family: var(--ae-font-heading);
    font-size: 17px;
    color: #ffffff;
    margin-bottom: 22px;
}

.ae-footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ae-footer-links a {
    color: var(--ae-text-muted);
    font-size: 14px;
}

.ae-footer-links a:hover {
    color: var(--ae-cyan);
}

.ae-footer-contact-info p {
    font-size: 13px;
    margin-bottom: 10px;
    color: var(--ae-text-subtle);
}

.ae-footer-contact-info a {
    color: var(--ae-text-light);
}

.ae-footer-tracking-box {
    margin-top: 24px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px;
    border-radius: var(--ae-radius-md);
}

.ae-footer-tracking-box h5 {
    color: #ffffff;
    font-size: 13px;
    margin-bottom: 12px;
}

.ae-footer-track-form {
    display: flex;
}

.ae-footer-track-form input {
    flex: 1;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px 0 0 6px;
    padding: 10px 14px;
    color: #ffffff;
    font-size: 13px;
    outline: none;
}

.ae-footer-track-form button {
    background: var(--ae-emerald);
    color: #ffffff;
    border: none;
    padding: 0 16px;
    border-radius: 0 6px 6px 0;
    cursor: pointer;
    font-weight: 700;
}

.ae-footer-partners {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 28px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.ae-footer-carrier-badges {
    display: flex;
    gap: 30px;
    align-items: center;
}

.ae-footer-carrier-badges img {
    height: 28px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.ae-footer-bottom {
    margin-top: 35px;
    text-align: center;
    font-size: 13px;
    color: var(--ae-text-muted);
}

/* Spinner */
.ae-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #ffffff;
    animation: ae-spin 0.8s ease-in-out infinite;
}

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

/* Responsive Media Queries */
@media (max-width: 992px) {
    #ae-desktop-nav { display: none; }
    .ae-mobile-toggle { display: flex; }
    .ae-btn-header { display: none; }
    
    .ae-hero-grid,
    .ae-track-body-grid,
    .ae-calc-page-layout,
    .ae-contact-layout-grid,
    .ae-about-story-grid {
        grid-template-columns: 1fr;
    }
    
    .ae-calc-grid,
    .ae-rates-grid,
    .ae-features-grid,
    .ae-steps-grid,
    .ae-partners-grid,
    .ae-team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ae-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .ae-calc-grid,
    .ae-rates-grid,
    .ae-features-grid,
    .ae-steps-grid,
    .ae-partners-grid,
    .ae-team-grid,
    .ae-infra-grid,
    .ae-footer-grid,
    .ae-form-row-2,
    .ae-form-row-3 {
        grid-template-columns: 1fr;
    }
    
    .ae-hero-title { font-size: 32px; }
    .ae-input-group, .ae-input-group-lg { flex-direction: column; }
    .ae-hero-stats { flex-direction: column; gap: 15px; }
    .ae-calc-dims-row { flex-direction: column; align-items: stretch; }
    .ae-input-sm { width: 100%; }
}


/* ==========================================================================
   Live Telemetry Glass Radar Widget (Hero Right)
   ========================================================================== */
.ae-telemetry-glass-widget {
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(24px) saturate(200%);
    -webkit-backdrop-filter: blur(24px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--ae-radius-xl);
    padding: 30px;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.ae-telemetry-glass-widget::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.ae-widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ae-widget-title-row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.ae-widget-title-row h4 {
    font-size: 16px;
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 2px;
}

.ae-widget-title-row small {
    font-size: 12px;
    color: var(--ae-text-muted);
}

.ae-radar-beacon {
    position: relative;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ae-radar-core {
    width: 8px;
    height: 8px;
    background-color: var(--ae-cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--ae-cyan);
}

.ae-radar-ring {
    position: absolute;
    inset: 0;
    border: 2px solid var(--ae-cyan);
    border-radius: 50%;
    animation: ae-radar-sweep 2s cubic-bezier(0.25, 1, 0.5, 1) infinite;
}

@keyframes ae-radar-sweep {
    0% { transform: scale(0.6); opacity: 1; }
    100% { transform: scale(2.2); opacity: 0; }
}

.ae-live-chip {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--ae-emerald);
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.35);
    padding: 4px 10px;
    border-radius: var(--ae-radius-full);
    box-shadow: 0 0 12px var(--ae-emerald-glow);
}

.ae-flight-feed-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ae-flight-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--ae-radius-md);
    padding: 16px;
    transition: all 0.25s ease;
}

.ae-flight-item:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.18);
    transform: translateX(4px);
}

.ae-flight-route {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.ae-flight-code {
    font-family: monospace;
    font-size: 13px;
    font-weight: 700;
    color: var(--ae-cyan);
}

.ae-route-pill {
    font-size: 12px;
    font-weight: 700;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    padding: 2px 10px;
    border-radius: var(--ae-radius-full);
}

.ae-flight-status-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    margin-bottom: 10px;
}

.ae-flight-in-flight {
    color: #38bdf8;
    font-weight: 600;
}

.ae-flight-customs {
    color: #fbbf24;
    font-weight: 600;
}

.ae-flight-eta {
    color: var(--ae-text-muted);
}

.ae-flight-bar-wrapper {
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 2px;
    overflow: hidden;
}

.ae-flight-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--ae-cyan), var(--ae-emerald));
    border-radius: 2px;
    box-shadow: 0 0 8px var(--ae-cyan-glow);
}

.ae-bar-amber {
    background: linear-gradient(90deg, var(--ae-amber), #f97316);
    box-shadow: 0 0 8px var(--ae-amber-glow);
}

.ae-widget-bottom-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 12px;
    flex-wrap: wrap;
    gap: 10px;
}

.ae-w-label {
    color: var(--ae-text-muted);
    margin-right: 4px;
}

.ae-w-val {
    font-weight: 700;
    color: #ffffff;
}

.text-emerald { color: var(--ae-emerald) !important; }
.text-cyan { color: var(--ae-cyan) !important; }


/* ==========================================================================
   Interactive Service Tiers & Dynamic Invoice Breakdown (Glass Mode)
   ========================================================================== */
.ae-tier-section-header {
    text-align: center;
    margin-bottom: 35px;
}

.ae-service-tiers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.ae-tier-card {
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--ae-radius-lg);
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.ae-tier-card:hover {
    transform: translateY(-5px);
    border-color: rgba(6, 182, 212, 0.4);
    box-shadow: 0 15px 35px rgba(6, 182, 212, 0.15);
}

.ae-tier-selected {
    background: rgba(15, 23, 42, 0.85);
    border-color: var(--ae-cyan) !important;
    box-shadow: 0 0 25px var(--ae-cyan-glow), inset 0 0 15px rgba(6, 182, 212, 0.1) !important;
    transform: translateY(-4px);
}

.ae-tier-badge {
    position: absolute;
    top: -10px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #0b1528;
    background: var(--ae-emerald);
    padding: 3px 10px;
    border-radius: var(--ae-radius-full);
    box-shadow: 0 0 10px var(--ae-emerald-glow);
}

.ae-badge-cyan {
    background: var(--ae-cyan) !important;
    box-shadow: 0 0 10px var(--ae-cyan-glow) !important;
}

.ae-tier-icon-wrap {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.05);
}

.ae-tier-emoji {
    font-size: 26px;
}

.ae-tier-name {
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 6px;
}

.ae-tier-speed {
    font-size: 12px;
    color: var(--ae-text-muted);
    margin-bottom: 14px;
    min-height: 18px;
}

.ae-tier-price {
    font-size: 28px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}

.ae-tier-price span {
    font-size: 16px;
    color: var(--ae-cyan);
}

.ae-tier-carrier-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 18px;
    height: 24px;
}

.ae-tier-carrier-logo {
    height: 18px;
    width: auto;
    object-fit: contain;
    filter: grayscale(30%) brightness(1.1);
}

.ae-tier-select-btn {
    width: 100%;
}

/* Calculator Breakdown Layout */
.ae-calc-breakdown-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

@media (max-width: 900px) {
    .ae-calc-breakdown-layout {
        grid-template-columns: 1fr;
    }
}

.ae-calc-invoice-card {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(24px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--ae-radius-xl);
    padding: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.ae-invoice-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 22px;
}

.ae-invoice-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.ae-invoice-logo {
    height: 38px;
    width: auto;
}

.ae-invoice-brand h4 {
    font-size: 16px;
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 2px;
}

.ae-invoice-brand small {
    font-size: 12px;
    color: var(--ae-cyan);
}

.ae-invoice-tag {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--ae-emerald);
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 3px 8px;
    border-radius: var(--ae-radius-sm);
}

.ae-invoice-table {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 24px;
}

.ae-invoice-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    border-radius: var(--ae-radius-md);
    background: rgba(255, 255, 255, 0.03);
}

.ae-inv-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #ffffff;
}

.ae-inv-icon {
    font-size: 18px;
}

.ae-inv-value {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    font-family: monospace;
}

.ae-invoice-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.12);
    margin: 6px 0;
}

.ae-invoice-total-row {
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.25);
    padding: 14px 16px;
}

.ae-total-highlight {
    font-size: 24px;
    color: var(--ae-cyan);
    font-weight: 800;
    text-shadow: 0 0 15px var(--ae-cyan-glow);
}

.ae-invoice-actions {
    margin-bottom: 22px;
}

.ae-invoice-carriers {
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.ae-invoice-carriers span {
    font-size: 11px;
    color: var(--ae-text-muted);
    display: block;
    margin-bottom: 10px;
}

.ae-invoice-carrier-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.ae-invoice-carrier-logos img {
    height: 20px;
    width: auto;
    object-fit: contain;
    filter: brightness(1.2) grayscale(20%);
    opacity: 0.85;
}

.ae-input-prefix-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.ae-input-prefix {
    position: absolute;
    left: 16px;
    font-weight: 700;
    color: var(--ae-cyan);
    font-size: 16px;
    pointer-events: none;
}

.ae-input-prefix-wrap .ae-input {
    padding-left: 34px !important;
}


/* ==========================================================================
   Action Bar, e-POD Modal & Carrier Benchmarking Table (Glass Mode)
   ========================================================================== */
.ae-track-action-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.ae-track-action-bar .ae-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Modals */
.ae-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.ae-modal-box {
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--ae-radius-xl);
    width: 100%;
    max-width: 580px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.8), 0 0 30px rgba(6, 182, 212, 0.2);
    overflow: hidden;
    animation: ae-modal-appear 0.25s ease-out;
}

@keyframes ae-modal-appear {
    from { opacity: 0; transform: scale(0.95) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.ae-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ae-modal-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ae-modal-title h4 {
    color: #ffffff;
    font-size: 17px;
    margin: 0;
}

.ae-modal-close {
    background: transparent;
    border: none;
    color: var(--ae-text-muted);
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
}

.ae-modal-close:hover { color: #ffffff; }

.ae-modal-body {
    padding: 24px;
}

.ae-modal-desc {
    color: var(--ae-text-muted);
    font-size: 13px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.ae-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 16px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
}

/* e-POD Receipt */
.ae-pod-receipt {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--ae-radius-lg);
    padding: 20px;
}

.ae-pod-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--ae-emerald);
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: 16px;
}

.ae-pod-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    font-size: 13px;
    color: #ffffff;
    margin-bottom: 20px;
}

.ae-pod-signature-box {
    border-top: 1px dashed rgba(255, 255, 255, 0.15);
    padding-top: 16px;
}

.ae-pod-signature-box label {
    font-size: 12px;
    color: var(--ae-text-muted);
    display: block;
    margin-bottom: 8px;
}

.ae-signature-canvas {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: var(--ae-radius-md);
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ae-sig-text {
    font-size: 11px;
    color: var(--ae-cyan);
    font-weight: 600;
    margin-top: 4px;
}

/* Carrier Comparison Table */
.ae-carrier-comparison-table-wrap {
    overflow-x: auto;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--ae-radius-xl);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.ae-comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.ae-comparison-table th {
    background: rgba(255, 255, 255, 0.05);
    padding: 16px 20px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--ae-cyan);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.ae-comparison-table td {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 13px;
    line-height: 1.6;
    vertical-align: top;
    color: #e2e8f0;
}

.ae-comparison-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.ae-comp-carrier-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ae-comp-carrier-brand img {
    height: 24px;
    width: auto;
    object-fit: contain;
}

.ae-comp-list {
    margin: 0;
    padding-left: 18px;
    color: var(--ae-text-muted);
}

.ae-comp-list li {
    margin-bottom: 4px;
}

.ae-badge-active {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    color: var(--ae-emerald);
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 4px 10px;
    border-radius: var(--ae-radius-full);
}


/* ==========================================================================
   Refined Corporate Glassmorphism Palette (Executive Monochrome & Slate)
   ========================================================================== */
.ae-tier-icon-wrap svg {
    color: var(--ae-cyan);
}

.ae-highlight-icon-svg {
    width: 44px;
    height: 44px;
    border-radius: var(--ae-radius-md);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--ae-cyan);
}

.ae-feature-icon-svg {
    width: 56px;
    height: 56px;
    border-radius: var(--ae-radius-lg);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--ae-cyan);
    transition: all 0.3s ease;
}

.ae-feature-box:hover .ae-feature-icon-svg {
    background: rgba(6, 182, 212, 0.1);
    border-color: rgba(6, 182, 212, 0.3);
    transform: scale(1.05);
}

.ae-row-svg {
    color: var(--ae-text-muted);
}

.ae-invoice-row:hover .ae-row-svg {
    color: var(--ae-cyan);
}

.ae-node-icon svg {
    color: var(--ae-text-muted);
}

.ae-step-node.completed .ae-node-icon svg,
.ae-step-node.active .ae-node-icon svg {
    color: #ffffff;
}

.ae-status-notice-card .ae-notice-icon svg {
    color: var(--ae-cyan);
}


/* ==========================================================================
   Transparent Delivery Calculation Formula Steps (Glass Mode)
   ========================================================================== */
.ae-calc-header-center {
    text-align: center;
    margin-bottom: 35px;
}

.ae-formula-steps-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ae-formula-step-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--ae-radius-lg);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.25s ease;
}

.ae-formula-step-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(6, 182, 212, 0.3);
    transform: translateX(4px);
}

.ae-f-step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(6, 182, 212, 0.15);
    border: 1px solid rgba(6, 182, 212, 0.4);
    color: var(--ae-cyan);
    font-weight: 800;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ae-f-step-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.ae-f-step-info strong {
    color: #ffffff;
    font-size: 14px;
    margin-bottom: 2px;
}

.ae-f-step-info span {
    color: var(--ae-text-muted);
    font-size: 12px;
}

.ae-f-step-math {
    font-family: monospace;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
}
