/* JORN — Static site styles
   Dark theme + neon green, mobile-first.
   Display headings: Anton (Google Fonts, optional) with strong system fallback.
   Body: native system stack. No mandatory external dependencies. */

@import url("https://fonts.googleapis.com/css2?family=Anton&display=swap");

:root {
  --bg: #050d0a;
  --bg-2: #07140f;
  --surface: #0c1c15;
  --surface-2: #102a20;
  --border: #16382b;
  --border-soft: #122a21;
  --text: #e7f5ec;
  --text-strong: #ffffff;
  --muted: #8aa89a;
  --accent: #2bff9c;
  --accent-strong: #5cffb3;
  --accent-dim: rgba(43, 255, 156, 0.12);
  --accent-glow: rgba(43, 255, 156, 0.35);
  --warn: #ffb84d;
  --danger: #ff5d5d;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  --max-width: 1120px;

  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Anton", "Impact", "Haettenschweiler", "Arial Narrow Bold",
    var(--font-body);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background:
    radial-gradient(1100px 600px at 85% -10%, rgba(43, 255, 156, 0.10), transparent 60%),
    radial-gradient(800px 500px at -10% 25%, rgba(43, 255, 156, 0.06), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { max-width: 100%; display: block; }

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.15s ease;
}
a:hover { color: var(--accent-strong); text-decoration: underline; }

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.2em; }
li { margin-bottom: 0.4em; }

code {
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 0.1em 0.4em;
  border-radius: 6px;
  font-size: 0.92em;
}

.muted { color: var(--muted); }

/* ===== Typography (display) =====
   Hero / section titles use a heavy condensed display face,
   uppercase, tight tracking, with white + green-accent words. */
.display {
  font-family: var(--font-display);
  font-weight: 400; /* Anton is naturally heavy */
  text-transform: uppercase;
  letter-spacing: 0.005em;
  line-height: 0.95;
  color: var(--text-strong);
  margin: 0 0 0.4em;
}

.display .accent {
  color: var(--accent);
  text-shadow: 0 0 24px rgba(43, 255, 156, 0.35);
}

h1.display { font-size: clamp(2.6rem, 8vw, 5.2rem); }
h2.display { font-size: clamp(1.9rem, 5.5vw, 3.4rem); }

/* Regular content headings (legal pages) */
h1, h2, h3, h4 {
  color: var(--text-strong);
  line-height: 1.2;
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
}
h1:not(.display) { font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 800; }
h2:not(.display) { font-size: 1.3rem; font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 600; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
  font-weight: 700;
}

/* ===== Layout ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}
.container--narrow { max-width: 760px; }

section { padding: 80px 0; }
@media (max-width: 640px) { section { padding: 56px 0; } }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 13, 10, 0.78);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: var(--max-width);
  margin: 0 auto;
  gap: 16px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-strong);
  font-weight: 800;
  letter-spacing: 0.08em;
}
.nav__brand:hover { text-decoration: none; color: var(--text-strong); }

.nav__links {
  display: flex;
  gap: 22px;
  align-items: center;
  font-size: 0.95rem;
}
.nav__links a { color: var(--muted); }
.nav__links a:hover { color: var(--accent); text-decoration: none; }

.lang {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}
.lang a {
  padding: 6px 12px;
  color: var(--muted);
  font-weight: 700;
}
.lang a:hover { background: var(--accent-dim); color: var(--accent); text-decoration: none; }
.lang a.is-active {
  background: var(--accent);
  color: #002416;
}

@media (max-width: 640px) {
  .nav__links { gap: 12px; font-size: 0.85rem; }
  .nav__links .nav__link-extra { display: none; }
}

/* ===== App icon (CSS placeholder) ===== */
.app-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #00ff9c 0%, #00b870 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #002416;
  font-weight: 900;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  box-shadow:
    0 8px 24px rgba(43, 255, 156, 0.25),
    inset 0 -3px 8px rgba(0, 0, 0, 0.18),
    inset 0 2px 4px rgba(255, 255, 255, 0.35);
  font-family: var(--font-body);
  flex-shrink: 0;
}
.app-icon--sm { width: 32px; height: 32px; border-radius: 8px; font-size: 1rem; }
.app-icon--lg { width: 96px; height: 96px; border-radius: 22px; font-size: 2.6rem; }

/* ===== Hero ===== */
.hero {
  padding: 96px 0 80px;
  text-align: center;
  position: relative;
}

.hero__icon { margin: 0 auto 28px; }

.hero__sub {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--muted);
  max-width: 640px;
  margin: 22px auto 36px;
}

.hero__ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.hero__note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 10px;
}

@media (max-width: 640px) { .hero { padding: 56px 0 48px; } }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.08s ease, background 0.15s ease,
    border-color 0.15s ease, box-shadow 0.15s ease;
  font-family: inherit;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--accent);
  color: #002416;
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(43, 255, 156, 0.22);
}
.btn--primary:hover { background: var(--accent-strong); border-color: var(--accent-strong); color: #002416; }

.btn--secondary {
  background: transparent;
  color: var(--text-strong);
  border-color: var(--border);
}
.btn--secondary:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-dim); }

/* ===== Section heads ===== */
.section__head {
  text-align: center;
  margin-bottom: 48px;
}
.section__head p {
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto;
}

/* ===== Cards / grid ===== */
.grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover {
  border-color: rgba(43, 255, 156, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}
.card h3 { margin-top: 12px; margin-bottom: 6px; }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.card__icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--accent-dim);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
}

/* ===== Audience pills ===== */
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.pill {
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--text);
  font-size: 0.95rem;
}

/* ===== Pro plan ===== */
.pro {
  background:
    radial-gradient(600px 300px at 80% -10%, rgba(43, 255, 156, 0.18), transparent 70%),
    linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
  border: 1px solid rgba(43, 255, 156, 0.35);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 36px;
  align-items: center;
}
.pro ul { padding-left: 1.1em; }
.pro__price {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.pro__price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.pro__price-row:last-of-type { border-bottom: 0; padding-bottom: 0; }
.pro__price-row strong { font-size: 1.4rem; color: var(--accent); }
.pro__trial { font-size: 0.9rem; color: var(--muted); }
@media (max-width: 760px) {
  .pro { grid-template-columns: 1fr; padding: 28px; }
}

/* ===== Privacy banner ===== */
.privacy-banner {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
  text-align: center;
}

/* ===== Screens gallery ===== */
.screens {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  align-items: end;
}
.screen {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border);
  aspect-ratio: 9 / 19;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(43, 255, 156, 0.08),
    0 0 40px rgba(43, 255, 156, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.screen:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(43, 255, 156, 0.18),
    0 0 60px rgba(43, 255, 156, 0.18);
}
.screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.screen__caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 14px 16px;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.65));
  text-align: center;
  font-weight: 700;
}
/* Placeholder shown when image is missing or before it loads */
.screen[data-fallback] {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.6rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  line-height: 1.05;
}

/* ===== Legal page layout ===== */
.page { padding: 56px 0 80px; }
.page h1 { margin-bottom: 8px; }
.page__date {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 28px;
}
.page h2 { margin-top: 36px; font-size: 1.35rem; }
.page h3 { margin-top: 24px; }
.page .disclaimer {
  margin-top: 40px;
  padding: 16px 18px;
  border-left: 3px solid var(--accent);
  background: var(--accent-dim);
  border-radius: 6px;
  color: var(--text);
  font-size: 0.92rem;
}
.page .back { margin-top: 40px; font-size: 0.95rem; }

/* ===== FAQ ===== */
.faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 14px 18px;
  margin-bottom: 10px;
  transition: border-color 0.15s ease;
}
.faq details[open] { border-color: rgba(43, 255, 156, 0.4); }
.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text-strong);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--accent);
  font-size: 1.3rem;
  font-weight: 400;
  transition: transform 0.15s ease;
}
.faq details[open] summary::after { content: "−"; }
.faq details > p { margin: 12px 0 4px; color: var(--muted); }

/* ===== Footer ===== */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 36px 0 48px;
  margin-top: 24px;
  background: rgba(0, 0, 0, 0.2);
}
.footer__grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 0.9rem;
}
.footer__links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 0.95rem;
}
.footer__links a { color: var(--muted); }
.footer__links a:hover { color: var(--accent); }
.footer__bottom {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
