:root {
  --bg: #06080f;
  --bg-elevated: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.08);
  --text: #f0f4ff;
  --muted: #8b95a8;
  --primary: #3b82f6;
  --primary-glow: rgba(59, 130, 246, 0.45);
  --accent: #22d3ee;
  --success: #34d399;
  --radius: 20px;
  --font: Manrope, system-ui, sans-serif;
  --font-display: Unbounded, Manrope, sans-serif;
}

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

html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; }

/* ─── Background ─── */
.bg-orbs {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.22;
  animation: float 42s ease-in-out infinite;
}

.orb-1 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, #1d4ed8 0%, transparent 70%);
  top: -160px; left: -80px;
}

.orb-2 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, #0891b2 0%, transparent 70%);
  top: 30%; right: -120px;
  animation-delay: -6s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(8px, -8px); }
}

.grid-overlay {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black, transparent);
}

/* ─── Header ─── */
.header {
  position: sticky;
  top: 0;
  left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: rgba(6, 8, 15, 0.7);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
}

.logo-icon {
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 10px;
  font-size: 1.1rem;
}

.logo strong { color: var(--accent); }

.nav { display: none; gap: 28px; }
.nav a { color: var(--muted); font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
.nav a:hover { color: var(--text); }

.header-actions { display: none; gap: 10px; }

.menu-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-btn span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s;
}

.mobile-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  padding-top: 72px;
  z-index: 99;
  background: rgba(6, 8, 15, 0.95);
  backdrop-filter: blur(16px);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-bottom: 1px solid var(--border);
  transform: translateY(-120%);
  opacity: 0;
  transition: transform 0.3s, opacity 0.3s;
  pointer-events: none;
}

.mobile-nav.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav a { font-size: 1.1rem; font-weight: 500; }

@media (min-width: 768px) {
  .nav, .header-actions { display: flex; }
  .menu-btn, .mobile-nav { display: none; }
  .header { padding: 16px 48px; }
}

/* ─── Top bar ─── */
.top-bar {
  position: relative;
  z-index: 102;
  background: linear-gradient(90deg, #1d4ed8, #0891b2);
  color: white;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 10px 16px;
  letter-spacing: 0.01em;
  line-height: 1.35;
}

.top-bar-short { display: none; }

/* legacy — top-bar uses single line text */
.top-bar-full { display: inline; }

@media (max-width: 640px) {
  .top-bar { font-size: 0.68rem; padding: 8px 10px; line-height: 1.4; }
}

@media (min-width: 768px) {
  .top-bar { font-size: 0.82rem; }
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 14px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
  color: white;
  box-shadow: 0 4px 24px var(--primary-glow);
}

.btn-primary:hover { box-shadow: 0 8px 32px var(--primary-glow); }

.btn-ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-quiet {
  background: transparent;
  color: var(--muted);
  border: none;
  padding: 10px 14px;
  font-size: 0.85rem;
  font-weight: 500;
}

.btn-quiet:hover { color: var(--text); }

.btn-lg { padding: 14px 28px; font-size: 1rem; border-radius: 16px; }
.btn-block { width: 100%; }

.btn-shimmer {
  position: relative;
  overflow: hidden;
}

.btn-shimmer::after {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
  animation: shimmer 12s ease-in-out infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  50%, 100% { left: 150%; }
}

/* ─── Hero ─── */
.hero {
  min-height: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  padding: 32px 20px 64px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

@media (min-width: 960px) {
  .hero {
    grid-template-columns: 1fr 1.1fr;
    min-height: calc(100vh - 120px);
    padding: 48px 48px 80px;
    gap: 48px;
  }
}

.hero h1 {
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: #ffffff;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 20px;
}

.badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--success);
  animation: pulse 5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.65; }
}

.gradient-text {
  background: linear-gradient(135deg, #60a5fa, #22d3ee, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.05rem;
  color: #c5cde0;
  max-width: 520px;
  margin-bottom: 28px;
  line-height: 1.65;
}

.hero-sub strong { color: var(--text); }

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
}

.hero-cta-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 24px;
}

.hero-cta-note a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  font-size: 0.82rem;
  color: var(--muted);
}

.hero-trust span { white-space: nowrap; }

/* ─── Product preview (light CRM) ─── */
.hero-visual {
  position: relative;
  perspective: 1200px;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}

@media (min-width: 960px) {
  .hero-visual {
    max-width: none;
    margin: 0;
  }
}

.mockup-glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(ellipse at center, rgba(10, 102, 216, 0.35), transparent 60%);
  z-index: -1;
}

.product-frame {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255,255,255,0.1);
  transform: rotateY(-4deg) rotateX(2deg);
  transition: transform 0.35s ease;
}

.product-frame:hover { transform: rotateY(-2deg) rotateX(1deg); }

.product-frame-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #eef2f8;
  border-bottom: 1px solid #e8edf5;
}

.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background: #ef4444; }
.dot.yellow { background: #eab308; }
.dot.green { background: #22c55e; }

.product-frame-url {
  margin-left: 10px;
  font-size: 0.72rem;
  color: #6b7280;
}

.crm-preview {
  display: flex;
  min-height: 340px;
  background: #f5f7fb;
  font-size: 11px;
  color: #111827;
}

.crm-sidebar {
  width: 130px;
  background: #fff;
  border-right: 1px solid #e8edf5;
  padding: 14px 10px;
}

.crm-brand-mini {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 10px;
  margin-bottom: 14px;
  color: #0A66D8;
}

.crm-brand-text { line-height: 1.2; }

.crm-logo-dot {
  width: 22px;
  height: 22px;
  border-radius: 8px;
  background: linear-gradient(135deg, #0A66D8, #0ea5e9);
  flex-shrink: 0;
}

.crm-nav { display: grid; gap: 4px; }

.crm-nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  color: #6b7280;
  font-weight: 600;
  font-size: 10px;
}

.crm-nav-abbr {
  display: none;
  width: 100%;
  text-align: center;
  font-size: 13px;
  line-height: 1;
}

.crm-nav-label { line-height: 1.2; }

.crm-nav-item.active {
  background: #0A66D8;
  color: white;
}

.crm-main { flex: 1; padding: 14px; }

.crm-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.crm-greeting { font-weight: 700; font-size: 13px; }
.crm-date { font-size: 10px; color: #6b7280; }

.crm-cta-fake {
  background: #0A66D8;
  color: white;
  padding: 6px 10px;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 700;
}

.crm-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.crm-kpi {
  background: white;
  border: 1px solid #e8edf5;
  border-radius: 12px;
  padding: 10px;
}

.crm-kpi.highlight { border-color: #bfdbfe; background: #eff6ff; }
.crm-kpi small { display: block; font-size: 9px; color: #6b7280; text-transform: uppercase; font-weight: 700; }
.crm-kpi strong { display: block; font-size: 14px; margin-top: 2px; }
.crm-kpi em { font-size: 9px; color: #0A66D8; font-style: normal; font-weight: 700; }
.crm-kpi em.green { color: #16a34a; }

.crm-chart-wrap {
  background: white;
  border: 1px solid #e8edf5;
  border-radius: 12px;
  padding: 10px;
  margin-bottom: 10px;
}

.crm-chart-label { font-size: 9px; color: #6b7280; font-weight: 700; text-transform: uppercase; margin-bottom: 8px; }

.crm-bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 56px;
}

.crm-bars div {
  flex: 1;
  height: var(--h);
  background: #dbeafe;
  border-radius: 4px 4px 0 0;
  animation: growBar 1s ease forwards;
  transform-origin: bottom;
}

.crm-bars div.today { background: linear-gradient(to top, #0A66D8, #38bdf8); }

.crm-orders-list { display: grid; gap: 5px; }

.crm-order-row {
  display: grid;
  grid-template-columns: 36px 1fr auto auto;
  gap: 6px;
  align-items: center;
  background: white;
  border: 1px solid #e8edf5;
  border-radius: 10px;
  padding: 7px 10px;
  font-size: 10px;
}

.crm-order-row span:first-child { color: #6b7280; font-weight: 700; }
.crm-order-row span:last-child { font-weight: 700; text-align: right; }

.tag {
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
}

.tag.ready { background: #dcfce7; color: #166534; }
.tag.work { background: #dbeafe; color: #1d4ed8; }
.tag.wait { background: #fef3c7; color: #92400e; }

@media (max-width: 959px) {
  .crm-sidebar {
    width: 52px;
    padding: 10px 6px;
    flex-shrink: 0;
  }

  .crm-brand-mini {
    flex-direction: column;
    gap: 4px;
    margin-bottom: 10px;
    text-align: center;
  }

  .crm-brand-text { display: none; }

  .crm-logo-dot {
    width: 24px;
    height: 24px;
    margin: 0 auto;
  }

  .crm-nav { gap: 3px; }

  .crm-nav-item {
    flex-direction: column;
    justify-content: center;
    padding: 7px 4px;
    gap: 0;
  }

  .crm-nav-label { display: none; }

  .crm-nav-abbr {
    display: block;
    font-size: 12px;
  }

  .crm-nav-item.active .crm-nav-abbr {
    color: white;
  }

  .crm-main { padding: 10px; min-width: 0; }

  .crm-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
  .crm-kpi { padding: 6px; }
  .crm-kpi strong { font-size: 11px; }
  .crm-order-row { grid-template-columns: 28px 1fr auto; font-size: 9px; }
  .crm-order-row span:nth-child(4) { display: none; }
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(15, 20, 35, 0.95);
  border: 1px solid var(--border);
  border-radius: 14px;
  font-size: 0.8rem;
  box-shadow: 0 16px 32px rgba(0,0,0,0.3);
  animation: floatCard 14s ease-in-out infinite;
}

.float-icon {
  width: 32px; height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  font-weight: 700;
}

.float-card-1 { top: 4%; right: 0; animation-delay: 0s; }
.float-card-2 { bottom: 8%; left: 0; animation-delay: -2s; }

@media (max-width: 959px) {
  .float-card { display: none; }
  .product-frame {
    transform: none !important;
  }
  .product-frame:hover { transform: none !important; }
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

@keyframes growBar {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

/* ─── Marquee ─── */
.marquee-wrap {
  overflow: hidden;
  border-block: 1px solid var(--border);
  padding: 14px 0;
  background: rgba(255,255,255,0.02);
}

.marquee {
  display: flex;
  gap: 32px;
  width: max-content;
  animation: marquee 80s linear infinite;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ─── ROI ─── */
.roi {
  padding: 60px 24px;
  max-width: 800px;
  margin: 0 auto;
}

.roi-card {
  text-align: center;
  padding: 40px 28px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.08), rgba(59, 130, 246, 0.08));
  border: 1px solid rgba(52, 211, 153, 0.2);
}

.roi-card h2 { font-size: 1.6rem; margin-bottom: 24px; }
.roi-card > p { color: var(--muted); margin-top: 20px; font-size: 0.95rem; }

.roi-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 640px) { .roi-grid { grid-template-columns: repeat(3, 1fr); } }

.roi-item {
  padding: 20px;
  border-radius: 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
}

.roi-item.bad { border-color: rgba(239, 68, 68, 0.3); }
.roi-item.good { border-color: rgba(59, 130, 246, 0.3); }
.roi-item.highlight {
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.15), rgba(52, 211, 153, 0.05));
  border-color: rgba(52, 211, 153, 0.4);
}

.roi-label { display: block; font-size: 0.8rem; color: var(--muted); margin-bottom: 6px; }
.roi-value { font-size: 1.5rem; font-weight: 800; }
.roi-item.highlight .roi-value { color: var(--success); }

.roi-calc {
  max-width: 420px;
  margin: 0 auto;
  text-align: left;
}

.roi-calc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 12px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
}

.roi-calc-row--crm {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(52, 211, 153, 0.08));
  border-color: rgba(59, 130, 246, 0.35);
}

.roi-calc-label { font-size: 0.9rem; color: var(--muted); }
.roi-calc-value { font-size: 1.05rem; font-weight: 700; white-space: nowrap; }
.roi-calc-op { text-align: center; color: var(--muted); font-size: 0.85rem; padding: 4px 0; }
.roi-calc-divider { height: 1px; background: var(--border); margin: 12px 0; }

/* ─── Client base ─── */
.client-base {
  padding: 80px 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.client-base-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) { .client-base-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .client-base-grid { grid-template-columns: repeat(3, 1fr); } }

.client-base-card {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
}

.client-base-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.client-base-card p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* ─── Compare table ─── */
.compare {
  padding: 80px 24px;
  max-width: 800px;
  margin: 0 auto;
}

.compare-table-wrap { overflow-x: auto; }

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.compare-table th,
.compare-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.compare-table th {
  color: var(--muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.compare-table .highlight-col { color: var(--accent); }
.compare-table .no { color: #f87171; }
.compare-table .yes { color: var(--success); font-weight: 600; }

/* ─── Screens ─── */
.screens {
  padding: 80px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.section-sub {
  color: var(--muted);
  margin-top: 12px;
  font-size: 1rem;
}

.screens-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) { .screens-grid { grid-template-columns: repeat(3, 1fr); } }

.screen-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
}

.screen-label {
  padding: 12px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  border-bottom: 1px solid var(--border);
}

.screen-mock {
  padding: 16px;
  background: #f5f7fb;
  color: #111827;
  min-height: 200px;
  font-size: 12px;
}

.sm-row { display: grid; gap: 4px; margin-bottom: 10px; }
.sm-row.cols2 { grid-template-columns: 1fr 1fr 1fr 1fr; gap: 8px; }
.sm-row label { font-size: 9px; color: #6b7280; text-transform: uppercase; font-weight: 800; }
.sm-field {
  background: white;
  border: 1px solid #e8edf5;
  border-radius: 8px;
  padding: 8px;
  font-weight: 600;
}

.sm-items {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px;
  margin: 12px 0;
  padding: 10px;
  background: white;
  border-radius: 10px;
  border: 1px solid #e8edf5;
}

.sm-total { text-align: right; font-size: 14px; margin-top: 8px; }

.client-mock { display: grid; gap: 10px; }
.sm-avatar {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: #0A66D8;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
}

.sm-anam, .sm-history {
  padding: 10px;
  background: white;
  border-radius: 10px;
  border: 1px solid #e8edf5;
  font-size: 11px;
  line-height: 1.4;
}

.wh-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 12px;
  background: white;
  border-radius: 10px;
  border: 1px solid #e8edf5;
  margin-bottom: 8px;
}

.wh-row .ok { color: #16a34a; font-weight: 700; }
.wh-row.warn { border-color: #fde68a; }
.wh-row .low { color: #d97706; font-weight: 700; }

.screens-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 32px;
}

/* ─── App screens (real screenshots) ─── */
.app-screens {
  padding: 80px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.app-screens-desktop { display: none; }

@media (min-width: 960px) {
  .app-screens-desktop { display: block; }
  .app-screens-mobile { display: none; }
}

.app-screens-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.app-tab {
  font: inherit;
  cursor: pointer;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--muted);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.app-tab:hover { color: var(--text); border-color: rgba(59, 130, 246, 0.35); }

.app-tab.active {
  background: rgba(59, 130, 246, 0.18);
  border-color: rgba(59, 130, 246, 0.45);
  color: #bfdbfe;
}

.app-screens-panel {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 28px;
  align-items: start;
}

.app-screens-frame-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.45);
  background: #fff;
}

.app-screens-frame-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #eef2f8;
  border-bottom: 1px solid #e8edf5;
  font-size: 0.75rem;
  font-weight: 600;
  color: #6b7280;
}

.app-screens-frame-title { margin-left: 8px; }

.app-screens-frame {
  position: relative;
  background: #f5f7fb;
  max-height: min(72vh, 640px);
  overflow: auto;
  overscroll-behavior: contain;
}

.app-screen-img {
  display: none;
  width: 100%;
  height: auto;
  vertical-align: top;
}

.app-screen-img.active { display: block; }

.app-screens-benefits {
  padding: 28px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
}

.app-benefits-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
}

.app-benefits-list {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.app-benefits-list li::before {
  content: "✓ ";
  color: var(--success);
  font-weight: 800;
}

.app-screens-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 36px;
}

.app-screens-mobile {
  margin-top: 8px;
  margin-left: -24px;
  margin-right: -24px;
  padding: 0 24px;
  overflow: hidden;
}

.app-screens-mobile-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
  scrollbar-width: none;
}

.app-screens-mobile-track::-webkit-scrollbar { display: none; }

.app-mobile-card {
  flex: 0 0 min(88vw, 340px);
  scroll-snap-align: start;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  padding: 14px;
  display: grid;
  gap: 10px;
}

.app-mobile-card h3 {
  font-size: 1rem;
  font-weight: 800;
}

.app-mobile-card p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.4;
}

.app-mobile-frame {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #fff;
  max-height: 220px;
  overflow-y: auto;
}

.app-mobile-frame--doc { max-height: 260px; }

.app-mobile-frame img {
  display: block;
  width: 100%;
  height: auto;
}

@media (min-width: 960px) {
  .app-screens-mobile { display: none; }
}


/* ─── Founder ─── */
.founder {
  padding: 0 24px 80px;
  max-width: 720px;
  margin: 0 auto;
}

.founder-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
}

.founder-avatar {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.founder-card h3 { margin-bottom: 8px; }
.founder-card p { color: var(--muted); font-size: 0.95rem; margin-bottom: 16px; }

/* ─── Sticky CTA (mobile) ─── */
.sticky-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 90;
  display: flex;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(6, 8, 15, 0.92);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  transform: translateY(100%);
  transition: transform 0.3s;
}

.sticky-cta.visible { transform: translateY(0); }
.sticky-cta .btn { flex: 1; padding: 12px; font-size: 0.85rem; }

@media (min-width: 768px) { .sticky-cta { display: none; } }

body { padding-bottom: 88px; }
@media (min-width: 768px) { body { padding-bottom: 0; } }

body.seo-body { padding-bottom: 24px; }

html, body {
  width: 100%;
  max-width: 100%;
}

.pricing-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.feature-num {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
  line-height: 1;
}

.footer-links { display: flex; gap: 16px; }

/* ─── Sections ─── */
.section-head { text-align: center; margin-bottom: 48px; }
.section-head h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 12px;
}

.features, .steps, .faq {
  padding: 80px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .features-grid { grid-template-columns: repeat(3, 1fr); } }

.feature-card {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 16px 40px rgba(59, 130, 246, 0.1);
}

.feature-icon { font-size: 2rem; margin-bottom: 16px; }
.feature-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.feature-card p { font-size: 0.9rem; color: var(--muted); }

.steps-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) { .steps-row { grid-template-columns: repeat(3, 1fr); } }

.step {
  text-align: center;
  padding: 32px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
}

.step-num {
  display: inline-flex;
  width: 48px; height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.step h4 { margin-bottom: 8px; }
.step p { font-size: 0.9rem; color: var(--muted); }

/* ─── Pricing ─── */
.pricing {
  padding: 80px 24px;
  max-width: 960px;
  margin: 0 auto;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .pricing-grid { grid-template-columns: 1fr 1fr; align-items: stretch; }
}

.pricing-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  height: 100%;
}

.pricing-badge--save {
  background: rgba(52, 211, 153, 0.18);
  color: #6ee7b7;
}

.trial-banner {
  margin-top: 28px;
  padding: 16px 20px;
  border-radius: 16px;
  text-align: center;
  font-size: 0.95rem;
  color: var(--muted);
  background: rgba(52, 211, 153, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.25);
}

.trial-banner strong { color: var(--success); }

.pricing-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.founder-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 959px) {
  .orb-3 { display: none; }
  .orb { animation-duration: 60s; }
  .pricing-glow { animation: none; }
  .btn-shimmer::after { animation: none; }
}

.pricing-glow {
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, var(--primary), var(--accent), #a78bfa);
  border-radius: 26px;
  z-index: 0;
  opacity: 0.85;
}

.pricing-card--year .pricing-glow {
  animation: rotateGlow 16s linear infinite;
}

@keyframes rotateGlow {
  0% { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(360deg); }
}

.pricing-inner {
  position: relative;
  z-index: 1;
  margin: 2px;
  padding: 40px 32px;
  border-radius: 22px;
  background: #0c1019;
  text-align: center;
}

.price { margin: 16px 0 8px; }
.price-amount { font-size: 3.5rem; font-weight: 800; letter-spacing: -0.03em; }
.price-currency { font-size: 1.2rem; color: var(--muted); font-weight: 600; }
.price-note { color: var(--muted); font-size: 0.9rem; margin-bottom: 24px; }

.price-features {
  list-style: none;
  text-align: left;
  margin-bottom: 28px;
}

.price-features li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--muted);
}

.price-features li:last-child { border: none; }

.pricing-cta { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.price-guarantee { font-size: 0.85rem; color: var(--muted); }

/* ─── Testimonials ─── */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) { .testimonials-grid { grid-template-columns: 1fr 1fr; } }

.testimonial {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  font-style: italic;
}

.testimonial p { font-size: 1rem; color: var(--text); margin-bottom: 16px; }
.testimonial footer { font-size: 0.85rem; color: var(--muted); font-style: normal; }

/* ─── FAQ ─── */
.faq-list { max-width: 640px; margin: 0 auto; }

.faq-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 12px;
  background: var(--bg-elevated);
  overflow: hidden;
}

.faq-item summary {
  padding: 18px 20px;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--accent); font-size: 1.2rem; }
.faq-item[open] summary::after { content: "−"; }

.faq-item p {
  padding: 0 20px 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ─── Contact ─── */
.contact {
  padding: 80px 24px 120px;
  max-width: 640px;
  margin: 0 auto;
}

.contact-card {
  text-align: center;
  padding: 48px 32px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.15), rgba(14, 165, 233, 0.1));
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.contact-card h2 { font-size: 1.8rem; margin-bottom: 12px; }
.contact-card > p { color: var(--muted); margin-bottom: 28px; }

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.contact-alt {
  font-size: 0.85rem;
  color: var(--muted);
}

.contact-alt a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (min-width: 480px) {
  .contact-actions { flex-direction: row; justify-content: center; }
}

.contact-demo-link {
  display: inline-block;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 600;
}

.contact-demo-link:hover { text-decoration: underline; }

/* ─── SEO pages ─── */
.seo-body { padding-bottom: 40px; }

.seo-main {
  max-width: 720px;
  margin: 0 auto;
  padding: 100px 24px 60px;
}

.seo-breadcrumb {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 24px;
}

.seo-breadcrumb a { color: var(--accent); }

.seo-article h1 {
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  line-height: 1.2;
  margin-bottom: 16px;
}

.seo-lead {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 32px;
  line-height: 1.65;
}

.seo-article h2 {
  font-size: 1.25rem;
  margin: 32px 0 12px;
}

.seo-article ul {
  margin: 0 0 16px 1.2rem;
  color: var(--muted);
}

.seo-article li { margin-bottom: 8px; }

.seo-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 40px 0 16px;
}

.seo-cta .btn {
  min-width: 148px;
}

.seo-cta-note {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0 0 32px;
  line-height: 1.6;
}

.seo-cta-note a {
  color: var(--accent);
  margin: 0 0.15em;
}

.seo-faq { margin-top: 8px; }

.seo-related {
  font-size: 0.9rem;
  color: var(--muted);
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.seo-related a { color: var(--accent); margin: 0 4px; }

.seo-contacts-list {
  list-style: none;
  margin: 24px 0;
  padding: 0;
}

.seo-contacts-list li { margin-bottom: 12px; }

/* ─── Footer ─── */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 48px;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--muted);
}

.footer a:hover { color: var(--text); }

/* ─── Reveal animations ─── */
.reveal {
  opacity: 1;
  transform: none;
}

html.js .reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

html.js .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay { transition-delay: 0.12s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  html.js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ─── v12: presentation-aligned landing ─── */
.hero-brand {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text);
}

.hero-kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
}

.hero--product .hero-sub {
  max-width: 36ch;
}

.product-frame--shot {
  overflow: hidden;
}

.hero-shot {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  object-position: top center;
  background: #f5f7fb;
}

.section-head h2 {
  font-family: var(--font-display);
  font-weight: 700;
}

.pain,
.modules,
.flow,
.why {
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 24px;
}

.pain-grid,
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 768px) {
  .pain-grid,
  .why-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

.pain-item,
.why-card,
.module-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px 24px;
}

.pain-num {
  display: block;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 14px;
}

.pain-item h3,
.why-card h3,
.module-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  line-height: 1.25;
}

.pain-item p,
.why-card p,
.module-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.modules-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (min-width: 900px) {
  .modules-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
}

.module-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  background: rgba(59, 130, 246, 0.12);
}

.flow-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 900px) {
  .flow-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
}

.flow-card {
  margin: 0;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.flow-shot {
  aspect-ratio: 16 / 9;
  background: #eef2f8;
  overflow: hidden;
}

.flow-shot img,
.flow-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
}

.flow-card figcaption {
  padding: 16px 18px 18px;
  display: grid;
  gap: 4px;
}

.flow-card strong {
  font-size: 1rem;
  font-weight: 800;
}

.flow-card span {
  color: var(--muted);
  font-size: 0.9rem;
}

.app-screens-frame {
  max-height: none;
  overflow: hidden;
  background: #eef2f8;
}

.app-screen-img {
  aspect-ratio: 16 / 9;
  object-fit: contain;
  object-position: top center;
  background: #eef2f8;
}

.app-mobile-frame {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #eef2f8;
}

.app-mobile-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.contact-card h2 {
  font-family: var(--font-display);
  font-weight: 700;
}
