/* =========================================================
   Lorem AI — Stylesheet
   Palette: Primary gold #F1B56E · Dark gold #C88A32
            Light gold #F8D9A5 · Background #FFFFFF
            Dark #111111 · Text #171717 · Muted #6B6B6B
   ========================================================= */

:root {
  --gold: #F1B56E;
  --gold-dark: #C88A32;
  --gold-light: #F8D9A5;
  --bg: #FFFFFF;
  --dark: #111111;
  --text: #171717;
  --muted: #6B6B6B;

  /* semantic surface tokens — these are what switch between themes */
  --surface: #FFFFFF;
  --surface-alt: #FDFBF7;
  --nav-bg: rgba(255, 255, 255, 0.82);
  --border: rgba(17, 17, 17, 0.08);
  --border-soft: rgba(17, 17, 17, 0.06);
  --placeholder-grad-a: #FBF3E7;
  --placeholder-grad-b: #F3E2C7;
  --input-bg: #FDFCFA;
  --btn-primary-text: #17130a;

  --font-display: 'Sora', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 26px;
  --shadow-sm: 0 2px 10px rgba(17, 17, 17, 0.06);
  --shadow-md: 0 12px 32px rgba(200, 138, 50, 0.14);
  --shadow-lg: 0 24px 60px rgba(17, 17, 17, 0.12);

  --section-x: clamp(20px, 6vw, 80px);
  --max-width: 1240px;

  color-scheme: light;
}

html[data-theme="dark"] {
  --bg: #111111;
  --dark: #0A0A0A;
  --text: #F2F0EC;
  --muted: #A3A09A;

  --surface: #1A1917;
  --surface-alt: #161513;
  --nav-bg: rgba(17, 17, 17, 0.78);
  --border: rgba(255, 255, 255, 0.1);
  --border-soft: rgba(255, 255, 255, 0.08);
  --placeholder-grad-a: #241F17;
  --placeholder-grad-b: #332818;
  --input-bg: #1F1E1B;
  --btn-primary-text: #17130a;

  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.5);

  color-scheme: dark;
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.3s ease, color 0.3s ease;
}
img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font: inherit; border: none; background: none; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; color: var(--text); }
p { color: inherit; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---------- Layout helpers ---------- */
.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--section-x);
  padding-right: var(--section-x);
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: linear-gradient(90deg, var(--gold-light), rgba(248, 217, 165, 0.3));
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.eyebrow.center { display: block; width: fit-content; margin-left: auto; margin-right: auto; }
.eyebrow-dark { background: rgba(241, 181, 110, 0.15); color: var(--gold); }

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}
.section-sub { color: var(--muted); font-size: 1.05rem; margin-top: 14px; }
.on-dark { color: #fff; }
.on-dark-sub { color: rgba(255,255,255,0.6); }

.text-gradient {
  background: linear-gradient(100deg, var(--gold-dark), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(100deg, var(--gold-dark), var(--gold));
  color: var(--btn-primary-text);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(200, 138, 50, 0.28); }

.btn-outline {
  border: 1.5px solid var(--text);
  color: var(--text);
  background: transparent;
}
.btn-outline:hover { border-color: var(--gold-dark); color: var(--gold-dark); }

.btn-lg { padding: 15px 30px; font-size: 1rem; }
.btn-block { width: 100%; }

/* ---------- Navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}
.navbar.scrolled {
  border-bottom-color: var(--border-soft);
  box-shadow: 0 6px 24px rgba(17, 17, 17, 0.05);
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px var(--section-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}


.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text);
  letter-spacing: -0.02em;
}
.brand-name.light { color: #fff; }
.brand-ai { color: var(--gold-dark); }
.brand-name.light .brand-ai { color: var(--gold); }


.brand {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  width: 160px;
  height: auto;
  display: block;
}

/* Light theme */
.brand-logo-dark {
  display: none;
}

/* Dark theme */
[data-theme="dark"] .brand-logo-light {
  display: none;
}

[data-theme="dark"] .brand-logo-dark {
  display: block;
}




.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
  white-space: nowrap;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--gold-dark);
  transition: right 0.25s ease;
}
.nav-link:hover { color: var(--gold-dark); }
.nav-link:hover::after,
.nav-link.active::after { right: 0; }
.nav-link.active { color: var(--gold-dark); }

.nav-cta { display: flex; align-items: center; gap: 12px; }

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--text);
  background: var(--surface);
  flex-shrink: 0;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}
.theme-toggle:hover {
  border-color: var(--gold-dark);
  color: var(--gold-dark);
  transform: translateY(-1px);
}
.theme-toggle .icon-moon { display: none; }
html[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
html[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 26px;
  padding: 4px;
}
.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, background-color 0.3s ease;
  border-top: 1px solid var(--border-soft);
  background: var(--bg);
}
.mobile-menu.open { max-height: 560px; }
.mobile-link {
  padding: 15px var(--section-x);
  font-weight: 500;
  border-bottom: 1px solid var(--border-soft);
}
.mobile-link:hover { color: var(--gold-dark); background: rgba(241, 181, 110, 0.06); }
.mobile-cta {
  display: flex;
  padding: 18px var(--section-x) 22px;
}
.mobile-cta .btn { flex: 1; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 80px 0 90px; }
.hero-glow {
  position: absolute;
  top: -180px;
  right: -160px;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(241, 181, 110, 0.35), rgba(248, 217, 165, 0) 70%);
  filter: blur(10px);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(2.3rem, 4.2vw, 3.5rem);
  line-height: 1.12;
  margin-bottom: 22px;
}
.hero-sub {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 520px;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }

.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 480px; }
.stat-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 14px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.3s ease;
}
.stat-card:hover { transform: translateY(-3px); border-color: rgba(200, 138, 50, 0.3); }
.stat-icon { color: var(--gold-dark); margin-bottom: 2px; }
.stat-value { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: var(--text); }
.stat-label { font-size: 0.76rem; color: var(--muted); line-height: 1.3; }

.image-placeholder {
  background: linear-gradient(145deg, var(--placeholder-grad-a), var(--placeholder-grad-b));
  border: 1px solid rgba(200, 138, 50, 0.18);
  border-radius: var(--radius-lg);
}

.hero-placeholder { padding: 18px; box-shadow: var(--shadow-lg); }
.mock-panel { background: var(--dark); border-radius: var(--radius-md); padding: 20px; color: #fff; }
.mock-panel-head { display: flex; align-items: center; gap: 6px; margin-bottom: 16px; }
.mock-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.18); }
.mock-title { margin-left: 10px; font-size: 0.8rem; color: rgba(255,255,255,0.5); letter-spacing: 0.04em; }
.mock-chart { width: 100%; height: 130px; margin-bottom: 16px; }
.mock-stats { display: flex; flex-direction: column; gap: 10px; }
.mock-stats > div { display: flex; justify-content: space-between; font-size: 0.88rem; padding: 10px 12px; background: rgba(255,255,255,0.05); border-radius: 10px; }
.mock-label { color: rgba(255,255,255,0.65); }
.mock-value.up { color: #F1B56E; font-weight: 600; }
.mock-value.down { color: #d98a8a; font-weight: 600; }

/* ---------- Why Lorem AI ---------- */
.why { padding: 100px 0; background: var(--surface-alt); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-card {
  padding: 32px 26px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(200, 138, 50, 0.25); }
.why-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--gold-light), var(--surface));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.why-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.why-card p { color: var(--muted); font-size: 0.95rem; }

/* ---------- How it works ---------- */
.how-it-works { padding: 100px 0; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.step {
  position: relative;
  padding: 30px 24px;
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.step-number {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1.4px var(--gold-dark);
  margin-bottom: 16px;
}
.step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.92rem; }

/* ---------- AI Intelligence Engine ---------- */
.ai-engine { padding: 100px 0; background: var(--surface-alt); }

.dashboard {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  margin-bottom: 44px;
}
.dashboard-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.dashboard-title { display: flex; align-items: center; gap: 10px; font-weight: 700; font-family: var(--font-display); }
.dash-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(241,181,110,0.2); }
.dashboard-badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: rgba(241, 181, 110, 0.14);
  padding: 5px 12px;
  border-radius: 999px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  grid-template-rows: auto auto;
  gap: 18px;
}
.dash-panel {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px;
}
.dash-panel-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 14px; font-weight: 600; }

.dash-tickers { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.ticker-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; }
.ticker-name { font-weight: 700; font-size: 0.9rem; }
.ticker-name span { color: var(--muted); font-weight: 500; }
.ticker-spark { width: 100%; height: 26px; color: var(--gold); }
.ticker-value { font-size: 0.85rem; font-weight: 700; text-align: right; }
.ticker-value.up { color: #2f9e5c; }
.ticker-value.down { color: #d1554f; }
html[data-theme="dark"] .ticker-value.up { color: #6fd39a; }
html[data-theme="dark"] .ticker-value.down { color: #e58884; }

.dash-chart { grid-column: 2; grid-row: 1; }
.perf-chart { width: 100%; height: 140px; color: var(--text); }

.dash-signals { grid-column: 1; grid-row: 2; display: flex; flex-direction: column; gap: 12px; }
.signal-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; font-size: 0.85rem; }
.signal-tag { font-size: 0.72rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; text-align: center; }
.signal-tag.buy { background: rgba(47, 158, 92, 0.14); color: #2f9e5c; }
.signal-tag.hold { background: rgba(200, 138, 50, 0.14); color: var(--gold-dark); }
html[data-theme="dark"] .signal-tag.buy { color: #6fd39a; }
.signal-conf { color: var(--muted); font-size: 0.78rem; text-align: right; }

.dash-trends { grid-column: 2; grid-row: 2; display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.trend-row { display: flex; align-items: center; gap: 14px; font-size: 0.85rem; }
.trend-row > span:first-child { width: 90px; flex-shrink: 0; color: var(--muted); }
.trend-bar { flex: 1; height: 7px; border-radius: 999px; background: var(--border); overflow: hidden; }
.trend-bar span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--gold-dark), var(--gold)); }

.dashboard-disclaimer { margin-top: 20px; font-size: 0.78rem; color: var(--muted); text-align: center; }

.engine-highlights {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.highlight-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  padding: 20px 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.86rem;
  font-weight: 600;
  transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.3s ease;
}
.highlight-item:hover { transform: translateY(-4px); border-color: rgba(200, 138, 50, 0.3); }
.highlight-icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--gold-light);
  display: flex; align-items: center; justify-content: center;
}

/* ---------- Evolving Intelligence ---------- */
.evolving { padding: 100px 0; }
.evolving-inner { max-width: 900px; text-align: center; margin: 0 auto; }
.evolving-copy { max-width: 680px; margin: 0 auto 48px; }
.evolving-copy p { color: var(--muted); margin-top: 16px; font-size: 1.02rem; }

.progress-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; text-align: left; }
.progress-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 24px;
}
.progress-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; font-weight: 600; }
.progress-percent { font-family: var(--font-display); color: var(--gold-dark); font-weight: 800; }
.progress-track { height: 9px; border-radius: 999px; background: var(--border); overflow: hidden; }
.progress-fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
  transition: width 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.progress-disclaimer { margin-top: 26px; font-size: 0.82rem; color: var(--muted); text-align: center; }

/* ---------- Security (dark section) ---------- */
.security {
  padding: 100px 0;
  background: linear-gradient(180deg, #111111, #0A0A0A);
  position: relative;
  overflow: hidden;
}
.security::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(241, 181, 110, 0.14), transparent 70%);
  pointer-events: none;
}
.security .section-inner { position: relative; }
.security-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.security-card {
  padding: 30px 24px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  transition: transform 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}
.security-card:hover { transform: translateY(-6px); border-color: rgba(241, 181, 110, 0.4); background: rgba(255, 255, 255, 0.06); }
.security-icon {
  width: 50px; height: 50px;
  border-radius: 13px;
  background: rgba(241, 181, 110, 0.12);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.security-card h3 { color: #fff; font-size: 1.08rem; margin-bottom: 10px; }
.security-card p { color: rgba(255,255,255,0.6); font-size: 0.93rem; }

/* ---------- Vision ---------- */
.vision { padding: 100px 0; }
.values-row { display: flex; justify-content: center; gap: 32px; flex-wrap: wrap; }
.value-item {
  flex: 1 1 220px;
  max-width: 280px;
  text-align: center;
  padding: 34px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}
.value-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.value-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--gold-light), var(--surface));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.value-item h3 { font-size: 1.15rem; margin-bottom: 10px; }
.value-item p { color: var(--muted); font-size: 0.94rem; }

/* ---------- Final CTA ---------- */
.cta {
  position: relative;
  overflow: hidden;
  padding: 110px 0;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold) 60%, var(--gold-light));
  text-align: center;
}
.cta-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.35), transparent 55%);
  pointer-events: none;
}
.cta-inner { position: relative; max-width: 620px; margin: 0 auto; }
.cta h2 { color: #1a1305; font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-bottom: 16px; }
.cta p { color: rgba(23, 19, 10, 0.75); font-size: 1.08rem; margin-bottom: 32px; }
.cta .btn-primary {
  background: #17130a;
  color: #F8D9A5;
  box-shadow: 0 14px 34px rgba(23, 19, 10, 0.3);
}
.cta .btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(23, 19, 10, 0.35); }
.cta-note { display: block; margin-top: 18px; font-size: 0.85rem; font-weight: 600; color: rgba(23, 19, 10, 0.65); letter-spacing: 0.03em; }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: rgba(255,255,255,0.7); padding-top: 64px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; padding-bottom: 46px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand { max-width: 320px; }
.footer-brand p { margin-top: 14px; font-size: 0.92rem; color: rgba(255,255,255,0.5); }
.social-links { display: flex; gap: 10px; margin-top: 20px; }
.social-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.14);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.social-icon:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

.footer-links { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col h4 { color: #fff; font-size: 0.9rem; margin-bottom: 16px; letter-spacing: 0.03em; }
.footer-col a, .footer-col .footer-static { display: block; margin-bottom: 11px; font-size: 0.9rem; color: rgba(255,255,255,0.6); transition: color 0.2s ease; }
.footer-col a:hover { color: var(--gold); }

.footer-disclaimer { padding: 28px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.footer-disclaimer p { font-size: 0.78rem; line-height: 1.7; color: rgba(255,255,255,0.42); max-width: 900px; }

.footer-bottom { padding: 20px 0; }
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.4); text-align: center; }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(100deg, var(--gold-dark), var(--gold));
  color: #17130a;
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  z-index: 900;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-3px); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* =========================================================
   Responsive — mobile gets intentionally different layouts,
   not just a squeezed version of desktop.
   ========================================================= */

@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .dashboard-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .dash-tickers, .dash-chart, .dash-signals, .dash-trends { grid-column: 1; grid-row: auto; }
  .engine-highlights { grid-template-columns: repeat(3, 1fr); }
  .security-grid { grid-template-columns: repeat(2, 1fr); }
  .progress-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: flex; }
  .hero-visual { display: none; }

  .why, .how-it-works, .ai-engine, .evolving, .security, .vision, .cta { padding: 64px 0; }
  .hero { padding: 46px 0 60px; }

  /* Hero stats: distinct horizontal-card stack instead of shrunk grid */
  .hero-stats { grid-template-columns: 1fr; max-width: 100%; }
  .stat-card { flex-direction: row; align-items: center; gap: 12px; }
  .stat-value { font-size: 1.05rem; }

  /* Why Lorem AI: horizontal scroll-snap carousel on mobile */
  .why-grid {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
    margin: 0 calc(var(--section-x) * -1);
    padding-left: var(--section-x);
    padding-right: var(--section-x);
  }
  .why-card { flex: 0 0 82%; scroll-snap-align: start; }

  /* How it works: vertical timeline instead of grid */
  .steps { display: flex; flex-direction: column; gap: 0; grid-template-columns: none; }
  .step {
    display: grid;
    grid-template-columns: 44px 1fr;
    align-items: start;
    column-gap: 16px;
    row-gap: 6px;
    border-radius: 0;
    border: none;
    background: transparent;
    padding: 22px 0;
    position: relative;
  }
  .step:hover { transform: none; box-shadow: none; }
  .step-number {
    -webkit-text-stroke: 0;
    color: var(--btn-primary-text);
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    width: 44px; height: 44px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.95rem;
    margin-bottom: 0;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    grid-row: 1 / 3;
  }
  .step h3 { grid-column: 2; margin-top: 2px; }
  .step p { grid-column: 2; }
  .step:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 21px;
    top: 66px;
    bottom: -22px;
    width: 2px;
    background: var(--border);
  }

  /* Dashboard: simplified stacked panels */
  .dashboard { padding: 20px; }
  .engine-highlights { grid-template-columns: repeat(2, 1fr); }

  /* Progress grid stays 1-col (already set at 1080bp) */

  /* Security cards: compact 2-col icon-first cards */
  .security-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .security-card { padding: 20px 16px; text-align: center; }
  .security-icon { margin: 0 auto 14px; }
  .security-card h3 { font-size: 0.95rem; }
  .security-card p { display: none; }

  /* Vision values: horizontal icon-left rows instead of centered columns */
  .values-row { flex-direction: column; gap: 14px; }
  .value-item { max-width: 100%; display: flex; align-items: center; gap: 16px; text-align: left; padding: 20px; }
  .value-icon { margin: 0; flex-shrink: 0; width: 52px; height: 52px; }

  .footer-links { gap: 32px; }
  .footer-inner { flex-direction: column; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .engine-highlights { grid-template-columns: 1fr 1fr; }
  .dash-tickers, .dash-signals, .dash-trends, .dash-chart { padding: 14px; }
}
