/* ===========================================================
   Benchy.it Waitlist — styles
   Inspired by https://www.benchy.it visual language:
   - Dark navy background
   - Blurred purple + blue gradient ellipses
   - Bright blue/purple CTA accents
   - Clean Inter typography
   =========================================================== */

:root {
  --bg: #0b0d2c;
  --bg-2: #11143a;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-strong: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.10);
  --border-strong: rgba(255, 255, 255, 0.18);
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.68);
  --text-faint: rgba(255, 255, 255, 0.45);
  --accent: #20d8d2;
  --accent-2: #20d8d2;
  --accent-grad: linear-gradient(135deg, #20d8d2 0%, #20d8d2 100%);
  --success: #22c55e;
  --danger: #ef4444;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  overflow-x: hidden;
}

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

/* ------- Background ellipses (decorative) ------- */
.bg-ellipse {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
  z-index: 0;
  pointer-events: none;
}
.bg-ellipse--purple {
  width: 720px;
  height: 720px;
  background: radial-gradient(circle, #20d8d2 0%, transparent 70%);
  top: -200px;
  left: -200px;
}
.bg-ellipse--blue {
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, #20d8d2 0%, transparent 70%);
  top: 200px;
  right: -250px;
}

/* ------- Layout ------- */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}
.container-narrow { max-width: 760px; }

/* ------- Header ------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(11, 13, 44, 0.7);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.logo img {
  height: 56px;
  width: auto;
  border-radius: 10px;
  display: block;
}
.logo-footer img {
  height: 72px;
}
.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--accent-grad);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  box-shadow: 0 8px 24px -8px rgba(32, 216, 210, 0.55);
}
.logo-text { color: #fff; }
.logo-dot { color: var(--accent); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14.5px;
  color: var(--text-muted);
}
.nav-links a:not(.btn):hover { color: #fff; }

/* Language switcher */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  border-radius: 999px;
}
.lang-btn {
  background: transparent;
  border: 0;
  color: var(--text-faint);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 5px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: color .15s ease, background .15s ease;
}
.lang-btn:hover { color: #fff; }
.lang-btn.is-active {
  background: var(--accent);
  color: #0b0d2c;
}

/* ------- Buttons ------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .2s ease, border-color .2s ease;
  text-align: center;
}
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-lg { padding: 14px 26px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary {
  background: var(--accent-grad);
  color: #fff;
  box-shadow: 0 12px 30px -10px rgba(32, 216, 210, 0.55);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 16px 36px -10px rgba(32, 216, 210, 0.7); }
.btn-primary:disabled { opacity: .65; cursor: not-allowed; transform: none; }
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: var(--border-strong);
}
.btn-ghost:hover { background: var(--surface-strong); }

/* ------- Hero ------- */
.hero { padding: 80px 0 60px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}
.hero-copy h1 {
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 0 22px;
  font-weight: 800;
}
.grad {
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 0 32px;
}
.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.trust-row {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.trust-stat strong {
  display: block;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.trust-stat span {
  font-size: 13px;
  color: var(--text-faint);
}
.trust-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
}

/* ------- Sign-up card ------- */
.signup-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.03) 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(10px);
}
.signup-card h2 {
  margin: 0 0 4px;
  font-size: 24px;
  letter-spacing: -0.02em;
}
.signup-sub {
  margin: 0 0 22px;
  color: var(--text-faint);
  font-size: 14px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}
.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.field label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
}
.hint { color: var(--text-faint); font-weight: 400; }
.field input,
.field select {
  background: rgba(0,0,0,0.25);
  border: 1px solid var(--border-strong);
  color: #fff;
  padding: 11px 14px;
  border-radius: 12px;
  font-size: 14.5px;
  font-family: inherit;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input::placeholder { color: var(--text-faint); }
.field input:focus,
.field select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(32, 216, 210, 0.22);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}
.field select option { background: var(--bg-2); color: #fff; }
.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
  margin: 6px 0 18px;
  line-height: 1.45;
}
.checkbox input { margin-top: 2px; accent-color: var(--accent); }

.form-message {
  margin: 14px 0 0;
  font-size: 14px;
  min-height: 1.2em;
}
.form-message.ok { color: var(--success); }
.form-message.err { color: var(--danger); }

.signup-footer-note {
  margin: 14px 0 0;
  font-size: 12.5px;
  color: var(--text-faint);
  text-align: center;
}

.checkbox a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.checkbox a:hover { color: #fff; }

/* ------- Generic sections ------- */
.section {
  padding: 80px 0;
  position: relative;
}
.section-dark {
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.25) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-title {
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  font-weight: 800;
  text-align: center;
}
.section-sub {
  text-align: center;
  color: var(--text-muted);
  margin: 0 0 48px;
  font-size: 16px;
}

/* ------- Steps ------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform .2s ease, border-color .2s ease;
}
.step:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.step-num {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-grad);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 16px;
}
.step h3 { margin: 0 0 8px; font-size: 19px; }
.step p { margin: 0; color: var(--text-muted); font-size: 15px; }

/* ------- Benefits ------- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.benefit {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
}
.benefit-icon { font-size: 28px; margin-bottom: 12px; }
.benefit h3 { margin: 0 0 8px; font-size: 17px; }
.benefit p { margin: 0; color: var(--text-muted); font-size: 14.5px; }

/* ------- FAQ ------- */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 12px;
  background: var(--surface);
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.faq-item summary::after {
  content: "+";
  font-size: 22px;
  color: var(--text-muted);
  transition: transform .2s ease;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin: 12px 0 0; color: var(--text-muted); }

/* ------- Footer ------- */
.site-footer {
  padding: 48px 0 32px;
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}
.logo-footer { margin-bottom: 10px; }
.footer-tag { color: var(--text-faint); font-size: 14px; margin: 0; max-width: 360px; }
.footer-meta { text-align: right; color: var(--text-faint); font-size: 13px; }
.footer-meta p { margin: 0 0 4px; }

/* ------- Responsive ------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .steps { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-meta { text-align: left; }
  .nav-links a:not(.btn) { display: none; }
}

@media (max-width: 540px) {
  .hero { padding: 50px 0 30px; }
  .section { padding: 60px 0; }
  .signup-card { padding: 24px; }
  .field-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .trust-divider { display: none; }
}
