/* ============ KAGE — global styles ============ */

:root {
  --bg: #050505;
  --bg-soft: #0c0c0d;
  --bg-card: #101012;
  --border: #1e1e21;
  --border-red: rgba(225, 29, 46, 0.45);
  --red: #e11d2e;
  --red-bright: #ff2d3f;
  --red-glow: rgba(225, 29, 46, 0.35);
  --gold: #d9a521;
  --text: #f2f2f2;
  --text-dim: #9a9aa0;
  --text-faint: #6b6b72;
  --serif: "Playfair Display", "Georgia", serif;
  --mono: "JetBrains Mono", "SF Mono", "Menlo", monospace;
  --sans: "Inter", -apple-system, "Helvetica Neue", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--red); color: #fff; }

a { color: var(--red-bright); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 5, 5, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-family: var(--serif);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text);
  letter-spacing: 0.01em;
}
.logo:hover { text-decoration: none; }
.logo .dot { color: var(--red); }

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-links a {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.nav-links a:hover { color: var(--text); text-decoration: none; }

.nav-cta {
  border: 1px solid var(--border-red);
  border-radius: 999px;
  padding: 8px 18px !important;
  color: var(--red-bright) !important;
  transition: background 0.2s, color 0.2s;
}
.nav-cta:hover { background: var(--red); color: #fff !important; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 90px 0 70px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 45% at 70% 20%, rgba(225, 29, 46, 0.13), transparent 70%),
    radial-gradient(ellipse 45% 40% at 20% 85%, rgba(225, 29, 46, 0.07), transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.kicker {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red-bright);
  margin-bottom: 20px;
}

h1 {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  line-height: 1.08;
  margin-bottom: 22px;
}

h1 .red { color: var(--red); }

.hero-sub {
  color: var(--text-dim);
  font-size: 1.12rem;
  max-width: 480px;
  margin-bottom: 34px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #000;
  border: 1px solid #3a3a3e;
  border-radius: 14px;
  padding: 10px 22px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.store-badge:hover {
  text-decoration: none;
  border-color: var(--red);
  box-shadow: 0 0 24px var(--red-glow);
}
.store-badge svg { width: 30px; height: 30px; fill: #fff; }
.store-badge .badge-text { line-height: 1.25; }
.store-badge .badge-small { display: block; font-size: 0.68rem; color: var(--text-dim); }
.store-badge .badge-big { display: block; font-size: 1.15rem; font-weight: 600; color: #fff; }

.hero-note {
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* ---------- phone mockup ---------- */

.phone {
  width: 300px;
  margin: 0 auto;
  background: #0a0a0b;
  border: 3px solid #2a2a2e;
  border-radius: 44px;
  padding: 20px 18px 26px;
  box-shadow:
    0 0 60px rgba(225, 29, 46, 0.12),
    0 30px 80px rgba(0, 0, 0, 0.8);
}

.phone-title {
  font-family: var(--serif);
  font-weight: 800;
  font-size: 1.4rem;
  margin-bottom: 14px;
}
.phone-title .dot { color: var(--red); }

.phone-level-label {
  font-family: var(--mono);
  text-align: center;
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  color: var(--red-bright);
  text-transform: uppercase;
}

.phone-level {
  font-family: var(--serif);
  font-weight: 800;
  text-align: center;
  font-size: 2.1rem;
  line-height: 1.15;
  margin-bottom: 2px;
}
.phone-level .red { color: var(--red); }

.phone-rank {
  font-family: var(--mono);
  text-align: center;
  font-size: 0.6rem;
  letter-spacing: 0.42em;
  color: var(--text-dim);
  margin-bottom: 14px;
}

.phone-bar {
  height: 6px;
  border-radius: 999px;
  background: #1c1c1f;
  border: 1px solid rgba(225, 29, 46, 0.35);
  overflow: hidden;
  margin-bottom: 6px;
}
.phone-bar span {
  display: block;
  height: 100%;
  width: 8%;
  background: var(--red);
  border-radius: 999px;
  box-shadow: 0 0 10px var(--red-glow);
}

.phone-bar-meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.14em;
  color: var(--text-faint);
  margin-bottom: 16px;
}
.phone-bar-meta .streak { color: var(--red-bright); }

.phone-week {
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
}
.phone-day { text-align: center; }
.phone-day .ring {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid var(--red);
  box-shadow: 0 0 8px rgba(225, 29, 46, 0.4) inset, 0 0 6px rgba(225, 29, 46, 0.25);
  margin: 0 auto 5px;
}
.phone-day .ring.off {
  border-color: #e8e8e8;
  box-shadow: none;
}
.phone-day small {
  font-family: var(--mono);
  font-size: 0.55rem;
  color: var(--text-faint);
}

.phone-task {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--gold);
  border-radius: 14px;
  background: rgba(217, 165, 33, 0.05);
  padding: 11px 13px;
  margin-bottom: 10px;
  font-size: 0.8rem;
  font-weight: 500;
}
.phone-task.red-task {
  border-color: var(--red);
  background: rgba(225, 29, 46, 0.06);
}
.phone-task .check {
  margin-left: auto;
  width: 20px;
  height: 20px;
  border: 1.5px solid var(--gold);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: var(--gold);
  flex-shrink: 0;
}
.phone-task.red-task .check { border-color: var(--red); color: var(--red-bright); }
.phone-task .ico { flex-shrink: 0; }

/* ---------- sections ---------- */

section { padding: 80px 0; }

.section-kicker {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red-bright);
  margin-bottom: 14px;
}

h2 {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  line-height: 1.15;
  margin-bottom: 16px;
}
h2 .red { color: var(--red); }

.section-sub {
  color: var(--text-dim);
  max-width: 560px;
  margin-bottom: 48px;
}

/* features grid */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 24px;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.feature-card:hover {
  border-color: var(--border-red);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(225, 29, 46, 0.08);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border-red);
  background: rgba(225, 29, 46, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 18px;
}

.feature-card h3 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--text-dim);
  font-size: 0.94rem;
}

/* stats section */

.stats-band {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.stat-ring {
  text-align: center;
  padding: 22px 8px;
  border-radius: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.stat-ring .circle {
  width: 62px;
  height: 62px;
  margin: 0 auto 12px;
  border-radius: 50%;
  border: 3px solid;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.15rem;
}

.stat-ring small {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.c-physical  { border-color: #e11d2e; box-shadow: 0 0 18px rgba(225,29,46,.35); }
.c-social    { border-color: #22c55e; box-shadow: 0 0 18px rgba(34,197,94,.3); }
.c-discipline{ border-color: #d9a521; box-shadow: 0 0 18px rgba(217,165,33,.3); }
.c-mental    { border-color: #a855f7; box-shadow: 0 0 18px rgba(168,85,247,.3); }
.c-intellect { border-color: #3b82f6; box-shadow: 0 0 18px rgba(59,130,246,.3); }
.c-ambition  { border-color: #f97316; box-shadow: 0 0 18px rgba(249,115,22,.3); }

/* quote section */

.quote-box {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  padding: 20px 0;
}

.quote-mark {
  font-family: var(--serif);
  color: var(--red);
  font-size: 3.4rem;
  line-height: 1;
  margin-bottom: 6px;
}

blockquote {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.35;
  margin-bottom: 18px;
}

.quote-attr {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--red-bright);
}

/* final CTA */

.cta {
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 60% at 50% 100%, rgba(225, 29, 46, 0.14), transparent 70%);
  pointer-events: none;
}
.cta .container { position: relative; }
.cta h2 { margin-bottom: 14px; }
.cta p { color: var(--text-dim); margin-bottom: 32px; }

/* ---------- footer ---------- */

footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a,
.footer-copy {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.footer-links a:hover { color: var(--text); text-decoration: none; }

/* ---------- legal pages ---------- */

.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 70px 24px 100px;
}

.legal h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 10px;
}

.legal .effective {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 40px;
}

.legal h2 {
  font-size: 1.35rem;
  margin: 42px 0 12px;
}

.legal p, .legal li {
  color: var(--text-dim);
  font-size: 0.99rem;
}

.legal p { margin-bottom: 14px; }

.legal ul { margin: 0 0 16px 22px; }
.legal li { margin-bottom: 8px; }

.legal strong { color: var(--text); }

.legal .intro { font-size: 1.05rem; }

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-copy { order: 1; }
  .hero-visual { order: 2; margin-top: 40px; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 560px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  section { padding: 60px 0; }
  .phone { width: 270px; }
}
