:root {
  --navy: #070b16;
  --navy-2: #0d1424;
  --ink: #101828;
  --mute: #667085;
  --line: #e4e7ec;
  --blue: #4c6fff;
  --blue-2: #6b8aff;
  --white: #fff;
  --soft: #f8f9fc;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; }

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  background: rgba(7, 11, 22, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.site-header .wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand img { width: 34px; height: 34px; object-fit: contain; }
.brand span {
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.nav {
  display: flex;
  gap: 22px;
  margin-left: 8px;
}
.nav a {
  color: rgba(255,255,255,0.72);
  font-size: 14px;
  font-weight: 500;
}
.nav a:hover { color: #fff; }
.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  border-radius: 999px;
  padding: 11px 18px;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: rgba(255,255,255,0.85);
  padding: 10px 12px;
}
.btn-ghost:hover { color: #fff; }
.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 24px rgba(76,111,255,0.35);
}
.btn-primary:hover { background: var(--blue-2); }
.btn-primary .arrow {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: grid;
  place-items: center;
  font-size: 12px;
}
.btn-light {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-lg { padding: 14px 22px; font-size: 15px; }

/* ===== HERO (Plaky-like dark) ===== */
.hero {
  width: 100%;
  background:
    radial-gradient(900px 520px at 50% 0%, #1a2744 0%, transparent 60%),
    radial-gradient(700px 400px at 80% 40%, rgba(76,111,255,0.18), transparent 55%),
    linear-gradient(180deg, #070b16 0%, #0a1020 55%, #0d1424 100%);
  color: #fff;
  text-align: center;
  padding: 72px 24px 0;
  overflow: hidden;
}
.hero h1 {
  margin: 0 auto;
  max-width: 16ch;
  font-size: clamp(34px, 5.2vw, 56px);
  line-height: 1.12;
  letter-spacing: -0.035em;
  font-weight: 700;
}
.hero .lead {
  margin: 18px auto 0;
  max-width: 54ch;
  color: rgba(198, 208, 230, 0.9);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
}
.hero-cta {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-proof {
  margin: 22px auto 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(170, 184, 220, 0.85);
  font-size: 13px;
}
.hero-proof .dots {
  display: flex;
}
.hero-proof .dots span {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #2a3a5e;
  border: 2px solid #0d1424;
  margin-left: -6px;
}
.hero-proof .dots span:first-child { margin-left: 0; background: #4c6fff; }
.hero-proof .dots span:nth-child(2) { background: #6b8aff; }
.hero-proof .dots span:nth-child(3) { background: #8aa4ff; }

.hero-shot {
  margin: 48px auto 0;
  max-width: 980px;
  position: relative;
  padding-bottom: 56px;
}
.product-frame {
  border-radius: 16px 16px 0 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  border-bottom: 0;
  background: #121a2e;
  box-shadow: 0 40px 80px rgba(0,0,0,0.45);
  text-align: left;
}
.product-bar {
  display: flex;
  gap: 6px;
  padding: 12px 14px;
  background: #0f1628;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.product-bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3a4663;
}
.product-body {
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: 340px;
}
.product-side {
  padding: 16px;
  border-right: 1px solid rgba(255,255,255,0.06);
  background: #0e1526;
}
.product-side .item {
  padding: 10px 12px;
  border-radius: 10px;
  color: rgba(255,255,255,0.55);
  font-size: 13px;
  margin-bottom: 4px;
}
.product-side .item.active {
  background: rgba(76,111,255,0.18);
  color: #fff;
}
.product-main { padding: 18px; }
.product-main h3 {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 600;
}
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.table th {
  text-align: left;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
  padding: 8px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.table td {
  padding: 12px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.88);
}
.badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
}
.badge.green { background: rgba(34,197,94,0.18); color: #86efac; }
.badge.orange { background: rgba(249,115,22,0.18); color: #fdba74; }
.badge.blue { background: rgba(76,111,255,0.2); color: #a5b8ff; }
.avatars { display: flex; }
.avatars span {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #4c6fff;
  border: 2px solid #121a2e;
  margin-left: -6px;
  font-size: 9px;
  display: grid;
  place-items: center;
}
.avatars span:first-child { margin-left: 0; }
.play {
  position: absolute;
  left: 50%;
  top: 54%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  display: grid;
  place-items: center;
  font-size: 22px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
  border: 0;
  cursor: pointer;
}

/* ===== LIGHT SECTIONS ===== */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 88px 24px;
}
.section.full {
  max-width: none;
  background: var(--soft);
}
.section.full .inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}
.section-title {
  text-align: center;
  margin: 0 auto 12px;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.03em;
  font-weight: 700;
  max-width: 18ch;
  line-height: 1.15;
}
.section-sub {
  text-align: center;
  margin: 0 auto 48px;
  color: var(--mute);
  font-size: 16px;
  max-width: 48ch;
  line-height: 1.6;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 8px 24px rgba(16,24,40,0.04);
}
.feature .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(76,111,255,0.1);
  color: var(--blue);
  display: grid;
  place-items: center;
  font-weight: 800;
  margin-bottom: 16px;
}
.feature h3 {
  margin: 0 0 8px;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.feature p {
  margin: 0;
  color: var(--mute);
  font-size: 14px;
  line-height: 1.55;
}
.feature ul {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}
.feature li {
  padding: 8px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
}
.feature a.more {
  display: inline-block;
  margin-top: 14px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 600;
}

.usecases {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 36px;
}
.usecase {
  text-align: center;
  padding: 20px 12px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
  cursor: default;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.usecase:hover {
  border-color: rgba(76,111,255,0.4);
  box-shadow: 0 8px 20px rgba(76,111,255,0.08);
}
.usecase span {
  display: block;
  width: 36px;
  height: 36px;
  margin: 0 auto 10px;
  border-radius: 10px;
  background: rgba(76,111,255,0.1);
  color: var(--blue);
  display: grid;
  place-items: center;
  font-size: 16px;
}

.start-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.start-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  text-align: left;
}
.start-card h3 { margin: 0 0 8px; font-size: 18px; }
.start-card p { margin: 0 0 16px; color: var(--mute); font-size: 14px; line-height: 1.55; }

.mobile-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.mobile-band h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 3.5vw, 36px);
  letter-spacing: -0.03em;
}
.mobile-band p { color: var(--mute); line-height: 1.6; }
.phone {
  height: 360px;
  border-radius: 28px;
  background:
    linear-gradient(160deg, #1a2744, #0d1424);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 30px 60px rgba(7,11,22,0.25);
  padding: 20px;
  color: #fff;
}
.phone .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  margin-bottom: 10px;
  font-size: 13px;
}

.free-band {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 80px 24px;
}
.free-band h2 {
  margin: 0 0 24px;
  font-size: clamp(32px, 4vw, 44px);
  letter-spacing: -0.03em;
}
.checks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
  margin: 0 auto 28px;
  max-width: 720px;
  color: rgba(255,255,255,0.85);
  font-size: 15px;
}
.checks span::before {
  content: "✓ ";
  color: #86efac;
  font-weight: 700;
}

/* Footer */
.site-footer {
  background: #050812;
  color: rgba(255,255,255,0.7);
  padding: 56px 24px 28px;
}
.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr repeat(4, 1fr);
  gap: 28px;
}
.footer-grid h4 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.footer-grid a {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  color: rgba(255,255,255,0.55);
}
.footer-grid a:hover { color: #fff; }
.footer-brand img { width: 36px; height: 36px; margin-bottom: 12px; }
.footer-brand p { margin: 0; font-size: 13px; line-height: 1.5; max-width: 28ch; }
.footer-bottom {
  max-width: var(--max);
  margin: 36px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
}

/* Auth pages reuse light */
.auth-page { min-height: 100vh; background: var(--soft); }
.auth-page .site-header { background: var(--navy); }
.auth-box-wrap {
  max-width: 420px;
  margin: 48px auto;
  padding: 0 20px 64px;
}
.auth-box-wrap h1 {
  margin: 0 0 8px;
  font-size: 28px;
  letter-spacing: -0.03em;
}
.auth-box-wrap .sub { color: var(--mute); margin: 0 0 20px; }
.card-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 12px 32px rgba(16,24,40,0.06);
}
.card-form label {
  display: block;
  margin: 12px 0 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--mute);
}
.card-form input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  font: inherit;
  outline: none;
}
.card-form input:focus {
  border-color: rgba(76,111,255,0.5);
  box-shadow: 0 0 0 4px rgba(76,111,255,0.12);
}
.card-form .btn { width: 100%; margin-top: 16px; }
.status { min-height: 18px; margin-top: 10px; font-size: 13px; color: var(--blue); }
.status.err { color: #c0392b; }
.auth-foot { text-align: center; margin-top: 14px; font-size: 14px; color: var(--mute); }
.auth-foot a { color: var(--blue); font-weight: 600; }

.page-hero-light {
  max-width: var(--max);
  margin: 0 auto;
  padding: 56px 24px 12px;
}
.page-hero-light h1 {
  margin: 0;
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -0.03em;
  max-width: 16ch;
  line-height: 1.1;
}
.page-hero-light p {
  margin: 12px 0 0;
  color: var(--mute);
  max-width: 50ch;
  font-size: 16px;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .nav { display: none; }
  .product-body { grid-template-columns: 1fr; }
  .product-side { display: none; }
  .features, .start-grid, .mobile-band { grid-template-columns: 1fr; }
  .usecases { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .brand span { display: none; }
}
