/* ========== بیپیل Landing — Light Luxury ========== */
:root {
  --brand: #4f46e5;
  --brand-dark: #3730a3;
  --brand-soft: #eef2ff;
  --gold: #c9a227;
  --gold-soft: #fbf6e6;
  --ink: #0f172a;
  --ink-muted: #64748b;
  --surface: #f8fafc;
  --surface-elevated: #ffffff;
  --border: rgba(15, 23, 42, 0.08);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow: 0 4px 24px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.1), 0 8px 16px rgba(15, 23, 42, 0.06);
  --radius: 1.25rem;
  --radius-sm: 0.75rem;
  --font: 'Vazirmatn', system-ui, -apple-system, sans-serif;
  --header-h: 72px;
  --container: 1120px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  font-family: var(--font);
  background: var(--surface);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea {
  font: inherit;
  color: inherit;
}
ul { list-style: none; }

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

/* Background decor */
.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background:
    radial-gradient(ellipse 80% 50% at 80% -10%, rgba(79, 70, 229, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 10% 20%, rgba(201, 162, 39, 0.08), transparent 50%),
    radial-gradient(ellipse 50% 30% at 90% 80%, rgba(79, 70, 229, 0.06), transparent 50%);
}
.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black, transparent);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(248, 250, 252, 0.82);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.25s ease;
}
.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}
.logo img {
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.25);
}
.nav-desktop {
  display: none;
  gap: 1.75rem;
}
.nav-desktop a {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--ink-muted);
  transition: color 0.2s;
}
.nav-desktop a:hover { color: var(--brand); }
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: 0.25s;
}
.nav-mobile {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem 1rem 1.25rem;
  background: var(--surface-elevated);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.nav-mobile[hidden] { display: none; }
.nav-mobile a {
  padding: 0.75rem 0.5rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
}
.nav-mobile a:hover { background: var(--brand-soft); color: var(--brand); }

@media (min-width: 900px) {
  .nav-desktop { display: flex; }
  .nav-toggle { display: none; }
  .header-actions .btn-ghost { display: inline-flex; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn-lg { padding: 0.9rem 1.6rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(79, 70, 229, 0.35);
}
.btn-primary:hover {
  box-shadow: 0 6px 24px rgba(79, 70, 229, 0.45);
}
.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.btn-outline:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--brand-soft);
}
.btn-ghost {
  background: transparent;
  color: var(--ink-muted);
}
.btn-ghost:hover { color: var(--brand); }
.btn-light {
  background: #fff;
  color: var(--brand-dark);
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}
.btn-light:hover { box-shadow: 0 6px 28px rgba(0,0,0,0.16); }

/* Hero */
.hero {
  padding: 3rem 0 4.5rem;
}
.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.5rem;
  }
  .hero { padding: 4.5rem 0 5.5rem; }
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-muted);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.25rem;
}
.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25); }
  50% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.08); }
}
.hero h1 {
  font-size: clamp(2.15rem, 5vw, 3.35rem);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.03em;
  margin-bottom: 1.15rem;
}
.text-gradient {
  background: linear-gradient(120deg, var(--brand) 0%, #7c3aed 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead {
  font-size: 1.05rem;
  color: var(--ink-muted);
  max-width: 34rem;
  margin-bottom: 1.75rem;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.25rem;
}
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
}
.stat strong {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ink);
}
.stat span {
  font-size: 0.8rem;
  color: var(--ink-muted);
}

/* Phone mock */
.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
}
.phone-mock {
  position: relative;
  width: min(100%, 300px);
}
.phone-frame {
  background: linear-gradient(160deg, #1e1b4b 0%, #0f172a 100%);
  border-radius: 2.25rem;
  padding: 12px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,0.08) inset;
}
.phone-notch {
  width: 36%;
  height: 22px;
  background: #0f172a;
  border-radius: 0 0 12px 12px;
  margin: 0 auto 8px;
}
.phone-screen {
  background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
  border-radius: 1.5rem;
  padding: 1rem;
  min-height: 420px;
  color: var(--ink);
}
.mock-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-weight: 700;
  font-size: 0.95rem;
}
.mock-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), #7c3aed);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 700;
}
.mock-card {
  background: #fff;
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(15,23,42,0.05);
  margin-bottom: 0.75rem;
}
.mock-balance .label {
  font-size: 0.7rem;
  color: var(--ink-muted);
  display: block;
  margin-bottom: 0.25rem;
}
.mock-balance strong {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.mock-balance .unit {
  font-size: 0.75rem;
  color: var(--ink-muted);
  margin-right: 0.25rem;
}
.mock-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}
.mock-card.small {
  padding: 0.75rem;
  margin: 0;
}
.mock-card.small .icon { font-size: 1rem; display: block; margin-bottom: 0.2rem; }
.mock-card.small span:not(.icon) {
  font-size: 0.65rem;
  color: var(--ink-muted);
  display: block;
}
.mock-card.small strong {
  font-size: 0.85rem;
  font-weight: 700;
}
.mock-list {
  background: #fff;
  border-radius: 1rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid rgba(15,23,42,0.05);
}
.mock-item {
  display: flex;
  justify-content: space-between;
  padding: 0.55rem 0;
  font-size: 0.78rem;
  border-bottom: 1px solid rgba(15,23,42,0.05);
}
.mock-item:last-child { border-bottom: none; }
.mock-item .neg { color: #e11d48; font-weight: 600; }
.mock-item .pos { color: #059669; font-weight: 600; }

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #fff;
  padding: 0.65rem 0.9rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  font-size: 0.8rem;
  animation: float 4s ease-in-out infinite;
}
.float-card strong { display: block; font-size: 0.82rem; }
.float-card small { color: var(--ink-muted); font-size: 0.7rem; }
.fc-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
  font-weight: 700;
  flex-shrink: 0;
}
.fc-icon.gold {
  background: var(--gold-soft);
  color: var(--gold);
}
.float-1 { top: 12%; left: -12%; animation-delay: 0s; }
.float-2 { bottom: 18%; right: -14%; animation-delay: 1.2s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@media (max-width: 480px) {
  .float-1, .float-2 { display: none; }
}

/* Sections */
.section {
  padding: 4.5rem 0;
}
.section-alt {
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  border-block: 1px solid var(--border);
}
.section-head {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 3rem;
}
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: 0.04em;
  margin-bottom: 0.65rem;
  text-transform: uppercase;
}
.section-head h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  line-height: 1.35;
}
.section-head p {
  color: var(--ink-muted);
  font-size: 1rem;
}

/* Features */
.features-grid {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: 1fr;
}
@media (min-width: 600px) {
  .features-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .features-grid { grid-template-columns: repeat(4, 1fr); }
}
.feature-card {
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.2s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(79, 70, 229, 0.2);
}
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-icon.indigo { background: #eef2ff; color: #4f46e5; }
.feature-icon.gold { background: #fbf6e6; color: #b45309; }
.feature-icon.rose { background: #fff1f2; color: #e11d48; }
.feature-icon.teal { background: #f0fdfa; color: #0d9488; }
.feature-icon.violet { background: #f5f3ff; color: #7c3aed; }
.feature-icon.amber { background: #fffbeb; color: #d97706; }
.feature-icon.sky { background: #f0f9ff; color: #0284c7; }
.feature-icon.slate { background: #f1f5f9; color: #475569; }
.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
}
.feature-card p {
  font-size: 0.875rem;
  color: var(--ink-muted);
  line-height: 1.65;
}

/* Steps */
.steps {
  display: grid;
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto 2.5rem;
}
@media (min-width: 768px) {
  .steps {
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: start;
  }
  .step-line {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--brand-soft), var(--brand), var(--brand-soft));
    margin-top: 1.6rem;
    border-radius: 2px;
  }
}
@media (max-width: 767px) {
  .step-line { display: none; }
}
.step {
  text-align: center;
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  box-shadow: var(--shadow-sm);
}
.step-num {
  width: 40px;
  height: 40px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  font-weight: 800;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}
.step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.step p {
  font-size: 0.875rem;
  color: var(--ink-muted);
}
.center-cta {
  text-align: center;
}

/* Benefits */
.benefits-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 900px) {
  .benefits-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.5rem;
  }
}
.benefits-copy h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.35;
  margin-bottom: 1rem;
}
.benefits-copy > p {
  color: var(--ink-muted);
  margin-bottom: 1.5rem;
}
.check-list {
  margin-bottom: 1.75rem;
}
.check-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.45rem 0;
  font-size: 0.95rem;
}
.check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 800;
  margin-top: 2px;
}
.benefits-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.benefit-pill {
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  box-shadow: var(--shadow-sm);
}
.benefit-pill.highlight {
  background: linear-gradient(135deg, #eef2ff 0%, #faf5ff 50%, #fbf6e6 100%);
  border-color: rgba(79, 70, 229, 0.15);
  box-shadow: var(--shadow);
}
.benefit-pill strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.35rem;
}
.benefit-pill p {
  font-size: 0.875rem;
  color: var(--ink-muted);
}

/* CTA Banner */
.cta-banner {
  padding: 3.5rem 0;
  background: linear-gradient(135deg, #4f46e5 0%, #3730a3 45%, #5b21b6 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(201, 162, 39, 0.2), transparent 40%),
    radial-gradient(circle at 90% 20%, rgba(255,255,255,0.08), transparent 35%);
  pointer-events: none;
}
.cta-inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.cta-banner h2 {
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 800;
  margin-bottom: 0.4rem;
}
.cta-banner p {
  opacity: 0.9;
  font-size: 0.95rem;
  max-width: 28rem;
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 800px) {
  .contact-grid {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 2.5rem;
    align-items: start;
  }
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}
.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
  box-shadow: var(--shadow-sm);
}
.ci-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--brand-soft);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-item strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.15rem;
}
.contact-item a, .contact-item span {
  font-size: 0.875rem;
  color: var(--ink-muted);
}
.contact-item a:hover { color: var(--brand); }
.contact-note {
  padding: 1rem 1.15rem;
  background: var(--gold-soft);
  border: 1px solid rgba(201, 162, 39, 0.25);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: #78520a;
}

.contact-form {
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.form-row {
  display: grid;
  gap: 1rem;
}
@media (min-width: 520px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}
.field {
  margin-bottom: 1rem;
}
.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--ink);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}
.field textarea { resize: vertical; min-height: 120px; }
.form-hint {
  margin-top: 0.85rem;
  font-size: 0.875rem;
  text-align: center;
  min-height: 1.4em;
}
.form-hint.success { color: #059669; }
.form-hint.error { color: #e11d48; }

/* Footer */
.site-footer {
  background: #0f172a;
  color: #cbd5e1;
  padding-top: 3rem;
}
.footer-inner {
  display: grid;
  gap: 2rem;
  padding-bottom: 2.5rem;
}
@media (min-width: 700px) {
  .footer-inner {
    grid-template-columns: 1.4fr 1fr;
  }
}
.footer-brand .logo {
  color: #fff;
  margin-bottom: 0.85rem;
}
.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 22rem;
  opacity: 0.85;
}
.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.footer-links strong {
  display: block;
  color: #fff;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}
.footer-links a {
  display: block;
  font-size: 0.875rem;
  padding: 0.25rem 0;
  opacity: 0.8;
  transition: opacity 0.2s, color 0.2s;
}
.footer-links a:hover {
  opacity: 1;
  color: #a5b4fc;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.15rem 0;
  font-size: 0.8rem;
  opacity: 0.7;
}
.footer-bottom .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
}

/* Register popup */
.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  animation: fadeIn 0.2s ease;
}
.popup-overlay[hidden] {
  display: none;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.popup-box {
  position: relative;
  width: min(100%, 400px);
  background: #fff;
  border-radius: 1.5rem;
  padding: 1.75rem 1.5rem 1.5rem;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.25);
  border: 1px solid var(--border);
  text-align: center;
  animation: popIn 0.25s ease;
}
@keyframes popIn {
  from { opacity: 0; transform: translateY(12px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.popup-close {
  position: absolute;
  top: 0.75rem;
  left: 0.85rem;
  width: 36px;
  height: 36px;
  border: none;
  background: #f1f5f9;
  border-radius: 50%;
  font-size: 1.35rem;
  line-height: 1;
  color: var(--ink-muted);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.15s, color 0.15s;
}
.popup-close:hover {
  background: #e2e8f0;
  color: var(--ink);
}
.popup-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.85rem;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}
.popup-box h2 {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}
.popup-lead {
  font-size: 0.95rem;
  color: var(--ink-muted);
  margin-bottom: 1.35rem;
  line-height: 1.65;
}
.popup-form .field {
  text-align: right;
  margin-bottom: 1rem;
}
.popup-form .field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.popup-form .field input {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-size: 1rem;
}
.popup-form .field input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}
.popup-note {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--ink-muted);
}
body.popup-open {
  overflow: hidden;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .float-card, .badge-dot { animation: none; }
  .popup-overlay, .popup-box { animation: none; }
}
