/* ==========================================================================
   PROCES — Design Tokens
   Palette: White / Metallic Silver / Black / Anthracite (limited) / Red (critical CTA only)
   Type: System sans, display via weight+tracking contrast (no external font hosting)
   Signature: "Signal" pulse — a live-look GPS ping rendered as concentric rings
   ========================================================================== */

:root{
  --white:      #ffffff;
  --paper:      #fbfbfc;
  --silver-100: #eef0f2;
  --silver-200: #e2e5e9;
  --silver-300: #cdd2d8;
  --silver-500: #9aa1ab;
  --silver-700: #656c76;
  --anthracite: #1e2125;
  --black:      #0a0b0d;
  --black-soft: #111318;
  --red:        #d61f36;
  --red-dark:   #a8152a;

  --line: rgba(10,11,13,0.10);
  --line-on-dark: rgba(255,255,255,0.12);

  --radius-s: 6px;
  --radius-m: 12px;
  --radius-l: 20px;

  --shadow-soft: 0 1px 2px rgba(10,11,13,0.04), 0 8px 24px rgba(10,11,13,0.06);
  --shadow-lift: 0 2px 4px rgba(10,11,13,0.06), 0 16px 40px rgba(10,11,13,0.10);

  --ease: cubic-bezier(.2,.7,.2,1);

  --container: 1240px;

  --font-display: -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-body: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--font-body);
  color: var(--black);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration: none; }
button{ font-family: inherit; cursor:pointer; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4,p{ margin:0; }
input,select,textarea{ font-family: inherit; font-size: 1rem; }

:focus-visible{
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior:auto !important; }
}

.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow{
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--silver-700);
}
.eyebrow--onDark{ color: var(--silver-300); }
.eyebrow--red{ color: var(--red); }

h1, .h1{
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: clamp(2.3rem, 4.6vw, 4rem);
  line-height: 1.04;
}
h2, .h2{
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.015em;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.1;
}
h3, .h3{
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  font-size: 1.25rem;
}
.lede{
  font-size: clamp(1.02rem, 1.3vw, 1.2rem);
  color: var(--silver-700);
  max-width: 46ch;
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding: 14px 26px;
  border-radius: var(--radius-s);
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform .15s var(--ease), background .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
  white-space: nowrap;
}
.btn:active{ transform: translateY(1px); }
.btn-primary{
  background: var(--black);
  color: var(--white);
}
.btn-primary:hover{ background: var(--anthracite); box-shadow: var(--shadow-lift); }
.btn-critical{
  background: var(--red);
  color: var(--white);
}
.btn-critical:hover{ background: var(--red-dark); box-shadow: 0 10px 30px rgba(214,31,54,0.28); }
.btn-ghost{
  background: transparent;
  border-color: var(--silver-300);
  color: var(--black);
}
.btn-ghost:hover{ border-color: var(--black); }
.btn-ghost--onDark{
  border-color: var(--line-on-dark);
  color: var(--white);
}
.btn-ghost--onDark:hover{ border-color: var(--silver-300); }
.btn-block{ width:100%; }
.btn-sm{ padding: 10px 18px; font-size: 0.85rem; }

/* ---------- Top Nav (desktop) ---------- */
.topnav{
  position: sticky;
  top:0;
  z-index: 100;
  background: rgba(251,251,252,0.82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.topnav .row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height: 76px;
}
.logo{
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.logo .dot{ color: var(--red); }
.navlinks{
  display:flex;
  align-items:center;
  gap: 30px;
}
.navlinks a{
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--black);
  opacity: 0.78;
  transition: opacity .15s var(--ease);
}
.navlinks a:hover, .navlinks a.active{ opacity:1; }
.navcta{ display:flex; align-items:center; gap:12px; }
.navtoggle{ display:none; }

@media (max-width: 900px){
  .navlinks, .navcta .btn-ghost{ display:none; }
  .navtoggle{ display:flex; }
}

/* ---------- Bottom Tab Bar (mobile) ---------- */
.tabbar{
  display:none;
}
@media (max-width: 900px){
  .tabbar{
    display:flex;
    position: fixed;
    left:0; right:0; bottom:0;
    z-index: 200;
    background: rgba(10,11,13,0.94);
    backdrop-filter: blur(14px);
    border-top: 1px solid var(--line-on-dark);
    padding: 8px 6px calc(8px + env(safe-area-inset-bottom));
    justify-content: space-between;
  }
  .tabbar a{
    flex:1;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:4px;
    padding: 6px 2px;
    color: var(--silver-500);
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: var(--radius-s);
  }
  .tabbar a svg{ width:22px; height:22px; }
  .tabbar a.active{ color: var(--white); }
  .tabbar a.active svg{ filter: drop-shadow(0 0 6px rgba(214,31,54,0.5)); }
  body{ padding-bottom: 76px; }
}

/* ---------- Hero ---------- */
.hero{
  background: var(--black);
  color: var(--white);
  position:relative;
  overflow:hidden;
  padding: 70px 0 90px;
}
.hero::before{
  content:"";
  position:absolute; inset:0;
  background:
    radial-gradient(600px 300px at 85% 10%, rgba(255,255,255,0.05), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.03), transparent 30%);
  pointer-events:none;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items:center;
  position:relative;
  z-index:1;
}
@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
}
.hero h1{ margin: 18px 0 20px; }
.hero .lede{ color: var(--silver-300); max-width: 50ch; }
.hero-ctas{
  display:flex;
  flex-wrap:wrap;
  gap: 12px;
  margin-top: 30px;
}
.hero-links{
  display:flex;
  gap:20px;
  margin-top: 22px;
  flex-wrap:wrap;
}
.hero-links a{
  font-size: 0.85rem;
  color: var(--silver-300);
  border-bottom: 1px solid var(--line-on-dark);
  padding-bottom: 2px;
}
.hero-links a:hover{ color: var(--white); border-color: var(--silver-300); }

/* Signature signal panel */
.signal-panel{
  position:relative;
  border-radius: var(--radius-l);
  border: 1px solid var(--line-on-dark);
  background: linear-gradient(160deg, rgba(255,255,255,0.045), rgba(255,255,255,0.01));
  padding: 26px;
  min-height: 380px;
}
.signal-panel .telemetry{
  position:absolute;
  top:22px; left:22px; right:22px;
  display:flex;
  justify-content:space-between;
  font-family: var(--font-display);
}
.telemetry .stat{ }
.telemetry .stat .num{ font-size:1.2rem; font-weight:700; }
.telemetry .stat .lbl{ font-size:0.62rem; letter-spacing:0.14em; text-transform:uppercase; color: var(--silver-500); }
.signal-map{ width:100%; height:100%; display:block; }
.signal-caption{
  position:absolute; bottom:20px; left:26px; right:26px;
  display:flex; justify-content:space-between; align-items:center;
}
.signal-caption .live{
  display:flex; align-items:center; gap:8px;
  font-size:0.72rem; letter-spacing:0.1em; text-transform:uppercase; color: var(--silver-300);
}
.live-dot{
  width:8px; height:8px; border-radius:50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(214,31,54,0.7);
  animation: livepulse 1.8s infinite;
}
@keyframes livepulse{
  0%{ box-shadow: 0 0 0 0 rgba(214,31,54,0.55); }
  70%{ box-shadow: 0 0 0 10px rgba(214,31,54,0); }
  100%{ box-shadow: 0 0 0 0 rgba(214,31,54,0); }
}
.ping{ transform-origin: center; animation: pingring 2.4s var(--ease) infinite; }
.ping.d2{ animation-delay: .6s; }
.ping.d3{ animation-delay: 1.2s; }
@keyframes pingring{
  0%{ r:4; opacity:0.9; }
  100%{ r:60; opacity:0; }
}

/* ---------- Section scaffolding ---------- */
section{ padding: 84px 0; }
.section-head{
  max-width: 640px;
  margin-bottom: 46px;
}
.section-head h2{ margin-top:12px; }
.section-head .lede{ margin-top:14px; }

.section-dark{
  background: var(--black);
  color: var(--white);
}
.section-dark .lede{ color: var(--silver-300); }
.section-dark .eyebrow{ color: var(--silver-300); }

.section-tint{
  background: var(--silver-100);
}

/* ---------- Cards ---------- */
.grid{
  display:grid;
  gap: 20px;
}
.grid-3{ grid-template-columns: repeat(3,1fr); }
.grid-4{ grid-template-columns: repeat(4,1fr); }
.grid-2{ grid-template-columns: repeat(2,1fr); }
@media (max-width: 980px){
  .grid-3, .grid-4{ grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 640px){
  .grid-3, .grid-4, .grid-2{ grid-template-columns: 1fr; }
}

.card{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 26px;
  box-shadow: var(--shadow-soft);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.card:hover{ transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: var(--silver-300); }
.card .icon{
  width:44px; height:44px;
  border-radius: 10px;
  background: var(--black);
  color: var(--white);
  display:flex; align-items:center; justify-content:center;
  margin-bottom: 18px;
}
.card h3{ margin-bottom: 10px; }
.card p{ color: var(--silver-700); font-size: 0.92rem; }

.card--dark{
  background: var(--anthracite);
  border-color: var(--line-on-dark);
  color: var(--white);
}
.card--dark p{ color: var(--silver-300); }
.card--dark .icon{ background: var(--white); color: var(--black); }

.chip-row{ display:flex; flex-wrap:wrap; gap:10px; margin-top: 14px; }
.chip{
  font-size: 0.72rem;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--silver-300);
  color: var(--silver-700);
  background: var(--white);
}

/* Quick advantages strip */
.advstrip{
  display:grid;
  grid-template-columns: repeat(4,1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  overflow:hidden;
}
.advstrip .adv{
  background: var(--white);
  padding: 22px 20px;
  font-size: 0.86rem;
}
.advstrip .adv b{ display:block; font-family: var(--font-display); font-size: 0.95rem; margin-bottom:6px; }
@media (max-width: 980px){ .advstrip{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px){ .advstrip{ grid-template-columns: 1fr; } }

/* ---------- Product cards ---------- */
.product-card{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  overflow:hidden;
  box-shadow: var(--shadow-soft);
  display:flex; flex-direction:column;
}
.product-media{
  aspect-ratio: 4/3;
  background: linear-gradient(150deg, var(--silver-100), var(--silver-200));
  display:flex; align-items:center; justify-content:center;
  color: var(--silver-500);
}
.product-body{ padding: 20px; display:flex; flex-direction:column; gap:10px; flex:1; }
.product-tags{ display:flex; flex-wrap:wrap; gap:6px; }
.product-tags .chip{ font-size:0.65rem; padding: 4px 9px; }
.product-specs{
  display:grid; grid-template-columns: 1fr 1fr; gap: 6px 14px;
  font-size: 0.78rem; color: var(--silver-700);
  padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.product-specs span b{ color: var(--black); font-weight:600; }
.product-price{ display:flex; justify-content:space-between; align-items:baseline; font-size:0.85rem; }
.product-price b{ font-family: var(--font-display); font-size: 1.05rem; }
.product-actions{ display:flex; gap:8px; margin-top:6px; }
.product-actions .btn{ flex:1; padding: 11px 10px; font-size:0.82rem; }

/* ---------- Comparison table ---------- */
.compare{
  width:100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius-m);
  overflow:hidden;
  box-shadow: var(--shadow-soft);
}
.compare th, .compare td{
  padding: 16px 20px;
  text-align:left;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}
.compare thead th{
  font-family: var(--font-display);
  background: var(--black);
  color: var(--white);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.compare tbody tr:last-child td{ border-bottom:none; }
.compare tbody tr:hover{ background: var(--silver-100); }
.compare-wrap{ overflow-x:auto; }

/* ---------- Forms ---------- */
.form-card{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 36px;
  box-shadow: var(--shadow-soft);
}
.form-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-grid .full{ grid-column: 1/-1; }
@media (max-width: 720px){ .form-grid{ grid-template-columns: 1fr; } }

.field label{
  display:block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--black);
}
.field input, .field select, .field textarea{
  width:100%;
  padding: 12px 14px;
  border: 1px solid var(--silver-300);
  border-radius: var(--radius-s);
  background: var(--paper);
  color: var(--black);
  transition: border-color .15s var(--ease), background .15s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus{
  border-color: var(--black);
  background: var(--white);
}
.field textarea{ resize: vertical; min-height: 100px; }
.field-check{
  display:flex; align-items:flex-start; gap:10px;
  font-size: 0.82rem; color: var(--silver-700);
}
.field-check input{ width:auto; margin-top:3px; }
.form-foot{
  display:flex; align-items:center; justify-content:space-between;
  margin-top: 26px; flex-wrap:wrap; gap:14px;
}
.form-note{ font-size:0.78rem; color:var(--silver-700); }

.form-success{
  display:none;
  padding: 22px;
  border-radius: var(--radius-m);
  background: #eef8ef;
  border: 1px solid #bfe3c2;
  color: #1c5c26;
  font-size: 0.92rem;
  margin-top: 20px;
}
.form-success.show{ display:block; }

/* ---------- FAQ ---------- */
.faq-item{
  border-bottom: 1px solid var(--line);
}
.faq-q{
  width:100%;
  display:flex; align-items:center; justify-content:space-between;
  padding: 20px 4px;
  background:none; border:none;
  text-align:left;
  font-family: var(--font-display);
  font-weight:600;
  font-size: 0.98rem;
  color: var(--black);
}
.faq-q .plus{
  font-size:1.3rem; color: var(--silver-500);
  transition: transform .2s var(--ease);
}
.faq-item.open .plus{ transform: rotate(45deg); color: var(--red); }
.faq-a{
  max-height:0;
  overflow:hidden;
  transition: max-height .28s var(--ease);
  color: var(--silver-700);
  font-size: 0.92rem;
}
.faq-a p{ padding: 0 4px 20px; }
.faq-note{
  margin-top: 14px; padding: 16px 18px;
  background: var(--silver-100);
  border-radius: var(--radius-s);
  font-size: 0.85rem;
  color: var(--silver-700);
  border-left: 3px solid var(--red);
}

/* ---------- Phone mockups ---------- */
.phone{
  width: 220px;
  border-radius: 30px;
  background: var(--black);
  padding: 10px;
  box-shadow: var(--shadow-lift);
  border: 1px solid var(--line-on-dark);
}
.phone .screen{
  background: linear-gradient(160deg, var(--anthracite), var(--black));
  border-radius: 22px;
  aspect-ratio: 9/19.5;
  display:flex; flex-direction:column;
  padding: 16px 14px;
  color: var(--white);
  overflow:hidden;
}
.phone .screen .tag{
  font-size:0.6rem; letter-spacing:0.1em; text-transform:uppercase; color: var(--silver-500);
}
.phone .screen h4{ font-size:0.95rem; margin: 8px 0 12px; font-family: var(--font-display); }
.phone-row{
  display:flex; gap:22px; overflow-x:auto; padding: 10px 4px 20px;
}

/* ---------- Calculator ---------- */
.calc-card{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 32px;
  box-shadow: var(--shadow-soft);
}
.calc-result{
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius-m);
  padding: 26px;
  display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:16px;
}
.calc-result .amount{ font-family: var(--font-display); font-size: 2.1rem; font-weight:700; }
.calc-result .amount span{ font-size:1rem; color: var(--silver-500); font-weight:500; }

/* ---------- Footer ---------- */
.footer{
  background: var(--black);
  color: var(--silver-300);
  padding: 64px 0 30px;
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line-on-dark);
}
@media (max-width: 780px){ .footer-grid{ grid-template-columns: 1fr 1fr; } }
.footer h4{
  color: var(--white); font-family: var(--font-display);
  font-size: 0.85rem; letter-spacing:0.06em; text-transform:uppercase; margin-bottom:16px;
}
.footer ul li{ margin-bottom:10px; font-size:0.86rem; }
.footer ul li a:hover{ color: var(--white); }
.footer-bottom{
  display:flex; justify-content:space-between; align-items:center;
  padding-top: 24px; font-size: 0.78rem; flex-wrap:wrap; gap:12px;
}

/* ---------- Whatsapp float ---------- */
.wa-float{
  position: fixed; right: 22px; bottom: 22px; z-index: 150;
  width: 56px; height:56px; border-radius:50%;
  background: var(--red);
  color:#fff; display:flex; align-items:center; justify-content:center;
  box-shadow: var(--shadow-lift);
}
@media (max-width: 900px){ .wa-float{ bottom: 90px; } }

/* ---------- Utility ---------- */
.mt-8{ margin-top:8px;} .mt-16{ margin-top:16px;} .mt-24{ margin-top:24px;} .mt-40{ margin-top:40px;}
.flex{ display:flex; } .items-center{ align-items:center; } .gap-12{ gap:12px; }
.text-center{ text-align:center; }
.badge-row{ display:flex; flex-wrap:wrap; gap:24px; margin-top:34px; opacity:0.85; }
.badge-row .b{ font-size:0.74rem; letter-spacing:0.06em; text-transform:uppercase; color: var(--silver-500); }

/* Page header (sub pages) */
.pagehead{
  background: var(--black);
  color: var(--white);
  padding: 56px 0 60px;
}
.pagehead .lede{ color: var(--silver-300); margin-top:12px; }
.crumb{ font-size:0.78rem; color: var(--silver-500); }
.crumb a:hover{ color: var(--white); }

/* Panel (admin) */
.panel-shell{ display:grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.panel-side{ background: var(--black); color: var(--white); padding: 26px 18px; }
.panel-side .logo{ margin-bottom: 30px; display:block; }
.panel-side nav a{
  display:flex; align-items:center; gap:10px;
  padding: 11px 12px; border-radius: var(--radius-s);
  font-size: 0.86rem; color: var(--silver-300); margin-bottom:4px;
}
.panel-side nav a:hover{ background: rgba(255,255,255,0.06); color:#fff; }
.panel-side nav a.active{ background: var(--white); color: var(--black); font-weight:600; }
.panel-main{ background: var(--silver-100); padding: 34px 36px; }
.panel-topbar{ display:flex; justify-content:space-between; align-items:center; margin-bottom:26px; }
.panel-cards{ display:grid; grid-template-columns: repeat(4,1fr); gap:18px; margin-bottom:28px; }
@media (max-width: 980px){ .panel-shell{ grid-template-columns: 1fr; } .panel-side{ display:none; } .panel-cards{ grid-template-columns: repeat(2,1fr); } }
.stat-card{ background:#fff; border:1px solid var(--line); border-radius: var(--radius-m); padding:20px; }
.stat-card .num{ font-family: var(--font-display); font-size:1.6rem; font-weight:700; }
.stat-card .lbl{ font-size:0.78rem; color:var(--silver-700); margin-top:4px; }
.panel-table-card{ background:#fff; border:1px solid var(--line); border-radius: var(--radius-m); padding: 22px; margin-bottom:22px; }
.panel-table-card h3{ margin-bottom:16px; }
.mini-table{ width:100%; border-collapse:collapse; }
.mini-table th, .mini-table td{ text-align:left; padding:10px 12px; font-size:0.84rem; border-bottom:1px solid var(--line); }
.mini-table th{ color: var(--silver-700); font-weight:600; font-size:0.72rem; text-transform:uppercase; letter-spacing:0.05em; }
.status{ font-size:0.72rem; padding:3px 9px; border-radius:999px; font-weight:600; }
.status.new{ background:#fdecea; color: var(--red-dark); }
.status.progress{ background:#fff6dd; color:#8a6d00; }
.status.done{ background:#eaf7ec; color:#1c5c26; }

/* ==========================================================================
   Mega menu (dropdown nav groups)
   ========================================================================== */
.navdrop{ position:relative; }
.navdrop-trigger{
  display:flex; align-items:center; gap:6px;
  background:none; border:none;
  font-size: 0.9rem; font-weight:500;
  color: var(--black);
  opacity:0.78;
  padding: 0;
  font-family: inherit;
  transition: opacity .15s var(--ease);
}
.navdrop-trigger .chev{ opacity:0.6; transition: transform .2s var(--ease); }
.navdrop-trigger:hover, .navdrop-trigger.active-group{ opacity:1; }
.navdrop:hover .navdrop-trigger .chev, .navdrop.open .navdrop-trigger .chev{ transform: rotate(180deg); }

.navdrop-panel{
  position:absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translate(-50%, -8px);
  min-width: 260px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-lift);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  z-index: 120;
}
.navdrop:hover .navdrop-panel,
.navdrop.open .navdrop-panel{
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.navdrop-panel a{
  display:flex; flex-direction:column; gap:2px;
  padding: 12px 14px;
  border-radius: var(--radius-s);
  transition: background .15s var(--ease);
}
.navdrop-panel a:hover, .navdrop-panel a.current{ background: var(--silver-100); }
.navdrop-panel a b{ font-size: 0.88rem; font-weight:600; }
.navdrop-panel a span{ font-size: 0.76rem; color: var(--silver-700); }

/* ==========================================================================
   Payment badges
   ========================================================================== */
.payment-badges{ display:flex; flex-wrap:wrap; gap:8px; }
.pay-badge{
  display:inline-flex; align-items:center;
  padding: 6px 12px;
  border-radius: var(--radius-s);
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--line-on-dark);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.pay-badge--outline{
  background: transparent;
  color: var(--silver-300);
  font-weight: 600;
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
[data-reveal]{
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
[data-reveal].in-view{
  opacity: 1;
  transform: translateY(0);
}
[data-reveal-stagger] > *{
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
[data-reveal-stagger].in-view > *{
  opacity: 1;
  transform: translateY(0);
}
[data-reveal-stagger].in-view > *:nth-child(1){ transition-delay: .02s; }
[data-reveal-stagger].in-view > *:nth-child(2){ transition-delay: .08s; }
[data-reveal-stagger].in-view > *:nth-child(3){ transition-delay: .14s; }
[data-reveal-stagger].in-view > *:nth-child(4){ transition-delay: .20s; }
[data-reveal-stagger].in-view > *:nth-child(5){ transition-delay: .26s; }
[data-reveal-stagger].in-view > *:nth-child(6){ transition-delay: .32s; }
[data-reveal-stagger].in-view > *:nth-child(7){ transition-delay: .38s; }
[data-reveal-stagger].in-view > *:nth-child(8){ transition-delay: .44s; }

@media (prefers-reduced-motion: reduce){
  [data-reveal], [data-reveal-stagger] > *{ opacity:1 !important; transform:none !important; }
}

/* ==========================================================================
   Live stats strip (homepage — Traccar live data)
   ========================================================================== */
.livestats{
  padding: 8px;
  display:grid;
  grid-template-columns: repeat(5,1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
}
.livestats .ls-item{
  background: var(--black);
  padding: 24px 20px;
  text-align:center;
}
.livestats .ls-num{
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--white);
  display:flex; align-items:center; justify-content:center; gap:8px;
}
.livestats .ls-num .live-dot-sm{
  width:7px; height:7px; border-radius:50%;
  background: var(--red);
  animation: livepulse 1.8s infinite;
}
.livestats .ls-lbl{
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--silver-500);
  margin-top: 6px;
}
@media (max-width: 900px){
  .livestats{ grid-template-columns: repeat(2,1fr); }
}

/* count-up number animation helper */
.count-up{ transition: none; }

/* ==========================================================================
   Sector marquee (chip row motion)
   ========================================================================== */
.marquee{
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track{
  display:flex;
  gap: 12px;
  width: max-content;
  animation: marquee-scroll 26s linear infinite;
}
.marquee:hover .marquee-track{ animation-play-state: paused; }
@keyframes marquee-scroll{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce){
  .marquee-track{ animation: none; }
}

/* ==========================================================================
   Pricing engine (tiered install + monthly plan selector)
   ========================================================================== */
.plan-grid{
  display:grid;
  grid-template-columns: repeat(3,1fr);
  gap: 14px;
}
@media (max-width: 900px){ .plan-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px){ .plan-grid{ grid-template-columns: 1fr; } }

.plan-card{
  position:relative;
  border: 1px solid var(--silver-300);
  border-radius: var(--radius-m);
  padding: 18px 16px;
  cursor:pointer;
  background: var(--white);
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease), transform .15s var(--ease);
}
.plan-card:hover{ transform: translateY(-2px); }
.plan-card input{ position:absolute; opacity:0; pointer-events:none; }
.plan-card .plan-top{ display:flex; justify-content:space-between; align-items:baseline; }
.plan-card .plan-pesinat{ font-family: var(--font-display); font-weight:700; font-size:1.15rem; }
.plan-card .plan-aylik{ font-size: 0.8rem; color: var(--silver-700); margin-top:6px; }
.plan-card .plan-tag{
  display:inline-block; margin-top:10px;
  font-size: 0.66rem; letter-spacing:0.05em; text-transform:uppercase;
  padding: 3px 8px; border-radius:999px;
  background: var(--silver-100); color: var(--silver-700);
}
.plan-card.selected{
  border-color: var(--black);
  box-shadow: 0 0 0 2px var(--black);
}
.plan-card.selected .plan-tag{ background: var(--black); color:#fff; }
.plan-card.plan-own{ border-style: dashed; }
.plan-card.plan-own .plan-tag{ background: var(--red); color:#fff; }

.spec-table{
  width:100%; border-collapse:collapse;
}
.spec-table td{
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.88rem;
}
.spec-table td:first-child{ color: var(--silver-700); width:46%; }
.spec-table td:last-child{ font-weight:600; }

/* ==========================================================================
   Live stats loading state
   ========================================================================== */
.livestats-wrap{
  position: relative;
  background: var(--black);
  border-radius: var(--radius-l);
  border: 1px solid var(--line-on-dark);
  overflow: hidden;
}
.livestats-loading{
  position: absolute;
  inset: 0;
  z-index: 5;
  background: var(--black);
  border-radius: var(--radius-l);
  border: 1px solid var(--line-on-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  transition: opacity .4s var(--ease), visibility .4s;
}
.livestats-loading p{
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--silver-500);
}
.livestats-loading-bar{
  width: 180px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  overflow: hidden;
  position: relative;
}
.livestats-loading-bar::after{
  content: "";
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  width: 40%;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  animation: livestats-sweep 1.3s ease-in-out infinite;
}
@keyframes livestats-sweep{
  0%{ transform: translateX(-100%); }
  100%{ transform: translateX(350%); }
}
.livestats-loading.done{
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce){
  .livestats-loading-bar::after{ animation: none; left: 0; width: 100%; opacity: 0.4; }
}

/* ==========================================================================
   Server status — modern circular ring gauges + last-updated line
   ========================================================================== */
.server-status{
  border-top: 1px solid var(--line-on-dark);
  padding: 22px 20px 8px;
}
.server-status-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.server-status-head .eyebrow{ margin: 0; }
.server-status-head .live{
  display:flex; align-items:center; gap:8px;
  font-size:0.7rem; letter-spacing:0.08em; text-transform:uppercase; color: var(--silver-500);
}
.gauge-row{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 700px){
  .gauge-row{ grid-template-columns: 1fr; }
}
.gauge{
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line-on-dark);
  border-radius: var(--radius-m);
  padding: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.gauge:hover{ border-color: var(--silver-500); transform: translateY(-2px); }
.gauge-ring{
  position: relative;
  width: 108px;
  height: 108px;
}
.gauge-ring svg{ width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge-ring .ring-bg{
  fill: none;
  stroke: rgba(255,255,255,0.08);
  stroke-width: 8;
}
.gauge-ring .ring-fill{
  fill: none;
  stroke: var(--white);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 263.9;
  stroke-dashoffset: 263.9;
  transition: stroke-dashoffset 1s var(--ease), stroke .3s var(--ease);
}
.gauge-ring .ring-fill.warn{ stroke: #e0a300; }
.gauge-ring .ring-fill.crit{ stroke: var(--red); }
.gauge-ring .ring-center{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.gauge-ring .ring-pct{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
}
.gauge-label{
  margin-top: 12px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--silver-300);
}
.gauge-sub{
  margin-top: 4px;
  font-size: 0.68rem;
  color: var(--silver-500);
}
.ls-updated{
  text-align: right;
  padding: 14px 20px 16px;
  font-size: 0.72rem;
  color: var(--silver-500);
}

/* ==========================================================================
   Trend chart (historical performance)
   ========================================================================== */
.trend-panel{
  margin-top: 16px;
}
.trend-head{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.trend-range{
  display: flex;
  gap: 6px;
}
.trend-range button{
  background: transparent;
  border: 1px solid var(--silver-300);
  color: var(--silver-700);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  transition: all .15s var(--ease);
}
.trend-range button.active{
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.trend-chart-wrap{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 20px;
  box-shadow: var(--shadow-soft);
}
.trend-chart-wrap svg{ width: 100%; height: auto; display: block; }
.trend-empty{
  text-align: center;
  padding: 30px 10px;
  font-size: 0.86rem;
  color: var(--silver-700);
}
.trend-legend{
  display: flex;
  gap: 18px;
  margin-top: 12px;
  font-size: 0.76rem;
  color: var(--silver-700);
}
.trend-legend span{ display:flex; align-items:center; gap:6px; }
.trend-legend .dot{ width:8px; height:8px; border-radius:50%; }

/* ==========================================================================
   3D depth pass — tilt-on-hover cards, layered shadows, hero parallax
   ========================================================================== */
.tilt-3d{
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform .28s cubic-bezier(.2,.7,.2,1), box-shadow .28s cubic-bezier(.2,.7,.2,1);
}
.tilt-3d.tilt-active{ transition: transform .05s linear; }
.tilt-3d:hover{
  box-shadow: 0 2px 6px rgba(10,11,13,0.08), 0 24px 48px -12px rgba(10,11,13,0.22);
}

/* Elevated, layered shadow language for buttons — simulated light source from above */
.btn-primary, .btn-critical{
  box-shadow: 0 1px 0 rgba(255,255,255,0.08) inset, 0 1px 2px rgba(10,11,13,0.15), 0 8px 18px -6px rgba(10,11,13,0.3);
}
.btn-primary:active, .btn-critical:active{
  box-shadow: 0 1px 2px rgba(10,11,13,0.2) inset;
  transform: translateY(2px);
}

/* Card top-edge highlight to fake a light source, reinforcing depth */
.card, .product-card, .plan-card{
  position: relative;
}
.card::before, .product-card::before, .plan-card::before{
  content: "";
  position: absolute;
  top: 0; left: 12px; right: 12px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.9), transparent);
  pointer-events: none;
  border-radius: 999px;
}

/* Hero signal panel: extra depth layering */
.signal-panel{
  box-shadow: 0 2px 4px rgba(0,0,0,0.3), 0 30px 60px -20px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.03) inset;
  will-change: transform;
}

/* Ring gauges get a touch of depth too */
.gauge-ring{ filter: drop-shadow(0 6px 14px rgba(0,0,0,0.35)); }

@media (prefers-reduced-motion: reduce), (hover: none){
  .tilt-3d{ transition: none; }
}

/* ==========================================================================
   Portal — auth screens (login / register / password reset)
   ========================================================================== */
.auth-shell{
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black);
  padding: 24px;
}
.auth-card{
  width: 100%;
  max-width: 440px;
  background: var(--white);
  border-radius: var(--radius-l);
  padding: 40px 36px;
  box-shadow: var(--shadow-lift);
}
.auth-card .logo{ display:block; margin-bottom: 26px; }
.auth-card h1{ font-size: 1.5rem; margin-bottom: 6px; }
.auth-card .lede{ font-size: 0.9rem; margin-bottom: 26px; }
.auth-alert{
  padding: 12px 14px;
  border-radius: var(--radius-s);
  font-size: 0.86rem;
  margin-bottom: 18px;
}
.auth-alert.error{ background:#fdecea; color:var(--red-dark); border:1px solid #f3c1c8; }
.auth-alert.success{ background:#eef8ef; color:#1c5c26; border:1px solid #bfe3c2; }
.auth-foot{
  margin-top: 22px;
  font-size: 0.86rem;
  color: var(--silver-700);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.portal-topbar{
  display:flex; align-items:center; justify-content:space-between;
  padding: 18px 28px; border-bottom: 1px solid var(--line);
  background: var(--white);
}
.portal-shell{ min-height: 100vh; background: var(--paper); }
.portal-main{ max-width: 1100px; margin: 0 auto; padding: 32px 24px; }
.status-pill{
  display:inline-flex; align-items:center; gap:6px;
  font-size:0.72rem; font-weight:600; padding:4px 10px; border-radius:999px;
}
.status-pill.wait{ background:#fff6dd; color:#8a6d00; }
.status-pill.active{ background:#eaf7ec; color:#1c5c26; }
.status-pill.rejected{ background:#fdecea; color:var(--red-dark); }

/* ==========================================================================
   Portal — categorized document upload (mobile-friendly)
   ========================================================================== */
.doc-category-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
@media (max-width: 480px){
  .doc-category-grid{ grid-template-columns: repeat(2, 1fr); }
}
.doc-cat{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px 8px;
  border: 1px solid var(--silver-300);
  border-radius: var(--radius-s);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .15s var(--ease), background .15s var(--ease);
}
.doc-cat input{ position: absolute; opacity: 0; }
.doc-cat:has(input:checked){
  border-color: var(--black);
  background: var(--silver-100);
}

.doc-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
@media (max-width: 560px){
  .doc-grid{ grid-template-columns: repeat(2, 1fr); }
}
.doc-thumb{
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  overflow: hidden;
  text-decoration: none;
  color: var(--black);
  background: var(--white);
  transition: transform .15s var(--ease), box-shadow .15s var(--ease);
}
.doc-thumb:hover{ transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.doc-thumb img{
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}
.doc-thumb-pdf{
  width: 100%;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--silver-100);
  color: var(--silver-700);
  font-weight: 700;
  font-size: 0.8rem;
}
.doc-thumb span{
  padding: 8px;
  font-size: 0.72rem;
  color: var(--silver-700);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==========================================================================
   Portal — guided camera capture (ruhsat alignment frame)
   ========================================================================== */
.cam-trigger{
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}
.cam-modal{
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(10,11,13,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 20px;
}
.cam-modal.open{ display: flex; }
.cam-video-wrap{
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1.586 / 1; /* standart kart oranı */
  border-radius: var(--radius-m);
  overflow: hidden;
  background: #000;
}
.cam-video-wrap video{
  width: 100%; height: 100%; object-fit: cover;
}
.cam-guide{
  position: absolute;
  inset: 14px;
  border: 2px dashed rgba(255,255,255,0.85);
  border-radius: 10px;
  pointer-events: none;
}
.cam-hint{
  color: var(--silver-300);
  font-size: 0.82rem;
  text-align: center;
  margin-top: 16px;
  max-width: 400px;
}
.cam-actions{
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.cam-canvas{ display: none; }

/* ==========================================================================
   Portal — Bakım/Tamir/Masraf timeline
   ========================================================================== */
.timeline{
  position: relative;
  padding-left: 34px;
}
.timeline::before{
  content: "";
  position: absolute;
  left: 15px; top: 6px; bottom: 6px;
  width: 2px;
  background: var(--line);
}
.timeline-item{
  position: relative;
  margin-bottom: 18px;
}
.timeline-dot{
  position: absolute;
  left: -34px; top: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  box-shadow: var(--shadow-soft);
}
.timeline-body{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  padding: 14px 16px;
}

/* ==========================================================================
   Portal — visual consistency pass (matches main site language)
   ========================================================================== */
.portal-topbar{
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251,251,252,0.82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
  padding: 16px 24px;
}
.portal-footer{
  background: var(--black);
  color: var(--silver-500);
  padding: 22px 24px;
  margin-top: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.76rem;
}
.portal-footer .logo{ color: var(--white); font-size: 0.95rem; }

.icon-chip{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px; height: 20px;
  vertical-align: -5px;
  margin-right: 4px;
}
.icon-chip svg{ width: 100%; height: 100%; }

.timeline-dot svg{ width: 15px; height: 15px; }

/* Custom file picker (replaces raw browser file input chrome) */
.file-picker{
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  border: 1px solid var(--silver-300);
  border-radius: var(--radius-s);
  padding: 10px 12px;
  background: var(--paper);
}
.file-picker-btn{ flex-shrink: 0; }
.file-picker-name{
  font-size: 0.84rem;
  color: var(--silver-700);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ==========================================================================
   Portal — app shell: bottom tab bar (mobile) vs top nav (desktop)
   ========================================================================== */
.portal-topbar-nav{
  display: flex;
  align-items: center;
  gap: 22px;
}
.portal-topbar-nav a{
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--black);
  opacity: 0.72;
  transition: opacity .15s var(--ease);
}
.portal-topbar-nav a.active, .portal-topbar-nav a:hover{ opacity: 1; }

.portal-tabbar{ display: none; }

@media (max-width: 900px){
  .portal-topbar-nav{ display: none; }
  .portal-shell{ padding-bottom: 82px; }
  .portal-footer{ display: none; }

  .portal-tabbar{
    display: flex;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 200;
    background: rgba(10,11,13,0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--line-on-dark);
    padding: 8px 6px calc(8px + env(safe-area-inset-bottom));
    justify-content: space-between;
  }
  .portal-tabbar a{
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 6px 2px;
    color: var(--silver-500);
    font-size: 0.64rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    border-radius: var(--radius-s);
  }
  .portal-tabbar a svg{ width: 22px; height: 22px; }
  .portal-tabbar a.active{ color: var(--white); }
  .portal-tabbar a.active svg{ filter: drop-shadow(0 0 6px rgba(214,31,54,0.5)); }
}
