/* ─────────────────────────────────────────────────────────────
   DINI APPS — global styles
   ───────────────────────────────────────────────────────────── */

:root {
  --accent: #39ff14;
  --accent-soft: rgba(57, 255, 20, 0.14);
  --accent-glow: 0 0 0 1px rgba(57, 255, 20, 0.3), 0 8px 32px -8px rgba(57, 255, 20, 0.45);

  /* dark theme defaults */
  --bg: #050706;
  --bg-1: #0a0d0b;
  --bg-2: #0e1311;
  --bg-3: #141a17;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --ink: #f3f6f4;
  --ink-2: #c9d0cc;
  --ink-3: #8a9290;
  --ink-4: #5a615f;

  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 28px;

  /* density (overridden on body[data-density]) */
  --pad-section: 120px;
  --gap-card: 22px;
  --pad-card: 28px;

  --font-display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Geist", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

[data-theme="light"] {
  --bg: #fbfdfc;
  --bg-1: #f3f6f4;
  --bg-2: #ebf0ed;
  --bg-3: #e3e9e5;
  --line: rgba(15, 23, 19, 0.08);
  --line-2: rgba(15, 23, 19, 0.14);
  --ink: #0c1410;
  --ink-2: #2a3530;
  --ink-3: #5a655f;
  --ink-4: #8a948f;
  --accent-glow: 0 0 0 1px rgba(57, 255, 20, 0.45), 0 6px 24px -8px rgba(57, 255, 20, 0.6);
}

[data-density="compact"] {
  --pad-section: 80px;
  --gap-card: 14px;
  --pad-card: 20px;
}
[data-density="comfy"] {
  --pad-section: 160px;
  --gap-card: 28px;
  --pad-card: 36px;
}

* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* Selection */
::selection { background: var(--accent); color: #050706; }

/* Subtle global background grain + radial */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, var(--accent-soft) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(57, 255, 20, 0.06) 0%, transparent 60%);
  opacity: 0.9;
}

[data-theme="light"] body::before {
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(57, 255, 20, 0.18) 0%, transparent 60%);
  opacity: 1;
}

/* ─── Layout ───────────────────────────────────────────── */
.shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}

section {
  position: relative;
  padding: var(--pad-section) 0;
}

@media (max-width: 720px) {
  :root { --pad-section: 80px; }
  .shell { padding: 0 20px; }
}

/* ─── Typography ───────────────────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-self: flex-start;
  width: fit-content;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  font: 500 12px/1 var(--font-mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-2);
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}

.h-display {
  font-size: clamp(44px, 7vw, 88px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.98;
}
.h-section {
  font-size: clamp(32px, 4.4vw, 56px);
  font-weight: 500;
  letter-spacing: -0.03em;
}
.h-card {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

p { margin: 0; }
.lede {
  color: var(--ink-2);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
  max-width: 60ch;
  text-wrap: pretty;
}

.muted { color: var(--ink-3); }
.mono { font-family: var(--font-mono); letter-spacing: 0; }
.accent { color: var(--accent); }

/* highlight-on-accent for headings: underline-marker */
.mark-accent {
  position: relative;
  white-space: nowrap;
  color: var(--accent);
}
.mark-accent::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.06em;
  height: 0.18em;
  background: var(--accent);
  opacity: 0.28;
  border-radius: 2px;
  z-index: -1;
}

/* ─── Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font: 500 15px/1 var(--font-body);
  letter-spacing: -0.005em;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--accent);
  color: #050706;
  font-weight: 600;
  box-shadow: 0 8px 30px -10px var(--accent), inset 0 1px 0 rgba(255,255,255,0.4);
}
.btn-primary:hover {
  box-shadow: 0 12px 36px -8px var(--accent), inset 0 1px 0 rgba(255,255,255,0.5);
}

.btn-ghost {
  background: var(--bg-1);
  color: var(--ink);
  border-color: var(--line-2);
}
.btn-ghost:hover {
  background: var(--bg-2);
  border-color: var(--line-2);
}

.btn-wa {
  background: #25D366;
  color: #04220E;
  font-weight: 600;
}
.btn-wa:hover { background: #2bea73; }

.btn-sm { padding: 10px 16px; font-size: 13px; }
.btn-lg { padding: 18px 28px; font-size: 17px; }

/* ─── Cards & surfaces ─────────────────────────────────── */
.card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--pad-card);
}

.surface {
  background:
    linear-gradient(180deg, var(--bg-1) 0%, var(--bg) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

/* ─── Nav ──────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 75%, transparent);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.nav-links {
  display: flex;
  gap: 26px;
  font-size: 14px;
  color: var(--ink-2);
}
.nav-links a {
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  display: flex;
  gap: 10px;
  align-items: center;
}
@media (max-width: 880px) {
  .nav-links { display: none; }
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.logo-mark {
  width: 34px; height: 34px;
  flex-shrink: 0;
  display: block;
  background-image: url("../assets/dini-iso.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  filter: drop-shadow(0 4px 12px rgba(57, 255, 20, 0.18));
}
.logo-footer .logo-mark { width: 38px; height: 38px; }

/* ─── Hero ─────────────────────────────────────────────── */
.hero {
  padding-top: calc(var(--pad-section) - 30px);
  padding-bottom: calc(var(--pad-section) + 20px);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
}

.hero h1 .accent-word {
  position: relative;
  display: inline-block;
  color: var(--accent);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-3);
}
.hero-meta-item svg { color: var(--accent); }

/* ─── Mockup canvas (hero) ─────────────────────────────── */
.mockup-stage {
  position: relative;
  aspect-ratio: 1.05 / 1;
  width: 100%;
}
.mockup-desktop {
  position: absolute;
  inset: 8% 8% 14% 0;
  border-radius: 18px;
  background: linear-gradient(180deg, #161c19, #0c100e);
  border: 1px solid var(--line-2);
  box-shadow:
    0 60px 140px -40px rgba(0,0,0,0.7),
    0 0 0 1px rgba(57,255,20,0.06),
    inset 0 1px 0 rgba(255,255,255,0.05);
  overflow: hidden;
}
[data-theme="light"] .mockup-desktop {
  background: linear-gradient(180deg, #ffffff, #f4f7f5);
}
.mockup-mobile {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 32%;
  aspect-ratio: 9 / 19;
  border-radius: 28px;
  background: linear-gradient(180deg, #161c19, #0a0d0b);
  border: 1.5px solid var(--line-2);
  padding: 8px;
  box-shadow:
    0 40px 80px -20px rgba(0,0,0,0.7),
    0 0 0 1px rgba(57,255,20,0.06);
  overflow: hidden;
}
[data-theme="light"] .mockup-mobile {
  background: linear-gradient(180deg, #fff, #ebefed);
}

/* small chrome dots */
.win-dots {
  display: flex;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
}
.win-dots span {
  width: 10px; height: 10px; border-radius: 999px;
  background: rgba(255,255,255,0.18);
}
.win-dots span:nth-child(1) { background: #ff5f57; }
.win-dots span:nth-child(2) { background: #febc2e; }
.win-dots span:nth-child(3) { background: #28c840; }

/* ─── Sections shared ─────────────────────────────────── */
.section-head {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 60px;
  max-width: 720px;
}
.section-head .h-section { text-wrap: balance; }
.section-head .lede { color: var(--ink-2); }

/* ─── Services grid ───────────────────────────────────── */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.svc-grid > :nth-child(4),
.svc-grid > :nth-child(5) {
  grid-column: span 1;
}
@media (max-width: 980px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .svc-grid { grid-template-columns: 1fr; } }

.svc-card {
  position: relative;
  padding: 28px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 240px;
  transition: border-color 0.2s, transform 0.2s;
  overflow: hidden;
}
.svc-card:hover {
  border-color: var(--line-2);
  transform: translateY(-2px);
}
.svc-card .ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.svc-card h3 { font-size: 20px; font-weight: 600; }
.svc-card p { color: var(--ink-3); font-size: 14.5px; line-height: 1.55; }
.svc-card .tag {
  position: absolute; top: 18px; right: 18px;
  font: 500 11px/1 var(--font-mono);
  color: var(--ink-3);
  text-transform: uppercase; letter-spacing: 0.06em;
}

/* ─── Plans ───────────────────────────────────────────── */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}
@media (max-width: 980px) {
  .plans-grid { grid-template-columns: 1fr; }
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 30px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.plan:hover { border-color: var(--line-2); transform: translateY(-2px); }
.plan-featured {
  background:
    radial-gradient(ellipse 100% 50% at 50% 0%, rgba(57,255,20,0.16) 0%, transparent 50%),
    var(--bg-2);
  border-color: rgba(57,255,20,0.35);
  box-shadow:
    0 0 0 1px rgba(57,255,20,0.18),
    0 30px 80px -30px rgba(57,255,20,0.25);
}

.plan-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #050706;
  padding: 6px 14px;
  font: 600 11px/1 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  box-shadow: 0 8px 20px -8px var(--accent);
}

.plan-name {
  font: 500 13px/1 var(--font-mono);
  color: var(--ink-3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.plan-headline {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.plan-target {
  color: var(--ink-3);
  font-size: 14px;
  margin-bottom: 26px;
}
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
}
.plan-price .amt {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}
.plan-price .cur { font: 500 14px/1 var(--font-mono); color: var(--ink-3); }
.plan-price .note { font-size: 13px; color: var(--ink-3); margin-left: auto; }

.plan-feats {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 28px;
  flex-grow: 1;
}
.plan-feats li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14.5px;
  color: var(--ink-2);
  list-style: none;
}
.plan-feats li svg { flex-shrink: 0; margin-top: 3px; color: var(--accent); }
.plan-feats { padding: 0; margin-top: 0; }

.plan-cta { display: flex; flex-direction: column; gap: 10px; }
.plan-cta .btn { width: 100%; justify-content: center; }

/* ─── Calculator ──────────────────────────────────────── */
.calc-wrap {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
}
@media (max-width: 980px) { .calc-wrap { grid-template-columns: 1fr; } }

.calc-form {
  padding: 36px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
}
.calc-row + .calc-row {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px dashed var(--line);
}
.calc-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
}
.calc-label-text {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}
.calc-label-help {
  font-size: 13px;
  color: var(--ink-3);
}

.opt-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.opt-grid-3 { grid-template-columns: repeat(3, 1fr); }

.opt {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  color: var(--ink);
}
.opt small { color: var(--ink-3); font-size: 12.5px; }
.opt:hover { border-color: var(--line-2); }
.opt.active {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.opt.active small { color: var(--ink-2); }

.opt-check {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  font-size: 14px;
}
.opt-check:hover { border-color: var(--line-2); }
.opt-check.active {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.opt-check .price { font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-3); }
.opt-check.active .price { color: var(--ink-2); }

.opt-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.calc-summary {
  position: sticky;
  top: 90px;
  align-self: start;
  padding: 32px;
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.calc-est-label {
  font: 500 12px/1 var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-3);
}
.calc-est-amount {
  font-family: var(--font-display);
  font-size: clamp(42px, 5vw, 60px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  transition: transform 0.2s;
}
.calc-est-amount.bump { transform: scale(1.04); }
.calc-est-suffix {
  font-size: 14px;
  color: var(--ink-3);
  font-family: var(--font-mono);
}
.calc-breakdown {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 0;
  border-top: 1px dashed var(--line);
  border-bottom: 1px dashed var(--line);
  font-size: 13px;
}
.calc-breakdown .row {
  display: flex;
  justify-content: space-between;
  color: var(--ink-3);
}
.calc-breakdown .row b { color: var(--ink-2); font-weight: 500; }

/* ─── Portfolio ───────────────────────────────────────── */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
@media (max-width: 720px) { .portfolio-grid { grid-template-columns: 1fr; } }

.portfolio-card {
  position: relative;
  padding: 0;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}
.portfolio-card:hover { border-color: var(--line-2); transform: translateY(-2px); }
.portfolio-preview {
  aspect-ratio: 16 / 10;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.portfolio-meta {
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.portfolio-meta h3 { font-size: 18px; font-weight: 600; }
.portfolio-meta p { font-size: 13.5px; color: var(--ink-3); }
.portfolio-tag {
  font: 500 11px/1 var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  padding: 6px 10px;
  background: var(--accent-soft);
  border-radius: 6px;
}

/* ─── Process steps ───────────────────────────────────── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  position: relative;
}
@media (max-width: 980px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .process-grid { grid-template-columns: 1fr; } }

.proc {
  position: relative;
  padding: 28px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 220px;
}
.proc-num {
  font: 500 12px/1 var(--font-mono);
  color: var(--accent);
  letter-spacing: 0.1em;
}
.proc h3 { font-size: 19px; font-weight: 600; }
.proc p { font-size: 14px; color: var(--ink-3); line-height: 1.55; }
.proc-time {
  margin-top: auto;
  font: 500 12px/1 var(--font-mono);
  color: var(--ink-3);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ─── AI section ──────────────────────────────────────── */
.ai-block {
  position: relative;
  padding: 64px;
  background: linear-gradient(135deg, #0a1f0e 0%, #051208 60%, #050706 100%);
  border: 1px solid rgba(57,255,20,0.18);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
[data-theme="light"] .ai-block {
  background: linear-gradient(135deg, #e9fbe5 0%, #f5fdf2 60%, #fff 100%);
  border-color: rgba(57,255,20,0.4);
}
@media (max-width: 880px) { .ai-block { grid-template-columns: 1fr; padding: 36px; gap: 36px; } }

.ai-block::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: radial-gradient(ellipse 60% 80% at 100% 50%, rgba(57,255,20,0.12), transparent 70%);
  pointer-events: none;
}

.ai-pillars { display: flex; flex-direction: column; gap: 14px; }
.ai-pill {
  display: flex;
  gap: 14px;
  padding: 16px 18px;
  background: rgba(57,255,20,0.04);
  border: 1px solid rgba(57,255,20,0.14);
  border-radius: 12px;
}
.ai-pill .ico {
  width: 36px; height: 36px;
  flex-shrink: 0;
  border-radius: 9px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid; place-items: center;
}
.ai-pill h4 { font-size: 15px; font-weight: 600; margin: 0 0 2px; }
.ai-pill p { font-size: 13px; color: var(--ink-3); }

/* ─── Stack ───────────────────────────────────────────── */
.stack-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
@media (max-width: 980px) { .stack-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px) { .stack-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 420px) { .stack-grid { grid-template-columns: repeat(2, 1fr); } }

.stack-cell {
  aspect-ratio: 1.15 / 1;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg-1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--ink-2);
  padding: 18px 12px;
  text-align: center;
  transition: border-color 0.18s, transform 0.18s, background 0.18s, color 0.18s;
  position: relative;
}
.stack-cell:hover {
  border-color: var(--line-2);
  color: var(--ink);
  transform: translateY(-2px);
  background: var(--bg-2);
}
.stack-cell .brand {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--ink);
  flex-shrink: 0;
}
.stack-cell .brand svg { width: 100%; height: 100%; }
.stack-cell .name {
  font: 500 13.5px/1.2 var(--font-body);
  letter-spacing: -0.01em;
  color: var(--ink);
}
[data-theme="light"] .stack-cell .brand { color: #0c1410; }

/* ─── Stats ───────────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 720px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
.stat {
  padding: 36px 28px;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: none; }
@media (max-width: 720px) {
  .stat:nth-child(2) { border-right: none; }
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.4vw, 56px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.stat-label {
  margin-top: 10px;
  color: var(--ink-3);
  font-size: 14px;
}

/* ─── FAQ ─────────────────────────────────────────────── */
.faq {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 22px;
  color: var(--accent);
  transition: transform 0.2s;
}
.faq details[open] summary::after { content: "−"; }
.faq details > div {
  padding: 0 4px 24px;
  color: var(--ink-3);
  max-width: 70ch;
  font-size: 15px;
  line-height: 1.65;
}

/* ─── CTA panel ───────────────────────────────────────── */
.cta-panel {
  position: relative;
  padding: 72px 56px;
  background:
    radial-gradient(ellipse 60% 100% at 50% 0%, rgba(57,255,20,0.18), transparent 60%),
    var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  text-align: center;
  overflow: hidden;
}
.cta-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 30% 60% at 100% 100%, rgba(57,255,20,0.1), transparent 60%);
  pointer-events: none;
}
@media (max-width: 720px) { .cta-panel { padding: 48px 24px; } }

/* ─── Contact form ───────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; } }
.contact-form {
  padding: 36px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.input, .textarea, .select {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  font: 400 15px/1.4 var(--font-body);
  outline: none;
  transition: border-color 0.15s;
}
.input:focus, .textarea:focus, .select:focus {
  border-color: var(--accent);
}
.input::placeholder, .textarea::placeholder { color: var(--ink-4); }
.textarea { min-height: 120px; resize: vertical; font-family: var(--font-body); }
.field-label {
  font-size: 13px;
  color: var(--ink-3);
  margin-bottom: 6px;
  display: block;
}

.contact-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-side h3 { font-size: 28px; font-weight: 500; }
.contact-side p { color: var(--ink-3); font-size: 15px; line-height: 1.6; }
.contact-side .item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink-2);
  font-size: 14px;
}
.contact-side .item .ico {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid; place-items: center;
  flex-shrink: 0;
}

/* ─── Footer ──────────────────────────────────────────── */
.footer {
  padding: 60px 0 36px;
  border-top: 1px solid var(--line);
  margin-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }
.footer h4 {
  font: 500 12px/1 var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  margin-bottom: 14px;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer ul a { color: var(--ink-2); font-size: 14px; }
.footer ul a:hover { color: var(--ink); }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  color: var(--ink-3);
  flex-wrap: wrap;
}

/* ─── WhatsApp floating button ────────────────────────── */
.fab-wa {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 14px;
  background: #25D366;
  color: #04220E;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 12px 30px -10px rgba(37,211,102,0.6);
  transition: transform 0.2s, box-shadow 0.2s;
}
.fab-wa:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(37,211,102,0.7); }
.fab-wa svg { width: 22px; height: 22px; }
.fab-wa-pulse {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #25D366;
  z-index: -1;
  opacity: 0.5;
  animation: fabpulse 2.4s ease-out infinite;
}
@keyframes fabpulse {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.4); opacity: 0; }
}
@media (max-width: 720px) {
  .fab-wa span:not(.fab-wa-pulse) { display: none; }
  .fab-wa { padding: 14px; }
}

/* ─── Animations ──────────────────────────────────────── */
@keyframes fadeup {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0;
  animation: fadeup 0.8s ease-out forwards;
}
.reveal.delay-1 { animation-delay: 0.08s; }
.reveal.delay-2 { animation-delay: 0.16s; }
.reveal.delay-3 { animation-delay: 0.24s; }
.reveal.delay-4 { animation-delay: 0.32s; }

@keyframes blink-dot {
  50% { opacity: 0.4; }
}
.live-dot {
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 999px;
  box-shadow: 0 0 12px var(--accent);
  animation: blink-dot 2s ease-in-out infinite;
}

/* divider line */
.line-sep {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-2), transparent);
  margin: 0;
  border: none;
}
