/* ==============================================
   LOCI MARKETING — styles.css
   Exact brand colors from the app source
   ============================================== */

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

:root {
  /* From Colors.ts — exact app values */
  --bg:          #0B0A0F;
  --surface:     #13121A;
  --card:        #181722;
  --card-solid:  #1E1D28;
  --border:      #2A293A;
  --border-lg:   #3A3950;

  --text:        #F0EEF6;
  --text-muted:  #9896A8;
  --text-dim:    #6B6980;

  --gold:        #D4A853;
  --gold-lt:     #E8C97A;
  --gold-dim:    rgba(212,168,83,0.18);
  --gold-glow:   rgba(212,168,83,0.12);

  --rose:        #F87171;
  --rose-dim:    rgba(248,113,113,0.14);
  --blue:        #60A5FA;
  --blue-dim:    rgba(96,165,250,0.12);
  --emerald:     #34D399;
  --emerald-dim: rgba(52,211,153,0.14);
  --amber:       #FBBF24;
  --amber-dim:   rgba(251,191,36,0.14);
  --purple:      #A78BFA;
  --purple-dim:  rgba(167,139,250,0.12);

  --serif: 'Playfair Display', Georgia, serif;
  --sans:  'DM Sans', system-ui, sans-serif;

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-full: 9999px;
}

html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
em { font-style: italic; }

/* ─── NAV ─────────────────────────────────────── */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(11,10,15,0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -0.5px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color .18s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  color: #000 !important;
  background: var(--gold);
  padding: 9px 20px;
  border-radius: var(--r-md);
  font-weight: 700 !important;
  transition: opacity .18s, transform .15s;
}
.nav-cta:hover { opacity: .88; transform: translateY(-1px); }

/* ─── SHARED SECTION ──────────────────────────── */
.section { padding: 96px 0; }
.section-alt { background: var(--surface); }
.section-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
}
.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.section-h2 {
  font-family: var(--serif);
  font-size: clamp(30px, 4.5vw, 50px);
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 18px;
}
.section-h2 em { color: var(--gold); }
.section-lead {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 56px;
}
.section-lead em { color: var(--text); font-style: normal; font-weight: 600; }

/* ─── BUTTONS ─────────────────────────────────── */
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: #000;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: var(--r-md);
  transition: opacity .18s, transform .15s;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}
.btn-gold:hover { opacity: .9; transform: translateY(-1px); }
.btn-gold-lg { font-size: 17px; padding: 18px 36px; border-radius: var(--r-lg); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 500;
  transition: color .18s;
}
.btn-ghost:hover { color: var(--text); }

/* ─── HERO ────────────────────────────────────── */
.hero {
  position: relative;
  padding: 148px 0 100px;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}
.hero-glow-1 {
  width: 600px; height: 600px;
  background: rgba(212,168,83,0.07);
  top: -100px; right: -100px;
}
.hero-glow-2 {
  width: 400px; height: 400px;
  background: rgba(167,139,250,0.06);
  bottom: 0; left: 0;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 72px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-dim);
  border: 1px solid rgba(212,168,83,0.28);
  border-radius: var(--r-full);
  padding: 5px 14px;
  margin-bottom: 22px;
}
.hero-h1 {
  font-family: var(--serif);
  font-size: clamp(40px, 5.5vw, 68px);
  line-height: 1.04;
  letter-spacing: -1.5px;
  margin-bottom: 22px;
}
.hero-h1 em { color: var(--gold); }
.hero-p {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 460px;
  margin-bottom: 36px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

/* ─── PHONE FRAME ─────────────────────────────── */
.hero-device {
  position: relative;
  display: flex;
  justify-content: center;
}
.phone {
  width: 290px;
  background: #09080E;
  border-radius: 48px;
  border: 1.5px solid rgba(255,255,255,0.1);
  box-shadow:
    0 0 0 6px rgba(255,255,255,0.03),
    0 48px 96px rgba(0,0,0,0.7),
    0 0 120px rgba(212,168,83,0.07);
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}
.phone-sm { width: 248px; }
.phone-notch {
  width: 90px;
  height: 24px;
  background: #09080E;
  border-radius: 0 0 14px 14px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.phone-screen {
  background: var(--bg);
  display: flex;
  flex-direction: column;
  min-height: 560px;
}
.phone-sm .phone-screen { min-height: 500px; }

/* status bar */
.sb {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 18px 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
}

/* app screen (scrollable area) */
.app-screen {
  flex: 1;
  padding: 6px 12px 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* page header */
.ap-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.ap-title {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--text);
  letter-spacing: -0.3px;
}
.ap-sub {
  font-size: 10px;
  color: var(--text-dim);
  margin-top: 1px;
}
.ap-import-btn {
  font-size: 10px;
  font-weight: 700;
  color: var(--gold);
  border: 1px solid rgba(212,168,83,0.4);
  border-radius: var(--r-full);
  padding: 4px 10px;
  margin-top: 2px;
}

/* script selector */
.ap-selector {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 8px 10px;
}
.ap-selector-label {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 2px;
}
.ap-selector-name {
  font-size: 11px;
  font-weight: 700;
  color: var(--text);
}
.ap-selector-char {
  font-size: 10px;
  color: var(--gold);
  margin-top: 1px;
}
.ap-selector-chevron {
  font-size: 16px;
  color: var(--text-dim);
}

/* focus / readiness card */
.ap-focus {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.ap-focus-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.ap-focus-script {
  font-size: 11px;
  font-weight: 700;
  color: var(--text);
}
.ap-focus-meta {
  font-size: 9px;
  color: var(--text-dim);
  margin-top: 1px;
}
.ap-focus-right { text-align: right; }
.ap-focus-pct {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--gold);
  line-height: 1;
}
.ap-focus-sym { font-size: 14px; }
.ap-focus-ready {
  font-size: 9px;
  color: var(--text-dim);
}
.ap-prog-bar {
  height: 3px;
  background: var(--border);
  border-radius: 2px;
}
.ap-prog-fill {
  height: 100%;
  background: var(--gold);
  border-radius: 2px;
}
.ap-weak-row { display: flex; align-items: center; gap: 6px; }
.ap-weak-pill {
  font-size: 9px;
  font-weight: 700;
  color: var(--amber);
  background: var(--amber-dim);
  border: 1px solid rgba(251,191,36,0.35);
  border-radius: var(--r-full);
  padding: 1px 7px;
}
.ap-weak-hint { font-size: 9px; color: var(--text-dim); }

/* gold CTA button in app */
.ap-gold-btn {
  background: var(--gold);
  color: #000;
  font-size: 11px;
  font-weight: 700;
  border-radius: var(--r-md);
  padding: 10px;
  text-align: center;
}

/* mode cards list */
.ap-modes { display: flex; flex-direction: column; gap: 6px; }
.ap-mode {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 8px 10px;
}
.ap-mode-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  border-width: 1px;
  border-style: solid;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.ap-mode-body { flex: 1; min-width: 0; }
.ap-mode-name { font-size: 10px; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.ap-mode-desc { font-size: 9px; color: var(--text-muted); line-height: 1.4; margin-bottom: 3px; }
.ap-mode-best { font-size: 8px; font-weight: 600; }
.ap-mode-arr { font-size: 12px; color: var(--text-dim); margin-top: 10px; }

/* tab bar */
.tab-bar {
  display: flex;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 6px 0 8px;
  flex-shrink: 0;
}
.tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  opacity: 0.4;
  font-size: 14px;
}
.tab-active { opacity: 1; }
.tab-lbl {
  font-size: 8px;
  font-weight: 500;
  color: var(--text-dim);
}
.tab-lbl-on {
  color: var(--gold);
  font-weight: 700;
}

/* floating callouts */
.callout {
  position: absolute;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 20px;
  pointer-events: none;
  white-space: nowrap;
}
.callout-nailed {
  background: var(--emerald-dim);
  border: 1px solid rgba(52,211,153,0.3);
  color: var(--emerald);
  top: 56px;
  right: 24px;
  animation: floatA 4s ease-in-out infinite;
}
.callout-weak {
  background: var(--rose-dim);
  border: 1px solid rgba(248,113,113,0.3);
  color: var(--rose);
  bottom: 104px;
  left: 24px;
  animation: floatB 5s ease-in-out infinite;
}
@keyframes floatA { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
@keyframes floatB { 0%,100%{transform:translateY(0)} 50%{transform:translateY(8px)} }

/* ─── STRIP ───────────────────────────────────── */
.strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  padding: 22px 28px;
}
.strip-inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.strip-item { display: flex; align-items: baseline; gap: 6px; }
.strip-num {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--gold);
}
.strip-lbl { font-size: 13px; color: var(--text-muted); }
.strip-div { width: 1px; height: 24px; background: var(--border); }

/* ─── FEATURES ────────────────────────────────── */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 28px;
  transition: border-color .2s, transform .2s;
}
.feat-card:hover {
  border-color: var(--border-lg);
  transform: translateY(-2px);
}
.feat-wide {
  grid-column: span 1;
}
.feat-icon {
  width: 52px; height: 52px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 18px;
}
.feat-card h3 {
  font-family: var(--serif);
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--text);
}
.feat-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}
.beta-tag {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--amber);
  background: var(--amber-dim);
  border: 1px solid rgba(251,191,36,0.35);
  border-radius: 6px;
  padding: 2px 6px;
  vertical-align: middle;
  margin-left: 4px;
}

/* ─── HOW IT WORKS ────────────────────────────── */
.how-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}
.steps { display: flex; flex-direction: column; gap: 28px; margin-top: 8px; }
.step { display: flex; gap: 18px; align-items: flex-start; }
.step-n {
  font-family: var(--serif);
  font-size: 40px;
  color: var(--gold);
  opacity: 0.35;
  line-height: 1;
  flex-shrink: 0;
  width: 44px;
}
.step-title {
  font-family: var(--serif);
  font-size: 19px;
  color: var(--text);
  margin-bottom: 6px;
}
.step-body p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }
.c-missed { color: var(--rose); font-weight: 700; }
.c-close  { color: var(--amber); font-weight: 700; }
.c-nailed { color: var(--emerald); font-weight: 700; }

.how-device { display: flex; justify-content: center; }

/* Run Lines / Cue Only screen inside phone */
.rl-screen {
  flex: 1;
  padding: 6px 10px 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.rl-topbar {
  display: flex;
  align-items: center;
  gap: 6px;
}
.rl-x { font-size: 12px; color: var(--text-dim); }
.rl-prog { flex: 1; }
.rl-prog-txt {
  font-size: 8px;
  color: var(--text-dim);
  text-align: center;
  margin-bottom: 3px;
}
.rl-track { height: 2.5px; background: var(--border); border-radius: 2px; }
.rl-fill  { height: 100%; background: var(--blue); border-radius: 2px; }
.rl-pill {
  font-size: 8px;
  font-weight: 700;
  color: var(--blue);
  background: var(--blue-dim);
  border: 1px solid rgba(96,165,250,0.25);
  border-radius: var(--r-full);
  padding: 2px 8px;
}
.rl-cue {
  background: var(--blue-dim);
  border: 1px solid rgba(96,165,250,0.2);
  border-radius: var(--r-md);
  padding: 9px;
}
.rl-cue-char {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 4px;
}
.rl-cue-text {
  font-family: var(--serif);
  font-style: italic;
  font-size: 11px;
  color: var(--text);
  line-height: 1.5;
}
.rl-target {
  background: rgba(212,168,83,0.06);
  border: 1px solid rgba(212,168,83,0.18);
  border-radius: var(--r-md);
  padding: 10px;
  text-align: center;
}
.rl-target-char {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 3px;
}
.rl-target-prompt {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--text);
  margin-bottom: 3px;
}
.rl-target-hint { font-size: 8px; color: var(--text-dim); margin-bottom: 5px; }
.rl-reveal-btn {
  display: inline-block;
  font-size: 9px;
  color: var(--gold);
  border: 1px solid rgba(212,168,83,0.3);
  border-radius: var(--r-full);
  padding: 3px 10px;
}
.rl-rate-label {
  font-size: 9px;
  color: var(--text-dim);
  text-align: center;
}
.rl-rates { display: flex; gap: 5px; }
.rl-rate {
  flex: 1;
  border-radius: 9px;
  border-width: 1.5px;
  border-style: solid;
  padding: 8px 4px;
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.3;
}
.rl-rate span { font-weight: 400; font-size: 8px; display: block; }
.rl-missed { background: var(--rose-dim);    border-color: rgba(248,113,113,0.28); color: var(--rose); }
.rl-close  { background: var(--amber-dim);   border-color: rgba(251,191,36,0.28);  color: var(--amber); }
.rl-nailed { background: var(--emerald-dim); border-color: rgba(52,211,153,0.28);  color: var(--emerald); }

/* ─── MODES ───────────────────────────────────── */
.modes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}
.mode-tile {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 24px;
  transition: border-color .2s, transform .2s;
}
.mode-tile:hover {
  border-color: var(--border-lg);
  transform: translateY(-2px);
}
.mode-highlight {
  border-color: rgba(248,113,113,0.22);
  background: rgba(248,113,113,0.04);
}
.mode-icon-wrap {
  width: 46px; height: 46px;
  border-radius: var(--r-md);
  border-width: 1px;
  border-style: solid;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 14px;
}
.mode-tile-name {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--text);
  margin-bottom: 8px;
}
.mode-tile-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 12px;
}
.mode-tile-best {
  font-size: 11px;
  font-weight: 600;
}
.recommended-tag {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--rose);
  background: var(--rose-dim);
  border: 1px solid rgba(248,113,113,0.3);
  border-radius: 6px;
  padding: 2px 7px;
  vertical-align: middle;
  margin-left: 4px;
}

/* Self Tape callout row */
.selftape-row {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
.selftape-icon-wrap {
  width: 52px; height: 52px;
  background: rgba(248,113,113,0.1);
  border: 1px solid rgba(248,113,113,0.25);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
}
.selftape-title {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--text);
  margin-bottom: 8px;
}
.selftape-desc { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* ─── CTA ─────────────────────────────────────── */
.cta-section {
  position: relative;
  padding: 120px 28px;
  overflow: hidden;
}
.cta-glow {
  position: absolute;
  width: 700px; height: 700px;
  background: radial-gradient(ellipse, rgba(212,168,83,0.1) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.cta-h2 {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.1;
  margin-bottom: 18px;
}
.cta-h2 em { color: var(--gold); }
.cta-sub {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 1.6;
}
.cta-note {
  margin-top: 14px;
  font-size: 12px;
  color: var(--text-dim);
}

/* ─── FOOTER ──────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 40px 28px 24px;
}
.footer-inner {
  max-width: 1120px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-tag { font-size: 13px; color: var(--text-dim); margin-top: 4px; }
.footer-links { display: flex; gap: 28px; }
.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color .18s;
}
.footer-links a:hover { color: var(--text); }
.footer-copy {
  max-width: 1120px;
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-dim);
}

/* ─── RESPONSIVE ──────────────────────────────── */
@media (max-width: 960px) {
  .hero-inner     { grid-template-columns: 1fr; gap: 56px; }
  .hero-copy      { text-align: center; }
  .hero-p         { max-width: 100%; }
  .hero-actions   { justify-content: center; }
  .hero-device    { justify-content: center; }
  .feat-grid      { grid-template-columns: repeat(2, 1fr); }
  .modes-grid     { grid-template-columns: repeat(2, 1fr); }
  .how-inner      { grid-template-columns: 1fr; gap: 52px; }
  .how-copy       { text-align: center; }
  .step           { flex-direction: column; gap: 4px; }
  .step-n         { font-size: 28px; }
  .footer-inner   { flex-direction: column; gap: 20px; text-align: center; }
}

@media (max-width: 600px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .feat-grid   { grid-template-columns: 1fr; }
  .modes-grid  { grid-template-columns: 1fr; }
  .phone       { width: 248px; }
  .callout     { display: none; }
  .strip-div   { display: none; }
  .how-device  { display: none; }
  .selftape-row { flex-direction: column; }
}
