/* ==========================================================================
   MISTR ARBITRÁŽE — design tokens
   ink: #1A1A1A | paper: #F6F7FB | blue: #055AFB | blue-deep: #0339B0
   profit-green: #17A673 | line: #E3E6EE | surface: #FFFFFF
   ========================================================================== */

:root {
  --ink: #1a1a1a;
  --ink-soft: #55596b;
  --paper: #f6f7fb;
  --surface: #ffffff;
  --blue: #055afb;
  --blue-deep: #0339b0;
  --blue-tint: #eaf0ff;
  --green: #17a673;
  --green-tint: #e8f8f2;
  --line: #e3e6ee;
  --shadow: 0 20px 45px -25px rgba(5, 20, 60, 0.35);

  --font-display: "Space Grotesk", "Inter", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;

  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

:focus-visible {
  outline: 2.5px solid var(--blue);
  outline-offset: 3px;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-deep);
  font-weight: 600;
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px var(--blue-tint);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  letter-spacing: -0.01em;
  margin: 0;
}

.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); margin-top: 14px; }
.section-head p { color: var(--ink-soft); font-size: 17px; margin-top: 14px; }

section { padding: 96px 0; }
section.tight { padding: 72px 0; }

/* ---------------- nav ---------------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 247, 251, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { height: 42px; width: auto; }
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 15px;
  font-weight: 500;
}
.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-toggle { display: none; }

@media (max-width: 860px) {
  .nav-links { display: none; }
}

/* ---------------- buttons ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--ink);
  color: #fff;
}
.btn-primary:hover { background: var(--blue-deep); }
.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--ink); }
.btn-blue {
  background: var(--blue);
  color: #fff;
}
.btn-blue:hover { background: var(--blue-deep); }
.btn-sm { padding: 9px 18px; font-size: 13.5px; }

/* ---------------- hero ---------------- */

.hero {
  padding: 76px 0 40px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -220px;
  right: -160px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, var(--blue-tint) 0%, transparent 70%);
  z-index: 0;
}
.hero .wrap { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.06;
  margin-top: 18px;
}
.hero h1 .hl { color: var(--blue); }
.hero p.lead {
  margin-top: 22px;
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 480px;
}
.hero-actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hero-note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-note svg { flex: none; }

/* ---------------- signature: surebet calculator ---------------- */

.calc-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 26px;
}
.calc-card .calc-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.calc-card .calc-head span {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.calc-card .calc-head .tag {
  background: var(--blue-tint);
  color: var(--blue-deep);
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 600;
}

.bk-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
.bk {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}
.bk label {
  display: block;
  font-size: 12px;
  color: var(--ink-soft);
  margin-bottom: 6px;
  font-weight: 600;
}
.bk input[type="text"] {
  width: 100%;
  border: none;
  background: transparent;
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  padding: 0;
}
.bk input[type="text"]:focus { outline: none; }
.bk .stake {
  margin-top: 8px;
  font-size: 12.5px;
  color: var(--ink-soft);
  font-family: var(--font-mono);
}
.bk .stake b { color: var(--ink); }

.calc-stake-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 4px;
  font-size: 13px;
  color: var(--ink-soft);
}
.calc-stake-total input {
  width: 90px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  text-align: right;
}

.profit-band {
  margin-top: 14px;
  border-radius: var(--radius-md);
  padding: 18px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.25s ease;
}
.profit-band.is-positive { background: var(--green-tint); }
.profit-band.is-negative { background: #fdeeee; }
.profit-band .label {
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 600;
}
.profit-band .value {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 700;
}
.profit-band.is-positive .value { color: var(--green); }
.profit-band.is-negative .value { color: #c23b3b; }
.calc-foot {
  margin-top: 12px;
  font-size: 12px;
  color: var(--ink-soft);
  text-align: center;
}

/* ---------------- logos / trust strip ---------------- */

.trust {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
}
.trust .wrap {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------------- product cards (surebet / valuebet) ---------------- */

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.product-card .pc-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.product-card.surebet .pc-icon { background: var(--blue-tint); }
.product-card.valuebet .pc-icon { background: var(--green-tint); }
.product-card h3 { font-size: 22px; margin-bottom: 10px; }
.product-card p { color: var(--ink-soft); font-size: 15.5px; }
.product-card ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.product-card li {
  display: flex;
  gap: 10px;
  font-size: 14.5px;
  color: var(--ink);
}
.product-card li svg { flex: none; margin-top: 3px; }

/* ---------------- process steps ---------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.step {
  border-top: 2px solid var(--ink);
  padding-top: 18px;
}
.step .num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--blue-deep);
  font-weight: 700;
}
.step h4 { font-size: 17px; margin-top: 10px; }
.step p { font-size: 14px; color: var(--ink-soft); margin-top: 8px; }

/* ---------------- education / tips ---------------- */

.edu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.edu-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.edu-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.edu-card .cat {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-deep);
  font-weight: 700;
}
.edu-card h4 { font-size: 18px; }
.edu-card p { font-size: 14.5px; color: var(--ink-soft); margin: 0; }
.edu-card .rt { font-size: 12.5px; color: var(--ink-soft); margin-top: auto; }

/* ---------------- membership ---------------- */

.membership {
  background: var(--ink);
  border-radius: 28px;
  padding: 56px;
  color: #fff;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.membership .eyebrow { color: #9db8ff; }
.membership .eyebrow::before { background: #9db8ff; box-shadow: 0 0 0 4px rgba(157,184,255,0.18); }
.membership h2 { color: #fff; font-size: clamp(26px, 3vw, 34px); margin-top: 14px; }
.membership p { color: #c3c6d4; font-size: 16px; margin-top: 16px; max-width: 460px; }
.membership ul {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.membership li {
  display: flex;
  gap: 10px;
  font-size: 15px;
  color: #e7e8ee;
}
.membership li svg { flex: none; margin-top: 3px; color: #4c8bff; }
.membership-actions { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }

.ebook-mock {
  background: linear-gradient(155deg, var(--blue) 0%, var(--blue-deep) 100%);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  aspect-ratio: 3/4;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 30px 60px -20px rgba(5, 20, 90, 0.55);
  transform: rotate(2deg);
}
.ebook-mock .em-top {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #cddcff;
}
.ebook-mock h3 {
  color: #fff;
  font-size: 26px;
  line-height: 1.2;
  margin-top: 14px;
}
.ebook-mock .em-bottom {
  font-size: 12.5px;
  color: #cddcff;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.ebook-mock .em-mark {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
}

/* ---------------- contact ---------------- */

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
}
.contact-info h2 { font-size: clamp(26px, 3vw, 34px); }
.contact-info p { color: var(--ink-soft); margin-top: 14px; font-size: 16px; max-width: 420px; }
.contact-list { margin-top: 28px; display: flex; flex-direction: column; gap: 16px; }
.contact-list a { text-decoration: none; font-weight: 600; }
.contact-list .ci-label { display: block; font-size: 12.5px; color: var(--ink-soft); font-weight: 500; margin-bottom: 2px; }

form.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { font-size: 13px; font-weight: 600; margin-bottom: 6px; display: block; }
.contact-form input, .contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 14.5px;
  background: var(--paper);
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
}
.contact-form textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 12px; color: var(--ink-soft); }

/* ---------------- footer ---------------- */

footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 32px;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { height: 34px; }
.footer-links {
  display: flex;
  gap: 26px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  color: var(--ink-soft);
}
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--ink); }
.disclaimer {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* ---------------- reveal-on-scroll ---------------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------------- responsive ---------------- */

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .edu-grid { grid-template-columns: 1fr 1fr; }
  .membership { grid-template-columns: 1fr; padding: 40px 28px; }
  .ebook-mock { max-width: 260px; transform: none; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  section { padding: 64px 0; }
  .steps { grid-template-columns: 1fr; }
  .edu-grid { grid-template-columns: 1fr; }
  .bk-row { grid-template-columns: 1fr; }
  .contact-form .row { grid-template-columns: 1fr; }
  .membership-actions .btn, .hero-actions .btn { width: 100%; }
  .profit-band .value { font-size: 22px; }
}
