/* ================================================
   Signal Pulse — Marketing Website
   ================================================ */

/* ---- CSS Custom Properties ---- */

:root {
  /* Light mode gradient */
  --bg-gradient-start: #f8fafc;
  --bg-gradient-mid: #eff6ff;
  --bg-gradient-end: #f0fdfa;

  /* Colors */
  --color-cyan: #06b6d4;
  --color-amber: #f59e0b;
  --color-purple: #8b5cf6;
  --color-blue: #3b82f6;
  --color-teal: #14b8a6;
  --color-bullish: #34d399;
  --color-bearish: #f87171;

  /* Text */
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;

  /* Surfaces */
  --surface-bg: rgba(255, 255, 255, 0.6);
  --surface-card: rgba(255, 255, 255, 0.7);
  --surface-elevated: rgba(255, 255, 255, 0.8);
  --border-subtle: rgba(0, 0, 0, 0.08);
  --border-card: rgba(0, 0, 0, 0.06);

  /* Sphere opacity */
  --sphere-opacity: 0.3;
}

[data-theme="dark"] {
  --bg-gradient-start: #0c1222;
  --bg-gradient-mid: #111827;
  --bg-gradient-end: #0f1729;

  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --surface-bg: rgba(15, 23, 42, 0.6);
  --surface-card: rgba(30, 41, 59, 0.5);
  --surface-elevated: rgba(30, 41, 59, 0.7);
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-card: rgba(255, 255, 255, 0.08);

  --sphere-opacity: 0.15;
}

/* ---- Reset & Base ---- */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text-primary);
  background: linear-gradient(135deg, var(--bg-gradient-start) 0%, var(--bg-gradient-mid) 50%, var(--bg-gradient-end) 100%);
  background-attachment: fixed;
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.mono { font-family: 'JetBrains Mono', monospace; }

/* ---- Gradient Background + Spheres (BG1-BG3) ---- */

.sphere-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.sphere {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: var(--sphere-opacity);
  will-change: transform;
}

.sphere--cyan { background: radial-gradient(circle, #06b6d4, transparent 70%); }
.sphere--amber { background: radial-gradient(circle, #f59e0b, transparent 70%); }
.sphere--blue { background: radial-gradient(circle, #3b82f6, transparent 70%); }
.sphere--teal { background: radial-gradient(circle, #14b8a6, transparent 70%); }

[data-theme="dark"] .sphere--cyan { background: radial-gradient(circle, #22d3ee, transparent 70%); }
[data-theme="dark"] .sphere--amber { background: radial-gradient(circle, #fbbf24, transparent 70%); }

@keyframes float-1 {
  0%   { transform: translate(0, 0) scale(1); }
  25%  { transform: translate(100px, -150px) scale(1.1); }
  50%  { transform: translate(-50px, -300px) scale(0.95); }
  75%  { transform: translate(-150px, -100px) scale(1.05); }
  100% { transform: translate(0, 0) scale(1); }
}

@keyframes float-2 {
  0%   { transform: translate(0, 0) scale(1); }
  25%  { transform: translate(-120px, 80px) scale(0.9); }
  50%  { transform: translate(80px, 200px) scale(1.1); }
  75%  { transform: translate(150px, -50px) scale(0.95); }
  100% { transform: translate(0, 0) scale(1); }
}

@keyframes float-3 {
  0%   { transform: translate(0, 0) scale(1); }
  25%  { transform: translate(60px, 120px) scale(1.05); }
  50%  { transform: translate(-100px, 50px) scale(0.9); }
  75%  { transform: translate(-30px, -80px) scale(1.1); }
  100% { transform: translate(0, 0) scale(1); }
}

@keyframes float-4 {
  0%   { transform: translate(0, 0) scale(1); }
  25%  { transform: translate(-80px, -60px) scale(1.1); }
  50%  { transform: translate(120px, -120px) scale(0.95); }
  75%  { transform: translate(40px, 80px) scale(1.05); }
  100% { transform: translate(0, 0) scale(1); }
}

/* ---- Typography ---- */

h1, h2, h3 { font-family: 'Instrument Serif', serif; font-weight: 400; }
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: 1.1; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.2; }

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.text-gradient-cyan {
  background: linear-gradient(135deg, #06b6d4, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-accent-cyan { color: var(--color-cyan); }

/* ---- Buttons ---- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 0.5rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn--primary {
  background: var(--color-amber);
  color: #0f172a;
}

.btn--primary:hover {
  background: #d97706;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.btn--ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  border-color: var(--color-cyan);
  color: var(--color-cyan);
}

.btn--lg { padding: 1rem 2rem; font-size: 1.05rem; }

/* ---- Navbar ---- */

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  padding: 1rem 2rem;
  transition: background 0.3s, backdrop-filter 0.3s, box-shadow 0.3s;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .navbar.scrolled {
  background: rgba(15, 23, 42, 0.7);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.navbar__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-primary);
}

.navbar__title {
  font-family: 'Instrument Serif', serif;
  font-size: 1.35rem;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.navbar__link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.navbar__link:hover { color: var(--text-primary); }

.navbar__cta { padding: 0.5rem 1.25rem; font-size: 0.85rem; }

.theme-toggle {
  background: none;
  border: 1px solid var(--border-subtle);
  border-radius: 0.375rem;
  padding: 0.4rem;
  cursor: pointer;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  transition: color 0.2s, border-color 0.2s;
}

.theme-toggle:hover { color: var(--text-primary); border-color: var(--color-cyan); }

[data-theme="dark"] .theme-toggle__sun { display: block; }
[data-theme="dark"] .theme-toggle__moon { display: none; }
[data-theme="light"] .theme-toggle__sun { display: none; }
[data-theme="light"] .theme-toggle__moon { display: block; }

.navbar__mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.navbar__mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ---- Hero ---- */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 1.5rem 4rem;
  position: relative;
  z-index: 1;
}

.hero__content { max-width: 800px; }

.hero__sub {
  color: var(--text-secondary);
  font-size: clamp(1rem, 2vw, 1.25rem);
  max-width: 60ch;
  margin: 1.5rem auto 2rem;
}

.hero__ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.arrow-down {
  display: inline-block;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

/* Hero load animation */
.hero-anim {
  opacity: 0;
  transform: translateY(24px);
  animation: hero-fade-up 0.7s ease-out forwards;
  animation-delay: var(--delay, 0ms);
}

@keyframes hero-fade-up {
  to { opacity: 1; transform: translateY(0); }
}

/* ---- Hero Mockup ---- */

.hero__mockup {
  margin-top: 3rem;
  perspective: 1000px;
}

.mockup-frame {
  background: var(--surface-card);
  border: 1px solid var(--border-card);
  border-radius: 1rem;
  padding: 1.25rem;
  max-width: 480px;
  margin: 0 auto;
  transform: rotateY(-4deg) rotateX(2deg);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.1),
    0 0 0 1px var(--border-subtle);
  backdrop-filter: blur(12px);
  transition: transform 0.4s ease;
}

.mockup-frame:hover {
  transform: rotateY(0deg) rotateX(0deg);
}

[data-theme="dark"] .mockup-frame {
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.4),
    0 0 0 1px var(--border-subtle);
}

.mockup-signal-card__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.mockup-badge {
  padding: 0.2rem 0.6rem;
  border-radius: 0.25rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.mockup-badge--buy { background: rgba(52, 211, 153, 0.15); color: var(--color-bullish); }
.mockup-badge--sell { background: rgba(248, 113, 113, 0.15); color: var(--color-bearish); }

.mockup-pair { font-weight: 600; font-size: 0.95rem; }

.mockup-confidence { display: flex; align-items: center; gap: 0.5rem; margin-left: auto; font-size: 0.75rem; color: var(--text-muted); }
.mockup-confidence__bar { width: 60px; height: 4px; background: var(--border-subtle); border-radius: 2px; overflow: hidden; }
.mockup-confidence__fill { height: 100%; background: linear-gradient(90deg, var(--color-cyan), var(--color-purple)); border-radius: 2px; }

.mockup-signal-card__title { font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: 0.95rem; margin-bottom: 0.5rem; }
.mockup-signal-card__summary { font-size: 0.8rem; color: var(--text-secondary); line-height: 1.5; margin-bottom: 1rem; text-align: left; }

.mockup-signal-card__levels {
  display: flex;
  gap: 1.5rem;
  padding: 0.75rem;
  background: var(--surface-bg);
  border-radius: 0.5rem;
  border: 1px solid var(--border-subtle);
}

.mockup-level { display: flex; flex-direction: column; gap: 0.15rem; }
.mockup-level__label { font-size: 0.65rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.mockup-level__value { font-size: 0.85rem; font-weight: 500; }
.mockup-level--bullish { color: var(--color-bullish); }
.mockup-level--bearish { color: var(--color-bearish); }

.mockup-signal-card__footer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.mockup-tag {
  font-size: 0.65rem;
  padding: 0.15rem 0.5rem;
  border-radius: 0.25rem;
  background: var(--surface-bg);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
}

.mockup-time { font-size: 0.65rem; color: var(--text-muted); margin-left: auto; }

/* ---- Social Proof Bar ---- */

.proof-bar {
  position: relative;
  z-index: 1;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: var(--surface-bg);
  backdrop-filter: blur(8px);
}

.proof-bar__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 0 1.5rem;
  flex-wrap: wrap;
}

.proof-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.proof-item__number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-cyan);
}

.proof-item__icon {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  background: linear-gradient(135deg, var(--color-cyan), var(--color-purple));
  color: white;
  letter-spacing: 0.05em;
}

.proof-item__label {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.proof-divider {
  width: 1px;
  height: 24px;
  background: var(--border-subtle);
}

/* ---- Hero Feature Cards ---- */

.features-hero {
  position: relative;
  z-index: 1;
  padding: 6rem 0;
}

.features-hero__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--surface-card);
  border: 1px solid var(--border-card);
  border-radius: 1rem;
  padding: 1.5rem;
  backdrop-filter: blur(8px);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-cyan);
  box-shadow: 0 12px 40px rgba(6, 182, 212, 0.1);
}

[data-theme="dark"] .feature-card:hover {
  box-shadow: 0 12px 40px rgba(6, 182, 212, 0.08);
}

.feature-card__visual {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  border-radius: 0.75rem;
  overflow: hidden;
  background: var(--surface-bg);
  border: 1px solid var(--border-subtle);
}

.feature-card__svg { width: 100%; height: 100%; padding: 0.5rem; }

.feature-card__title {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.feature-card__desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Mini signal card (feature card 3) */

.mini-signal-card {
  padding: 1rem;
  width: 200px;
}

.mini-signal-card__top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.mini-badge {
  font-size: 0.6rem;
  font-weight: 700;
  padding: 0.15rem 0.4rem;
  border-radius: 0.2rem;
  letter-spacing: 0.05em;
}

.mini-badge--buy { background: rgba(52, 211, 153, 0.15); color: var(--color-bullish); }
.mini-pair { font-size: 0.8rem; font-weight: 600; }

.mini-signal-card__levels {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}

.mini-level {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
}

.mini-level__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.mini-level__dot--entry { background: var(--color-cyan); }
.mini-level__dot--target { background: var(--color-bullish); }
.mini-level__dot--stop { background: var(--color-bearish); }

.mini-signal-card__bar {
  height: 4px;
  background: var(--border-subtle);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 0.35rem;
}

.mini-signal-card__bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-cyan), var(--color-purple));
  border-radius: 2px;
}

.mini-signal-card__conf { font-size: 0.65rem; color: var(--text-muted); }

/* ---- How It Works ---- */

.how-it-works {
  position: relative;
  z-index: 1;
  padding: 6rem 0;
}

.pipeline {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.pipeline__step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.pipeline__number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 1.1rem;
  background: linear-gradient(135deg, var(--color-cyan), var(--color-purple));
  color: white;
}

.pipeline__content { flex: 1; padding-bottom: 1rem; }

.pipeline__title {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.pipeline__desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.pipeline__sources {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.source-tag {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.3rem 0.7rem;
  border-radius: 0.375rem;
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.pipeline__line {
  width: 2px;
  height: 2rem;
  background: linear-gradient(to bottom, var(--color-cyan), var(--color-purple));
  margin-left: 23px;
  opacity: 0.4;
}

/* ---- Feature Grid ---- */

.feature-grid-section {
  position: relative;
  z-index: 1;
  padding: 6rem 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.grid-card {
  padding: 1.25rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border-card);
  background: var(--surface-card);
  backdrop-filter: blur(8px);
  transition: border-color 0.2s ease;
}

.grid-card:hover { border-color: var(--color-cyan); }

.grid-card__icon {
  color: var(--color-cyan);
  margin-bottom: 0.75rem;
}

.grid-card__title {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.grid-card__desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ---- Asset Classes ---- */

.asset-section {
  position: relative;
  z-index: 1;
  padding: 6rem 0;
}

.asset-panels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.asset-panel {
  position: relative;
  overflow: hidden;
  padding: 2rem 1.5rem;
  border-radius: 1rem;
  border: 1px solid var(--border-card);
  background: var(--surface-card);
  backdrop-filter: blur(8px);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.asset-panel__icon { font-size: 2rem; margin-bottom: 0.75rem; }

.asset-panel__title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.asset-panel__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.asset-panel__list li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding-left: 1rem;
  position: relative;
}

.asset-panel__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text-muted);
}

.asset-panel__accent {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.asset-panel:hover .asset-panel__accent { opacity: 1; }

.asset-panel--fx:hover { border-color: rgba(6, 182, 212, 0.3); box-shadow: 0 8px 30px rgba(6, 182, 212, 0.08); }
.asset-panel--gold:hover { border-color: rgba(245, 158, 11, 0.3); box-shadow: 0 8px 30px rgba(245, 158, 11, 0.08); }
.asset-panel--crypto:hover { border-color: rgba(139, 92, 246, 0.3); box-shadow: 0 8px 30px rgba(139, 92, 246, 0.08); }

.asset-panel__accent--cyan { background: linear-gradient(90deg, transparent, var(--color-cyan), transparent); }
.asset-panel__accent--amber { background: linear-gradient(90deg, transparent, var(--color-amber), transparent); }
.asset-panel__accent--purple { background: linear-gradient(90deg, transparent, var(--color-purple), transparent); }

/* ---- Signup ---- */

.signup-section {
  position: relative;
  z-index: 1;
  padding: 8rem 0;
}

.signup {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.signup__headline {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.signup__sub {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.signup__form { margin-bottom: 1.5rem; }

.signup__input-wrap {
  display: flex;
  max-width: 440px;
  margin: 0 auto;
  border-radius: 0.5rem;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--surface-card);
  backdrop-filter: blur(8px);
  transition: border-color 0.2s;
}

.signup__input-wrap:focus-within {
  border-color: var(--color-cyan);
}

.signup__input {
  flex: 1;
  padding: 0.9rem 1rem;
  border: none;
  background: transparent;
  color: var(--text-primary);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  outline: none;
}

.signup__input::placeholder { color: var(--text-muted); }

.signup__btn {
  border-radius: 0;
  padding: 0.9rem 1.5rem;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.signup__btn-arrow { font-size: 0.75rem; }

.signup__error {
  color: var(--color-bearish);
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

.signup__success {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 1.05rem;
  color: var(--color-bullish);
  padding: 1rem;
  animation: hero-fade-up 0.5s ease-out;
}

.signup__check {
  font-size: 1.3rem;
}

.signup__trust {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ---- Footer ---- */

.footer {
  position: relative;
  z-index: 1;
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border-subtle);
  background: var(--surface-bg);
  backdrop-filter: blur(8px);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__brand { max-width: 300px; }

.footer__name {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Instrument Serif', serif;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.footer__tagline {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.footer__columns {
  display: flex;
  gap: 4rem;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__col-title {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.footer__link {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer__link:hover { color: var(--text-primary); }

.footer__bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ---- Scroll Reveal Animations ---- */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal[data-direction="left"] { transform: translateX(-40px); }
.reveal[data-direction="right"] { transform: translateX(40px); }

.reveal.revealed {
  opacity: 1;
  transform: translate(0);
}

[data-stagger] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

[data-stagger].revealed {
  opacity: 1;
  transform: translate(0);
}

/* ---- Reduced Motion ---- */

@media (prefers-reduced-motion: reduce) {
  .sphere { animation: none !important; }
  .reveal { transition: none !important; opacity: 1 !important; transform: none !important; }
  [data-stagger] { transition: none !important; opacity: 1 !important; transform: none !important; }
  .hero-anim { animation: none !important; opacity: 1 !important; transform: none !important; }
  .arrow-down { animation: none !important; }
}

/* ---- Responsive ---- */

@media (max-width: 640px) {
  .navbar__links { display: none; }
  .navbar__links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface-elevated);
    backdrop-filter: blur(16px);
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid var(--border-subtle);
  }
  .navbar__mobile-toggle { display: flex; }

  .hero { padding: 6rem 1.5rem 3rem; min-height: auto; }
  .hero h1 { font-size: clamp(2rem, 8vw, 3rem); }

  .features-hero__grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .asset-panels { grid-template-columns: 1fr; }

  .proof-bar__inner { gap: 1rem; }
  .proof-divider { display: none; }

  .footer__inner { flex-direction: column; }
  .footer__columns { gap: 2rem; }

  .sphere { opacity: 0.15; }

  .mockup-signal-card__levels { flex-direction: column; gap: 0.5rem; }
}

@media (min-width: 641px) and (max-width: 1024px) {
  .features-hero__grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .asset-panels { grid-template-columns: repeat(2, 1fr); }
}
