@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Sora:wght@400;600;700;800&display=swap');

:root {
  --bg-950: #03040a;
  --bg-925: #070917;
  --bg-900: #0a0d1f;
  --bg-850: #0f1430;
  --bg-800: #171d41;
  --panel: rgba(16, 21, 45, 0.76);
  --panel-strong: rgba(19, 25, 55, 0.9);
  --panel-soft: rgba(33, 39, 79, 0.6);
  --border: rgba(183, 193, 255, 0.16);
  --border-strong: rgba(202, 213, 255, 0.28);
  --text: #f7f8fe;
  --text-soft: #ccd3f8;
  --text-muted: #97a0c9;
  --accent: #b8c4ff;
  --accent-strong: #d8ddff;
  --accent-pink: #f0c9ff;
  --accent-blue: #8ba8ff;
  --success: #52e2a0;
  --warning: #ffc875;
  --danger: #ff7b96;
  --shadow-xl: 0 48px 120px rgba(0, 0, 0, 0.58);
  --shadow-lg: 0 24px 68px rgba(0, 0, 0, 0.42);
  --shadow-md: 0 14px 34px rgba(2, 5, 18, 0.34);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --radius-xs: 10px;
  --container: 1220px;
}

* {
  box-sizing: border-box;
}

html {
  margin: 0;
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  position: relative;
  overflow-x: hidden;
  font-family: 'Manrope', sans-serif;
  color: var(--text);
  line-height: 1.6;
  background:
    radial-gradient(1200px 600px at 20% -8%, rgba(173, 191, 255, 0.16), transparent 58%),
    radial-gradient(900px 520px at 78% 8%, rgba(188, 164, 255, 0.12), transparent 58%),
    radial-gradient(680px 380px at 50% 100%, rgba(91, 115, 255, 0.1), transparent 60%),
    linear-gradient(180deg, var(--bg-925) 0%, var(--bg-900) 34%, var(--bg-950) 100%);
}

body::before,
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

body::before {
  opacity: 0.7;
  background-image:
    radial-gradient(circle at 7% 12%, rgba(255, 255, 255, 0.95) 0 1.1px, transparent 1.8px),
    radial-gradient(circle at 16% 72%, rgba(169, 183, 255, 0.9) 0 1.2px, transparent 2px),
    radial-gradient(circle at 22% 36%, rgba(255, 255, 255, 0.75) 0 1px, transparent 1.8px),
    radial-gradient(circle at 31% 14%, rgba(140, 174, 255, 0.8) 0 1.2px, transparent 2px),
    radial-gradient(circle at 39% 64%, rgba(255, 255, 255, 0.82) 0 1px, transparent 1.7px),
    radial-gradient(circle at 49% 25%, rgba(158, 180, 255, 0.78) 0 1.1px, transparent 1.9px),
    radial-gradient(circle at 58% 82%, rgba(255, 255, 255, 0.7) 0 1.1px, transparent 1.8px),
    radial-gradient(circle at 67% 31%, rgba(157, 178, 255, 0.76) 0 1.2px, transparent 2px),
    radial-gradient(circle at 74% 13%, rgba(255, 255, 255, 0.88) 0 1.2px, transparent 2px),
    radial-gradient(circle at 83% 68%, rgba(174, 192, 255, 0.86) 0 1.2px, transparent 2px),
    radial-gradient(circle at 92% 39%, rgba(255, 255, 255, 0.72) 0 1px, transparent 1.7px);
  animation: starDrift 32s linear infinite;
}

body::after {
  background:
    linear-gradient(180deg, rgba(6, 8, 17, 0.16), rgba(6, 8, 17, 0.36)),
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.04), transparent 42%);
}

a {
  color: var(--accent-strong);
  text-decoration: none;
}

a:not(.btn):hover {
  color: #ffffff;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
textarea {
  font: inherit;
}

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

.hidden {
  display: none !important;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(20px);
  background: rgba(7, 9, 18, 0.62);
  border-bottom: 1px solid rgba(181, 193, 255, 0.1);
}

.header-row {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  color: #fff;
  font-family: 'Sora', 'Manrope', sans-serif;
  font-size: clamp(1.26rem, 1vw + 1rem, 1.72rem);
  font-weight: 800;
  letter-spacing: -0.06em;
}

.brand-vpn {
  background: linear-gradient(135deg, #ffffff 0%, #d8ddff 38%, #c7b8ff 72%, #9bb8ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 18px rgba(204, 214, 255, 0.22);
}

.brand-chik {
  color: rgba(255, 255, 255, 0.92);
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
  font-style: italic;
  letter-spacing: -0.05em;
}

.nav-cta {
  border-color: rgba(202, 211, 255, 0.18) !important;
  background: rgba(138, 157, 255, 0.12) !important;
  color: #fff !important;
}

.site-nav,
#auth-links,
#user-info {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.site-nav a,
.site-nav button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--text-soft);
  background: transparent;
  cursor: pointer;
  transition: background-color 0.22s ease, border-color 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.site-nav a:hover,
.site-nav button:hover {
  transform: translateY(-1px);
  color: #fff;
  background: rgba(147, 162, 255, 0.1);
  border-color: rgba(200, 210, 255, 0.18);
}

#user-email {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, rgba(82, 94, 170, 0.36), rgba(111, 98, 180, 0.32));
  border: 1px solid rgba(201, 210, 255, 0.18);
}

.main {
  padding: 38px 0 88px;
}

.hero,
.section,
.proof-strip {
  position: relative;
  overflow: hidden;
}

.hero {
  padding: clamp(28px, 4vw, 54px);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(17, 22, 49, 0.95), rgba(10, 12, 27, 0.92)),
    radial-gradient(circle at 15% 18%, rgba(178, 195, 255, 0.16), transparent 36%),
    radial-gradient(circle at 83% 24%, rgba(214, 172, 255, 0.14), transparent 28%);
  box-shadow: var(--shadow-xl);
}

.hero::before {
  content: '';
  position: absolute;
  inset: -30% auto auto -10%;
  width: 55%;
  aspect-ratio: 1;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(177, 194, 255, 0.14), rgba(177, 194, 255, 0));
  filter: blur(22px);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  right: -120px;
  top: -140px;
  width: 320px;
  height: 320px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(214, 182, 255, 0.18), rgba(214, 182, 255, 0));
  filter: blur(20px);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero h1 {
  margin: 18px 0 14px;
  font-family: 'Sora', 'Manrope', sans-serif;
  font-size: clamp(2.2rem, 3vw + 1.1rem, 4.2rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  max-width: 10.8em;
}

.hero p {
  margin: 0;
  max-width: 650px;
  color: var(--text-soft);
  font-size: clamp(1.02rem, 0.35vw + 0.98rem, 1.16rem);
}

.hero-landing .hero-copy > p {
  max-width: 610px;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.94rem;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background-color 0.22s ease, color 0.22s ease;
}

.btn::after {
  content: '';
  position: absolute;
  inset: auto -30% -150% auto;
  width: 48%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0));
  transform: translate3d(0, 0, 0);
  transition: transform 0.35s ease;
  pointer-events: none;
}

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

.btn:hover::after {
  transform: translate3d(-24%, -18%, 0);
}

.btn:active {
  transform: translateY(0);
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.72;
  transform: none;
  box-shadow: none;
}

.btn-primary {
  color: #0e1230;
  background: linear-gradient(135deg, #f5f7ff 0%, #d7deff 30%, #c2cbff 70%, #efcbff 100%);
  box-shadow: 0 14px 34px rgba(157, 174, 255, 0.34);
}

.btn-primary:hover {
  color: #0e1230;
  box-shadow: 0 18px 42px rgba(157, 174, 255, 0.44);
}

.btn-secondary {
  color: #fff;
  border-color: rgba(201, 212, 255, 0.24);
  background: linear-gradient(180deg, rgba(39, 48, 96, 0.62), rgba(22, 27, 54, 0.82));
}

.btn-secondary:hover {
  background: linear-gradient(180deg, rgba(48, 58, 112, 0.74), rgba(24, 31, 64, 0.92));
}

.btn-ghost {
  color: var(--text-soft);
  border-color: rgba(201, 211, 255, 0.18);
  background: rgba(255, 255, 255, 0.02);
}

.btn-ghost:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(214, 221, 255, 0.22);
  color: #fff;
  background: linear-gradient(180deg, rgba(95, 104, 182, 0.28), rgba(71, 49, 128, 0.2));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  font-size: 0.84rem;
  letter-spacing: 0.01em;
}

.badge-muted {
  color: var(--accent-strong);
  background: rgba(255, 255, 255, 0.03);
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.metric-pill {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(202, 212, 255, 0.14);
  color: rgba(242, 245, 255, 0.92);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.9rem;
}

.hero-visual {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual-home {
  min-height: 560px;
}

.orbital-glow {
  position: absolute;
  inset: 16% 10%;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(182, 197, 255, 0.2), rgba(182, 197, 255, 0) 52%),
    radial-gradient(circle at 62% 40%, rgba(225, 192, 255, 0.14), rgba(225, 192, 255, 0) 34%);
  filter: blur(20px);
  animation: pulseGlow 10s ease-in-out infinite;
}

.hero-art {
  position: relative;
  z-index: 2;
  width: min(100%, 510px);
  border-radius: 34px;
}

.hero-art img {
  width: 100%;
  height: auto;
  border-radius: inherit;
}

.phone-card img,
.feature-media img,
.story-art img {
  filter: drop-shadow(0 28px 60px rgba(0, 0, 0, 0.42));
}

.logo-card {
  width: min(100%, 440px);
}

.hero-floating-card,
.hero-floating-chip {
  position: absolute;
  z-index: 3;
  border-radius: 24px;
  border: 1px solid rgba(211, 219, 255, 0.18);
  background: linear-gradient(180deg, rgba(36, 43, 82, 0.82), rgba(18, 22, 47, 0.88));
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(14px);
}

.hero-floating-card {
  max-width: 240px;
  padding: 16px 18px;
  display: grid;
  gap: 4px;
}

.hero-floating-card strong {
  font-size: 1rem;
}

.hero-floating-card span,
.hero-floating-chip {
  color: var(--text-soft);
  font-size: 0.88rem;
}

.hero-floating-card-top {
  top: 12%;
  right: -2%;
  animation: bob 8s ease-in-out infinite;
}

.hero-floating-card-bottom {
  left: -4%;
  bottom: 15%;
  animation: bob 9s ease-in-out infinite reverse;
}

.hero-floating-chip {
  padding: 12px 14px;
  border-radius: 999px;
}

.hero-floating-chip-right {
  right: 1%;
  bottom: 6%;
  animation: bob 7.8s ease-in-out infinite;
}

.hero-floating-chip-left {
  left: 2%;
  top: 24%;
  animation: bob 8.6s ease-in-out infinite reverse;
}

.proof-strip {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.proof-card {
  position: relative;
  padding: 22px;
  min-height: 184px;
  border-radius: 28px;
  border: 1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(21, 26, 52, 0.86), rgba(12, 16, 33, 0.92)),
    radial-gradient(circle at 0% 0%, rgba(180, 197, 255, 0.12), transparent 36%);
  box-shadow: var(--shadow-md);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.proof-card:hover,
.section:hover,
.card:hover,
.journey-card:hover,
.feature-pill:hover,
.pricing-card:hover,
.story-card:hover,
.form-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 220, 255, 0.24);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.34);
}

.proof-label {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  margin-bottom: 16px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--accent-strong);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.proof-card strong {
  display: block;
  font-size: 1.24rem;
  line-height: 1.14;
  margin-bottom: 12px;
}

.proof-card p {
  margin: 0;
  color: var(--text-soft);
}

.section {
  margin-top: 26px;
  padding: clamp(22px, 3vw, 32px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(16, 20, 42, 0.82), rgba(10, 13, 26, 0.9)),
    radial-gradient(circle at 10% 10%, rgba(165, 179, 255, 0.08), transparent 22%);
  box-shadow: var(--shadow-md);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.section-head {
  max-width: 860px;
  margin-bottom: 24px;
}

.section-head h2,
.section h3,
.form-card h1,
.story-card h1,
.legal-doc h1,
.payment-card h1 {
  margin: 14px 0 12px;
  font-family: 'Sora', 'Manrope', sans-serif;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.section-head h2 {
  font-size: clamp(1.6rem, 1.7vw + 1rem, 2.6rem);
  max-width: 18ch;
}

.section-head p,
.section p,
.card p,
.journey-card p,
.story-card p,
.form-card > p,
.price-note,
.legal-doc p {
  color: var(--text-soft);
}

.feature-layout,
.pricing-layout,
.auth-layout {
  display: grid;
  gap: clamp(20px, 3vw, 34px);
  align-items: center;
}

.feature-layout {
  grid-template-columns: minmax(0, 0.96fr) minmax(320px, 0.88fr);
}

.pricing-layout {
  grid-template-columns: minmax(320px, 0.86fr) minmax(0, 1fr);
}

.auth-layout {
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1fr);
}

.feature-list {
  display: grid;
  gap: 16px;
}

.feature-pill {
  max-width: 560px;
  padding: 20px 22px;
  border-radius: 24px;
  border: 1px solid rgba(200, 210, 255, 0.15);
  background:
    linear-gradient(180deg, rgba(43, 50, 94, 0.82), rgba(28, 32, 63, 0.88)),
    radial-gradient(circle at 0% 0%, rgba(180, 196, 255, 0.12), transparent 42%);
  font-size: clamp(1.05rem, 0.35vw + 1rem, 1.42rem);
  line-height: 1.16;
  color: #fff;
  box-shadow: var(--shadow-md);
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.feature-pill-wide {
  max-width: 620px;
}

.feature-pill-compact {
  max-width: 320px;
}

.feature-support {
  max-width: 420px;
}

.feature-media,
.story-art {
  position: relative;
  padding: clamp(12px, 2vw, 20px);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 30px;
  background:
    radial-gradient(circle at 50% 45%, rgba(198, 208, 255, 0.12), transparent 38%),
    linear-gradient(180deg, rgba(25, 28, 58, 0.26), rgba(12, 14, 28, 0.02));
}

.price-stack {
  display: grid;
  gap: 16px;
}

.pricing-card {
  position: relative;
  overflow: hidden;
  padding: 22px 24px;
  border-radius: 28px;
  border: 1px solid rgba(208, 218, 255, 0.15);
  background:
    linear-gradient(180deg, rgba(36, 42, 81, 0.84), rgba(21, 24, 49, 0.94)),
    radial-gradient(circle at 0% 0%, rgba(184, 197, 255, 0.12), transparent 40%);
  box-shadow: var(--shadow-md);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.pricing-card::after {
  content: '';
  position: absolute;
  inset: auto -25% -60% auto;
  width: 44%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.pricing-label {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 6px;
}

.pricing-line {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.price-value {
  font-size: clamp(1.58rem, 1.1vw + 1rem, 2.2rem);
  line-height: 1;
}

.price-old {
  color: rgba(185, 193, 231, 0.46);
  text-decoration: line-through;
  font-size: clamp(1.02rem, 0.7vw + 0.8rem, 1.42rem);
}

.price-note {
  margin: 6px 0 0;
}

.journey-grid,
.grid {
  display: grid;
  gap: 16px;
}

.journey-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.journey-card,
.card,
.form-card,
.story-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(21, 27, 55, 0.86), rgba(12, 15, 30, 0.92)),
    radial-gradient(circle at 0% 0%, rgba(172, 186, 255, 0.1), transparent 36%);
  box-shadow: var(--shadow-md);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.journey-card,
.card {
  padding: 22px;
}

.step-chip {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #eff3ff 0%, #d0d9ff 46%, #d9bbff 100%);
  color: #121734;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(143, 164, 255, 0.3);
}

.journey-card h3,
.card h3 {
  margin: 18px 0 10px;
  font-size: 1.06rem;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.cta-band h2 {
  margin: 14px 0 10px;
  font-size: clamp(1.52rem, 1.4vw + 1rem, 2.4rem);
}

.auth-stack {
  display: grid;
  gap: 20px;
}

.story-card,
.form-card {
  padding: clamp(24px, 3vw, 34px);
}

.story-card {
  min-height: 100%;
}

.story-points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.story-points li {
  position: relative;
  padding-left: 22px;
  color: var(--text-soft);
}

.story-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f2f5ff, #c7cfff);
  box-shadow: 0 0 0 5px rgba(216, 224, 255, 0.06);
}

.story-art {
  margin-top: 26px;
}

.form-card h1,
.story-card h1,
.payment-card h1,
.legal-doc h1 {
  font-size: clamp(1.7rem, 1.2vw + 1rem, 2.5rem);
}

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.input,
input[type='email'],
input[type='password'],
input[type='text'],
textarea {
  width: 100%;
  min-height: 54px;
  border: 1px solid rgba(189, 201, 255, 0.15);
  border-radius: 18px;
  padding: 0 16px;
  color: #fff;
  background: rgba(6, 9, 22, 0.55);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

textarea {
  min-height: 140px;
  padding: 14px 16px;
  resize: vertical;
}

.input::placeholder,
input::placeholder,
textarea::placeholder {
  color: rgba(160, 170, 209, 0.72);
}

input:focus,
textarea:focus {
  border-color: rgba(214, 221, 255, 0.34);
  box-shadow: 0 0 0 4px rgba(187, 197, 255, 0.1);
  background: rgba(9, 13, 30, 0.72);
}

.form-error {
  margin-top: 10px;
  color: #ffb9c7;
}

.input-hint {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

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

.inline-actions .btn {
  min-width: 148px;
}

.input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: stretch;
}

.input-row input,
.input-row textarea {
  min-height: 54px;
}

.info-banner,
.status-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(188, 198, 255, 0.16);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.info-banner {
  width: 100%;
  align-items: flex-start;
  flex-wrap: wrap;
}

.info-banner strong,
.status-pill {
  font-weight: 700;
}

.info-banner span {
  color: var(--text-soft);
}

.info-banner::before,
.status-pill::before {
  content: '';
  width: 11px;
  height: 11px;
  flex: 0 0 auto;
  border-radius: 999px;
  margin-top: 0.3em;
}

.info-banner.ok,
.status-pill.ok {
  border-color: rgba(82, 226, 160, 0.18);
  background: rgba(26, 57, 43, 0.34);
}

.info-banner.ok::before,
.status-pill.ok::before {
  background: var(--success);
}

.info-banner.warn,
.status-pill.warn {
  border-color: rgba(255, 200, 117, 0.18);
  background: rgba(58, 41, 14, 0.34);
}

.info-banner.warn::before,
.status-pill.warn::before {
  background: var(--warning);
}

.info-banner.fail,
.status-pill.fail {
  border-color: rgba(255, 123, 150, 0.18);
  background: rgba(63, 20, 33, 0.32);
}

.info-banner.fail::before,
.status-pill.fail::before {
  background: var(--danger);
}

.kv {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 9px 16px;
  margin: 0;
}

.kv dt {
  color: var(--text-muted);
}

.kv dd {
  margin: 0;
  font-weight: 700;
  color: #fff;
  text-align: right;
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  position: relative;
  padding: 14px 16px 14px 52px;
  border-radius: 18px;
  border: 1px solid rgba(183, 194, 255, 0.16);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-soft);
}

.steps li::before {
  content: counter(step);
  counter-increment: step;
  position: absolute;
  left: 16px;
  top: 14px;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #f0f4ff, #cdd6ff);
  color: #101635;
  font-size: 0.78rem;
  font-weight: 800;
}

.legal-doc,
.payment-card {
  max-width: 860px;
  margin: 0 auto;
}

.payment-card {
  text-align: center;
}

.payment-card .emoji {
  font-size: 2.6rem;
  margin-bottom: 8px;
}

.legal-doc h2 {
  margin: 28px 0 10px;
  font-family: 'Sora', 'Manrope', sans-serif;
  font-size: 1.16rem;
  letter-spacing: -0.03em;
}

.legal-doc ul {
  margin: 0;
  padding-left: 20px;
  color: var(--text-soft);
}

.legal-doc li {
  margin-bottom: 8px;
}

.footer {
  margin-top: 42px;
  padding: 28px 0 34px;
  border-top: 1px solid rgba(182, 193, 255, 0.08);
  color: var(--text-muted);
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links {
  display: inline-flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-home-shell {
  padding-top: clamp(34px, 4vw, 56px);
}

.hero-grid-home {
  grid-template-columns: minmax(0, 0.62fr) minmax(680px, 1.38fr);
  align-items: center;
  gap: clamp(14px, 2vw, 26px);
}

.hero-grid-brand {
  align-items: center;
}

.feature-list-home {
  margin-top: 20px;
}

.showcase-tight-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
}

.brand-collage {
  position: relative;
  z-index: 2;
  width: min(100%, 1240px);
  justify-self: end;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: center;
  overflow: hidden;
}

.brand-collage img {
  width: 100%;
  height: auto;
  border-radius: 0;
  display: block;
  filter: drop-shadow(0 30px 80px rgba(0, 0, 0, 0.44));
}

.hero-home-shell h1 {
  font-size: clamp(1.58rem, 1.3vw + 1rem, 2.72rem);
  max-width: 7.4em;
}

.hero-home-shell .hero-copy > p {
  max-width: 460px;
  font-size: clamp(0.88rem, 0.12vw + 0.86rem, 0.98rem);
}

.hero-metrics-home .metric-pill {
  background: rgba(255, 255, 255, 0.05);
}

.hero-footnote {
  margin-top: 20px;
  padding: 18px 20px;
  border-radius: 22px;
  border: 1px solid rgba(199, 209, 255, 0.16);
  background: linear-gradient(180deg, rgba(26, 32, 69, 0.7), rgba(12, 16, 34, 0.88));
  color: var(--text-soft);
}

.hero-footnote strong {
  display: block;
  margin-bottom: 6px;
  color: #fff;
}

.hero-showcase {
  position: relative;
  min-height: 560px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: center;
}

.showcase-card {
  position: relative;
  z-index: 2;
  border-radius: 36px;
  padding: 14px;
  border: 1px solid rgba(198, 208, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(19, 24, 49, 0.9), rgba(9, 12, 24, 0.95)),
    radial-gradient(circle at 20% 0%, rgba(185, 200, 255, 0.12), transparent 44%);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.45);
}

.showcase-card img {
  width: 100%;
  height: auto;
  border-radius: 24px;
}

.showcase-card-left {
  align-self: start;
  transform: rotate(-2.4deg);
}

.showcase-card-right {
  align-self: end;
  transform: rotate(2.4deg);
}

.showcase-glow {
  position: absolute;
  z-index: 1;
  width: 320px;
  height: 320px;
  border-radius: 999px;
  filter: blur(28px);
  opacity: 0.72;
}

.showcase-glow-left {
  left: -30px;
  top: 26px;
  background: radial-gradient(circle, rgba(161, 181, 255, 0.2), rgba(161, 181, 255, 0));
}

.showcase-glow-right {
  right: -30px;
  bottom: 22px;
  background: radial-gradient(circle, rgba(230, 188, 255, 0.18), rgba(230, 188, 255, 0));
}

.showcase-pill {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(204, 213, 255, 0.18);
  background: rgba(12, 16, 34, 0.76);
  backdrop-filter: blur(16px);
  color: #fff;
  font-size: 0.9rem;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
}

.showcase-pill-top {
  left: 10px;
  top: 18px;
}

.showcase-pill-bottom {
  right: 0;
  bottom: 8px;
}

.proof-strip-selling {
  margin-top: 26px;
}

.selling-card strong {
  max-width: 15ch;
}

.section-head-wide h2 {
  max-width: 22ch;
}

.section-signal {
  background:
    linear-gradient(180deg, rgba(13, 17, 36, 0.92), rgba(9, 11, 23, 0.95)),
    radial-gradient(circle at 90% 12%, rgba(180, 197, 255, 0.08), transparent 24%);
}

.selling-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.selling-tile {
  padding: 24px 24px 22px;
  border-radius: 26px;
  border: 1px solid rgba(193, 203, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(24, 30, 61, 0.9), rgba(11, 15, 31, 0.94)),
    radial-gradient(circle at 0% 0%, rgba(174, 188, 255, 0.1), transparent 42%);
  box-shadow: var(--shadow-md);
}

.selling-tile h3 {
  margin: 0 0 10px;
  font-size: 1.12rem;
}

.selling-tile p {
  margin: 0;
  color: var(--text-soft);
}

.pricing-layout-rework {
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
}

.brand-poster {
  position: relative;
  padding: 18px;
  border-radius: 34px;
  border: 1px solid rgba(193, 203, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(20, 26, 54, 0.88), rgba(9, 12, 25, 0.96)),
    radial-gradient(circle at 50% 100%, rgba(161, 182, 255, 0.12), transparent 48%);
  box-shadow: var(--shadow-lg);
}

.brand-poster img {
  width: 100%;
  border-radius: 24px;
}

.pricing-card-highlight {
  border-color: rgba(224, 205, 255, 0.26);
}

.price-copy {
  margin: 12px 0 0;
  color: var(--text-soft);
}

.compact-journey {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.story-card-brand,
.form-card-brand,
.dashboard-panel {
  background:
    linear-gradient(180deg, rgba(18, 23, 48, 0.92), rgba(9, 12, 25, 0.95)),
    radial-gradient(circle at 0% 0%, rgba(175, 191, 255, 0.1), transparent 42%);
}

.story-art-compact img {
  max-width: 420px;
}

.hero-cabinet .hero-grid {
  grid-template-columns: minmax(0, 0.98fr) minmax(320px, 0.72fr);
}

.dashboard-grid {
  align-items: start;
}

.dashboard-panel h3 {
  font-size: 1.18rem;
}

.plan-grid {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.plan-card-site {
  padding: 20px;
  border-radius: 24px;
  border: 1px solid rgba(198, 208, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(34, 41, 81, 0.9), rgba(17, 22, 45, 0.96)),
    radial-gradient(circle at 0% 0%, rgba(182, 196, 255, 0.12), transparent 42%);
  box-shadow: var(--shadow-md);
}

.plan-card-loading {
  color: var(--text-soft);
}

.plan-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.plan-label {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.plan-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  text-align: right;
}

.plan-price-row strong {
  font-size: 1.72rem;
  line-height: 1;
}

.plan-price-row span {
  color: rgba(184, 194, 235, 0.48);
  text-decoration: line-through;
}

.plan-card-site p {
  margin: 0 0 16px;
  color: var(--text-soft);
}

.plan-card-trial {
  border-color: rgba(120, 205, 186, 0.34);
  background:
    linear-gradient(180deg, rgba(27, 54, 58, 0.94), rgba(13, 27, 30, 0.98)),
    radial-gradient(circle at 0% 0%, rgba(120, 205, 186, 0.18), transparent 44%);
}

.plan-methods {
  display: grid;
  gap: 10px;
}

.plan-method-btn,
.plan-cta {
  width: 100%;
}

.plan-method-btn {
  justify-content: center;
}

.payment-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
}

.payment-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 8, 24, 0.74);
  backdrop-filter: blur(6px);
}

.payment-modal-dialog {
  position: relative;
  width: min(560px, calc(100% - 28px));
  margin: clamp(24px, 7vh, 72px) auto 0;
  padding: 24px;
  border-radius: 24px;
  border: 1px solid rgba(198, 208, 255, 0.24);
  background:
    linear-gradient(180deg, rgba(24, 31, 66, 0.96), rgba(11, 16, 35, 0.98)),
    radial-gradient(circle at 0% 0%, rgba(182, 196, 255, 0.14), transparent 42%);
  box-shadow: var(--shadow-xl);
}

.payment-modal-dialog h3 {
  margin: 0 0 8px;
}

.payment-modal-dialog label {
  display: block;
  margin-bottom: 6px;
  color: var(--text-soft);
  font-weight: 600;
}

.payment-modal-dialog input {
  width: 100%;
}

.payment-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(190, 200, 255, 0.28);
  border-radius: 10px;
  background: rgba(18, 25, 55, 0.85);
  color: #e9efff;
  cursor: pointer;
  font-size: 1.3rem;
  line-height: 1;
}

.payment-modal-close:hover {
  background: rgba(34, 45, 92, 0.92);
}

.payment-method-footer-actions {
  margin-top: 18px;
}

.cta-band-landing {
  background:
    linear-gradient(180deg, rgba(18, 24, 52, 0.92), rgba(8, 11, 22, 0.96)),
    radial-gradient(circle at 0% 100%, rgba(193, 173, 255, 0.1), transparent 42%);
}

.enhanced-motion [data-reveal] {
  opacity: 0;
  transform: translateY(28px) scale(0.985);
  transition:
    opacity 0.72s cubic-bezier(.2, .9, .2, 1),
    transform 0.72s cubic-bezier(.2, .9, .2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.enhanced-motion [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@keyframes pulseGlow {
  0%,
  100% {
    transform: scale(0.98);
    opacity: 0.82;
  }
  50% {
    transform: scale(1.04);
    opacity: 1;
  }
}

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

@keyframes starDrift {
  0% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(-0.8%, 1.1%, 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 1080px) {
  .hero-grid,
  .feature-layout,
  .pricing-layout,
  .auth-layout,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .hero-grid-home,
  .pricing-layout-rework,
  .hero-cabinet .hero-grid {
    grid-template-columns: 1fr;
  }

  .proof-strip,
  .journey-grid,
  .compact-journey,
  .selling-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-visual,
  .hero-visual-home {
    min-height: 420px;
  }

  .hero-showcase {
    min-height: auto;
  }

  .feature-media,
  .story-art {
    max-width: 640px;
    margin: 0 auto;
  }
}

@media (max-width: 860px) {
  .grid-3,
  .grid-2,
  .proof-strip,
  .journey-grid,
  .compact-journey,
  .selling-grid {
    grid-template-columns: 1fr;
  }

  .header-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
  }

  .site-nav a,
  .site-nav button,
  #auth-links,
  #user-info {
    width: 100%;
  }

  #auth-links,
  #user-info {
    justify-content: stretch;
  }

  #auth-links a,
  #user-info > * {
    flex: 1 1 0;
  }
}

@media (max-width: 720px) {
  .main {
    padding-top: 22px;
    padding-bottom: 68px;
  }

  .container {
    width: min(var(--container), calc(100% - 22px));
  }

  .hero,
  .section,
  .proof-card,
  .story-card,
  .form-card,
  .card,
  .journey-card {
    border-radius: 24px;
  }

  .hero {
    padding: 24px 18px;
  }

  .section,
  .story-card,
  .form-card {
    padding: 20px 18px;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(1.9rem, 8vw, 2.8rem);
  }

  .hero-visual,
  .hero-visual-home {
    min-height: 340px;
  }

  .hero-floating-card,
  .hero-floating-chip {
    position: static;
    margin-top: 12px;
    width: 100%;
    max-width: none;
  }

  .hero-visual {
    display: grid;
    gap: 12px;
  }

  .hero-showcase {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .brand-collage {
    width: min(100%, 920px);
    justify-self: center;
  }

  .showcase-card-left,
  .showcase-card-right {
    transform: none;
  }

  .showcase-pill {
    position: static;
    width: 100%;
    justify-content: center;
  }

  .plan-card-head {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .inline-actions .btn,
  .btn {
    width: 100%;
  }

  .hero-actions {
    width: 100%;
  }

  .site-nav a,
  .site-nav button {
    justify-content: center;
  }

  .payment-modal-dialog {
    width: calc(100% - 16px);
    margin-top: 14px;
    padding: 18px;
    border-radius: 18px;
  }
}
