:root {
  --bg: #f4f7fc;
  --bg-soft: #eef4ff;
  --surface: #ffffff;
  --surface-2: #f8fbff;
  --text: #13233f;
  --muted: #64748b;
  --line: #dbe5f2;
  --brand: #4a67ff;
  --brand-2: #55c3ff;
  --brand-soft: rgba(74, 103, 255, 0.10);
  --success: #11b497;
  --shadow: 0 18px 45px rgba(16, 33, 66, 0.08);
  --shadow-soft: 0 12px 28px rgba(16, 33, 66, 0.06);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: 1220px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background:
    radial-gradient(circle at top left, rgba(74,103,255,0.12), transparent 24%),
    radial-gradient(circle at 90% 0%, rgba(85,195,255,0.12), transparent 20%),
    linear-gradient(180deg, #f9fbff 0%, #f4f7fc 45%, #f8fbff 100%);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(19,35,63,0.06);
}
.header-row {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand img { width: 220px; max-width: 100%; height: auto; }
.nav-group, .nav-links, .header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.nav-group { justify-content: flex-end; }
.nav-links a {
  font-size: 14px;
  font-weight: 700;
  color: #44536f;
  padding: 8px 0;
}
.nav-links a.active,
.nav-links a:hover,
.link-inline { color: var(--brand); }
.lang-switch {
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  background: #f1f5ff;
  border: 1px solid rgba(74, 103, 255, 0.12);
  border-radius: 999px;
}
.lang-switch button {
  border: 0;
  background: transparent;
  color: #52617b;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 800;
  border-radius: 999px;
  cursor: pointer;
}
.lang-switch button.active {
  background: #fff;
  color: var(--brand);
  box-shadow: 0 8px 18px rgba(74,103,255,0.16);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 18px 35px rgba(74,103,255,0.22);
}
.btn-secondary {
  color: var(--brand);
  background: #edf2ff;
  border-color: rgba(74,103,255,0.12);
}
.btn-white {
  color: var(--text);
  background: #fff;
  border-color: rgba(19,35,63,0.08);
  box-shadow: var(--shadow-soft);
}
.btn-block { width: 100%; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(17,180,151,0.10);
  border: 1px solid rgba(17,180,151,0.15);
  color: #107e6c;
  font-size: 13px;
  font-weight: 800;
}
.hero, .page-hero {
  padding: 78px 0 30px;
  position: relative;
}
.hero::after, .page-hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,0.55));
  pointer-events: none;
}
.hero-grid, .split-grid, .card-grid, .plans-grid, .metrics, .steps-grid, .check-grid, .contact-grid, .stack-grid {
  display: grid;
  gap: 24px;
}
.hero-grid {
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
}
.split-grid { grid-template-columns: 1fr 1fr; align-items: center; }
.card-grid, .plans-grid, .contact-grid, .check-grid, .steps-grid { grid-template-columns: repeat(3, 1fr); }
.metrics { grid-template-columns: repeat(4, 1fr); }
.stack-grid { grid-template-columns: 1.1fr 0.9fr; align-items: stretch; }
.hero-copy { position: relative; z-index: 1; }
.hero h1, .page-hero h1 {
  margin: 18px 0 16px;
  font-size: 64px;
  line-height: 1.02;
  letter-spacing: -0.05em;
  max-width: 720px;
}
.lead {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  max-width: 720px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.hero-card,
.card,
.pricing-card,
.info-card,
.metric,
.table-shell,
.demo-shell,
.cta-shell,
.showcase-shell,
.contact-shell,
.info-shell,
.faq-shell,
.preview-card,
.side-panel,
.step-card {
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(19,35,63,0.08);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}
.hero-card {
  padding: 28px;
  overflow: hidden;
  position: relative;
}
.hero-card::before {
  content: '';
  position: absolute;
  right: -40px;
  top: -40px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74,103,255,0.16), transparent 68%);
}
.small-caps {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 12px;
  color: #8091ab;
  font-weight: 800;
}
.hero-shell {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 18px;
  align-items: stretch;
}
.profile-preview {
  background: linear-gradient(180deg, #f5f9ff, #ffffff);
  border: 1px solid #dae6ff;
  border-radius: 28px;
  padding: 22px;
}
.profile-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.avatar {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}
.preview-lines { display: grid; gap: 10px; margin-bottom: 18px; }
.preview-line {
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, #dfe8fb, #eff5ff);
}
.preview-line.long { width: 92%; }
.preview-line.mid { width: 72%; }
.preview-line.short { width: 46%; }
.action-stack, .action-row {
  display: grid;
  gap: 10px;
}
.action-row { grid-template-columns: 1fr 1fr; }
.action-pill {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  font-weight: 800;
  color: #1f3260;
  background: #edf3ff;
  border: 1px solid #d7e4ff;
}
.qr-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: 22px;
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff, #f7fbff);
  border: 1px solid #dbe5f2;
}
.qr-panel img {
  width: min(100%, 250px);
  margin: 0 auto;
  border-radius: 20px;
  background: #fff;
  padding: 8px;
}
.url-box {
  padding: 14px 16px;
  border-radius: 14px;
  background: #f4f7ff;
  border: 1px solid #dfe7fb;
  color: #37507d;
  font-size: 14px;
  word-break: break-all;
}
.metrics {
  margin-top: 28px;
}
.metric {
  padding: 20px;
  border-radius: 20px;
}
.metric strong {
  display: block;
  font-size: 30px;
  line-height: 1;
  margin-bottom: 6px;
}
.metric span, .muted, .card p, .pricing-card p, .info-card p, .step-card p, .contact-shell p, .info-shell p, .faq-shell p {
  color: var(--muted);
}
.section { padding: 74px 0; }
.section.alt { background: linear-gradient(180deg, rgba(237,243,255,0.72), rgba(255,255,255,0.55)); }
.section-head { max-width: 760px; margin-bottom: 28px; }
.section-head h2 {
  margin: 0 0 10px;
  font-size: 42px;
  line-height: 1.08;
  letter-spacing: -0.04em;
}
.section-head p { margin: 0; color: var(--muted); font-size: 17px; }
.card, .pricing-card, .info-card, .step-card, .contact-shell, .info-shell, .faq-shell { padding: 26px; }
.card-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  margin-bottom: 16px;
  font-weight: 800;
  color: var(--brand);
  background: var(--brand-soft);
}
.card h3, .pricing-card h3, .info-card h3, .step-card h3, .contact-shell h3, .info-shell h3 {
  margin: 0 0 10px;
  font-size: 22px;
}
.visual-frame {
  padding: 28px;
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff, #f4f8ff);
  border: 1px solid rgba(74,103,255,0.10);
  box-shadow: var(--shadow);
}
.visual-frame img {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}
.showcase-shell {
  padding: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
}
.mini-list, .feature-list, .pricing-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}
.mini-list li, .feature-list li, .pricing-list li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(19,35,63,0.07);
  color: #314565;
}
.mini-list li:last-child, .feature-list li:last-child, .pricing-list li:last-child { border-bottom: 0; }
.highlight {
  background: linear-gradient(135deg, rgba(74,103,255,0.09), rgba(85,195,255,0.10));
  border: 1px solid rgba(74,103,255,0.12);
}
.preview-card {
  padding: 0;
  overflow: hidden;
}
.preview-card .preview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(19,35,63,0.07);
  background: linear-gradient(180deg, #f8fbff, #ffffff);
}
.preview-screen {
  padding: 24px;
  display: grid;
  gap: 18px;
  background: #fff;
}
.preview-banner {
  min-height: 110px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(74,103,255,0.16), rgba(85,195,255,0.18));
}
.preview-contact {
  display: grid;
  gap: 12px;
}
.info-pill-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.info-pill {
  padding: 10px 14px;
  border-radius: 999px;
  background: #edf3ff;
  color: #35517d;
  font-size: 13px;
  font-weight: 700;
}
.plans-grid .pricing-card { position: relative; }
.pricing-card.popular {
  transform: translateY(-6px);
  border-color: rgba(74,103,255,0.16);
}
.badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(74,103,255,0.10);
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
}
.price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 16px 0 8px;
}
.price strong { font-size: 44px; line-height: 1; }
.table-shell {
  overflow: auto;
  padding: 8px;
}
table { width: 100%; border-collapse: collapse; min-width: 760px; }
th, td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid rgba(19,35,63,0.07);
}
th {
  background: #f7faff;
  color: #44536f;
  font-size: 14px;
}
tr:last-child td { border-bottom: 0; }
.notice {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(17,180,151,0.10);
  border: 1px solid rgba(17,180,151,0.14);
  color: #0f7a68;
}
.cta-shell, .demo-shell {
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer {
  padding: 28px 0 48px;
  color: var(--muted);
  font-size: 14px;
}
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.page-hero .lead { max-width: 860px; }
.info-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.contact-card-link {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand);
  font-weight: 800;
}
.centered {
  text-align: center;
}
@media (max-width: 1160px) {
  .hero-grid, .hero-shell, .split-grid, .showcase-shell, .stack-grid,
  .metrics, .card-grid, .plans-grid, .steps-grid, .check-grid, .contact-grid, .info-columns {
    grid-template-columns: 1fr;
  }
  .hero h1, .page-hero h1 { font-size: 50px; }
  .pricing-card.popular { transform: none; }
}
@media (max-width: 860px) {
  .header-row { align-items: flex-start; padding: 16px 0; }
  .nav-group { width: 100%; justify-content: space-between; }
}
@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .hero, .page-hero { padding-top: 48px; }
  .hero h1, .page-hero h1 { font-size: 38px; }
  .section { padding: 56px 0; }
  .section-head h2 { font-size: 32px; }
  .btn, .btn-block { width: 100%; }
  .hero-actions, .header-actions { width: 100%; }
  .showcase-shell, .hero-card, .card, .pricing-card, .info-card, .step-card, .contact-shell, .info-shell, .faq-shell, .cta-shell, .demo-shell {
    padding: 22px;
  }
}

/* v3 refinements */
.brand img { width: 290px; }
.hero-grid { align-items: stretch; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; }
.hero-stage {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.device-shot {
  width: min(100%, 520px);
  min-height: 500px;
  border-radius: 34px;
  padding: 28px 28px 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(240,246,255,0.92));
  border: 1px solid rgba(74,103,255,0.12);
  box-shadow: 0 24px 60px rgba(18, 40, 84, 0.12);
  position: relative;
  overflow: hidden;
}
.device-shot::before,
.device-shot::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.device-shot::before {
  width: 260px;
  height: 260px;
  right: -70px;
  top: -80px;
  background: radial-gradient(circle, rgba(85,195,255,0.22), transparent 68%);
}
.device-shot::after {
  width: 220px;
  height: 220px;
  left: -70px;
  bottom: -90px;
  background: radial-gradient(circle, rgba(74,103,255,0.16), transparent 70%);
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(19,35,63,0.08);
  box-shadow: var(--shadow-soft);
  font-size: 13px;
  font-weight: 800;
  color: #2d466f;
}
.hero-tag.top { position: absolute; top: 20px; left: 20px; }
.device-shot img {
  width: min(100%, 290px);
  margin: 38px auto 0;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 16px 40px rgba(15, 23, 42, 0.18));
}
.demo-float {
  position: absolute;
  right: 0;
  bottom: 18px;
  width: min(100%, 320px);
  z-index: 3;
}
.demo-float .qr-panel { box-shadow: 0 18px 40px rgba(18,40,84,0.16); }
.trust-strip {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(19,35,63,0.08);
  color: #304767;
  font-size: 13px;
  font-weight: 700;
  box-shadow: var(--shadow-soft);
}
.metrics.metrics-tight { margin-top: 22px; }
.showcase-shell.two-column-balanced { grid-template-columns: 0.95fr 1.05fr; }
.kv-bullets {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}
.kv-bullets .bullet {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(19,35,63,0.08);
  color: #304767;
}
.value-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 18px;
}
.value-chip {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.8);
  border: 1px solid rgba(19,35,63,0.08);
  box-shadow: var(--shadow-soft);
}
.value-chip strong {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
}
.url-box.url-inline {
  display: inline-flex;
  width: auto;
  min-width: 280px;
}
@media (max-width: 1160px) {
  .value-grid { grid-template-columns: repeat(2,1fr); }
  .hero-stage { min-height: unset; }
  .demo-float { position: static; width: 100%; margin-top: 20px; }
  .device-shot { min-height: unset; padding-bottom: 28px; }
}
@media (max-width: 640px) {
  .brand img { width: 230px; }
  .trust-strip, .value-grid { grid-template-columns: 1fr; }
  .value-grid { display: grid; }
  .device-shot { padding: 18px 18px 24px; }
  .hero-tag.top { position: static; margin-bottom: 8px; }
}

.mini-mobile {
  max-width: 330px;
  margin: 44px auto 0;
  padding: 18px;
  border-radius: 30px;
  background: rgba(255,255,255,0.98);
  border: 1px solid rgba(19,35,63,0.08);
  box-shadow: 0 22px 45px rgba(15,23,42,0.14);
  position: relative;
  z-index: 2;
}
.mini-mobile .profile-top { margin-bottom: 14px; }
.mini-banner {
  height: 106px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(74,103,255,0.22), rgba(85,195,255,0.25));
  margin-bottom: 16px;
}


/* v4 cleanup and hero redesign */
:root {
  --bg: #f6f9ff;
  --bg-soft: #edf4ff;
  --surface: #ffffff;
  --surface-2: #f8fbff;
  --text: #182743;
  --muted: #687a96;
  --line: #d8e4f3;
  --brand: #4d6bff;
  --brand-2: #63c1ff;
  --brand-soft: rgba(77, 107, 255, 0.1);
  --shadow: 0 16px 40px rgba(17, 37, 72, 0.07);
  --shadow-soft: 0 10px 24px rgba(17, 37, 72, 0.05);
}
body {
  background:
    radial-gradient(circle at top left, rgba(77,107,255,0.09), transparent 24%),
    radial-gradient(circle at 88% 2%, rgba(99,193,255,0.10), transparent 18%),
    linear-gradient(180deg, #fbfdff 0%, #f5f8fe 42%, #f9fbff 100%);
}
.site-header {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(18px);
}
.header-row { min-height: 82px; }
.brand img { width: 250px; }
.nav-links a { font-size: 15px; }
.hero, .page-hero { padding: 72px 0 28px; }
.hero h1, .page-hero h1 {
  margin-top: 16px;
  font-size: 60px;
  letter-spacing: -0.055em;
}
.lead { font-size: 19px; }
.metrics-tight { grid-template-columns: repeat(2, 1fr); gap: 18px; }
.metric {
  padding: 22px;
  background: rgba(255,255,255,0.92);
  border-color: rgba(24,39,67,0.07);
}
.metric strong { font-size: 22px; margin-bottom: 10px; }
.metric span { font-size: 15px; }
.hero-stage {
  min-height: auto;
  align-items: stretch;
  justify-content: stretch;
}
.hero-panels {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 22px;
  width: 100%;
  align-items: stretch;
}
.mockup-card,
.demo-sidecard {
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(24,39,67,0.08);
  border-radius: 32px;
  box-shadow: 0 22px 50px rgba(17, 37, 72, 0.09);
}
.mockup-card {
  padding: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(241,247,255,0.95));
}
.mockup-label,
.panel-note,
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(24,39,67,0.08);
  color: #3a5176;
  font-size: 12px;
  font-weight: 800;
  box-shadow: var(--shadow-soft);
}
.mockup-screen {
  margin-top: 18px;
  padding: 18px;
  border-radius: 28px;
  border: 1px solid #d8e4f5;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}
.mockup-banner {
  min-height: 120px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(77,107,255,0.17), rgba(99,193,255,0.20));
  margin-bottom: 18px;
}
.mockup-footer {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.panel-note {
  background: rgba(241,246,255,0.92);
  box-shadow: none;
}
.demo-sidecard {
  padding: 18px;
  display: flex;
}
.demo-sidecard .qr-panel {
  width: 100%;
  min-height: 100%;
  border-radius: 26px;
}
.url-box {
  font-size: 15px;
  line-height: 1.45;
}
.preview-card,
.info-card,
.pricing-card,
.card,
.contact-shell,
.info-shell,
.faq-shell,
.step-card,
.showcase-shell,
.cta-shell,
.demo-shell,
.table-shell {
  box-shadow: 0 16px 38px rgba(17, 37, 72, 0.06);
}
.info-card.highlight,
.cta-shell.highlight,
.pricing-card.highlight {
  background: linear-gradient(135deg, rgba(77,107,255,0.08), rgba(99,193,255,0.10));
}
.visual-frame {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}
.kv-bullets .bullet,
.info-pill,
.action-pill {
  background: #f4f8ff;
  border-color: #d7e4f6;
}
.footer {
  padding-top: 18px;
}
@media (max-width: 1160px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1, .page-hero h1 { font-size: 50px; }
  .hero-panels { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .brand img { width: 220px; }
  .metrics-tight { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero h1, .page-hero h1 { font-size: 38px; }
  .mockup-card, .demo-sidecard { border-radius: 24px; }
  .mockup-screen, .qr-panel { border-radius: 22px; }
}
