/* =============================================================
   Nawi Landing Page
   Dark-dominant OLED scroll. One accent (Ultraviolet) doing all the work.
   No invented tokens — everything maps to the design system.
   ============================================================= */

* { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--fg1);
  font-family: var(--font-ui);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body { min-height: 100vh; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* The page is dark-dominant. Force the dark token set globally,
   but the brand-statement and bilingual sections invert locally. */
:root {
  --lp-page-max: 1240px;
  --lp-section-py: 120px;
}
:root[data-theme="dark"] { /* default */ }

/* Page background — OLED black with the faintest top vignette */
body::before {
  content: "";
  position: fixed; inset: 0;
  background:
    radial-gradient(80% 60% at 50% 0%, color-mix(in oklab, var(--accent) 9%, transparent), transparent 65%),
    radial-gradient(60% 40% at 100% 30%, color-mix(in oklab, var(--accent) 6%, transparent), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Ensure all our content sits above the fixed background */
.lp-root { position: relative; z-index: 1; }

/* ─── Common section frame ───────────────────────────────────── */
.lp-section {
  position: relative;
  max-width: var(--lp-page-max);
  margin: 0 auto;
  padding: var(--lp-section-py) 32px;
}

@media (max-width: 900px) {
  :root { --lp-section-py: 80px; }
  .lp-section { padding-left: 20px; padding-right: 20px; }
}

/* ─── NAV ───────────────────────────────────────────────────── */
.lp-nav {
  position: sticky; top: 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 32px;
  max-width: var(--lp-page-max);
  margin: 0 auto;
  background: color-mix(in oklab, var(--bg) 70%, transparent);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
}

.lp-nav-brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 17px; letter-spacing: -0.2px;
  color: var(--fg1);
}
.lp-nav-brand img { border-radius: 8px; }

.lp-nav-links {
  display: flex; align-items: center; gap: 28px;
  font-size: 14px; color: var(--fg2); font-weight: 500;
}
.lp-nav-links a {
  display: inline-block;
  white-space: nowrap;
  transition: color 150ms var(--ease-smooth);
}
.lp-nav-links a:hover { color: var(--fg1); }

.lp-nav-actions { display: flex; align-items: center; gap: 16px; }
.lp-nav-lang {
  font-size: 13px; color: var(--fg2);
  padding: 8px 12px; border-radius: 999px;
  border: 1px solid var(--border);
  font-family: var(--font-ar);
}

@media (max-width: 880px) {
  .lp-nav-links { display: none; }
}

/* ─── Type ──────────────────────────────────────────────────── */
.lp-h1 {
  margin: 0;
  font-size: clamp(48px, 6vw, 88px);
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 0.98;
  color: var(--fg1);
}
.lp-h2 {
  margin: 0;
  font-size: clamp(36px, 4.4vw, 64px);
  font-weight: 700;
  letter-spacing: -1.4px;
  line-height: 1.02;
  color: var(--fg1);
}
.lp-h2-line2 {
  color: color-mix(in oklab, var(--fg1) 65%, transparent);
}
.lp-h2-italic {
  font-style: italic;
  font-weight: 600;
  color: color-mix(in oklab, var(--accent) 90%, white 10%);
}
.lp-h3 {
  margin: 0;
  font-size: 26px; font-weight: 600;
  letter-spacing: -0.4px; line-height: 1.2;
  color: var(--fg1);
}

.lp-bi-heading { display: flex; flex-direction: column; gap: 0; }

/* Inline Arabic snippet */
.lp-arabic-inline {
  font-family: var(--font-ar);
  font-weight: 700;
  color: color-mix(in oklab, var(--accent) 90%, white 10%);
  padding: 0 4px;
  display: inline-block;
  unicode-bidi: isolate;
}

/* ─── HERO ──────────────────────────────────────────────────── */
.lp-hero { padding-top: 60px; padding-bottom: 60px; min-height: 90vh; }
.lp-hero-bg-glow {
  position: absolute; inset: -10% -10% 0 -10%;
  background:
    radial-gradient(50% 50% at 70% 50%, color-mix(in oklab, var(--accent) 22%, transparent), transparent 60%),
    radial-gradient(40% 40% at 20% 80%, color-mix(in oklab, var(--accent) 10%, transparent), transparent 65%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}

.lp-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: 60px;
  align-items: center;
  min-height: 720px;
}

@media (max-width: 980px) {
  .lp-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.lp-hero-copy { position: relative; z-index: 2; }

.lp-hero-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid color-mix(in oklab, var(--accent) 38%, transparent);
  background: color-mix(in oklab, var(--accent) 8%, transparent);
  color: color-mix(in oklab, var(--accent) 92%, white 8%);
  font-size: 12px; font-weight: 600; letter-spacing: 0.2px;
  margin-bottom: 28px;
  white-space: nowrap;
  max-width: 100%;
}
.lp-hero-pill-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}

.lp-hero-title {
  margin: 0;
  font-size: clamp(54px, 6.8vw, 96px);
  font-weight: 700;
  letter-spacing: -2.4px;
  line-height: 0.96;
  color: var(--fg1);
}

.lp-hero-body {
  margin-top: 28px;
  font-size: 18px; line-height: 1.55;
  color: var(--fg2);
  max-width: 540px;
}

.lp-hero-ctas {
  margin-top: 36px;
  display: flex; gap: 12px; flex-wrap: wrap;
}

.lp-hero-meta {
  margin-top: 22px;
  display: flex; align-items: center; gap: 12px;
  font-size: 13px; color: var(--fg2); flex-wrap: wrap;
}
.lp-hero-meta-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #00D084;
  display: inline-block; margin-inline-end: 8px;
  box-shadow: 0 0 8px #00D084;
}

.lp-hero-phones {
  position: relative;
  height: 720px;
  z-index: 1;
}

@media (max-width: 980px) {
  .lp-hero-phones { height: 600px; }
}

/* ─── Phone wrap ────────────────────────────────────────────── */
.lp-phone-wrap {
  position: relative;
  filter: drop-shadow(0 24px 40px rgba(0,0,0,0.5));
}
.lp-phone-halo {
  position: absolute;
  inset: -20% -10%;
  pointer-events: none;
  filter: blur(40px);
  z-index: 0;
}

/* ─── Beta invite email form ────────────────────────────────── */
.lp-beta-invite {
  display: flex; align-items: stretch; gap: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 4px;
  max-width: 440px;
  transition: border-color 200ms var(--ease-smooth);
}
.lp-beta-invite:focus-within {
  border-color: color-mix(in oklab, var(--accent) 70%, var(--border));
}
.lp-beta-invite-input {
  flex: 1; min-width: 0;
  background: transparent;
  border: 0; outline: 0;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 15px;
  color: var(--fg1);
  letter-spacing: -0.1px;
}
.lp-beta-invite-input::placeholder { color: var(--fg3); }
.lp-beta-invite-btn {
  flex: 0 0 auto;
  padding: 11px 20px;
  background: var(--accent);
  color: white;
  border: 0; border-radius: 10px;
  font-family: inherit;
  font-size: 14px; font-weight: 600; letter-spacing: 0.1px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 8px 24px color-mix(in oklab, var(--accent) 28%, transparent);
  transition: transform 150ms var(--ease-smooth), background 150ms var(--ease-smooth);
}
.lp-beta-invite-btn:hover  { background: color-mix(in oklab, var(--accent) 88%, white 12%); }
.lp-beta-invite-btn:active { transform: scale(0.97); }
.lp-beta-invite--final { margin: 0 auto; }

.lp-beta-invite-success {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  background: color-mix(in oklab, #00D084 12%, var(--surface));
  border: 1px solid color-mix(in oklab, #00D084 35%, transparent);
  color: #00D084;
  border-radius: 14px;
  font-size: 14px; font-weight: 600;
  letter-spacing: 0.1px;
}
.lp-beta-invite-success-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #00D084;
  box-shadow: 0 0 10px #00D084;
}
.lp-beta-invite-error {
  flex: 1 1 100%;
  margin-top: 8px;
  font-size: 13px; font-weight: 500;
  color: #F87171;
  letter-spacing: 0.1px;
}

/* ─── Hero pill — closed-beta animation ─────────────────────── */
.lp-hero-pill-dot {
  position: relative;
}
.lp-hero-pill-dot::after {
  content: ""; position: absolute; inset: -4px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.4;
  animation: lp-pulse 2.4s ease-out infinite;
}
@keyframes lp-pulse {
  0%   { transform: scale(0.8); opacity: 0.6; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* Hero CTAs now wrap a single form, not two store buttons */
.lp-hero-ctas { display: block; }

/* ─── Store buttons (kept; not currently used but available) ─ */
.lp-store-btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 18px;
  background: #000;
  border: 1px solid color-mix(in oklab, var(--fg1) 14%, transparent);
  border-radius: 12px;
  color: white;
  cursor: pointer;
  transition: transform 150ms var(--ease-smooth), border-color 150ms var(--ease-smooth);
  font-family: inherit;
}
.lp-store-btn:hover { border-color: color-mix(in oklab, var(--accent) 60%, transparent); transform: translateY(-1px); }
.lp-store-btn-glyph { color: white; display: flex; align-items: center; }
.lp-store-btn-text { text-align: left; line-height: 1; }
.lp-store-btn-line1 { font-size: 10px; opacity: 0.75; letter-spacing: 0.2px; }
.lp-store-btn-line2 { font-size: 18px; font-weight: 600; margin-top: 4px; letter-spacing: -0.3px; }

/* ─── Brand statement ───────────────────────────────────────── */
.lp-brand-statement {
  text-align: center;
  padding-top: 160px; padding-bottom: 160px;
  position: relative;
}
.lp-statement-title {
  margin: 18px 0 0;
  font-size: clamp(52px, 6.5vw, 96px);
  font-weight: 700;
  letter-spacing: -2.4px;
  line-height: 0.96;
  color: var(--fg1);
}
.lp-statement-body {
  margin: 32px auto 0;
  max-width: 560px;
  font-size: 18px; line-height: 1.55;
  color: var(--fg2);
}
.lp-statement-swatch {
  margin: 56px auto 0;
  display: inline-flex; align-items: center; gap: 18px;
  padding: 14px 22px 14px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
}
.lp-statement-swatch-chip {
  width: 48px; height: 48px;
  border-radius: 12px;
  box-shadow: 0 8px 24px color-mix(in oklab, var(--accent) 38%, transparent);
}
.lp-statement-swatch-meta { text-align: left; line-height: 1.2; }
.lp-statement-swatch-name { font-size: 16px; font-weight: 600; color: var(--fg1); }
.lp-statement-swatch-hex { font-family: var(--font-mono); font-size: 13px; color: var(--fg2); margin-top: 4px; }

/* ─── Feature section (two-column with phone) ───────────────── */
.lp-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  min-height: 720px;
}
.lp-feature--rtl .lp-feature-copy { order: 2; }
.lp-feature--rtl .lp-feature-visual { order: 1; }

@media (max-width: 980px) {
  .lp-feature, .lp-feature--rtl { grid-template-columns: 1fr; gap: 48px; }
  .lp-feature--rtl .lp-feature-copy { order: unset; }
  .lp-feature--rtl .lp-feature-visual { order: unset; }
}

.lp-feature-copy > * + * { margin-top: 16px; }
.lp-feature-copy .lp-h2 + * { margin-top: 20px; }

.lp-feature-body {
  margin-top: 24px !important;
  font-size: 17px; line-height: 1.6;
  color: var(--fg2);
  max-width: 480px;
}

.lp-feature-visual {
  display: flex; align-items: center; justify-content: center;
  position: relative;
}

/* Pills shared */
.lp-feature-tags {
  margin-top: 28px !important;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.lp-event-pill {
  display: inline-flex; align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.2px;
}
.lp-event-saudi { background: var(--nawi-event-saudi-national-surface); color: var(--nawi-event-saudi-national); border: 1px solid color-mix(in oklab, var(--nawi-event-saudi-national) 25%, transparent); }
.lp-event-islamic { background: var(--nawi-event-islamic-surface); color: var(--nawi-event-islamic); border: 1px solid color-mix(in oklab, var(--nawi-event-islamic) 25%, transparent); }
.lp-event-international { background: rgba(174,164,191,0.10); color: #C2BBD0; border: 1px solid rgba(174,164,191,0.25); }

/* ─── Date stack (calendars section) ────────────────────────── */
.lp-date-stack {
  margin-top: 32px !important;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 4px 0;
  max-width: 480px;
}
.lp-date-stack-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  align-items: center;
  padding: 16px 20px;
}
.lp-date-stack-label {
  font-size: 11px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--fg3);
}
.lp-date-stack-value {
  font-size: 18px; font-weight: 600; color: var(--fg1); letter-spacing: -0.3px;
}
.lp-date-stack-divider {
  height: 1px; background: var(--divider); margin: 0 20px;
}
.lp-date-stack-prayer {
  display: flex; align-items: center;
  color: var(--accent);
}
.lp-prayer-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); margin-inline-end: 10px;
  box-shadow: 0 0 12px var(--accent);
}

/* ─── NLP card ──────────────────────────────────────────────── */
.lp-nlp-card {
  margin-top: 32px !important;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  max-width: 540px;
  position: relative;
  overflow: hidden;
}
.lp-nlp-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 50% at 50% 0%, color-mix(in oklab, var(--accent) 10%, transparent), transparent 70%);
  pointer-events: none;
}
.lp-nlp-prompt { position: relative; }
.lp-nlp-label {
  font-size: 11px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--fg3);
  margin-bottom: 10px;
}
.lp-nlp-text {
  font-size: 22px; font-weight: 500;
  color: var(--fg1);
  line-height: 1.45;
  letter-spacing: -0.2px;
  font-family: var(--font-ui);
  min-height: 32px;
}
.lp-nlp-hl {
  color: white !important;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 6px;
  margin: 0 2px;
}
.lp-nlp-caret {
  display: inline-block;
  width: 2px; height: 22px;
  background: var(--accent);
  vertical-align: text-bottom;
  margin-inline-start: 4px;
  animation: lp-caret-blink 1s steps(2) infinite;
}
@keyframes lp-caret-blink {
  0%, 50% { opacity: 1; }
  50.01%, 100% { opacity: 0; }
}
.lp-nlp-chips {
  margin-top: 16px;
  display: flex; flex-wrap: wrap; gap: 8px;
  position: relative;
}
.lp-nlp-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px; font-weight: 600; color: white;
}
.lp-nlp-chip-type { opacity: 0.75; text-transform: uppercase; letter-spacing: 0.6px; font-size: 10px; }
.lp-nlp-chip-val { font-weight: 700; }

/* ─── Matrix grid (in copy column) ──────────────────────────── */
.lp-matrix-grid {
  margin-top: 28px !important;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  max-width: 520px;
}
.lp-matrix-cell {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 16px 18px;
}
.lp-matrix-cell-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}
.lp-matrix-cell-en {
  font-size: 17px; font-weight: 700; letter-spacing: -0.2px;
}
.lp-matrix-cell-ar {
  font-family: var(--font-ar); font-size: 14px; font-weight: 700;
  opacity: 0.7;
}
.lp-matrix-cell-body {
  font-size: 13px; line-height: 1.4; color: var(--fg2);
}

/* ─── Privacy section ───────────────────────────────────────── */
.lp-privacy {
  text-align: center;
  padding-top: 160px; padding-bottom: 160px;
  position: relative;
}
.lp-privacy-inner {
  max-width: 760px; margin: 0 auto;
  position: relative;
}
.lp-privacy-title {
  margin: 18px 0 0;
  font-size: clamp(52px, 6vw, 88px);
  font-weight: 700;
  letter-spacing: -2.2px;
  line-height: 0.98;
  color: var(--fg1);
}
.lp-privacy-body {
  margin: 32px auto 0;
  max-width: 560px;
  font-size: 17px; line-height: 1.55;
  color: var(--fg2);
}
.lp-privacy-stats {
  margin: 56px auto 0;
  display: flex; align-items: stretch; justify-content: center; gap: 0;
  max-width: 760px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 4px;
}
.lp-privacy-stat {
  flex: 1;
  padding: 28px 16px;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.lp-privacy-stat-divider {
  flex: 0 0 1px; background: var(--divider); padding: 0;
  margin: 16px 0;
}
.lp-privacy-stat-num {
  font-size: 56px; font-weight: 700; letter-spacing: -2px;
  color: var(--fg1);
  font-variant-numeric: tabular-nums;
}
.lp-privacy-stat-num--accent { color: var(--accent); }
.lp-privacy-stat-label {
  font-size: 14px; color: var(--fg2); font-weight: 500;
  margin-top: 4px;
}
.lp-privacy-stat-ar {
  font-family: var(--font-ar); font-size: 13px; color: var(--fg3);
  margin-top: 2px;
}

/* ─── Bilingual block ───────────────────────────────────────── */
.lp-bilingual {
  padding-top: 140px; padding-bottom: 140px;
}
.lp-quote-card {
  max-width: 880px; margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 64px 56px;
  text-align: center;
}
@media (max-width: 880px) {
  .lp-quote-card { padding: 40px 28px; }
}
.lp-quote-text {
  margin-top: 18px;
  font-size: clamp(28px, 3.6vw, 48px);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.2;
  color: var(--fg1);
}
.lp-bilingual-hl {
  color: var(--accent);
  border-bottom: 2px solid color-mix(in oklab, var(--accent) 45%, transparent);
  padding-bottom: 2px;
}

/* Inline accent phrase (used to call out Arabic markers like "بعد المغرب") */
.lp-inline-accent {
  color: color-mix(in oklab, var(--accent) 90%, white 10%);
  font-family: var(--font-ar);
  font-weight: 700;
  padding: 0 2px;
  unicode-bidi: isolate;
}

/* Arabic page — swap font family stack to Almarai-first */
body.is-arabic {
  font-family: var(--font-ar);
}
body.is-arabic .lp-h1,
body.is-arabic .lp-h2,
body.is-arabic .lp-h3,
body.is-arabic .lp-hero-title,
body.is-arabic .lp-statement-title,
body.is-arabic .lp-privacy-title,
body.is-arabic .lp-final-cta-title,
body.is-arabic .lp-quote-text {
  font-family: var(--font-ar);
  letter-spacing: 0 !important;
}
body.is-arabic .lp-hero-title { line-height: 1.1; }
body.is-arabic .lp-statement-title { line-height: 1.15; }
body.is-arabic .lp-privacy-title { line-height: 1.15; }
body.is-arabic .lp-final-cta-title { line-height: 1.05; }
body.is-arabic .lp-h2 { line-height: 1.15; }
/* Italic in 'Or just loud?' doesn't make sense in Arabic */
body.is-arabic .lp-h2-italic { font-style: normal; }

/* Language toggle pill */
.lp-lang-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600;
  color: var(--fg2);
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--border);
  letter-spacing: 0.5px;
  white-space: nowrap;
  transition: border-color 150ms var(--ease-smooth), color 150ms var(--ease-smooth);
}
.lp-lang-toggle:hover {
  border-color: color-mix(in oklab, var(--accent) 50%, var(--border));
  color: var(--fg1);
}
.lp-lang-toggle > span { transition: color 150ms; }
.lp-lang-toggle .is-active { color: var(--accent); }
.lp-lang-toggle-sep { color: var(--fg3); opacity: 0.6; }

/* ─── Final CTA ─────────────────────────────────────────────── */
.lp-final-cta {
  text-align: center;
  padding-top: 140px; padding-bottom: 100px;
  position: relative;
}
.lp-final-cta-inner {
  position: relative;
  max-width: 760px; margin: 0 auto;
}
.lp-final-cta-title {
  margin: 18px 0 0;
  font-size: clamp(64px, 7.5vw, 120px);
  font-weight: 700;
  letter-spacing: -3px;
  line-height: 0.94;
  color: var(--fg1);
}
.lp-final-cta-body {
  margin: 28px auto 0;
  max-width: 520px;
  font-size: 16px; line-height: 1.55;
  color: var(--fg2);
}
.lp-final-cta-buttons {
  margin-top: 36px;
  display: flex; justify-content: center; gap: 12px; flex-wrap: wrap;
}
.lp-final-cta-note {
  margin-top: 24px;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--fg3);
}
.lp-final-cta-note-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

/* ─── Footer ────────────────────────────────────────────────── */
.lp-footer {
  border-top: 1px solid var(--divider);
  margin-top: 40px;
  padding: 60px 32px 32px;
  max-width: var(--lp-page-max);
  margin-left: auto; margin-right: auto;
  position: relative;
}
.lp-footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  margin-bottom: 60px;
}
@media (max-width: 760px) {
  .lp-footer-inner { grid-template-columns: 1fr; gap: 40px; }
}
.lp-footer-brand {
  display: flex; gap: 12px; align-items: flex-start;
}
.lp-footer-brand img { border-radius: 6px; }
.lp-footer-brand-name { font-size: 17px; font-weight: 700; color: var(--fg1); }
.lp-footer-brand-tag { font-size: 13px; color: var(--fg2); margin-top: 2px; }

.lp-footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
@media (max-width: 560px) {
  .lp-footer-links { grid-template-columns: 1fr 1fr; }
}
.lp-footer-col { display: flex; flex-direction: column; gap: 10px; }
.lp-footer-col-h {
  font-size: 11px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--fg3);
  margin-bottom: 6px;
}
.lp-footer-col a {
  font-size: 14px; color: var(--fg2);
  transition: color 150ms;
}
.lp-footer-col a:hover { color: var(--fg1); }

.lp-footer-bottom {
  border-top: 1px solid var(--divider);
  padding-top: 24px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; color: var(--fg3);
}
.lp-footer-bottom-right { display: flex; gap: 16px; }
.lp-footer-bottom-right a:hover { color: var(--fg1); }

@media (max-width: 560px) {
  .lp-footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

/* ─── 3D SCENE (Three.js canvas) ────────────────────────────── */
/* Canvas lives inside the phone column. It fills that box and the phone
   sits visually in front of it (the canvas is z:0, phones default to z:2). */
.lp-hero-3d-canvas {
  position: absolute;
  inset: -10% -20%;
  pointer-events: none;
  z-index: 0;
  width: 140%;
  height: 120%;
  opacity: 0.9;
}

.lp-hero .lp-hero-copy { position: relative; z-index: 3; }
.lp-hero .lp-hero-phones { position: relative; z-index: 2; }
.lp-hero .lp-phone-wrap { position: relative; z-index: 2; }

@media (max-width: 980px) {
  /* On narrow viewports the columns stack — keep the canvas small and behind the phone */
  .lp-hero-3d-canvas { inset: 0; width: 100%; height: 100%; opacity: 0.6; }
}


/* Brand statement — the rotating accent cube */
.lp-statement-cube {
  display: flex; justify-content: center;
  margin: 56px auto 0;
  filter: drop-shadow(0 24px 56px color-mix(in oklab, var(--accent) 36%, transparent));
}
.lp-statement-cube .lp-3d-stage { pointer-events: none; }

/* Privacy section floating cubes */
.lp-privacy { overflow: hidden; }
.lp-privacy-cubes-left, .lp-privacy-cubes-right {
  position: absolute !important;
  opacity: 0.55;
  filter: drop-shadow(0 20px 32px color-mix(in oklab, var(--accent) 28%, transparent));
}

/* Final CTA floating cubes */
.lp-final-cta { overflow: hidden; }
.lp-final-cubes, .lp-final-cubes-r {
  position: absolute !important;
  opacity: 0.65;
  filter: drop-shadow(0 16px 32px color-mix(in oklab, var(--accent) 28%, transparent));
}
@media (max-width: 900px) {
  .lp-privacy-cubes-left, .lp-privacy-cubes-right,
  .lp-final-cubes, .lp-final-cubes-r { display: none; }
}

/* CSS 3D floating accent cubes (used as ambient garnish) */
.lp-3d-stage {
  position: absolute;
  perspective: 1400px;
  perspective-origin: 50% 50%;
  pointer-events: none;
}
.lp-3d-cube {
  position: absolute;
  transform-style: preserve-3d;
  width: var(--c, 64px); height: var(--c, 64px);
  animation: lp-3d-spin var(--dur, 24s) linear infinite;
  will-change: transform;
}
.lp-3d-cube-face {
  position: absolute; inset: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, color-mix(in oklab, var(--accent) 80%, white 8%), color-mix(in oklab, var(--accent) 45%, black 30%));
  border: 1px solid color-mix(in oklab, var(--accent) 50%, transparent);
  box-shadow:
    inset 0 1px 0 color-mix(in oklab, white 28%, transparent),
    inset 0 -1px 0 color-mix(in oklab, black 30%, transparent);
}
.lp-3d-cube-face.dim {
  background: linear-gradient(135deg, color-mix(in oklab, var(--accent) 12%, var(--surface)), color-mix(in oklab, var(--accent) 6%, var(--surface)));
  border: 1px solid color-mix(in oklab, var(--accent) 22%, var(--border));
}
.lp-3d-cube-face.f { transform: translateZ(calc(var(--c, 64px) / 2)); }
.lp-3d-cube-face.b { transform: translateZ(calc(var(--c, 64px) / -2)) rotateY(180deg); }
.lp-3d-cube-face.l { transform: translateX(calc(var(--c, 64px) / -2)) rotateY(-90deg); }
.lp-3d-cube-face.r { transform: translateX(calc(var(--c, 64px) / 2)) rotateY(90deg); }
.lp-3d-cube-face.t { transform: translateY(calc(var(--c, 64px) / -2)) rotateX(90deg); }
.lp-3d-cube-face.bt { transform: translateY(calc(var(--c, 64px) / 2)) rotateX(-90deg); }

@keyframes lp-3d-spin {
  0%   { transform: rotateX(-22deg) rotateY(0deg) rotateZ(0deg); }
  100% { transform: rotateX(-22deg) rotateY(360deg) rotateZ(0deg); }
}
@keyframes lp-3d-spin-reverse {
  0%   { transform: rotateX(-12deg) rotateY(0deg) rotateZ(-10deg); }
  100% { transform: rotateX(-12deg) rotateY(-360deg) rotateZ(-10deg); }
}
@keyframes lp-3d-float {
  0%, 100% { translate: 0 -8px; }
  50%      { translate: 0 8px; }
}
.lp-3d-cube--float {
  animation: lp-3d-spin var(--dur, 24s) linear infinite, lp-3d-float 6s ease-in-out infinite;
}

/* ─── Section dividers — subtle violet hairline ─────────────── */
.lp-divider {
  max-width: var(--lp-page-max);
  margin: 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--divider) 30%, var(--divider) 70%, transparent);
}

/* ─── Scroll-driven reveal ──────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms var(--ease-smooth), transform 600ms var(--ease-smooth);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}
