/* Navorra landing — V2: premium, calm, airy */
:root {
  --ink: #0B1B33;
  --muted: #4A5A73;
  --faint: #8494AB;
  --border: #E6EBF3;
  --bg: #FFFFFF;
  --bg-soft: #F7F9FC;
  --blue: #1E6FEB;
  --blue-dark: #1559C4;
  --teal: #0EA5A4;
  --shadow-sm: 0 1px 2px rgba(11, 27, 51, .05);
  --shadow-md: 0 18px 50px -18px rgba(11, 27, 51, .22);
  --radius: 18px;
  --focus: 0 0 0 3px rgba(30, 111, 235, .28);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.container.narrow { max-width: 880px; }
img { max-width: 100%; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.025em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.6rem, 5.4vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); font-weight: 750; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
.accent { color: var(--blue); }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; border-radius: 0 0 8px 0; }
.skip:focus { left: 0; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }

/* ============ Buttons ============ */
.btn {
  display: inline-block; text-decoration: none; font-weight: 700; cursor: pointer;
  border-radius: 12px; border: 1px solid transparent; transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn-lg { padding: 16px 34px; font-size: 1.05rem; }
.btn-sm { padding: 10px 20px; font-size: .9rem; }
.btn-block { width: 100%; text-align: center; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 26px -10px rgba(30, 111, 235, .55); }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--border); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: #C9D4E6; transform: translateY(-1px); }

/* ============ Header ============ */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .88); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s ease, box-shadow .2s ease; }
.site-header.scrolled { border-bottom-color: var(--border); box-shadow: 0 6px 24px -12px rgba(11, 27, 51, .12); }
.header-inner { display: flex; align-items: center; gap: 36px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; }
.main-nav { display: flex; gap: 28px; margin-left: auto; }
.main-nav a { text-decoration: none; color: var(--muted); font-weight: 600; font-size: .95rem; }
.main-nav a:hover { color: var(--ink); }

/* ============ Hero ============ */
.hero { padding: 120px 0 130px; background: linear-gradient(180deg, #FBFCFE 0%, #fff 70%); }
.hero-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 22px;
  background: #EAF1FE; color: var(--blue-dark); font-weight: 700; font-size: .85rem;
  padding: 8px 16px; border-radius: 999px;
}
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 34rem; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.trust-points { list-style: none; display: flex; gap: 22px; padding: 0; margin: 0; flex-wrap: wrap; }
.trust-points li { position: relative; padding-left: 24px; color: var(--muted); font-size: .95rem; font-weight: 600; }
.trust-points li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 800; }

/* ============ Real product screenshot ============ */
.hero-visual { position: relative; }
.hero-visual::before {
  content: ""; position: absolute; inset: 10% -3% -5% 10%; z-index: -1;
  background: radial-gradient(closest-side, rgba(30, 111, 235, .14), rgba(30, 111, 235, 0));
  filter: blur(30px);
}
.shot-frame { margin: 0; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-md); overflow: hidden; }
.shot-bar { display: flex; gap: 7px; padding: 13px 16px; background: #F4F6FA; border-bottom: 1px solid var(--border); }
.shot-bar span { width: 11px; height: 11px; border-radius: 50%; background: #D7DEE9; }
.shot-bar span:first-child { background: #FF5F57; }
.shot-bar span:nth-child(2) { background: #FEBC2E; }
.shot-bar span:nth-child(3) { background: #28C840; }
.shot-frame img { display: block; width: 100%; height: auto; }
.shot-caption { margin: 14px 4px 0; color: var(--faint); font-size: .85rem; text-align: center; }

/* ============ Sections ============ */
.section { padding: 120px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.section-sub { color: var(--muted); font-size: 1.12rem; margin: 0; }
.kicker { color: var(--blue); font-weight: 800; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 14px; }

/* Workflow — one connected line */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; counter-reset: step; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 20px; left: calc(100% / 12); right: calc(100% / 12);
  height: 2px; background: #D9E3F2; border-radius: 2px;
}
.steps li { padding: 0; counter-increment: step; }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  width: 42px; height: 42px; border-radius: 50%;
  background: #fff; border: 2px solid var(--blue); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: .82rem; font-weight: 800; letter-spacing: .04em;
  margin-bottom: 18px; position: relative; z-index: 1;
}
.steps strong { display: block; font-size: 1.02rem; margin-bottom: 6px; }
.steps span { color: var(--muted); font-size: .9rem; line-height: 1.55; }

/* Differentiator cards */
.cards-4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.card {
  background: #fff; border-radius: var(--radius); padding: 40px 36px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--border);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--muted); margin-bottom: 0; }
.card-note { margin-top: 14px !important; font-size: .9rem; color: var(--faint) !important; }
.chip-row { list-style: none; display: flex; gap: 10px; flex-wrap: wrap; margin: 20px 0 0; padding: 0; }
.chip-row li { background: var(--bg-soft); border: 1px solid var(--border); border-radius: 999px; padding: 7px 16px; font-size: .85rem; font-weight: 650; color: var(--muted); }
.supplier-chips li { background: #fff; box-shadow: var(--shadow-sm); color: var(--ink); }
/* Niche Builder card — mini catalog visual */
.catalog-visual { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 22px 0 4px; }
.catalog-visual .tile { aspect-ratio: 1; border-radius: 10px; background: linear-gradient(135deg, #E8F0FC 0%, #D4E2F8 100%); border: 1px solid #D4E2F8; }
.catalog-visual .t2 { background: linear-gradient(135deg, #E3F5F1 0%, #CBEAE3 100%); border-color: #CBEAE3; }
.catalog-visual .t3 { background: linear-gradient(135deg, #EFF3FA 0%, #DCE5F2 100%); border-color: #DCE5F2; }
.catalog-visual .t4 { background: linear-gradient(135deg, #E9F2FD 0%, #CDDFF9 100%); border-color: #CDDFF9; }
/* Profit Autopilot — itemized breakdown */
.profit-lines { list-style: none; margin: 22px 0 0; padding: 0; background: var(--bg-soft); border: 1px solid var(--border); border-radius: 12px; padding: 6px 18px; }
.profit-lines li { display: flex; justify-content: space-between; align-items: baseline; padding: 9px 0; border-bottom: 1px dashed #D9E1EE; font-size: .92rem; }
.profit-lines li:last-child { border-bottom: none; }
.profit-lines span { color: var(--muted); }
.profit-lines b { color: var(--ink); font-variant-numeric: tabular-nums; }
.profit-lines li.total { border-top: 2px solid var(--blue); margin-top: 6px; padding-top: 14px; padding-bottom: 12px; align-items: center; }
.profit-lines li.total span { color: var(--ink); font-weight: 700; font-size: 1rem; }
.profit-lines li.total b { color: var(--blue); font-size: 1.75rem; font-weight: 800; letter-spacing: -.02em; }

/* Niche Builder demo — showcase */
.demo-panel {
  background: #fff; border: 1px solid var(--border); border-radius: 22px;
  box-shadow: var(--shadow-md); padding: 56px; text-align: center;
}
.prompt-bar {
  display: flex; align-items: center; gap: 14px; text-align: left;
  background: #FBFCFE; border: 1px solid var(--border); border-radius: 999px;
  padding: 14px 14px 14px 30px; margin: 0 auto 44px; max-width: 40rem;
  box-shadow: 0 12px 32px -20px rgba(11, 27, 51, .35);
}
.prompt-bar p { margin: 0; font-size: 1.05rem; line-height: 1.55; color: var(--ink); }
.prompt-send {
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%;
  background: var(--blue); color: #fff; font-size: 1.25rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.demo-results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 16px; margin: 0 0 40px; padding: 0; }
.demo-results div { margin: 0; }
.demo-results dt { font-size: 2.1rem; font-weight: 800; color: var(--blue); letter-spacing: -.02em; }
.demo-results dd { margin: 4px 0 0; color: var(--muted); font-size: .92rem; }
.demo-steps { list-style: none; display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; margin: 0 0 22px; padding: 0; }
.demo-steps li {
  background: var(--bg-soft); border: 1px solid var(--border); border-radius: 999px;
  padding: 10px 24px; font-weight: 700; font-size: .95rem; color: var(--ink);
}
.demo-steps li + li::before { content: "→"; color: var(--blue); font-weight: 800; margin-right: 12px; }
.demo-note { color: var(--faint); font-size: .88rem; margin: 0; }

/* AI control trio */
.control-trio { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; text-align: center; }
.control-trio li { padding: 12px 8px; }
.control-trio strong { display: block; font-size: 1.15rem; margin-bottom: 8px; }
.control-trio span { color: var(--muted); }

/* ============ Beta form ============ */
.beta-wrap {
  background: #fff; border: 1px solid var(--border); border-radius: 24px;
  box-shadow: var(--shadow-md); padding: 64px;
}
.beta-wrap .section-head { margin-bottom: 44px; }
.beta-form { display: flex; flex-direction: column; gap: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field label { display: block; font-weight: 650; font-size: .92rem; margin-bottom: 8px; }
.field .opt { color: var(--faint); font-weight: 500; }
.field input, .field select {
  width: 100%; padding: 14px 16px; font-size: 1rem; font-family: inherit; color: var(--ink);
  border: 1px solid #D5DDE9; border-radius: 12px; background: #fff; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%234A5A73' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--blue); box-shadow: var(--focus); }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.form-error { color: #C92A2A; background: #FFF0F0; border: 1px solid #F3C2C2; border-radius: 12px; padding: 12px 16px; margin: 0; font-size: .92rem; }
.privacy-note { text-align: center; color: var(--faint); font-size: .88rem; margin: 0; }
.beta-success { text-align: center; padding: 40px 0 8px; }
.success-title { font-size: 1.9rem; font-weight: 800; letter-spacing: -.02em; margin-bottom: 10px; }
.beta-success p:last-child { color: var(--muted); margin: 0; }

/* ============ Final CTA ============ */
.final-cta { padding: 140px 0; text-align: center; background: linear-gradient(180deg, #fff 0%, #F2F6FC 100%); }
.final-cta p { font-size: 1.25rem; color: var(--muted); margin-bottom: 36px; }

/* ============ Footer ============ */
.site-footer { border-top: 1px solid var(--border); padding: 48px 0 36px; }
.footer-inner { display: flex; align-items: center; gap: 32px; margin-bottom: 20px; }
.footer-nav { display: flex; gap: 26px; margin-left: auto; flex-wrap: wrap; }
.footer-nav a { text-decoration: none; color: var(--muted); font-size: .92rem; font-weight: 600; }
.footer-nav a:hover { color: var(--ink); }
.footer-base { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--faint); font-size: .85rem; }

/* Subtle reveal motion — classes are added by JS so no-JS keeps content visible */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============ Responsive ============ */
@media (max-width: 1200px) {
  .steps::before { display: none; }
}
@media (max-width: 960px) {
  .hero { padding: 72px 0 88px; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .section { padding: 88px 0; }
  .steps { grid-template-columns: 1fr 1fr; gap: 4px 20px; }
  .cards-4 { grid-template-columns: 1fr; }
  .control-trio { grid-template-columns: 1fr; gap: 8px; text-align: left; }
  .demo-panel { padding: 40px 28px; }
  .demo-results { grid-template-columns: 1fr 1fr; }
  .beta-wrap { padding: 40px 26px; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .main-nav { display: none; }
  .header-inner { gap: 16px; }
  .header-inner .btn { margin-left: auto; }
  .hero-actions .btn { flex: 1 1 100%; text-align: center; }
  .steps { grid-template-columns: 1fr; }
  .steps li { padding-top: 20px; }
  .demo-results { grid-template-columns: 1fr 1fr; gap: 24px 8px; }
  .demo-results dt { font-size: 1.7rem; }
  .prompt-bar { border-radius: 20px; padding: 18px 18px 18px 22px; }
  .final-cta { padding: 100px 0; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-nav { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card { transition: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
@media print {
  .reveal { opacity: 1 !important; transform: none !important; }
}
