/* A11yReady — shared styles */
:root {
  --bg: #0f1419;
  --bg-elevated: #1a2332;
  --bg-card: #1e2a3a;
  --text: #e8eef4;
  --text-muted: #9aa8b8;
  --accent: #3dd6c3;
  --accent-hover: #5ee0d0;
  --accent-dim: rgba(61, 214, 195, 0.15);
  --border: #2d3a4d;
  --warning: #f0c14b;
  --radius: 12px;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
  --max: 1100px;
  --focus: 0 0 0 3px var(--accent);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

img { max-width: 100%; height: auto; }

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
a:hover { color: var(--accent-hover); }
a:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--accent);
  color: var(--bg);
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus {
  left: 0;
  outline: none;
  box-shadow: var(--focus);
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 20, 25, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}
.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.logo span { color: var(--accent); }
.logo:hover { color: var(--text); }
.logo:focus-visible { box-shadow: var(--focus); border-radius: 4px; }

.nav-main {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-main a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}
.nav-main a:hover,
.nav-main a[aria-current="page"] { color: var(--accent); }

.lang-switcher {
  position: relative;
}
.lang-switcher summary {
  list-style: none;
  cursor: pointer;
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-elevated);
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 500;
}
.lang-switcher summary::-webkit-details-marker { display: none; }
.lang-switcher summary:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}
.lang-switcher[open] summary {
  border-color: var(--accent);
}
.lang-list {
  position: absolute;
  right: 0;
  top: calc(100% + 0.35rem);
  min-width: 11rem;
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  z-index: 60;
}
.lang-list a {
  display: block;
  padding: 0.45rem 0.75rem;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.9rem;
}
.lang-list a:hover,
.lang-list a[aria-current="true"] {
  background: var(--accent-dim);
  color: var(--accent);
}

/* Hero */
.hero {
  padding: 4rem 0 3.5rem;
  background:
    radial-gradient(ellipse 80% 60% at 70% 0%, var(--accent-dim), transparent),
    var(--bg);
}
.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
  max-width: 18ch;
}
.hero .lede {
  margin: 0 0 1.75rem;
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 42rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.35rem;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.btn:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}
.btn-primary {
  background: var(--accent);
  color: var(--bg);
}
.btn-primary:hover {
  background: var(--accent-hover);
  color: var(--bg);
}
.btn-secondary {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.btn-checkout {
  width: 100%;
  background: var(--bg);
  border-color: var(--accent);
  color: var(--accent);
}
.btn-checkout:hover {
  background: var(--accent-dim);
}
.btn-checkout[aria-disabled="true"],
.btn-checkout:disabled {
  opacity: 0.85;
  cursor: not-allowed;
}

/* Sections */
section {
  padding: 3.5rem 0;
  border-top: 1px solid var(--border);
}
.section-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.02em;
}
.section-intro {
  margin: 0 0 2rem;
  color: var(--text-muted);
  max-width: 40rem;
}

/* Problem */
.problem-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.problem-card {
  padding: 1.35rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.problem-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: var(--accent);
}
.problem-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.975rem;
}

/* Packages */
.packages-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.package-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.package-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}
.package-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
}
.price {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.price .eur {
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 0.15rem;
}
.package-card .desc {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  flex: 1;
}
.package-card ul {
  margin: 0 0 1.25rem;
  padding: 0 0 0 1.15rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.package-card li { margin-bottom: 0.35rem; }
.badge {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 0.2rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--accent-dim);
  color: var(--accent);
  border-radius: 4px;
}

/* How it works */
.steps {
  display: grid;
  gap: 1.25rem;
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 700px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}
.step {
  position: relative;
  padding: 1.35rem 1.35rem 1.35rem 1.35rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
  font-size: 0.9rem;
  background: var(--accent);
  color: var(--bg);
  border-radius: 50%;
}
.step h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}
.step p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* FAQ */
.faq details {
  margin-bottom: 0.65rem;
  padding: 0.85rem 1.1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
}
.faq summary:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-radius: 4px;
}
.faq details[open] summary { color: var(--accent); }
.faq details p {
  margin: 0.75rem 0 0.25rem;
  color: var(--text-muted);
  font-size: 0.975rem;
}

/* Disclaimer */
.disclaimer-box {
  padding: 1.35rem 1.5rem;
  background: rgba(240, 193, 75, 0.08);
  border: 1px solid rgba(240, 193, 75, 0.35);
  border-radius: var(--radius);
  border-left: 4px solid var(--warning);
}
.disclaimer-box h2 {
  margin: 0 0 0.65rem;
  font-size: 1.15rem;
  color: var(--warning);
}
.disclaimer-box p {
  margin: 0 0 0.65rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.disclaimer-box p:last-child { margin-bottom: 0; }

/* Contact */
.contact-card {
  padding: 1.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  max-width: 32rem;
}
.contact-card p { margin: 0 0 0.75rem; color: var(--text-muted); }
.contact-card p:last-child { margin-bottom: 0; }

/* Footer */
.site-footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-brand {
  font-weight: 700;
  margin: 0 0 0.35rem;
}
.footer-note {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 28rem;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
}
.footer-nav a:hover { color: var(--accent); }
.footer-copy {
  width: 100%;
  margin: 1.5rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Language picker (root) */
.picker-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 0 3rem;
}
.picker-page h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}
.picker-page .lede {
  margin: 0 0 2rem;
  color: var(--text-muted);
  max-width: 36rem;
}
.lang-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}
.lang-grid a {
  display: block;
  padding: 1rem 1.15rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  transition: border-color 0.15s, background 0.15s;
}
.lang-grid a:hover {
  border-color: var(--accent);
  background: var(--accent-dim);
  color: var(--accent);
}
.lang-grid a span {
  display: block;
  margin-top: 0.2rem;
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.lang-grid a:hover span { color: var(--text-muted); }

/* Stub pages */
.stub-main {
  padding: 3rem 0 4rem;
  min-height: 50vh;
}
.stub-main h1 {
  margin: 0 0 1rem;
  font-size: 1.85rem;
}
.stub-main p {
  color: var(--text-muted);
  max-width: 40rem;
}
.stub-main .back {
  display: inline-block;
  margin-top: 1.5rem;
}

@media (max-width: 640px) {
  .header-inner { flex-direction: column; align-items: flex-start; }
  .nav-main { width: 100%; }
  .lang-switcher { align-self: flex-end; margin-top: -2.5rem; }
}


/* Payment provider banner */
.payment-banner {
  margin: 1rem 0 1.5rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 1px solid #c4b5fd;
  background: #f5f3ff;
  font-size: 0.95rem;
}
.payment-banner strong { display: inline-block; margin-right: 0.35rem; }
.badge-suspended {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  background: #fef3c7;
  color: #92400e;
  font-size: 0.75rem;
  font-weight: 600;
  vertical-align: middle;
}
.btn-checkout[disabled], .btn-checkout[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
}
.btn-paytr { background: #0f766e; color: #fff; border: none; }
.btn-paytr:hover { filter: brightness(1.05); }
.btn-stripe { background: #635bff; color: #fff; }

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.hero-note {
  margin: 1.25rem 0 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 36rem;
}
.packages-grid-solo {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  max-width: 44rem;
}
.package-card.muted {
  opacity: 0.72;
}
.badge-muted {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.checkout-live-note {
  margin: 0 0 1.25rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--accent);
  background: var(--accent-dim);
  color: var(--text);
}
.btn-polar {
  background: var(--accent);
  color: var(--bg);
  border: none;
}
.btn-polar:hover {
  background: var(--accent-hover);
  color: var(--bg);
  filter: none;
}
.payment-banner {
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
}
