/* TradeAnalyzer.Pro — Premium homepage (IA v2) */

:root {
  --bg-main: #070b14;
  --bg-elevated: #0d1524;
  --bg-card: #111a2b;
  --bg-card-hover: #152035;
  --border-subtle: rgba(148, 163, 184, 0.18);
  --border-active: rgba(56, 189, 248, 0.45);
  --text-primary: #e8eef7;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --accent-blue: #2563eb;
  --accent-cyan: #38bdf8;
  --accent-cyan-strong: #0ea5e9;
  --accent-yellow: #eab308;
  --positive: #34d399;
  --negative: #f87171;
  --warning: #fbbf24;
  --radius: 18px;
  --radius-sm: 14px;
  --shadow: 0 24px 60px rgba(2, 6, 23, 0.45);
  --shadow-sm: 0 12px 32px rgba(2, 6, 23, 0.35);
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;
  --container: min(1440px, calc(100% - 2rem));
  --section-y: clamp(48px, 8vw, 96px);
}

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

html { scroll-behavior: smooth; }

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

body.home-premium {
  margin: 0;
  padding: 0;
  padding-top: 60px;
  background:
    radial-gradient(1200px 600px at 12% -10%, rgba(14, 165, 233, 0.14), transparent 55%),
    radial-gradient(900px 500px at 90% 8%, rgba(234, 179, 8, 0.06), transparent 50%),
    var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
}

.home-wrap {
  width: var(--container);
  margin: 0 auto;
}

/* Typography */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-yellow);
  font-family: var(--font-display);
  font-size: clamp(0.75rem, 1.2vw, 0.82rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-head {
  max-width: 780px;
  margin: 0 0 1.5rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0.55rem 0 0.75rem;
  line-height: 1.2;
}

.section-head p {
  margin: 0;
  color: var(--text-secondary);
  font-size: clamp(1rem, 1.4vw, 1.08rem);
  max-width: 68ch;
}

.section {
  padding: var(--section-y) 0;
}

.section--alt {
  background: rgba(13, 21, 36, 0.55);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section--compact {
  padding: clamp(32px, 5vw, 64px) 0;
}

/* Buttons */
.btn-home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  cursor: pointer;
}

.btn-home:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.btn-home:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 3px;
}

.btn-home.primary {
  background: linear-gradient(135deg, var(--accent-cyan-strong), var(--accent-blue));
  color: #fff !important;
  box-shadow: 0 12px 28px rgba(14, 165, 233, 0.28);
}

.btn-home.secondary {
  background: rgba(15, 23, 42, 0.55);
  color: var(--text-primary) !important;
  border-color: rgba(148, 163, 184, 0.35);
}

.btn-home.ghost {
  background: transparent;
  color: var(--text-primary) !important;
  border-color: rgba(148, 163, 184, 0.3);
}

.btn-home.tap {
  background: rgba(234, 179, 8, 0.12);
  color: #fde68a !important;
  border-color: rgba(234, 179, 8, 0.35);
}

.btn-home.text-link {
  min-height: auto;
  padding: 0.25rem 0;
  border: none;
  border-radius: 0;
  background: none;
  color: var(--accent-cyan) !important;
  font-size: 0.92rem;
}

.btn-home.text-link:hover {
  transform: none;
  text-decoration: underline;
}

/* Preloader */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg-main);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader .spinner {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 3px solid rgba(56, 189, 248, 0.2);
  border-top-color: var(--accent-cyan);
  animation: home-spin 0.8s linear infinite;
}

@keyframes home-spin { to { transform: rotate(360deg); } }

@keyframes home-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hero — two column */
.hero-premium {
  position: relative;
  padding: clamp(28px, 5vh, 56px) 0 clamp(24px, 4vh, 40px);
  overflow: hidden;
}

.hero-premium::before {
  content: "";
  position: absolute;
  inset: auto -20% -30% 20%;
  height: 55%;
  background: radial-gradient(closest-side, rgba(14, 165, 233, 0.16), transparent 70%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.hero-copy {
  animation: home-rise 0.7s ease both;
}

.hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.8vw, 2.65rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0.75rem 0 1rem;
  max-width: 22ch;
}

.hero-copy .lead {
  margin: 0 0 1rem;
  color: var(--text-secondary);
  font-size: clamp(1.02rem, 1.5vw, 1.12rem);
  max-width: 52ch;
  line-height: 1.6;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  margin: 0 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.hero-tags span::after {
  content: "·";
  margin-left: 0.5rem;
  color: rgba(148, 163, 184, 0.4);
}

.hero-tags span:last-child::after { display: none; }

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

/* Product preview frame */
.hero-visual {
  position: relative;
  animation: home-rise 0.85s ease 0.1s both;
}

.product-frame {
  border: 1px solid var(--border-subtle);
  border-radius: calc(var(--radius) + 2px);
  background: linear-gradient(165deg, rgba(17, 26, 43, 0.98), rgba(8, 12, 22, 0.99));
  box-shadow: var(--shadow), 0 0 80px rgba(14, 165, 233, 0.08);
  overflow: hidden;
}

.product-frame-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(7, 11, 20, 0.85);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.product-frame-dots {
  display: flex;
  gap: 5px;
}

.product-frame-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.25);
}

.product-frame-body {
  position: relative;
  min-height: clamp(220px, 32vw, 340px);
  background:
    radial-gradient(circle at 70% 25%, rgba(56, 189, 248, 0.12), transparent 50%),
    #0a101c;
}

.product-frame-chart {
  padding: 1rem 1rem 0.5rem;
}

.product-frame-chart svg {
  width: 100%;
  height: auto;
  display: block;
  min-height: 160px;
}

.product-frame-panes {
  display: grid;
  grid-template-columns: 1fr 140px;
  gap: 0;
  border-top: 1px solid var(--border-subtle);
  min-height: 72px;
}

.product-frame-pane {
  padding: 0.5rem 0.75rem;
  font-size: 0.7rem;
  color: var(--text-muted);
  border-right: 1px solid var(--border-subtle);
}

.product-frame-sidebar {
  padding: 0.5rem;
  font-size: 0.68rem;
  color: var(--text-muted);
  background: rgba(7, 11, 20, 0.6);
}

.hero-badges {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  right: -0.5rem;
  top: 15%;
}

.hero-badge {
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  font-family: var(--font-display);
  background: rgba(13, 21, 36, 0.95);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

.hero-badge--tap {
  border-color: rgba(234, 179, 8, 0.35);
  color: #fde68a;
}

/* Proof strip */
.proof {
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(13, 21, 36, 0.88);
  backdrop-filter: blur(8px);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
  padding: 1.15rem 0;
}

.proof-item {
  text-align: center;
  padding: 0.35rem;
}

.proof-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  color: var(--accent-cyan);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.proof-item span {
  color: var(--text-secondary);
  font-size: 0.86rem;
}

/* Pillar cards */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.pillar-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  min-height: 100%;
}

.pillar-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-active);
  box-shadow: var(--shadow-sm);
  background: var(--bg-card-hover);
  color: inherit;
  text-decoration: none;
}

.pillar-card:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 3px;
}

.pillar-card i {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(56, 189, 248, 0.12);
  color: var(--accent-cyan);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.pillar-card--tap i {
  background: rgba(234, 179, 8, 0.12);
  color: #fde68a;
}

.pillar-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0 0 0.5rem;
}

.pillar-card p {
  margin: 0 0 1rem;
  color: var(--text-secondary);
  font-size: 0.92rem;
  flex: 1;
}

.pillar-card .pillar-cta {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-cyan);
  font-family: var(--font-display);
}

/* Workflow */
.home-workflow-pipeline {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  color: #7dd3fc;
  letter-spacing: 0.02em;
  margin: 0 0 0.65rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
}

.step {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 1.2rem;
}

.step-num {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent-cyan-strong), var(--accent-blue));
  color: #fff;
  margin-bottom: 0.85rem;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.02rem;
  margin: 0 0 0.4rem;
}

.step p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

a.step, a.home-workflow-step {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

a.step:hover, a.home-workflow-step:hover {
  transform: translateY(-2px);
  border-color: var(--border-active);
  color: inherit;
}

.workflow-footnote {
  margin-top: 1.25rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  text-align: center;
}

/* Chart feature — large */
.chart-showcase {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: center;
}

.chart-showcase--reverse {
  grid-template-columns: 1.2fr 1fr;
}

.chart-showcase-copy h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 0.75rem;
}

.feature-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1rem 0 1.25rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(56, 189, 248, 0.1);
  color: #7dd3fc;
  border: 1px solid rgba(56, 189, 248, 0.22);
}

.product-shot {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(165deg, #132033, #0a101c);
  box-shadow: var(--shadow);
}

.product-shot img,
.product-shot svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Order flow cards */
.flow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.flow-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
}

.flow-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin: 0 0 0.5rem;
}

.flow-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.flow-card p a {
  color: var(--accent-cyan);
  text-decoration: none;
}

.flow-card p a:hover { text-decoration: underline; }

.section-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

/* TAP section */
.tap-workflow-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: start;
}

.tap-steps {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.tap-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
}

.tap-step-label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent-yellow);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
}

.tap-step h3 {
  font-family: var(--font-display);
  font-size: 0.98rem;
  margin: 0 0 0.35rem;
}

.tap-step p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.88rem;
}

.tap-share-card {
  margin-top: 1.25rem;
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid rgba(234, 179, 8, 0.3);
  background: linear-gradient(145deg, rgba(234, 179, 8, 0.08), rgba(13, 21, 36, 0.95));
}

.tap-share-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0 0 0.45rem;
  color: #fde68a;
}

.tap-share-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.tap-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

/* Templates */
.templates-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.template-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.template-card:hover {
  border-color: var(--border-active);
  transform: translateY(-2px);
  color: inherit;
  text-decoration: none;
}

.template-card .template-icon {
  font-size: 1.35rem;
  margin-bottom: 0.65rem;
}

.template-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin: 0 0 0.4rem;
}

.template-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.88rem;
}

/* Markets */
.markets-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.market-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
}

.market-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
  color: var(--accent-cyan);
}

.market-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

/* Indicators hub */
.ind-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.ind-group {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
}

.ind-group h3 {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 0.75rem;
}

.ind-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.ind-links a {
  display: inline-flex;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  color: #7dd3fc;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.22);
  transition: background 0.15s ease;
}

.ind-links a:hover {
  background: rgba(56, 189, 248, 0.18);
  color: #bae6fd;
}

/* Symbol detail / market status mini cards */
.context-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.75rem;
  margin: 1.25rem 0;
}

.context-card {
  padding: 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
}

.context-card h3 {
  font-family: var(--font-display);
  font-size: 0.88rem;
  margin: 0 0 0.35rem;
}

.context-card p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

/* Alerts list */
.alert-features {
  list-style: none;
  margin: 1rem 0 1.25rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.alert-features li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  color: var(--text-secondary);
  font-size: 0.94rem;
}

.alert-features i {
  color: var(--positive);
  margin-top: 0.2rem;
}

/* Hub grid */
.hub-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.hub-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 1.15rem 1.2rem;
}

.hub-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0 0 0.35rem;
}

.hub-card > p {
  margin: 0 0 0.85rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.hub-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.hub-list a {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.92rem;
  line-height: 1.35;
}

.hub-list a:hover { color: var(--accent-cyan); }

.hub-list i {
  color: var(--accent-cyan);
  margin-top: 0.15rem;
  flex-shrink: 0;
  width: 1rem;
  text-align: center;
}

.hub-list span { color: var(--text-secondary); font-weight: 400; }
.hub-list strong { font-weight: 600; color: var(--text-primary); }

.hub-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.hub-pills a {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  color: #7dd3fc;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.22);
}

.hub-pills a:hover {
  background: rgba(56, 189, 248, 0.18);
  color: #bae6fd;
}

/* FAQ */
.faq-list.accordion {
  display: block;
  width: 100%;
  --bs-accordion-bg: transparent;
  --bs-accordion-border-color: transparent;
  --bs-accordion-btn-padding-x: 1.1rem;
  --bs-accordion-btn-padding-y: 1rem;
  --bs-accordion-body-padding-x: 1.15rem;
  --bs-accordion-body-padding-y: 0.85rem 1.15rem 1.1rem;
}

.faq-list .accordion-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle) !important;
  border-radius: var(--radius-sm) !important;
  overflow: hidden;
  margin-bottom: 0.85rem;
}

.faq-list .accordion-button {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  background: var(--bg-card) !important;
  color: var(--text-primary) !important;
  box-shadow: none !important;
}

.faq-list .accordion-button:not(.collapsed) {
  color: #7dd3fc !important;
  background: rgba(14, 165, 233, 0.08) !important;
}

.faq-list .accordion-button::after {
  filter: brightness(0) invert(0.72);
}

.faq-list .accordion-button:not(.collapsed)::after {
  filter: brightness(0) saturate(100%) invert(72%) sepia(42%) saturate(1200%) hue-rotate(166deg) brightness(105%) contrast(96%);
}

.faq-list .accordion-button:focus {
  box-shadow: none !important;
  border-color: transparent !important;
}

.faq-list .accordion-button:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: -2px;
}

.faq-list .accordion-collapse { border-top: 1px solid var(--border-subtle); }

.faq-list .accordion-body {
  background: var(--bg-card);
  color: var(--text-secondary);
  font-size: 0.94rem;
}

.faq-list .accordion-body p { margin: 0; }
.faq-list .accordion-body a { color: var(--accent-cyan); }

/* CTA band */
.cta-band {
  margin: 0;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid rgba(56, 189, 248, 0.25);
  background:
    radial-gradient(700px 240px at 15% 0%, rgba(14, 165, 233, 0.22), transparent 60%),
    linear-gradient(145deg, #0f1a2d, #0a1220);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  text-align: center;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 1.95rem);
  margin: 0 0 0.7rem;
}

.cta-band p {
  margin: 0 auto 1.25rem;
  color: var(--text-secondary);
  max-width: 52ch;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
}

.disclaimer-inline {
  margin-top: 1.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 72ch;
  margin-left: auto;
  margin-right: auto;
}

/* Visual rhythm — alternating section personalities */
.section--deep {
  background:
    linear-gradient(180deg, rgba(4, 8, 18, 0.98) 0%, rgba(9, 14, 26, 0.94) 100%);
  border-top: 1px solid rgba(56, 189, 248, 0.1);
  border-bottom: 1px solid rgba(56, 189, 248, 0.1);
}

.section--lift {
  background: rgba(17, 26, 43, 0.42);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section--glow {
  position: relative;
  overflow: hidden;
}

.section--glow::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 420px at 18% -5%, rgba(14, 165, 233, 0.14), transparent 58%),
    radial-gradient(700px 360px at 92% 20%, rgba(234, 179, 8, 0.06), transparent 55%);
  pointer-events: none;
}

.section--glow > .home-wrap {
  position: relative;
  z-index: 1;
}

.section--band {
  background:
    linear-gradient(120deg, rgba(14, 165, 233, 0.1), rgba(13, 21, 36, 0.96) 42%, rgba(234, 179, 8, 0.05)),
    rgba(13, 21, 36, 0.88);
  border-top: 1px solid rgba(56, 189, 248, 0.18);
  border-bottom: 1px solid rgba(56, 189, 248, 0.18);
}

.section--showcase {
  padding-bottom: clamp(40px, 6vw, 72px);
}

.section-head--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-head--center p {
  margin-left: auto;
  margin-right: auto;
}

.showcase-bleed {
  margin: 0 0 2rem;
}

.product-shot--bleed {
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow), 0 0 0 1px rgba(56, 189, 248, 0.14);
}

.product-shot--bleed img {
  object-fit: cover;
  object-position: top center;
}

.product-frame-body--photo {
  padding: 0;
  min-height: auto;
  background: #0a101c;
}

.product-frame-body--photo img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: top left;
}

.flow-showcase {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  gap: clamp(1.25rem, 3vw, 2.25rem);
  align-items: center;
  margin-top: 1.25rem;
}

.flow-showcase .flow-grid {
  margin-top: 0;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.showcase-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.product-shot figcaption {
  padding: 0.65rem 0.9rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-subtle);
  background: rgba(7, 11, 20, 0.8);
}

.tap-workflow-grid .product-shot img,
.chart-showcase .product-shot img {
  object-fit: cover;
  object-position: top left;
}

/* Footer override */
body.home-premium .footer {
  background: var(--bg-main) !important;
  border-top: 1px solid var(--border-subtle);
  margin-top: 0 !important;
  padding-top: 2.5rem !important;
}

body.home-premium .footer-bottom { text-align: center !important; }

.footer-contact {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  margin: 0 0 1rem;
}

.footer-contact a {
  color: var(--accent-cyan);
  text-decoration: none;
}

.footer-contact a:hover { text-decoration: underline; }

/* Responsive */
@media (max-width: 1200px) {
  .pillars-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .templates-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy h1 { max-width: none; }
  .hero-badges {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 0.75rem;
  }
  .chart-showcase,
  .chart-showcase--reverse,
  .tap-workflow-grid,
  .flow-showcase,
  .showcase-duo {
    grid-template-columns: 1fr;
  }
  .proof-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .flow-grid { grid-template-columns: 1fr; }
  .markets-grid { grid-template-columns: 1fr; }
  .ind-groups { grid-template-columns: 1fr; }
  .hub-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillars-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .templates-grid { grid-template-columns: 1fr; }
  .hero-actions .btn-home:not(.text-link) { flex: 1 1 100%; }
  .product-frame-panes { grid-template-columns: 1fr; }
}
