@import url('/fonts/fonts.css');

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

:root {
  --bg:        #f5f7fa;
  --surface:   #ffffff;
  --ink:       #0a1628;
  --ink-2:     #3d5066;
  --ink-3:     #8a9ab0;
  --rule:      rgba(10, 22, 40, 0.08);
  --blue:      #0284c7;
  --blue-dk:   #0369a1;
  --blue-lt:   #e0f2fe;
  --teal:      #0d9488;
  --red:       #e11d48;
  --display:   'Cormorant Garamond', Georgia, serif;
  --body:      'Plus Jakarta Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Subtle paper texture */
body::after {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4'%3E%3Crect width='4' height='4' fill='%23f5f7fa'/%3E%3Ccircle cx='1' cy='1' r='0.6' fill='%23e2e8f0' opacity='0.5'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 0; opacity: 0.6;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 2.5rem; position: relative; z-index: 1; }

/* ══════════════════════════════════
   NAV
══════════════════════════════════ */
nav {
  position: sticky; top: 0; z-index: 200;
  background: rgba(245, 247, 250, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 2.5rem; max-width: 1140px; margin: 0 auto;
}
.logo {
  font-family: var(--display);
  font-size: 1.7rem; font-weight: 700;
  letter-spacing: -0.5px; text-decoration: none; line-height: 1;
}
.logo-x { color: var(--blue); font-style: italic; }
.logo-med { color: var(--ink); }
.logo sup {
  font-size: 0.38em; font-family: var(--body);
  font-weight: 600; color: var(--teal);
  letter-spacing: 0.06em; vertical-align: super; margin-left: 1px;
}
.nav-cta {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--ink); color: #fff !important;
  padding: 0.55rem 1.25rem; border-radius: 6px;
  font-family: var(--body); font-weight: 500; font-size: 0.88rem;
  transition: all 0.18s; text-decoration: none !important;
}
.nav-cta:hover { background: var(--blue); }
.nav-cta svg { transition: transform 0.18s; }
.nav-cta:hover svg { transform: translateX(2px); }

/* ══════════════════════════════════
   HERO
══════════════════════════════════ */
.hero {
  padding: 6rem 2.5rem 5rem;
  position: relative; z-index: 1;
  border-bottom: 1px solid var(--rule);
}
.hero-inner {
  max-width: 1140px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto;
  align-items: end; gap: 4rem;
}

.hero-left { max-width: 740px; }

.hero-kicker {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--body); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 2rem;
  animation: appear 0.5s ease both;
}
.hero-kicker::before {
  content: ''; display: block;
  width: 20px; height: 1.5px; background: var(--blue);
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  font-weight: 600; line-height: 0.95;
  letter-spacing: -2px; color: var(--ink);
  margin-bottom: 2rem;
  animation: appear 0.5s ease 0.1s both;
}
.hero h1 em {
  font-style: italic; color: var(--blue);
}
.hero h1 .cross {
  display: inline-block; color: var(--red);
  font-style: normal; margin-left: 0.1em;
  animation: spin-in 0.6s cubic-bezier(0.34,1.56,0.64,1) 0.5s both;
}
@keyframes spin-in {
  from { opacity:0; transform: rotate(-90deg) scale(0.5); }
  to   { opacity:1; transform: rotate(0) scale(1); }
}

.hero-sub {
  font-size: 1.05rem; color: var(--ink-2);
  max-width: 520px; line-height: 1.75; margin-bottom: 2.5rem;
  animation: appear 0.5s ease 0.2s both;
}

.hero-actions {
  display: flex; gap: 1rem; align-items: center; flex-wrap: wrap;
  animation: appear 0.5s ease 0.3s both;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--blue); color: #fff;
  padding: 0.85rem 1.75rem; border-radius: 6px;
  font-family: var(--body); font-weight: 600; font-size: 0.92rem;
  transition: all 0.18s; text-decoration: none;
}
.btn-primary:hover {
  background: var(--blue-dk); transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(2,132,199,0.3); text-decoration: none;
}
.btn-ghost {
  display: inline-flex; align-items: center; gap: 0.45rem;
  color: var(--ink-2); font-family: var(--body);
  font-weight: 500; font-size: 0.88rem;
  padding: 0.5rem 0; border-bottom: 1px solid var(--rule);
  text-decoration: none; transition: all 0.18s;
}
.btn-ghost:hover { color: var(--ink); border-color: var(--ink); text-decoration: none; }

/* Stat column */
.hero-right {
  display: flex; flex-direction: column; gap: 0;
  border: 1px solid var(--rule); border-radius: 12px;
  overflow: hidden; background: var(--surface);
  box-shadow: 0 4px 24px rgba(10,22,40,0.06);
  min-width: 200px;
  animation: appear 0.5s ease 0.35s both;
}
.stat-cell {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--rule);
  text-align: right;
}
.stat-cell:last-child { border-bottom: none; }
.stat-n {
  font-family: var(--display); font-size: 3rem; font-weight: 700;
  line-height: 1; letter-spacing: -2px; color: var(--ink); margin-bottom: 0.2rem;
}
.stat-n span { color: var(--blue); }
.stat-l { font-size: 0.72rem; font-weight: 600; color: var(--ink-3); letter-spacing: 0.08em; text-transform: uppercase; }

/* ══════════════════════════════════
   FEATURES (editorial list)
══════════════════════════════════ */
.features {
  position: relative; z-index: 1;
  padding: 5rem 2.5rem;
}
.features-top {
  max-width: 1140px; margin: 0 auto;
  display: flex; align-items: baseline;
  justify-content: space-between; gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--rule);
  flex-wrap: wrap;
}
.features-top h2 {
  font-family: var(--display); font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600; letter-spacing: -1px; line-height: 1.1;
}
.features-top p { color: var(--ink-2); max-width: 340px; font-size: 0.92rem; line-height: 1.75; }

.feat-list { max-width: 1140px; margin: 0 auto; }
.feat-row {
  display: grid; grid-template-columns: 80px 1fr 1fr;
  gap: 2rem; align-items: center;
  padding: 2.25rem 0; border-bottom: 1px solid var(--rule);
  transition: background 0.15s;
  cursor: default;
}
.feat-row:hover { background: transparent; }
.feat-row:hover .feat-title { color: var(--blue); }

.feat-ord {
  font-family: var(--display); font-size: 3rem; font-weight: 700;
  color: var(--rule); letter-spacing: -2px; line-height: 1;
  transition: color 0.2s;
}
.feat-row:hover .feat-ord { color: rgba(2,132,199,0.2); }

.feat-title {
  font-family: var(--display); font-size: 1.6rem;
  font-weight: 600; letter-spacing: -0.5px; color: var(--ink);
  transition: color 0.2s;
}
.feat-title .tag {
  display: inline-block; vertical-align: middle; margin-left: 0.5rem;
  font-family: var(--body); font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--blue-lt); color: var(--blue); padding: 0.2rem 0.5rem;
  border-radius: 4px;
}
.feat-title .tag-teal { background: #ccfbf1; color: var(--teal); }

.feat-desc { color: var(--ink-2); font-size: 0.92rem; line-height: 1.75; }

/* ══════════════════════════════════
   PILLARS (value props)
══════════════════════════════════ */
.pillars {
  position: relative; z-index: 1;
  background: var(--surface);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 3.5rem 2.5rem;
}
.pillars-inner {
  max-width: 1140px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3,1fr); gap: 2.5rem;
}
.pillar { text-align: center; }
.pillar-icon { font-size: 1.75rem; margin-bottom: 0.75rem; }
.pillar h3 {
  font-family: var(--display); font-size: 1.2rem; font-weight: 600;
  letter-spacing: -0.3px; color: var(--ink); margin-bottom: 0.5rem;
}
.pillar p { color: var(--ink-2); font-size: 0.88rem; line-height: 1.75; }

/* Section kicker shared */
.section-kicker {
  font-family: var(--body); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 0.75rem;
}

/* ══════════════════════════════════
   PLANS
══════════════════════════════════ */
.plans {
  position: relative; z-index: 1;
  background: var(--ink); color: #fff;
  padding: 5rem 2.5rem;
}
.plans-inner { max-width: 1140px; margin: 0 auto; }
.plans-header { margin-bottom: 3.5rem; }
.plans-header .section-kicker { color: rgba(56,189,248,0.8); }
.plans-header h2 {
  font-family: var(--display); font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600; letter-spacing: -1px; color: #fff; line-height: 1.1;
}
.plans-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem;
  margin-bottom: 2rem;
}
.plan-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px; padding: 2rem;
  transition: border-color 0.2s;
}
.plan-card:hover { border-color: rgba(56,189,248,0.35); }
.plan-featured {
  background: rgba(2,132,199,0.12);
  border-color: rgba(2,132,199,0.4);
}
.plan-top {
  display: flex; align-items: flex-start;
  justify-content: space-between; gap: 0.75rem;
  margin-bottom: 1.5rem; flex-wrap: wrap;
}
.plan-top h3 {
  font-family: var(--display); font-size: 1.5rem;
  font-weight: 600; letter-spacing: -0.3px; color: #fff;
}
.plan-badge {
  font-family: var(--body); font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.25rem 0.6rem; border-radius: 999px; white-space: nowrap;
}
.badge-active { background: rgba(16,185,129,0.2); color: #34d399; }
.badge-soon   { background: rgba(234,179,8,0.2);  color: #fbbf24; }
.badge-dev    { background: rgba(167,139,250,0.2); color: #c4b5fd; }

.plan-features { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.plan-features li {
  font-size: 0.88rem; line-height: 1.4; padding-left: 1.4rem; position: relative;
}
.plan-features li::before {
  content: ''; position: absolute; left: 0; top: 0.45em;
  width: 8px; height: 8px; border-radius: 50%;
}
.feat-available { color: rgba(255,255,255,0.8); }
.feat-available::before { background: rgba(52,211,153,0.7); }
.feat-soon { color: rgba(255,255,255,0.5); }
.feat-soon::before { background: rgba(251,191,36,0.5); }
.feat-dev { color: rgba(255,255,255,0.4); }
.feat-dev::before { background: rgba(196,181,253,0.5); }

.plans-legend {
  display: flex; gap: 2rem; flex-wrap: wrap;
  padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.08);
}
.plans-legend span { font-size: 0.8rem; color: rgba(255,255,255,0.4); display: flex; align-items: center; gap: 0.5rem; }
.leg-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.dot-active { background: rgba(52,211,153,0.7); }
.dot-soon   { background: rgba(251,191,36,0.5); }
.dot-dev    { background: rgba(196,181,253,0.5); }

/* ══════════════════════════════════
   ROADMAP
══════════════════════════════════ */
.roadmap {
  position: relative; z-index: 1;
  padding: 5rem 2.5rem;
  border-bottom: 1px solid var(--rule);
}
.roadmap-inner { max-width: 1140px; margin: 0 auto; }
.roadmap-header { margin-bottom: 3.5rem; }
.roadmap-header h2 {
  font-family: var(--display); font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600; letter-spacing: -1px; color: var(--ink); line-height: 1.1;
}
.roadmap-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 1.25rem;
}
.road-card {
  background: var(--surface); border: 1px solid var(--rule);
  border-radius: 14px; padding: 1.5rem;
  display: flex; flex-direction: column; gap: 0.6rem;
  transition: border-color 0.2s;
}
.road-card:hover { border-color: rgba(2,132,199,0.3); }
.road-icon { font-size: 1.5rem; }
.road-card h4 {
  font-family: var(--display); font-size: 1.05rem; font-weight: 600;
  letter-spacing: -0.2px; color: var(--ink);
}
.road-card p { color: var(--ink-2); font-size: 0.83rem; line-height: 1.65; flex: 1; }
.road-badge {
  font-family: var(--body); font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.2rem 0.5rem; border-radius: 999px; align-self: flex-start;
}
/* reuse badge colors on light bg */
.road-badge.badge-soon { background: rgba(234,179,8,0.12); color: #b45309; }
.road-badge.badge-dev  { background: rgba(124,58,237,0.1);  color: #7c3aed; }

/* ══════════════════════════════════
   HOW IT WORKS
══════════════════════════════════ */
.how {
  position: relative; z-index: 1;
  background: var(--ink); color: #fff;
  padding: 5rem 2.5rem;
}
.how-inner { max-width: 1140px; margin: 0 auto; }

.how-header {
  display: flex; align-items: baseline;
  justify-content: space-between; gap: 2rem;
  margin-bottom: 4rem; flex-wrap: wrap;
}
.how-header h2 {
  font-family: var(--display); font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600; letter-spacing: -1px; color: #fff;
}
.how-header p { color: rgba(255,255,255,0.45); max-width: 320px; font-size: 0.9rem; line-height: 1.75; }

.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: rgba(255,255,255,0.08); }
.step {
  background: var(--ink); padding: 2.5rem;
  transition: background 0.2s;
}
.step:hover { background: #0e1e36; }
.step-n {
  font-family: var(--display); font-size: 4rem; font-weight: 700;
  color: rgba(255,255,255,0.08); letter-spacing: -3px; line-height: 1;
  margin-bottom: 1.5rem;
}
.step h3 {
  font-family: var(--display); font-size: 1.4rem; font-weight: 600;
  letter-spacing: -0.3px; color: #fff; margin-bottom: 0.75rem;
}
.step p { color: rgba(255,255,255,0.5); font-size: 0.9rem; line-height: 1.75; }

/* ══════════════════════════════════
   CTA
══════════════════════════════════ */
.cta-section {
  position: relative; z-index: 1;
  padding: 6rem 2.5rem;
  border-top: 1px solid var(--rule);
}
.cta-inner { max-width: 1140px; margin: 0 auto; }
.cta-inner h2 {
  font-family: var(--display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 600; letter-spacing: -2.5px; line-height: 0.95;
  color: var(--ink); margin-bottom: 2rem;
}
.cta-inner h2 em { font-style: italic; color: var(--blue); }

.cta-bottom {
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 2rem;
  padding-top: 2rem; border-top: 1px solid var(--rule);
}
.cta-bottom p { color: var(--ink-2); font-size: 0.92rem; }
.cta-bottom p a { color: var(--blue); font-weight: 500; }
.cta-btns { display: flex; gap: 0.85rem; flex-wrap: wrap; }

/* ══════════════════════════════════
   FOOTER
══════════════════════════════════ */
footer {
  background: var(--surface); border-top: 1px solid var(--rule);
  padding: 2rem 2.5rem; position: relative; z-index: 1;
}
.footer-inner {
  max-width: 1140px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.25rem;
}
.footer-links { display: flex; gap: 2rem; }
.footer-links a { color: var(--ink-3); font-size: 0.84rem; font-weight: 500; transition: color 0.18s; }
.footer-links a:hover { color: var(--ink); text-decoration: none; }
.footer-copy { color: var(--ink-3); font-size: 0.8rem; }

/* ══════════════════════════════════
   LEGAL
══════════════════════════════════ */
.legal { max-width: 740px; margin: 0 auto; padding: 5rem 2.5rem; position: relative; z-index: 1; }
.legal h1 { font-family: var(--display); font-size: 2.8rem; font-weight: 700; letter-spacing: -1px; margin-bottom: 0.5rem; }
.legal .updated { color: var(--ink-3); font-size: 0.85rem; margin-bottom: 3rem; padding-bottom: 2rem; border-bottom: 1px solid var(--rule); }
.legal h2 { font-family: var(--display); font-size: 1.3rem; font-weight: 600; margin: 2.5rem 0 0.75rem; color: var(--blue); letter-spacing: -0.2px; }
.legal p, .legal li { color: var(--ink-2); margin-bottom: 0.75rem; line-height: 1.8; font-size: 0.93rem; }
.legal ul { padding-left: 1.5rem; }
.legal a { color: var(--blue); font-weight: 500; }

/* ══════════════════════════════════
   ANIMATIONS
══════════════════════════════════ */
@keyframes appear {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
.d1{transition-delay:.1s}.d2{transition-delay:.2s}.d3{transition-delay:.3s}

/* ══════════════════════════════════
   RESPONSIVE
══════════════════════════════════ */
@media(max-width:900px){
  .hero-inner{grid-template-columns:1fr;gap:3rem}
  .hero-right{flex-direction:row;min-width:unset}
  .stat-cell{flex:1;border-bottom:none;border-right:1px solid var(--rule);text-align:center}
  .stat-cell:last-child{border-right:none}
  .feat-row{grid-template-columns:48px 1fr;gap:1.5rem}
  .feat-desc{grid-column:2}
  .steps{grid-template-columns:1fr}
  .steps{background:none;gap:0}
  .step{border-bottom:1px solid rgba(255,255,255,0.08)}
  .how-header{flex-direction:column}
  .cta-inner h2{font-size:clamp(2.5rem,8vw,4rem)}
  .cta-bottom{flex-direction:column;align-items:flex-start}
  .features-top{flex-direction:column}
  .pillars-inner{grid-template-columns:1fr}
  .plans-grid{grid-template-columns:1fr}
  .roadmap-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:600px){
  .wrap,.hero,.features,.how,.cta-section,.footer,.legal,.pillars,.plans,.roadmap{padding-left:1.5rem;padding-right:1.5rem}
  .nav-inner{padding:1rem 1.5rem}
  .hero{padding-top:4rem;padding-bottom:3rem}
  .hero h1{font-size:clamp(3rem,12vw,5rem);letter-spacing:-1.5px}
  .hero-actions{flex-direction:column;align-items:flex-start}
  .hero-right{flex-direction:column}
  .stat-cell{border-right:none;border-bottom:1px solid var(--rule);text-align:left}
  .roadmap-grid{grid-template-columns:1fr}
  .plans-legend{flex-direction:column;gap:0.75rem}
}
