/* ============================================================
   TradeSnap
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Mono:ital,wght@0,300;0,400;0,500;1,400&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,800;0,9..40,900;1,9..40,300&display=swap');
/* ============================================================
   CSS VARIABLES — DARK THEME (default)
   ============================================================ */
:root {
  /* Core palette */
  --bg-base:        #080d14;
  --bg-surface:     #0e1620;
  --bg-elevated:    #141e2b;
  --bg-card:        #101825;
  --bg-input:       #0c1520;

  /* Borders */
  --border-subtle:  rgba(255, 255, 255, 0.06);
  --border-default: rgba(255, 255, 255, 0.10);
  --border-strong:  rgba(255, 255, 255, 0.18);

  /* Signal green — the alert color */
  --accent:         #00e676;
  --accent-dim:     #00c864;
  --accent-glow:    rgba(0, 230, 118, 0.15);
  --accent-subtle:  rgba(0, 230, 118, 0.08);

  /* Amber — secondary accent for "live" indicators */
  --amber:          #ffb300;
  --amber-dim:      rgba(255, 179, 0, 0.15);

  /* Red for down/negative */
  --red:            #ff4444;
  --red-dim:        rgba(255, 68, 68, 0.12);

  /* Text */
  --text-primary:   #eef2f7;
  --text-secondary: #7d8fa8;
  --text-tertiary:  #4a5c72;
  --text-inverse:   #080d14;

  /* Typography */
  --font-display:   'DM Sans', sans-serif;
  --font-body:      'DM Sans', sans-serif;
  --font-mono:      'DM Mono', monospace;

  /* Spacing */
  --nav-h:          68px;

  /* Shadows */
  --shadow-card:    0 1px 3px rgba(0,0,0,0.4), 0 8px 32px rgba(0,0,0,0.3);
  --shadow-glow:    0 0 40px rgba(0, 230, 118, 0.12);
  --shadow-lg:      0 24px 64px rgba(0, 0, 0, 0.5);

  /* Transitions */
  --ease:           cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out:       cubic-bezier(0.0, 0.0, 0.2, 1);
}

/* ============================================================
   LIGHT THEME OVERRIDES
   ============================================================ */
[data-theme="light"] {
  --bg-base:        #f0f4f9;
  --bg-surface:     #ffffff;
  --bg-elevated:    #f7fafc;
  --bg-card:        #ffffff;
  --bg-input:       #f0f4f9;

  --border-subtle:  rgba(0, 0, 0, 0.05);
  --border-default: rgba(0, 0, 0, 0.10);
  --border-strong:  rgba(0, 0, 0, 0.18);

  --accent:         #00a854;
  --accent-dim:     #00c864;
  --accent-glow:    rgba(0, 168, 84, 0.12);
  --accent-subtle:  rgba(0, 168, 84, 0.07);

  --amber:          #d68000;
  --amber-dim:      rgba(214, 128, 0, 0.12);

  --red:            #e03030;
  --red-dim:        rgba(224, 48, 48, 0.10);

  --text-primary:   #0e1a2b;
  --text-secondary: #5a6c82;
  --text-tertiary:  #8a9bb0;
  --text-inverse:   #ffffff;

  --shadow-card:    0 1px 3px rgba(0,0,0,0.08), 0 8px 24px rgba(0,0,0,0.06);
  --shadow-glow:    0 0 40px rgba(0, 168, 84, 0.10);
  --shadow-lg:      0 24px 64px rgba(0, 0, 0, 0.12);
}

/* ============================================================
   RESET + BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 18px;
}

body {
  font-family: var(--font-body);
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ============================================================
   BACKGROUND TEXTURE — subtle grid
   ============================================================ */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
	linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
	linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

[data-theme="light"] body::before {
  background-image:
	linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px),
	linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  padding: 0 5%;
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), backdrop-filter 0.3s;
}

.nav.scrolled {
  background: rgba(8, 13, 20, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: var(--border-subtle);
}

[data-theme="light"] .nav.scrolled {
  background: rgba(255, 255, 255, 0.88);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.nav-logo .logo-mark {
  width: 32px;
  height: 32px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.nav-logo .logo-mark::after {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Theme toggle */
.theme-toggle {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--border-default);
  background: var(--bg-elevated);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all 0.2s var(--ease);
}

.theme-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all 0.2s var(--ease);
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--text-inverse);
}

.btn-primary:hover {
  background: var(--accent-dim);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-default);
}

.btn-ghost:hover {
  color: var(--text-primary);
  border-color: var(--border-strong);
  background: var(--bg-elevated);
}

.btn-lg {
  padding: 0.875rem 2rem;
  font-size: 1rem;
  border-radius: 10px;
}

.btn-xl {
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
  border-radius: 10px;
  font-weight: 600;
}

.btn-elite {
	border-color: var(--amber);
	background-color: var(--amber);
	color: #000;
	font-weight: 800;
}
.btn.btn-elite:hover {
	border-color: var(--amber);
	background-color: transparent;
	color: var(--amber);
	box-shadow: 0 4px 20px var(--amber);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 4rem) 5% 0;
  position: relative;
  overflow: hidden;
}

/* Radial glow behind hero text */
.hero::after {
  content: '';
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(0, 230, 118, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.875rem;
  background: var(--accent-subtle);
  border: 1px solid rgba(0, 230, 118, 0.2);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  animation: fadeInDown 0.6s var(--ease) both;
}

.hero-badge .pulse {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 1100px;
  white-space: nowrap;
  animation: fadeInDown 0.6s var(--ease) 0.1s both;
}	

.hero-title .accent-word {
  color: var(--accent);
  position: relative;
  display: inline-block;
}

.hero-subtitle {
  margin-top: 1.5rem;
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.65;
  font-weight: 300;
  animation: fadeInUp 0.6s var(--ease) 0.2s both;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeInUp 0.6s var(--ease) 0.3s both;
}

.hero-social-proof {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: var(--text-tertiary);
  font-family: var(--font-mono);
  animation: fadeInUp 0.6s var(--ease) 0.4s both;
}

/* Live ticker strip */
.ticker-strip {
  margin-top: 4rem;
  width: 100%;
  overflow: hidden;
  animation: fadeIn 0.8s var(--ease) 0.5s both;
}

.ticker-track {
  display: flex;
  gap: 1rem;
  animation: tickerScroll 30s linear infinite;
  width: max-content;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.ticker-item .t-symbol {
  font-weight: 500;
  color: var(--text-primary);
}

.ticker-item .t-price {
  color: var(--text-secondary);
}

.ticker-item .t-change {
  font-size: 0.75rem;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
}

.ticker-item .t-change.up {
  background: rgba(0, 230, 118, 0.12);
  color: var(--accent);
}

.ticker-item .t-change.down {
  background: var(--red-dim);
  color: var(--red);
}

.ticker-item .t-alert {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
}

.ticker-item .t-alert.halt {
  background: var(--amber-dim);
  color: var(--amber);
}

.ticker-item .t-alert.vol {
  background: var(--accent-subtle);
  color: var(--accent);
}

@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   SECTION LAYOUT
   ============================================================ */
.section {
  position: relative;
  padding: 6rem 5%;
  z-index: 1;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.65;
  font-weight: 300;
}

/* ============================================================
   HOW IT WORKS — 3 step flow
   ============================================================ */
.how-section {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  margin-top: 4rem;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(16.67% + 28px);
  right: calc(16.67% + 28px);
  height: 1px;
  background: linear-gradient(90deg, var(--accent), var(--border-default), var(--accent));
}

.step {
  padding: 0 2rem;
  text-align: center;
  position: relative;
}

.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  margin: 0 auto 1.5rem;
  position: relative;
  z-index: 1;
}

.step:first-child .step-num {
  border-color: var(--accent);
  background: var(--accent-subtle);
}

.step-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

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

/* ============================================================
   FEATURES GRID
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  overflow: hidden;
  margin-top: 3.5rem;
}

.feature-card {
  background: var(--bg-card);
  padding: 2rem;
  transition: background 0.2s var(--ease);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  background: var(--bg-elevated);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.3s var(--ease);
  transform-origin: left;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--accent-subtle);
  border: 1px solid rgba(0, 230, 118, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  color: var(--accent);
}

.feature-icon i { font-size: 1.1rem; }

.feature-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

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

/* ============================================================
   ALERT SIGNALS — visual list
   ============================================================ */
.signals-section {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.signals-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}

.signals-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.signal-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  transition: all 0.2s var(--ease);
  cursor: default;
}

.signal-item:hover {
  border-color: var(--accent);
  background: var(--bg-elevated);
  transform: translateX(4px);
}

.signal-icon {
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--accent);
  width: 20px;
  text-align: center;
}

.signal-icon i { font-size: 1rem; }

.signal-name {
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 0.15rem;
}

.signal-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* Mock alert notification card */
.alert-demo {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  position: relative;
}

.alert-demo-header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.alert-demo-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.live-dot {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  color: var(--accent);
  font-family: var(--font-mono);
}

.live-dot::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.alert-item {
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: background 0.2s;
  animation: slideIn 0.4s var(--ease) both;
}

.alert-item:last-child {
  border-bottom: none;
}

.alert-item:hover {
  background: var(--bg-elevated);
}

.alert-badge {
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.badge-halt {
  background: var(--amber-dim);
  color: var(--amber);
  border: 1px solid rgba(255, 179, 0, 0.2);
}

.badge-vol {
  background: var(--accent-subtle);
  color: var(--accent);
  border: 1px solid rgba(0, 230, 118, 0.2);
}

.badge-rsi {
  background: rgba(147, 51, 234, 0.12);
  color: #a855f7;
  border: 1px solid rgba(147, 51, 234, 0.2);
}

.badge-insider {
  background: rgba(59, 130, 246, 0.12);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.badge-sentiment {
  background: rgba(249, 115, 22, 0.12);
  color: #fb923c;
  border: 1px solid rgba(249, 115, 22, 0.2);
}

.alert-content {
  flex: 1;
  min-width: 0;
}

.alert-ticker {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--text-primary);
}

.alert-detail {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-top: 0.1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.alert-time {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-tertiary);
  flex-shrink: 0;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 3.5rem;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s var(--ease);
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
  border-color: var(--accent);
  position: relative;
}

.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--text-inverse);
  font-size: 0.72rem;
  font-weight: 600;
  font-family: var(--font-mono);
  padding: 0.2rem 0.875rem;
  border-radius: 0 0 8px 8px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pricing-card.featured.elite {
  border-color: var(--amber);	
}

.pricing-header {
  padding: 2rem 1.75rem 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.pricing-tier {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.pricing-card.featured .pricing-tier {
  color: var(--accent);
}

.pricing-card.elite .pricing-tier {
  color: var(--amber);
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
}

.price-dollar {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.price-amount {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.price-period {
  font-size: 0.85rem;
  color: var(--text-tertiary);
  margin-left: 0.1rem;
}

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

.pricing-features {
  padding: 1.5rem 1.75rem 2rem;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.pricing-features li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

.pricing-card.featured.elite .pricing-features li::before {
  color: var(--amber);	
}

.pricing-features li.muted::before {
  content: '–';
  color: var(--text-tertiary);
}

.pricing-features li.muted {
  color: var(--text-tertiary);
}

.pricing-cta {
  padding: 0 1.75rem 1.75rem;
}

.pricing-cta .btn {
  width: 100%;
  justify-content: center;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 3.5rem;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 1.75rem;
  transition: all 0.2s var(--ease);
}

.testimonial-card:hover {
  border-color: var(--border-default);
  transform: translateY(-2px);
}

.testimonial-stars {
  color: var(--amber);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  font-family: var(--font-mono);
  flex-shrink: 0;
}

.author-name {
  font-size: 0.85rem;
  font-weight: 500;
}

.author-handle {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  font-family: var(--font-mono);
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-section {
  padding: 6rem 5%;
  position: relative;
  overflow: hidden;
}

.cta-band {
  max-width: 1200px;
  margin: 0 auto;
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
  border-radius: 24px;
  padding: 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(0, 230, 118, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-band .section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.cta-band .section-subtitle {
  margin: 0 auto 2.5rem;
  max-width: 500px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 3rem 5%;
  position: relative;
  z-index: 1;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .nav-logo {
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 260px;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col ul li a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  font-family: var(--font-mono);
}

.footer-disclaimer {
  font-size: 0.72rem;
  color: var(--text-tertiary);
  max-width: 480px;
  text-align: right;
  line-height: 1.5;
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.text-accent { color: var(--accent); }
.text-secondary { color: var(--text-secondary); }
.text-mono { font-family: var(--font-mono); }
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .features-grid {
	grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
	grid-template-columns: 1fr;
	max-width: 480px;
	margin-left: auto;
	margin-right: auto;
  }

  .pricing-card.featured {
	order: -1;
  }

  .footer-inner {
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
  }

  .signals-layout {
	grid-template-columns: 1fr;
  }
}

@media (max-width: 1023px) {
	.hero-title {
		white-space: normal;
		font-size: clamp(2.5rem, 10vw, 3.5rem);
	}
	.nav-links {
		display: none;
	  }

  .steps-grid {
	grid-template-columns: 1fr;
	gap: 2rem;
  }

  .steps-grid::before {
	display: none;
  }

  .features-grid {
	grid-template-columns: 1fr;
  }

  .testimonials-grid {
	grid-template-columns: 1fr;
  }

  .cta-band {
	padding: 2.5rem 1.75rem;
  }

  .footer-inner {
	grid-template-columns: 1fr;
	gap: 1.5rem;
  }

  .footer-bottom {
	flex-direction: column;
	gap: 0.75rem;
	text-align: center;
  }

  .footer-disclaimer {
	text-align: center;
  }

  .hero-actions {
	flex-direction: column;
	width: 100%;
  }

  .hero-actions .btn {
	width: 100%;
	justify-content: center;
  }
}

/* ============================================================
   HAMBURGER MENU
   ============================================================ */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
  border-radius: 8px;
  cursor: pointer;
  padding: 0 9px;
  transition: border-color 0.2s;
}

.hamburger:hover { border-color: var(--accent); }

.hamburger span {
  display: block;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
  transform-origin: center;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   MOBILE FULL-SCREEN MENU
   ============================================================ */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg-base);
  z-index: 200;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.25rem 1.5rem 3rem;
  overflow-y: auto;
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-menu-close {
  width: 40px;
  height: 40px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
  border-radius: 10px;
  color: var(--text-secondary);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.mobile-menu-close:hover {
  border-color: var(--red);
  color: var(--red);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
}

.mobile-nav a {
  display: block;
  padding: 0.9rem 0;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-subtle);
  letter-spacing: -0.02em;
  transition: color 0.2s;
}

.mobile-nav a:hover { color: var(--accent); }

.mobile-menu-actions {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin-top: 2.5rem;
}

.mobile-menu-actions .btn {
  width: 100%;
  justify-content: center;
  padding: 1rem;
  font-size: 1rem;
}

/* ============================================================
   COMING SOON FEATURE ITEM
   ============================================================ */
.coming-soon {
  color: var(--text-tertiary) !important;
  font-style: italic;
}

.coming-soon::before {
  content: '' !important;
  display: none !important;
}

.badge-soon {
  display: inline-block;
  background: var(--amber-dim);
  color: var(--amber);
  border: 1px solid rgba(255,179,0,0.2);
  border-radius: 4px;
  font-size: 0.6rem;
  font-family: var(--font-mono);
  padding: 0.1rem 0.35rem;
  margin-left: 0.35rem;
  font-style: normal;
  vertical-align: middle;
}

/* ============================================================
   MOBILE RESPONSIVE ADDITIONS
   ============================================================ */
@media (max-width: 1023px) {
  .hamburger { display: flex; }
  .nav-login-btn { display: none; }
  .nav-signup-btn { display: none; }

  /* Inputs: prevent Safari auto-zoom */
  input, textarea, select {
	font-size: 16px !important;
  }

  /* Halt history info grid */
  .halt-info-grid {
	grid-template-columns: 1fr !important;
  }

  /* Pricing table on mobile */
  .pricing-grid {
	grid-template-columns: 1fr;
  }

  /* Auth form name row */
  .auth-name-row {
	grid-template-columns: 1fr !important;
  }
}

@media (max-width: 640px) {
  .plan-selector {
	grid-template-columns: 1fr;
  }

  .tth-modal-body {
	padding: 1.25rem 1.25rem;
  }
}

/* ── Legal pages ──────────────────────────────────────────────── */
.legal-page { padding: 4rem 1.5rem; }
.legal-wrap { max-width: 780px; margin: 0 auto; }

.legal-header { margin-bottom: 2.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border-default); }
.legal-header h1 { font-size: 2rem; font-weight: 800; margin-bottom: 0.5rem; }
.legal-meta { font-size: 0.8rem; color: var(--text-tertiary); font-family: var(--font-mono); }

.legal-body h2 { font-size: 1.1rem; font-weight: 700; margin: 2rem 0 0.75rem; color: var(--text-primary); }
.legal-body h3 { font-size: 0.95rem; font-weight: 600; margin: 1.25rem 0 0.5rem; color: var(--text-secondary); }
.legal-body p  { font-size: 0.9rem; line-height: 1.75; color: var(--text-secondary); margin-bottom: 1rem; }
.legal-body ul { margin: 0.5rem 0 1rem 1.25rem; }
.legal-body ul li { font-size: 0.9rem; line-height: 1.7; color: var(--text-secondary); margin-bottom: 0.35rem; }
.legal-body a  { color: var(--accent); text-decoration: none; }
.legal-body a:hover { text-decoration: underline; }
.legal-body strong { color: var(--text-primary); }

.legal-callout {
  background: rgba(0,230,118,0.06);
  border: 1px solid rgba(0,230,118,0.2);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin-bottom: 2rem;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ── Contact form ─────────────────────────────────────────────── */
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }

.contact-field { display: flex; flex-direction: column; gap: 0.4rem; }

.contact-field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: var(--text-primary);
  font-size: 0.9rem;
  font-family: inherit;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.15s;
  -webkit-appearance: none;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.contact-field select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7c94' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.contact-field textarea { resize: vertical; min-height: 140px; }

/* ── Footer social links ──────────────────────────────────────── */
.footer-social { display: flex; align-items: center; gap: 1.5rem; margin-top: 0.5rem; }
.footer-social a {
  color: var(--text-tertiary);
  text-decoration: none;
  transition: color 0.15s;
  display: flex;
  align-items: center;
  padding: 0 0.35rem;
}
.footer-social a:hover { color: var(--accent); }