:root {
  color-scheme: dark;
  --bg: #07080a;
  --surface: #14181f;
  --surface-elevated: #1c222c;
  --text: #f2f0ea;
  --muted: rgba(168, 176, 188, 0.85);
  --line: rgba(255, 255, 255, 0.14);
  --primary-a: #f5a623;
  --primary-b: #e8940f;
  --secondary-a: #3ddcff;
  --secondary-b: #1bb8e0;
  --danger: #ff5c5c;
  --on-brand: #0a0b0d;
  --font-display: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.6;
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 70% 55% at 12% -8%, rgba(245, 166, 35, 0.22), transparent 55%),
    radial-gradient(ellipse 55% 45% at 92% 8%, rgba(61, 220, 255, 0.16), transparent 50%),
    radial-gradient(ellipse 50% 40% at 70% 95%, rgba(245, 166, 35, 0.1), transparent 55%),
    radial-gradient(ellipse 40% 35% at 5% 75%, rgba(27, 184, 224, 0.08), transparent 50%);
  background-attachment: fixed;
  animation: gradient-drift 18s ease-in-out infinite alternate;
}

@keyframes gradient-drift {
  0% {
    background-position: 0% 0%, 100% 0%, 80% 100%, 0% 80%;
  }
  100% {
    background-position: 8% 6%, 92% 10%, 70% 90%, 6% 70%;
  }
}

a {
  color: var(--secondary-a);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color 0.2s ease;
}

a:hover,
a:focus-visible {
  color: var(--secondary-b);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.15;
}

h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4.2vw, 3.4rem);
}

h2 {
  margin: 0 0 18px;
  font-size: clamp(1.45rem, 2.4vw, 2.1rem);
}

h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

p {
  margin: 0;
  color: var(--muted);
}

ul {
  color: var(--muted);
}

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

/* —— Header / nav —— */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(7, 8, 10, 0.78);
  border-bottom: 1px solid var(--line);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.brand:hover,
.brand:focus-visible {
  color: var(--text);
}

.brand-mark {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line);
}

/* —— Buttons —— */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 10px 18px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

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

.btn:focus-visible {
  outline: 2px solid var(--secondary-a);
  outline-offset: 2px;
}

.btn-primary {
  color: var(--on-brand);
  background: linear-gradient(135deg, var(--primary-a), var(--primary-b));
  box-shadow: 0 8px 24px rgba(245, 166, 35, 0.22);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  color: var(--on-brand);
  box-shadow: 0 10px 28px rgba(245, 166, 35, 0.32);
}

.btn-secondary {
  color: var(--text);
  background: linear-gradient(135deg, rgba(61, 220, 255, 0.22), rgba(27, 184, 224, 0.16));
  border-color: rgba(61, 220, 255, 0.45);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  color: var(--text);
  border-color: var(--secondary-a);
  background: linear-gradient(135deg, rgba(61, 220, 255, 0.3), rgba(27, 184, 224, 0.22));
}

.btn-ghost {
  color: var(--text);
  background: transparent;
  border-color: var(--line);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  color: var(--secondary-a);
  border-color: rgba(61, 220, 255, 0.4);
  background: rgba(61, 220, 255, 0.06);
}

.btn-large {
  padding: 14px 26px;
  font-size: 1.05rem;
}

/* —— Main / sections —— */

main {
  padding: 28px 0 80px;
}

.section {
  margin-top: 64px;
}

/* —— Hero —— */

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
  padding-top: 36px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -10% -5% auto auto;
  width: min(420px, 55vw);
  height: min(420px, 55vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.14), transparent 68%);
  pointer-events: none;
  z-index: -1;
  animation: gradient-drift 14s ease-in-out infinite alternate;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hero-brand {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text);
  background: linear-gradient(120deg, var(--text) 40%, var(--primary-a) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  max-width: 42rem;
  color: var(--muted);
}

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

.hero-art {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-art img {
  width: 100%;
  max-width: 440px;
  display: block;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
}

/* —— Steps —— */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 24px;
  margin-top: 8px;
}

.step {
  position: relative;
  padding: 4px 0 0;
  border: none;
  background: transparent;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--on-brand);
  background: linear-gradient(135deg, var(--primary-a), var(--primary-b));
}

.step:nth-child(even) .step-num {
  color: var(--bg);
  background: linear-gradient(135deg, var(--secondary-a), var(--secondary-b));
}

.step h3 {
  margin-bottom: 8px;
}

.step p {
  font-size: 0.98rem;
}

/* —— Screenshots —— */

.shots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 8px;
}

.shot {
  margin: 0;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.shot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 720 / 1565;
  object-fit: contain;
  background: var(--surface-elevated);
}

.shot figcaption {
  padding: 12px 14px 14px;
  font-size: 0.9rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.shot:hover {
  transform: translateY(-6px);
  border-color: rgba(61, 220, 255, 0.35);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.4);
}

/* —— Features —— */

.features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 8px;
}

.feature {
  padding: 22px 20px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface-elevated);
}

.feature h3 {
  margin-bottom: 8px;
}

.feature p {
  font-size: 0.98rem;
}

/* —— CTA / form —— */

.cta {
  text-align: center;
  margin-top: 64px;
  padding: 36px 28px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(245, 166, 35, 0.1), rgba(61, 220, 255, 0.08)),
    var(--surface);
  scroll-margin-top: 88px;
}

.cta h2 {
  margin-bottom: 10px;
}

.cta > p {
  max-width: 42rem;
  margin-inline: auto;
}

.contact-form {
  margin: 22px auto 0;
  max-width: 560px;
  display: grid;
  gap: 12px;
  text-align: left;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.contact-form label {
  display: grid;
  gap: 6px;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(7, 8, 10, 0.65);
  color: var(--text);
  padding: 11px 13px;
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(168, 176, 188, 0.55);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(61, 220, 255, 0.55);
  box-shadow: 0 0 0 3px rgba(61, 220, 255, 0.15);
}

.contact-form button,
.contact-form .btn {
  justify-self: start;
}

.form-status {
  margin: 14px auto 0;
  max-width: 560px;
  border-radius: 12px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  font-size: 0.95rem;
}

.form-status.success {
  color: #b8f0c8;
  background: rgba(61, 220, 255, 0.08);
  border-color: rgba(61, 220, 255, 0.35);
}

.form-status.error {
  color: #ffc9c9;
  background: rgba(255, 92, 92, 0.1);
  border-color: rgba(255, 92, 92, 0.4);
}

/* —— Footer —— */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
}

.site-footer p {
  text-align: center;
  font-size: 0.92rem;
}

.footer-links {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--secondary-a);
  border-bottom-color: rgba(61, 220, 255, 0.5);
}

/* —— Reveal motion —— */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: fade-up 0.7s ease forwards;
}

.reveal:nth-child(2) {
  animation-delay: 0.08s;
}

.reveal:nth-child(3) {
  animation-delay: 0.16s;
}

.reveal:nth-child(4) {
  animation-delay: 0.24s;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  body,
  .hero::before {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .shot,
  .btn {
    transition: none;
  }

  .shot:hover,
  .btn:hover {
    transform: none;
  }
}

/* —— Responsive —— */

@media (max-width: 900px) {
  .nav {
    min-height: 64px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 24px;
  }

  .hero-art {
    order: -1;
  }

  .hero-art img {
    max-width: 320px;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .shots {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }

  .shot {
    flex: 0 0 min(72vw, 260px);
    scroll-snap-align: start;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .cta {
    padding: 28px 18px;
  }

  .section {
    margin-top: 48px;
  }
}

/* —— TurfDomination additions —— */
.skip { position: absolute; left: -9999px; top: 8px; background: var(--primary-a); color: var(--on-brand); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.nav-links { display: flex; gap: 18px; align-items: center; }
.nav-links a { color: var(--text); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.nav-links a.lang { border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; color: var(--secondary-a); }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--primary-a); }
.legal { max-width: 820px; }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: 6px; }
.legal h2 { font-size: 1.25rem; margin: 32px 0 8px; }
.legal p, .legal li { color: rgba(242, 240, 234, 0.9); }
.legal ol, .legal ul { padding-left: 1.3em; }
.legal li { margin: 6px 0; }
.muted { color: var(--muted); font-size: 0.9rem; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 0.92rem; }
th, td { text-align: left; padding: 10px 12px; vertical-align: top; border-bottom: 1px solid var(--line); }
th { background: var(--surface-elevated); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
tr:last-child td { border-bottom: 0; }
.notice { border: 1px solid rgba(245, 166, 35, 0.4); background: rgba(245, 166, 35, 0.08); border-radius: 14px; padding: 20px 24px; }
.notice h2 { margin-top: 0; }
.back { margin-top: 36px; }
.shot img { height: auto; }
.footer-links { flex-wrap: wrap; }
@media (max-width: 600px) { .nav-links a:not(.lang) { display: none; } }
