:root {
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --surface: #ffffff;
  --surface-2: #f1f5f9;
  --ink: #0f172a;
  --muted: #475569;
  --border: rgba(15, 23, 42, 0.1);
  --primary: #0f766e;
  --primary-hover: #115e59;
  --primary-soft: rgba(15, 118, 110, 0.1);
  --accent: #e67e22;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 30px -10px rgba(15, 23, 42, 0.12);
  --shadow-lg: 0 24px 60px -18px rgba(15, 23, 42, 0.2);
  --radius: 16px;
}

html.dark {
  --bg: #090d16;
  --bg-soft: #0f1523;
  --surface: #131b2c;
  --surface-2: #1c263b;
  --ink: #f8fafc;
  --muted: #94a3b8;
  --border: rgba(255, 255, 255, 0.1);
  --primary: #14b8a6;
  --primary-hover: #2dd4bf;
  --primary-soft: rgba(20, 184, 166, 0.14);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 12px 32px -10px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 28px 65px -16px rgba(0, 0, 0, 0.65);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 70px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; shrink: 0; }
.brand img { height: 32px; width: auto; }
.brand-dark { display: none; }
html.dark .brand-light { display: none; }
html.dark .brand-dark { display: block; }

.nav-links {
  display: none;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}
.nav-links a:hover,
.nav-links a.is-active { color: var(--primary); }
.nav-links a.is-active { position: relative; }
.nav-links a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: var(--primary);
}

.mobile-menu-btn { display: inline-flex; }
.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(9, 13, 22, 0.56);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.mobile-drawer-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  width: min(310px, 84vw);
  background: var(--surface);
  border-left: 1px solid var(--border);
  box-shadow: -12px 0 36px rgba(2, 6, 23, 0.22);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.mobile-drawer.is-open {
  transform: translateX(0);
}
.mobile-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
}
.mobile-drawer-head .brand img { height: 28px; }
.mobile-drawer nav {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 14px;
}
.mobile-drawer nav a {
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  transition: background 0.15s, color 0.15s;
}
.mobile-drawer nav a.is-active,
.mobile-drawer nav a:hover {
  background: var(--primary-soft);
  color: var(--primary);
}
.mobile-drawer-foot {
  padding: 16px;
  border-top: 1px solid var(--border);
  display: grid;
  gap: 10px;
}

/* Built-in Admin Panel Preview Mockup */
.panel-mockup {
  background: var(--surface);
  color: var(--ink);
  font-size: 12px;
}
.pm-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 14px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}
.pm-dots { display: inline-flex; gap: 6px; }
.pm-dots i {
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--border);
}
.pm-dots i:nth-child(1) { background: #ef4444; }
.pm-dots i:nth-child(2) { background: #f59e0b; }
.pm-dots i:nth-child(3) { background: #10b981; }
.pm-url {
  flex: 1;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 4px 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pm-badge {
  font-size: 11px;
  font-weight: 700;
  color: #10b981;
  white-space: nowrap;
}
.pm-body {
  display: grid;
  grid-template-columns: 120px 1fr;
  min-height: 290px;
}
.pm-side {
  padding: 12px 8px;
  background: var(--bg-soft);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pm-nav-item {
  padding: 7px 9px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
}
.pm-nav-item.is-active {
  background: var(--primary-soft);
  color: var(--primary);
}
.pm-main {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pm-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.pm-head strong { display: block; font-size: 13px; font-weight: 800; }
.pm-head > div span { display: block; font-size: 11px; color: var(--muted); }
.pm-save {
  padding: 6px 12px;
  border-radius: 8px;
  background: var(--primary);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}
.pm-colors { display: flex; gap: 7px; align-items: center; }
.pm-colors span {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid transparent;
}
.pm-colors span.is-picked {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.pm-themes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.pm-theme {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-soft);
  text-align: center;
}
.pm-theme.is-selected {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--primary-soft);
}
.pm-theme img {
  width: 100%;
  aspect-ratio: 390 / 480;
  object-fit: cover;
  object-position: top center;
}
.pm-theme span {
  display: block;
  padding: 6px 4px;
  font-size: 11px;
  font-weight: 700;
}
@media (max-width: 480px) {
  .pm-body { grid-template-columns: 1fr; }
  .pm-side { display: none; }
}

/* Multi-page Views */
.page-view { display: none; }
.page-view.is-active { display: block; }

.page-hero {
  padding: 52px 0 36px;
  background:
    radial-gradient(60% 90% at 85% 0%, color-mix(in srgb, var(--primary) 12%, transparent), transparent 70%),
    var(--bg-soft);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(1.85rem, 3.2vw, 2.55rem);
  line-height: 1.14;
  letter-spacing: -0.025em;
  font-weight: 800;
}
.page-hero p {
  margin: 0;
  max-width: 640px;
  color: var(--muted);
  font-size: 15.5px;
}

.legal-card {
  max-width: 820px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.legal-card h2 { margin: 24px 0 8px; font-size: 18px; font-weight: 800; }
.legal-card h2:first-child { margin-top: 0; }
.legal-card p, .legal-card li { color: var(--muted); font-size: 14.5px; line-height: 1.75; }
.legal-card ul { padding-left: 20px; margin: 8px 0 14px; }

.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, #115e59 100%);
  color: #ffffff;
  border-radius: 24px;
  padding: 36px 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.cta-banner h2 { margin: 0 0 6px; font-size: clamp(1.35rem, 2.4vw, 1.85rem); font-weight: 800; }
.cta-banner p { margin: 0; color: rgba(255, 255, 255, 0.86); font-size: 15px; max-width: 540px; }
.btn-white { background: #ffffff; color: #0f766e; border-color: #ffffff; }
.btn-white:hover { background: #f0fdfa; }
.btn-ghost-white {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.55);
}
.btn-ghost-white:hover {
  background: rgba(255, 255, 255, 0.24);
  border-color: #ffffff;
}

.header-actions { display: flex; align-items: center; gap: 10px; }

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  transition: background .15s, border-color .15s;
}
.icon-btn:hover { background: var(--surface-2); border-color: var(--primary); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s, background .15s, border-color .15s, box-shadow .15s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 8px 20px -6px color-mix(in srgb, var(--primary) 55%, transparent);
}
.btn-primary:hover { background: var(--primary-hover); }
.btn-outline {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--border);
}
.btn-outline:hover { background: var(--surface-2); border-color: var(--primary); }
.btn-sm { padding: 8px 14px; font-size: 13px; border-radius: 10px; }
.btn-lg { padding: 14px 26px; font-size: 15px; border-radius: 14px; }
.hide-mobile { display: none; }

/* Hero */
.hero {
  position: relative;
  padding: 48px 0 64px;
  background:
    radial-gradient(60% 50% at 80% 10%, color-mix(in srgb, var(--primary) 14%, transparent), transparent 70%),
    radial-gradient(50% 40% at 15% 20%, rgba(230, 126, 34, 0.1), transparent 70%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}
.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
}
.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4.4vw, 3.35rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.hero h1 span { color: var(--primary); }
.hero-lead {
  margin: 0 0 28px;
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  color: var(--muted);
  max-width: 560px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.stat-val { font-size: 1.35rem; font-weight: 800; line-height: 1.2; }
.stat-lbl { font-size: 12px; color: var(--muted); }

/* Hero Live Phone Showcase */
.hero-stage { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.phone-bezel {
  width: 310px;
  max-width: 100%;
  height: 580px;
  border-radius: 40px;
  border: 10px solid #1e293b;
  background: #0f172a;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.phone-bezel iframe { width: 100%; height: 100%; border: 0; background: #fff; }
.hero-theme-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.chip {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: all .15s;
}
.chip:hover { border-color: var(--primary); color: var(--ink); }
.chip.is-active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

/* Sections */
.section { padding: 72px 0; }
.section-soft { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head {
  max-width: 700px;
  margin: 0 auto 40px;
  text-align: center;
}
.section-kicker {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  margin-bottom: 10px;
}
.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.18;
}
.section-head p { margin: 0; color: var(--muted); font-size: 15px; }

/* Demo Catalog Controls */
.demo-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 28px;
}
.demo-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.demo-search-wrap {
  position: relative;
  flex: 1 1 220px;
  max-width: 300px;
}
.demo-search {
  width: 100%;
  padding: 10px 14px 10px 38px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 14px;
  outline: none;
}
.demo-search:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.demo-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--muted);
  pointer-events: none;
}

.demo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.demo-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.demo-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: color-mix(in srgb, var(--primary) 50%, var(--border));
}
.demo-thumb {
  position: relative;
  aspect-ratio: 390 / 500;
  overflow: hidden;
  background: #111827;
  cursor: pointer;
}
.demo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform .35s ease;
}
.demo-card:hover .demo-thumb img { transform: scale(1.03); }
.demo-swatch {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}
.demo-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 6px;
}
.demo-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
}
.demo-tag {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.demo-actions {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}
.demo-actions .btn { flex: 1; padding: 8px 10px; font-size: 12px; }

/* Features Bento */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.feature-card h3 { margin: 0 0 8px; font-size: 17px; font-weight: 700; }
.feature-card p { margin: 0; font-size: 14px; color: var(--muted); }

/* Panel Preview */
.panel-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}
.panel-frame {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  background: var(--surface);
}
.check-list { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 12px; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
}
.check-badge {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 14px;
}
.step-card h3 { margin: 0 0 8px; font-size: 17px; font-weight: 700; }
.step-card p { margin: 0; font-size: 14px; color: var(--muted); }

/* Forms & Contact */
.forms-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow-md);
}
.form-tabs {
  display: inline-flex;
  background: var(--surface-2);
  padding: 4px;
  border-radius: 12px;
  margin-bottom: 22px;
  width: 100%;
}
.form-tab {
  flex: 1;
  padding: 10px 14px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
}
.form-tab.is-active {
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.field-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field-row .field { margin-bottom: 0; }
.field label { font-size: 13px; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: 11px;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  font-size: 14px;
  outline: none;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}
.form-alert {
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 14px;
  display: none;
}
.form-alert.is-success { display: block; background: rgba(16, 185, 129, 0.14); color: #059669; border: 1px solid rgba(16, 185, 129, 0.3); }
.form-alert.is-error { display: block; background: rgba(239, 68, 68, 0.12); color: #dc2626; border: 1px solid rgba(239, 68, 68, 0.3); }

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  display: grid;
  gap: 18px;
}
.contact-item { display: flex; gap: 12px; align-items: flex-start; }
.contact-item strong { display: block; font-size: 14px; }
.contact-item span, .contact-item a { font-size: 14px; color: var(--muted); }
.contact-item a:hover { color: var(--primary); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0 32px;
  background: var(--bg-soft);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 13px;
  color: var(--muted);
}
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a:hover, .footer-links button:hover { color: var(--ink); }
.link-btn { background: none; border: 0; padding: 0; cursor: pointer; color: inherit; font-size: inherit; }

/* Live Demo Modal & Legal Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(9, 13, 22, 0.72);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.modal-backdrop.is-open { display: flex; }
.modal-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  width: 100%;
  max-width: 440px;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}
.modal-title { font-size: 15px; font-weight: 800; margin: 0; }
.modal-sub { font-size: 12px; color: var(--muted); margin: 2px 0 0; }
.modal-body { padding: 16px; overflow-y: auto; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.modal-phone {
  width: 100%;
  max-width: 375px;
  height: 68vh;
  max-height: 640px;
  border-radius: 28px;
  border: 8px solid #1e293b;
  overflow: hidden;
  background: #0f172a;
}
.modal-phone iframe { width: 100%; height: 100%; border: 0; background: #fff; }
.modal-foot {
  display: flex;
  gap: 10px;
  padding: 14px 18px;
  border-top: 1px solid var(--border);
}
.modal-foot .btn { flex: 1; }
.hidden { display: none !important; }

/* Responsive Breakpoints */
@media (min-width: 640px) {
  .hide-mobile { display: inline-flex; }
  .hero-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .demo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .field-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .nav-links { display: flex; }
  .mobile-menu-btn, .mobile-drawer, .mobile-drawer-backdrop { display: none !important; }
  .hero { padding: 64px 0 84px; }
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 48px; }
  .demo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
  .features-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .panel-grid { grid-template-columns: 1.15fr 0.85fr; gap: 48px; }
  .forms-grid { grid-template-columns: 1.35fr 0.65fr; gap: 32px; }
}
