/* ============================================================
   store.css — Premium Dark Glass Design System v2
   ============================================================ */

/* === DESIGN TOKENS === */
:root {
    /* Surface & Background */
    --bg-base: #05050f;
    --bg-subtle: #080814;
    --surface-1: rgba(255, 255, 255, 0.02);
    --surface-2: rgba(255, 255, 255, 0.04);
    --surface-3: rgba(255, 255, 255, 0.06);
    --surface-glass: rgba(255, 255, 255, 0.03);
    /* Borders */
    --border-subtle: rgba(255, 255, 255, 0.05);
    --border-default: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);
    --border-accent: rgba(6, 182, 212, 0.35);
    /* Typography */
    --text-primary: #fafafa;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-main: #fafafa;
    /* Accent */
    --accent: #06b6d4;
    --accent-rgb: 6, 182, 212;
    --accent-bright: #22d3ee;
    --accent-glow: rgba(6, 182, 212, 0.12);
    --accent-glow-strong: rgba(6, 182, 212, 0.25);
    /* Semantic */
    --green: #2dd4bf;
    --green-bg: rgba(45, 212, 191, 0.1);
    --green-border: rgba(45, 212, 191, 0.25);
    --red: #f43f5e;
    --red-bg: rgba(244, 63, 94, 0.1);
    --red-border: rgba(244, 63, 94, 0.25);
    /* Effects */
    --glass-blur: blur(20px);
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.3);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.4);
    --shadow-glow: 0 0 40px rgba(6, 182, 212, 0.08);
    /* Layout */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    --max-w: 1200px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    /* Navbar */
    --navbar-bg: rgba(5, 5, 15, 0.85);
    --navbar-border: rgba(255, 255, 255, 0.05);
    /* Footer */
    --footer-bg: rgba(5, 5, 15, 0.95);
    /* Modal */
    --modal-bg: rgba(10, 10, 20, 0.95);
    /* Input */
    --input-bg: rgba(255, 255, 255, 0.03);
    --input-bg-focus: rgba(255, 255, 255, 0.06);
    --input-border: rgba(255, 255, 255, 0.08);
    /* Gradient */
    --gradient-accent: linear-gradient(135deg, #06b6d4 0%, #3b82f6 50%, #4f46e5 100%);
    --gradient-text: linear-gradient(135deg, #a5f3fc 0%, #22d3ee 50%, #3b82f6 100%);
    /* Primary for settings compat */
    --primary-color: #06b6d4;
}

/* Light Mode Overrides */
body.theme-light, :root.theme-light {
    --bg-base: #f8fafc;
    --bg-subtle: #f1f5f9;
    --surface-1: rgba(0, 0, 0, 0.02);
    --surface-2: rgba(0, 0, 0, 0.03);
    --surface-3: rgba(0, 0, 0, 0.05);
    --surface-glass: rgba(255, 255, 255, 0.7);
    --border-subtle: rgba(0, 0, 0, 0.05);
    --border-default: rgba(0, 0, 0, 0.08);
    --border-hover: rgba(0, 0, 0, 0.12);
    --text-primary: #18181b;
    --text-secondary: #52525b;
    --text-muted: #a1a1aa;
    --text-main: #18181b;
    --navbar-bg: rgba(248, 250, 252, 0.85);
    --navbar-border: rgba(0, 0, 0, 0.06);
    --footer-bg: rgba(241, 245, 249, 0.95);
    --modal-bg: rgba(255, 255, 255, 0.95);
    --input-bg: rgba(0, 0, 0, 0.03);
    --input-bg-focus: rgba(0, 0, 0, 0.05);
    --input-border: rgba(0, 0, 0, 0.1);
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.06);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.08);
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    background: var(--bg-base);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* === AMBIENT BACKGROUND === */
.liquid-bg {
    position: fixed; inset: 0; z-index: -100; overflow: hidden;
    pointer-events: none;
}
.noise-overlay {
    position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
    opacity: 0.4;
}
.blob {
    position: absolute; border-radius: 50%;
    filter: blur(140px); opacity: 0.12;
    animation: blobFloat 28s infinite alternate ease-in-out;
}
.blob-1 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, #06b6d4 0%, transparent 70%);
    top: -15%; left: -10%;
}
.blob-2 {
    width: 700px; height: 700px;
    background: radial-gradient(circle, #3b82f6 0%, transparent 70%);
    bottom: -20%; right: -10%;
    animation-delay: -8s;
}
.blob-3 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, #4f46e5 0%, transparent 70%);
    top: 40%; left: 50%;
    animation-delay: -16s; opacity: 0.08;
}
@keyframes blobFloat {
    0%   { transform: translate(0, 0) scale(1); }
    33%  { transform: translate(50px, -30px) scale(1.06); }
    66%  { transform: translate(-40px, 60px) scale(0.96); }
    100% { transform: translate(20px, 80px) scale(1.04); }
}

/* === NAVBAR === */
.navbar {
    position: sticky; top: 0; z-index: 100;
    background: var(--navbar-bg);
    backdrop-filter: saturate(180%) var(--glass-blur);
    -webkit-backdrop-filter: saturate(180%) var(--glass-blur);
    border-bottom: 1px solid var(--navbar-border);
}
.nav-container {
    max-width: var(--max-w); margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center;
    height: 64px; padding: 0 24px;
}
.brand {
    display: flex; align-items: center; gap: 10px;
    text-decoration: none; cursor: pointer;
    transition: opacity 0.2s;
}
.brand:hover { opacity: 0.8; }
.brand-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; overflow: hidden;
}
.brand-icon img { width: 100%; height: 100%; object-fit: contain; border-radius: 6px; }
.brand-emoji { font-size: 26px; line-height: 1; }
.brand-text {
    font-size: 17px; font-weight: 700; letter-spacing: -0.3px;
    color: var(--text-primary);
}
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-link {
    color: var(--text-secondary); text-decoration: none;
    font-size: 13px; font-weight: 500;
    padding: 6px 12px; border-radius: var(--radius-full);
    transition: all 0.2s;
}
.nav-link:hover { color: var(--text-primary); background: var(--surface-2); }
.nav-cta {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--surface-3); border: 1px solid var(--border-default);
    color: var(--text-primary) !important;
    padding: 6px 14px !important;
}
.nav-cta:hover { background: var(--accent); color: #fff !important; border-color: var(--accent); }
.mobile-menu-btn { display: none; }

/* === HERO === */
.hero {
    position: relative; overflow: hidden;
    padding: 100px 24px 60px;
}
.hero-container {
    max-width: var(--max-w); margin: 0 auto;
    display: grid; grid-template-columns: 1.1fr 0.9fr;
    gap: 48px; align-items: center;
}
.hero-content { display: flex; flex-direction: column; align-items: flex-start; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--accent-glow);
    border: 1px solid rgba(var(--accent-rgb), 0.2);
    border-radius: var(--radius-full);
    padding: 6px 16px; margin-bottom: 24px;
    font-size: 12px; font-weight: 600; color: var(--accent-bright);
    letter-spacing: 0.3px; text-transform: uppercase;
}
.badge-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 8px var(--green);
    animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; } 50% { opacity: 0.4; }
}
.hero h1 {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800; line-height: 1.08;
    letter-spacing: -1.5px; color: var(--text-primary);
    margin-bottom: 20px;
}
.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-desc {
    font-size: 17px; color: var(--text-secondary);
    max-width: 520px; line-height: 1.6;
    margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 12px; margin-bottom: 48px; flex-wrap: wrap; }
.hero-stats {
    display: flex; align-items: center; gap: 24px;
    padding: 16px 24px; border-radius: var(--radius-lg);
    background: var(--surface-1); border: 1px solid var(--border-subtle);
}
.stat-item { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.stat-num { font-size: 22px; font-weight: 800; color: var(--text-primary); }
.stat-label { font-size: 11px; font-weight: 500; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.stat-divider { width: 1px; height: 32px; background: var(--border-default); }

/* Hero Visual - Dashboard Widget */
.hero-visual { display: flex; justify-content: center; align-items: center; }

.visual-dashboard {
    position: relative; width: 100%; max-width: 420px;
    background: rgba(10, 15, 25, 0.4);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5), 0 0 0 1px rgba(var(--accent-rgb), 0.05) inset;
    animation: dashFloat 8s ease-in-out infinite;
    overflow: hidden;
    display: flex; flex-direction: column; gap: 24px;
}

/* Ambient glow behind widget */
.visual-dashboard::before {
    content: ''; position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(var(--accent-rgb), 0.08) 0%, transparent 60%);
    pointer-events: none;
    animation: slowSpin 15s linear infinite;
}

@keyframes slowSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
@keyframes dashFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Dash Header */
.dash-header {
    display: flex; align-items: center; gap: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 16px; position: relative; z-index: 1;
}
.dash-dot {
    width: 10px; height: 10px; border-radius: 50%;
    background: var(--accent-bright);
    box-shadow: 0 0 10px var(--accent-bright);
}
.dash-dot.pulse { animation: radarPing 2s infinite; }
.dash-title {
    font-size: 15px; font-weight: 800; color: var(--text-primary);
    text-transform: uppercase; letter-spacing: 1px;
}
.dash-status {
    margin-left: auto; font-size: 11px; font-weight: 600;
    color: var(--text-muted); font-family: monospace;
    animation: blinkText 2s infinite;
}
@keyframes blinkText {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Dash Stats */
.dash-stats {
    display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
    position: relative; z-index: 1;
}
.stat-box { display: flex; flex-direction: column; gap: 6px; }
.stat-lbl { font-size: 11px; font-weight: 700; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.5px; }
.stat-val { font-size: 24px; font-weight: 900; color: var(--text-primary); }
.stat-val.text-accent { color: var(--accent-bright); text-shadow: 0 0 15px rgba(var(--accent-rgb), 0.3); }

/* Stat Bars */
.stat-bar {
    width: 100%; height: 4px; background: rgba(255,255,255,0.05);
    border-radius: 2px; overflow: hidden; margin-top: 4px;
}
.bar-fill {
    height: 100%; background: var(--text-primary);
    border-radius: 2px;
}
.bar-fill.accent-fill {
    background: var(--gradient-accent);
    box-shadow: 0 0 10px rgba(var(--accent-rgb), 0.5);
}

.dash-radar-wrap {
    background: rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.03);
    border-radius: var(--radius-lg);
    padding: 20px;
    position: relative; z-index: 1;
    display: flex; justify-content: center; align-items: center;
    min-height: 150px;
    overflow: hidden;
}
.dash-radar {
    width: 120px; height: 120px;
    border-radius: 50%;
    border: 1px solid rgba(var(--accent-rgb), 0.3);
    position: relative;
    box-shadow: inset 0 0 20px rgba(var(--accent-rgb), 0.1);
    background: radial-gradient(circle, rgba(var(--accent-rgb), 0.1) 0%, transparent 70%);
}
.dash-radar::before, .dash-radar::after {
    content: ''; position: absolute;
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    border: 1px solid rgba(var(--accent-rgb), 0.2); border-radius: 50%;
}
.dash-radar::before { width: 80px; height: 80px; }
.dash-radar::after { width: 40px; height: 40px; }
.radar-sweep {
    position: absolute; top: 0; left: 50%; width: 50%; height: 50%;
    transform-origin: 0% 100%;
    background: linear-gradient(to right, transparent, rgba(var(--accent-rgb), 0.4));
    animation: radarSweep 3s infinite linear;
}
@keyframes radarSweep {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.radar-blip {
    position: absolute; width: 6px; height: 6px; border-radius: 50%;
    background: var(--accent-bright);
    box-shadow: 0 0 10px var(--accent-bright);
}
.radar-blip.blip-1 { top: 20%; left: 30%; }
.radar-blip.blip-2 { top: 60%; left: 70%; }
.radar-blip.blip-3 { top: 40%; left: 80%; }
.radar-blip { animation: cellBlink 3s infinite alternate; }

@keyframes cellBlink {
    0% { opacity: 0.3; } 100% { opacity: 1; }
}

/* Scanning Overlay */
.scan-line {
    position: absolute; top: 0; left: 0; width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-bright), transparent);
    box-shadow: 0 0 15px var(--accent-bright);
    opacity: 0.5; pointer-events: none; z-index: 2;
    animation: scanMove 4s ease-in-out infinite;
}
@keyframes scanMove {
    0% { top: 0%; opacity: 0; }
    10% { opacity: 0.5; }
    90% { opacity: 0.5; }
    100% { top: 100%; opacity: 0; }
}

/* === BUTTONS === */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 10px 20px; border-radius: var(--radius-full);
    font-family: var(--font); font-size: 14px; font-weight: 600;
    text-decoration: none; cursor: pointer; border: none;
    transition: all 0.2s ease;
}
.btn-lg { padding: 12px 24px; font-size: 15px; }
.btn-primary {
    background: var(--gradient-accent); color: #fff;
    box-shadow: 0 2px 12px rgba(var(--accent-rgb), 0.25);
}
.btn-primary:hover:not(:disabled) {
    box-shadow: 0 4px 20px rgba(var(--accent-rgb), 0.4);
    transform: translateY(-1px);
}
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-ghost {
    background: transparent; color: var(--text-primary);
    border: 1px solid var(--border-default);
}
.btn-ghost:hover { background: var(--surface-2); border-color: var(--border-hover); }

/* === SECTIONS === */
.section { padding: 80px 24px; position: relative; }
.section-inner { max-width: var(--max-w); margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag {
    display: inline-block;
    font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
    text-transform: uppercase; color: var(--accent);
    margin-bottom: 12px;
}
.section-header h2 {
    font-size: clamp(26px, 3.5vw, 36px); font-weight: 800;
    letter-spacing: -0.5px; margin-bottom: 14px;
}
.section-header p {
    color: var(--text-secondary); max-width: 560px;
    margin: 0 auto; font-size: 15px; line-height: 1.6;
}

/* === SERVICES === */
.services-section { background: var(--surface-1); border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); }
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px; margin-bottom: 48px;
}
.service-card {
    position: relative;
    background: var(--surface-glass);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg); padding: 28px 24px;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    display: flex; flex-direction: column;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
}
.service-card::before { display: none; }
.service-card::after {
    content: '';
    position: absolute; inset: 0; border-radius: inherit;
    background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.4) 0%, rgba(99, 102, 241, 0.3) 50%, transparent 100%);
    opacity: 0; transition: opacity 0.35s ease;
    pointer-events: none; z-index: 1;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
    padding: 1px;
}
.service-card:hover {
    transform: translateY(-4px);
    border-color: transparent;
    box-shadow: var(--shadow-md), var(--shadow-glow);
}
.service-card:hover::after { opacity: 1; }
.service-icon-wrap { margin-bottom: 16px; }
.service-icon { font-size: 36px; display: block; }
.service-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; color: var(--text-primary); }
.service-card p { color: var(--text-secondary); font-size: 13.5px; line-height: 1.6; flex-grow: 1; margin-bottom: 16px; }
.service-footer { display: flex; align-items: center; }
.price-tag {
    font-size: 14px; font-weight: 700; color: var(--accent-bright);
    background: var(--accent-glow); border: 1px solid rgba(var(--accent-rgb), 0.15);
    padding: 4px 12px; border-radius: var(--radius-full);
}

.services-cta {
    display: flex; justify-content: space-between; align-items: center;
    background: var(--surface-2); border: 1px solid var(--border-default);
    border-radius: var(--radius-lg); padding: 20px 28px;
    max-width: 720px; margin: 0 auto;
    flex-wrap: wrap; gap: 16px;
}
.cta-content { display: flex; align-items: center; gap: 12px; color: var(--text-secondary); font-size: 14px; font-weight: 500; }
.cta-content svg { color: var(--accent); flex-shrink: 0; }

/* === CATALOG === */
.catalog-toolbar {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 36px; flex-wrap: wrap; gap: 16px;
}
.search-wrap {
    position: relative; width: 100%; max-width: 380px;
}
.search-svg {
    position: absolute; left: 14px; top: 50%;
    transform: translateY(-50%); color: var(--text-muted);
    pointer-events: none;
}
.search-wrap input {
    width: 100%; padding: 10px 16px 10px 42px;
    background: var(--input-bg); border: 1px solid var(--input-border);
    border-radius: var(--radius-full); color: var(--text-primary);
    font-family: var(--font); font-size: 14px;
    transition: all 0.25s ease;
}
.search-wrap input::placeholder { color: var(--text-muted); }
.search-wrap input:focus {
    outline: none; border-color: var(--accent);
    background: var(--input-bg-focus);
    box-shadow: 0 0 0 3px var(--accent-glow);
}
.category-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.tab-btn {
    padding: 7px 16px; border-radius: var(--radius-full);
    background: var(--surface-2); border: 1px solid var(--border-subtle);
    color: var(--text-secondary); font-size: 13px; font-weight: 500;
    cursor: pointer; transition: all 0.2s; white-space: nowrap;
}
.tab-btn:hover { background: var(--surface-3); color: var(--text-primary); border-color: var(--border-hover); }
.tab-btn.active {
    background: var(--gradient-accent); color: #fff;
    border-color: transparent;
    box-shadow: 0 2px 8px rgba(var(--accent-rgb), 0.25);
}

/* PRODUCT GRID */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}
@media (min-width: 1200px) {
    .product-grid { grid-template-columns: repeat(4, 1fr); }
}
.product-card {
    position: relative;
    background: var(--surface-glass);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    overflow: hidden; display: flex; flex-direction: column;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
}
.product-card::after {
    content: '';
    position: absolute; inset: 0; border-radius: inherit;
    background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.4) 0%, rgba(99, 102, 241, 0.3) 50%, transparent 100%);
    opacity: 0; transition: opacity 0.35s ease;
    pointer-events: none; z-index: 2;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
    padding: 1px;
}
.product-card:hover {
    transform: translateY(-4px);
    border-color: transparent;
    box-shadow: var(--shadow-md), var(--shadow-glow);
}
.product-card:hover::after { opacity: 1; }

.product-img-wrap {
    position: relative; padding-top: 62%;
    background: var(--surface-2);
    overflow: hidden;
}
.product-img {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.product-card:hover .product-img { transform: scale(1.05); }
.product-img-placeholder {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--surface-1) 0%, var(--surface-2) 100%);
}
.product-img-placeholder span { font-size: 36px; opacity: 0.5; }

.stock-badge {
    position: absolute; top: 10px; right: 10px;
    padding: 4px 10px; border-radius: var(--radius-full);
    font-size: 10px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.3px; z-index: 3;
}
.stock-in { background: var(--green-bg); color: var(--green); border: 1px solid var(--green-border); }
.stock-out { background: var(--red-bg); color: var(--red); border: 1px solid var(--red-border); }

.product-body {
    padding: 18px 20px 20px; display: flex;
    flex-direction: column; flex-grow: 1;
}
.product-category-tag {
    font-size: 10px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.8px;
    color: var(--accent); margin-bottom: 6px;
}
.product-title {
    font-size: 14px; font-weight: 600;
    line-height: 1.4; margin-bottom: 10px;
    color: var(--text-primary); flex-grow: 1;
}
.product-meta {
    display: flex; flex-wrap: wrap; gap: 6px;
    margin-bottom: 14px;
}
.product-meta span {
    font-size: 11px; font-weight: 500; color: var(--text-muted);
    background: var(--surface-3); padding: 2px 8px;
    border-radius: var(--radius-sm);
}
.sku-tag { font-family: 'Inter', monospace; letter-spacing: 0.5px; }

.product-bottom {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 14px; border-top: 1px solid var(--border-subtle);
}
.product-price { font-size: 18px; font-weight: 800; color: var(--text-primary); }
.product-qty { font-size: 11px; font-weight: 600; color: var(--text-muted); }

/* Category Groups */
.category-group { margin-bottom: 48px; }
.category-group-title {
    font-size: 18px; font-weight: 700; margin-bottom: 20px;
    padding-bottom: 8px; color: var(--text-primary);
    border-bottom: 2px solid var(--accent);
    width: max-content; letter-spacing: 0.3px;
}

/* Pagination */
.pagination {
    display: flex; justify-content: center; align-items: center;
    gap: 16px; margin-top: 48px; padding-top: 24px;
    border-top: 1px solid var(--border-subtle);
}
.page-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 18px; background: var(--surface-2);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-full); color: var(--text-primary);
    font-size: 13px; font-weight: 600; cursor: pointer;
    transition: all 0.2s;
}
.page-btn:hover:not(:disabled) {
    background: var(--accent); color: #fff;
    border-color: var(--accent);
    box-shadow: 0 2px 12px rgba(var(--accent-rgb), 0.25);
}
.page-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.page-info { font-size: 13px; font-weight: 600; color: var(--text-muted); }

/* Empty State */
.empty-state {
    text-align: center; padding: 80px 40px;
    background: var(--surface-1); border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg); max-width: 480px; margin: 0 auto;
}
.empty-icon { font-size: 48px; margin-bottom: 16px; }
.empty-state h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.empty-state p { color: var(--text-secondary); font-size: 14px; }

/* === ABOUT === */
.about-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px; margin-bottom: 72px;
}
.about-card {
    background: var(--surface-glass); border: 1px solid var(--border-default);
    border-radius: var(--radius-lg); padding: 28px 24px;
    backdrop-filter: var(--glass-blur);
    transition: all 0.3s ease;
}
.about-card:hover { transform: translateY(-3px); border-color: var(--border-hover); box-shadow: var(--shadow-md); }
.about-card-icon { font-size: 32px; margin-bottom: 16px; }
.about-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.about-card p { color: var(--text-secondary); font-size: 13.5px; line-height: 1.6; }

.story-section {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 48px; align-items: center; margin-bottom: 72px;
}
.story-text h3 {
    font-size: 28px; font-weight: 800; color: var(--text-primary);
    margin-bottom: 20px; letter-spacing: -0.5px;
}
.story-text p { color: var(--text-secondary); font-size: 15px; line-height: 1.7; margin-bottom: 16px; }
.story-stats-card {
    background: var(--surface-glass); border: 1px solid var(--border-default);
    border-radius: var(--radius-xl); padding: 40px;
    text-align: center; backdrop-filter: var(--glass-blur);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}
.stats-icon { font-size: 56px; margin-bottom: 12px; }
.story-stats-card h3 { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.story-stats-card > p { color: var(--text-secondary); font-size: 13px; max-width: 260px; margin: 0 auto 20px; }
.stats-row { display: flex; justify-content: center; gap: 32px; }
.stat-block { text-align: center; }
.stat-value { display: block; font-size: 26px; font-weight: 800; color: var(--accent); }
.stat-name { display: block; font-size: 10px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-top: 2px; }

.choose-section { text-align: center; }
.choose-title { font-size: 28px; font-weight: 800; margin-bottom: 32px; letter-spacing: -0.5px; }
.choose-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
}
.choose-card {
    background: var(--surface-glass); border: 1px solid var(--border-default);
    border-radius: var(--radius-lg); padding: 28px 24px;
    text-align: left; transition: all 0.3s ease;
}
.choose-card:hover { transform: translateY(-3px); border-color: var(--border-hover); box-shadow: var(--shadow-md); }
.choose-icon { font-size: 28px; margin-bottom: 14px; }
.choose-card h4 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.choose-card p { color: var(--text-secondary); font-size: 13px; line-height: 1.6; }

/* === FOOTER === */
.footer {
    background: var(--footer-bg); border-top: 1px solid var(--border-subtle);
    padding: 40px 24px; margin-top: 40px;
    backdrop-filter: var(--glass-blur);
}
.footer-inner {
    max-width: var(--max-w); margin: 0 auto;
    text-align: center;
}
.footer-brand {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 16px; font-weight: 700; color: var(--text-primary);
    margin-bottom: 12px;
}
.footer-brand .brand-emoji { font-size: 22px; }
.footer p { color: var(--text-muted); font-size: 13px; }
.footer-credit { margin-top: 6px; font-size: 11px; opacity: 0.4; }

/* === MODAL === */
.modal-overlay {
    position: fixed; inset: 0; z-index: 1000;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 20px;
}
.modal-overlay.active { opacity: 1; pointer-events: auto; }
.modal-panel {
    background: var(--modal-bg);
    border: 1px solid var(--border-default);
    backdrop-filter: saturate(150%) var(--glass-blur);
    -webkit-backdrop-filter: saturate(150%) var(--glass-blur);
    border-radius: var(--radius-xl);
    width: 100%; max-width: 560px;
    padding: 32px;
    box-shadow: var(--shadow-lg);
    transform: translateY(20px) scale(0.98);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.modal-overlay.active .modal-panel { transform: translateY(0) scale(1); }
.modal-header {
    display: flex; justify-content: space-between; align-items: flex-start;
    margin-bottom: 24px; padding-bottom: 16px;
    border-bottom: 1px solid var(--border-subtle);
}
.modal-header h3 { font-size: 18px; font-weight: 700; }
.modal-header p { color: var(--text-muted); font-size: 13px; margin-top: 4px; }
.modal-close {
    background: var(--surface-3); border: none;
    color: var(--text-secondary); cursor: pointer;
    width: 32px; height: 32px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.2s; flex-shrink: 0;
}
.modal-close:hover { background: var(--red-bg); color: var(--red); }

/* FORM */
.modal-form .form-group { margin-bottom: 16px; }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.modal-form label {
    display: block; font-size: 12px; font-weight: 600;
    color: var(--text-secondary); margin-bottom: 6px;
    letter-spacing: 0.3px;
}
.req { color: var(--accent); }
.modal-form input[type="text"],
.modal-form select,
.modal-form textarea {
    width: 100%; padding: 10px 14px;
    background: var(--input-bg); border: 1px solid var(--input-border);
    border-radius: var(--radius-md); color: var(--text-primary);
    font-family: var(--font); font-size: 14px;
    transition: all 0.25s;
}
.modal-form input:focus,
.modal-form select:focus,
.modal-form textarea:focus {
    outline: none; border-color: var(--accent);
    background: var(--input-bg-focus);
    box-shadow: 0 0 0 3px var(--accent-glow);
}
.modal-form textarea { resize: vertical; }
.modal-form select { cursor: pointer; }
.form-actions {
    display: flex; justify-content: flex-end; gap: 10px;
    margin-top: 24px; padding-top: 16px;
    border-top: 1px solid var(--border-subtle);
}

/* === TOASTS === */
.toast-container {
    position: fixed; bottom: 24px; right: 24px; z-index: 2000;
    display: flex; flex-direction: column; gap: 8px;
}
.toast {
    display: flex; align-items: center; gap: 10px;
    padding: 14px 20px; border-radius: var(--radius-md);
    font-size: 13px; font-weight: 600; color: #fff;
    backdrop-filter: blur(12px); box-shadow: var(--shadow-lg);
    animation: toastIn 0.3s ease forwards;
}
.toast.success { background: rgba(52, 211, 153, 0.9); border: 1px solid rgba(52, 211, 153, 0.3); }
.toast.error { background: rgba(248, 113, 113, 0.9); border: 1px solid rgba(248, 113, 113, 0.3); }
@keyframes toastIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* === RESPONSIVE === */
@media (max-width: 991px) {
    .hero-container { grid-template-columns: 1fr; gap: 40px; }
    .hero-content { align-items: center; text-align: center; }
    .hero-desc { max-width: 100%; }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; }
    .visual-card { max-width: 300px; height: 260px; animation: none !important; }
    .story-section { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 768px) {
    .hero { padding: 80px 20px 40px; }
    .section { padding: 60px 20px; }
    .hero h1 { font-size: 32px; letter-spacing: -0.8px; }
    .navbar { height: auto; }
    .nav-container { height: auto; padding: 14px 20px; flex-wrap: wrap; }
    .nav-links { display: none; flex-direction: column; width: 100%; gap: 4px; padding-top: 12px; }
    .nav-links.mobile-open { display: flex; }
    .nav-link { padding: 10px 16px; border-radius: var(--radius-md); width: 100%; }
    .mobile-menu-btn {
        display: flex; flex-direction: column; gap: 5px;
        background: none; border: none; cursor: pointer; padding: 6px;
    }
    .mobile-menu-btn span {
        display: block; width: 22px; height: 2px;
        background: var(--text-primary); border-radius: 2px;
        transition: all 0.3s;
    }
    .mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
    .mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
    .form-row-3 { grid-template-columns: 1fr; }
    .catalog-toolbar { flex-direction: column; align-items: stretch; }
    .search-wrap { max-width: 100%; }
    .services-cta { flex-direction: column; text-align: center; }
    .hero-stats { flex-wrap: wrap; gap: 16px; }
    .stat-divider { display: none; }
}

/* Select option colors for dark mode */
select option { background: #18181b; color: var(--text-primary); }

/* ========== TRACKER LAYOUT ========== */
.tracker-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 100px 24px 80px;
    position: relative;
}

/* Add a glowing ambient background orb behind the tracker */
.tracker-section::before {
    content: '';
    position: absolute;
    top: 10%; left: 50%;
    transform: translateX(-50%);
    width: 600px; height: 600px;
    background: radial-gradient(circle, var(--accent-glow-strong) 0%, transparent 60%);
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.tracker-hero {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}
.tracker-hero .section-tag {
    display: inline-block;
    font-size: 11px; font-weight: 800; letter-spacing: 2px;
    text-transform: uppercase; color: var(--accent-bright);
    background: var(--accent-glow);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(var(--accent-rgb), 0.3);
    margin-bottom: 16px;
    box-shadow: 0 0 15px rgba(var(--accent-rgb), 0.2);
}
.tracker-hero h1 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 900; letter-spacing: -1.5px;
    color: var(--text-primary);
    margin-bottom: 16px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.tracker-hero p {
    color: var(--text-secondary);
    font-size: 16px; line-height: 1.6;
    max-width: 580px; margin: 0 auto;
}

/* ========== TRACKER CARD ========== */
.tracker-card {
    position: relative;
    z-index: 1;
    background: rgba(10, 15, 25, 0.4);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5), 0 0 0 1px rgba(var(--accent-rgb), 0.05) inset;
    margin-bottom: 30px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
}

/* Internal glass reflection effect */
.tracker-card::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.03), transparent);
    transform: skewX(-20deg);
    pointer-events: none;
}
.tracker-card:hover::after {
    animation: shineCard 4s infinite;
}
@keyframes shineCard {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

/* ========== SEARCH FORM ========== */
.search-form-header {
    display: flex; align-items: center; gap: 16px;
    margin-bottom: 32px;
}
.search-form-icon {
    width: 52px; height: 52px; border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.2) 0%, rgba(59, 130, 246, 0.2) 100%);
    border: 1px solid rgba(var(--accent-rgb), 0.4);
    box-shadow: 0 0 20px rgba(var(--accent-rgb), 0.2) inset, 0 0 15px rgba(var(--accent-rgb), 0.1);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.search-form-icon svg { color: var(--accent-bright); width: 24px; height: 24px; }
.search-form-header h3 {
    font-size: 22px; font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}
.search-form-header p {
    font-size: 14px; color: var(--text-secondary); margin-top: 4px;
}

.search-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px; margin-bottom: 24px;
}
@media (max-width: 600px) {
    .search-grid { grid-template-columns: 1fr; gap: 16px; }
}

.tracker-form .form-group { display: flex; flex-direction: column; gap: 8px; position: relative; }
.tracker-form .form-group label {
    font-size: 13px; font-weight: 700;
    color: var(--text-secondary);
    letter-spacing: 0.5px; text-transform: uppercase;
}
.tracker-form .form-group input {
    width: 100%; padding: 14px 18px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    font-size: 15px; font-family: var(--font);
    color: var(--text-primary);
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1) inset;
}
.tracker-form .form-group input::placeholder { color: var(--text-muted); opacity: 0.7; }
.tracker-form .form-group input:focus {
    outline: none;
    border-color: var(--accent-bright);
    background: rgba(var(--accent-rgb), 0.03);
    box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.15), 0 4px 6px -1px rgba(0,0,0,0.1) inset;
    transform: translateY(-1px);
}

.tracker-submit-btn {
    width: 100%; padding: 16px;
    background: var(--gradient-accent);
    color: white; border: none;
    border-radius: var(--radius-lg);
    font-size: 15px; font-weight: 700; font-family: var(--font); letter-spacing: 0.5px;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 15px rgba(var(--accent-rgb), 0.3), inset 0 1px 0 rgba(255,255,255,0.2);
    text-transform: uppercase;
}
.tracker-submit-btn:hover:not(:disabled) {
    box-shadow: 0 8px 25px rgba(var(--accent-rgb), 0.5), inset 0 1px 0 rgba(255,255,255,0.2);
    transform: translateY(-2px);
    background: linear-gradient(135deg, #22d3ee 0%, #3b82f6 50%, #6366f1 100%);
}
.tracker-submit-btn:disabled {
    opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none;
}

/* Spinner */
.spinner {
    width: 18px; height: 18px;
    border: 2px solid rgba(255,255,255,0.2);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* ========== RESULTS HEADER ========== */
.result-header {
    display: flex; justify-content: space-between;
    align-items: center; flex-wrap: wrap; gap: 16px;
    margin-bottom: 36px; padding-bottom: 24px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.result-header-left {
    display: flex; flex-direction: column; gap: 6px;
}
.result-ticket-no {
    font-size: clamp(24px, 4vw, 32px); font-weight: 900;
    color: var(--text-primary); letter-spacing: -0.5px;
    text-shadow: 0 0 20px rgba(255,255,255,0.1);
}
.result-device {
    font-size: 14px; font-weight: 500; color: var(--text-secondary);
    display: flex; align-items: center; gap: 8px;
}
.result-device span {
    background: var(--surface-2); padding: 4px 10px; border-radius: var(--radius-sm);
    border: 1px solid rgba(255,255,255,0.05);
}
.status-pill {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 13px; font-weight: 800;
    padding: 8px 20px; border-radius: var(--radius-full);
    background: rgba(var(--accent-rgb), 0.15);
    color: var(--accent-bright);
    border: 1px solid rgba(var(--accent-rgb), 0.4);
    text-transform: uppercase; letter-spacing: 1px;
    white-space: nowrap;
    box-shadow: 0 0 15px rgba(var(--accent-rgb), 0.2);
}
.status-pill .pulse {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--accent-bright);
    box-shadow: 0 0 10px var(--accent-bright);
    animation: pulse-dot 2s infinite;
}

/* ========== STEPPER TIMELINE ========== */
.stepper-timeline {
    position: relative;
    padding-left: 56px;
    margin-bottom: 16px;
}
/* Base track line */
.stepper-timeline::before {
    content: '';
    position: absolute; left: 24px; top: 12px; bottom: 12px;
    width: 3px;
    background: rgba(255,255,255,0.05);
    border-radius: 4px;
}
/* Active glowing progress line */
.timeline-progress-line {
    position: absolute; left: 24px; top: 12px;
    width: 3px;
    background: var(--gradient-accent);
    border-radius: 4px;
    transition: height 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 0 15px rgba(var(--accent-rgb), 0.6);
}

.step-item {
    position: relative;
    margin-bottom: 36px;
    min-height: 48px;
}
.step-item:last-child { margin-bottom: 0; }

.step-indicator {
    position: absolute; left: -56px; top: -2px;
    width: 48px; height: 48px; border-radius: 50%;
    background: rgba(15, 20, 30, 0.8);
    border: 2px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 800;
    color: var(--text-muted); z-index: 2;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Completed Step */
.step-item.completed .step-indicator {
    background: var(--gradient-accent);
    border-color: transparent;
    color: white;
    box-shadow: 0 0 20px rgba(var(--accent-rgb), 0.4), inset 0 2px 4px rgba(255,255,255,0.3);
}

/* Active Step */
.step-item.active .step-indicator {
    background: rgba(var(--accent-rgb), 0.1);
    border-color: var(--accent-bright);
    color: var(--accent-bright);
    box-shadow: 0 0 25px rgba(var(--accent-rgb), 0.4), inset 0 0 10px rgba(var(--accent-rgb), 0.2);
}
.step-item.active .step-indicator::after {
    content: ''; position: absolute; inset: -6px;
    border-radius: 50%; border: 2px solid var(--accent-bright);
    opacity: 0; animation: radarPing 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}
@keyframes radarPing {
    75%, 100% { transform: scale(1.5); opacity: 0; }
    0% { opacity: 0.5; }
}

.step-content { 
    padding-top: 2px;
    background: transparent;
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}
.step-item.active .step-content {
    background: linear-gradient(90deg, rgba(var(--accent-rgb), 0.05) 0%, transparent 100%);
    padding: 12px 20px;
    margin-top: -12px;
    border-left: 2px solid rgba(var(--accent-rgb), 0.3);
}

.step-title {
    font-size: 16px; font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 6px;
    display: flex; align-items: center; gap: 12px;
    letter-spacing: -0.3px;
}
.step-item.upcoming .step-title { color: var(--text-muted); }
.step-item.upcoming .step-desc { color: var(--text-muted); opacity: 0.5; }

.step-badge {
    font-size: 10px; font-weight: 800;
    padding: 4px 10px; border-radius: var(--radius-full);
    text-transform: uppercase; letter-spacing: 1px;
}
.step-badge.active {
    background: var(--accent-glow-strong);
    color: var(--accent-bright);
    border: 1px solid rgba(var(--accent-rgb), 0.5);
    box-shadow: 0 0 10px rgba(var(--accent-rgb), 0.2);
}
.step-desc {
    font-size: 14px; color: var(--text-secondary);
    line-height: 1.6; max-width: 90%;
}

/* ========== INFO GRID ========== */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px; margin-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 32px;
}
.info-item {
    display: flex; flex-direction: column; gap: 6px;
    background: rgba(0,0,0,0.2);
    padding: 20px; border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.03);
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.info-item:hover {
    transform: translateY(-2px);
    border-color: rgba(var(--accent-rgb), 0.2);
}
.info-label {
    font-size: 11px; font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase; letter-spacing: 1px;
    display: flex; align-items: center; gap: 6px;
}
.info-value {
    font-size: 16px; font-weight: 700;
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .tracker-section { padding: 60px 16px 40px; }
    .tracker-card { padding: 24px; border-radius: var(--radius-lg); }
    .result-header { flex-direction: column; align-items: flex-start; }
    .step-indicator { width: 36px; height: 36px; left: -44px; font-size: 12px; }
    .stepper-timeline { padding-left: 44px; }
    .stepper-timeline::before, .timeline-progress-line { left: 18px; }
}

/* ========== ALERTS ========== */
.alert-box {
    padding: 16px 20px;
    border-radius: var(--radius-lg);
    margin-bottom: 24px;
    font-size: 14px; line-height: 1.6;
    display: flex; gap: 14px; align-items: flex-start;
    backdrop-filter: blur(10px);
}
.alert-box svg { flex-shrink: 0; margin-top: 2px; width: 20px; height: 20px; }
.alert-box.error {
    background: rgba(244, 63, 94, 0.1);
    border: 1px solid rgba(244, 63, 94, 0.3);
    color: #fda4af;
    box-shadow: 0 0 20px rgba(244, 63, 94, 0.1);
}
.alert-box.error strong { color: #f43f5e; }

/* ========== STEP DATE ========== */
.step-date {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 12px; font-weight: 700;
    color: var(--accent-bright);
    margin-top: 10px;
    padding: 6px 12px;
    background: rgba(var(--accent-rgb), 0.1);
    border: 1px solid rgba(var(--accent-rgb), 0.25);
    border-radius: var(--radius-md);
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* ========== SPECIAL GLOW BUTTON ========== */
.btn-special-glow {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.15), rgba(59, 130, 246, 0.15));
    border: 1px solid rgba(6, 182, 212, 0.5);
    color: var(--accent-bright);
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}
.btn-special-glow::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.3), transparent);
    transform: skewX(-20deg);
    animation: shine 4s infinite;
}
.btn-special-glow:hover {
    background: var(--gradient-accent);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 8px 30px rgba(6, 182, 212, 0.5);
    transform: translateY(-2px);
}
@keyframes shine {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

/* ========== THEMES ========== */
body.theme-liquid-blue { --bg-base: #020617; --surface-1: rgba(15, 23, 42, 0.6); --surface-2: rgba(30, 41, 59, 0.5); --surface-3: rgba(2, 6, 23, 0.85); --accent: #2563eb; --accent-hover: #3b82f6; --accent-glow: rgba(37, 99, 235, 0.3); }
body.theme-emerald-glass { --bg-base: #064e3b; --surface-1: rgba(6, 95, 70, 0.6); --surface-2: rgba(4, 120, 87, 0.4); --surface-3: rgba(6, 78, 59, 0.85); --accent: #10b981; --accent-hover: #34d399; --accent-glow: rgba(16, 185, 129, 0.3); }
body.theme-crimson-obsidian { --bg-base: #2a0a0a; --surface-1: rgba(69, 10, 10, 0.6); --surface-2: rgba(127, 29, 29, 0.4); --surface-3: rgba(69, 10, 10, 0.85); --accent: #e11d48; --accent-hover: #f43f5e; --accent-glow: rgba(225, 29, 72, 0.3); }
body.theme-amethyst-frost { --bg-base: #1e1b4b; --surface-1: rgba(49, 46, 129, 0.6); --surface-2: rgba(67, 56, 202, 0.4); --surface-3: rgba(49, 46, 129, 0.85); --accent: #8b5cf6; --accent-hover: #a78bfa; --accent-glow: rgba(139, 92, 246, 0.3); }
body.theme-amber-glow { --bg-base: #451a03; --surface-1: rgba(120, 53, 15, 0.6); --surface-2: rgba(146, 64, 14, 0.4); --surface-3: rgba(120, 53, 15, 0.85); --accent: #f59e0b; --accent-hover: #fbbf24; --accent-glow: rgba(245, 158, 11, 0.3); }
body.theme-cyberpunk { --bg-base: #09090b; --surface-1: rgba(39, 39, 42, 0.6); --surface-2: rgba(63, 63, 70, 0.4); --surface-3: rgba(24, 24, 27, 0.85); --accent: #d946ef; --accent-hover: #e879f9; --accent-glow: rgba(217, 70, 239, 0.4); }
body.theme-ocean-deep { --bg-base: #083344; --surface-1: rgba(22, 78, 99, 0.6); --surface-2: rgba(8, 145, 178, 0.4); --surface-3: rgba(22, 78, 99, 0.85); --accent: #06b6d4; --accent-hover: #22d3ee; --accent-glow: rgba(6, 182, 212, 0.3); }
body.theme-rose-gold { --bg-base: #3f1d24; --surface-1: rgba(136, 19, 55, 0.4); --surface-2: rgba(159, 18, 57, 0.3); --surface-3: rgba(76, 5, 25, 0.85); --accent: #fda4af; --accent-hover: #fecdd3; --accent-glow: rgba(253, 164, 175, 0.3); }
body.theme-slate-graphite { --bg-base: #18181b; --surface-1: rgba(63, 63, 70, 0.6); --surface-2: rgba(82, 82, 91, 0.4); --surface-3: rgba(39, 39, 42, 0.85); --accent: #a1a1aa; --accent-hover: #d4d4d8; --accent-glow: rgba(161, 161, 170, 0.2); }
body.theme-mint-breeze { --bg-base: #022c22; --surface-1: rgba(4, 120, 87, 0.4); --surface-2: rgba(16, 185, 129, 0.3); --surface-3: rgba(2, 44, 34, 0.85); --accent: #6ee7b7; --accent-hover: #a7f3d0; --accent-glow: rgba(110, 231, 183, 0.3); }

/* Premium Light Themes */
body.theme-white-glass { --bg-base: #f8fafc; --surface-1: rgba(255, 255, 255, 0.7); --surface-2: rgba(241, 245, 249, 0.5); --surface-3: rgba(255, 255, 255, 0.9); --text-primary: #0f172a; --text-secondary: #475569; --border: rgba(0, 0, 0, 0.1); --glass-border: rgba(0, 0, 0, 0.05); --accent: #0ea5e9; --accent-hover: #0284c7; --accent-glow: rgba(14, 165, 233, 0.2); }
body.theme-silver-pearl { --bg-base: #e2e8f0; --surface-1: rgba(241, 245, 249, 0.6); --surface-2: rgba(203, 213, 225, 0.4); --surface-3: rgba(248, 250, 252, 0.85); --text-primary: #1e293b; --text-secondary: #64748b; --border: rgba(0, 0, 0, 0.1); --glass-border: rgba(0, 0, 0, 0.05); --accent: #64748b; --accent-hover: #475569; --accent-glow: rgba(100, 116, 139, 0.2); }
body.theme-ivory-gold { --bg-base: #fdfbf7; --surface-1: rgba(255, 255, 255, 0.6); --surface-2: rgba(244, 239, 234, 0.4); --surface-3: rgba(255, 255, 255, 0.9); --text-primary: #451a03; --text-secondary: #78350f; --border: rgba(0, 0, 0, 0.1); --glass-border: rgba(0, 0, 0, 0.05); --accent: #d97706; --accent-hover: #b45309; --accent-glow: rgba(217, 119, 6, 0.2); }
body.theme-frost-blue { --bg-base: #e0f2fe; --surface-1: rgba(255, 255, 255, 0.6); --surface-2: rgba(186, 230, 253, 0.4); --surface-3: rgba(240, 249, 255, 0.85); --text-primary: #082f49; --text-secondary: #0ea5e9; --border: rgba(0, 0, 0, 0.1); --glass-border: rgba(0, 0, 0, 0.05); --accent: #0284c7; --accent-hover: #0369a1; --accent-glow: rgba(2, 132, 199, 0.2); }
body.theme-blush-quartz { --bg-base: #fdf2f8; --surface-1: rgba(255, 255, 255, 0.6); --surface-2: rgba(251, 207, 232, 0.4); --surface-3: rgba(255, 255, 255, 0.9); --text-primary: #831843; --text-secondary: #be185d; --border: rgba(0, 0, 0, 0.1); --glass-border: rgba(0, 0, 0, 0.05); --accent: #e11d48; --accent-hover: #be123c; --accent-glow: rgba(225, 29, 72, 0.2); }
body.theme-sandstone { --bg-base: #f5f5f4; --surface-1: rgba(255, 255, 255, 0.6); --surface-2: rgba(231, 229, 228, 0.4); --surface-3: rgba(250, 250, 249, 0.9); --text-primary: #1c1917; --text-secondary: #57534e; --border: rgba(0, 0, 0, 0.1); --glass-border: rgba(0, 0, 0, 0.05); --accent: #9a3412; --accent-hover: #7c2d12; --accent-glow: rgba(154, 52, 18, 0.2); }

/* Premium Dark Themes */
body.theme-obsidian-gold { --bg-base: #000000; --surface-1: rgba(20, 20, 20, 0.6); --surface-2: rgba(40, 40, 40, 0.4); --surface-3: rgba(10, 10, 10, 0.85); --accent: #eab308; --accent-hover: #ca8a04; --accent-glow: rgba(234, 179, 8, 0.3); }
body.theme-midnight-sapphire { --bg-base: #020617; --surface-1: rgba(15, 23, 42, 0.6); --surface-2: rgba(30, 41, 59, 0.4); --surface-3: rgba(2, 6, 23, 0.85); --accent: #4338ca; --accent-hover: #3730a3; --accent-glow: rgba(67, 56, 202, 0.3); }
body.theme-forest-carbon { --bg-base: #052e16; --surface-1: rgba(6, 78, 59, 0.6); --surface-2: rgba(4, 120, 87, 0.4); --surface-3: rgba(2, 44, 34, 0.85); --accent: #22c55e; --accent-hover: #16a34a; --accent-glow: rgba(34, 197, 94, 0.3); }
body.theme-royal-purple { --bg-base: #2e1065; --surface-1: rgba(76, 29, 149, 0.6); --surface-2: rgba(91, 33, 182, 0.4); --surface-3: rgba(59, 7, 100, 0.85); --accent: #a855f7; --accent-hover: #9333ea; --accent-glow: rgba(168, 85, 247, 0.3); }
body.theme-corporate-slate { --bg-base: #0f172a; --surface-1: rgba(30, 41, 59, 0.6); --surface-2: rgba(51, 65, 85, 0.4); --surface-3: rgba(15, 23, 42, 0.85); --accent: #94a3b8; --accent-hover: #cbd5e1; --accent-glow: rgba(148, 163, 184, 0.3); }
body.theme-exec-charcoal { --bg-base: #171717; --surface-1: rgba(38, 38, 38, 0.6); --surface-2: rgba(64, 64, 64, 0.4); --surface-3: rgba(23, 23, 23, 0.85); --accent: #f5f5f5; --accent-hover: #e5e5e5; --accent-glow: rgba(245, 245, 245, 0.2); }
body.theme-abyssal-blue { --bg-base: #001e36; --surface-1: rgba(0, 43, 77, 0.6); --surface-2: rgba(0, 68, 122, 0.4); --surface-3: rgba(0, 30, 54, 0.85); --accent: #38bdf8; --accent-hover: #0ea5e9; --accent-glow: rgba(56, 189, 248, 0.3); }
body.theme-ruby-shadow { --bg-base: #4a0404; --surface-1: rgba(94, 11, 11, 0.6); --surface-2: rgba(122, 18, 18, 0.4); --surface-3: rgba(74, 6, 6, 0.85); --accent: #f87171; --accent-hover: #ef4444; --accent-glow: rgba(248, 113, 113, 0.3); }
body.theme-copper-patina { --bg-base: #134e4a; --surface-1: rgba(17, 94, 89, 0.6); --surface-2: rgba(15, 118, 110, 0.4); --surface-3: rgba(4, 47, 46, 0.85); --accent: #d97706; --accent-hover: #b45309; --accent-glow: rgba(217, 119, 6, 0.3); }
body.theme-champagne-noir { --bg-base: #000000; --surface-1: rgba(26, 26, 26, 0.6); --surface-2: rgba(38, 38, 38, 0.4); --surface-3: rgba(13, 13, 13, 0.85); --accent: #fde047; --accent-hover: #facc15; --accent-glow: rgba(253, 224, 71, 0.3); }
body.theme-arctic-night { --bg-base: #0f172a; --surface-1: rgba(15, 23, 42, 0.6); --surface-2: rgba(30, 41, 59, 0.4); --surface-3: rgba(2, 6, 23, 0.85); --accent: #7dd3fc; --accent-hover: #38bdf8; --accent-glow: rgba(125, 211, 252, 0.3); }
body.theme-velvet-plum { --bg-base: #4a044e; --surface-1: rgba(112, 26, 117, 0.6); --surface-2: rgba(134, 25, 143, 0.4); --surface-3: rgba(74, 4, 78, 0.85); --accent: #f0abfc; --accent-hover: #e879f9; --accent-glow: rgba(240, 171, 252, 0.3); }
body.theme-burnt-titanium { --bg-base: #27272a; --surface-1: rgba(63, 63, 70, 0.6); --surface-2: rgba(82, 82, 91, 0.4); --surface-3: rgba(24, 24, 27, 0.85); --accent: #f97316; --accent-hover: #ea580c; --accent-glow: rgba(249, 115, 22, 0.3); }
body.theme-matrix-green { --bg-base: #000000; --surface-1: rgba(0, 20, 0, 0.6); --surface-2: rgba(0, 40, 0, 0.4); --surface-3: rgba(0, 10, 0, 0.85); --accent: #4ade80; --accent-hover: #22c55e; --accent-glow: rgba(74, 222, 128, 0.3); }
body.theme-pure-black { --bg-base: #000000; --surface-1: rgba(15, 15, 15, 0.6); --surface-2: rgba(25, 25, 25, 0.4); --surface-3: rgba(5, 5, 5, 0.85); --accent: #ffffff; --accent-hover: #d4d4d8; --accent-glow: rgba(255, 255, 255, 0.3); }

/* ============================================================
   NEW PROFESSIONAL LOGISTICS THEMES (store.css)
   ============================================================ */
body.theme-global-freight { --bg-base: #0f172a; --surface-1: rgba(30, 64, 175, 0.2); --surface-2: rgba(30, 58, 138, 0.4); --surface-3: rgba(15, 23, 42, 0.9); --text-primary: #f8fafc; --text-secondary: #94a3b8; --border: rgba(59, 130, 246, 0.2); --glass-border: rgba(59, 130, 246, 0.1); --accent: #3b82f6; --accent-hover: #2563eb; --accent-glow: rgba(59, 130, 246, 0.3); }
body.theme-industrial-cargo { --bg-base: #1e293b; --surface-1: rgba(15, 23, 42, 0.6); --surface-2: rgba(15, 23, 42, 0.8); --surface-3: rgba(30, 41, 59, 0.95); --text-primary: #f1f5f9; --text-secondary: #cbd5e1; --border: rgba(249, 115, 22, 0.2); --glass-border: rgba(249, 115, 22, 0.1); --accent: #ea580c; --accent-hover: #c2410c; --accent-glow: rgba(234, 88, 12, 0.3); }
body.theme-maersk-light { --bg-base: #f8fafc; --surface-1: rgba(255, 255, 255, 0.8); --surface-2: rgba(226, 232, 240, 0.6); --surface-3: #ffffff; --text-primary: #0f172a; --text-secondary: #334155; --border: rgba(14, 165, 233, 0.2); --glass-border: rgba(14, 165, 233, 0.1); --accent: #0ea5e9; --accent-hover: #0284c7; --accent-glow: rgba(14, 165, 233, 0.2); }
body.theme-evergreen-forest { --bg-base: #064e3b; --surface-1: rgba(6, 95, 70, 0.4); --surface-2: rgba(4, 120, 87, 0.3); --surface-3: rgba(6, 78, 59, 0.9); --text-primary: #ecfdf5; --text-secondary: #a7f3d0; --border: rgba(52, 211, 153, 0.2); --glass-border: rgba(52, 211, 153, 0.1); --accent: #10b981; --accent-hover: #059669; --accent-glow: rgba(16, 185, 129, 0.3); }
body.theme-fedex-express { --bg-base: #ffffff; --surface-1: rgba(243, 244, 246, 0.8); --surface-2: rgba(229, 231, 235, 0.6); --surface-3: #ffffff; --text-primary: #111827; --text-secondary: #4b5563; --border: rgba(79, 70, 229, 0.2); --glass-border: rgba(79, 70, 229, 0.1); --accent: #4f46e5; --accent-hover: #4338ca; --accent-glow: rgba(79, 70, 229, 0.2); }
body.theme-dhl-yellow { --bg-base: #fefce8; --surface-1: rgba(254, 240, 138, 0.3); --surface-2: rgba(253, 224, 71, 0.2); --surface-3: #ffffff; --text-primary: #7f1d1d; --text-secondary: #991b1b; --border: rgba(220, 38, 38, 0.2); --glass-border: rgba(220, 38, 38, 0.1); --accent: #dc2626; --accent-hover: #b91c1c; --accent-glow: rgba(220, 38, 38, 0.2); }
body.theme-msc-black { --bg-base: #000000; --surface-1: rgba(38, 38, 38, 0.6); --surface-2: rgba(23, 23, 23, 0.8); --surface-3: rgba(10, 10, 10, 0.95); --text-primary: #facc15; --text-secondary: #fef08a; --border: rgba(250, 204, 21, 0.2); --glass-border: rgba(250, 204, 21, 0.1); --accent: #eab308; --accent-hover: #ca8a04; --accent-glow: rgba(234, 179, 8, 0.3); }
body.theme-steel-logistics { --bg-base: #334155; --surface-1: rgba(71, 85, 105, 0.4); --surface-2: rgba(100, 116, 139, 0.3); --surface-3: rgba(51, 65, 85, 0.9); --text-primary: #f8fafc; --text-secondary: #e2e8f0; --border: rgba(148, 163, 184, 0.3); --glass-border: rgba(148, 163, 184, 0.15); --accent: #94a3b8; --accent-hover: #cbd5e1; --accent-glow: rgba(148, 163, 184, 0.3); }
body.theme-port-authority { --bg-base: #1c1917; --surface-1: rgba(41, 37, 36, 0.6); --surface-2: rgba(68, 64, 60, 0.4); --surface-3: rgba(28, 25, 23, 0.95); --text-primary: #fafaf9; --text-secondary: #d6d3d1; --border: rgba(225, 29, 72, 0.2); --glass-border: rgba(225, 29, 72, 0.1); --accent: #e11d48; --accent-hover: #be123c; --accent-glow: rgba(225, 29, 72, 0.3); }
body.theme-aviation-freight { --bg-base: #f0f9ff; --surface-1: rgba(255, 255, 255, 0.8); --surface-2: rgba(224, 242, 254, 0.6); --surface-3: #ffffff; --text-primary: #0c4a6e; --text-secondary: #0284c7; --border: rgba(56, 189, 248, 0.2); --glass-border: rgba(56, 189, 248, 0.1); --accent: #0284c7; --accent-hover: #0369a1; --accent-glow: rgba(2, 132, 199, 0.2); }
body.theme-rail-network { --bg-base: #f5f5f4; --surface-1: rgba(255, 255, 255, 0.8); --surface-2: rgba(231, 229, 228, 0.6); --surface-3: #ffffff; --text-primary: #451a03; --text-secondary: #78350f; --border: rgba(153, 27, 27, 0.2); --glass-border: rgba(153, 27, 27, 0.1); --accent: #991b1b; --accent-hover: #7f1d1d; --accent-glow: rgba(153, 27, 27, 0.2); }
body.theme-container-teal { --bg-base: #083344; --surface-1: rgba(22, 78, 99, 0.4); --surface-2: rgba(21, 94, 117, 0.3); --surface-3: rgba(8, 51, 68, 0.9); --text-primary: #ecfeff; --text-secondary: #67e8f9; --border: rgba(6, 182, 212, 0.2); --glass-border: rgba(6, 182, 212, 0.1); --accent: #06b6d4; --accent-hover: #0891b2; --accent-glow: rgba(6, 182, 212, 0.3); }
body.theme-warehouse-carbon { --bg-base: #09090b; --surface-1: rgba(24, 24, 27, 0.8); --surface-2: rgba(39, 39, 42, 0.6); --surface-3: rgba(9, 9, 11, 0.95); --text-primary: #fafafa; --text-secondary: #a1a1aa; --border: rgba(132, 204, 22, 0.2); --glass-border: rgba(132, 204, 22, 0.1); --accent: #84cc16; --accent-hover: #65a30d; --accent-glow: rgba(132, 204, 22, 0.3); }
body.theme-fleet-navy { --bg-base: #1e1b4b; --surface-1: rgba(49, 46, 129, 0.4); --surface-2: rgba(67, 56, 202, 0.3); --surface-3: rgba(30, 27, 75, 0.9); --text-primary: #eef2ff; --text-secondary: #a5b4fc; --border: rgba(250, 204, 21, 0.2); --glass-border: rgba(250, 204, 21, 0.1); --accent: #eab308; --accent-hover: #ca8a04; --accent-glow: rgba(234, 179, 8, 0.3); }
body.theme-supply-emerald { --bg-base: #022c22; --surface-1: rgba(6, 78, 59, 0.5); --surface-2: rgba(4, 120, 87, 0.4); --surface-3: rgba(2, 44, 34, 0.9); --text-primary: #ecfdf5; --text-secondary: #6ee7b7; --border: rgba(16, 185, 129, 0.2); --glass-border: rgba(16, 185, 129, 0.1); --accent: #10b981; --accent-hover: #059669; --accent-glow: rgba(16, 185, 129, 0.3); }
body.theme-intermodal-sand { --bg-base: #fff7ed; --surface-1: rgba(255, 237, 213, 0.6); --surface-2: rgba(253, 216, 53, 0.3); --surface-3: #ffffff; --text-primary: #431407; --text-secondary: #9a3412; --border: rgba(234, 88, 12, 0.2); --glass-border: rgba(234, 88, 12, 0.1); --accent: #ea580c; --accent-hover: #c2410c; --accent-glow: rgba(234, 88, 12, 0.2); }
body.theme-customs-slate { --bg-base: #f8fafc; --surface-1: rgba(241, 245, 249, 0.8); --surface-2: rgba(226, 232, 240, 0.6); --surface-3: #ffffff; --text-primary: #0f172a; --text-secondary: #475569; --border: rgba(71, 85, 105, 0.2); --glass-border: rgba(71, 85, 105, 0.1); --accent: #475569; --accent-hover: #334155; --accent-glow: rgba(71, 85, 105, 0.2); }
body.theme-prime-dark { --bg-base: #111827; --surface-1: rgba(31, 41, 55, 0.6); --surface-2: rgba(55, 65, 81, 0.4); --surface-3: rgba(17, 24, 39, 0.95); --text-primary: #f9fafb; --text-secondary: #d1d5db; --border: rgba(6, 182, 212, 0.3); --glass-border: rgba(6, 182, 212, 0.15); --accent: #06b6d4; --accent-hover: #0891b2; --accent-glow: rgba(6, 182, 212, 0.4); }
body.theme-heavy-crimson { --bg-base: #450a0a; --surface-1: rgba(127, 29, 29, 0.4); --surface-2: rgba(153, 27, 27, 0.3); --surface-3: rgba(69, 10, 10, 0.9); --text-primary: #fef2f2; --text-secondary: #fca5a5; --border: rgba(248, 113, 113, 0.2); --glass-border: rgba(248, 113, 113, 0.1); --accent: #ef4444; --accent-hover: #dc2626; --accent-glow: rgba(239, 68, 68, 0.3); }
body.theme-maritime-azure { --bg-base: #082f49; --surface-1: rgba(3, 105, 161, 0.4); --surface-2: rgba(2, 132, 199, 0.3); --surface-3: rgba(8, 47, 73, 0.9); --text-primary: #f0f9ff; --text-secondary: #7dd3fc; --border: rgba(14, 165, 233, 0.2); --glass-border: rgba(14, 165, 233, 0.1); --accent: #0ea5e9; --accent-hover: #0284c7; --accent-glow: rgba(14, 165, 233, 0.3); }


/* Theme Dropdown */
.theme-dropdown { position: relative; display: inline-block; }
.theme-toggle-btn { background: none; border: none; cursor: pointer; color: var(--text-secondary); display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: var(--radius-sm); transition: all 0.2s; font-size: 0.9rem; }
.theme-toggle-btn:hover { background: var(--surface-2); color: var(--text-primary); }
.theme-dropdown-menu { position: absolute; top: 100%; right: 0; margin-top: 8px; width: 200px; background: var(--surface-3); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 8px; display: none; flex-direction: column; gap: 4px; z-index: 100; backdrop-filter: blur(12px); box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.theme-dropdown:hover .theme-dropdown-menu, .theme-dropdown-menu.show { display: flex; }
.theme-dropdown-menu button { background: none; border: none; padding: 10px 12px; border-radius: var(--radius-sm); color: var(--text-secondary); text-align: left; cursor: pointer; display: flex; align-items: center; gap: 10px; font-size: 0.9rem; transition: all 0.2s; }
.theme-dropdown-menu button:hover { background: var(--surface-2); color: var(--text-primary); }
.theme-dropdown-menu button.active { background: var(--accent-glow); color: var(--accent); }
.theme-color-dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; flex-shrink: 0; box-shadow: 0 0 8px currentColor; }

/* Status-specific themed card overrides */
.tracker-card.status-expected {
    --accent: #38bdf8;
    --accent-rgb: 56, 189, 248;
    --accent-bright: #7dd3fc;
    --accent-glow: rgba(56, 189, 248, 0.1);
    --accent-glow-strong: rgba(56, 189, 248, 0.2);
}
.tracker-card.status-gate_in {
    --accent: #3b82f6;
    --accent-rgb: 59, 130, 246;
    --accent-bright: #60a5fa;
    --accent-glow: rgba(59, 130, 246, 0.1);
    --accent-glow-strong: rgba(59, 130, 246, 0.2);
}
.tracker-card.status-in_yard {
    --accent: #10b981;
    --accent-rgb: 16, 185, 129;
    --accent-bright: #34d399;
    --accent-glow: rgba(16, 185, 129, 0.1);
    --accent-glow-strong: rgba(16, 185, 129, 0.25);
}
.tracker-card.status-customs_hold {
    --accent: #f43f5e;
    --accent-rgb: 244, 63, 94;
    --accent-bright: #fb7185;
    --accent-glow: rgba(244, 63, 94, 0.15);
    --accent-glow-strong: rgba(244, 63, 94, 0.3);
    border-color: rgba(244, 63, 94, 0.4) !important;
}
.tracker-card.status-released {
    --accent: #0ea5e9;
    --accent-rgb: 14, 165, 233;
    --accent-bright: #38bdf8;
    --accent-glow: rgba(14, 165, 233, 0.15);
    --accent-glow-strong: rgba(14, 165, 233, 0.3);
}
.tracker-card.status-gate_out {
    --accent: #10b981;
    --accent-rgb: 16, 185, 129;
    --accent-bright: #34d399;
    --accent-glow: rgba(16, 185, 129, 0.1);
    --accent-glow-strong: rgba(16, 185, 129, 0.2);
}

/* Redesigned tracking layout parts */
.tracker-results-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}
@media (min-width: 850px) {
    .tracker-results-layout {
        grid-template-columns: 1.2fr 0.8fr;
    }
}

.tracker-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Interactive Yard Map */
.yard-map-wrap {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 24px;
    position: relative;
    overflow: hidden;
}
.yard-map-title {
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.yard-grid-outer {
    position: relative;
    overflow-x: auto;
    padding-bottom: 8px;
}
.yard-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    min-width: 320px;
    margin: 12px 0;
}
.yard-cell {
    aspect-ratio: 1.5;
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 700;
    color: var(--text-muted);
    position: relative;
    transition: all 0.3s ease;
}
.yard-cell.occupied {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-secondary);
}
.yard-cell.target {
    background: rgba(var(--accent-rgb), 0.15);
    border: 2px solid var(--accent-bright);
    color: var(--accent-bright);
    box-shadow: 0 0 15px rgba(var(--accent-rgb), 0.4), inset 0 0 5px rgba(var(--accent-rgb), 0.3);
    animation: cellPulse 2s infinite alternate;
}
@keyframes cellPulse {
    0% { transform: scale(1); box-shadow: 0 0 10px rgba(var(--accent-rgb), 0.3); }
    100% { transform: scale(1.03); box-shadow: 0 0 20px rgba(var(--accent-rgb), 0.6); }
}
.yard-cell-label {
    position: absolute;
    bottom: 2px;
    right: 4px;
    font-size: 7px;
    opacity: 0.5;
}
.yard-legend {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 11px;
    color: var(--text-secondary);
    margin-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 12px;
}
.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
}
.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 2px;
}
.legend-dot.empty { background: rgba(255, 255, 255, 0.02); border: 1px dashed rgba(255, 255, 255, 0.2); }
.legend-dot.occupied { background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); }
.legend-dot.target { background: rgba(var(--accent-rgb), 0.3); border: 1px solid var(--accent-bright); box-shadow: 0 0 5px var(--accent-bright); }

/* Ship/Truck Graphics for Non-yard Status */
.yard-visual-status-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.yard-visual-status-icon {
    font-size: 48px;
    margin-bottom: 12px;
    animation: floatIcon 3s ease-in-out infinite alternate;
}
@keyframes floatIcon {
    from { transform: translateY(0); }
    to { transform: translateY(-8px); }
}
.yard-visual-status-wrap h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-primary);
}
.yard-visual-status-wrap p {
    font-size: 13px;
    color: var(--text-secondary);
    max-width: 240px;
}

/* Demurrage Clock Widget */
.demurrage-widget {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}
.demurrage-gauge {
    position: relative;
    width: 64px;
    height: 64px;
    flex-shrink: 0;
}
.demurrage-gauge svg {
    transform: rotate(-90deg);
}
.demurrage-gauge-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.05);
    stroke-width: 4px;
}
.demurrage-gauge-fill {
    fill: none;
    stroke: var(--accent-bright);
    stroke-width: 4px;
    stroke-linecap: round;
    transition: stroke-dasharray 0.5s ease;
    filter: drop-shadow(0 0 4px var(--accent));
}
.demurrage-gauge-text {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    color: var(--text-primary);
}
.demurrage-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.demurrage-title {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}
.demurrage-val {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
}
.demurrage-desc {
    font-size: 12px;
    color: var(--text-secondary);
}

/* Customs Hold Documentation Checklist */
.customs-checklist {
    background: rgba(244, 63, 94, 0.05);
    border: 1px solid rgba(244, 63, 94, 0.15);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 24px;
}
.customs-checklist-title {
    font-size: 13px;
    font-weight: 800;
    color: #fda4af;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.customs-check-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}
@media (min-width: 500px) {
    .customs-check-grid {
        grid-template-columns: 1fr 1fr;
    }
}
.customs-check-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12.5px;
    color: var(--text-secondary);
    background: rgba(0, 0, 0, 0.15);
    padding: 10px 14px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.02);
}
.customs-check-item.cleared {
    color: var(--green);
    border-color: rgba(45, 212, 191, 0.15);
    background: rgba(45, 212, 191, 0.03);
}
.customs-check-item.pending {
    color: #fda4af;
    border-color: rgba(244, 63, 94, 0.15);
    background: rgba(244, 63, 94, 0.03);
}
.customs-check-item svg {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
}

/* Gate Pass Ticket */
.gate-pass-ticket {
    background: #ffffff;
    color: #000000;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    position: relative;
    border: 1px dashed #cccccc;
    font-family: 'Courier New', Courier, monospace;
}
.gate-pass-ticket::before, .gate-pass-ticket::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background: var(--bg-base);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}
.gate-pass-ticket::before { left: -8px; }
.gate-pass-ticket::after { right: -8px; }

.gp-header {
    text-align: center;
    border-bottom: 2px dashed #000000;
    padding-bottom: 12px;
    margin-bottom: 16px;
}
.gp-title {
    font-size: 16px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.gp-subtitle {
    font-size: 11px;
    opacity: 0.8;
}
.gp-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 12px;
}
.gp-row {
    display: flex;
    justify-content: space-between;
}
.gp-label {
    font-weight: bold;
}
.gp-barcode-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 20px 0 12px;
    padding-top: 12px;
    border-top: 2px dashed #000000;
}
.gp-barcode-wrap svg {
    max-width: 100%;
}
.gp-number {
    font-size: 10px;
    font-weight: bold;
    margin-top: 4px;
    letter-spacing: 2px;
}
.gp-footer {
    text-align: center;
    font-size: 10px;
    margin-top: 8px;
    opacity: 0.8;
}

/* Print CSS overrides */
@media print {
    body * {
        visibility: hidden;
    }
    .liquid-bg, .navbar, .footer, .hero, .services-section, .catalog-section, .about-section, .tracker-hero, .tracker-form, .stepper-timeline, .info-grid, .yard-map-wrap, .demurrage-widget, .customs-checklist, .modal-overlay, .toast-container {
        display: none !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .gate-pass-ticket, .gate-pass-ticket * {
        visibility: visible;
    }
    .gate-pass-ticket {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        max-width: 100%;
        border: none;
        box-shadow: none;
        padding: 0;
        background: transparent;
        color: #000000;
    }
}
