:root {
  color-scheme: dark;
  --bg: #020815;
  --bg-2: #06152d;
  --panel: rgba(7, 20, 44, 0.72);
  --panel-strong: rgba(10, 31, 69, 0.86);
  --line: rgba(77, 166, 255, 0.34);
  --line-soft: rgba(255, 255, 255, 0.12);
  --ink: #ffffff;
  --muted: #c9d5ea;
  --subtle: #8fa3c1;
  --blue: #147cff;
  --blue-2: #00a7ff;
  --cyan: #4edcff;
  --good: #38d77b;
  --bad: #ff6a4a;
  --shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
}

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

html {
  background: var(--bg);
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  font-family: Arial, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 18%, rgba(20, 124, 255, 0.42), transparent 28rem),
    radial-gradient(circle at 20% 86%, rgba(0, 167, 255, 0.14), transparent 22rem),
    linear-gradient(135deg, #020815 0%, #06142b 48%, #041024 100%);
  line-height: 1.55;
  overflow-x: hidden;
}

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

.container {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(2, 8, 21, 0.78);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-inline: 2px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-size: 22px;
  font-weight: 900;
}

.brand-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 9px;
  display: block;
}

.nav-links,
.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a:hover,
.footer-links a:hover {
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: min(820px, calc(100svh - 72px));
  display: flex;
  align-items: center;
  padding: clamp(28px, 4.2vh, 50px) 0;
  overflow: hidden;
}

.hero::before,
.hero::after,
.section::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border: 1px solid rgba(20, 124, 255, 0.42);
  border-radius: 50%;
}

.hero::before {
  width: 760px;
  height: 760px;
  right: -230px;
  top: -220px;
}

.hero::after {
  width: 520px;
  height: 520px;
  right: 12%;
  bottom: -320px;
  opacity: 0.7;
}

.hero-lines {
  position: absolute;
  inset: auto 12% 40px 8%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue-2), var(--blue), transparent);
  box-shadow: 0 0 24px rgba(20, 124, 255, 0.9);
  opacity: 0.7;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(300px, 360px);
  align-items: center;
  gap: clamp(28px, 5vw, 58px);
}

.hero-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.hero-brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.35);
}

.hero-brand strong {
  display: block;
  font-size: clamp(30px, 3.2vw, 42px);
  line-height: 0.95;
}

.hero-brand span {
  display: block;
  color: var(--muted);
  font-size: 18px;
}

h1,
h2,
h3 {
  line-height: 1.04;
  letter-spacing: 0;
}

h1 {
  max-width: 690px;
  margin-bottom: 18px;
  font-size: clamp(38px, 5.1vw, 64px);
  font-weight: 900;
}

h1 span {
  display: block;
  color: var(--blue);
}

.hero h1 {
  max-width: 720px;
  color: #ffffff;
}

h2 {
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 900;
  margin-bottom: 18px;
}

h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

p {
  color: var(--muted);
}

.hero-text {
  max-width: 590px;
  color: var(--muted);
  font-size: clamp(16px, 1.45vw, 19px);
  margin-bottom: 22px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 12px;
  padding: 12px 20px;
  font-weight: 900;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(180deg, #1688ff, #0765e8);
  color: #ffffff;
  box-shadow: 0 14px 40px rgba(20, 124, 255, 0.36);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  border-color: var(--line);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 600px;
  border-top: 1px solid var(--line-soft);
  color: #ffffff;
}

.hero-metrics span {
  padding: 16px 18px 0 0;
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
}

.hero-metrics span + span {
  border-left: 1px solid var(--line-soft);
  padding-left: 22px;
}

.phone-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-phone {
  position: relative;
  width: min(330px, 100%);
  padding: 9px;
  border-radius: 42px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.28), transparent 10%, transparent 90%, rgba(255,255,255,0.18)),
    linear-gradient(145deg, #24272e, #05070b 52%, #30343b);
  border: 2px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 38px 80px rgba(0, 0, 0, 0.5);
  transform: scale(0.82);
  transform-origin: center;
}

.hero-phone::before {
  content: "";
  position: absolute;
  left: 14%;
  right: 14%;
  top: -4px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.hero-phone-side {
  position: absolute;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, #1c1f26, #5b606b, #191b21);
}

.hero-phone-side-left {
  left: -5px;
  top: 134px;
  height: 54px;
  box-shadow: 0 78px 0 #30343b, 0 156px 0 #30343b;
}

.hero-phone-side-right {
  right: -5px;
  top: 242px;
  height: 92px;
}

.hero-phone-screen {
  position: relative;
  height: 650px;
  overflow: hidden;
  border-radius: 34px;
  background: #ffffff;
  color: #071026;
}

.hero-phone-status {
  position: relative;
  height: 42px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 22px;
  color: #030712;
  font-size: 14px;
  font-weight: 900;
}

.hero-phone-status i {
  width: 86px;
  height: 24px;
  border-radius: 999px;
  background: #030509;
}

.hero-phone-status span:last-child {
  color: #1c2432;
  text-align: right;
  font-size: 9px;
}

.hero-phone-content {
  padding: 18px 20px 72px;
  transform: scale(0.78);
  transform-origin: top left;
  width: 128.205%;
}

.hero-phone-content h3 {
  margin: 0;
  color: #030712;
  font-size: 27px;
  line-height: 1.05;
}

.hero-phone-content > p {
  margin: 3px 0 18px;
  color: #666f7c;
  font-size: 15px;
  font-weight: 700;
}

.phone-card,
.phone-member {
  border: 1px solid #dfe7f4;
  border-radius: 17px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(15, 32, 64, 0.055);
}

.phone-price {
  min-height: 64px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 9px;
  padding: 0 16px;
  margin-bottom: 14px;
}

.phone-price strong {
  color: #030712;
  font-size: 15px;
  line-height: 1.05;
  white-space: nowrap;
}

.phone-price b {
  color: #030712;
  font-size: 27px;
}

.phone-price span,
.phone-member i {
  color: #737b88;
  font-style: normal;
  font-size: 20px;
  font-weight: 900;
}

.phone-month {
  padding: 16px;
  margin-bottom: 14px;
}

.phone-month-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.phone-month-head strong {
  color: #030712;
  font-size: 20px;
}

.phone-month-head div {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.phone-month-head button {
  width: 36px;
  height: 36px;
  border: 1px solid #dfe7f4;
  border-radius: 50%;
  background: #ffffff;
  color: #1187ff;
  font-size: 19px;
  font-weight: 900;
}

.phone-month-head b {
  color: #030712;
  font-size: 24px;
}

.phone-months,
.phone-filters div {
  display: flex;
  gap: 8px;
  overflow: hidden;
  white-space: nowrap;
}

.phone-months span,
.phone-months strong,
.phone-filters div span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid #e2e8f2;
  background: #fbfcff;
  color: #151923;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 800;
}

.phone-filters div span {
  padding-inline: 8px;
  font-size: 12px;
}

.phone-months strong,
.phone-filters div span:first-child {
  background: #1187ff;
  border-color: #1187ff;
  color: #ffffff;
}

.phone-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-top: 14px;
}

.phone-stats span {
  min-height: 66px;
  display: grid;
  place-items: center;
  border: 1px solid #e2e8f2;
  border-radius: 13px;
  color: #5c6470;
  font-size: 13px;
}

.phone-stats b {
  color: #030712;
  font-size: 24px;
  line-height: 1;
}

.phone-export {
  min-height: 48px;
  display: grid;
  place-items: center;
  margin-top: 14px;
  border-radius: 13px;
  background: linear-gradient(180deg, #148cff, #0871ed);
  color: #ffffff;
  font-size: 17px;
  font-weight: 900;
}

.phone-filters {
  padding: 16px;
  margin-bottom: 14px;
}

.phone-filters > strong {
  display: block;
  margin-bottom: 12px;
  color: #030712;
  font-size: 21px;
}

.phone-filters p {
  min-height: 39px;
  display: flex;
  align-items: center;
  margin-top: 12px;
  border: 1px solid #e2e8f2;
  border-radius: 13px;
  padding: 0 13px;
  color: #c3c6cc;
  font-size: 13px;
}

.phone-member {
  min-height: 50px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  margin-bottom: 8px;
}

.phone-member strong {
  color: #030712;
  font-size: 15px;
}

.phone-member span {
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.phone-member.paid span {
  background: #def7e8;
  color: #198044;
}

.phone-member.unpaid span {
  background: #ffeadf;
  color: #cf5425;
}

.hero-phone-tabbar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 58px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  border-top: 1px solid #e7edf5;
  background: rgba(255, 255, 255, 0.97);
  font-size: 21px;
  text-align: center;
}

.section {
  position: relative;
  padding: clamp(70px, 9vw, 116px) 0;
  overflow: hidden;
}

.section::after {
  width: 420px;
  height: 420px;
  right: -220px;
  bottom: -260px;
  opacity: 0.35;
}

.eyebrow {
  width: fit-content;
  margin-bottom: 16px;
  border-left: 3px solid var(--blue-2);
  padding-left: 14px;
  color: var(--cyan);
  font-size: 15px;
  font-weight: 900;
}

.section-title {
  max-width: 800px;
  margin-bottom: 34px;
}

.section-title.centered {
  margin-inline: auto;
  text-align: center;
}

.section-title.centered .eyebrow {
  margin-inline: auto;
}

.section-title p,
.problem-grid p,
.payments-grid p,
.split-section p,
.cta p {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
}

.section-problem {
  background:
    linear-gradient(180deg, rgba(2, 8, 21, 0), rgba(5, 16, 36, 0.72)),
    radial-gradient(circle at 70% 22%, rgba(20, 124, 255, 0.16), transparent 22rem);
}

.problem-grid,
.payments-grid,
.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  align-items: center;
  gap: clamp(34px, 6vw, 80px);
}

.floating-tags {
  min-height: 320px;
  position: relative;
}

.floating-tags::before {
  content: "";
  position: absolute;
  inset: 30px;
  border: 1px dashed rgba(20, 124, 255, 0.5);
  border-radius: 50%;
  transform: rotate(-12deg);
}

.floating-tags span {
  position: absolute;
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(4, 15, 36, 0.74);
  box-shadow: 0 0 28px rgba(20, 124, 255, 0.16);
  color: #ffffff;
  font-weight: 800;
}

.floating-tags span:nth-child(1) { left: 4%; top: 20%; transform: rotate(6deg); }
.floating-tags span:nth-child(2) { left: 36%; top: 8%; }
.floating-tags span:nth-child(3) { left: 22%; top: 52%; transform: rotate(-5deg); }
.floating-tags span:nth-child(4) { right: 8%; top: 38%; transform: rotate(7deg); }
.floating-tags span:nth-child(5) { left: 48%; bottom: 10%; transform: rotate(5deg); }
.floating-tags span:nth-child(6) { right: 20%; bottom: 31%; transform: rotate(-6deg); }

.feature-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.feature-card,
.pricing-card,
.workflow-step,
.announcement-demo,
.callout,
.security-strip,
.cta {
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(20, 124, 255, 0.11), rgba(7, 20, 44, 0.7)),
    rgba(7, 20, 44, 0.72);
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.24);
}

.feature-card {
  padding: 28px;
  min-height: 280px;
}

.feature-card span {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--cyan);
  font-weight: 900;
}

.section-payments {
  background: linear-gradient(180deg, rgba(5, 15, 34, 0.2), rgba(3, 10, 24, 0.8));
}

.callout {
  margin-top: 26px;
  padding: 22px;
}

.callout strong,
.callout span {
  display: block;
}

.callout strong {
  margin-bottom: 8px;
  font-size: 20px;
}

.callout span {
  color: var(--muted);
}

.workflow {
  display: grid;
  gap: 14px;
}

.workflow-step {
  display: grid;
  grid-template-columns: 52px 1fr;
  column-gap: 16px;
  padding: 22px;
}

.workflow-step span {
  grid-row: span 2;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #147cff;
  color: #ffffff;
  font-weight: 900;
}

.workflow-step p {
  margin-top: 4px;
  font-size: 15px;
}

.announcement-demo {
  padding: 24px;
  background: #ffffff;
  color: #0b1020;
  border-color: #dfe8f7;
}

.org-current {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  align-items: center;
  min-height: 94px;
  margin-bottom: 24px;
  padding: 16px;
  border: 1px solid #dfe8f7;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(15, 32, 64, 0.05);
}

.org-current span {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: #eef5ff;
  color: #2563eb;
  font-size: 26px;
  font-weight: 900;
}

.org-current small {
  display: block;
  color: #7a8291;
  font-size: 14px;
  font-weight: 700;
}

.org-current strong {
  display: block;
  color: #050b18;
  font-size: 25px;
  line-height: 1.1;
}

.announcement-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  color: #050b18;
}

.announcement-top span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid #dfe8f7;
  border-radius: 50%;
  color: #147cff;
  font-size: 24px;
  font-weight: 900;
}

.announcement-top strong {
  font-size: 26px;
}

.announcement-card {
  position: relative;
  min-height: 128px;
  border: 1px solid #e2e7ef;
  border-radius: 18px;
  background: #ffffff;
  padding: 20px;
  margin-top: 14px;
  box-shadow: 0 10px 28px rgba(15, 32, 64, 0.05);
}

.announcement-card p {
  max-width: calc(100% - 56px);
  color: #151a24;
  margin-bottom: 28px;
  font-size: 20px;
  line-height: 1.25;
}

.announcement-card small {
  color: #7a8291;
  font-size: 14px;
  font-weight: 700;
}

.announcement-card button {
  position: absolute;
  right: 18px;
  top: 18px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #f3f6fb;
  color: #151a24;
  font-weight: 900;
}

.announcement-card div {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-top: -28px;
}

.announcement-card span {
  border-radius: 999px;
  min-width: 94px;
  display: inline-flex;
  justify-content: center;
  padding: 9px 16px;
  border: 1px solid #e2e7ef;
  background: #ffffff;
  color: #151a24;
  font-size: 16px;
  font-weight: 800;
}

.muted-card {
  opacity: 1;
}

.section-pricing {
  background:
    radial-gradient(circle at 80% 0%, rgba(20, 124, 255, 0.2), transparent 28rem),
    rgba(2, 8, 21, 0.42);
}

.pricing-card {
  padding: 28px;
  min-height: 235px;
}

.pricing-card span {
  display: inline-flex;
  margin-bottom: 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 16px;
  color: var(--cyan);
  font-weight: 900;
}

.pricing-card strong {
  display: block;
  margin-bottom: 12px;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1;
}

.security-strip {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 22px;
  align-items: center;
  margin-top: 22px;
  padding: 24px;
}

.security-strip strong {
  color: var(--blue-2);
  font-size: 22px;
}

.cta-section {
  padding-top: 52px;
}

.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px;
}

.site-footer {
  border-top: 1px solid var(--line-soft);
  background: rgba(2, 8, 21, 0.9);
  padding: 28px 0;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-grid strong,
.footer-grid span {
  display: block;
}

.footer-grid span {
  color: var(--subtle);
  font-size: 14px;
}

.legal-page {
  min-height: 100svh;
  padding: 64px 0 84px;
}

.legal-shell {
  width: min(900px, calc(100% - 64px));
  margin: 0 auto;
}

.legal-page h1 {
  color: #ffffff;
  background: none;
  -webkit-text-fill-color: #ffffff;
  font-size: clamp(34px, 6vw, 58px);
}

.legal-page h1::after {
  content: "";
}

.legal-page h2 {
  margin-top: 30px;
  font-size: 28px;
}

.legal-page p,
.legal-page li {
  color: var(--muted);
  font-size: 17px;
}

.legal-page ul,
.legal-page ol {
  padding-left: 22px;
  margin: 12px 0 20px;
}

.legal-page footer {
  margin-top: 48px;
  color: var(--subtle);
  font-size: 14px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--cyan);
  font-weight: 850;
}

.legal-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
  padding: 24px;
  margin: 22px 0;
}

@media (max-width: 920px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav-links {
    gap: 12px 16px;
    line-height: 1.35;
  }

  .hero-grid,
  .problem-grid,
  .payments-grid,
  .split-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding: 46px 0 62px;
  }

  .phone {
    width: min(360px, 100%);
    transform: none;
  }

  .hero-phone {
    transform: none;
  }

  .feature-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .hero-metrics span + span {
    border-left: 0;
    padding-left: 0;
  }

  .security-strip,
  .cta,
  .footer-grid {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 32px, 1180px);
  }

  .legal-shell {
    width: min(100% - 32px, 900px);
  }

  .nav-links {
    gap: 10px 12px;
    font-size: 12px;
  }

  .hero-brand {
    margin-bottom: 26px;
  }

  .hero-brand img {
    width: 58px;
    height: 58px;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 34px;
  }

  .phone-screen {
    min-height: 592px;
  }

  .member-row {
    grid-template-columns: 1fr auto auto;
  }

  .member-row em {
    width: fit-content;
  }
}
