/* ============================================================
   AMANIX BUILD — LANDING STYLES
   Concept: "Engineered Blueprint" — precise, technical, warm
   ============================================================ */

/* --- TOKENS --- */
:root {
  --bg: #F4F1EA;
  --bg-alt: #ECE7DC;
  --surface: #FFFFFF;
  --border: #E3DCCD;
  --ink: #14161A;
  --muted: #595F69;
  --primary: #1C2B3A;
  --primary-d: #12202C;
  --accent: #C05E3B;
  --accent-d: #A54E2F;
  --accent-soft: #EAD9CE;
  --status-free: #2F8F5B;
  --status-booked: #E0A52E;
  --status-deal: #C05E3B;
  --status-sold: #98A0A8;
  --grid-line: rgba(28,43,58,.06);
  --grid-line-dark: rgba(255,255,255,.06);
  --glow: radial-gradient(60% 60% at 50% 30%, rgba(192,94,59,.10), transparent 70%);
  --font-display: "Fraunces", Georgia, serif;
  --font-sans: "Geist", "General Sans", system-ui, sans-serif;
  --font-mono: "Geist Mono", "JetBrains Mono", ui-monospace, monospace;
  --r-input: 4px;
  --r-card: 10px;
  --r-media: 10px;
  --shadow: 0 1px 2px rgba(20,22,26,.05), 0 24px 60px -24px rgba(20,22,26,.28);
  --shadow-strong: 0 2px 4px rgba(20,22,26,.08), 0 32px 80px -20px rgba(20,22,26,.38);
  --maxw: 1280px;
  --gutter: clamp(20px, 5vw, 80px);
  --section-gap: clamp(90px, 12vh, 160px);
}

/* --- RESET --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; scrollbar-width: thin; }
html { font-size: 17px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--primary-d);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

/* --- BLUEPRINT GRID BACKGROUND --- */
.grid-bg {
  position: relative;
}
.grid-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 36px 36px;
  z-index: 0;
}

.grid-bg-dark {
  position: relative;
}
.grid-bg-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--grid-line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line-dark) 1px, transparent 1px);
  background-size: 36px 36px;
  z-index: 0;
}

/* SVG noise grain overlay */
.grain::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  opacity: .03;
  z-index: 0;
}

/* --- CONTAINER --- */
.container {
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
  z-index: 1;
}

/* --- TYPOGRAPHY --- */
.display {
  font-family: var(--font-display);
  font-weight: 500;
  font-optical-sizing: auto;
  line-height: 1.02;
  letter-spacing: -0.02em;
}

h1, .h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7.5vw, 6.5rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.02em;
}

h2, .h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.6vw, 3.2rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.015em;
}

h3, .h3 {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 500;
  line-height: 1.2;
}

.mono-label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.mono-label--accent {
  color: var(--accent);
}

.mono-label--light {
  color: rgba(255,255,255,.45);
}

.accent-word { color: var(--accent); }

body { font-size: 17px; line-height: 1.65; }

.back {
  background: var(--bg);
}

.text-muted { color: var(--muted); }
.text-light { color: rgba(255,255,255,.75); }

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .02em;
  padding: 11px 22px;
  border-radius: var(--r-input);
  transition: all .2s ease;
  position: relative;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border: 1.5px solid var(--accent);
}
.btn-primary:hover {
  background: var(--accent-d);
  border-color: var(--accent-d);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(192,94,59,.28);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--border);
  position: relative;
}
.btn-outline::before,
.btn-outline::after {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  border-color: var(--accent);
  border-style: solid;
  opacity: 0;
  transition: opacity .2s;
}
.btn-outline::before { top: -1px; left: -1px; border-width: 1.5px 0 0 1.5px; }
.btn-outline::after  { bottom: -1px; right: -1px; border-width: 0 1.5px 1.5px 0; }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-outline:hover::before,
.btn-outline:hover::after { opacity: 1; }

.btn-outline-light {
  background: transparent;
  color: rgba(255,255,255,.85);
  border: 1.5px solid rgba(255,255,255,.2);
}
.btn-outline-light:hover {
  border-color: rgba(255,255,255,.5);
  color: #fff;
}

/* CTA button with corner marks */
.btn-cta {
  background: var(--accent);
  color: #fff;
  border: none;
  font-size: 15px;
  padding: 13px 28px;
  position: relative;
}
.btn-cta::before,
.btn-cta::after,
.btn-cta span.corner-tl,
.btn-cta span.corner-br {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  border-color: rgba(255,255,255,.6);
  border-style: solid;
}
.btn-cta::before { top: 2px; left: 2px; border-width: 1.5px 0 0 1.5px; }
.btn-cta::after  { bottom: 2px; right: 2px; border-width: 0 1.5px 1.5px 0; }
.btn-cta:hover {
  background: var(--accent-d);
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(192,94,59,.32);
}

/* --- REGISTRATION MARKS (corner ticks) --- */
.reg-marks {
  position: relative;
}
.reg-marks::before,
.reg-marks::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  border-color: var(--accent);
  border-style: solid;
  opacity: .5;
}
.reg-marks::before { top: -1px; left: -1px; border-width: 1.5px 0 0 1.5px; }
.reg-marks::after  { bottom: -1px; right: -1px; border-width: 0 1.5px 1.5px 0; }

.reg-marks-light::before,
.reg-marks-light::after {
  border-color: rgba(255,255,255,.35);
}

/* --- SCREENSHOT FRAME (desktop) --- */
.shot {
  position: relative;
  border: 5px solid #222;
  border-radius: var(--r-media);
  overflow: hidden;
  background: #222;
  line-height: 0;
  aspect-ratio: 1523 / 935;
}
.shot img {
  display: block;
  width: 100%;
  height: auto;
}

/* corner marks on shots */
.shot .mark-tl,
.shot .mark-tr,
.shot .mark-bl,
.shot .mark-br {
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: var(--accent);
  border-style: solid;
  opacity: .7;
  z-index: 2;
}
.shot .mark-tl { top: 6px; left: 6px; border-width: 1.5px 0 0 1.5px; }
.shot .mark-tr { top: 6px; right: 6px; border-width: 1.5px 1.5px 0 0; }
.shot .mark-bl { bottom: 6px; left: 6px; border-width: 0 0 1.5px 1.5px; }
.shot .mark-br { bottom: 6px; right: 6px; border-width: 0 1.5px 1.5px 0; }

/* mobile mockup */
.shot-mobile {
  position: relative;
  aspect-ratio: 1 / 2;
  max-width: 300px;
  line-height: 0;
  border-radius: 16px;
  overflow: hidden;
}
.shot-mobile img {
  display: block;
  width: 100%;
  height: auto;
}

/* --- SECTION STRUCTURE --- */
.section {
  padding: var(--section-gap) 0;
}
.section--dark {
  background: var(--primary);
  color: #fff;
}
.section--alt {
  background: var(--bg-alt);
}

/* --- SCROLL REVEAL --- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ============================================================
   HEADER
   ============================================================ */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgb(244, 241, 234);
  display: flex;
  justify-content: center;
  transition: transform .3s ease;
}
#site-header.nav--hidden {
  transform: translateY(-100%);
}

/* scroll progress bar */
#scroll-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: var(--accent);
  transition: width .1s linear;
  z-index: 10;
}

.header-rule {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
}
.header-rule .reg-plus {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--accent);
  opacity: .5;
  line-height: 1;
  transform: translateY(50%);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--gutter);
  gap: 24px;
  transition: padding .3s;
  width: 100%;
}

.header-logo {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-shrink: 0;
}
.header-logo-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -.01em;
}
.header-logo-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.header-nav a {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .03em;
  color: var(--muted);
  position: relative;
  padding-bottom: 2px;
  transition: color .2s;
}
.header-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width .25s ease;
}
.header-nav a:hover { color: var(--ink); }
.header-nav a:hover::after { width: 100%; }

.header-cta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
  background: var(--accent);
  color: #fff;
  border-radius: var(--r-input);
  position: relative;
  transition: background .2s, transform .2s, box-shadow .2s;
  flex-shrink: 0;
}
.header-cta::before,
.header-cta::after {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  border-color: rgba(255,255,255,.5);
  border-style: solid;
}
.header-cta::before { top: 2px; left: 2px; border-width: 1px 0 0 1px; }
.header-cta::after  { bottom: 2px; right: 2px; border-width: 0 1px 1px 0; }
.header-cta:hover {
  background: var(--accent-d);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(192,94,59,.3);
}


.header-mobile-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  cursor: pointer;
}
.header-mobile-btn span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: all .25s;
}

/* ============================================================
   HERO
   ============================================================ */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 120px;
  padding-bottom: 80px;
  overflow: hidden;
  background: var(--bg);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px 5%;
  align-items: center;
}

.hero-title {
  font-size: clamp(1.7rem, 3.8vw, 6.5rem);
  margin-bottom: 24px;
  line-height: 1.04;
  letter-spacing: -0.02em;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}
.hero-eyebrow-line {
  width: 24px;
  height: 1px;
  background: var(--accent);
  opacity: .5;
}

.hero-title {
  margin-bottom: 24px;
}
.hero-title em {
  font-style: normal;
  color: var(--accent);
}

.hero-sub {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 480px;
  margin-bottom: 36px;
}

.hero-btns {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.hero-note {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: .7;
}

/* Hero visual: screenshot with angle, glow, leader line */
.hero-visual {
  position: relative;
  z-index: 1;
}

.hero-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(55% 50% at 50% 45%, rgba(192,94,59,.13), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-shot-wrap {
  position: relative;
  z-index: 1;
}

.hero-shot-wrap .shot {
  transition: transform .4s ease, box-shadow .4s ease;
}
.hero-shot-wrap:hover .shot {
  transform: translateY(-4px);
  box-shadow: 0 4px 8px rgba(20,22,26,.08), 0 40px 100px -28px rgba(20,22,26,.45);
}

/* Leader line annotation */
.hero-annotation {
  position: absolute;
  bottom: -32px;
  right: 20px;
  display: flex;
  align-items: flex-end;
  gap: 0;
  pointer-events: none;
  z-index: 3;
}
.hero-annotation-line {
  width: 0;
  height: 1px;
  background: var(--accent);
  opacity: .6;
  align-self: center;
  transition: width .8s .4s ease;
}
.hero-annotation-line.drawn {
  width: 52px;
}
.hero-annotation-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 2px;
  flex-shrink: 0;
}
.hero-annotation-text {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
}

/* ============================================================
   SECTION 02 — WHY LOSING MONEY (editorial register)
   ============================================================ */
#problems {
  background: var(--bg-alt);
  padding: var(--section-gap) 0;
  position: relative;
  overflow: hidden;
}

.problems-header {
  margin-bottom: 60px;
}

.problems-list {
  display: flex;
  flex-direction: column;
}

.problem-row {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: baseline;
  gap: 24px 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  transition: background .2s;
}
.problem-row:first-child { border-top: 1px solid var(--border); }

.problem-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--accent);
  opacity: .6;
  padding-top: 3px;
}

.problem-text {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.4;
}

.problem-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  padding: 3px 8px;
  border: 1px solid var(--border);
  border-radius: 2px;
}

/* ============================================================
   STATEMENT BREAK
   ============================================================ */
.statement-break {
  padding: clamp(60px, 8vh, 100px) 0;
  position: relative;
  overflow: hidden;
}

.statement-text {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3.4rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--ink);
  max-width: 900px;
}
.statement-text em {
  font-style: normal;
  color: var(--accent);
}

/* ============================================================
   SECTION 03 — WHAT IT CAN DO (sticky scroll-storytelling)
   ============================================================ */
#features {
  padding: 0 0 var(--section-gap);
  position: relative;
}

.features-header {
  margin-bottom: 80px;
}

.features-sticky-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.features-sticky-left {
  position: sticky;
  top: 100px;
}

.feature-shot-container {
  position: relative;
  aspect-ratio: 1523 / 935;
  width: 100%;
}

.feature-shot-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity .55s ease;
  pointer-events: none;
}
.feature-shot-item.active {
  opacity: 1;
  pointer-events: auto;
}

.features-right {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.feature-step {
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
  transition: opacity .3s;
  cursor: default;
}
.feature-step:first-child { padding-top: 0; }
.feature-step:last-child { border-bottom: none; }
.feature-step.inactive { opacity: .4; }

.feature-step-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.feature-step h3 {
  margin-bottom: 12px;
}

.feature-step p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

/* bento grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 80px;
}

.bento-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 20px;
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease;
  overflow: hidden;
}
.bento-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.bento-card::before,
.bento-card::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  border-color: var(--accent);
  border-style: solid;
  opacity: 0;
  transition: opacity .25s;
}
.bento-card::before { top: 4px; left: 4px; border-width: 1px 0 0 1px; }
.bento-card::after  { bottom: 4px; right: 4px; border-width: 0 1px 1px 0; }
.bento-card:hover::before,
.bento-card:hover::after { opacity: .5; }

.bento-icon {
  margin-bottom: 12px;
  color: var(--accent);
}

.bento-title {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--ink);
}

.bento-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

/* ============================================================
   SECTION 04 — DARK (sales at hand)
   ============================================================ */
#mobile-sales {
  background: var(--primary);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.mobile-sales-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.mobile-sales-content h2 {
  color: #fff;
  margin-bottom: 20px;
}

.mobile-sales-content p {
  color: rgba(255,255,255,.65);
  font-size: 17px;
  line-height: 1.65;
  margin-bottom: 32px;
}

.mobile-sales-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 0;
}

.mobile-sales-list-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
}

.mobile-sales-list-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--accent);
  padding-top: 3px;
  opacity: .7;
}

.mobile-sales-list-text {
  font-size: 15px;
  color: rgba(255,255,255,.6);
  line-height: 1.5;
}

.mobile-sales-list-text strong {
  font-weight: 500;
  color: rgba(255,255,255,.85);
  display: block;
  margin-bottom: 2px;
}

.mobile-phones {
  display: flex;
  gap: 20px;
  align-items: flex-end;
  justify-content: center;
}

.mobile-phone-wrap {
  position: relative;
  text-align: center;
}

.mobile-phone-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-top: 10px;
}

.mobile-phone-wrap:nth-child(2) .shot-mobile {
  max-width: 300px;
}
.mobile-phone-wrap:nth-child(1),
.mobile-phone-wrap:nth-child(3) {
  opacity: .8;
}
.mobile-phone-wrap:nth-child(1) .shot-mobile,
.mobile-phone-wrap:nth-child(3) .shot-mobile {
  max-width: 260px;
}

/* dark section glow */
#mobile-sales .section-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(50% 60% at 70% 50%, rgba(192,94,59,.08), transparent 70%);
  pointer-events: none;
}

/* ============================================================
   SECTION 05 — KAZAKHSTAN ACCENT STRIP
   ============================================================ */
#kz-strip {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.kz-strip-inner {
  display: flex;
  align-items: center;
  gap: 48px;
}

.kz-strip-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .15em;
  color: var(--accent);
  white-space: nowrap;
  flex-shrink: 0;
}

.kz-strip-content {
  flex: 1;
}

.kz-strip-title {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.2vw, 1.6rem);
  font-weight: 500;
  margin-bottom: 6px;
}
.kz-strip-title em { font-style: normal; color: var(--accent); }

.kz-strip-text {
  font-size: 15px;
  color: var(--muted);
}

/* ============================================================
   SECTION 06 — SITE + CRM
   ============================================================ */
#site-crm {
  padding: 48px 0 var(--section-gap);
  position: relative;
}

.site-crm-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 50px;
  align-items: center;
}

.site-crm-content h2 {
  margin-bottom: 20px;
}

.site-crm-content .h2-sub {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 32px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.feature-list-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--ink);
}

.feature-list-icon {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--accent);
}

.site-crm-note {
  font-size: 14px;
  color: var(--muted);
  border-left: 2px solid var(--accent);
  padding-left: 14px;
  line-height: 1.5;
}

/* Flow diagram */
.flow-diagram {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 36px;
  position: relative;
  overflow: hidden;
}

.flow-diagram::before,
.flow-diagram::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  border-color: var(--accent);
  border-style: solid;
  opacity: .4;
}
.flow-diagram::before { top: 6px; left: 6px; border-width: 1.5px 0 0 1.5px; }
.flow-diagram::after  { bottom: 6px; right: 6px; border-width: 0 1.5px 1.5px 0; }

.flow-diagram .mono-label {
  margin-bottom: 28px;
}

.flow-nodes {
  display: flex;
  align-items: center;
  gap: 0;
}

.flow-node {
  flex: 1;
  text-align: center;
}

.flow-node-box {
  display: inline-block;
  padding: 10px 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-input);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  background: var(--bg);
  position: relative;
  transition: border-color .2s;
}

.flow-node-box.active {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

.flow-node-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 8px;
}

.flow-arrow {
  width: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  opacity: .5;
  margin-bottom: 25px;
}

/* ============================================================
   SECTION 07 — OPEN API SLIM
   ============================================================ */
#open-api {
  background: var(--bg-alt);
  padding: 60px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
}

.open-api-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.open-api-content h2 {
  margin-bottom: 16px;
}

.open-api-content p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

/* API diagram */
.api-diagram {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.api-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.api-box {
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: var(--r-input);
  font-family: var(--font-mono);
  font-size: 12px;
  background: var(--surface);
  color: var(--ink);
  white-space: nowrap;
}

.api-box--accent {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

.api-connector {
  flex: 1;
  height: 2px;
  background: var(--muted);
  position: relative;
}
.api-connector::after {
  content: '';
  position: absolute;
  right: 0;
  top: -3px;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(-45deg);
}

/* ============================================================
   SECTION 08 — FAQ
   ============================================================ */
#faq {
  padding: var(--section-gap) 0;
  position: relative;
}

.faq-wrap {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 64px;
  align-items: start;
}

.faq-list {
  min-width: 0;
  margin-top: 50px;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  cursor: pointer;
  transition: color .2s;
}
.faq-question:hover { color: var(--accent); }

.faq-q-left {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.faq-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--accent);
  opacity: .5;
  padding-top: 3px;
  flex-shrink: 0;
}

.faq-q-text {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  text-align: start;
}

.faq-toggle {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
  color: var(--muted);
  transition: transform .3s, color .2s;
}
.faq-toggle::before,
.faq-toggle::after {
  content: '';
  position: absolute;
  background: currentColor;
  transition: transform .3s, opacity .3s;
}
.faq-toggle::before {
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  transform: translateY(-50%);
}
.faq-toggle::after {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  transform: translateX(-50%);
}
.faq-item.open .faq-toggle::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }
.faq-item.open .faq-question { color: var(--accent); }

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s ease;
}
.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
}
.faq-answer-inner {
  overflow: hidden;
}
.faq-answer-text {
  padding: 0 0 24px 40px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

/* FAQ contact panel */
.faq-contact {
  position: sticky;
  top: 100px;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 32px;
  background: var(--bg);
}

.faq-contact-lead {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 28px;
}

.faq-contact-channels {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.faq-contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  transition: opacity .2s, transform .2s;
}
.faq-contact-btn:hover { opacity: .85; transform: translateY(-1px); }

.faq-contact-btn--wa {
  background: #25D366;
  color: #fff;
}
.faq-contact-btn--tg {
  background: #2AABEE;
  color: #fff;
}

.faq-contact-note {
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}


@media (max-width: 1000px) {
  .faq-wrap {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .faq-contact {
    position: static;
  }
}

/* ============================================================
   SECTION CTA — FINAL DARK
   ============================================================ */
#final-cta {
  background: var(--primary);
  padding: var(--section-gap) 0;
  position: relative;
  overflow: hidden;
}

#final-cta .section-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(50% 60% at 50% 30%, rgba(192,94,59,.12), transparent 65%);
  pointer-events: none;
}

.cta-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
  align-items: center;
}

.cta-content h2 {
  color: #fff;
  margin-bottom: 20px;
}

.cta-content p {
  color: rgba(255,255,255,.6);
  font-size: 16px;
  line-height: 1.65;
}

/* Form */
.demo-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
}

.form-input,
.form-textarea {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-input);
  padding: 12px 14px;
  font-family: var(--font-sans);
  font-size: 15px;
  color: #fff;
  outline: none;
  transition: border-color .2s, background .2s;
  width: 100%;
}
.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(255,255,255,.2);
}
.form-input:focus,
.form-textarea:focus {
  border-color: var(--accent);
  background: rgba(192,94,59,.06);
}
.form-textarea {
  resize: none;
  min-height: 80px;
  line-height: 1.5;
}

/* validation checkmark */
.form-field .check-icon {
  display: none;
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
}
.form-field { position: relative; }
.form-field.valid .check-icon { display: block; }
.form-field.valid .form-input { border-color: var(--status-free); }

.form-submit {
  padding: 14px 28px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--r-input);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  position: relative;
  transition: background .2s, transform .2s, box-shadow .2s;
  align-self: flex-start;
}
.form-submit::before,
.form-submit::after {
  content: '';
  position: absolute;
  width: 7px;
  height: 7px;
  border-color: rgba(255,255,255,.5);
  border-style: solid;
}
.form-submit::before { top: 2px; left: 2px; border-width: 1.5px 0 0 1.5px; }
.form-submit::after  { bottom: 2px; right: 2px; border-width: 0 1.5px 1.5px 0; }
.form-submit:hover {
  background: var(--accent-d);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(192,94,59,.3);
}

.form-success {
  display: none;
  text-align: center;
  padding: 32px 20px;
  color: rgba(255,255,255,.8);
}
.form-success.visible { display: block; }
.form-success p { margin-top: 12px; font-size: 15px; }

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
  background: var(--primary-d);
  padding: 80px 0 0;
  position: relative;
  overflow: hidden;
}

.footer-wordmark-bg {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  font-family: var(--font-display);
  font-size: clamp(80px, 15vw, 200px);
  font-weight: 600;
  color: rgba(255,255,255,.025);
  letter-spacing: -.04em;
  text-align: center;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  overflow: hidden;
}

.footer-stamp {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 2px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-card);
  overflow: hidden;
  margin-bottom: 48px;
  position: relative;
  z-index: 1;
}

.footer-stamp-cell {
  padding: 24px 28px;
  border-right: 1px solid rgba(255,255,255,.08);
  position: relative;
}
.footer-stamp-cell:last-child { border-right: none; }

.footer-stamp-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  margin-bottom: 12px;
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 500;
  color: #fff;
  letter-spacing: -.02em;
  margin-bottom: 8px;
}

.footer-brand-tagline {
  font-size: 14px;
  color: rgba(255,255,255,.4);
}

.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,.55);
  transition: color .2s;
}
.footer-contact-link:hover { color: #fff; }
.footer-contact-link svg { flex-shrink: 0; }

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,.4);
  transition: color .2s;
}
.footer-links a:hover { color: rgba(255,255,255,.8); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 20px 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.footer-bottom-left,
.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-bottom .mono-label {
  color: rgba(255,255,255,.2);
}

.footer-bottom .reg-plus {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--accent);
  opacity: .4;
}

/* ============================================================
   SCROLL-DRIVEN MINI-DEMOS (C8)
   ============================================================ */

/* Shahmatka status demo */
.shahmatka-demo {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 12px;
  margin-top: 16px;
}

.shah-cell {
  aspect-ratio: 1;
  border-radius: 3px;
  background: var(--status-free);
  opacity: .15;
  transition: background .4s ease, opacity .4s ease;
}
.shah-cell.active { opacity: 1; }
.shah-cell.status-free   { background: var(--status-free); }
.shah-cell.status-booked { background: var(--status-booked); }
.shah-cell.status-sold   { background: var(--status-deal); }

/* Lead funnel demo */
.lead-funnel-demo {
  display: flex;
  gap: 6px;
  margin-top: 16px;
  overflow: hidden;
}

.funnel-stage {
  flex: 1;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: var(--r-input);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  transition: border-color .4s, background .4s, color .4s;
}
.funnel-stage.active {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .features-sticky-wrap {
    grid-template-columns: 1fr;
  }
  .features-sticky-left {
    position: relative;
    top: auto;
  }
  .cta-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .open-api-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .site-crm-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .footer-stamp {
    grid-template-columns: 1fr 1fr;
  }
  .footer-stamp-cell { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); }
  .footer-stamp-cell:last-child { border-bottom: none; }
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  :root {
    --section-gap: clamp(60px, 10vh, 100px);
  }
  .header-nav { display: none; }
  .header-mobile-btn { display: flex; }
  .header-cta { display: none; }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-title { font-size: clamp(2rem, 8vw, 3.2rem); }
  .hero-sub { max-width: none; }
  .mobile-sales-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .problem-row {
    grid-template-columns: 36px 1fr;
  }
  .problem-tag { display: none; }
  .kz-strip-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .mobile-phones { gap: 12px; }
  .mobile-phone-wrap:nth-child(1),
  .mobile-phone-wrap:nth-child(3) { display: none; }
  .mobile-phone-wrap:nth-child(2) .shot-mobile { max-width: 350px; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-card--wide { grid-column: span 1; }
  .footer-bottom { flex-direction: column; gap: 12px; align-items: flex-start; }
}

@media (max-width: 330px) {
  :root {
    --gutter: 16px;
    --section-gap: clamp(40px, 8vh, 64px);
  }
  .header-inner { padding-top: 13px; padding-bottom: 13px; }
  .hero-btns .btn { width: 100%; justify-content: center; }
  .feature-step { padding: 24px 0; }
  .faq-contact { padding: 20px; }
  .footer-stamp-cell { padding: 18px 16px; }
  .api-box { white-space: normal; text-align: center; }
}

@media (max-width: 480px) {
  .hero-btns { flex-direction: column; align-items: flex-start; }
  .hero-annotation { display: none; }
  .flow-nodes { flex-direction: column; gap: 12px; }
  .flow-arrow { transform: rotate(90deg); }
  .cta-inner { gap: 36px; }
  .compar {display: none;}

  .api-row {
    flex-direction: column;
    align-items: center;
  }
  .api-connector {
    flex: none;
    width: 2px;
    height: 0;
    align-self: center;
  }
  .api-connector::after {
    right: auto;
    top: auto;
    bottom: -3px;
    left: -3px;
    transform: rotate(45deg);
  }
}
/* ========================================
   COMPARISON TABLE
   ======================================== */
.comparison-table {
  margin-top: 48px;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.comparison-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  border-bottom: 1px solid var(--border);
}

.comparison-row:last-child { border-bottom: none; }

.comparison-row--header {
  background: rgba(255,255,255,0.03);
}

.comparison-cell {
  padding: 14px 20px;
  font-size: 15px;
  color: var(--muted);
  border-right: 1px solid var(--border);
  display: flex;
  align-items: center;
}

.comparison-cell:last-child { border-right: none; }

.comparison-row--header .comparison-cell {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

.comparison-cell--feature {
  color: var(--fg);
  font-size: 14px;
}

.comparison-cell--yes {
  color: var(--status-free);
  font-weight: 500;
}

.comparison-cell--no {
  color: var(--muted);
  opacity: .6;
}

.comparison-cell--partial {
  color: #c8973a;
}

.comparison-cell--us {
  background: rgba(var(--accent-rgb, 180, 143, 90), 0.06);
  color: var(--accent);
  font-weight: 500;
}

@media (max-width: 640px) {
  .comparison-row {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
  .comparison-cell {
    padding: 12px 10px;
    font-size: 12px;
  }
}

/* ========================================
   ROLES GRID
   ======================================== */
.roles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.role-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  background: var(--surface);
  transition: border-color .2s, transform .2s;
}

.role-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.role-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.role-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--fg);
}

.role-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .roles-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .roles-grid { grid-template-columns: 1fr; }
  .footer-stamp {
    grid-template-columns: 1fr;
  }
}