/* ============================================================
   tapeHUD — Official Website Stylesheet
   Theme: Emerald Terminal (High-Precision Order Flow Design)
   Fonts: Inter (UI) + JetBrains Mono (Financial Telemetry)
   Zero AI-Slop Design Language: Razor-sharp lines, authentic data density,
   purposeful micro-interactions, terminal aesthetics.
   ============================================================ */

/* --- Reset & Base Variables --- */
:root {
  --bg-deep: #070b09;
  --bg-surface: #0e1511;
  --bg-card: #131c16;
  --bg-card-hover: #18251e;
  --bg-widget: #111a14;
  --bg-overlay: rgba(7, 11, 9, 0.85);

  --border-subtle: #17241c;
  --border-strong: #23382c;
  --border-bright: #2f4d3c;

  --text-heading: #f0f7f2;
  --text-primary: #d6e5dc;
  --text-muted: #789484;
  --text-dim: #4d6356;

  /* Emerald Palette */
  --emerald-primary: #10b981;
  --emerald-hover: #059669;
  --emerald-bright: #34d399;
  --emerald-glow: rgba(16, 185, 129, 0.22);
  --emerald-glow-strong: rgba(52, 211, 153, 0.35);

  /* Order Flow Color System */
  --flow-buy: #22c55e;
  --flow-buy-glow: rgba(34, 197, 94, 0.25);
  --flow-sell: #ef4444;
  --flow-sell-glow: rgba(239, 68, 68, 0.25);
  --flow-poc: #ef4444;
  --flow-hvn: #f59e0b;
  --flow-lvn: #a855f7;
  --flow-iceberg: #38bdf8;
  --flow-neutral: #38bdf8;

  --radius-xs: 3px;
  --radius-sm: 5px;
  --radius-md: 8px;
  --radius-lg: 12px;

  --font-ui: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  position: relative;
  background-color: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-ui);
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image: 
    radial-gradient(ellipse 60% 40% at 50% -10%, rgba(16, 185, 129, 0.12), transparent 70%),
    linear-gradient(to right, rgba(23, 36, 28, 0.15) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(23, 36, 28, 0.15) 1px, transparent 1px);
  background-size: 100% 100%, 48px 48px, 48px 48px;
}

/* --- Top Announcement Bar --- */
.announcement-bar {
  background: #09120c;
  border-bottom: 1px solid var(--border-subtle);
  padding: 6px 16px;
  font-size: 11px;
  color: var(--text-muted);
}

.announcement-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.announcement-tag {
  background: rgba(16, 185, 129, 0.18);
  color: var(--emerald-bright);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 9px;
  padding: 2px 6px;
  border-radius: var(--radius-xs);
  letter-spacing: 0.05em;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.announcement-link {
  color: var(--emerald-bright);
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.15s ease;
}
.announcement-link:hover {
  text-decoration: underline;
  opacity: 0.85;
}

/* --- Status Indicator Dot --- */
.status-indicator-live {
  width: 7px;
  height: 7px;
  background: var(--emerald-bright);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 6px var(--emerald-bright);
  animation: pulseBeacon 2s infinite ease-in-out;
}

@keyframes pulseBeacon {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

/* --- Navigation --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(7, 11, 9, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  width: 100%;
  box-sizing: border-box;
}

.nav-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  box-sizing: border-box;
}

.brand-group {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.brand-logo-icon {
  color: var(--emerald-bright);
  filter: drop-shadow(0 0 6px rgba(16, 185, 129, 0.4));
  transition: transform 0.2s ease;
}
.brand-group:hover .brand-logo-icon {
  transform: scale(1.08);
}

.brand-text {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-heading);
  letter-spacing: 0.02em;
}

.brand-domain {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--emerald-bright);
  opacity: 0.9;
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: color 0.15s ease;
}
.nav-link:hover {
  color: var(--text-heading);
}

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

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 13px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s ease;
  white-space: nowrap;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--emerald-primary);
  color: #041208;
  border-color: var(--emerald-bright);
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-primary:hover {
  background: var(--emerald-bright);
  box-shadow: 0 0 20px rgba(52, 211, 153, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-heading);
  border-color: var(--border-strong);
}
.btn-secondary:hover {
  background: var(--bg-card);
  border-color: var(--emerald-primary);
  color: var(--emerald-bright);
}

.btn-trial {
  background: rgba(16, 185, 129, 0.08);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.35);
}
.btn-trial:hover {
  background: rgba(16, 185, 129, 0.18);
  border-color: var(--emerald-bright);
  color: #6ee7b7;
}

/* --- Chrome Web Store Badge Button --- */
.btn-cws {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(18, 26, 21, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  color: var(--text-heading);
  text-decoration: none;
  font-family: var(--font-sans);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
  cursor: pointer;
}

.btn-cws:hover {
  background: rgba(28, 38, 31, 0.95);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 16px rgba(66, 133, 244, 0.25);
  color: #ffffff;
}

.btn-cws .cws-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.35));
}

.btn-cws .cws-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  line-height: 1.15;
}

.btn-cws .cws-sub {
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}

.btn-cws .cws-main {
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.01em;
}

/* Nav variant */
.btn-cws-nav {
  padding: 5px 11px;
  gap: 7px;
  box-shadow: none;
  border-color: var(--border-strong);
  background: var(--bg-surface);
}

.btn-cws-nav:hover {
  border-color: var(--border-focus);
}

.btn-cws-nav .cws-icon {
  width: 16px;
  height: 16px;
}

.btn-cws-nav .cws-main {
  font-size: 11.5px;
  color: var(--text-main);
}

.btn-sm {
  font-size: 11px;
  padding: 5px 12px;
}

.btn-lg {
  font-size: 15px;
  padding: 12px 24px;
}

.btn-block {
  width: 100%;
}

.btn-arrow {
  transition: transform 0.15s ease;
}
.btn-primary:hover .btn-arrow {
  transform: translateX(3px);
}

/* --- Hero Section --- */
.hero-section {
  padding: 64px 20px 48px;
  text-align: center;
  position: relative;
}

.hero-container {
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

/* --- X (Twitter) Badge Button --- */
.btn-x {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(18, 26, 21, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  color: var(--text-heading);
  text-decoration: none;
  font-family: var(--font-sans);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
  cursor: pointer;
}

.btn-x:hover {
  background: rgba(28, 38, 31, 0.95);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 16px rgba(16, 185, 129, 0.25);
  color: #ffffff;
}

.btn-x .x-icon {
  flex-shrink: 0;
  width: 19px;
  height: 19px;
  fill: #ffffff;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.35));
}

.btn-x .x-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  line-height: 1.15;
}

.btn-x .x-sub {
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}

.btn-x .x-main {
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.01em;
}



/* --- Navigation Bar Social X Icon --- */
.nav-social-x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-muted);
  transition: all 0.2s ease;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-social-x:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
  transform: translateY(-1px);
}

/* Kick icon shares the X button style, tinted with Kick green on hover */
.nav-social-kick:hover {
  background: rgba(83, 252, 24, 0.1);
  border-color: rgba(83, 252, 24, 0.45);
  color: #53fc18;
}

/* TikTok icon shares the X button style, tinted with TikTok accent on hover */
.nav-social-tiktok:hover {
  background: rgba(254, 44, 85, 0.12);
  border-color: rgba(254, 44, 85, 0.45);
  color: #fe2c55;
}




.hero-badge-wrap {
  margin-bottom: 20px;
}

.tech-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: var(--emerald-bright);
  padding: 4px 12px;
  border-radius: 9999px;
  text-transform: uppercase;
  max-width: 100%;
  box-sizing: border-box;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background: var(--emerald-bright);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--emerald-bright);
}

.hero-headline {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--text-heading);
  margin-bottom: 18px;
}

.text-emerald-glow {
  color: var(--emerald-bright);
  text-shadow: 0 0 24px rgba(52, 211, 153, 0.35);
}

.hero-subhead {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 740px;
  margin: 0 auto 32px;
}

.hero-cta-group {
  display: flex;
  gap: 14px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

/* --- Platform Architecture & Compatibility Notice Box --- */
.platform-notice-card {
  max-width: 960px;
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(16, 26, 21, 0.88) 0%, rgba(10, 16, 13, 0.96) 100%);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-md);
  padding: 22px 28px;
  text-align: left;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.65), 0 0 1px rgba(16, 185, 129, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.platform-notice-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--emerald-bright), #38bdf8, transparent);
}

.notice-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.notice-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--emerald-bright);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 4px 12px;
  border-radius: 9999px;
  text-transform: uppercase;
}

.notice-pulse {
  width: 6px;
  height: 6px;
  background: var(--emerald-bright);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--emerald-bright);
  animation: pulseGlow 2s infinite ease-in-out;
}

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

.notice-highlight-pill {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 4px 12px;
  border-radius: 9999px;
  text-transform: uppercase;
}

.notice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (max-width: 760px) {
  .notice-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .notice-top-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}

.notice-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  transition: border-color 0.2s ease;
}

.notice-item:hover {
  border-color: rgba(16, 185, 129, 0.25);
}

.notice-item-header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.notice-item-icon {
  font-size: 15px;
  line-height: 1;
}

.notice-item-title {
  font-size: 13px;
  font-weight: 700;
  color: #f8fafc;
  letter-spacing: -0.01em;
}

.notice-item-text {
  font-size: 12px;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
}

.notice-item-text strong {
  color: #f1f5f9;
}

/* --- Interactive Demo Section --- */
.demo-section {
  padding: 40px 20px 60px;
}

.demo-container {
  max-width: 1120px;
  margin: 0 auto;
}

.section-header-compact {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 28px;
}

.section-tag-mono {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--emerald-bright);
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.section-title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--text-heading);
  margin-bottom: 10px;
}

.section-desc {
  font-size: 14px;
  color: var(--text-muted);
}

/* Simulated Host Stage */
.widget-stage {
  margin-bottom: 18px;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.8), 0 0 1px rgba(16, 185, 129, 0.3);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: radial-gradient(circle at 50% 10%, #111a14 0%, #060907 100%);
  padding: 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

/* Controller Bar */
.demo-interactive-bar {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 10px 16px;
}


.controller-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--emerald-bright);
  letter-spacing: 0.08em;
}

.controller-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* Text Colors */
.text-green { color: #10b981 !important; }
.text-red { color: #ef4444 !important; }
.text-gold { color: #f59e0b !important; }
.text-blue { color: #38bdf8 !important; }
.text-emerald { color: var(--emerald-bright) !important; }

/* --- Specs Grid (Features) --- */
.features-section {
  padding: 60px 20px;
  border-top: 1px solid var(--border-subtle);
  background: linear-gradient(180deg, var(--bg-deep) 0%, #0a0f0c 100%);
}

.features-container {
  max-width: 1200px;
  margin: 0 auto;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.spec-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
  position: relative;
}
.spec-card:hover {
  background: var(--bg-card);
  border-color: var(--border-strong);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.spec-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.spec-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--emerald-bright);
  font-weight: 700;
}

.spec-badge {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  background: rgba(16, 185, 129, 0.1);
  color: var(--emerald-bright);
  padding: 2px 6px;
  border-radius: 3px;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.spec-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 10px;
  line-height: 1.3;
}

.spec-body {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
  flex: 1;
}

.spec-meta {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.spec-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  background: #080d0a;
  border: 1px solid var(--border-subtle);
  color: var(--text-dim);
  padding: 2px 6px;
  border-radius: 3px;
}

/* --- Auction Market Theory & Order Flow Mastery Section --- */
.orderflow-amt-section {
  padding: 70px 20px 80px;
  border-top: 1px solid var(--border-subtle);
  background: radial-gradient(circle at 50% 0%, rgba(16, 185, 129, 0.04) 0%, transparent 70%);
}

.amt-container {
  max-width: 1120px;
  margin: 0 auto;
}

.amt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 50px;
}

@media (max-width: 992px) {
  .amt-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.amt-card {
  background: rgba(16, 24, 20, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  backdrop-filter: blur(10px);
}

.amt-card:hover {
  transform: translateY(-3px);
  border-color: rgba(16, 185, 129, 0.35);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6), 0 0 1px rgba(16, 185, 129, 0.3);
}

.amt-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.amt-number {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 800;
  color: var(--emerald-bright);
  opacity: 0.85;
}

.amt-pill {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--emerald-bright);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 2px 8px;
  border-radius: 9999px;
  text-transform: uppercase;
}

.amt-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.35;
  margin-bottom: 12px;
}

.amt-card-body {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.amt-card-body strong {
  color: #f1f5f9;
}

.amt-card-body em {
  color: var(--emerald-bright);
  font-style: normal;
}

.amt-card-body code {
  font-family: var(--font-mono);
  font-size: 11.5px;
  background: #080d0a;
  border: 1px solid rgba(16, 185, 129, 0.2);
  padding: 1px 5px;
  border-radius: 3px;
  color: var(--emerald-bright);
}

.amt-tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.amt-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-dim);
  background: #080d0a;
  border: 1px solid var(--border-subtle);
  padding: 3px 8px;
  border-radius: 3px;
}

/* --- Contrast Banner: Order Flow vs Indicators --- */
.amt-contrast-banner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  background: #0b110e;
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-md);
  padding: 30px;
  gap: 24px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

@media (max-width: 860px) {
  .amt-contrast-banner {
    grid-template-columns: 1fr;
    text-align: left;
  }
}

.contrast-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contrast-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.contrast-legacy .contrast-label {
  color: var(--red);
}

.contrast-orderflow .contrast-label {
  color: var(--emerald-bright);
}

.contrast-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.contrast-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contrast-list li {
  font-size: 12.5px;
  line-height: 1.5;
}

.contrast-legacy .contrast-list li {
  color: #94a3b8;
}

.contrast-orderflow .contrast-list li {
  color: #e2e8f0;
}

.contrast-divider {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 14px;
  color: var(--emerald-bright);
  background: #101c15;
  border: 1px solid rgba(16, 185, 129, 0.35);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.2);
}

/* --- Comparison Section --- */
.comparison-section {
  padding: 60px 20px;
  border-top: 1px solid var(--border-subtle);
}

.comparison-container {
  max-width: 1000px;
  margin: 0 auto;
}

.table-wrapper {
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  overflow-x: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.comparison-table th {
  background: #090e0b;
  padding: 14px 18px;
  text-align: left;
  font-weight: 700;
  border-bottom: 1px solid var(--border-strong);
}

.comparison-table td {
  padding: 12px 18px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-muted);
}

.comparison-table .highlight-col {
  background: rgba(16, 185, 129, 0.05);
  color: var(--text-heading);
  border-left: 1px solid rgba(16, 185, 129, 0.2);
  border-right: 1px solid rgba(16, 185, 129, 0.2);
}

.badge-check {
  color: var(--emerald-bright);
  font-weight: 600;
}
.badge-cross {
  color: var(--flow-sell);
  opacity: 0.7;
}

/* --- Technical Pipeline Section --- */
.tech-section {
  padding: 60px 20px;
  background: #060907;
  border-top: 1px solid var(--border-subtle);
}

.tech-container {
  max-width: 1100px;
  margin: 0 auto;
}

.pipeline-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 30px;
}

.pipeline-step {
  flex: 1;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  flex-direction: column;
}

.step-badge {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  color: var(--emerald-bright);
  margin-bottom: 8px;
}

.step-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.step-text {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 12px;
  flex: 1;
}

.code-pill {
  font-family: var(--font-mono);
  font-size: 10px;
  background: #080d0a;
  border: 1px solid var(--border-subtle);
  color: var(--emerald-bright);
  padding: 3px 6px;
  border-radius: 3px;
  align-self: flex-start;
}

.pipeline-arrow {
  color: var(--emerald-bright);
  font-size: 18px;
  opacity: 0.6;
}

/* --- Pricing Section --- */
.pricing-section {
  padding: 70px 20px;
  border-top: 1px solid var(--border-subtle);
}

.pricing-container {
  max-width: 1080px;
  margin: 0 auto;
}

.pricing-cards-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

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

.trial-card {
  border-color: rgba(56, 189, 248, 0.4);
  background: linear-gradient(180deg, #0d161d 0%, #0a1015 100%);
  box-shadow: 0 10px 30px rgba(56, 189, 248, 0.08);
}

.trial-card:hover {
  border-color: #38bdf8;
  box-shadow: 0 12px 36px rgba(56, 189, 248, 0.16);
}

.trial-card .plan-name {
  color: #38bdf8;
}

.plan-badge-top {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #0d161d;
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #38bdf8;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 3px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.pricing-guarantee-box {
  margin-top: 28px;
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.guarantee-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.guarantee-text {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.5;
}

.guarantee-text strong {
  color: var(--emerald-bright);
}

.hero-trust-subtext {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 14px;
  font-size: 12px;
  color: var(--text-dim);
  font-family: var(--font-mono);
}

.hero-trust-subtext span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.featured-plan {
  border-color: var(--emerald-primary);
  background: linear-gradient(180deg, #101a14 0%, #0d1510 100%);
  box-shadow: 0 10px 40px rgba(16, 185, 129, 0.15), 0 0 1px rgba(52, 211, 153, 0.4);
}

.featured-ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--emerald-primary);
  color: #041208;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 3px 12px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.plan-header {
  margin-bottom: 24px;
}

.plan-name {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--emerald-bright);
  letter-spacing: 0.06em;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 10px 0 8px;
}

.price-currency {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-heading);
}

.price-val {
  font-size: 48px;
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1;
}

.price-period {
  font-size: 13px;
  color: var(--text-muted);
}

.plan-desc {
  font-size: 13px;
  color: var(--text-muted);
}

.plan-features {
  list-style: none;
  margin-bottom: 30px;
  flex: 1;
}

.plan-features li {
  font-size: 13px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.check-icon {
  color: var(--emerald-bright);
  font-weight: 700;
}

.guarantee-note {
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 10px;
}

/* --- FAQ Section --- */
.faq-section {
  padding: 60px 20px;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-deep);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.15s ease;
}
.faq-item[open] {
  border-color: var(--border-strong);
}

.faq-question {
  padding: 16px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-heading);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  list-style: none;
}
.faq-question::-webkit-details-marker {
  display: none;
}

.faq-toggle {
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--emerald-bright);
  transition: transform 0.2s ease;
}
.faq-item[open] .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 20px 16px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- Bottom CTA Banner --- */
.cta-banner {
  width: 100%;
  padding: 70px 20px;
  border-top: 1px solid var(--border-subtle);
  background: linear-gradient(180deg, #070b09 0%, #0d1711 100%);
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cta-banner-content {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cta-banner-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 10px;
}

.cta-banner-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.cta-banner-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

/* --- Footer --- */
.site-footer {
  padding: 50px 20px 30px;
  background: #040705;
  border-top: 1px solid var(--border-subtle);
  font-size: 12px;
  color: var(--text-muted);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.footer-brand {
  max-width: 380px;
}

.footer-tagline {
  margin-top: 12px;
  line-height: 1.6;
  color: var(--text-dim);
}

.footer-links-group {
  display: flex;
  gap: 48px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--emerald-bright);
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}
.footer-col a:hover {
  color: var(--text-heading);
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 11px;
  color: var(--text-dim);
  line-height: 1.6;
}

/* --- Responsiveness --- */
@media (max-width: 980px) {
  .hero-headline { font-size: 32px; }
  .hero-telemetry-bar { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .telemetry-divider:nth-child(4) { display: none; }
  .specs-grid { grid-template-columns: 1fr; }
  .pricing-cards-wrap { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; gap: 24px; }
  .pipeline-flow { flex-direction: column; align-items: stretch; gap: 12px; }
  .pipeline-step { width: 100%; max-width: 100%; box-sizing: border-box; }
  .pipeline-arrow { transform: rotate(90deg); margin: 6px auto; align-self: center; }
  .nav-links { display: none !important; }
}

@media (max-width: 768px) {
  .site-header {
    height: 56px;
    padding: 0;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .nav-container {
    height: 56px;
    padding: 0 14px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .nav-actions {
    gap: 6px;
    flex-shrink: 0;
  }

  /* Keep only the primary trial CTA button in header on mobile */
  .nav-actions #nav-btn-demo,
  .nav-actions #nav-btn-buy {
    display: none !important;
  }

  #nav-btn-trial {
    padding: 6px 12px !important;
    font-size: 11.5px !important;
    white-space: nowrap !important;
  }

  .hero-section {
    padding: 36px 14px 44px;
  }

  .hero-badge-wrap {
    margin-bottom: 16px;
  }

  .tech-pill {
    white-space: normal;
    text-align: center;
    font-size: 9px;
    letter-spacing: 0.04em;
    padding: 5px 10px;
    border-radius: 16px;
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 100%;
    box-sizing: border-box;
    line-height: 1.35;
  }

  .hero-headline {
    font-size: 25px !important;
    line-height: 1.25 !important;
    letter-spacing: -0.015em;
    word-break: break-word;
    margin-bottom: 14px;
  }

  .hero-subhead {
    font-size: 13.5px !important;
    line-height: 1.55;
    margin-bottom: 24px;
    padding: 0 4px;
  }

  .hero-cta-group {
    flex-direction: column !important;
    width: 100% !important;
    max-width: 320px !important;
    margin: 0 auto 30px auto !important;
    gap: 10px !important;
  }

  .hero-cta-group .btn,
  .hero-cta-group .btn-cws,
  .hero-cta-group .btn-x {
    width: 100% !important;
    max-width: 100% !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }

  .platform-notice-card {
    padding: 16px 14px !important;
    margin: 0 4px;
  }


  .notice-top-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    padding-bottom: 12px;
  }

  .widget-stage {
    padding: 10px 4px !important;
    border-radius: var(--radius-md) !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    gap: 12px !important;
  }

  .demo-interactive-bar {
    padding: 8px 10px !important;
    gap: 8px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .controller-actions {
    justify-content: center !important;
    gap: 6px !important;
  }

  .controller-actions .btn {
    padding: 5px 8px !important;
    font-size: 11px !important;
  }

  #ts-tracker-widget.website-sim-widget {
    width: 100% !important;
    max-width: 100% !important;
    height: 460px !important;
    box-sizing: border-box !important;
  }

  .pipeline-flow {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .pipeline-step {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 14px !important;
  }

  .pipeline-arrow {
    transform: rotate(90deg) !important;
    margin: 4px auto !important;
    align-self: center !important;
  }

  .scope-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .scope-card {
    padding: 22px 16px !important;
  }

  .pricing-cards-wrap {
    grid-template-columns: 1fr !important;
    width: 100% !important;
    max-width: 400px !important;
    margin: 0 auto !important;
    gap: 20px !important;
    box-sizing: border-box !important;
  }

  .pricing-card {
    padding: 24px 18px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .pricing-guarantee-box {
    flex-direction: column;
    text-align: center;
    gap: 10px;
    padding: 14px 16px;
  }

  .footer-top {
    flex-direction: column !important;
    gap: 28px !important;
  }

  .footer-links-group {
    flex-direction: column !important;
    gap: 24px !important;
  }

  .footer-col {
    gap: 6px !important;
  }
}

@media (max-width: 600px) {
  .ts-filter-bar { flex-direction: column; gap: 8px; align-items: flex-start; }
  .hero-telemetry-bar { grid-template-columns: 1fr; }
  .telemetry-divider { display: none; }
  .ts-tabs-bar { overflow-x: auto; }
}

@media (max-width: 480px) {
  .brand-domain {
    display: none !important;
  }

  .ts-brand-domain {
    display: none !important;
  }

  #ts-clear-all-btn,
  #ts-settings-btn,
  #ts-min-btn {
    display: none !important;
  }

  .ts-header {
    padding: 6px 10px !important;
  }

  .ts-tabs-bar {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }

  .ts-tabs-bar::-webkit-scrollbar {
    display: none !important;
  }

  .hero-headline {
    font-size: 23px !important;
  }

  .section-title {
    font-size: 22px !important;
  }

  .amt-card {
    padding: 18px 14px !important;
  }

  .amt-contrast-banner {
    padding: 20px 16px !important;
  }
}

@media (max-width: 360px) {
  #nav-btn-trial {
    padding: 5px 9px !important;
    font-size: 11px !important;
  }

  .hero-headline {
    font-size: 21px !important;
  }
}

/* --- Legal, Terms & Policies Modal --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 7, 5, 0.85);
  backdrop-filter: blur(8px);
}

.modal-window {
  position: relative;
  width: 100%;
  max-width: 680px;
  max-height: 85vh;
  background: #0d1410;
  border: 1px solid #1c2e22;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(16, 185, 129, 0.15);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: modalScaleIn 0.2s ease-out;
}

@keyframes modalScaleIn {
  from { transform: scale(0.96); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-header {
  padding: 20px 24px 16px;
  border-bottom: 1px solid #1c2e22;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  background: #090e0b;
}

.modal-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-heading);
  margin-top: 6px;
}

.modal-close-btn {
  background: transparent;
  border: 1px solid #23372a;
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.modal-close-btn:hover {
  color: #ffffff;
  border-color: #34d399;
  background: rgba(16, 185, 129, 0.1);
}

.modal-tabs {
  display: flex;
  background: #080d0a;
  border-bottom: 1px solid #1c2e22;
  padding: 0 16px;
  gap: 8px;
}

.modal-tab {
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  padding: 12px 14px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.modal-tab:hover {
  color: var(--text-heading);
}

.modal-tab.active {
  color: var(--emerald-bright);
  border-bottom-color: var(--emerald-bright);
}

.modal-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-primary);
}

.legal-tab-pane {
  display: none;
}

.legal-tab-pane.active {
  display: block;
}

.legal-section-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-heading);
  margin: 16px 0 8px;
}

.legal-section-title:first-child {
  margin-top: 0;
}

.legal-tab-pane p {
  margin-bottom: 12px;
  color: #94a3b8;
}

.legal-badge-local {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--emerald-bright);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 14px;
}

/* --- Legal Policy Elements (GDPR, Cookies, Lists, Tables) --- */
.legal-list {
  list-style: none;
  margin: 0 0 16px 0;
  padding: 0;
}

.legal-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  color: var(--text-primary);
  font-size: 12.5px;
  line-height: 1.6;
}

.legal-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--emerald-primary);
  font-family: var(--font-mono);
  font-size: 13px;
}

.legal-link {
  color: var(--emerald-bright);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}

.legal-link:hover {
  color: #6ee7b7;
}

.legal-authority-box {
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid var(--border-strong);
  border-left: 3px solid var(--emerald-primary);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin: 12px 0 16px;
  font-size: 12px;
  line-height: 1.65;
  color: var(--text-primary);
}

.legal-table-wrapper {
  overflow-x: auto;
  margin: 14px 0 18px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
}

.legal-cookie-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  text-align: left;
  background: var(--bg-surface);
}

.legal-cookie-table th {
  background: #080d0a;
  color: var(--text-heading);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border-strong);
  white-space: nowrap;
}

.legal-cookie-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-primary);
  vertical-align: top;
}

.legal-cookie-table tr:last-child td {
  border-bottom: none;
}

.legal-cookie-table code {
  background: rgba(16, 185, 129, 0.12);
  color: var(--emerald-bright);
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 3px;
  white-space: nowrap;
}

/* --- Cookie Consent Banner (GDPR & ePrivacy) --- */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  width: calc(100% - 32px);
  max-width: 980px;
  z-index: 99999;
  background: rgba(13, 20, 16, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-strong);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(16, 185, 129, 0.2);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  animation: cookieBannerSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes cookieBannerSlideUp {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.cookie-banner-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.cookie-banner-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.cookie-pill {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--emerald-bright);
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 2px 8px;
  border-radius: var(--radius-xs);
}

.cookie-banner-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-heading);
  letter-spacing: -0.01em;
}

.cookie-banner-desc {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
}

.cookie-banner-desc a {
  color: var(--emerald-bright);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.cookie-banner-desc a:hover {
  color: #6ee7b7;
}

.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Button variants */
.cookie-btn {
  font-family: var(--font-ui);
  font-size: 12.5px;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
}

.cookie-btn-accept {
  background: var(--emerald-primary);
  color: #040806;
  border-color: var(--emerald-bright);
  box-shadow: 0 0 12px var(--emerald-glow);
}

.cookie-btn-accept:hover {
  background: var(--emerald-bright);
  box-shadow: 0 0 18px var(--emerald-glow-strong);
  transform: translateY(-1px);
}

.cookie-btn-reject {
  background: #111a14;
  color: var(--text-heading);
  border-color: var(--border-strong);
}

.cookie-btn-reject:hover {
  background: #18251e;
  border-color: var(--border-bright);
  color: #ffffff;
}

.cookie-btn-settings {
  background: transparent;
  color: var(--text-muted);
  border-color: var(--border-subtle);
}

.cookie-btn-settings:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-heading);
  border-color: var(--border-strong);
}

.cookie-btn-secondary {
  background: rgba(16, 185, 129, 0.1);
  color: var(--emerald-bright);
  border-color: rgba(16, 185, 129, 0.25);
}

.cookie-btn-secondary:hover {
  background: rgba(16, 185, 129, 0.18);
  border-color: var(--emerald-bright);
}

.cookie-btn-sm {
  padding: 6px 12px;
  font-size: 11.5px;
}

/* --- Cookie Preferences Modal --- */
.cookie-prefs-window {
  max-width: 620px;
}

.cookie-prefs-body {
  padding: 20px 24px;
  max-height: 65vh;
}

.cookie-prefs-intro {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.cookie-cat-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 12px;
  transition: border-color 0.15s ease;
}

.cookie-cat-item:hover {
  border-color: var(--border-strong);
}

.cookie-cat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.cookie-cat-title-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.cookie-cat-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-heading);
}

.cookie-status-badge {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  letter-spacing: 0.04em;
}

.cookie-status-badge.badge-locked {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: var(--emerald-bright);
}

.cookie-cat-desc {
  font-size: 12px;
  line-height: 1.55;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.cookie-sub-details {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
}

.cookie-sub-details code {
  color: var(--emerald-bright);
  background: rgba(16, 185, 129, 0.08);
  padding: 1px 4px;
  border-radius: 3px;
}

/* Custom Toggle Switch */
.cookie-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #1a271f;
  border: 1px solid var(--border-strong);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 24px;
}

.cookie-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: var(--text-muted);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 50%;
}

.cookie-switch input:checked + .cookie-slider {
  background-color: rgba(16, 185, 129, 0.25);
  border-color: var(--emerald-bright);
  box-shadow: 0 0 10px var(--emerald-glow);
}

.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(20px);
  background-color: var(--emerald-bright);
}

.cookie-prefs-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px 24px;
  background: #090e0b;
  border-top: 1px solid var(--border-subtle);
}

/* Footer persistent trigger link */
.footer-cookie-settings-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  color: var(--text-muted);
  transition: color 0.15s ease;
}

.footer-cookie-settings-link:hover {
  color: var(--emerald-bright) !important;
}

/* Responsive banner adjustments */
@media (max-width: 768px) {
  .cookie-banner {
    bottom: 12px;
    width: calc(100% - 20px);
    padding: 16px;
  }
  .cookie-banner-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .cookie-banner-actions {
    width: 100%;
    flex-direction: column;
    gap: 8px;
  }
  .cookie-banner-actions .cookie-btn {
    width: 100%;
  }
  .modal-tabs {
    overflow-x: auto;
    white-space: nowrap;
  }
}

/* ============================================================
   WHAT IT DOES VS. LIMITATIONS (TRANSPARENCY & SCOPE)
   ============================================================ */
.scope-section {
  width: 100%;
  padding: 85px 20px;
  background: linear-gradient(180deg, rgba(7, 11, 9, 0.7) 0%, rgba(13, 21, 16, 0.95) 50%, rgba(7, 11, 9, 0.7) 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

.scope-container {
  max-width: 1180px;
  margin: 0 auto;
}

.scope-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 36px;
}

.scope-card {
  background: #0b120e;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
}

.scope-card-does {
  border: 1px solid rgba(16, 185, 129, 0.28);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 24px rgba(16, 185, 129, 0.08);
}

.scope-card-does:hover {
  border-color: rgba(52, 211, 153, 0.5);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5), 0 0 32px rgba(16, 185, 129, 0.15);
  transform: translateY(-2px);
}

.scope-card-limits {
  border: 1px solid rgba(56, 189, 248, 0.22);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 24px rgba(56, 189, 248, 0.05);
}

.scope-card-limits:hover {
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5), 0 0 32px rgba(56, 189, 248, 0.12);
  transform: translateY(-2px);
}

.scope-card-header {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.scope-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  margin-bottom: 12px;
}

.scope-badge-green {
  background: rgba(16, 185, 129, 0.14);
  color: var(--emerald-bright);
  border: 1px solid rgba(52, 211, 153, 0.3);
}

.scope-badge-blue {
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.scope-card-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.scope-card-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.45;
}

.scope-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.scope-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.scope-item-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  margin-top: 1px;
}

.scope-icon-check {
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald-bright);
  border: 1px solid rgba(52, 211, 153, 0.35);
}

.scope-icon-info {
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.scope-item-content {
  flex: 1;
}

.scope-item-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 3px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.scope-pill {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: var(--radius-xs);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
}

.scope-pill-green {
  background: rgba(16, 185, 129, 0.1);
  color: var(--emerald-bright);
  border-color: rgba(52, 211, 153, 0.25);
}

.scope-pill-blue {
  background: rgba(56, 189, 248, 0.08);
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.2);
}

.scope-item-text {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .scope-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}


