/* CoachIn1 website – shared by every language version. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:            #0b1a16;
  --surface:       #12261f;
  --surface2:      #183229;
  --border:        #24453a;
  --primary:       #2089dc;
  --primary-light: #5fb0f0;
  --brand:         #0f4c3a;
  --green:         #22c55e;
  --green-light:   #4ade80;
  --lime:          #bef264;
  --lime-dark:     #a3e635;
  --amber:         #fbbf24;
  --text:          #e2e8f0;
  --muted:         #94a3b8;
  --heading:       #f1f5f9;
  --radius:        18px;
}

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; }
a { color: var(--primary-light); text-decoration: none; }
a:hover { text-decoration: underline; }
::selection { background: rgba(190,242,100,0.3); color: var(--heading); }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .container { padding: 0 16px; } }

/* ── Buttons ─────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
  transition: transform .15s, background .15s, border-color .15s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--lime); color: #0b1a16; box-shadow: 0 10px 30px rgba(190,242,100,0.18); }
.btn-primary:hover { background: var(--lime-dark); }
.btn-ghost { color: var(--heading); border: 1px solid var(--border); background: rgba(255,255,255,0.03); }
.btn-ghost:hover { border-color: #3a6656; }
.btn-sm { padding: 8px 14px; font-size: 0.85rem; border-radius: 10px; }

/* ── Nav ─────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 26, 22, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
nav .container { height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.nav-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--heading); font-size: 1.02rem; }
.nav-brand img { width: 28px; height: 28px; border-radius: 7px; }
.nav-brand:hover { text-decoration: none; }

.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; }
.nav-links a:not(.btn) { color: var(--muted); font-size: 0.88rem; transition: color .2s; }
.nav-links a:not(.btn):hover { color: var(--text); text-decoration: none; }

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

/* ── Phone mockup ────────────────────────────────── */
.phone {
  width: 280px;
  padding: 9px;
  border-radius: 44px;
  background: #050b09;
  border: 1px solid #2c463c;
  box-shadow: 0 30px 70px rgba(0,0,0,0.55), inset 0 0 0 1px rgba(255,255,255,0.04);
}
.phone img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1080 / 2408;
  border-radius: 32px;
  background: #f3f4f6;
}

/* ── Hero ────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #0f4c3a 0%, #0b1a16 58%, #0b1a24 100%);
  border-bottom: 1px solid var(--border);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 0%, rgba(34,197,94,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 45% 45% at 85% 60%, rgba(190,242,100,0.10) 0%, transparent 70%);
  pointer-events: none;
}
.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
  padding-top: 72px;
  padding-bottom: 72px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(190,242,100,0.10);
  border: 1px solid rgba(190,242,100,0.35);
  border-radius: 100px;
  padding: 5px 14px;
  font-size: 0.82rem;
  color: var(--lime);
  font-weight: 700;
  margin-bottom: 22px;
}
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(190,242,100,0.18); }

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  color: var(--heading);
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 20px;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--lime), var(--green-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero .lead { font-size: 1.12rem; color: #b6c2d1; max-width: 520px; margin-bottom: 30px; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }

.perks { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; font-size: 0.88rem; color: var(--text); }
.perks li { display: flex; align-items: center; gap: 8px; }
.perks svg { flex-shrink: 0; color: var(--lime); }

.hero-visual { position: relative; height: 560px; }
.hero-visual .phone { position: absolute; }
.hero-visual .phone.back { width: 240px; right: 2%; top: 60px; transform: rotate(7deg); opacity: 0.9; }
.hero-visual .phone.front { width: 270px; left: 4%; top: 0; transform: rotate(-3deg); }

@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 0; text-align: center; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .cta-row, .perks { justify-content: center; }
  .hero-visual { height: 400px; max-width: 420px; width: 100%; margin: 0 auto; overflow: hidden; }
  .hero-visual .phone.front { width: 230px; left: 6%; top: 10px; }
  .hero-visual .phone.back  { width: 200px; right: 4%; top: 60px; }
}
@media (max-width: 420px) {
  .hero-visual { height: 340px; }
  .hero-visual .phone.front { width: 190px; left: 2%; }
  .hero-visual .phone.back  { width: 165px; right: 0; }
}

/* ── Section heads ───────────────────────────────── */
section.block { padding: 88px 0; }
@media (max-width: 600px) { section.block { padding: 64px 0; } }

.section-label {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 12px;
}
.section-title {
  text-align: center;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  font-weight: 800;
  color: var(--heading);
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 14px;
}
.section-sub { text-align: center; color: var(--muted); font-size: 1rem; max-width: 560px; margin: 0 auto 52px; }

/* ── Pain points ─────────────────────────────────── */
.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 800px) { .pains { grid-template-columns: 1fr; } }
.pain {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}
.pain .before { font-size: 0.78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #f87171; margin-bottom: 6px; }
.pain h3 { color: var(--heading); font-size: 1.05rem; margin-bottom: 10px; line-height: 1.35; }
.pain p { color: var(--muted); font-size: 0.9rem; }
.pain .after { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--border); color: var(--text); font-size: 0.9rem; }
.pain .after strong { color: var(--lime); }

/* ── Showcase ────────────────────────────────────── */
.showcase { background: linear-gradient(180deg, transparent 0%, rgba(15,76,58,0.25) 50%, transparent 100%); }
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 56px;
  max-width: 960px;
  margin: 0 auto;
}
.feature-row + .feature-row { margin-top: 96px; }
.feature-row.flip .feature-media { order: 2; }
.feature-media { display: flex; justify-content: center; position: relative; }
.feature-media::before {
  content: '';
  position: absolute;
  width: 340px;
  height: 340px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(34,197,94,0.20) 0%, transparent 65%);
  pointer-events: none;
}
.feature-media .phone { position: relative; width: 270px; }
.feature-copy .kicker { font-size: 0.8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--green-light); margin-bottom: 10px; }
.feature-copy h3 { font-size: clamp(1.5rem, 2.8vw, 2rem); line-height: 1.2; letter-spacing: -0.02em; color: var(--heading); margin-bottom: 14px; }
.feature-copy p { color: #b6c2d1; margin-bottom: 18px; }
.ticks { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.ticks li { display: flex; gap: 10px; font-size: 0.93rem; color: var(--text); }
.ticks svg { flex-shrink: 0; margin-top: 5px; color: var(--lime); }

@media (max-width: 800px) {
  .feature-row { grid-template-columns: 1fr; gap: 32px; }
  .feature-row.flip .feature-media { order: 0; }
  .feature-row + .feature-row { margin-top: 72px; }
  .feature-media .phone { width: 240px; }
}

/* ── Roles ───────────────────────────────────────── */
.roles { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .roles { grid-template-columns: 1fr; } }

.role-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
}
.role-card h3 { font-size: 1.15rem; font-weight: 800; color: var(--heading); margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.role-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.role-list li { display: flex; gap: 14px; }
.role-list .ic {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--surface2);
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.role-list strong { display: block; color: var(--heading); font-size: 0.95rem; }
.role-list span.d { color: var(--muted); font-size: 0.87rem; line-height: 1.6; }

/* ── How it works ────────────────────────────────── */
.steps-section {
  background: linear-gradient(135deg, #0f4c3a 0%, #0b1a16 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.steps { max-width: 960px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: rgba(18,38,31,0.85);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  counter-increment: step;
}
.step::before {
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--lime);
  color: #0b1a16;
  font-weight: 800;
  font-size: 0.85rem;
  margin-bottom: 12px;
}
.step h4 { color: var(--heading); font-size: 1rem; margin-bottom: 6px; }
.step p  { color: var(--muted); font-size: 0.86rem; line-height: 1.6; }

/* ── Early access offer ──────────────────────────── */
.offer {
  position: relative;
  overflow: hidden;
  max-width: 920px;
  margin: 0 auto;
  border-radius: 26px;
  border: 1px solid rgba(190,242,100,0.35);
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(190,242,100,0.14) 0%, transparent 60%),
    linear-gradient(150deg, #134e3c 0%, #0f2a22 60%, #0b1a16 100%);
  padding: 48px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 800px) { .offer { grid-template-columns: 1fr; padding: 32px 22px; gap: 28px; } }
.offer .badge { margin-bottom: 16px; }
.offer h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); line-height: 1.15; letter-spacing: -0.025em; color: var(--heading); margin-bottom: 14px; }
.offer p { color: #b6c2d1; margin-bottom: 24px; }
.offer .fine { font-size: 0.8rem; color: var(--muted); margin: 14px 0 0; }

.offer-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.offer-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: rgba(11,26,22,0.55);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
}
.offer-list .big { flex-shrink: 0; min-width: 58px; font-size: 1.25rem; font-weight: 800; color: var(--lime); line-height: 1.3; }
.offer-list strong { display: block; color: var(--heading); font-size: 0.95rem; }
.offer-list span { color: var(--muted); font-size: 0.85rem; }

/* ── Pricing ─────────────────────────────────────── */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 1040px; margin: 0 auto; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .plans { grid-template-columns: 1fr; } }
.plan {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
}
.plan.featured { border-color: rgba(190,242,100,0.55); background: linear-gradient(160deg, #163a2e 0%, var(--surface) 70%); }
.plan .tag {
  position: absolute; top: -11px; left: 22px;
  background: var(--lime); color: #0b1a16;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 2px 10px; border-radius: 999px;
}
.plan h3 { color: var(--heading); font-size: 1.1rem; font-weight: 800; }
.plan .clients { color: var(--muted); font-size: 0.88rem; margin-bottom: 16px; }
.plan .price { color: var(--heading); font-size: 2rem; font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
.plan .price small { font-size: 0.9rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.plan .yearly { color: var(--muted); font-size: 0.82rem; margin-top: 4px; }
.plan .founder {
  margin-top: auto;
  padding-top: 16px;
  font-size: 0.85rem;
  color: var(--lime);
  font-weight: 700;
}
.plan .founder span { display: block; color: var(--muted); font-weight: 400; font-size: 0.78rem; }
.plans-note { text-align: center; color: var(--muted); font-size: 0.9rem; max-width: 640px; margin: 28px auto 0; }
.founder-banner {
  max-width: 1040px;
  margin: 0 auto 28px;
  border: 1px solid rgba(190,242,100,0.35);
  background: rgba(190,242,100,0.07);
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.founder-banner .big { flex-shrink: 0; font-size: 1.25rem; font-weight: 800; color: var(--lime); line-height: 1.4; }
.founder-banner strong { color: var(--heading); }
.founder-banner p { color: #b6c2d1; font-size: 0.92rem; }

/* ── FAQ ─────────────────────────────────────────── */
.faq { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0 22px;
}
.faq details[open] { border-color: #34604f; }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 0;
  font-weight: 700;
  color: var(--heading);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.4rem; font-weight: 400; color: var(--lime); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); font-size: 0.93rem; padding-bottom: 18px; }

/* ── Legal sections ──────────────────────────────── */
.legal-wrapper { max-width: 780px; margin: 0 auto; padding: 60px 24px 80px; }
@media (max-width: 600px) { .legal-wrapper { padding: 48px 16px 64px; } }
.legal-title { text-align: center; font-size: 1.4rem; font-weight: 800; color: var(--heading); margin-bottom: 32px; letter-spacing: -0.02em; }

section.legal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 36px;
  margin-bottom: 28px;
}
section.legal-card h2 { font-size: 1.1rem; font-weight: 700; color: var(--heading); margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
section.legal-card h3 { font-size: 0.92rem; font-weight: 600; color: var(--green-light); margin: 20px 0 6px; }
section.legal-card p,
section.legal-card li { font-size: 0.875rem; color: var(--muted); }
section.legal-card strong { color: var(--text); }
section.legal-card ul { padding-left: 20px; margin-top: 6px; }
section.legal-card li { margin-bottom: 4px; }

.effective-date { font-size: 0.78rem; color: var(--muted); opacity: 0.6; margin-top: 18px; }

.warning-box {
  background: rgba(251, 191, 36, 0.07);
  border: 1px solid rgba(251, 191, 36, 0.25);
  border-radius: 8px;
  padding: 14px 18px;
  margin-top: 16px;
  font-size: 0.87rem;
  color: var(--amber);
  line-height: 1.6;
}
@media (max-width: 600px) { section.legal-card { padding: 22px 18px; } }

/* ── Footer ──────────────────────────────────────── */
footer { text-align: center; padding: 28px 24px; border-top: 1px solid var(--border); font-size: 0.8rem; color: var(--muted); }
footer a { color: var(--muted); }
footer a:hover { color: var(--text); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .faq summary::after { transition: none; }
  .btn:hover { transform: none; }
}

/* ── Language menu ───────────────────────────────── */
/* A <details> dropdown in the nav, so it works without script and stays small on phones. */
.lang { position: relative; }
.lang summary {
  list-style: none;
  cursor: pointer;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid var(--border);
  user-select: none;
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary::after { content: " ▾"; font-size: 0.7rem; }
.lang[open] summary, .lang summary:hover { color: var(--text); border-color: #3a6656; }
.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  min-width: 150px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
  z-index: 60;
}
.nav-links .lang-menu a { color: var(--text); font-size: 0.9rem; padding: 7px 10px; border-radius: 8px; }
.nav-links .lang-menu a:hover { background: var(--surface2); text-decoration: none; }
.nav-links .lang-menu a[aria-current="page"] { color: var(--lime); font-weight: 700; }
@media (max-width: 420px) { .nav-links { gap: 12px; } }

/* ── Early-access join steps ─────────────────────── */
.join-steps { list-style: none; counter-reset: join; display: flex; flex-direction: column; gap: 10px; margin-bottom: 6px; }
.join-steps li {
  counter-increment: join;
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(11,26,22,0.55);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
}
.join-steps li::before {
  content: counter(join);
  flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--lime); color: #0b1a16; font-weight: 800; font-size: 0.85rem;
}
.join-steps li > div { flex: 1; min-width: 0; }
.join-steps strong { display: block; color: var(--heading); font-size: 0.95rem; }
.join-steps span { color: var(--muted); font-size: 0.85rem; line-height: 1.5; }
.join-steps .btn { flex-shrink: 0; }
@media (max-width: 520px) {
  .join-steps li { flex-wrap: wrap; }
  .join-steps .btn { width: 100%; text-align: center; }
}
.offer .join-steps + .fine { margin-top: 16px; }
.offer .fine + .fine { margin-top: 6px; }
