/* ═══════════════════════════════════════════
   ZenTrading.ai — Shared Styles
   ═══════════════════════════════════════════ */

:root {
  --white: #FFFFFF;
  --bg: #F5F5F3;
  --bg-card: #FFFFFF;
  --bg-card-alt: #F9F9F7;
  --border: #E5E5E0;
  --border-hover: #D0D0CB;
  --text: #1A1A1A;
  --text-dim: #6B6B6B;
  --text-muted: #9A9A9A;
  --blue: #0066FF;
  --blue-light: rgba(0,102,255,0.08);
  --blue-border: rgba(0,102,255,0.2);
  --coral: #FF6D46;
  --coral-light: rgba(255,109,70,0.08);
  --font: 'Inter', sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --gap: 30px;
  --radius: 16px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { font-family: var(--font); background: var(--bg); color: var(--text); overflow-x: hidden; line-height: 1.6; }
a { text-decoration: none; color: inherit; }

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

/* ═══════════════════════════════════════════
   REVEAL ANIMATIONS
   ═══════════════════════════════════════════ */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.15s; }
.reveal-delay-3 { transition-delay: 0.2s; }
.reveal-delay-4 { transition-delay: 0.25s; }

/* ═══════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════ */
.nav {
  position: static; z-index: 100;
  padding: 60px;
  transition: background 0.3s, backdrop-filter 0.3s, border-bottom 0.3s, box-shadow 0.3s;
  border-bottom: 1px solid transparent;
  display: flex; align-items: center; justify-content: space-between;
  background: transparent;
}
.nav.scrolled {
  background: rgba(245,245,243,0.92);
  backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
  box-shadow: 0 1px 8px rgba(0,0,0,0.04);
}
.nav-static {
  position: static;
  padding: 15px 60px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  background: var(--bg);
}
.logo { font-weight: 800; font-size: 1.75rem; letter-spacing: -0.03em; color: var(--text); }
.logo .logo-dot { color: var(--blue); }
.nav-cta {
  display: inline-flex; align-items: center;
  padding: 10px 24px; background: transparent; color: var(--blue);
  font-family: var(--font); font-weight: 600; font-size: 20px;
  border-radius: 100px; border: 2px solid var(--blue); cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.3s;
}
.nav-cta:hover {
  transform: translateY(-1px);
  background: var(--blue-light);
}
.back-link {
  font-size: 16px; color: var(--text-muted); font-weight: 500;
  transition: color 0.2s;
}
.back-link:hover { color: var(--text); }

/* ═══════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════ */
.hero {
  padding: 60px 0 var(--gap); position: relative;
  background: linear-gradient(to bottom, rgba(245,245,243,0.65), var(--bg)),
    url('hero-bg.jpg') center/cover no-repeat;
  min-height: 600px;
}
.hero-placeholder-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 70% 40%, rgba(0,102,255,0.07), transparent 70%),
    radial-gradient(ellipse 60% 60% at 30% 60%, rgba(0,102,255,0.04), transparent 70%);
}
.hero .container { position: relative; z-index: 1; }
.hero-content { max-width: 680px; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px 6px 10px;
  background: var(--blue-light); border: 1px solid var(--blue-border);
  border-radius: 100px; font-size: 16px; color: var(--blue); margin-bottom: var(--gap);
  font-weight: 500;
}
.hero-tag-dot {
  width: 8px; height: 8px; background: var(--blue);
  border-radius: 50%; animation: pulse-dot 2s ease infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800; line-height: 1.1; letter-spacing: -0.04em;
  margin-bottom: var(--gap); text-transform: uppercase; color: var(--text);
}
.hero h1 .accent { color: var(--blue); }
.hero-sub {
  font-size: 1.1rem; color: var(--text-dim); line-height: 1.7;
  max-width: 560px; margin: 0 0 var(--gap); font-weight: 400;
}
.hero-actions {
  display: flex; gap: 15px; flex-wrap: wrap; margin-bottom: var(--gap);
}

/* ═══════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════ */
.btn-primary {
  display: inline-flex; align-items: center;
  padding: 14px 32px; background: transparent; color: var(--blue);
  font-family: var(--font); font-weight: 600; font-size: 20px;
  border: 2px solid var(--blue); border-radius: 100px; cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.3s;
}
.btn-primary:hover { transform: translateY(-2px); background: var(--blue-light); }
.btn-ghost {
  display: inline-flex; align-items: center;
  padding: 14px 32px; background: transparent; color: var(--text-dim);
  font-family: var(--font); font-weight: 500; font-size: 20px;
  border: 2px solid var(--border); border-radius: 100px;
  cursor: pointer; transition: background 0.3s, border-color 0.3s, transform 0.2s var(--ease);
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-light); transform: translateY(-2px); }
.btn-cta {
  display: inline-flex; align-items: center;
  padding: 16px 44px; background: transparent; color: var(--blue);
  font-family: var(--font); font-weight: 700; font-size: 20px;
  border: 2px solid var(--blue); border-radius: 100px; cursor: pointer;
  transition: transform 0.3s var(--ease), background 0.3s;
}
.btn-cta:hover { transform: translateY(-3px); background: var(--blue-light); }

/* ═══════════════════════════════════════════
   HERO PROOF
   ═══════════════════════════════════════════ */
.hero-proof {
  display: flex; align-items: center;
  gap: 32px; flex-wrap: wrap;
  padding: var(--gap) 0; border-top: 1px solid var(--border);
}
.proof-item { display: flex; flex-direction: column; }
.proof-number { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.03em; color: var(--blue); }
.proof-label {
  font-size: 16px; color: var(--text-muted); letter-spacing: 0.04em;
  text-transform: uppercase; margin-top: 2px; font-weight: 500;
}
.proof-divider { width: 1px; height: 36px; background: var(--border); }

/* ═══════════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════════ */
.section { padding: 72px 0; position: relative; }
.section-label {
  font-size: 16px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--blue); margin-bottom: var(--gap); font-weight: 600;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800; line-height: 1.15; letter-spacing: -0.03em; margin-bottom: var(--gap);
  text-transform: uppercase; color: var(--text);
}
.section-sub {
  font-size: 16px; color: var(--text-dim);
  max-width: 560px; line-height: 1.65; font-weight: 400;
}

/* ═══════════════════════════════════════════
   PROBLEM CARDS
   ═══════════════════════════════════════════ */
.problem-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-top: var(--gap);
}
.problem-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 24px;
  transition: border-color 0.3s, transform 0.3s var(--ease), box-shadow 0.3s;
}
.problem-card:hover {
  border-color: var(--border-hover); transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.problem-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--coral-light); border: 1px solid rgba(255,109,70,0.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin-bottom: var(--gap);
}
.problem-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 16px; color: var(--text); }
.problem-card p { color: var(--text-dim); font-size: 16px; line-height: 1.6; font-weight: 400; }

/* ═══════════════════════════════════════════
   CONVICTION / DATA
   ═══════════════════════════════════════════ */
.conviction {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.conviction-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.metrics-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.metric-card {
  background: var(--bg-card-alt); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px 18px; text-align: center;
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.metric-card:hover { border-color: var(--blue); transform: scale(1.02); }
.metric-card.featured {
  background: var(--bg); border-color: var(--blue-border);
}
.metric-value {
  font-size: 2.2rem; font-weight: 800; letter-spacing: -0.04em;
  line-height: 1; margin-bottom: 16px; color: var(--blue);
}
.metric-label {
  font-size: 16px; color: var(--text-dim); letter-spacing: 0.03em;
  text-transform: uppercase; font-weight: 600; margin-bottom: 16px;
}
.metric-sub { font-size: 16px; color: var(--text-muted); font-weight: 400; }

.conviction-features { display: flex; flex-direction: column; gap: var(--gap); margin-top: var(--gap); }
.conv-feature { display: flex; gap: 15px; }
.conv-feature-icon {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 10px;
  background: var(--blue-light); border: 1px solid var(--blue-border);
  display: flex; align-items: center; justify-content: center; font-size: 16px;
}
.conv-feature h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.conv-feature p { font-size: 16px; color: var(--text-dim); font-weight: 400; line-height: 1.6; }

/* ═══════════════════════════════════════════
   WORKFLOW
   ═══════════════════════════════════════════ */
.workflow-steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-top: var(--gap);
}
.workflow-step {
  padding: 28px 24px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); text-align: center;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.workflow-step:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
.step-number {
  width: 48px; height: 48px; margin: 0 auto var(--gap); border-radius: 50%;
  background: var(--blue-light); border: 2px solid var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem; font-weight: 700; color: var(--blue);
}
.step-time {
  font-size: 16px; color: var(--text-muted);
  letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 16px; font-weight: 500;
}
.workflow-step h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 16px; color: var(--text); }
.workflow-step p { font-size: 16px; color: var(--text-dim); line-height: 1.6; font-weight: 400; }
.workflow-total {
  text-align: center; margin-top: var(--gap);
  font-size: 16px; color: var(--text-muted); font-weight: 500;
}
.workflow-total span { color: var(--blue); font-weight: 700; }

/* ═══════════════════════════════════════════
   CTA
   ═══════════════════════════════════════════ */
.cta-section { padding: 72px 0; }
.cta-card {
  max-width: 760px; margin: 0 auto;
  text-align: center; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: 24px;
  padding: 48px 36px; box-shadow: 0 4px 24px rgba(0,0,0,0.04);
}
.cta-card h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800; letter-spacing: -0.03em; margin-bottom: var(--gap); line-height: 1.15;
  text-transform: uppercase; color: var(--text);
}
.cta-card .section-sub { margin-bottom: var(--gap); }
.features-mini {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 16px; max-width: 480px; margin: 0 auto var(--gap); text-align: left;
}
.feature-mini {
  display: flex; align-items: center; gap: 10px;
  font-size: 16px; color: var(--text-dim); font-weight: 400;
}
.feature-mini-check {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  background: var(--blue-light); display: flex; align-items: center; justify-content: center;
  color: var(--blue); font-size: 12px; font-weight: 700;
}
.cta-urgency {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 18px; background: var(--coral-light);
  border: 1px solid rgba(255,109,70,0.15); border-radius: 100px;
  font-size: 16px; color: var(--coral); font-weight: 500;
  margin-bottom: var(--gap);
}
.cta-note { margin-top: var(--gap); font-size: 16px; color: var(--text-muted); }

/* ═══════════════════════════════════════════
   LEGAL CONTENT PAGES
   ═══════════════════════════════════════════ */
.content-wrapper {
  max-width: 780px; margin: 0 auto; padding: 48px 24px 96px;
}
.content-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 24px; padding: 48px 44px;
}
.content-card h1 {
  font-size: 2.2rem; font-weight: 800; letter-spacing: -0.03em;
  margin-bottom: 8px; color: var(--text);
}
.content-card .last-updated {
  font-size: 16px; color: var(--text-muted); margin-bottom: 40px; font-weight: 400;
}
.content-card h2 {
  font-size: 1.15rem; font-weight: 700; margin-top: 36px; margin-bottom: 12px;
  color: var(--text);
}
.content-card p {
  color: var(--text-dim); font-size: 16px; line-height: 1.75;
  margin-bottom: 16px; font-weight: 400;
}
.content-card a { color: var(--blue); transition: opacity 0.2s; }
.content-card a:hover { opacity: 0.75; }
.content-card ul {
  color: var(--text-dim); font-size: 16px; line-height: 1.75;
  margin-bottom: 16px; padding-left: 24px; font-weight: 400;
}
.content-card li { margin-bottom: 6px; }
.content-card strong { color: var(--text); font-weight: 600; }

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.footer { padding: 28px 60px; border-top: 1px solid var(--border); }
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer-text { font-size: 16px; color: var(--text-muted); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 16px; color: var(--text-muted); transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 900px) {
  .nav, .nav-static { padding: 15px 20px; }
  .footer { padding: 24px 20px; }
  .conviction-inner { grid-template-columns: 1fr; gap: 36px; }
  .problem-grid { grid-template-columns: 1fr; }
  .workflow-steps { grid-template-columns: 1fr; }
  .features-mini { grid-template-columns: 1fr; }
  .cta-card { padding: 36px 20px; }
  .hero-proof { gap: 20px; }
  .metrics-grid { grid-template-columns: 1fr; }
  .content-card { padding: 32px 24px; }
}
@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .hero { padding: 80px 0 var(--gap); }
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
}
