/* Optiro AI — Real Estate Agents Landing Page
   Brand: Electric blue (#1E90FF / #2D9CFF) on deep navy gradient
   Type: Sora (display) + Inter (body)
*/

:root {
  --brand: #2D9CFF;
  --brand-2: #5BB6FF;
  --brand-dark: #0B5FFF;
  --brand-glow: rgba(45, 156, 255, 0.4);

  --bg: #FFFFFF;
  --surface: #F6F9FE;
  --surface-2: #EEF4FC;
  --ink: #0A1530;
  --ink-2: #344166;
  --ink-3: #6B7796;
  --line: #E4ECF7;
  --line-2: #D6E1F0;

  --navy-900: #050B22;
  --navy-800: #081232;
  --navy-700: #0E1B43;
  --navy-600: #142657;
  --navy-line: rgba(255,255,255,0.08);

  --success: #18C07A;
  --whatsapp: #25D366;
  --warn: #F5A623;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --pad-x: clamp(20px, 5vw, 80px);
  --section-y: clamp(80px, 10vw, 140px);

  --font-display: 'Sora', ui-sans-serif, system-ui, sans-serif;
  --font-body: 'Inter', ui-sans-serif, system-ui, sans-serif;

  --shadow-card: 0 1px 2px rgba(10,21,48,0.04), 0 8px 24px rgba(10,21,48,0.06);
  --shadow-pop: 0 20px 60px rgba(10,21,48,0.18);
  --shadow-blue: 0 18px 50px -10px rgba(45,156,255,0.5);
}

[data-theme="dark"] {
  --bg: #050B22;
  --surface: #081232;
  --surface-2: #0E1B43;
  --ink: #FFFFFF;
  --ink-2: #C8D3EB;
  --ink-3: #8A98BD;
  --line: rgba(255,255,255,0.08);
  --line-2: rgba(255,255,255,0.14);
  --shadow-card: 0 1px 2px rgba(0,0,0,0.4), 0 12px 32px rgba(0,0,0,0.5);
  --shadow-pop: 0 24px 70px rgba(0,0,0,0.6);
}

[data-density="compact"] {
  --section-y: clamp(56px, 7vw, 96px);
}
[data-density="comfortable"] {
  --section-y: clamp(96px, 12vw, 160px);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

/* ─────────── Type ─────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  padding: 6px 12px;
  background: rgba(45,156,255,0.1);
  border: 1px solid rgba(45,156,255,0.2);
  border-radius: 100px;
}
[data-theme="dark"] .eyebrow {
  background: rgba(45,156,255,0.14);
  color: var(--brand-2);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(40px, 5.5vw, 72px); line-height: 1.02; font-weight: 700; }
h2 { font-size: clamp(32px, 4vw, 52px); line-height: 1.05; font-weight: 700; }
h3 { font-size: clamp(20px, 1.6vw, 24px); line-height: 1.2; font-weight: 600; }
.lead { font-size: clamp(16px, 1.2vw, 18px); color: var(--ink-2); max-width: 56ch; }

.text-blue { color: var(--brand); }
.text-blue-grad {
  background: linear-gradient(120deg, #2D9CFF 0%, #5BB6FF 50%, #2D9CFF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ─────────── Buttons ─────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(180deg, #3DA8FF 0%, #1E7FFF 100%);
  color: #fff;
  box-shadow: var(--shadow-blue), inset 0 1px 0 rgba(255,255,255,0.4);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 22px 60px -8px rgba(45,156,255,0.65), inset 0 1px 0 rgba(255,255,255,0.4); }
.btn-primary .arrow {
  width: 28px; height: 28px; border-radius: 100px;
  background: rgba(255,255,255,0.22);
  display: grid; place-items: center;
  transition: transform .2s ease;
}
.btn-primary:hover .arrow { transform: translateX(3px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-2);
}
.btn-ghost:hover { background: var(--surface-2); border-color: var(--brand); color: var(--brand); }

[data-theme="dark"] .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.2); }
[data-theme="dark"] .btn-ghost:hover { background: rgba(255,255,255,0.06); border-color: var(--brand-2); }

.btn-sm { padding: 10px 16px; font-size: 13px; }

/* ─────────── Nav ─────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 700; font-size: 22px; letter-spacing: -0.02em;
}
.nav-logo img { width: 36px; height: 36px; }
.nav-logo span.ai { color: var(--brand); font-weight: 500; margin-left: 2px; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { font-size: 14px; color: var(--ink-2); font-weight: 500; }
.nav-links a:hover { color: var(--brand); }
.nav-cta { display: flex; gap: 12px; align-items: center; }
@media (max-width: 900px) {
  .nav-links { display: none; }
}

/* ─────────── Hero ─────────── */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 6vw, 80px) 0 clamp(60px, 8vw, 100px);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(45,156,255,0.18), transparent 60%),
    radial-gradient(900px 500px at 0% 30%, rgba(45,156,255,0.10), transparent 60%);
}
[data-theme="dark"] .hero {
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(45,156,255,0.30), transparent 60%),
    radial-gradient(900px 500px at 0% 30%, rgba(45,156,255,0.18), transparent 60%),
    linear-gradient(180deg, #050B22 0%, #081232 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
}
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  padding: 8px 14px 8px 10px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 24px;
}
.hero-badge .dot {
  width: 8px; height: 8px; border-radius: 100px;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(24,192,122,0.18);
}
.hero h1 strong {
  font-weight: 700;
  background: linear-gradient(120deg, #5BB6FF 0%, #2D9CFF 60%, #0B5FFF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  margin-top: 22px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(20px, 1.7vw, 26px);
  color: var(--ink);
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.hero-sub .auto { color: var(--brand); }
.hero-desc {
  margin-top: 18px;
  font-size: 17px;
  color: var(--ink-2);
  max-width: 52ch;
}
.hero-desc em { font-style: normal; color: var(--brand); font-weight: 600; }
.hero-cta {
  margin-top: 32px;
  display: flex; gap: 14px; flex-wrap: wrap; align-items: center;
}
.hero-trial {
  font-size: 13px; color: var(--ink-3); margin-left: 4px;
  display: flex; align-items: center; gap: 8px;
}
.hero-trial svg { color: var(--brand); }
.hero-stats {
  margin-top: 36px;
  display: flex; gap: 28px; flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hero-stats .stat .v {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  color: var(--ink);
  line-height: 1;
}
.hero-stats .stat .l {
  font-size: 12px;
  color: var(--ink-3);
  margin-top: 6px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ─────────── Hero Visual ─────────── */
.hero-visual {
  position: relative;
  width: min(100%, 640px);
  aspect-ratio: 1 / 1.05;
  margin-left: auto;
  align-self: stretch;
}
.hero-visual::before {
  content: "";
  display: block;
  padding-top: 105%;
}
.hero-house {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-pop);
}
.hero-house::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5,11,34,0.0) 40%, rgba(5,11,34,0.6) 100%);
}
.hero-house-tag {
  position: absolute;
  top: 18px; left: 18px;
  z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px 7px 8px;
  background: rgba(255,255,255,0.92);
  border-radius: 100px;
  font-size: 12px; font-weight: 600;
  color: var(--ink);
  backdrop-filter: blur(6px);
}
.hero-house-tag .pin {
  width: 22px; height: 22px; border-radius: 100px;
  background: var(--brand);
  display: grid; place-items: center;
  color: white;
}

/* Chat bubbles overlay */
.chat-overlay {
  position: absolute;
  bottom: -28px;
  right: -16px;
  width: clamp(280px, 70%, 380px);
  display: flex; flex-direction: column; gap: 10px;
  z-index: 3;
}
.chat-bubble {
  display: flex; gap: 8px; align-items: flex-end;
  font-size: 13px;
  animation: floatIn .6s ease both;
}
.chat-bubble.left { flex-direction: row; }
.chat-bubble.right { flex-direction: row-reverse; }
.chat-avatar {
  width: 30px; height: 30px; border-radius: 100px;
  flex-shrink: 0;
  background-size: cover; background-position: center;
  border: 2px solid white;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.chat-avatar.bot {
  background: linear-gradient(135deg, #2D9CFF, #0B5FFF);
  display: grid; place-items: center;
  color: white;
}
.chat-msg {
  background: white;
  padding: 10px 14px;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(10,21,48,0.10);
  max-width: 85%;
  color: var(--ink);
}
.chat-bubble.right .chat-msg {
  background: #DCFCE7;
  color: #064E3B;
}
.chat-msg .time {
  font-size: 10px; color: var(--ink-3);
  margin-top: 4px; display: block;
  font-variant-numeric: tabular-nums;
}
.chat-bubble.right .chat-msg .time { color: rgba(6,78,59,0.6); }
.chat-msg .cta-pill {
  display: inline-flex; margin-top: 8px;
  padding: 7px 14px;
  background: var(--brand); color: white;
  border-radius: 100px;
  font-size: 12px; font-weight: 600;
}
.chat-bubble:nth-child(1) { animation-delay: .1s; }
.chat-bubble:nth-child(2) { animation-delay: .3s; }
.chat-bubble:nth-child(3) { animation-delay: .5s; }
.chat-bubble:nth-child(4) { animation-delay: .7s; }

@keyframes floatIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ─────────── Logos strip ─────────── */
.logos {
  padding: 40px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.logos-label {
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 28px;
  font-weight: 600;
}
.logos-row {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  filter: grayscale(0.3);
  opacity: 0.85;
}
.logos-row .logo-item {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-weight: 600; font-size: 18px;
  color: var(--ink-2);
}
.logos-row .logo-item svg { flex-shrink: 0; }

/* ─────────── Section heads ─────────── */
.section { padding: var(--section-y) 0; }
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.section-head .lead { margin: 18px auto 0; }

/* ─────────── Features grid ─────────── */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

.feature {
  position: relative;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: all .25s ease;
  overflow: hidden;
}
.feature:hover {
  transform: translateY(-3px);
  border-color: var(--brand);
  box-shadow: var(--shadow-card);
}
.feature::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(45,156,255,0.06), transparent 50%);
  opacity: 0; transition: opacity .25s ease;
}
.feature:hover::before { opacity: 1; }
.feature-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #2D9CFF, #0B5FFF);
  display: grid; place-items: center;
  color: white;
  margin-bottom: 18px;
  box-shadow: 0 8px 20px -4px rgba(45,156,255,0.4);
}
.feature[data-tone="whatsapp"] .feature-icon { background: linear-gradient(135deg, #2BD466, #0CB04D); box-shadow: 0 8px 20px -4px rgba(37,211,102,0.4);}
.feature[data-tone="orange"] .feature-icon { background: linear-gradient(135deg, #FF9F47, #F26B0A); box-shadow: 0 8px 20px -4px rgba(242,107,10,0.4);}
.feature h3 { margin-bottom: 8px; }
.feature p { color: var(--ink-2); font-size: 14.5px; margin: 0; }
.feature .feature-link {
  margin-top: 16px;
  font-size: 13px; font-weight: 600;
  color: var(--brand);
  display: inline-flex; align-items: center; gap: 6px;
}

/* ─────────── Dashboard preview ─────────── */
.dashboard-section {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
[data-theme="dark"] .dashboard-section {
  background:
    radial-gradient(900px 400px at 50% 0%, rgba(45,156,255,0.12), transparent 60%),
    var(--navy-800);
}

.dash-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
}
@media (max-width: 1000px) { .dash-grid { grid-template-columns: 1fr; } }

.dash-mock {
  position: relative;
  background: linear-gradient(180deg, #0A1530, #050B22);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-pop);
  border: 1px solid rgba(255,255,255,0.06);
}
.dash-mock-bar {
  display: flex; gap: 6px; margin-bottom: 14px;
}
.dash-mock-bar span {
  width: 10px; height: 10px; border-radius: 100px;
  background: rgba(255,255,255,0.18);
}
.dash-mock-bar span:nth-child(1){ background: #FF6058; }
.dash-mock-bar span:nth-child(2){ background: #FFBD2E; }
.dash-mock-bar span:nth-child(3){ background: #28CA42; }

.dash-app {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 16px;
  background: rgba(255,255,255,0.04);
  border-radius: 12px;
  padding: 16px;
}
@media (max-width: 700px) { .dash-app { grid-template-columns: 1fr; } .dash-side { display: none; } }

.dash-side .brand {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700;
  font-size: 16px; color: white;
  margin-bottom: 18px;
}
.dash-side .brand img { width: 22px; height: 22px; }
.dash-side .brand .ai { color: var(--brand-2); font-weight: 500; }
.dash-side ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 2px; }
.dash-side li {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: 8px;
  font-size: 13px; color: rgba(255,255,255,0.7);
  cursor: default;
}
.dash-side li.active {
  background: rgba(45,156,255,0.18);
  color: white;
}
.dash-side li svg { width: 14px; height: 14px; flex-shrink: 0; }

.dash-main { color: white; min-width: 0; }
.dash-main h4 {
  color: white; font-family: var(--font-display);
  font-size: 16px; margin-bottom: 14px;
}
.dash-kpis {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
  margin-bottom: 16px;
}
@media (max-width: 700px) { .dash-kpis { grid-template-columns: repeat(2, 1fr); } }
.kpi {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 12px;
}
.kpi .l { font-size: 11px; color: rgba(255,255,255,0.55); }
.kpi .v {
  font-family: var(--font-display); font-weight: 700;
  font-size: 22px; color: white; margin-top: 4px;
  line-height: 1; font-variant-numeric: tabular-nums;
}
.kpi .d { font-size: 11px; color: var(--success); margin-top: 4px; font-weight: 600; }
.kpi .d.neg { color: #FF7A85; }

.dash-charts {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
@media (max-width: 700px) { .dash-charts { grid-template-columns: 1fr; } }
.chart-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 12px;
}
.chart-card h5 {
  font-family: var(--font-display);
  font-size: 12px; color: rgba(255,255,255,0.7);
  margin: 0 0 10px;
  font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.donut-row {
  display: flex; align-items: center; gap: 12px;
}
.donut-legend { font-size: 11px; color: rgba(255,255,255,0.7); flex: 1; }
.donut-legend .li {
  display: flex; align-items: center; gap: 6px; justify-content: space-between;
  padding: 3px 0;
}
.donut-legend .li .left { display: flex; align-items: center; gap: 6px; }
.donut-legend .li .sw { width: 8px; height: 8px; border-radius: 2px; }
.donut-legend .li .v { font-variant-numeric: tabular-nums; color: white; font-weight: 600; }

.pipeline-row {
  display: grid;
  grid-template-columns: 80px 1fr 36px;
  gap: 8px;
  align-items: center;
  font-size: 11px;
  margin-bottom: 8px;
  color: rgba(255,255,255,0.7);
}
.pipeline-row:last-child { margin-bottom: 0; }
.pipeline-row .bar {
  height: 8px; background: rgba(255,255,255,0.08);
  border-radius: 100px; overflow: hidden;
}
.pipeline-row .bar > div { height: 100%; border-radius: 100px; }
.pipeline-row .v { color: white; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }

/* ─────────── Workflow / chat-to-build ─────────── */
.workflow-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
}
@media (max-width: 1000px) { .workflow-wrap { grid-template-columns: 1fr; } }

.builder-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-card);
}
.builder-prompt {
  display: flex; gap: 12px;
  padding: 14px;
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  align-items: flex-start;
}
.builder-prompt-avatar {
  width: 32px; height: 32px; border-radius: 100px;
  background: linear-gradient(135deg, #FF9F47, #F26B0A);
  display: grid; place-items: center; color: white;
  font-weight: 700; font-size: 13px;
  flex-shrink: 0;
}
.builder-prompt-text { font-size: 14px; color: var(--ink); line-height: 1.5; }
.builder-prompt-text em { color: var(--brand); font-style: normal; font-weight: 600; }

.builder-arrow {
  display: flex; justify-content: center; padding: 12px 0;
  color: var(--brand);
}

.builder-result {
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  padding: 16px;
}
.builder-result-head {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 14px;
  font-size: 13px;
  color: var(--ink-2);
}
.builder-result-head .ai-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: linear-gradient(135deg, #2D9CFF, #0B5FFF);
  color: white; padding: 4px 10px; border-radius: 100px;
  font-size: 11px; font-weight: 600;
}
.builder-step {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px;
  background: var(--surface);
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 6px;
}
.builder-step:last-child { margin-bottom: 0; }
.builder-step .num {
  width: 22px; height: 22px; border-radius: 100px;
  background: var(--brand); color: white;
  display: grid; place-items: center;
  font-size: 11px; font-weight: 700;
  flex-shrink: 0;
}
.builder-step .check {
  margin-left: auto; color: var(--success);
}

/* ─────────── Pipeline visual ─────────── */
.pipeline-flow {
  display: flex; align-items: stretch; gap: 12px;
  overflow-x: auto;
  padding: 8px 4px 16px;
}
.pipe-stage {
  flex: 1; min-width: 160px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  position: relative;
}
.pipe-stage::after {
  content: "";
  position: absolute;
  right: -10px; top: 50%; transform: translateY(-50%);
  width: 0; height: 0;
  border-left: 10px solid var(--line-2);
  border-top: 10px solid transparent; border-bottom: 10px solid transparent;
  z-index: 2;
}
.pipe-stage:last-child::after { display: none; }
.pipe-stage .stage-h {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 10px;
}
.pipe-stage .stage-h .name {
  font-family: var(--font-display);
  font-size: 13px; font-weight: 600;
}
.pipe-stage .stage-h .count {
  font-size: 12px;
  background: var(--bg); padding: 2px 8px; border-radius: 100px;
  border: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
  color: var(--ink-2);
}
.pipe-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  font-size: 12px;
  margin-bottom: 6px;
}
.pipe-card:last-child { margin-bottom: 0; }
.pipe-card .name { font-weight: 600; color: var(--ink); display: block; margin-bottom: 2px; }
.pipe-card .meta { color: var(--ink-3); font-size: 11px; }
.pipe-card .price { color: var(--brand); font-weight: 600; font-size: 11px; margin-top: 4px; display: block; }

.pipe-stage[data-color="blue"] .stage-h .name::before { content: "● "; color: var(--brand); }
.pipe-stage[data-color="purple"] .stage-h .name::before { content: "● "; color: #8B5CF6; }
.pipe-stage[data-color="orange"] .stage-h .name::before { content: "● "; color: #F97316; }
.pipe-stage[data-color="green"] .stage-h .name::before { content: "● "; color: var(--success); }

/* ─────────── Properties ─────────── */
.props {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .props { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .props { grid-template-columns: 1fr; } }

.prop {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .25s ease;
  box-shadow: var(--shadow-card);
}
.prop:hover { transform: translateY(-3px); border-color: var(--brand); }
.prop-img {
  aspect-ratio: 16/10;
  background-size: cover; background-position: center;
  position: relative;
}
.prop-img .badge {
  position: absolute; top: 12px; left: 12px;
  background: rgba(255,255,255,0.95);
  padding: 4px 10px; border-radius: 100px;
  font-size: 11px; font-weight: 600;
  color: var(--ink);
}
.prop-img .badge.hot { background: var(--brand); color: white; }
.prop-body { padding: 16px; }
.prop-body h4 { font-family: var(--font-display); font-size: 16px; font-weight: 600; margin: 0 0 4px; }
.prop-body .loc { font-size: 12px; color: var(--ink-3); margin-bottom: 10px; display: flex; gap: 4px; align-items: center; }
.prop-body .price { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--brand); }
.prop-body .specs { display: flex; gap: 14px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 12px; color: var(--ink-2); }
.prop-body .specs span { display: flex; align-items: center; gap: 4px; }

/* ─────────── Stats ─────────── */
.stats-band {
  background: linear-gradient(135deg, #0B5FFF 0%, #2D9CFF 100%);
  color: white;
  border-radius: var(--radius-lg);
  padding: clamp(40px, 5vw, 60px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  overflow: hidden;
}
.stats-band::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(400px 200px at 100% 0%, rgba(255,255,255,0.18), transparent 60%),
    radial-gradient(400px 200px at 0% 100%, rgba(255,255,255,0.14), transparent 60%);
  pointer-events: none;
}
@media (max-width: 800px) { .stats-band { grid-template-columns: repeat(2, 1fr); } }
.stat-big { position: relative; z-index: 1; }
.stat-big .v {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat-big .l { font-size: 14px; margin-top: 8px; opacity: 0.9; }

/* ─────────── Integrations ─────────── */
.integrations-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 10px;
}
@media (max-width: 1000px) { .integrations-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 500px) { .integrations-grid { grid-template-columns: repeat(3, 1fr); } }
.int-tile {
  aspect-ratio: 1;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  display: grid; place-items: center;
  transition: all .2s ease;
  position: relative;
}
.int-tile:hover { transform: translateY(-2px); border-color: var(--brand); }
.int-tile .name {
  position: absolute; bottom: -22px; left: 0; right: 0;
  text-align: center; font-size: 11px; color: var(--ink-3);
  opacity: 0; transition: opacity .2s ease;
}
.int-tile:hover .name { opacity: 1; }

/* ─────────── Testimonials ─────────── */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .testimonials { grid-template-columns: 1fr; } }
.t-card {
  padding: 28px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  display: flex; flex-direction: column;
}
.t-card .stars { color: #F5A623; font-size: 16px; letter-spacing: 2px; margin-bottom: 14px; }
.t-card blockquote {
  margin: 0 0 22px;
  font-size: 16px;
  color: var(--ink);
  line-height: 1.55;
  font-family: var(--font-display);
  font-weight: 500;
  flex: 1;
  text-wrap: pretty;
}
.t-card blockquote::before { content: '"'; }
.t-card blockquote::after { content: '"'; }
.t-card .who {
  display: flex; gap: 12px; align-items: center;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.t-card .who .ava {
  width: 44px; height: 44px; border-radius: 100px;
  background: linear-gradient(135deg, #2D9CFF, #0B5FFF);
  display: grid; place-items: center;
  color: white; font-weight: 700; font-size: 16px;
  font-family: var(--font-display);
  flex-shrink: 0;
}
.t-card .who .name { font-weight: 600; font-size: 14px; }
.t-card .who .role { font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.t-card .rera { font-size: 11px; color: var(--brand); font-weight: 600; margin-top: 2px; }

/* ─────────── Pricing ─────────── */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
@media (max-width: 900px) { .pricing { grid-template-columns: 1fr; } }
.plan {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  display: flex; flex-direction: column;
  position: relative;
  transition: all .25s ease;
}
.plan:hover { border-color: var(--brand); box-shadow: var(--shadow-card); }
.plan.featured {
  border-color: var(--brand);
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
  box-shadow: var(--shadow-blue);
  transform: translateY(-8px);
}
[data-theme="dark"] .plan.featured {
  background: linear-gradient(180deg, rgba(45,156,255,0.10) 0%, transparent 100%);
}
.plan .label {
  position: absolute; top: -14px; left: 24px;
  background: linear-gradient(180deg, #3DA8FF, #1E7FFF);
  color: white; padding: 5px 12px;
  border-radius: 100px; font-size: 11px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  box-shadow: var(--shadow-blue);
}
.plan h3 { font-size: 20px; margin-bottom: 6px; }
.plan .desc { font-size: 13px; color: var(--ink-3); margin-bottom: 20px; }
.plan .price {
  font-family: var(--font-display);
  display: flex; align-items: baseline; gap: 4px;
  margin-bottom: 24px;
}
.plan .price .amt { font-size: 44px; font-weight: 700; color: var(--ink); line-height: 1; }
.plan .price .per { font-size: 14px; color: var(--ink-3); }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; }
.plan li {
  font-size: 14px; color: var(--ink-2);
  padding: 8px 0;
  display: flex; align-items: flex-start; gap: 10px;
}
.plan li svg { color: var(--brand); flex-shrink: 0; margin-top: 3px; }
.plan .btn { width: 100%; justify-content: center; margin-top: auto; }

/* ─────────── FAQ ─────────── */
.faq { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  transition: all .2s ease;
}
.faq details[open] { border-color: var(--brand); background: var(--bg); box-shadow: var(--shadow-card); }
.faq summary {
  list-style: none; cursor: pointer;
  padding: 18px 22px;
  font-family: var(--font-display);
  font-weight: 600; font-size: 16px;
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon {
  width: 26px; height: 26px; border-radius: 100px;
  background: var(--bg); border: 1px solid var(--line-2);
  display: grid; place-items: center; flex-shrink: 0;
  transition: all .2s ease;
}
.faq details[open] summary .icon { background: var(--brand); color: white; border-color: var(--brand); transform: rotate(45deg); }
.faq .a {
  padding: 0 22px 22px;
  color: var(--ink-2); font-size: 14.5px;
  line-height: 1.6;
}

/* ─────────── Final CTA ─────────── */
.cta-band {
  position: relative;
  background:
    radial-gradient(800px 400px at 50% 0%, rgba(45,156,255,0.5), transparent 70%),
    linear-gradient(180deg, #0B5FFF 0%, #050B22 100%);
  color: white;
  padding: clamp(64px, 10vw, 120px) var(--pad-x);
  border-radius: var(--radius-lg);
  text-align: center;
  margin: 0 var(--pad-x) clamp(60px, 8vw, 100px);
  overflow: hidden;
}
.cta-band h2 { color: white; max-width: 720px; margin: 0 auto 20px; }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 540px; margin: 0 auto 36px; font-size: 17px; }
.cta-band .row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-band .btn-ghost {
  border-color: rgba(255,255,255,0.3); color: white;
}
.cta-band .btn-ghost:hover {
  background: rgba(255,255,255,0.1); border-color: white; color: white;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 0%, black, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 50% 0%, black, transparent 70%);
  pointer-events: none;
}

/* ─────────── Footer ─────────── */
.footer {
  border-top: 1px solid var(--line);
  padding: 32px 0;
  font-size: 13px;
  color: var(--ink-3);
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
}
.footer-social { display: flex; gap: 8px; }
.footer-social a {
  width: 34px; height: 34px; border-radius: 100px;
  background: var(--surface);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--ink-2);
  transition: all .2s ease;
}
.footer-social a:hover { background: var(--brand); color: white; border-color: var(--brand); }

/* ─────────── Plan extras ─────────── */
.plan-gst { font-size: 12px; color: var(--ink-3); margin-bottom: 18px; margin-top: 4px; }
.plan.featured .plan-gst { color: rgba(255,255,255,0.7); }
[data-theme="dark"] .plan.featured .plan-gst { color: rgba(255,255,255,0.6); }

.plan-trial { font-size: 12px; color: var(--ink-3); text-align: center; margin-top: 8px; margin-bottom: 18px; }
.plan.featured .plan-trial { color: rgba(255,255,255,0.7); }

.plan-features-label { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }
.plan.featured .plan-features-label { color: rgba(255,255,255,0.65); }

.plan li strong { color: var(--ink); font-weight: 700; }
.plan.featured li strong { color: #fff9c4; }

/* density */
[data-density="compact"] .feature { padding: 22px; }
[data-density="compact"] .plan { padding: 24px; }
[data-density="compact"] .t-card { padding: 22px; }
[data-density="comfortable"] .feature { padding: 32px; }
[data-density="comfortable"] .plan { padding: 36px; }
[data-density="comfortable"] .t-card { padding: 32px; }
