/* ============================================================
   5 Min Bro — site styles
   Dark theme matched to the in-app palette.
   ============================================================ */

:root {
  --bg: #000000;
  --surface: #111111;
  --surface-elevated: #1c1c1c;
  --text: #ffffff;
  --text-secondary: #a0a0a0;
  --text-tertiary: #6b6b6b;
  --primary: #ffc700;
  --primary-dim: #e6b200;
  --success: #34c759;
  --error: #ff453a;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --max-w: 1100px;
  --gap: 16px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-weight: 500;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color .15s ease;
}
a:hover { color: var(--primary-dim); }

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

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── HEADER ─────────────────────────────────────────────── */

header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 900;
  font-size: 18px;
  letter-spacing: -.4px;
}
.brand .b-five { color: var(--primary); }
.nav-links { display: flex; gap: 22px; align-items: center; }
.nav-links a {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
}
.nav-links a:hover { color: var(--text); }
.lang-pill {
  display: inline-flex;
  gap: 0;
  padding: 2px;
  background: var(--surface);
  border: 1px solid var(--surface-elevated);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}
.lang-pill button {
  border: 0;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 6px 11px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: .5px;
  font-family: inherit;
}
.lang-pill button.is-active {
  background: var(--primary);
  color: #000;
}

/* ─── HERO ───────────────────────────────────────────────── */

.hero {
  position: relative;
  padding: 60px 0 50px;
  overflow: hidden;
  text-align: center;
}
.hero::before {
  content: "";
  position: absolute;
  top: -120px;
  left: 50%;
  width: 720px;
  height: 360px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center,
              rgba(255, 199, 0, 0.22) 0%,
              rgba(255, 199, 0, 0.04) 50%,
              transparent 75%);
  pointer-events: none;
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.hero img {
  max-height: 280px;
  width: auto;
  filter: drop-shadow(0 16px 40px rgba(255, 199, 0, 0.18));
}
.hero h1 {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 900;
  letter-spacing: -1.4px;
  line-height: 1.05;
  margin-top: 8px;
}
.hero h1 .b-yellow { color: var(--primary); }
.hero p.lede {
  font-size: clamp(16px, 2.2vw, 19px);
  color: var(--text-secondary);
  max-width: 620px;
  line-height: 1.45;
}
.cta-row {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
  justify-content: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  border: 0;
  transition: transform .15s ease, box-shadow .15s ease;
  font-family: inherit;
}
.btn-primary {
  background: var(--primary);
  color: #000;
  box-shadow: 0 8px 32px -8px rgba(255, 199, 0, 0.55);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 38px -8px rgba(255, 199, 0, 0.7);
}
.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--surface-elevated);
}
.btn-ghost:hover { background: var(--surface-elevated); }

.store-row {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
  justify-content: center;
}
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: var(--surface);
  border: 1px solid var(--surface-elevated);
  border-radius: var(--radius-md);
  color: var(--text);
  font-size: 14px;
  text-align: left;
  min-width: 170px;
}
.store-badge:hover { background: var(--surface-elevated); color: var(--text); }
.store-badge svg { flex-shrink: 0; }
.store-badge .label small {
  display: block;
  color: var(--text-tertiary);
  font-size: 10px;
  letter-spacing: .6px;
  text-transform: uppercase;
  font-weight: 700;
}
.store-badge .label strong { font-size: 16px; font-weight: 800; }

/* ─── SECTION SHARED ─────────────────────────────────────── */

section {
  padding: 64px 0;
  position: relative;
}
section h2 {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 900;
  letter-spacing: -.8px;
  margin-bottom: 12px;
  text-align: center;
}
section .sub {
  text-align: center;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 36px;
  font-size: 16px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.6px;
  margin-bottom: 14px;
  justify-content: center;
  text-transform: uppercase;
}
.eyebrow-row {
  display: flex;
  justify-content: center;
  margin-bottom: 6px;
}

/* ─── STEPS ─────────────────────────────────────────────── */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.step {
  background: var(--surface);
  border: 1px solid var(--surface-elevated);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform .15s ease, border-color .15s ease;
}
.step:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 199, 0, 0.35);
}
.step-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.step-num {
  width: 28px; height: 28px;
  border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 13px;
  color: #000; background: var(--primary);
}
.step-num.gn { background: var(--success); }
.step-num.rd { background: var(--error); }
.step-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 199, 0, 0.14);
  color: var(--primary);
}
.step-icon.gn { background: rgba(52, 199, 89, 0.14); color: var(--success); }
.step-icon.rd { background: rgba(255, 69, 58, 0.14); color: var(--error); }
.step h3 {
  font-size: 18px;
  font-weight: 800;
  margin-top: 6px;
}
.step p { color: var(--text-secondary); font-size: 14px; }

/* ─── FEATURES ──────────────────────────────────────────── */

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--gap);
}
.feature {
  background: var(--surface);
  border: 1px solid var(--surface-elevated);
  border-radius: var(--radius-md);
  padding: 22px;
}
.feature-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 199, 0, 0.14);
  color: var(--primary);
  margin-bottom: 12px;
}
.feature h3 { font-size: 16px; font-weight: 800; margin-bottom: 6px; }
.feature p { color: var(--text-secondary); font-size: 14px; line-height: 1.5; }

/* ─── SHOWCASE (device mockups) ─────────────────────────── */

#showcase { background: var(--surface); overflow: hidden; }
.shots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 30px;
}
.device-fig {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 232px;
}
.device {
  width: 100%;
  border-radius: 44px;
  background: #0a0a0a;
  padding: 7px;
  border: 1px solid #262626;
  box-shadow: 0 28px 56px -20px rgba(0, 0, 0, 0.85);
  transition: transform .2s ease;
}
.device:hover { transform: translateY(-6px); }
.device img { width: 100%; border-radius: 37px; display: block; }
/* Subtle yellow glow on the middle (hero) phone. */
.device-fig:nth-child(2) .device {
  box-shadow: 0 30px 70px -18px rgba(255, 199, 0, 0.28), 0 24px 50px -20px rgba(0, 0, 0, 0.8);
}
.device-fig figcaption {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

/* ─── PREMIUM BLOCK ─────────────────────────────────────── */

.premium-card {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 199, 0, 0.1), rgba(255, 199, 0, 0.03));
  border: 1.5px solid rgba(255, 199, 0, 0.55);
  border-radius: var(--radius-xl);
  padding: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  box-shadow: 0 12px 48px -16px rgba(255, 199, 0, 0.25);
}
.premium-card h2 { text-align: left; }
.premium-card .sub { text-align: left; margin: 0 0 22px; }
.premium-price {
  font-size: 56px;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -2px;
  line-height: 1;
}
.premium-once { color: var(--text-secondary); font-size: 13px; margin-top: 4px; }
.premium-bullets { list-style: none; margin-top: 16px; }
.premium-bullets li {
  display: flex; gap: 10px; align-items: flex-start;
  margin: 8px 0; color: var(--text);
  font-size: 14px;
}
.premium-bullets li::before {
  content: "✓";
  color: var(--primary);
  font-weight: 900;
  flex-shrink: 0;
}

/* ─── FAQ ───────────────────────────────────────────────── */

.faq {
  max-width: 720px;
  margin: 0 auto;
}
.faq details {
  background: var(--surface);
  border: 1px solid var(--surface-elevated);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-bottom: 10px;
  cursor: pointer;
}
.faq details[open] { border-color: rgba(255, 199, 0, 0.4); }
.faq summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 15px;
  outline: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--primary);
  font-weight: 900;
  font-size: 20px;
  transition: transform .2s ease;
}
.faq details[open] summary::after { content: "−"; }
.faq details p {
  color: var(--text-secondary);
  font-size: 14px;
  margin-top: 12px;
  line-height: 1.6;
}

/* ─── FOOTER ─────────────────────────────────────────────── */

footer {
  border-top: 1px solid var(--surface-elevated);
  padding: 40px 0 60px;
  margin-top: 40px;
}
.foot {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
}
.foot-brand p { color: var(--text-secondary); margin-top: 10px; font-size: 14px; max-width: 280px; }
.foot-col h4 {
  color: var(--text-tertiary);
  font-size: 11px;
  letter-spacing: 1.4px;
  font-weight: 800;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.foot-col ul { list-style: none; }
.foot-col li { margin: 6px 0; }
.foot-col a { color: var(--text-secondary); font-size: 14px; font-weight: 500; }
.foot-col a:hover { color: var(--text); }
.foot-bottom {
  text-align: center;
  color: var(--text-tertiary);
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--surface-elevated);
  font-size: 12px;
}

/* ─── DEEP-LINK / SESSION ───────────────────────────────── */

.deep-card {
  max-width: 480px;
  margin: 80px auto;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--surface-elevated);
  border-radius: var(--radius-xl);
  padding: 44px 30px;
}
.deep-card img { margin: 0 auto 18px; max-height: 180px; }
.deep-card h1 {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -.6px;
  margin-bottom: 8px;
}
.deep-card p { color: var(--text-secondary); margin-bottom: 22px; }
.code-pill {
  display: inline-block;
  padding: 16px 28px;
  background: var(--bg);
  border: 1.5px solid rgba(255, 199, 0, 0.45);
  border-radius: var(--radius-md);
  font-size: 36px;
  font-weight: 900;
  letter-spacing: 8px;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
  margin: 12px 0 24px;
}

/* ─── LEGAL PAGES ─────────────────────────────────────────── */

.legal {
  max-width: 760px;
  margin: 40px auto;
  background: var(--surface);
  border: 1px solid var(--surface-elevated);
  border-radius: var(--radius-md);
  padding: 40px 36px;
}
.legal h1 {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -.6px;
  margin-bottom: 8px;
}
.legal .updated { color: var(--text-tertiary); font-size: 13px; margin-bottom: 24px; }
.legal h2 {
  font-size: 20px;
  font-weight: 800;
  margin: 28px 0 10px;
  color: var(--primary);
}
.legal p { margin: 8px 0; color: var(--text); font-size: 15px; line-height: 1.6; }
.legal ul { padding-left: 22px; margin: 8px 0; }
.legal ul li { margin: 6px 0; color: var(--text); line-height: 1.55; }
.legal a { text-decoration: underline; text-underline-offset: 2px; }
.legal-back {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--text-tertiary);
  font-size: 13px;
}

/* ─── i18n VISIBILITY ────────────────────────────────────── */

[data-lang] { display: none; }
html[lang="el"] [data-lang="el"] { display: block; }
html[lang="en"] [data-lang="en"] { display: block; }
/* Inline elements default to inline */
html[lang="el"] span[data-lang="el"],
html[lang="el"] a[data-lang="el"] { display: inline; }
html[lang="en"] span[data-lang="en"],
html[lang="en"] a[data-lang="en"] { display: inline; }

/* ─── MOBILE ────────────────────────────────────────────── */

@media (max-width: 760px) {
  .nav-links a:not(.lang-pill) { display: none; }
  .steps { grid-template-columns: 1fr; }
  .premium-card { grid-template-columns: 1fr; padding: 28px; }
  .premium-card h2 { text-align: center; }
  .premium-card .sub { text-align: center; }
  .foot { grid-template-columns: 1fr 1fr; gap: 22px; }
  .foot-brand { grid-column: span 2; }
  .device-fig { width: 72%; max-width: 280px; }
  section { padding: 48px 0; }
  .legal { padding: 28px 22px; margin: 24px 16px; }
}
