:root {
  --bg: #070b18;
  --bg2: #0d1428;
  --card: rgba(255, 255, 255, .04);
  --line: rgba(255, 255, 255, .09);
  --text: #e8ecf6;
  --muted: #94a0bb;
  --accent: #22d3ee;
  --accent2: #6366f1;
  --ok: #34d399;
  --bad: #f87171;
  --grad: linear-gradient(120deg, var(--accent), var(--accent2));
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body {
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif;
  color: var(--text);
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(99, 102, 241, .25), transparent 60%),
    radial-gradient(700px 400px at -10% 30%, rgba(34, 211, 238, .12), transparent 60%),
    var(--bg);
  padding-bottom: 110px; /* room for the dock */
}

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
section { padding: 96px 0; scroll-margin-top: 0; }
section:nth-of-type(even) { background: linear-gradient(180deg, transparent, var(--bg2) 20%, var(--bg2) 80%, transparent); }

h1 { font-size: clamp(2.6rem, 7vw, 4.8rem); line-height: 1.05; letter-spacing: -.03em; margin-bottom: 20px; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.15; letter-spacing: -.02em; margin-bottom: 18px; max-width: 720px; }
h3 { font-size: 1.15rem; margin-bottom: 8px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: .55em; }
.eyebrow { color: var(--accent); text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; margin-bottom: 12px; }
.lead { color: var(--muted); font-size: 1.1rem; max-width: 680px; margin-bottom: 32px; }
p { color: var(--muted); }

.hero { min-height: 100vh; display: flex; align-items: center; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 56px; }
.btn {
  display: inline-block; padding: 14px 26px; border-radius: 999px; font-weight: 600;
  text-decoration: none; border: 1px solid var(--line); color: var(--text); cursor: pointer; font-size: 1rem;
  transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn.primary { background: var(--grad); border: 0; color: #fff; box-shadow: 0 10px 30px -8px rgba(34, 211, 238, .55); }
.btn.ghost { background: var(--card); }

.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.kpi { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 18px 20px; backdrop-filter: blur(8px); }
.kpi span { display: block; color: var(--muted); font-size: .85rem; }
.kpi b { display: block; font-size: 1.2rem; margin: 2px 0 12px; }
.kpi i { display: block; height: 6px; border-radius: 9px; background: var(--line); position: relative; overflow: hidden; }
.kpi i::after { content: ""; position: absolute; inset: 0; width: var(--w); background: var(--grad); border-radius: 9px; }

.grid { display: grid; gap: 20px; margin-bottom: 20px; }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid.four { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 28px;
  box-shadow: 0 20px 50px -25px rgba(0, 0, 0, .7);
  transition: border-color .25s, transform .25s;
}
.card:hover { border-color: rgba(34, 211, 238, .35); transform: translateY(-3px); }
.card.yes { border-color: rgba(52, 211, 153, .3); }
.card.no { border-color: rgba(248, 113, 113, .3); }
.role { margin-bottom: 14px; }
.avatar {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--grad); font-weight: 800; font-size: 1.4rem; margin-bottom: 16px;
  box-shadow: 0 0 0 4px var(--bg), 0 0 0 6px rgba(34, 211, 238, .4);
}

.checks, .crosses, .steps { padding: 0; list-style: none; display: grid; gap: 10px; }
.checks li, .crosses li { padding-left: 28px; position: relative; color: var(--text); }
.checks li::before, .crosses li::before { position: absolute; left: 0; font-weight: 800; }
.checks li::before { content: "✓"; color: var(--ok); }
.crosses li::before { content: "✕"; color: var(--bad); }
.steps { counter-reset: s; }
.steps li { counter-increment: s; display: flex; gap: 14px; align-items: center; }
.steps li::before {
  content: counter(s); flex: none; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; background: var(--grad); font-weight: 700;
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chips span { padding: 6px 14px; border-radius: 999px; background: rgba(34, 211, 238, .1); color: var(--accent); font-size: .9rem; }

/* form */
.contact { align-items: start; }
.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-size: .9rem; color: var(--muted); }
.form input, .form select, .form textarea {
  font: inherit; color: var(--text); background: rgba(0, 0, 0, .3);
  border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; width: 100%;
}
.form select option { background: var(--bg2); }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.form .consent { display: flex; gap: 10px; align-items: flex-start; }
.form .consent input { width: auto; margin-top: 4px; }
.hp { position: absolute !important; left: -9999px; }
.status { min-height: 1.4em; font-size: .95rem; }
.status.ok { color: var(--ok); }
.status.err { color: var(--bad); }

footer { text-align: center; color: var(--muted); font-size: .85rem; padding: 40px 20px; }

/* Instagram-style dock: floating, round, shaded */
.dock {
  position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 10;
  display: flex; gap: 6px; padding: 8px;
  background: rgba(13, 20, 40, .72); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid var(--line); border-radius: 999px;
  box-shadow: 0 18px 40px -10px rgba(0, 0, 0, .8), 0 2px 0 rgba(255, 255, 255, .04) inset;
}
.dock a {
  display: flex; align-items: center; gap: 8px; height: 48px; min-width: 48px; padding: 0 12px;
  justify-content: center; border-radius: 999px; color: var(--muted); text-decoration: none;
  font-size: .85rem; font-weight: 600;
  transition: background .3s, color .3s, box-shadow .3s, padding .3s;
}
.dock a:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.dock svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.dock span { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .3s; }
/* current section: filled, glowing pill with its label */
.dock a[aria-current="true"] {
  color: #fff; background: var(--grad); padding: 0 18px;
  box-shadow: 0 8px 22px -6px rgba(34, 211, 238, .7), 0 0 0 1px rgba(255, 255, 255, .15) inset;
}
.dock a[aria-current="true"] span { max-width: 100px; }

@media (max-width: 520px) {
  .dock { gap: 2px; padding: 6px; bottom: 12px; }
  .dock a { min-width: 44px; height: 44px; padding: 0 10px; }
  .dock a[aria-current="true"] span { max-width: 0; } /* icons only on phones, like Instagram */
  .dock a[aria-current="true"] { padding: 0 10px; }
  section { padding: 72px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
.kpi:nth-child(1) { --w: 78%; }
.kpi:nth-child(2) { --w: 64%; }
.kpi:nth-child(3) { --w: 86%; }

/* language switch, sits inside the dock */
.dock .lang {
  height: 48px; min-width: 48px; border-radius: 999px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, .06); color: var(--text); font: inherit; font-size: .8rem; font-weight: 800;
  letter-spacing: .06em; cursor: pointer; margin-left: 4px; transition: background .3s, box-shadow .3s;
}
.dock .lang:hover { background: rgba(34, 211, 238, .15); box-shadow: 0 0 0 1px var(--accent) inset; }
@media (max-width: 520px) { .dock .lang { height: 44px; min-width: 44px; margin-left: 2px; } }

/* computers: dock moves to the top and every item shows its label */
@media (min-width: 900px) {
  body { padding-bottom: 0; }
  section { scroll-margin-top: 90px; }
  .dock { top: 18px; bottom: auto; }
  .dock span { max-width: 100px; }
  .dock a { padding: 0 16px; }
}

/* centered layout */
.wrap { text-align: center; }
h2, .lead { margin-left: auto; margin-right: auto; }
.cta, .chips { justify-content: center; }
.avatar { margin-left: auto; margin-right: auto; }
.checks, .crosses, .steps { width: fit-content; max-width: 100%; margin: 0 auto; text-align: left; }
.contact { max-width: 640px; }
.contact .steps { margin-bottom: 32px; }
.form { text-align: left; }  /* labels stay left-aligned for readability */
.card.deliver { margin-bottom: 20px; border-color: rgba(34, 211, 238, .35); background: linear-gradient(135deg, rgba(34, 211, 238, .08), rgba(99, 102, 241, .08)); }
