:root {
  --bg: #06111f;
  --ink: #111827;
  --muted: #6b7280;
  --line: #d7dee8;
  --panel: #ffffff;
  --brand: #00c878;
  --brand-dark: #009e5f;
  --cyan: #19d4f5;
  --accent: #ffd84d;
  --danger: #b42318;
  --shadow: 0 20px 60px rgba(20, 20, 20, .12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: #f8fbff;
  background: var(--bg);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button, input, textarea, select { font: inherit; }

a { color: inherit; text-decoration: none; }

.hidden { display: none !important; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 72px);
  background: rgba(2, 9, 20, .94);
  border-bottom: 1px solid rgba(148, 163, 184, .22);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  flex: 0 0 auto;
  color: #fff;
  background: linear-gradient(135deg, #111827, #23324a);
  border: 2px solid var(--accent);
  border-radius: 8px;
  font-weight: 800;
}

.brand strong, .brand small { display: block; }

.brand small {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: rgba(255,255,255,.88);
  font-weight: 600;
}

.country-strip {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 10px 18px;
  border: 1px solid rgba(148, 163, 184, .42);
  border-radius: 12px;
  background: rgba(8, 18, 34, .72);
  color: #fff;
  font-weight: 800;
  text-transform: uppercase;
}

.country-strip span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  color: #fff;
  background: var(--brand);
  box-shadow: 0 12px 28px rgba(0, 200, 120, .22);
}

.btn-primary:hover { background: var(--brand-dark); }

.btn-light {
  color: #fff;
  background: rgba(255,255,255,.08);
  border-color: rgba(25, 212, 245, .72);
}

.btn-ghost {
  color: var(--brand-dark);
  background: transparent;
  border-color: var(--brand);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: clamp(42px, 8vw, 96px) clamp(18px, 5vw, 72px) 54px;
  color: #fff;
  background:
    radial-gradient(circle at 78% 38%, rgba(23, 124, 180, .68), transparent 34%),
    radial-gradient(circle at 12% 20%, rgba(162, 18, 41, .32), transparent 30%),
    linear-gradient(115deg, #020817 0%, #07182d 48%, #041629 100%);
}

.hero-copy { max-width: 780px; }

.eyebrow {
  display: inline-block;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-code {
  display: block;
  margin-bottom: 16px;
  color: #37e4ff;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 3px;
}

.pill {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 16px;
  color: #07111f;
  background: var(--accent);
  border-radius: 999px;
  font-weight: 900;
}

.hero h1 {
  margin: 16px 0;
  max-width: 800px;
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1.08;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero p {
  max-width: 660px;
  color: rgba(255, 255, 255, .86);
  font-size: 18px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-showcase {
  position: relative;
  min-height: 520px;
  isolation: isolate;
}

.hero-showcase::before {
  content: "";
  position: absolute;
  inset: 40px 20px auto auto;
  width: min(520px, 78%);
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 36px 36px;
  box-shadow: inset 0 0 60px rgba(55, 228, 255, .18), 0 0 120px rgba(25, 212, 245, .16);
  transform: rotate(-12deg);
  z-index: -1;
}

.device {
  position: absolute;
  display: grid;
  align-content: end;
  gap: 6px;
  padding: 18px;
  color: #fff;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 18px;
  background: linear-gradient(145deg, #111827, #030712);
  box-shadow: 0 30px 80px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.2);
}

.device span { color: rgba(255,255,255,.72); font-size: 13px; font-weight: 800; }
.device strong { font-size: 22px; }

.desktop {
  left: 8%;
  top: 46px;
  width: 58%;
  height: 270px;
  border-bottom: 28px solid #273449;
}

.tablet {
  right: 5%;
  top: 102px;
  width: 190px;
  height: 250px;
  background: linear-gradient(145deg, #202f4d, #060b13);
}

.phone {
  width: 94px;
  height: 188px;
  border-radius: 22px;
  background: linear-gradient(160deg, #dbeafe, #111827 48%, #020617);
}

.phone-a { left: 24%; bottom: 108px; }
.phone-b { right: 26%; bottom: 86px; background: linear-gradient(160deg, #1f2937, #020617); }

.watch {
  right: 8%;
  bottom: 112px;
  width: 96px;
  height: 112px;
  border-radius: 28px;
  background: linear-gradient(160deg, #111827, #020617);
}

.price-float {
  position: absolute;
  left: 10%;
  right: 8%;
  bottom: 0;
  padding: 22px;
  text-align: center;
  border: 1px solid rgba(25, 212, 245, .38);
  border-radius: 18px 18px 0 0;
  background: rgba(3, 13, 30, .82);
  backdrop-filter: blur(12px);
}

.price-float small, .price-float span {
  display: block;
  color: rgba(255,255,255,.8);
  font-weight: 800;
}

.price-float strong {
  display: block;
  margin: 6px 0;
  color: var(--accent);
  font-size: clamp(34px, 5vw, 56px);
}

.section {
  padding: 74px clamp(18px, 5vw, 72px);
  background: #f6f8fb;
  color: var(--ink);
}

.section-head {
  max-width: 780px;
  margin-bottom: 28px;
}

.section h2, .pricing-band h2, .split h2 {
  margin: 10px 0;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: 0;
}

.section p, .pricing-band p, .split p {
  color: var(--muted);
  line-height: 1.7;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.product-band {
  background: #fff;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.product-grid article {
  display: grid;
  gap: 8px;
  min-height: 150px;
  padding: 18px;
  align-content: center;
  color: #111827;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 30px;
}

.product-grid strong {
  display: block;
  font-size: 18px;
}

.product-grid span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.feature-card, .record-card, .stat-card {
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature-card h3, .record-card h3, .stat-card h3 { margin: 0 0 8px; }

.feature-card p, .record-card p { margin: 0; color: var(--muted); line-height: 1.55; }

.pricing-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: center;
  padding: 56px clamp(18px, 5vw, 72px);
  background: #171717;
  color: #fff;
}

.pricing-band p { color: rgba(255,255,255,.72); }

.price-box {
  padding: 24px;
  background: #fff;
  color: var(--ink);
  border-radius: 8px;
}

.price-box strong {
  display: block;
  font-size: 36px;
}

.price-box span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
}

.split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.app-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  min-height: 100vh;
  background: #f4f6f5;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  background: #111827;
  color: #fff;
}

.sidebar-brand {
  margin-bottom: 18px;
}

.side-link {
  min-height: 42px;
  padding: 0 12px;
  color: rgba(255,255,255,.74);
  background: transparent;
  border: 0;
  border-radius: 8px;
  text-align: left;
  cursor: pointer;
  font-weight: 700;
}

.side-link:hover, .side-link.active {
  color: #fff;
  background: rgba(255,255,255,.12);
}

.workspace {
  padding: 28px;
  color: var(--ink);
}

.workspace-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.workspace-head h2 {
  margin: 4px 0 0;
  font-size: 32px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.record-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}

.supplier-card {
  padding: 0;
}

.supplier-photo {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: linear-gradient(135deg, #dbeafe, #f8fafc);
}

.supplier-body {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.supplier-data {
  display: grid;
  gap: 6px;
  color: #4b5563;
  font-size: 13px;
  line-height: 1.45;
}

.whatsapp-btn {
  width: 100%;
  color: #fff;
  background: #16a34a;
}

.internal-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
  padding: 24px;
  color: #fff;
  background:
    radial-gradient(circle at right, rgba(25, 212, 245, .24), transparent 32%),
    linear-gradient(135deg, #06111f, #10233f);
  border-radius: 8px;
}

.internal-hero h3 {
  margin: 6px 0;
  font-size: 34px;
}

.internal-hero p {
  margin: 0;
  color: rgba(255,255,255,.78);
}

.expiry-box {
  min-width: 210px;
  padding: 16px;
  color: #111827;
  background: var(--accent);
  border-radius: 8px;
  font-weight: 900;
}

.video-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 8px;
  background: #111827;
}

.record-meta {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.record-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  padding: 0 10px;
  color: var(--brand-dark);
  background: #d9f4ee;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.status-pill.off {
  color: #7a271a;
  background: #fee4e2;
}

.modal {
  width: min(680px, calc(100vw - 28px));
  border: 0;
  border-radius: 8px;
  padding: 0;
  box-shadow: var(--shadow);
}

.modal::backdrop { background: rgba(0,0,0,.52); }

.modal-card {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 28px;
  background: #fff;
}

.modal-card.wide { width: min(860px, calc(100vw - 28px)); }

.modal-card h2 { margin: 0; }

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

input, textarea, select {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

textarea { min-height: 96px; resize: vertical; }

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.form-grid .full { grid-column: 1 / -1; }

.form-actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.helper, .feedback {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.feedback.error { color: var(--danger); }
.feedback.ok { color: var(--brand-dark); }

.empty {
  padding: 28px;
  color: var(--muted);
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: 8px;
}

@media (max-width: 980px) {
  .hero, .pricing-band, .app-shell { grid-template-columns: 1fr; }
  .feature-grid, .cards-grid, .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .country-strip { display: none; }
  .hero-showcase { min-height: 460px; }
  .sidebar {
    position: static;
    height: auto;
  }
}

@media (max-width: 700px) {
  .nav a { display: none; }
  .hero h1 { font-size: 40px; }
  .feature-grid, .cards-grid, .form-grid, .product-grid, .internal-hero { grid-template-columns: 1fr; }
  .split, .workspace-head { align-items: stretch; flex-direction: column; }
  .topbar { padding: 12px 16px; }
  .brand small { display: none; }
  .section, .workspace { padding: 24px 16px; }
  .hero-showcase { min-height: 400px; }
  .desktop { left: 0; width: 72%; }
  .tablet { right: 0; width: 140px; }
}
