/* ==========================================================================
   台幣匯率通｜TWD RatePulse — GitHub Pages Product Landing Stylesheet
   ========================================================================== */

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-deep: #1e3a8a;
  --primary-soft: #eff6ff;
  --primary-border: #bfdbfe;
  --bg: #ffffff;
  --bg-subtle: #f8fafc;
  --bg-muted: #f1f5f9;
  --text: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --up: #ef4444;
  --down: #10b981;
  --amber-bg: #fffbeb;
  --amber-text: #92400e;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 30px -10px rgba(15, 23, 42, 0.12);
  --shadow-popup: 0 24px 60px -16px rgba(30, 58, 138, 0.24), 0 4px 16px rgba(15, 23, 42, 0.08);
  --max-w: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft JhengHei", "PingFang TC", "Noto Sans TC", sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select {
  font-family: inherit;
}

.tabular-nums {
  font-variant-numeric: tabular-nums;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* --------------------------------------------------------------------------
   Navigation Bar
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.02em;
  color: var(--primary-deep);
}

.brand-link img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  background: var(--bg-muted);
  border-radius: 999px;
  padding: 3px;
  border: 1px solid var(--border);
}

.lang-switch button {
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 12.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.18s ease;
}

.lang-switch button.active {
  background: var(--bg);
  color: var(--primary-dark);
  box-shadow: var(--shadow-sm);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14.5px;
  padding: 10px 18px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-sm {
  font-size: 13px;
  padding: 7px 14px;
  border-radius: 8px;
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  box-shadow: 0 8px 20px -6px rgba(37, 99, 235, 0.55);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
  box-shadow: 0 10px 24px -6px rgba(37, 99, 235, 0.68);
}

.btn-outline {
  background: #ffffff;
  color: var(--text);
  border-color: #cbd5e1;
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-soft);
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 72px;
  background-color: #ffffff;
  background-image: url("../assets/svg/hero-bg.svg");
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 44px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(239, 246, 255, 0.95);
  border: 1px solid var(--primary-border);
  color: var(--primary-dark);
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 18px;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.22);
}

.hero-title {
  margin: 0 0 16px;
  font-size: clamp(32px, 4.2vw, 46px);
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text);
}

.hero-title-accent {
  background: linear-gradient(120deg, #1d4ed8 0%, #0284c7 65%, #059669 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-desc {
  margin: 0 0 26px;
  font-size: 16.5px;
  line-height: 1.72;
  color: var(--text-secondary);
  max-width: 560px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  padding: 5px 11px;
  border-radius: 999px;
}

.trust-pill svg {
  width: 14px;
  height: 14px;
  color: var(--primary);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Interactive 360px Popup Simulator
   -------------------------------------------------------------------------- */
.demo-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.demo-caption-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary-dark);
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.popup-frame {
  width: 360px;
  max-width: 100%;
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #cbd5e1;
  box-shadow: var(--shadow-popup);
  overflow: hidden;
  user-select: none;
}

.sim-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 6px 8px;
  border-bottom: 1px solid var(--border);
  background: #ffffff;
}

.sim-brand {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.sim-brand img {
  width: 20px;
  height: 20px;
  border-radius: 4px;
}

.sim-brand-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-deep);
  white-space: nowrap;
}

.sim-mode-toggle {
  display: inline-flex;
  background: var(--bg-muted);
  border-radius: 999px;
  padding: 2px;
}

.sim-mode-toggle button {
  border: none;
  background: transparent;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s ease;
}

.sim-mode-toggle button.active {
  background: var(--primary);
  color: #ffffff;
}

.sim-time {
  font-size: 10.5px;
  color: var(--text-muted);
  white-space: nowrap;
}

/* Fixed Benchmark Card */
.sim-badge-card {
  margin: 6px 12px 0;
  padding: 6px 12px;
  border-radius: 10px;
  border: 1px solid #dbeafe;
  background: linear-gradient(90deg, rgba(239, 246, 255, 0.92), rgba(248, 250, 252, 0.8));
}

.sim-badge-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.sim-badge-main {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--primary-deep);
}

.sim-badge-main strong {
  font-size: 17px;
  color: var(--primary-dark);
}

.sim-side-pill {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 9px;
  border-radius: 999px;
  background: #dbeafe;
  color: #1e40af;
  white-space: nowrap;
}

.sim-side-pill.is-buy {
  background: #fef3c7;
  color: #92400e;
}

.sim-badge-sub {
  margin-top: 2px;
  font-size: 11px;
  color: var(--text-muted);
}

/* Converter Section */
.sim-converter {
  padding: 6px 12px;
}

.sim-input-row {
  display: flex;
  align-items: center;
  height: 38px;
  border: 1px solid #dadce0;
  border-radius: 8px;
  background: #ffffff;
  padding: 0 8px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.sim-input-row:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.14);
}

.sim-input-row.active-target {
  border-color: #93c5fd;
  border-left: 3px solid var(--primary);
  background: rgba(239, 246, 255, 0.25);
}

.sim-input-row input {
  width: 142px;
  border: none;
  outline: none;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  background: transparent;
}

.sim-divider {
  width: 1px;
  height: 20px;
  background: var(--border);
  margin: 0 8px;
}

.sim-input-row select {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
}

.sim-static-curr {
  flex: 1;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
}

.sim-mid-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 5px 0;
}

.sim-swap-btn {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: var(--primary-dark);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.sim-swap-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

.sim-fee-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 500;
  color: #334155;
  cursor: pointer;
}

.sim-fee-label input {
  accent-color: var(--primary);
  cursor: pointer;
}

.sim-fee-tag {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--primary-dark);
  background: #eff6ff;
  padding: 1px 6px;
  border-radius: 4px;
}

.sim-buyback-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--amber-text);
  background: var(--amber-bg);
  padding: 2px 8px;
  border-radius: 6px;
}

/* Trend Section */
.sim-trend {
  border-top: 1px solid var(--border);
  background: #ffffff;
  padding: 7px 14px 8px;
}

.sim-trend-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  margin-bottom: 5px;
}

.sim-trend-pct {
  font-weight: 700;
}

.sim-trend-sub {
  color: var(--text-muted);
  font-size: 11px;
  margin-left: 4px;
}

.sim-range-bar {
  display: flex;
  background: var(--bg-muted);
  padding: 2px;
  border-radius: 6px;
  margin-bottom: 5px;
}

.sim-range-bar button {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  padding: 3px 0;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.sim-range-bar button.active {
  background: #ffffff;
  color: var(--primary-dark);
  box-shadow: var(--shadow-sm);
}

.sim-stats-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.sim-stats-row strong {
  color: #334155;
}

.sim-pos-track-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
  font-size: 10px;
  color: #94a3b8;
}

.sim-pos-track {
  position: relative;
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: var(--bg-muted);
}

.sim-pos-fill {
  height: 100%;
  border-radius: 999px;
  opacity: 0.45;
  transition: width 0.25s ease;
}

.sim-pos-dot {
  position: absolute;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 2px solid #ffffff;
  transform: translate(-50%, -50%);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: left 0.25s ease;
}

.sim-canvas {
  display: block;
  width: 100%;
  height: 88px;
  cursor: crosshair;
}

/* 28px Single-Line FX Timing Insight Card */
.insight-card {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 8px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-size: 11px;
  line-height: 1;
  margin-top: 4px;
}

.insight-card.is-strong {
  background: #fff1f2;
  border-color: #fecdd3;
  color: #881337;
}

.insight-card.is-neutral {
  background: #f8fafc;
  border-color: #e2e8f0;
  color: #334155;
}

.insight-card.is-weak {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #064e3b;
}

.insight-badge {
  flex-shrink: 0;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 10.5px;
  font-weight: 700;
  color: #ffffff;
}

.insight-card.is-strong .insight-badge {
  background: #f43f5e;
}

.insight-card.is-neutral .insight-badge {
  background: #475569;
}

.insight-card.is-weak .insight-badge {
  background: #059669;
}

.insight-text {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 600;
}

.sim-footer-source {
  margin: 4px 0 0;
  font-size: 10px;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* --------------------------------------------------------------------------
   Common Section Styling
   -------------------------------------------------------------------------- */
.section {
  padding: 76px 0;
}

.section-subtle {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 44px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 8px;
}

.section-title {
  margin: 0 0 12px;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.section-subtitle {
  margin: 0;
  font-size: 15.5px;
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   Features 3x2 Grid
   -------------------------------------------------------------------------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.feature-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary-border);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
}

.feature-card p {
  margin: 0;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   8-Language Interactive Insight Showcase
   -------------------------------------------------------------------------- */
.i18n-showcase-box {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.locale-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
}

.locale-pill {
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.16s ease;
}

.locale-pill:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.locale-pill.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

.insight-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.insight-demo-col {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  background: var(--bg-subtle);
}

.insight-demo-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.insight-demo-col .insight-card {
  height: auto;
  min-height: 32px;
  padding: 6px 8px;
  flex-wrap: wrap;
  row-gap: 4px;
  font-size: 11.5px;
  margin-top: 0;
}

.insight-demo-col .insight-text {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  line-height: 1.35;
}

.insight-demo-note {
  margin: 10px 0 0;
  font-size: 12.5px;
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   Fee Presets & Scenarios
   -------------------------------------------------------------------------- */
.fee-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.fee-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}

.fee-card-top {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px;
}

.fee-rate {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary-dark);
}

.fee-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.fee-desc {
  margin: 0;
  font-size: 13.5px;
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   Multi-Source Architecture Visual
   -------------------------------------------------------------------------- */
.arch-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.arch-card img {
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.arch-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.stat-val {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary-deep);
}

.stat-label {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 2px;
}

/* --------------------------------------------------------------------------
   Install Steps
   -------------------------------------------------------------------------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.step-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  position: relative;
}

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--primary);
  color: #ffffff;
  font-weight: 800;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.step-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
}

.step-card p {
  margin: 0;
  font-size: 13.5px;
  color: var(--text-secondary);
}

.step-card code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  background: var(--bg-muted);
  padding: 1px 5px;
  border-radius: 4px;
  color: var(--primary-deep);
}

.install-cta-box {
  margin-top: 32px;
  text-align: center;
}

/* --------------------------------------------------------------------------
   FAQ Accordion
   -------------------------------------------------------------------------- */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-q {
  width: 100%;
  background: transparent;
  border: none;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
}

.faq-q:hover {
  background: var(--bg-subtle);
}

.faq-chevron {
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-a {
  display: none;
  padding: 0 20px 18px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.faq-item.open .faq-a {
  display: block;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 44px 0 36px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-weight: 700;
  font-size: 16px;
}

.footer-brand img {
  width: 30px;
  height: 30px;
  border-radius: 7px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 13.5px;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  margin-top: 20px;
  font-size: 12.5px;
  color: #94a3b8;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 960px) {
  .nav-links {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta,
  .hero-pills {
    justify-content: center;
  }

  .features-grid,
  .insight-preview-grid,
  .fee-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps-grid,
  .arch-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }

  .hero {
    padding: 36px 0 52px;
  }

  .section {
    padding: 56px 0;
  }

  .features-grid,
  .insight-preview-grid,
  .fee-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .nav-download-btn {
    display: none;
  }
}
