/* ═══════════════════════════════════════════════════════════════
   BLYKSTĖ – Midnight Electric v4.0
   Dark electric theme · Syne + Outfit · Lightning energy
   ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=Outfit:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* ── Tokens ─────────────────────────────────────── */
:root {
    /* Page — deep obsidian */
    --page:          #08080C;
    --page-alt:      #0E0E14;
    --surface:       #141419;
    --surface-hover: #1C1C24;

    /* Ink — light on dark */
    --ink:           #F0F0F5;
    --ink-secondary: #9494A8;
    --ink-muted:     #5A5A70;
    --ink-faint:     #2E2E3E;

    /* Brand — electric amber ⚡ */
    --brand:         #F5A623;
    --brand-hover:   #FFB83D;
    --brand-light:   rgba(245,166,35,0.08);
    --brand-100:     rgba(245,166,35,0.14);
    --brand-glow:    rgba(245,166,35,0.25);

    /* Accent — electric cyan */
    --accent:        #00D4FF;
    --accent-light:  rgba(0,212,255,0.08);

    /* Lines */
    --line:          rgba(255,255,255,0.06);
    --line-strong:   rgba(255,255,255,0.1);

    /* Semantic */
    --info:          #60A5FA;
    --info-light:    rgba(96,165,250,0.1);
    --ok:            #34D399;
    --ok-light:      rgba(52,211,153,0.1);
    --bad:           #F87171;
    --bad-light:     rgba(248,113,113,0.1);
    --warn:          #FBBF24;
    --warn-light:    rgba(251,191,36,0.1);

    /* Shadows — electric glow system */
    --shadow-xs:     0 1px 2px rgba(0,0,0,0.3);
    --shadow-sm:     0 2px 4px rgba(0,0,0,0.3), 0 1px 2px rgba(0,0,0,0.2);
    --shadow-card:   0 4px 20px rgba(0,0,0,0.4), 0 0 1px rgba(255,255,255,0.05);
    --shadow-md:     0 8px 30px rgba(0,0,0,0.5), 0 0 1px rgba(255,255,255,0.06);
    --shadow-lg:     0 16px 50px rgba(0,0,0,0.6), 0 0 1px rgba(255,255,255,0.08);
    --shadow-btn:    0 2px 8px rgba(245,166,35,0.3), 0 0 1px rgba(245,166,35,0.2);
    --shadow-glow:   0 0 20px rgba(245,166,35,0.15), 0 0 60px rgba(245,166,35,0.05);

    /* Fonts */
    --font-display:  'Syne', 'Georgia', serif;
    --font-body:     'Outfit', system-ui, sans-serif;
    --font-mono:     'JetBrains Mono', ui-monospace, monospace;

    /* Radius */
    --radius:        10px;
    --radius-lg:     14px;
    --radius-xl:     18px;
}

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

::selection { background: rgba(245,166,35,0.3); color: #FFF; }

html { scroll-behavior: smooth; }

/* ── Base ───────────────────────────────────────── */
body {
    font-family: var(--font-body);
    background: var(--page);
    color: var(--ink);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}

/* Subtle noise grain overlay */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.025;
    background-image: 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)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 128px 128px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--ink);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

a { color: var(--brand); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--brand-hover); text-decoration: none; }

/* ── Entrance Animations ────────────────────────── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

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

@keyframes slideRight {
    from { opacity: 0; transform: translateX(-16px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes electricPulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--brand-glow); }
    50%      { opacity: 0.7; box-shadow: 0 0 20px var(--brand-glow), 0 0 40px rgba(245,166,35,0.1); }
}

@keyframes glowLine {
    0%   { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* ── Header ─────────────────────────────────────── */
.header {
    background: rgba(8,8,12,0.85);
    backdrop-filter: blur(24px) saturate(1.4);
    -webkit-backdrop-filter: blur(24px) saturate(1.4);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 100;
}

/* Subtle electric line under header */
.header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--brand-glow), transparent);
    animation: glowLine 4s ease-in-out infinite;
    background-size: 200% 100%;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-toggle {
    display: none;
    background: none;
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    padding: 0.4rem 0.6rem;
    color: var(--ink);
    font-size: 1.125rem;
    cursor: pointer;
    transition: all 0.15s;
}

.mobile-toggle:hover { background: var(--surface); border-color: var(--brand-glow); }

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--ink);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.1875rem;
    letter-spacing: -0.03em;
    text-transform: uppercase;
}

.logo:hover { text-decoration: none; color: var(--brand); }

.logo-icon {
    width: 34px;
    height: 34px;
    background: linear-gradient(135deg, var(--brand), #FFD166);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0A0A0F;
    font-size: 1rem;
    box-shadow: var(--shadow-btn), 0 0 16px rgba(245,166,35,0.2);
    transition: all 0.3s;
}

.logo:hover .logo-icon {
    box-shadow: var(--shadow-btn), 0 0 28px rgba(245,166,35,0.35);
    transform: rotate(-8deg) scale(1.05);
}

.nav {
    display: flex;
    gap: 2px;
}

.nav a {
    color: var(--ink-secondary);
    text-decoration: none;
    padding: 0.5rem 0.875rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.2s;
    position: relative;
}

.nav a:hover {
    color: var(--ink);
    background: rgba(255,255,255,0.04);
    text-decoration: none;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--brand);
    border-radius: 1px;
    transition: all 0.25s ease;
    transform: translateX(-50%);
}

.nav a:hover::after {
    width: 60%;
}

/* ── Container ──────────────────────────────────── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

main.container {
    padding-top: 2.5rem;
    padding-bottom: 4rem;
    animation: fadeIn 0.4s ease;
}

/* ── Hero ───────────────────────────────────────── */
.hero-map {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 4rem 2rem;
    background:
        radial-gradient(ellipse 70% 50% at 50% 40%, rgba(245,166,35,0.06) 0%, transparent 70%),
        radial-gradient(ellipse 50% 40% at 20% 60%, rgba(0,212,255,0.03) 0%, transparent 60%),
        linear-gradient(180deg, var(--page) 0%, var(--surface) 100%);
}

/* Subtle dot grid in hero */
.hero-map::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 0;
}

.map-background {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    opacity: 0.08;
    z-index: 0;
}

.map-svg { width: 100%; height: 100%; }

.map-svg text { fill: var(--ink-muted) !important; }
.map-svg circle { fill: var(--brand) !important; }
.map-svg .route-lines line { stroke: var(--brand) !important; }
.map-svg path[fill="rgba(14, 165, 233, 0.1)"] {
    fill: rgba(245,166,35,0.04) !important;
    stroke: var(--brand) !important;
    stroke-width: 1.5;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 720px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: var(--brand-light);
    border: 1px solid var(--brand-100);
    border-radius: 50px;
    color: var(--brand);
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    animation: fadeUp 0.6s ease both;
}

.pulse-dot {
    width: 7px; height: 7px;
    background: var(--brand);
    border-radius: 50%;
    animation: electricPulse 2s ease-in-out infinite;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 3.75rem;
    font-weight: 800;
    line-height: 1.02;
    margin-bottom: 1.5rem;
    letter-spacing: -0.04em;
    color: var(--ink);
    animation: fadeUp 0.6s ease 0.1s both;
}

.gradient-text {
    background: linear-gradient(135deg, var(--brand), #FFD166, var(--brand));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--ink-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.7;
    animation: fadeUp 0.6s ease 0.2s both;
}

/* ── Tracking Box ───────────────────────────────── */
.tracking-box {
    background: var(--surface);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-lg);
    padding: 6px;
    margin-bottom: 1.75rem;
    box-shadow: var(--shadow-md), 0 0 40px rgba(245,166,35,0.06);
    animation: fadeUp 0.6s ease 0.3s both;
    transition: all 0.3s;
}

.tracking-box:focus-within {
    border-color: rgba(245,166,35,0.3);
    box-shadow: var(--shadow-md), 0 0 60px rgba(245,166,35,0.1);
}

.tracking-form {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tracking-icon {
    width: 20px; height: 20px;
    color: var(--ink-muted);
    margin-left: 0.75rem;
    font-size: 1rem;
}

.tracking-input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--ink);
    font-family: var(--font-mono);
    font-size: 0.9375rem;
    padding: 0.875rem 0.5rem;
    outline: none;
    letter-spacing: 0.02em;
}

.tracking-input::placeholder { color: var(--ink-muted); }

.tracking-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--brand), #E69500);
    border: none;
    border-radius: var(--radius);
    color: #0A0A0F;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: var(--shadow-btn);
    letter-spacing: 0.01em;
}

.tracking-button:hover {
    background: linear-gradient(135deg, var(--brand-hover), #FFB83D);
    transform: translateY(-2px);
    box-shadow: var(--shadow-btn), 0 4px 20px rgba(245,166,35,0.25);
}

/* ── Buttons ────────────────────────────────────── */
.hero-buttons {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    animation: fadeUp 0.6s ease 0.4s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    line-height: 1.4;
    letter-spacing: 0.01em;
}

.btn:hover { text-decoration: none; }

.btn-large {
    padding: 0.875rem 1.75rem;
    font-size: 0.9375rem;
}

.btn-sm {
    padding: 0.4rem 0.875rem;
    font-size: 0.8125rem;
    border-radius: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand), #E69500);
    color: #0A0A0F;
    box-shadow: var(--shadow-btn);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--brand-hover), #FFB83D);
    transform: translateY(-2px);
    box-shadow: var(--shadow-btn), 0 6px 20px rgba(245,166,35,0.3);
    color: #0A0A0F;
}

.btn-secondary {
    background: var(--surface);
    color: var(--ink);
    border: 1px solid var(--line-strong);
    box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
    background: var(--surface-hover);
    border-color: rgba(255,255,255,0.15);
    color: var(--ink);
}

.btn-outline {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--line-strong);
}

.btn-outline:hover {
    background: var(--brand-light);
    border-color: var(--brand-glow);
    color: var(--brand);
}

/* ── Features ───────────────────────────────────── */
.features-section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 0.625rem;
    letter-spacing: -0.03em;
}

.section-header p {
    color: var(--ink-secondary);
    font-size: 1rem;
}

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

.feature-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 2rem 1.75rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Subtle top-edge glow on hover */
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--brand-glow), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover {
    border-color: var(--line-strong);
    box-shadow: var(--shadow-card);
    transform: translateY(-4px);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 56px; height: 56px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 1.375rem;
    transition: all 0.3s;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-icon.blue  { background: var(--info-light); color: var(--info); }
.feature-icon.green { background: var(--ok-light); color: var(--ok); }
.feature-icon.yellow { background: var(--warn-light); color: var(--warn); }
.feature-icon.purple { background: rgba(139,92,246,0.1); color: #A78BFA; }

.feature-card h3 {
    font-size: 1.0625rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--ink-secondary);
    font-size: 0.875rem;
    line-height: 1.6;
}

/* ── Pricing ────────────────────────────────────── */
.pricing-section {
    padding: 5rem 0;
    background: var(--page-alt);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.price-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.price-card.featured {
    border-color: rgba(245,166,35,0.3);
    box-shadow: 0 0 0 1px rgba(245,166,35,0.15), var(--shadow-md), var(--shadow-glow);
    transform: scale(1.03);
    background: linear-gradient(180deg, rgba(245,166,35,0.03) 0%, var(--surface) 30%);
}

.price-card.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--brand), transparent);
}

.price-card.featured:hover {
    transform: scale(1.03) translateY(-4px);
}

.price-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.route {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.route .city {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.01em;
}

.route i { color: var(--ink-muted); font-size: 0.75rem; }

.price { margin-bottom: 0.375rem; }

.price .currency {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand);
}

.price .amount {
    font-family: var(--font-display);
    font-size: 3.25rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--brand), #FFD166);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    letter-spacing: -0.03em;
}

.delivery-time {
    color: var(--ink-muted);
    font-size: 0.8125rem;
}

.price-features {
    margin-bottom: 1.5rem;
}

.price-features ul { list-style: none; }

.price-features li {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.625rem 0;
    color: var(--ink-secondary);
    border-bottom: 1px solid var(--line);
    font-size: 0.875rem;
}

.price-features li:last-child { border-bottom: none; }
.price-features li i { color: var(--ok); font-size: 0.8125rem; }

.price-card .btn { width: 100%; justify-content: center; }

.pricing-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
    color: var(--ink-muted);
    font-size: 0.875rem;
}

.pricing-note i { color: var(--info); }

/* ── Business ───────────────────────────────────── */
.business-section {
    padding: 5rem 0;
}

.business-card {
    background: linear-gradient(135deg, rgba(245,166,35,0.05) 0%, var(--surface) 50%, rgba(0,212,255,0.03) 100%);
    border: 1px solid var(--brand-100);
    border-radius: var(--radius-xl);
    padding: 3.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Corner accent */
.business-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(245,166,35,0.06), transparent 70%);
    pointer-events: none;
}

.business-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--brand-light);
    border: 1px solid var(--brand-100);
    border-radius: 50px;
    color: var(--brand);
    font-weight: 600;
    font-size: 0.8125rem;
    margin-bottom: 1.25rem;
}

.business-content h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    letter-spacing: -0.03em;
}

.business-content > p {
    color: var(--ink-secondary);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.business-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.business-features li {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.5rem 0;
    font-size: 0.9375rem;
    color: var(--ink);
}

.business-features li i { color: var(--ok); }

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

.business-icon {
    width: 220px; height: 220px;
    background: var(--surface);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--brand-100);
    color: var(--brand);
    box-shadow: var(--shadow-card), var(--shadow-glow);
    transition: all 0.4s ease;
}

.business-icon:hover {
    box-shadow: var(--shadow-md), 0 0 40px rgba(245,166,35,0.2);
    transform: scale(1.04);
}

/* ── Cards ──────────────────────────────────────── */
.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 0;
    transition: border-color 0.2s;
}

.card:hover:not(form):not(.card-no-hover) {
    border-color: var(--line-strong);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.card-title {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.02em;
}

/* ── Forms ──────────────────────────────────────── */
.form-group {
    margin-bottom: 1rem;
    flex: 1;
}

.form-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--ink-secondary);
    margin-bottom: 0.375rem;
    letter-spacing: 0.01em;
}

.form-label i { opacity: 0.5; }

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.625rem 0.875rem;
    background: var(--page-alt);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--ink);
    outline: none;
    transition: all 0.2s;
    line-height: 1.4;
}

.form-input::placeholder,
.form-textarea::placeholder { color: var(--ink-muted); }

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: rgba(245,166,35,0.4);
    box-shadow: 0 0 0 3px rgba(245,166,35,0.08), 0 0 20px rgba(245,166,35,0.05);
    background: var(--surface);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239494A8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.875rem center;
    padding-right: 2.5rem;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

/* ── Alerts ─────────────────────────────────────── */
.alert {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.alert-error {
    background: var(--bad-light);
    color: var(--bad);
    border: 1px solid rgba(248,113,113,0.2);
}

.alert-success {
    background: var(--ok-light);
    color: var(--ok);
    border: 1px solid rgba(52,211,153,0.2);
}

/* ── Status Badges ──────────────────────────────── */
.status {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.3rem 0.7rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    letter-spacing: 0.01em;
}

.status-registered { background: rgba(255,255,255,0.05); color: var(--ink-secondary); border: 1px solid var(--line); }
.status-picked-up  { background: var(--info-light); color: var(--info); }
.status-transit     { background: var(--warn-light); color: var(--warn); }
.status-delivery    { background: var(--brand-light); color: var(--brand); }
.status-delivered   { background: var(--ok-light); color: var(--ok); }
.status-cancelled   { background: var(--bad-light); color: var(--bad); }

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

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

.table thead {
    border-bottom: 1px solid var(--line-strong);
}

.table th {
    text-align: left;
    padding: 0.75rem 0.875rem;
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--ink-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-family: var(--font-body);
}

.table td {
    padding: 0.75rem 0.875rem;
    font-size: 0.875rem;
}

.table tbody tr {
    border-bottom: 1px solid var(--line);
    transition: background 0.15s;
}

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

.table tbody tr:hover {
    background: rgba(255,255,255,0.02);
}

/* ── Grid ───────────────────────────────────────── */
.grid { display: grid; gap: 1rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.user-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--ink);
}

.user-badge small {
    color: var(--ink-muted);
    font-weight: 400;
}

/* ── Footer ─────────────────────────────────────── */
.footer {
    border-top: 1px solid var(--line);
    padding: 2.5rem 2rem;
    text-align: center;
    color: var(--ink-muted);
    font-size: 0.8125rem;
    background: var(--page);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(245,166,35,0.15), transparent);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ── Utilities ──────────────────────────────────── */
hr { border: none; border-top: 1px solid var(--line); }

/* ── Scrollbar ──────────────────────────────────── */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--page); }
::-webkit-scrollbar-thumb { background: var(--ink-faint); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--ink-muted); }

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 1024px) {
    .hero-title { font-size: 2.75rem; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
    .price-card.featured { transform: none; order: -1; }
    .business-card { grid-template-columns: 1fr; text-align: center; }
    .business-features li { justify-content: center; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
        height: auto;
        padding: 0.75rem 1rem;
        gap: 0;
    }
    .mobile-toggle { display: block; }
    .nav, .header-actions {
        display: none;
        width: 100%;
        flex-direction: column;
        padding-top: 0.75rem;
        border-top: 1px solid var(--line);
        margin-top: 0.75rem;
    }
    .nav.open, .header-actions.open { display: flex; }
    .nav a { padding: 0.625rem 0.5rem; }
    .nav a::after { display: none; }
    .header-actions { gap: 0.5rem; padding-top: 0.5rem; margin-top: 0.5rem; border-top: 1px solid var(--line); }
    .hero-title { font-size: 2.25rem; }
    .hero-subtitle { font-size: 0.9375rem; }
    .tracking-form { flex-direction: column; }
    .tracking-icon { display: none; }
    .tracking-button { width: 100%; justify-content: center; }
    .hero-buttons { flex-direction: column; align-items: stretch; }
    .features-grid { grid-template-columns: 1fr; }
    .business-card { padding: 2rem; }
    .business-icon { width: 160px; height: 160px; }
    .form-row { grid-template-columns: 1fr; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    main.container { padding-left: 1rem; padding-right: 1rem; }
}
