/* ═══════════════════════════════════════════════════════════════════════
   TechNest — Design Tokens
   Palette: near-black base, electric cyan accent, amber for deals/heat
   Type: Space Grotesk (display/spec), Inter (body), JetBrains Mono (price/data)
   ═══════════════════════════════════════════════════════════════════════ */
:root {
    --bg:           #F7F9FC;
    --bg-elevated:  #FFFFFF;
    --bg-card:      #FFFFFF;
    --border:       #E2E8F0;
    --border-light: #CBD5E1;
    --text:         #1A202C;
    --text-mid:     #5A6478;
    --text-light:   #8C95A6;
    --accent:       #0098B8;
    --accent-dim:   #00738A;
    --amber:        #E08900;
    --success:      #16A34A;
    --danger:       #DC2626;
    --radius:       10px;
    --radius-lg:    16px;
    --shadow-sm:    0 2px 8px rgba(15,23,42,0.06);
    --shadow-md:    0 8px 24px rgba(15,23,42,0.10);
    --shadow-glow:  0 0 0 3px rgba(0,152,184,0.12);
}

* { box-sizing: border-box; }
body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 15px;
    line-height: 1.6;
}
h1, h2, h3, h4, h5, h6 { font-family: 'Space Grotesk', sans-serif; color: var(--text); }
a { text-decoration: none; color: inherit; }
.mono { font-family: 'JetBrains Mono', monospace; }

/* ─── Top Bar ─────────────────────────────────────────────────────────── */
.top-bar {
    background: #1A2332;
    color: #B8C2D4;
    font-size: .78rem;
    padding: 7px 0;
    border-bottom: 1px solid var(--border);
}
.top-bar a { color: #B8C2D4; transition: color .15s; }
.top-bar a:hover { color: #5EEAFF; }
.top-bar strong { color: #FFB733; font-family: 'JetBrains Mono', monospace; }

/* ─── Navbar ──────────────────────────────────────────────────────────── */
.main-navbar {
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
}
.navbar-brand {
    display: flex; align-items: center; gap: 10px;
    font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.4rem;
}
.brand-icon {
    width: 38px; height: 38px; background: linear-gradient(135deg, var(--accent), var(--accent-dim));
    border-radius: 9px; display: flex; align-items: center; justify-content: center;
    color: #051015; font-size: 1.1rem; box-shadow: var(--shadow-glow);
}
.brand-text { color: var(--text); }
.brand-accent { color: var(--accent); }

.search-form { flex: 1; max-width: 560px; margin: 0 24px; display: flex; }
.search-cat {
    background: var(--bg-card); border: 1px solid var(--border); border-right: none;
    color: var(--text-mid); border-radius: var(--radius) 0 0 var(--radius);
    font-size: .82rem; max-width: 150px;
}
.search-input {
    background: var(--bg-card); border: 1px solid var(--border); border-left: none; border-right: none;
    color: var(--text); border-radius: 0;
}
.search-input:focus, .search-cat:focus { box-shadow: none; border-color: var(--accent); color: var(--text); background: var(--bg-card); }
.search-btn {
    background: var(--accent); border: 1px solid var(--accent); color: #051015;
    border-radius: 0 var(--radius) var(--radius) 0; padding: 0 18px; font-weight: 600;
}
.search-btn:hover { background: var(--accent-dim); border-color: var(--accent-dim); }

.nav-icon-btn {
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    color: var(--text-mid); font-size: .68rem; transition: color .15s;
}
.nav-icon-btn:hover { color: var(--accent); }
.nav-icon-btn i { font-size: 1.15rem; }
.cart-icon-wrap { position: relative; }
.cart-badge {
    position: absolute; top: -8px; right: -10px;
    background: var(--amber); color: #1a1200; font-size: .62rem; font-weight: 700;
    min-width: 17px; height: 17px; border-radius: 9px;
    display: flex; align-items: center; justify-content: center; padding: 0 4px;
}
.icon-label { font-size: .66rem; }

.navbar-toggler { border: 1px solid var(--border); color: var(--text); }
.navbar-collapse .nav-link { color: var(--text-mid) !important; padding: 8px 12px !important; }
.navbar-collapse .nav-link.active, .navbar-collapse .nav-link:hover { color: var(--accent) !important; }

/* Dropdown */
.dropdown-menu { background: var(--bg-card); border: 1px solid var(--border); }
.dropdown-item { color: var(--text-mid); font-size: .85rem; }
.dropdown-item:hover { background: var(--bg-elevated); color: var(--accent); }
.dropdown-divider { border-color: var(--border); }

/* ─── Category Nav ────────────────────────────────────────────────────── */
.category-nav { background: var(--bg-card); border-bottom: 1px solid var(--border); }
.cat-nav-list { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.cat-nav-list a {
    display: block; padding: 11px 16px; font-size: .82rem; color: var(--text-mid);
    border-bottom: 2px solid transparent; transition: all .15s;
}
.cat-nav-list a:hover, .cat-nav-list a.active { color: var(--accent); border-color: var(--accent); }

/* ─── Breadcrumb ──────────────────────────────────────────────────────── */
.page-breadcrumb { background: var(--bg-elevated); border-bottom: 1px solid var(--border); padding: 12px 0; }
.breadcrumb { margin: 0; font-size: .82rem; }
.breadcrumb-item, .breadcrumb-item a { color: var(--text-light); }
.breadcrumb-item.active { color: var(--accent); }
.breadcrumb-item + .breadcrumb-item::before { color: var(--text-light); }

/* ─── Hero Section ────────────────────────────────────────────────────── */
.hero-section {
    background: radial-gradient(ellipse at top right, rgba(0,217,255,0.08), transparent 60%), var(--bg);
    padding: 64px 0;
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}
.hero-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(0,217,255,0.1); border: 1px solid rgba(0,217,255,0.3);
    color: var(--accent); font-size: .76rem; font-weight: 600;
    padding: 5px 14px; border-radius: 20px; margin-bottom: 18px;
    font-family: 'JetBrains Mono', monospace; letter-spacing: .03em;
}
.hero-title {
    font-size: 2.6rem; font-weight: 700; line-height: 1.15; margin-bottom: 16px;
}
.hero-title .accent { color: var(--accent); }
.hero-subtitle { color: var(--text-mid); font-size: 1.05rem; margin-bottom: 28px; max-width: 480px; }
.hero-stats { display: flex; gap: 32px; margin-top: 32px; }
.hero-stat-num { font-family: 'JetBrains Mono', monospace; font-size: 1.5rem; font-weight: 700; color: var(--accent); }
.hero-stat-label { font-size: .76rem; color: var(--text-light); text-transform: uppercase; letter-spacing: .04em; }

.btn-hero-primary {
    background: var(--accent); color: #051015; border: none;
    padding: 13px 28px; border-radius: var(--radius); font-weight: 600; font-size: .92rem;
    box-shadow: var(--shadow-glow); transition: all .2s;
}
.btn-hero-primary:hover { background: #00C4E8; transform: translateY(-1px); color: #051015; }
.btn-hero-secondary {
    background: transparent; color: var(--text); border: 1px solid var(--border-light);
    padding: 13px 28px; border-radius: var(--radius); font-weight: 600; font-size: .92rem;
}
.btn-hero-secondary:hover { border-color: var(--accent); color: var(--accent); }

/* Hero device mock */
.hero-device-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hero-device-card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 20px; aspect-ratio: 1; display: flex; flex-direction: column; justify-content: space-between;
    transition: all .25s;
}
.hero-device-card:hover { border-color: var(--accent); box-shadow: var(--shadow-glow); transform: translateY(-3px); }
.hero-device-card i { font-size: 1.8rem; color: var(--accent); }
.hero-device-card .label { font-size: .78rem; color: var(--text-mid); font-weight: 600; }

/* ─── Section Heading ─────────────────────────────────────────────────── */
.section { padding: 56px 0; }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 28px; }
.section-title { font-size: 1.5rem; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.section-title .num { font-family: 'JetBrains Mono', monospace; color: var(--accent); font-size: 1rem; }
.section-link { color: var(--accent); font-size: .85rem; font-weight: 600; }
.section-link:hover { color: var(--accent-dim); }

/* ─── Category Pills (homepage) ──────────────────────────────────────── */
.category-pill {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 24px 16px; text-align: center; transition: all .2s; height: 100%;
}
.category-pill:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--shadow-glow); }
.category-pill-icon {
    width: 52px; height: 52px; border-radius: 12px; background: rgba(0,217,255,0.1);
    display: flex; align-items: center; justify-content: center; margin: 0 auto 12px;
    color: var(--accent); font-size: 1.4rem;
}
.category-pill-name { font-weight: 600; font-size: .88rem; }
.category-pill-count { font-size: .72rem; color: var(--text-light); margin-top: 2px; }

/* ─── Product Card ────────────────────────────────────────────────────── */
.product-card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
    overflow: hidden; transition: all .2s; display: flex; flex-direction: column;
}
.product-card:hover { border-color: var(--accent); box-shadow: var(--shadow-glow); transform: translateY(-2px); }
.product-cover {
    position: relative; aspect-ratio: 1; background: var(--bg-elevated);
    display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.product-cover-img {
    width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
    flex-direction: column; padding: 20px; text-align: center;
}
.product-cover-img i { font-size: 3rem; color: rgba(255,255,255,0.92); margin-bottom: 10px; }
.product-cover-title { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: .82rem; color: #fff; }
.product-badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.badge-bestseller { background: var(--amber); color: #1a1200; font-size: .65rem; font-weight: 700; padding: 3px 9px; border-radius: 5px; }
.badge-new { background: var(--accent); color: #051015; font-size: .65rem; font-weight: 700; padding: 3px 9px; border-radius: 5px; }
.badge-discount { background: var(--danger); color: #fff; font-size: .65rem; font-weight: 700; padding: 3px 9px; border-radius: 5px; }

.product-wishlist {
    position: absolute; top: 10px; right: 10px; z-index: 2;
    width: 32px; height: 32px; border-radius: 50%; background: rgba(14,17,23,0.7);
    border: 1px solid var(--border); display: flex; align-items: center; justify-content: center;
    color: var(--text-mid); cursor: pointer; transition: all .15s;
}
.product-wishlist:hover { border-color: var(--danger); }
.product-wishlist.active { background: rgba(239,68,68,0.15); border-color: var(--danger); }
.product-wishlist.active i { color: var(--danger); }

.product-info { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.product-brand { font-size: .68rem; color: var(--accent); text-transform: uppercase; letter-spacing: .05em; font-weight: 600; margin-bottom: 4px; }
.product-title { font-size: .88rem; font-weight: 600; color: var(--text); margin-bottom: 6px; line-height: 1.35; }
.product-title a { color: var(--text); }
.product-title a:hover { color: var(--accent); }
.product-rating { display: flex; align-items: center; gap: 5px; font-size: .76rem; margin-bottom: 10px; }
.product-rating .stars { color: var(--amber); letter-spacing: -1px; }
.product-rating .rating-val { color: var(--text-mid); font-weight: 600; }
.product-rating .review-count { color: var(--text-light); }

.product-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.price-current { font-family: 'JetBrains Mono', monospace; font-size: 1.05rem; font-weight: 700; color: var(--text); }
.price-mrp { font-family: 'JetBrains Mono', monospace; font-size: .8rem; color: var(--text-light); text-decoration: line-through; }
.price-discount { font-size: .74rem; color: var(--success); font-weight: 600; }

.btn-add-cart {
    margin-top: auto; background: transparent; border: 1px solid var(--accent); color: var(--accent);
    padding: 9px; border-radius: var(--radius); font-weight: 600; font-size: .82rem; transition: all .15s;
}
.btn-add-cart:hover { background: var(--accent); color: #051015; }

/* ─── Filters Sidebar ─────────────────────────────────────────────────── */
.filter-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; margin-bottom: 16px; }
.filter-title { font-weight: 700; font-size: .9rem; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.filter-check { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: .84rem; color: var(--text-mid); cursor: pointer; }
.filter-check input { accent-color: var(--accent); }
.filter-check:hover { color: var(--text); }

.sort-bar {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 12px 18px; display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; flex-wrap: wrap; gap: 10px;
}
.sort-select { background: var(--bg-elevated); border: 1px solid var(--border); color: var(--text); border-radius: 6px; font-size: .82rem; padding: 6px 10px; }

/* ─── Product Detail Page ────────────────────────────────────────────── */
.product-detail-cover {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
    aspect-ratio: 1; display: flex; align-items: center; justify-content: center; flex-direction: column;
    position: relative;
}
.product-detail-cover i { font-size: 6rem; color: rgba(255,255,255,0.92); margin-bottom: 16px; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table tr { border-bottom: 1px solid var(--border); }
.spec-table td { padding: 10px 0; font-size: .85rem; }
.spec-table td:first-child { color: var(--text-light); width: 40%; }
.spec-table td:last-child { color: var(--text); font-weight: 500; }

.btn-buy-now {
    background: var(--amber); border: none; color: #1a1200; font-weight: 700;
    padding: 13px; border-radius: var(--radius); font-size: .95rem;
}
.btn-buy-now:hover { background: #FFB733; color: #1a1200; }

/* ─── Cart Page ───────────────────────────────────────────────────────── */
.cart-table { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.cart-table table { color: var(--text); margin: 0; }
.cart-table thead th { background: var(--bg-elevated); color: var(--text-light); font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; border: none; padding: 14px; }
.cart-table tbody td { border-color: var(--border); padding: 14px; vertical-align: middle; }
.cart-table tbody tr:hover { background: var(--bg-elevated); }
.cart-product-cover {
    width: 56px; height: 56px; border-radius: 8px; display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.3rem; flex-shrink: 0;
}
.cart-product-title a { color: var(--text); font-weight: 600; font-size: .88rem; }
.cart-product-title a:hover { color: var(--accent); }
.cart-product-brand { font-size: .74rem; color: var(--text-light); }
.cart-qty-input { width: 52px !important; text-align: center; background: var(--bg-elevated); border: 1px solid var(--border); color: var(--text); border-radius: 6px; padding: 4px 2px; }
.cart-remove { color: var(--text-light); }
.cart-remove:hover { color: var(--danger); }

.empty-cart { text-align: center; padding: 60px 20px; background: var(--bg-card); border-radius: var(--radius-lg); border: 1px solid var(--border); }
.empty-cart i { font-size: 3.5rem; color: var(--border-light); margin-bottom: 18px; display: block; }
.empty-cart h4 { margin-bottom: 8px; }

.coupon-input { display: flex; gap: 8px; }
.coupon-input input { flex: 1; background: var(--bg-elevated); border: 1px solid var(--border); color: var(--text); border-radius: 6px; padding: 9px 12px; font-size: .85rem; }
.coupon-input button { background: var(--accent); border: none; color: #051015; font-weight: 600; padding: 9px 18px; border-radius: 6px; font-size: .85rem; }

/* ─── Order Summary ───────────────────────────────────────────────────── */
.order-summary { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; }
.order-summary h5 { margin-bottom: 18px; font-weight: 700; }
.summary-row { display: flex; justify-content: space-between; font-size: .86rem; color: var(--text-mid); padding: 7px 0; }
.summary-row.total { border-top: 1px solid var(--border); margin-top: 10px; padding-top: 14px; font-weight: 700; font-size: 1.05rem; color: var(--text); font-family: 'JetBrains Mono', monospace; }
.btn-checkout {
    display: block; text-align: center; width: 100%; background: var(--accent); color: #051015;
    border: none; padding: 13px; border-radius: var(--radius); font-weight: 700; font-size: .92rem; margin-top: 8px;
}
.btn-checkout:hover { background: #00C4E8; color: #051015; }

/* ─── Checkout ────────────────────────────────────────────────────────── */
.step-indicator { display: flex; align-items: center; justify-content: center; gap: 0; }
.step { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.step-num { width: 32px; height: 32px; border-radius: 50%; background: var(--bg-card); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .85rem; color: var(--text-light); }
.step.active .step-num { background: var(--accent); border-color: var(--accent); color: #051015; }
.step.done .step-num { background: var(--success); border-color: var(--success); color: #fff; }
.step-label { font-size: .72rem; color: var(--text-light); }
.step.active .step-label { color: var(--accent); font-weight: 600; }
.step-line { width: 60px; height: 1px; background: var(--border); margin: 0 4px; align-self: center; margin-top: -22px; }

.checkout-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; margin-bottom: 20px; }
.checkout-section-title { font-weight: 700; font-size: .98rem; margin-bottom: 16px; display: flex; align-items: center; }
.checkout-card .form-label { color: var(--text-mid); font-size: .82rem; font-weight: 600; margin-bottom: 6px; }
.checkout-card .form-control, .checkout-card .form-select {
    background: var(--bg-elevated); border: 1px solid var(--border); color: var(--text);
}
.checkout-card .form-control:focus, .checkout-card .form-select:focus { background: var(--bg-elevated); border-color: var(--accent); color: var(--text); box-shadow: 0 0 0 3px rgba(0,217,255,0.12); }
.checkout-card .form-control::placeholder { color: var(--text-light); }

.payment-option {
    display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--border);
    border-radius: var(--radius); margin-bottom: 8px; cursor: pointer; transition: all .15s;
}
.payment-option:hover { border-color: var(--border-light); }
.payment-option.selected { border-color: var(--accent); background: rgba(0,217,255,0.06); }
.payment-option-label { font-weight: 600; font-size: .88rem; }
.payment-detail { padding-left: 4px; }

/* ─── Order Success ───────────────────────────────────────────────────── */
.success-page { text-align: center; padding: 30px 0; }
.success-icon {
    width: 80px; height: 80px; border-radius: 50%; background: rgba(34,197,94,0.12);
    border: 2px solid var(--success); color: var(--success); font-size: 2.4rem;
    display: flex; align-items: center; justify-content: center; margin: 0 auto 20px;
}

/* ─── Auth Pages ──────────────────────────────────────────────────────── */
.auth-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-md); }
.auth-header { text-align: center; margin-bottom: 28px; }
.auth-icon { width: 64px; height: 64px; background: var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; color: #051015; margin: 0 auto 16px; box-shadow: var(--shadow-glow); }
.auth-header h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 6px; }
.auth-header p { color: var(--text-light); font-size: .88rem; margin: 0; }
.auth-form .form-label { font-weight: 600; font-size: .82rem; color: var(--text-mid); }
.auth-form .input-group-text { background: var(--bg-elevated); border-color: var(--border); color: var(--text-light); }
.auth-form .form-control { background: var(--bg-elevated); border-color: var(--border); color: var(--text); }
.auth-form .form-control:focus { background: var(--bg-elevated); border-color: var(--accent); color: var(--text); box-shadow: 0 0 0 3px rgba(0,217,255,0.12); }
.btn-auth-primary { background: var(--accent); color: #051015; border: none; padding: 12px 28px; border-radius: var(--radius); font-weight: 700; font-size: .92rem; box-shadow: var(--shadow-glow); }
.btn-auth-primary:hover { background: #00C4E8; color: #051015; }
.auth-link { color: var(--accent); font-weight: 600; }
.auth-link:hover { color: var(--accent-dim); }
.demo-creds { background: var(--bg-elevated); border: 1px dashed var(--border); border-radius: 10px; padding: 12px 16px; font-size: .78rem; color: var(--text-mid); margin-top: 16px; }
.demo-label { font-weight: 700; margin-bottom: 4px; color: var(--accent); }
.password-strength { font-size: .76rem; font-weight: 600; }

/* ─── Account Page ────────────────────────────────────────────────────── */
.account-sidebar { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.account-user-block { background: linear-gradient(135deg, var(--accent-dim), #0E3A45); padding: 26px 20px; text-align: center; color: #fff; }
.account-avatar { width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; font-weight: 700; margin: 0 auto 10px; }
.account-nav { list-style: none; margin: 0; padding: 8px; }
.account-nav a { display: flex; align-items: center; gap: 10px; padding: 11px 14px; color: var(--text-mid); font-size: .86rem; border-radius: 8px; transition: all .15s; }
.account-nav a:hover { background: var(--bg-elevated); color: var(--text); }
.account-nav a.active { background: rgba(0,217,255,0.1); color: var(--accent); font-weight: 600; }
.account-nav a i { width: 18px; }

/* ─── Footer ──────────────────────────────────────────────────────────── */
.site-footer { background: #131C2B; border-top: 1px solid var(--border); padding: 48px 0 20px; color: #A8B3C7; }
.footer-brand { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.3rem; color: #fff; display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-heading { font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; color: #fff; font-weight: 700; margin-bottom: 16px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #A8B3C7; font-size: .85rem; }
.footer-links a:hover { color: #5EEAFF; }
.footer-bottom { border-top: 1px solid #2A3548; margin-top: 36px; padding-top: 20px; font-size: .78rem; text-align: center; color: #7E8AA0; }
.social-icons { display: flex; gap: 10px; margin-top: 16px; }
.social-icons a { width: 36px; height: 36px; border-radius: 8px; background: #1E2A3D; border: 1px solid #2A3548; display: flex; align-items: center; justify-content: center; color: #A8B3C7; }
.social-icons a:hover { border-color: var(--accent); color: #5EEAFF; }
.newsletter-input { background: #1E2A3D; border: 1px solid #2A3548; color: #fff; border-radius: 8px; }
.newsletter-input:focus { background: #1E2A3D; border-color: var(--accent); color: #fff; }

/* ─── Back to Top ─────────────────────────────────────────────────────── */
#backToTop {
    position: fixed; bottom: 24px; right: 24px; width: 44px; height: 44px; border-radius: 50%;
    background: var(--accent); color: #051015; display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: all .2s; z-index: 999; border: none; box-shadow: var(--shadow-glow);
}
#backToTop.show { opacity: 1; visibility: visible; }

/* ─── Alerts ──────────────────────────────────────────────────────────── */
.alert { border-radius: var(--radius); border: 1px solid var(--border); }
.alert-danger { background: rgba(239,68,68,0.1); border-color: rgba(239,68,68,0.3); color: #FCA5A5; }
.alert-success { background: rgba(34,197,94,0.1); border-color: rgba(34,197,94,0.3); color: #86EFAC; }
.alert-info { background: rgba(0,217,255,0.1); border-color: rgba(0,217,255,0.3); color: var(--accent); }
.alert-warning { background: rgba(255,160,0,0.1); border-color: rgba(255,160,0,0.3); color: var(--amber); }
.btn-close { filter: invert(1); }

/* ─── Misc Bootstrap Overrides ────────────────────────────────────────── */
.btn-primary { background: var(--accent); border-color: var(--accent); color: #051015; font-weight: 600; }
.btn-primary:hover { background: #00C4E8; border-color: #00C4E8; color: #051015; }
.btn-outline-primary { border-color: var(--accent); color: var(--accent); }
.btn-outline-primary:hover { background: var(--accent); color: #051015; }
.btn-outline-secondary { border-color: var(--border-light); color: var(--text-mid); }
.btn-outline-secondary:hover { background: var(--bg-elevated); color: var(--text); border-color: var(--border-light); }
.badge.bg-success { background: var(--success) !important; }
.badge.bg-warning { background: var(--amber) !important; color: #1a1200 !important; }
.badge.bg-info { background: var(--accent) !important; color: #051015 !important; }
.badge.bg-danger { background: var(--danger) !important; }
.form-check-input { background-color: var(--bg-elevated); border-color: var(--border-light); }
.form-check-input:checked { background-color: var(--accent); border-color: var(--accent); }
hr { border-color: var(--border); }
.text-muted { color: var(--text-light) !important; }
.bg-light { background: var(--bg-elevated) !important; }

@media (max-width: 768px) {
    .hero-title { font-size: 1.9rem; }
    .search-form { display: none !important; }
    .hero-stats { gap: 20px; }
}
