:root {
    --ink: #0a1729;
    --ink-soft: #44536a;
    --muted: #647086;
    --accent: #125feb;
    --accent-dark: #0b4ecc;
    --accent-soft: #eaf2ff;
    --line: #e6eaf1;
    --surface: #ffffff;
    --surface-alt: #f5f7fb;
    --radius: 18px;
    --radius-sm: 12px;
    --shadow-sm: 0 2px 10px rgba(10, 23, 41, .05);
    --shadow: 0 14px 40px rgba(10, 23, 41, .09);
    --shadow-lg: 0 26px 70px rgba(10, 23, 41, .15);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--surface);
    font-family: "Segoe UI", Inter, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
h1, h2, h3, h4, h5, h6 { color: var(--ink); letter-spacing: -.025em; }
p { color: var(--ink-soft); }

.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 9999;
    background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

:focus-visible { outline: 3px solid rgba(22,104,255,.45); outline-offset: 2px; }

.demo-strip {
    background: var(--ink);
    color: #dbe6fa;
    font-size: .78rem;
    letter-spacing: .01em;
}
.demo-strip i { color: #6ea5ff; }

.site-header { z-index: 1030; box-shadow: var(--shadow-sm); }
.navbar { min-height: 76px; }
.navbar-brand { display: flex; align-items: center; gap: 12px; padding: 0; }
.brand-symbol {
    width: 42px; height: 42px; flex: 0 0 42px;
    display: grid; place-items: center;
    border-radius: 12px;
    background: linear-gradient(145deg, var(--accent), #6aa1ff);
    color: #fff; font-size: 1.5rem; line-height: 1;
    box-shadow: 0 8px 20px rgba(22,104,255,.28);
}
.brand-copy { display: flex; flex-direction: column; line-height: 1.15; }
.brand-copy strong { font-size: 1.02rem; font-weight: 750; letter-spacing: -.03em; color: var(--ink); text-transform: uppercase; }
.brand-copy small { font-size: .66rem; color: var(--muted); letter-spacing: .02em; }

.navbar-nav .nav-link {
    color: var(--ink-soft) !important;
    font-weight: 600; font-size: .92rem;
    padding: 8px 4px !important;
    border-bottom: 2px solid transparent;
}
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active { color: var(--accent) !important; border-bottom-color: var(--accent); }

.header-search { position: relative; width: 100%; max-width: 330px; }
.header-search .search-icon {
    position: absolute; left: 13px; top: 50%; transform: translateY(-50%);
    color: var(--muted); font-size: .95rem; pointer-events: none;
}
.header-search .form-control {
    padding-left: 38px; border-radius: 999px 0 0 999px;
    border-color: var(--line); background: var(--surface-alt); font-size: .88rem;
}
.header-search .btn { border-radius: 0 999px 999px 0; }

.btn { border-radius: 10px; font-weight: 650; padding: .62rem 1.1rem; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-accent { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(22,104,255,.22); }
.btn-accent:hover, .btn-accent:focus { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn-dark-navy { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-dark-navy:hover { background: #162a47; color: #fff; }
.btn-whatsapp { background: #128c7e; border-color: #128c7e; color: #fff; }
.btn-whatsapp:hover { background: #0e6f64; border-color: #0e6f64; color: #fff; }
.btn-lg { border-radius: 12px; padding: .8rem 1.5rem; }
.btn-sm { padding: .42rem .75rem; font-size: .82rem; }

.section { padding: 72px 0; }
.section-sm { padding: 44px 0; }
.section-alt { background: var(--surface-alt); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 30px; }
.section-head h2 { font-size: clamp(1.65rem, 3vw, 2.35rem); font-weight: 780; margin: 0; }
.section-head p { max-width: 620px; margin: 8px 0 0; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--accent); font-weight: 750; font-size: .76rem;
    text-transform: uppercase; letter-spacing: .13em; margin-bottom: 10px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--accent); border-radius: 2px; }

/* Hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(135deg, #f7f9fd 0%, #eef3fb 55%, #e7efff 100%); }
.hero::before {
    content: ""; position: absolute; width: 620px; height: 620px; right: -160px; top: -230px;
    border-radius: 50%; background: radial-gradient(circle, rgba(22,104,255,.16), transparent 68%);
}
.hero::after {
    content: ""; position: absolute; width: 460px; height: 460px; left: -210px; bottom: -260px;
    border-radius: 50%; background: radial-gradient(circle, rgba(22,104,255,.09), transparent 70%);
}
.hero-inner { position: relative; z-index: 1; padding: 58px 0 70px; }
.hero-copy { max-width: 620px; }
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); line-height: 1.06; font-weight: 800; margin: 0 0 20px; }
.hero h1 .accent-text { color: var(--accent); }
.hero-lead { font-size: 1.06rem; max-width: 540px; margin-bottom: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 34px; }
.hero-proof-item { display: flex; align-items: center; gap: 10px; font-size: .84rem; color: var(--ink-soft); font-weight: 600; }
.hero-proof-item i { color: var(--accent); font-size: 1.2rem; }
.hero-visual { position: relative; display: grid; place-items: center; }
.hero-device {
    width: min(100%, 430px); filter: drop-shadow(0 38px 50px rgba(10,23,41,.22));
    animation: float 6s ease-in-out infinite;
}
.hero-orbit {
    position: absolute; inset: 8% 2%; border: 1px solid rgba(22,104,255,.16);
    border-radius: 50%; transform: rotate(-12deg);
}
.hero-chip {
    position: absolute; background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.8); border-radius: 14px;
    box-shadow: var(--shadow); padding: 10px 14px; font-size: .76rem; font-weight: 700;
}
.hero-chip i { color: var(--accent); margin-right: 6px; }
.hero-chip.one { left: 2%; top: 16%; }
.hero-chip.two { right: 0; bottom: 18%; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }

.trust-bar { border-bottom: 1px solid var(--line); background: #fff; }
.trust-item { display: flex; align-items: center; gap: 12px; padding: 18px 0; }
.trust-item i { font-size: 1.5rem; color: var(--accent); }
.trust-item strong { display: block; font-size: .88rem; }
.trust-item span { font-size: .76rem; color: var(--muted); }

/* Cards */
.product-card, .accessory-card, .offer-card, .brand-card, .feature-card {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow-sm); height: 100%; overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.product-card:hover, .accessory-card:hover, .offer-card:hover, .brand-card:hover, .feature-card:hover {
    transform: translateY(-5px); box-shadow: var(--shadow); border-color: #ccdcff;
}
.product-media {
    position: relative; aspect-ratio: 1 / 1;
    display: grid; place-items: center; padding: 20px;
    background: linear-gradient(155deg, #fbfcff, #f0f4fb);
}
.product-media img { max-height: 100%; width: auto; object-fit: contain; transition: transform .35s ease; }
.product-card:hover .product-media img { transform: scale(1.04); }
.product-body { padding: 18px 18px 20px; }
.product-brand { color: var(--accent); font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.product-title { font-size: 1rem; font-weight: 720; margin: 6px 0 8px; min-height: 2.4em; }
.product-title a { color: var(--ink); text-decoration: none; }
.product-title a:hover { color: var(--accent); }
.product-meta { font-size: .78rem; color: var(--muted); margin-bottom: 12px; }
.product-price-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.price-now { font-size: 1.18rem; font-weight: 800; color: var(--ink); }
.price-was { font-size: .86rem; color: var(--muted); text-decoration: line-through; }
.discount-pill { background: #e9f7f0; color: #0c7a4f; border: 1px solid #c9ecd9; border-radius: 999px; font-size: .7rem; font-weight: 750; padding: 3px 9px; }
.stock-pill { background: #eef2f7; color: #56657b; border-radius: 999px; font-size: .7rem; font-weight: 650; padding: 3px 9px; }
.stock-pill.in { background: #e9f7f0; color: #0c7a4f; }
.stock-pill.out { background: #fdecec; color: #b42318; }
.card-actions { display: flex; gap: 8px; }
.card-actions .btn { flex: 1; font-size: .82rem; padding: .5rem .65rem; }

.accessory-media { aspect-ratio: 4 / 3; background: linear-gradient(150deg, #fbfcff, #f1f5fc); display: grid; place-items: center; padding: 18px; }
.accessory-media img { max-height: 100%; object-fit: contain; }

/* Gallery */
.gallery-main {
    border: 1px solid var(--line); border-radius: var(--radius);
    background: linear-gradient(150deg, #fbfcff, #f0f4fb);
    display: grid; place-items: center; padding: 30px; min-height: 440px;
}
.gallery-main img { max-height: 470px; width: 100%; object-fit: contain; }
.gallery-thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.gallery-thumb {
    width: 74px; height: 74px; padding: 6px; border-radius: 12px;
    border: 1px solid var(--line); background: #fff; cursor: pointer; transition: border-color .2s, transform .2s;
}
.gallery-thumb:hover { transform: translateY(-2px); }
.gallery-thumb.active { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(22,104,255,.16); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: contain; }

.spec-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.spec-table th, .spec-table td { padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { width: 38%; color: var(--muted); font-weight: 650; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }

.price-panel { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); background: #fff; }
.price-panel .display-price { font-size: 2rem; font-weight: 820; letter-spacing: -.04em; }
.color-dot { width: 16px; height: 16px; border-radius: 50%; display: inline-block; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); }

/* Filters */
.filter-shell { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-sm); }
.filter-shell .form-label { font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 750; color: var(--muted); margin-bottom: 5px; }
.filter-shell .form-control, .filter-shell .form-select { border-color: var(--line); border-radius: 10px; font-size: .88rem; }
.chip-links { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-link { border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: .82rem; font-weight: 650; color: var(--ink-soft); text-decoration: none; background: #fff; }
.chip-link:hover, .chip-link.active { background: var(--accent); border-color: var(--accent); color: #fff; text-decoration: none; }

/* Offers */
.offer-card { padding: 26px; position: relative; overflow: hidden; }
.offer-card::after { content: ""; position: absolute; right: -40px; top: -60px; width: 160px; height: 160px; border-radius: 50%; background: rgba(22,104,255,.06); }
.offer-card .discount-number { font-size: 2.5rem; font-weight: 850; color: var(--accent); line-height: 1; letter-spacing: -.05em; }
.offer-strip { border-radius: var(--radius); background: linear-gradient(120deg, var(--ink), #173762 65%, #1f4f96); color: #fff; padding: 34px; }
.offer-strip h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.offer-strip p { color: #c9d9f2; }
.no-countdown-note { font-size: .75rem; color: var(--muted); }

/* Brands */
.brand-card { display: grid; place-items: center; padding: 24px 12px; text-align: center; }
.brand-card strong { display: block; font-size: 1.1rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.brand-card span { font-size: .72rem; color: var(--muted); }

/* Contact */
.contact-tile { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: #fff; box-shadow: var(--shadow-sm); height: 100%; }
.contact-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-size: 1.25rem; margin-bottom: 14px; }
.form-label { font-weight: 650; font-size: .85rem; }
.form-control, .form-select { border-color: var(--line); border-radius: 10px; padding: .65rem .85rem; }
.form-control:focus, .form-select:focus { border-color: var(--accent); box-shadow: 0 0 0 .2rem rgba(22,104,255,.12); }
.validation-summary-errors, .field-validation-error { color: #b42318; font-size: .84rem; }
.map-placeholder {
    min-height: 220px; border-radius: var(--radius); border: 1px dashed #cbd5e6;
    display: grid; place-items: center; text-align: center; padding: 24px; color: var(--muted);
    background: repeating-linear-gradient(45deg, #fafbfe, #fafbfe 12px, #f4f7fc 12px, #f4f7fc 24px);
}

/* Footer */
.site-footer { background: var(--ink); color: #aebbd0; }
.site-footer h2, .site-footer .brand-copy strong { color: #fff; }
.site-footer .brand-symbol { width: 38px; height: 38px; flex-basis: 38px; font-size: 1.3rem; }
.site-footer .brand-copy small { color: #8ea0bd; }
.footer-heading { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 16px; }
.footer-note, .site-footer p { color: #aebbd0; font-size: .84rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: .86rem; }
.footer-links a { color: #c9d6eb; text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.site-footer code { color: #f5a3c7; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); font-size: .76rem; color: #8294b0; }

/* Admin */
.admin-shell { background: var(--surface-alt); min-height: 70vh; }
.admin-topbar { background: var(--ink); color: #fff; padding: 14px 0; }
.admin-topbar a { color: #d8e4f7; text-decoration: none; font-size: .86rem; }
.admin-topbar strong { color: #fff; }
.admin-nav { display: flex; flex-wrap: wrap; gap: 6px; padding: 14px 0; }
.admin-nav a { border-radius: 10px; padding: 8px 14px; font-size: .85rem; font-weight: 650; color: var(--ink-soft); text-decoration: none; }
.admin-nav a:hover, .admin-nav a.active { background: var(--accent-soft); color: var(--accent); }
.admin-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.stat-card { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 20px; box-shadow: var(--shadow-sm); }
.stat-icon { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-size: 1.2rem; margin-bottom: 12px; }
.stat-value { font-size: 1.8rem; font-weight: 800; line-height: 1; }
.stat-label { font-size: .78rem; color: var(--muted); }
.admin-table { width: 100%; font-size: .85rem; }
.admin-table th { color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .07em; border-bottom: 1px solid var(--line); }
.admin-table td { vertical-align: middle; border-bottom: 1px solid var(--line); }
.admin-table img { width: 52px; height: 52px; object-fit: contain; border-radius: 8px; background: var(--surface-alt); }
.login-card { max-width: 430px; margin: 60px auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 32px; box-shadow: var(--shadow); }

.alert-soft { border-radius: 12px; border: 1px solid #cfe0ff; background: #f2f7ff; color: #174a9e; font-size: .86rem; }
.empty-state { border: 1px dashed var(--line); border-radius: var(--radius); padding: 40px 20px; text-align: center; color: var(--muted); }
.thumbnail-stack { display: flex; gap: 4px; }
.thumbnail-stack img { width: 40px; height: 40px; object-fit: contain; border: 1px solid var(--line); border-radius: 6px; }

@media (max-width: 1199.98px) {
    .header-search { max-width: none; }
    .hero-visual { margin-top: 20px; }
}
@media (max-width: 767.98px) {
    .section { padding: 52px 0; }
    .hero-inner { padding: 44px 0 54px; }
    .hero-proof { gap: 14px; }
    .gallery-main { min-height: 300px; padding: 18px; }
    .gallery-main img { max-height: 330px; }
    .demo-strip { font-size: .7rem; }
    .navbar-brand .brand-copy small { display: none; }
    .product-card .product-title { min-height: 0; }
    .admin-panel { padding: 16px; }
    .table-responsive { overflow-x: auto; }
}
