:root {
  --bg:           #FFFFFF;
  --bg2:          #FAFAFA;
  --bg3:          #F5F3F0;
  --ink:          #12102A;

  --border:       #E8E8E8;
  --border-light: #F2F2F2;

  --text:         #1B143E;
  --text2:        #3a3456;
  --text3:        #6b6588;
  --text4:        #9b95b5;

  --orange:       #FF5522;
  --orange-dim:   #FFF0EB;
  --orange-deep:  #E54517;
  --orange-light: #FF8D6B;

  --green:        #059669;  --green-dim:  #ecfdf5;
  --yellow:       #d97706;  --yellow-dim: #fef3c7;
  --red:          #dc2626;  --red-dim:    #fef2f2;

  --r-sm: 8px;
  --r:    12px;
  --r-lg: 20px;
  --r-xl: 28px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Barlow', sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

code, pre, .mono {
  font-family: 'JetBrains Mono', monospace;
}

a { color: inherit; }

section {
  padding: 6rem 2rem;
  position: relative;
}
.bg-soft { background: var(--bg3); }

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

/* reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== NAV ===== */
nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid transparent;
  padding: 0 2rem;
  transition: border-color .2s, background .2s;
}
nav.scrolled {
  border-bottom-color: var(--border);
  background: rgba(255,255,255,0.94);
}
.nav-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
  gap: 1.5rem;
}
.logo {
  display: inline-flex; align-items: baseline; gap: 0.55rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
  letter-spacing: -0.015em;
}
.logo-mark {
  color: var(--orange);
  display: inline-flex; align-self: center;
}
.logo-text { font-size: 1.02rem; }
.logo-suffix {
  font-size: 0.72rem; font-weight: 500;
  color: var(--text3);
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex; gap: 0.2rem;
  list-style: none;
}
.nav-links a {
  color: var(--text3); font-size: 0.88rem; font-weight: 500;
  padding: 7px 14px; border-radius: 7px;
  text-decoration: none;
  transition: all .15s;
}
.nav-links a:hover { color: var(--text); background: var(--bg2); }

.nav-right {
  display: flex; align-items: center; gap: 0.75rem;
}

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 2px;
  background: white;
}
.lang-switch button {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 5px 9px;
  border: none;
  background: transparent;
  color: var(--text3);
  border-radius: 5px;
  cursor: pointer;
  transition: all .15s;
}
.lang-switch button.active {
  background: var(--ink);
  color: white;
}
.lang-switch button:hover:not(.active) {
  color: var(--text);
}

.nav-cta {
  background: var(--orange); color: white;
  padding: 8px 18px; border-radius: 8px;
  font-weight: 600; font-size: 0.85rem;
  text-decoration: none;
  transition: all .2s;
  white-space: nowrap;
}
.nav-cta:hover {
  background: var(--orange-deep);
  transform: translateY(-1px);
}

/* ===== BUTTONS ===== */
.btn-primary {
  background: var(--orange); color: white;
  padding: 13px 28px; border-radius: 8px;
  font-weight: 600; font-size: 0.95rem;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 7px;
  transition: all .2s;
  border: none; cursor: pointer;
}
.btn-primary:hover {
  background: var(--orange-deep);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255,85,34,0.28);
}
.btn-secondary {
  background: white; color: var(--text);
  padding: 13px 28px; border-radius: 8px;
  font-weight: 600; font-size: 0.95rem;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 7px;
  border: 1.5px solid var(--border);
  transition: all .2s;
  cursor: pointer;
}
.btn-secondary:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
}

/* ===== HERO ===== */
.hero {
  padding: 9rem 2rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 45% at 50% 0%, var(--orange-dim), transparent 70%),
    linear-gradient(180deg, rgba(27,20,62,0.02), transparent 40%);
  pointer-events: none;
  z-index: -1;
}

.hero-inner > * + * { margin-top: 1.6rem; }

.status-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: white; border: 1px solid var(--border);
  padding: 7px 18px; border-radius: 100px;
  font-size: 0.8rem; color: var(--text2);
  box-shadow: 0 1px 4px rgba(27,20,62,0.05);
}
.status-badge .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--orange);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0   rgba(255,85,34,0.5); }
  70%  { box-shadow: 0 0 0 8px rgba(255,85,34,0); }
  100% { box-shadow: 0 0 0 0   rgba(255,85,34,0); }
}

.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.04;
  text-wrap: balance;
  max-width: 18ch;
  margin-left: auto; margin-right: auto;
}
h1 em {
  font-style: normal;
  color: var(--orange);
  position: relative;
  white-space: nowrap;
}
h1 em::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0.06em; height: 0.22em;
  background: var(--orange-dim);
  z-index: -1;
  border-radius: 2px;
}
.hero-lead {
  font-size: 1.18rem;
  color: var(--text2);
  max-width: 640px;
  margin-left: auto; margin-right: auto;
  text-wrap: pretty;
}
.hero-actions {
  display: flex; justify-content: center; gap: 0.75rem;
  flex-wrap: wrap;
}

/* ===== CONSOLE ===== */
.demo-console {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: white;
  text-align: left;
  max-width: 880px;
  margin: 3.5rem auto 0 !important;
  box-shadow:
    0 40px 90px rgba(27,20,62,0.18),
    0 4px 20px rgba(27,20,62,0.06),
    0 0 0 1px var(--border);
}
.demo-bar {
  background: var(--bg2);
  padding: 0 1rem; height: 40px;
  display: flex; align-items: center; gap: 0.75rem;
  border-bottom: 1px solid var(--border);
}
.demo-dots { display: flex; gap: 6px; }
.demo-dot { width: 11px; height: 11px; border-radius: 50%; }
.demo-dot.r { background: #ff5f57; }
.demo-dot.y { background: #febc2e; }
.demo-dot.g { background: #28c840; }
.demo-title {
  flex: 1; text-align: center;
  font-size: 0.72rem; font-weight: 600; color: var(--text3);
  font-family: 'JetBrains Mono', monospace;
}
.demo-live {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.66rem; font-weight: 700; color: var(--green);
  background: var(--green-dim); border: 1px solid #a7f3d0;
  padding: 2px 8px; border-radius: 4px;
  display: inline-flex; align-items: center; gap: 4px;
  letter-spacing: 0.04em;
}
.demo-live::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: var(--green);
}
/* ===== PRODUCT SHOT ===== */
.product-shot {
  display: block;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: white;
  text-align: left;
  max-width: 1040px;
  margin: 3.5rem auto 0 !important;
  box-shadow:
    0 40px 90px rgba(27,20,62,0.18),
    0 4px 20px rgba(27,20,62,0.06),
    0 0 0 1px var(--border);
  text-decoration: none;
  color: inherit;
  transition: transform .3s ease, box-shadow .3s ease;
}
.product-shot:hover {
  transform: translateY(-4px);
  box-shadow:
    0 48px 100px rgba(27,20,62,0.22),
    0 6px 24px rgba(27,20,62,0.08),
    0 0 0 1px var(--border);
}
.product-bar {
  background: var(--bg2);
  padding: 0 1rem; height: 40px;
  display: flex; align-items: center; gap: 0.75rem;
  border-bottom: 1px solid var(--border);
}
.product-url {
  flex: 1; text-align: center;
  font-size: 0.74rem; font-weight: 600; color: var(--text3);
  background: white;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 14px;
  max-width: 360px;
  margin: 0 auto;
}
.product-shot img {
  display: block;
  width: 100%;
  height: auto;
}

/* ===== STATS ===== */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(27,20,62,0.05);
  max-width: 900px;
  margin: 0 auto;
}
.stat {
  background: white;
  padding: 1.9rem 1.5rem;
  text-align: center;
}
.stat-value {
  font-size: 2.1rem; font-weight: 800; color: var(--orange);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.stat-value .suffix { font-size: 0.7em; }
.stat-label {
  font-size: 0.82rem;
  color: var(--text2);
  margin-top: 0.4rem;
  font-weight: 500;
  text-wrap: balance;
}

/* ===== SECTION HEADER ===== */
.section-label {
  font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--orange);
  margin-bottom: 0.85rem;
  font-family: 'JetBrains Mono', monospace;
}
.section-title {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  font-weight: 800; line-height: 1.1;
  margin-bottom: 0.95rem;
  color: var(--text);
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.section-title em {
  font-style: normal;
  color: var(--orange);
  position: relative;
  white-space: nowrap;
}
.section-title em::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0.06em; height: 0.22em;
  background: var(--orange-dim);
  z-index: -1;
  border-radius: 2px;
}
.section-desc {
  font-size: 1.08rem;
  color: var(--text2);
  max-width: 640px;
  line-height: 1.65;
  text-wrap: pretty;
}
.section-header {
  margin-bottom: 3.5rem;
}
.section-header.center {
  text-align: center;
}
.section-header.center .section-desc {
  margin: 0 auto;
}

/* ===== CARDS ===== */
.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  transition: all .25s;
  box-shadow: 0 4px 16px rgba(27,20,62,0.05);
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(27,20,62,0.08);
}
.card-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--orange-dim);
  color: var(--orange);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.card-icon svg { width: 22px; height: 22px; }
.card h3 {
  font-size: 1.12rem; font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 0.4rem;
  text-wrap: balance;
}
.card p {
  font-size: 0.94rem;
  color: var(--text2);
  line-height: 1.55;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

/* ===== FEATURES ===== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.feature-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem 1.75rem 1.75rem;
  transition: all .25s;
  box-shadow: 0 4px 16px rgba(27,20,62,0.05);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--orange-light));
  opacity: 0;
  transition: opacity .25s;
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(27,20,62,0.09);
}
.feature-card:hover::before { opacity: 1; }
.feature-num {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--orange);
  background: var(--orange-dim);
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.08em;
  margin-bottom: 0.85rem;
}
.feature-card h3 {
  font-size: 1.18rem; font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
  text-wrap: balance;
}
.feature-card p {
  font-size: 0.94rem;
  color: var(--text2);
  line-height: 1.55;
}

/* ===== DIFF TABLE ===== */
.diff-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: white;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 4px 16px rgba(27,20,62,0.05);
}
.diff-table th,
.diff-table td {
  padding: 1rem 1.2rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}
.diff-table tr:last-child td { border-bottom: none; }
.diff-table th {
  background: var(--bg2);
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text3);
  font-family: 'JetBrains Mono', monospace;
}
.diff-table td:first-child {
  font-weight: 700;
  color: var(--text);
  width: 18%;
}
.brand-col { background: var(--orange-dim); }
.diff-highlight {
  color: var(--orange) !important;
  font-weight: 600 !important;
}
.diff-muted { color: var(--text3) !important; }

/* ===== TECH ===== */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  gap: 1px;
  box-shadow: 0 4px 16px rgba(27,20,62,0.05);
}
.tech-item {
  background: white;
  padding: 2.25rem 1.75rem;
}
.tech-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--orange);
  margin-bottom: 1rem;
}
.tech-title {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 0.55rem;
  color: var(--text);
}
.tech-desc {
  font-size: 0.94rem;
  color: var(--text2);
  line-height: 1.55;
}

/* ===== REPORT CARD ===== */
.report-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.75rem;
  align-items: center;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem 2.25rem;
  max-width: 880px;
  margin: 0 auto;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 16px rgba(27,20,62,0.05);
  transition: all .25s;
  position: relative;
  overflow: hidden;
}
.report-card::before {
  content: '';
  position: absolute; inset: 0 auto 0 0; width: 4px;
  background: var(--orange);
  opacity: 0;
  transition: opacity .25s;
}
.report-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(27,20,62,0.10);
  border-color: var(--orange);
}
.report-card:hover::before { opacity: 1; }
.report-thumb {
  width: 72px; height: 88px;
  border-radius: 10px;
  background: var(--orange-dim);
  color: var(--orange);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.report-thumb svg { width: 34px; height: 34px; }
.report-eyebrow {
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.45rem;
}
.report-title {
  font-size: 1.22rem; font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 0.4rem;
  color: var(--text);
}
.report-desc {
  font-size: 0.95rem; color: var(--text2);
  line-height: 1.55;
  margin-bottom: 0.85rem;
  text-wrap: pretty;
}
.report-meta {
  display: flex; flex-wrap: wrap; gap: 0.4rem;
}
.report-chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.76rem; font-weight: 500;
  color: var(--text2);
  background: var(--bg3);
  padding: 4px 10px;
  border-radius: 100px;
}
.report-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--orange);
}
.report-cta {
  flex-shrink: 0;
  font-size: 0.85rem; font-weight: 700;
  color: var(--orange);
  background: var(--orange-dim);
  padding: 10px 18px;
  border-radius: 8px;
  white-space: nowrap;
  transition: all .2s;
}
.report-card:hover .report-cta {
  background: var(--orange);
  color: white;
}

/* ===== CONTACT ===== */
.contact-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 720px;
  margin: 0 auto;
}
.contact-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2.25rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.75rem;
  align-items: start;
  box-shadow: 0 4px 16px rgba(27,20,62,0.05);
}
.contact-avatar {
  width: 84px; height: 84px;
  border-radius: 50%;
  background: var(--orange-dim);
  color: var(--orange);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-avatar svg { width: 40px; height: 40px; }
.contact-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.contact-name {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}
.contact-bio {
  font-size: 0.96rem;
  color: var(--text2);
  line-height: 1.6;
  margin-bottom: 1.1rem;
  text-wrap: pretty;
}
.contact-links {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
}
.contact-chip {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 7px 14px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  background: white;
  transition: all .15s;
}
.contact-chip svg { width: 14px; height: 14px; color: var(--orange); }
.contact-chip:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-1px);
}

/* ===== CTA ===== */
.cta-section {
  text-align: center;
  background: linear-gradient(135deg, #FFEEE9 0%, white 100%);
  border-radius: var(--r-lg);
  padding: 5rem 2rem;
  border: 1px solid var(--border);
  margin: 2rem auto;
  max-width: 1280px;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(27,20,62,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27,20,62,0.04) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, black 0%, transparent 70%);
}
.cta-section > * { position: relative; }
.cta-title {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.1;
  margin: 0.6rem 0 0.8rem;
  text-wrap: balance;
}
.cta-title em {
  font-style: normal;
  color: var(--orange);
  position: relative;
  white-space: nowrap;
}
.cta-title em::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0.06em; height: 0.22em;
  background: white;
  z-index: -1;
  border-radius: 2px;
}
.cta-desc {
  color: var(--text2);
  max-width: 520px;
  margin: 0 auto 1.75rem;
  font-size: 1.02rem;
  text-wrap: pretty;
}

/* ===== FOOTER ===== */
footer {
  background: white;
  border-top: 3px solid var(--orange);
  padding: 2.5rem 2rem;
}
.footer-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-copy {
  font-size: 0.82rem;
  color: var(--text3);
}
.footer-links {
  display: flex; gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 0.82rem;
  color: var(--text2);
  text-decoration: none;
  transition: color .15s;
}
.footer-links a:hover { color: var(--orange); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .problem-grid,
  .feature-grid,
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 960px) {
  .nav-links { display: none; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  section { padding: 4rem 1rem; }
  .hero { padding-top: 7rem; }
  nav { padding: 0 1rem; }
  .logo-suffix { display: none; }

  .problem-grid,
  .feature-grid,
  .tech-grid,
  .stats-bar {
    grid-template-columns: 1fr;
  }

  .diff-table th,
  .diff-table td {
    padding: 0.8rem 0.9rem;
    font-size: 0.85rem;
  }

  .contact-cards {
    grid-template-columns: 1fr;
  }
  .contact-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 1.75rem;
  }
  .contact-avatar { margin: 0 auto; }
  .contact-links { justify-content: center; }

  .report-card {
    grid-template-columns: 1fr;
    padding: 1.5rem;
    text-align: center;
  }
  .report-thumb { margin: 0 auto; }
  .report-meta { justify-content: center; }
  .report-cta { align-self: center; }
  .product-url { font-size: 0.68rem; padding: 3px 10px; }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  .footer-links { justify-content: center; }
}
