/* ---------- Tokens ---------- */
:root {
  --bg: #060706;
  --bg-elevated: #0d0f0b;
  --lime: #BAFD00;
  --lime-dim: #9AD400;
  --green-dark: #4a7a00;
  --text: #F4F6F0;
  --text-muted: #AEB8A6;
  --border: rgba(244, 246, 240, 0.1);
  --border-strong: rgba(244, 246, 240, 0.18);
  --ink-on-lime: #0C1400;

  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;

  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;

  --radius: 14px;
  --radius-sm: 8px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.1;
  margin: 0;
  letter-spacing: -0.01em;
}
p { margin: 0 0 var(--space-4); color: var(--text-muted); max-width: 60ch; }
a { color: inherit; }
ul { padding: 0; margin: 0; list-style: none; }

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.accent { color: var(--lime); }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--lime);
  color: var(--ink-on-lime);
  padding: var(--space-3) var(--space-4);
  z-index: 200;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}
.btn-primary {
  background: var(--lime);
  color: var(--ink-on-lime);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(186, 253, 0, 0.35);
}
.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}
.btn-small {
  padding: 0.6rem 1.2rem;
  font-size: 0.85rem;
}
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Icons ---------- */
.icon {
  display: inline-flex;
  width: 1em;
  height: 1em;
  flex-shrink: 0;
}
.icon-arrow {
  width: 0.85em;
  height: 0.85em;
  background: linear-gradient(160deg, var(--lime) 45%, var(--green-dark) 45%);
  clip-path: polygon(50% 0%, 100% 100%, 50% 72%, 0% 100%);
}
.icon-x {
  position: relative;
  width: 0.8em;
  height: 0.8em;
}
.icon-x::before, .icon-x::after {
  content: "";
  position: absolute;
  top: 50%; left: 0;
  width: 100%; height: 2px;
  background: var(--text-muted);
}
.icon-x::before { transform: rotate(45deg); }
.icon-x::after { transform: rotate(-45deg); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 7, 6, 0.75);
  backdrop-filter: blur(12px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-top: var(--space-4);
  padding-bottom: var(--space-4);
}
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
}
.site-nav {
  display: none;
  gap: var(--space-8);
  font-size: 0.92rem;
}
.site-nav a {
  text-decoration: none;
  color: var(--text-muted);
  transition: color 0.2s;
}
.site-nav a:hover { color: var(--text); }

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  margin: 0 8px;
  background: var(--text);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-cta { display: none; }

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-left: auto;
}

.lang-switch {
  display: flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
}
.lang-switch button {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  background: transparent;
  border: none;
  border-radius: 999px;
  padding: 0.35rem 0.6rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.lang-switch button:hover { color: var(--text); }
.lang-switch button.is-active {
  background: var(--lime);
  color: var(--ink-on-lime);
}

@media (min-width: 860px) {
  .nav-toggle { display: none; }
  .site-nav {
    display: flex;
    position: static;
    background: none;
    padding: 0;
    border: none;
  }
  .header-actions { margin-left: 0; }
  .nav-cta { display: inline-flex; }
}

@media (max-width: 859px) {
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
    padding: var(--space-4) var(--space-6) var(--space-6);
    gap: var(--space-4);
  }
  .site-nav.is-open { display: flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--space-24) + 3rem) 0 var(--space-16);
}
.hero-glow {
  position: absolute;
  inset: -20% -15% -20%;
  z-index: 0;
  filter: blur(75px);
  pointer-events: none;
}
@media (max-width: 640px) {
  .hero-glow { filter: blur(50px); }
  .blob-d { display: none; }
}
.blob {
  position: absolute;
  mix-blend-mode: screen;
  opacity: 0.85;
  will-change: transform, border-radius;
}
.blob-a {
  width: 58vw; height: 58vw; max-width: 680px; max-height: 680px;
  left: 6%; top: 4%;
  background: radial-gradient(circle at 40% 40%, var(--lime), transparent 70%);
  animation: floatA 13s ease-in-out infinite;
}
.blob-b {
  width: 48vw; height: 48vw; max-width: 560px; max-height: 560px;
  right: 2%; top: 18%;
  background: radial-gradient(circle at 60% 60%, var(--green-dark), transparent 70%);
  animation: floatB 16s ease-in-out infinite;
}
.blob-c {
  width: 42vw; height: 42vw; max-width: 500px; max-height: 500px;
  left: 26%; bottom: 0%;
  background: radial-gradient(circle at 50% 50%, var(--lime-dim), transparent 70%);
  animation: floatC 11s ease-in-out infinite;
}
.blob-d {
  width: 30vw; height: 30vw; max-width: 380px; max-height: 380px;
  right: 22%; bottom: 8%;
  background: radial-gradient(circle at 50% 50%, var(--green-dark), transparent 72%);
  animation: floatD 9s ease-in-out infinite;
}
@keyframes floatA {
  0%   { transform: translate(0%, 0%) scale(1) rotate(0deg); border-radius: 42% 58% 63% 37% / 45% 40% 60% 55%; }
  25%  { transform: translate(11%, 15%) scale(1.2) rotate(14deg); border-radius: 60% 40% 44% 56% / 55% 62% 38% 45%; }
  50%  { transform: translate(-9%, 12%) scale(0.85) rotate(-12deg); border-radius: 50% 50% 55% 45% / 40% 50% 50% 60%; }
  75%  { transform: translate(-13%, -9%) scale(1.12) rotate(9deg); border-radius: 45% 55% 40% 60% / 60% 45% 55% 40%; }
  100% { transform: translate(0%, 0%) scale(1) rotate(0deg); border-radius: 42% 58% 63% 37% / 45% 40% 60% 55%; }
}
@keyframes floatB {
  0%   { transform: translate(0%, 0%) scale(1) rotate(0deg); border-radius: 55% 45% 40% 60% / 50% 55% 45% 50%; }
  25%  { transform: translate(-12%, 9%) scale(0.82) rotate(-16deg); border-radius: 40% 60% 55% 45% / 60% 40% 60% 40%; }
  50%  { transform: translate(-4%, -11%) scale(1.15) rotate(10deg); border-radius: 60% 40% 45% 55% / 45% 55% 40% 60%; }
  75%  { transform: translate(10%, 6%) scale(0.92) rotate(-6deg); border-radius: 50% 50% 60% 40% / 55% 45% 55% 45%; }
  100% { transform: translate(0%, 0%) scale(1) rotate(0deg); border-radius: 55% 45% 40% 60% / 50% 55% 45% 50%; }
}
@keyframes floatC {
  0%   { transform: translate(0%, 0%) scale(1) rotate(0deg); border-radius: 50% 50% 45% 55% / 55% 45% 55% 45%; }
  25%  { transform: translate(10%, -11%) scale(1.18) rotate(12deg); border-radius: 60% 40% 55% 45% / 45% 60% 40% 55%; }
  50%  { transform: translate(-9%, -5%) scale(0.85) rotate(-14deg); border-radius: 45% 55% 40% 60% / 50% 45% 60% 45%; }
  75%  { transform: translate(6%, 9%) scale(1.08) rotate(7deg); border-radius: 55% 45% 60% 40% / 45% 55% 45% 55%; }
  100% { transform: translate(0%, 0%) scale(1) rotate(0deg); border-radius: 50% 50% 45% 55% / 55% 45% 55% 45%; }
}
@keyframes floatD {
  0%   { transform: translate(0%, 0%) scale(1); border-radius: 50%; }
  33%  { transform: translate(-14%, -14%) scale(1.25); border-radius: 42% 58% 55% 45% / 55% 45% 58% 42%; }
  66%  { transform: translate(12%, 8%) scale(0.8); border-radius: 55% 45% 42% 58% / 45% 58% 42% 55%; }
  100% { transform: translate(0%, 0%) scale(1); border-radius: 50%; }
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  margin: auto;
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  font-weight: 700;
  max-width: 16ch;
  margin: 0 auto var(--space-6);
}
.hero-lead {
  max-width: 52ch;
  margin: 0 auto var(--space-8);
  font-size: 1.1rem;
  color: var(--text-muted);
}
.hero-actions { display: flex; justify-content: center; }

/* ---------- Sections ---------- */
.section {
  padding: var(--space-24) 0;
}
.section-alt { background: var(--bg-elevated); }
.section h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 600;
  margin-bottom: var(--space-8);
  max-width: 22ch;
}
.section-lead {
  font-family: var(--font-display);
  color: var(--text);
  font-weight: 500;
  font-size: 1.05rem;
}

/* ---------- Compare table ---------- */
.compare {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin-bottom: var(--space-12);
}
.compare-col {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-6);
}
.compare-col h3 {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: var(--space-4);
}
.compare-col li {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  padding: var(--space-2) 0;
  color: var(--text-muted);
}
.compare-col li::before {
  content: "";
  width: 0.8em;
  height: 0.8em;
  margin-top: 0.35em;
  flex-shrink: 0;
}
.compare-without { background: transparent; }
.compare-without li::before {
  background: transparent;
  border: 1.5px solid var(--border-strong);
  border-radius: 50%;
}
.compare-with {
  background: linear-gradient(160deg, rgba(186,253,0,0.08), transparent 60%);
  border-color: rgba(186, 253, 0, 0.35);
}
.compare-with li { color: var(--text); }
.compare-with li::before {
  background: linear-gradient(160deg, var(--lime) 45%, var(--green-dark) 45%);
  clip-path: polygon(50% 0%, 100% 100%, 50% 72%, 0% 100%);
}

@media (min-width: 760px) {
  .compare { grid-template-columns: 1fr 1fr; }
}

.statement {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 600;
  color: var(--text);
  max-width: 24ch;
  line-height: 1.3;
}

/* ---------- Feature list ---------- */
.feature-list { margin: var(--space-6) 0 var(--space-8); }
.feature-list li {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--border);
  max-width: 60ch;
}
.feature-list li:first-child { border-top: 1px solid var(--border); }
.feature-list .icon { margin-top: 0.3em; }

.price-badge {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4em;
  font-family: var(--font-display);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 0.6rem 1.3rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.price-badge strong { color: var(--lime); font-size: 1.05rem; }

.highlight-box {
  border-left: 3px solid var(--lime);
  background: var(--bg-elevated);
  padding: var(--space-4) var(--space-6);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text);
  max-width: 68ch;
}
.highlight-box strong { color: var(--lime); }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  gap: 0;
  margin-top: var(--space-8);
}
.step {
  display: flex;
  gap: var(--space-6);
  padding: var(--space-8) 0;
  border-top: 1px solid var(--border);
  position: relative;
}
.step:last-child { padding-bottom: 0; }
.step-marker {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--ink-on-lime);
  background: var(--lime);
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: var(--space-2); }
.step p { margin: 0; max-width: 55ch; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: var(--space-3); max-width: 68ch; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-4) var(--space-6);
  background: var(--bg-elevated);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.faq-item[open] { border-color: var(--border-strong); }
.faq-item summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--lime);
  transition: transform 0.3s var(--ease);
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }

/* Animated reveal: grid-rows trick lets height transition without JS,
   and overrides the UA rule that display:none's closed <details> content. */
.faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease);
}
.faq-item[open] .faq-content { grid-template-rows: 1fr; }
.faq-content-inner {
  overflow: hidden;
  min-height: 0;
}
.faq-content-inner p {
  margin: var(--space-4) 0 0;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.faq-item[open] .faq-content-inner p {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}

/* ---------- Contact ---------- */
.contact-wrap {
  display: grid;
  gap: var(--space-12);
}
.contact-copy h2 { margin-bottom: var(--space-4); }

.contact-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
.honeypot { display: none; }
.field { display: flex; flex-direction: column; gap: var(--space-2); }
.field label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}
.field label span { color: var(--lime); }
.field input, .field textarea {
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s;
}
.field input::placeholder, .field textarea::placeholder { color: #6b7565; }
.field input:focus, .field textarea:focus {
  border-color: var(--lime);
  outline: none;
}
.field-full { grid-column: 1 / -1; }
.field-submit {
  margin-top: var(--space-2);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.form-note { font-size: 0.85rem; margin-top: var(--space-3); max-width: 45ch; }
.form-status {
  font-size: 0.9rem;
  font-weight: 600;
  min-height: 1.2em;
  margin: var(--space-3) 0 0;
}
.form-status[data-state="ok"] { color: var(--lime); }
.form-status[data-state="error"] { color: #ff6b6b; }

@media (min-width: 720px) {
  .contact-form { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 980px) {
  .contact-wrap { grid-template-columns: 0.85fr 1.15fr; align-items: start; }
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: var(--space-12) 0;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}
.footer-brand { display: flex; gap: var(--space-3); align-items: center; }
.footer-tagline { color: var(--text); font-weight: 600; margin: 0; }
.footer-name { color: var(--text-muted); margin: 0; font-size: 0.9rem; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  font-size: 0.88rem;
}
.footer-links a { color: var(--text-muted); text-decoration: none; }
.footer-links a:hover { color: var(--lime); }

@media (min-width: 720px) {
  .footer-inner { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* ---------- Legal pages ---------- */
.legal-back {
  margin-left: auto;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.legal-back:hover { color: var(--lime); }

.legal-main {
  max-width: 720px;
  margin: 0 auto;
  padding: var(--space-16) var(--space-6) var(--space-24);
}
.legal-main h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  margin-bottom: var(--space-2);
}
.legal-updated {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: var(--space-8);
}
.legal-main h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: var(--space-8) 0 var(--space-3);
}
.legal-main p, .legal-main li {
  max-width: 70ch;
}
.legal-main ul {
  list-style: disc;
  padding-left: 1.3rem;
  margin: 0 0 var(--space-4);
}
.legal-main li { padding: 0.2rem 0; }
.legal-main a { color: var(--lime); }
.legal-main code {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.1em 0.4em;
  font-size: 0.9em;
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Motion & contrast preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .blob { animation: none; }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn, .btn .arrow, .nav-toggle span, .faq-item summary::after {
    transition: none;
  }
  .faq-content, .faq-content-inner p, .faq-item {
    transition: none;
  }
}
