﻿@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700;800&display=swap');

/* 投策 Touces — Global Stylesheet */
/* Color Scheme: #000000 (true black), #2196F3 (MT5 blue), fluid gradient accents */

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

:root {
  --bg-primary: #000000;
  --bg-secondary: #07070a;
  --bg-card: #141c2e;
  --bg-card-hover: #1a2340;
  --accent-gold: #2196F3;
  --accent-gold-dim: #1565C0;
  --accent-green: #10b981;
  --accent-yellow: #f59e0b;
  --accent-red: #ef4444;
  --accent-glow-1: #2196F3;
  --accent-glow-2: #a855f7;
  --accent-glow-3: #fbbf24;
  --gradient-fluid: linear-gradient(135deg, var(--accent-glow-1) 0%, var(--accent-glow-2) 55%, var(--accent-glow-3) 100%);
  --text-primary: #e2e8f0;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border-color: #1e2d4a;
  --border-gold: rgba(33, 150, 243, 0.3);
  --font-stack: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Space Grotesk', var(--font-stack);
  --font-mono: 'Cascadia Code', 'Fira Code', 'Consolas', monospace;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  --transition: 0.2s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-stack);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  font-size: 16px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--accent-gold);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent-gold-dim);
}

img {
  max-width: 100%;
  height: auto;
}

/* Editorial display font for all major headings */
h1, h2, h3, .nav-logo, .stat-number {
  font-family: var(--font-display);
}

/* ===== NAVIGATION ===== */
.nav {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0 24px;
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.nav-logo span {
  color: var(--accent-gold);
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

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

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-gold);
}

.nav-cta {
  background: var(--accent-gold);
  color: var(--bg-primary) !important;
  padding: 8px 18px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.85rem;
}

.nav-cta:hover {
  background: var(--accent-gold-dim);
  color: var(--bg-primary) !important;
}

/* ===== HERO SECTION ===== */
.hero {
  padding: 100px 24px 80px;
  text-align: center;
  background: radial-gradient(ellipse at 50% 0%, rgba(33, 150, 243, 0.08) 0%, transparent 70%);
  border-bottom: 1px solid var(--border-color);
}

.hero-badge {
  display: inline-block;
  background: rgba(33, 150, 243, 0.1);
  border: 1px solid var(--border-gold);
  color: var(--accent-gold);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  max-width: 760px;
  margin: 0 auto 20px;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent-gold);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--accent-gold);
  color: var(--bg-primary);
}

.btn-primary:hover {
  background: var(--accent-gold-dim);
  color: var(--bg-primary);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(33, 150, 243, 0.3);
}

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

.btn-secondary:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  transform: translateY(-1px);
}

/* ===== SECTIONS ===== */
.section {
  padding: 80px 24px;
}

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

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 12px;
}

.section h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 560px;
  margin: 0 auto;
}

/* ===== ZONE CARDS ===== */
.zones-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.zone-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.zone-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}

.zone-card.green::before { background: var(--accent-green); }
.zone-card.yellow::before { background: var(--accent-yellow); }
.zone-card.red::before { background: var(--accent-red); }

.zone-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.zone-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  display: block;
}

.zone-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.zone-card .zone-risk {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 12px;
}

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

.zone-condition {
  margin-top: 16px;
  padding: 8px 12px;
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius);
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* ===== FEATURES GRID ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition);
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-gold);
}

.feature-icon {
  width: 44px;
  height: 44px;
  background: rgba(33, 150, 243, 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== BLOG CARDS ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.article-card-header {
  padding: 24px 24px 0;
}

.article-tag {
  display: inline-block;
  background: rgba(33, 150, 243, 0.1);
  border: 1px solid var(--border-gold);
  color: var(--accent-gold);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.article-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: 10px;
}

.article-card h3 a {
  color: var(--text-primary);
}

.article-card h3 a:hover {
  color: var(--accent-gold);
}

.article-card-body {
  padding: 12px 24px;
  flex: 1;
}

.article-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.article-card-footer {
  padding: 16px 24px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-color);
  margin-top: 16px;
}

.article-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.read-more {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-gold);
}

/* ===== ARTICLE PAGE ===== */
.article-layout {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 24px;
}

.article-hero {
  margin-bottom: 48px;
}

.article-breadcrumb {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.article-breadcrumb a {
  color: var(--text-muted);
}

.article-breadcrumb a:hover {
  color: var(--accent-gold);
}

.article-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.article-meta-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border-color);
}

.article-meta-bar .tag {
  background: rgba(33, 150, 243, 0.1);
  border: 1px solid var(--border-gold);
  color: var(--accent-gold);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 4px;
}

/* ===== ARTICLE CONTENT ===== */
.article-content {
  color: var(--text-primary);
  line-height: 1.85;
}

.article-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 48px 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
  letter-spacing: -0.02em;
}

.article-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent-gold);
  margin: 32px 0 12px;
}

.article-content p {
  margin-bottom: 20px;
  color: var(--text-secondary);
}

.article-content strong {
  color: var(--text-primary);
  font-weight: 600;
}

.article-content ul,
.article-content ol {
  padding-left: 24px;
  margin-bottom: 20px;
  color: var(--text-secondary);
}

.article-content li {
  margin-bottom: 8px;
}

.article-content blockquote {
  border-left: 3px solid var(--accent-gold);
  padding: 16px 24px;
  background: rgba(33, 150, 243, 0.05);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 28px 0;
  color: var(--text-primary);
  font-style: italic;
}

/* Zone callout boxes */
.zone-callout {
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin: 28px 0;
  border: 1px solid;
}

.zone-callout.green {
  background: rgba(16, 185, 129, 0.07);
  border-color: rgba(16, 185, 129, 0.3);
}

.zone-callout.yellow {
  background: rgba(245, 158, 11, 0.07);
  border-color: rgba(245, 158, 11, 0.3);
}

.zone-callout.red {
  background: rgba(239, 68, 68, 0.07);
  border-color: rgba(239, 68, 68, 0.3);
}

.zone-callout h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.zone-callout.green h4 { color: var(--accent-green); }
.zone-callout.yellow h4 { color: var(--accent-yellow); }
.zone-callout.red h4 { color: var(--accent-red); }

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

.zone-callout .risk-number {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 700;
  display: block;
  margin: 8px 0 4px;
}

.zone-callout.green .risk-number { color: var(--accent-green); }
.zone-callout.yellow .risk-number { color: var(--accent-yellow); }
.zone-callout.red .risk-number { color: var(--accent-red); }

/* Table */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-size: 0.9rem;
  overflow-x: auto;
  display: block;
}

.data-table th {
  background: var(--bg-card);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 12px 16px;
  text-align: left;
  border: 1px solid var(--border-color);
}

.data-table td {
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
}

.data-table tr:hover td {
  background: var(--bg-card);
}

.data-table td:first-child {
  font-weight: 600;
}

/* CTA Box */
.cta-box {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin: 48px 0;
  text-align: center;
}

.cta-box h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.cta-box p {
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.cta-box .btn-group {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Risk Disclaimer */
.risk-disclaimer {
  background: rgba(239, 68, 68, 0.06);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 32px 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.risk-disclaimer strong {
  color: var(--accent-red);
}

/* ===== ABOUT PAGE ===== */
.about-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 24px;
}

.about-section h1 {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.about-section .lead {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 48px;
  line-height: 1.8;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 36px 0;
}

.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.value-card .icon {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.value-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.value-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 48px 24px 32px;
  margin-top: auto;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-color);
}

.footer-brand .logo {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.footer-brand .logo span {
  color: var(--accent-gold);
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

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

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

.footer-disclaimer {
  padding-top: 28px;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.footer-disclaimer strong {
  color: var(--text-secondary);
}

.footer-bottom {
  margin-top: 16px;
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

/* ===== UTILITY ===== */
.text-gold { color: var(--accent-gold); }
.text-green { color: var(--accent-green); }
.text-yellow { color: var(--accent-yellow); }
.text-red { color: var(--accent-red); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.divider {
  height: 1px;
  background: var(--border-color);
  margin: 60px 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero { padding: 60px 20px 50px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section { padding: 56px 20px; }
  .cta-box .btn-group { flex-direction: column; }
}

@media (max-width: 480px) {
  .zones-grid,
  .features-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== STATS BAR ===== */
.stats-bar {
  padding: 0 24px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
}

.stats-bar-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.stats-bar-inner::-webkit-scrollbar { display: none; }

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 40px;
  border-right: 1px solid var(--border-color);
  flex-shrink: 0;
}

.stat-item:last-child { border-right: none; }

.stat-number {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.stat-number .accent { color: var(--accent-gold); }

.stat-label {
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-top: 5px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  white-space: nowrap;
  font-weight: 500;
}

/* ===== MOBILE NAV ===== */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  z-index: 201;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.15s ease, background 0.15s;
  transform-origin: center;
}

.nav-toggle:hover span { background: var(--text-primary); }
.nav-toggle.active span { background: var(--text-primary); }
.nav-toggle.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Full-screen overlay — Linear/Vercel style */
.nav-mobile {
  position: fixed;
  inset: 0;
  background: rgba(7, 9, 26, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 200;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  /* closed state — double lock so old cache cannot bleed through */
  display: none !important;
  visibility: hidden;
  pointer-events: none;
}

.nav-mobile.open {
  display: flex !important;
  visibility: visible;
  pointer-events: auto;
}

.nav-mobile ul {
  list-style: none;
  width: 100%;
  max-width: 300px;
  text-align: center;
  padding: 0;
  margin-bottom: 32px;
}

.nav-mobile ul li a {
  display: block;
  padding: 18px 0;
  color: var(--text-secondary);
  font-size: 1.15rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: color 0.15s;
}

.nav-mobile ul li:last-child a { border-bottom: none; }
.nav-mobile ul li a:hover,
.nav-mobile ul li a.active { color: var(--text-primary); }

.nav-mobile-cta {
  display: block;
  width: 220px;
  text-align: center;
  background: var(--accent-gold);
  color: #07091a !important;
  padding: 13px 24px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition: background var(--transition);
}

.nav-mobile-cta:hover {
  background: var(--accent-gold-dim) !important;
  color: #07091a !important;
}

/* ===== HERO — TECHNICAL GRID BACKGROUND ===== */
.hero {
  background:
    radial-gradient(ellipse at 50% -10%, rgba(33,150,243,0.13) 0%, transparent 55%),
    linear-gradient(rgba(33,150,243,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(33,150,243,0.025) 1px, transparent 1px),
    var(--bg-primary);
  background-size: auto, 52px 52px, 52px 52px;
  background-position: center top, center center, center center;
}

/* ===== DESIGN REFINEMENTS ===== */

/* Section labels — reduce blue saturation for less promotional feel */
.section-label {
  color: rgba(33, 150, 243, 0.55);
  letter-spacing: 0.12em;
}

/* Hero badge — smaller, more editorial */
.hero-badge {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  padding: 4px 12px;
  background: rgba(33,150,243,0.07);
  border-color: rgba(33,150,243,0.2);
}

/* Cards — better depth on hover */
.zone-card:hover,
.feature-card:hover {
  box-shadow: 0 4px 40px rgba(0,0,0,0.5), 0 0 0 1px rgba(33,150,243,0.12) inset;
}

/* Article cards — cleaner hover */
.article-card:hover {
  box-shadow: 0 4px 32px rgba(0,0,0,0.4);
}

/* Headings — slightly tighter for precision */
.hero h1 {
  letter-spacing: -0.035em;
}

/* Better font rendering */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .stats-bar { display: none; }
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: calc(var(--i, 0) * 0.08s);
}

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

/* ===== HERO GROWTH CHART ===== */
.growth-chart-wrap {
  position: relative;
  max-width: 640px;
  margin: 56px auto 0;
  padding-bottom: 8px;
}

.growth-chart {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.growth-fill-start { stop-color: var(--accent-gold); stop-opacity: 0.22; }
.growth-fill-end { stop-color: var(--accent-gold); stop-opacity: 0; }

.growth-line {
  fill: none;
  stroke: var(--accent-gold);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.6s cubic-bezier(0.65, 0, 0.35, 1);
}

.growth-chart.animate .growth-line {
  stroke-dashoffset: 0;
}

.growth-area {
  opacity: 0;
  transition: opacity 1s ease 0.3s;
}

.growth-chart.animate .growth-area {
  opacity: 1;
}

.growth-dot {
  fill: var(--bg-primary);
  stroke: var(--accent-gold);
  stroke-width: 2;
  opacity: 0;
  transform: scale(0.4);
  transform-box: fill-box;
  transform-origin: center;
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  transition-delay: var(--d, 0s);
}

.growth-chart.animate .growth-dot {
  opacity: 1;
  transform: scale(1);
}

.growth-dot.final {
  fill: var(--accent-gold);
}

.growth-label {
  position: absolute;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: 1.5s;
}

.growth-label span {
  display: block;
  font-family: var(--font-stack);
  font-weight: 500;
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.growth-label-start {
  left: 0;
  bottom: -4px;
  transform: translateY(8px);
}

.growth-label-end {
  right: 0;
  top: -8px;
  text-align: right;
  color: var(--accent-gold);
  transform: translateY(-8px);
}

.growth-chart.animate .growth-label {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .growth-line,
  .growth-area,
  .growth-dot,
  .growth-label {
    transition: none !important;
  }
}

@media (max-width: 480px) {
  .growth-chart-wrap { margin-top: 40px; }
  .growth-label { font-size: 0.8rem; }
  .growth-label span { font-size: 0.62rem; }
}

/* ===== TECH / HUD ENHANCEMENTS ===== */

/* Blueprint grid texture across the whole page */
body {
  background-image:
    linear-gradient(rgba(33, 150, 243, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(33, 150, 243, 0.025) 1px, transparent 1px);
  background-size: 52px 52px;
  background-position: center top;
}

/* Live pulse indicator on hero badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 0 24px rgba(33, 150, 243, 0.08);
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--accent-gold);
  box-shadow: 0 0 8px var(--accent-gold), 0 0 2px var(--accent-gold);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.8); }
}

/* Animated gradient sweep on hero highlight text */
.hero h1 em {
  background: linear-gradient(90deg, var(--accent-gold-dim), var(--accent-gold), #6ec1ff, var(--accent-gold), var(--accent-gold-dim));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradient-shift 8s ease-in-out infinite;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Terminal-style readout for stat numbers + accent glow */
.stat-number {
  font-family: var(--font-mono);
  letter-spacing: -0.01em;
}

.accent {
  text-shadow: 0 0 16px rgba(33, 150, 243, 0.45);
}

/* Glassmorphism panels */
.zone-card,
.feature-card,
.article-card,
.value-card,
.cta-box {
  background: rgba(20, 28, 46, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.zone-card:hover,
.feature-card:hover {
  background: rgba(26, 35, 64, 0.65);
}

/* Feature icons — subtle glowing frame */
.feature-icon {
  border: 1px solid rgba(33, 150, 243, 0.18);
  box-shadow: inset 0 0 20px rgba(33, 150, 243, 0.08);
}

/* HUD targeting brackets on the growth chart panel */
.growth-chart-wrap {
  padding: 22px;
}

.growth-chart-wrap::before,
.growth-chart-wrap::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(33, 150, 243, 0.35);
  pointer-events: none;
}

.growth-chart-wrap::before {
  top: 0;
  left: 0;
  border-right: none;
  border-bottom: none;
}

.growth-chart-wrap::after {
  bottom: 0;
  right: 0;
  border-left: none;
  border-top: none;
}

/* Circuit-trace section divider */
.divider {
  position: relative;
  background: linear-gradient(90deg, transparent, var(--border-gold), transparent);
}

.divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-gold);
  box-shadow: 0 0 12px var(--accent-gold), 0 0 24px rgba(33, 150, 243, 0.4);
}

/* Button shine sweep on hover */
.btn-primary {
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.7s ease;
}

.btn-primary:hover::before {
  left: 125%;
}

@media (prefers-reduced-motion: reduce) {
  .hero-badge::before { animation: none; }
  .hero h1 em { animation: none; background-position: 0% 50%; }
  .btn-primary::before { display: none; }
}

@supports not ((background-clip: text) or (-webkit-background-clip: text)) {
  .hero h1 em {
    background: none;
    color: var(--accent-gold);
  }
}

@media (max-width: 480px) {
  .growth-chart-wrap { padding: 16px; }
  .growth-chart-wrap::before,
  .growth-chart-wrap::after { width: 12px; height: 12px; }
}

/* ============================================
   ARTICLE ILLUSTRATIONS & ACCOUNT CTA
   ============================================ */

.article-illustration {
  position: relative;
  margin: 28px 0 36px;
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-gold);
  background: rgba(20, 28, 46, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
}

.article-illustration::before,
.article-illustration::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(33, 150, 243, 0.35);
  pointer-events: none;
}

.article-illustration::before { top: 0; left: 0; border-right: none; border-bottom: none; }
.article-illustration::after { bottom: 0; right: 0; border-left: none; border-top: none; }

.article-illustration svg {
  display: block;
  width: 100%;
  height: auto;
}

.article-illustration figcaption {
  margin-top: 12px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.account-cta {
  margin-top: 28px;
  padding: 28px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(16, 185, 129, 0.04));
  border: 1px solid rgba(16, 185, 129, 0.3);
  text-align: center;
}

.account-cta h3 {
  margin-bottom: 12px;
}

.account-cta p {
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.account-cta .btn-primary {
  background: var(--accent-green);
}

.account-cta .btn-primary:hover {
  background: #0ea271;
}

/* ============================================
   HERO — CINEMATIC REDESIGN (Hubtown-inspired)
   ============================================ */
.hero.hero-cinematic {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  padding: 120px 6vw 80px;
  overflow: hidden;
  background: #000;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-cinematic::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 78% 35%, rgba(33, 150, 243, 0.16), transparent 60%),
    radial-gradient(ellipse 50% 45% at 15% 85%, rgba(168, 85, 247, 0.10), transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 920px;
}

.hero-cinematic .hero-badge {
  opacity: 0;
  transform: translateY(16px);
}

.hero-cinematic .hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3rem, 9vw, 7.5rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin: 28px 0 32px;
  max-width: none;
}

.hero-title .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
}

.hero-title .reveal-text {
  display: inline-block;
  transform: translateY(110%);
  will-change: transform;
}

.hero-title em {
  font-style: normal;
  font-weight: 800;
}

.gradient-text {
  background: var(--gradient-fluid);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradient-shift 8s ease-in-out infinite;
}

.hero-cinematic .hero-subtitle {
  font-size: clamp(1rem, 1.4vw, 1.3rem);
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 0 44px;
  line-height: 1.7;
  text-align: left;
  opacity: 0;
  transform: translateY(16px);
}

.hero-cinematic .hero-actions {
  justify-content: flex-start;
  opacity: 0;
  transform: translateY(16px);
}

.hero-target {
  margin-top: 64px;
  display: flex;
  align-items: baseline;
  gap: 16px;
  opacity: 0;
  transform: translateY(16px);
}

.hero-target-value {
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--accent-glow-3);
  text-shadow: 0 0 24px rgba(251, 191, 36, 0.4);
}

.hero-target-label {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.scroll-cue {
  position: absolute;
  bottom: 40px;
  left: 6vw;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  opacity: 0;
  transform: translateY(16px);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--text-muted), transparent);
  animation: scroll-line-move 2s ease-in-out infinite;
}

@keyframes scroll-line-move {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 0; }
  50%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  51%  { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-title .reveal-text { transform: none; }
  .hero-cinematic .hero-badge,
  .hero-cinematic .hero-subtitle,
  .hero-cinematic .hero-actions,
  .hero-target,
  .scroll-cue { opacity: 1; transform: none; }
  .scroll-line { animation: none; }
  .gradient-text { animation: none; background-position: 0% 50%; }
}

@media (max-width: 768px) {
  .hero.hero-cinematic { padding: 110px 24px 70px; min-height: 100vh; }
  .hero-cinematic .hero-title { font-size: clamp(2.6rem, 14vw, 4rem); }
  .scroll-cue { display: none; }
  .hero-cinematic::before {
    background: radial-gradient(ellipse 90% 60% at 50% 20%, rgba(33,150,243,0.16), transparent 65%);
  }
}

/* ============================================
   SECTION TYPOGRAPHY — EDITORIAL UPGRADE
   ============================================ */
.section {
  padding: 120px 24px;
}

.section-header {
  margin-bottom: 72px;
}

.section h2 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  line-height: 1.8;
}

/* Line-by-line heading reveal (reusable, driven by js/scroll-reveal.js) */
.text-reveal .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.1em;
}

.text-reveal .line .reveal-text {
  display: inline-block;
  transform: translateY(110%);
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .text-reveal .line .reveal-text { transform: none; }
}

@media (max-width: 768px) {
  .section { padding: 80px 20px; }
  .section-header { margin-bottom: 48px; }
}

/* ============================================
   STATS BAR — EDITORIAL UPGRADE
   ============================================ */
.stat-item {
  padding: 28px 52px;
}

.stat-number {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

/* ============================================
   CTA BANNER — SPOTLIGHT
   ============================================ */
.cta-banner {
  position: relative;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(33, 150, 243, 0.10), transparent 65%);
}

.cta-banner .section-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-banner p {
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto 36px;
  font-size: 1.05rem;
}

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

/* ============================================
   FOOTER — BREATHING ROOM
   ============================================ */
.footer {
  padding: 80px 24px 40px;
}

.footer-brand .logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
}

.footer-top {
  gap: 64px;
  padding-bottom: 56px;
}

@media (max-width: 768px) {
  .footer { padding: 56px 20px 32px; }
  .footer-top { gap: 40px; }
}

/* ============================================
   JOURNEY — CINEMATIC SCROLL FLY-THROUGH
   ============================================ */
.journey-section {
  position: relative;
  height: 500vh;
  background: #000;
}

.journey-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

.journey-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.journey-hud {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px 6vw;
  pointer-events: none;
}

.journey-hud-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.journey-hud-label {
  color: var(--accent-gold);
  font-weight: 700;
}

.journey-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  transition: opacity 0.6s ease;
}

.journey-hint-arrow {
  display: inline-block;
  animation: journey-bob 1.6s ease-in-out infinite;
}

@keyframes journey-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

.journey-readout {
  align-self: flex-end;
  text-align: right;
}

.journey-readout-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.journey-readout-value {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--accent-glow-3);
  text-shadow: 0 0 24px rgba(251, 191, 36, 0.5);
}

.journey-readout-milestone {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

.journey-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0%;
  background: var(--gradient-fluid);
  z-index: 3;
}

.journey-tune-toggle {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 4;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: rgba(0, 0, 0, 0.4);
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: color var(--transition), border-color var(--transition);
}

.journey-tune-toggle:hover {
  color: var(--accent-gold);
  border-color: var(--border-gold);
}

.journey-panel {
  position: absolute;
  top: 70px;
  right: 24px;
  z-index: 4;
  width: 220px;
  background: rgba(10, 14, 26, 0.85);
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 11px;
  backdrop-filter: blur(6px);
  display: none;
}

.journey-panel.open {
  display: block;
}

.journey-panel h4 {
  margin: 0 0 8px;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--accent-gold);
  text-transform: uppercase;
  font-family: var(--font-stack);
}

.journey-panel label {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin: 6px 0 2px;
  color: var(--text-secondary);
}

.journey-panel input[type="range"] {
  width: 100%;
  accent-color: var(--accent-glow-3);
}

.journey-panel .val {
  color: var(--accent-glow-3);
  font-family: var(--font-mono);
}

@media (prefers-reduced-motion: reduce) {
  .journey-section { height: 100vh; }
  .journey-hint,
  .journey-progress { display: none; }
}

@media (max-width: 768px) {
  .journey-section { height: 350vh; }
  .journey-hud { padding: 24px; }
  .journey-hud-top { font-size: 0.62rem; }
  .journey-readout-value { font-size: clamp(1.6rem, 8vw, 2.2rem); }
  .journey-panel { width: 180px; right: 12px; }
  .journey-tune-toggle { right: 12px; }
}

/* ============================================================
   ABOUT PAGE — EDITORIAL UPGRADE
   ============================================================ */
.about-section {
  max-width: 860px;
  padding: 140px 24px 100px;
}

.about-title .accent { color: var(--accent-gold); }

.about-section h2 {
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.about-section-heading { margin-top: 88px; }

.about-callout {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-left: 3px solid var(--accent-gold);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin: 56px 0;
}

.about-callout h2 { margin-bottom: 16px; }

.about-callout p {
  color: var(--text-secondary);
  line-height: 1.9;
  margin: 0;
}

.about-warning {
  background: rgba(239, 68, 68, 0.06);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin: 56px 0;
}

.about-warning h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent-red);
  margin-bottom: 14px;
}

.about-warning ul {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 2;
}

@media (max-width: 768px) {
  .about-section { padding: 100px 20px 64px; }
  .about-section-heading { margin-top: 64px; }
}

/* ============================================
   SUBPAGE HEADER — shared by brokers / calendar / blog
   ============================================ */
.page-header {
  padding: 140px 24px 60px;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
  background: radial-gradient(ellipse at 50% 0%, rgba(33, 150, 243, 0.07) 0%, transparent 65%);
}

.page-header-inner {
  max-width: 860px;
  margin: 0 auto;
}

.page-header h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--text-primary);
  margin-bottom: 16px;
}

/* FAQ CARDS — reusable accordion-style Q&A blocks */
.faq-list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
}

.faq-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.faq-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .page-header { padding: 100px 20px 48px; }
}

