/* ================================================================
   WhatsApp Flow — Landing Page Styles
   Fonts: Gambetta (headings), Satoshi (body) via Fontshare CDN
   ================================================================ */

/* --------------- Reset & Base --------------- */

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

body.landing {
  font-family: 'Satoshi', sans-serif;
  color: #1A1A1A;
  background: #FBFBFC;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* --------------- Scroll Snap (Hero ↔ Capabilities) --------------- */

html {
  scroll-snap-type: y proximity;
}

.hero {
  scroll-snap-align: start;
}

#features {
  scroll-snap-align: start;
}

html {
  scroll-snap-type: none;
}

.hero,
#features {
  scroll-snap-align: none;
}

/* --------------- Dot Grid Background --------------- */

.dot-grid {
  position: relative;
}
.dot-grid::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, #E5E7EB 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.2;
  pointer-events: none;
}

/* --------------- Glow Spheres --------------- */

.glow-sphere {
  position: absolute;
  width: 40%;
  height: 40%;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}
.glow-sphere--blue  { top: -5%; left: -5%; background: #EFF6FF; }
.glow-sphere--slate { bottom: -5%; right: -5%; background: #F1F5F9; }

/* --------------- Decorative Serif Text --------------- */

.deco-text {
  position: absolute;
  font-family: 'Gambetta', Georgia, serif;
  font-size: 8rem;
  font-weight: 500;
  opacity: 0.03;
  pointer-events: none;
  user-select: none;
}
.deco-text--top    { top: 10%; left: 5%; }
.deco-text--bottom { bottom: 15%; right: 5%; }

/* ================================================================
   HERO
   ================================================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* --------------- Floating Glass Cards --------------- */

.float-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);
  border-radius: 24px;
  padding: 20px;
  max-width: 280px;
  animation: float 12s ease-in-out infinite;
}

.float-card__icon  { font-size: 20px; margin-bottom: 8px; }
.float-card__label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #64748B;
  margin-bottom: 8px;
}
.float-card__text {
  font-size: 13px;
  color: #334155;
  line-height: 1.5;
}

/* Card positions & stagger */
.float-card--your-number {
  top: 12%;
  left: 5%;
  animation-delay: 0s;
  opacity: 0.6;
}

.float-card--ai-agents {
  top: 8%;
  right: 6%;
  animation-delay: -3s;
  opacity: 0.7;
}

.float-card--smart-webhooks {
  bottom: 20%;
  left: 4%;
  animation-delay: -6s;
  opacity: 0.5;
}

.float-card--concept-search {
  bottom: 15%;
  right: 5%;
  animation-delay: -9s;
  opacity: 0.65;
}

.float-card--any-automation {
  top: 45%;
  left: 2%;
  animation-delay: -2s;
  opacity: 0.45;
  max-width: 240px;
}

.float-card--auto-tasks {
  top: 40%;
  right: 3%;
  animation-delay: -7s;
  opacity: 0.55;
  max-width: 250px;
}

@keyframes float {
  0%   { transform: translate(0, 0) rotate(0deg); }
  33%  { transform: translate(10px, -20px) rotate(2deg); }
  66%  { transform: translate(-15px, 10px) rotate(-1deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

/* --------------- Hero Content --------------- */

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 700px;
  padding: 0 24px;
}

/* Status badge */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 9999px;
  padding: 6px 16px;
  margin-bottom: 32px;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #64748B;
  border-radius: 50%;
  position: relative;
}
.status-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid #64748B;
  animation: ping 2s ease-out infinite;
  opacity: 0;
}

@keyframes ping {
  0%   { transform: scale(1); opacity: 0.4; }
  100% { transform: scale(2.2); opacity: 0; }
}

.status-text {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #64748B;
}

/* Heading */
.hero h1 {
  font-family: 'Gambetta', Georgia, serif;
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 500;
  line-height: 1.05;
  margin-bottom: 24px;
  color: #1A1A1A;
}
.hero-wa-icon {
  width: clamp(2.9rem, 6vw, 4.6rem);
  height: auto;
  margin-right: 0.12em;
  color: #25D366;
  vertical-align: -0.08em;
}
.hero h1 em {
  font-style: italic;
  color: #334155;
}

/* Description */
.hero-desc {
  font-size: 1.25rem;
  color: #64748B;
  line-height: 1.6;
  max-width: 512px;
  margin: 0 auto 40px;
}

/* --------------- CTA Buttons --------------- */

.cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
}

/* Shiny animated border wrapper */
.btn-shiny-wrap {
  position: relative;
  padding: 2px;
  border-radius: 9999px;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(180deg, #d9dfdb 0%, #b5beb7 100%);
}
.btn-shiny-wrap::before {
  content: '';
  position: absolute;
  inset: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    transparent 138deg,
    rgba(132, 204, 22, 0.92) 156deg,
    rgba(34, 197, 94, 0.98) 172deg,
    rgba(45, 212, 191, 0.94) 188deg,
    rgba(236, 72, 153, 0.82) 206deg,
    rgba(168, 85, 247, 0.9) 224deg,
    rgba(45, 212, 191, 0.86) 242deg,
    rgba(132, 204, 22, 0.72) 258deg,
    transparent 286deg,
    transparent 360deg
  );
  animation: spin 12s linear infinite;
  filter: blur(1.05px) saturate(1.18);
  opacity: 0.96;
  z-index: 0;
}

@keyframes spin { to { transform: rotate(360deg); } }

.btn-primary {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #0a0a0a;
  color: #fff;
  padding: 16px 40px;
  border-radius: 9999px;
  font-weight: 500;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  font-family: 'Satoshi', sans-serif;
}

.btn-ghost {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #475569;
  padding: 16px 32px;
  border-radius: 9999px;
  font-weight: 500;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  font-family: 'Satoshi', sans-serif;
  transition: background 0.2s;
}
.btn-ghost:hover { background: #F8FAFC; }

/* --------------- Trust Cluster --------------- */

.trust {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
}

.avatars { display: flex; }
.avatars__item {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 4px solid #fff;
  margin-left: -12px;
  background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #475569;
  font-weight: 600;
}
.avatars__item:first-child { margin-left: 0; }

.trust-text {
  font-size: 14px;
  color: #94A3B8;
}
.trust-text strong {
  color: #475569;
  font-weight: 600;
}

/* ================================================================
   TRANSITION
   ================================================================ */

.transition-fade {
  height: 0;
}

/* ================================================================
   BELOW-FOLD SECTIONS
   ================================================================ */

.section {
  padding: 100px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.section--alt {
  background: #F8F9FA;
}

.section__label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #8b5cf6;
  margin-bottom: 12px;
}

.section h2 {
  font-family: 'Gambetta', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 500;
  margin-bottom: 16px;
  color: #1A1A1A;
}
.section h2 em {
  font-style: italic;
}

.section__desc {
  font-size: 1.1rem;
  color: #64748B;
  line-height: 1.6;
  max-width: 560px;
  margin-bottom: 56px;
}

/* --------------- Features Grid --------------- */

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-card {
  background: #FFFFFF;
  border: 1px solid #F1F5F9;
  border-radius: 20px;
  padding: 32px;
  transition: box-shadow 0.3s, transform 0.3s;
}
.feature-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);
  transform: translateY(-2px);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #F8FAFC;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-family: 'Satoshi', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #1A1A1A;
}

.feature-card p {
  font-size: 0.95rem;
  color: #64748B;
  line-height: 1.6;
}

/* --------------- Steps (How It Works) --------------- */

.steps {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 32px;
  right: 32px;
  height: 1px;
  background: #E2E8F0;
}

.step {
  flex: 1;
  text-align: center;
  position: relative;
}

.step__num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #FBFBFC;
  border: 2px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-family: 'Gambetta', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: #1A1A1A;
  position: relative;
  z-index: 1;
}

.step h3 {
  font-family: 'Satoshi', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #1A1A1A;
}

.step p {
  font-size: 0.9rem;
  color: #64748B;
  line-height: 1.5;
  max-width: 260px;
  margin: 0 auto;
}

/* --------------- Use Cases Grid --------------- */

.usecases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.usecase {
  background: #FFFFFF;
  border: 1px solid #F1F5F9;
  border-radius: 20px;
  padding: 28px;
}

.usecase__emoji { font-size: 28px; margin-bottom: 16px; }

.usecase h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #1A1A1A;
}

.usecase p {
  font-size: 0.88rem;
  color: #64748B;
  line-height: 1.5;
}

/* --------------- Bespoke / Vector Search --------------- */

.bespoke {
  text-align: center;
  padding: 80px 24px;
  position: relative;
  overflow: hidden;
}
.bespoke::before {
  opacity: 0.1;
}

.bespoke .section__label {
  position: relative;
}

.bespoke h2 {
  font-family: 'Gambetta', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  margin-bottom: 16px;
  position: relative;
  color: #1A1A1A;
}
.bespoke h2 em {
  font-style: italic;
}

.bespoke > p {
  font-size: 1.1rem;
  color: #64748B;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.search-demo {
  background: #FFFFFF;
  border: 1px solid #F1F5F9;
  border-radius: 20px;
  padding: 32px;
  max-width: 500px;
  margin: 40px auto 0;
  text-align: left;
  position: relative;
}

.search-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 20px;
}
.search-bar span { color: #94A3B8; font-size: 14px; }

.search-result {
  padding: 12px 0;
  border-bottom: 1px solid #F1F5F9;
  display: flex;
  align-items: center;
  gap: 10px;
}
.search-result:last-child { border-bottom: none; }

.search-result__match {
  font-size: 10px;
  font-weight: 700;
  color: #8b5cf6;
  background: #F5F3FF;
  padding: 2px 8px;
  border-radius: 6px;
  flex-shrink: 0;
}

.search-result__text {
  font-size: 13px;
  color: #334155;
}

/* ================================================================
   FOOTER NAV
   ================================================================ */

.footer-nav {
  padding: 40px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.footer-nav a {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #94A3B8;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-nav a:hover { color: #1A1A1A; }

.footer-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #CBD5E1;
}

/* ================================================================
   LOGIN MODAL
   ================================================================ */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.modal-overlay--active {
  opacity: 1;
  pointer-events: auto;
}

.login-modal {
  background: #FFFFFF;
  color: #0f172a;
  color-scheme: light;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 24px;
  padding: 48px 40px;
  width: 100%;
  max-width: 400px;
  position: relative;
  box-shadow: 0 32px 80px rgba(15, 23, 42, 0.18);
}

.login-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: #94A3B8;
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
}
.login-modal__close:hover { color: #334155; }

.login-modal h2 {
  font-family: 'Gambetta', Georgia, serif;
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: #0f172a;
}

.login-modal__subtitle {
  font-size: 0.9rem;
  color: #64748B;
  margin-bottom: 32px;
}
.login-modal__subtitle a {
  color: #0f172a;
  font-weight: 600;
  text-decoration: none;
}
.login-modal__subtitle a:hover { text-decoration: underline; }

/* --- Disclaimer modal --- */
.disclaimer-modal {
  background: #FFFFFF;
  color: #0f172a;
  color-scheme: light;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 24px;
  padding: 48px 40px;
  width: 100%;
  max-width: 540px;
  position: relative;
  box-shadow: 0 32px 80px rgba(15, 23, 42, 0.18);
}
.disclaimer-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: #94A3B8;
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
}
.disclaimer-modal__close:hover { color: #334155; }

.disclaimer-modal h2 {
  font-family: 'Gambetta', Georgia, serif;
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: 20px;
  color: #0f172a;
}
.disclaimer-modal__text {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #475569;
  margin-bottom: 24px;
  max-height: 50vh;
  overflow-y: auto;
}
.disclaimer-modal__text p {
  margin-bottom: 12px;
}
.disclaimer-modal__text p:last-child {
  margin-bottom: 0;
}
.disclaimer-modal__text strong {
  color: #0f172a;
  font-weight: 600;
}
.disclaimer-modal__agree {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: #334155;
  cursor: pointer;
  margin-bottom: 20px;
  user-select: none;
}
.disclaimer-modal__agree input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #0f172a;
  cursor: pointer;
  flex-shrink: 0;
}
.btn-shiny-wrap--disclaimer {
  width: 100%;
}
.btn-shiny-wrap--disclaimer .btn-primary {
  width: 100%;
}

.form-field {
  margin-bottom: 16px;
}

.form-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #64748B;
  margin-bottom: 6px;
}

.form-field input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid #CBD5E1;
  background: #FFFFFF;
  color: #0f172a;
  font-size: 14px;
  font-family: 'Satoshi', sans-serif;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-field input::placeholder {
  color: #94A3B8;
}
.form-field input:focus {
  border-color: #0f172a;
  box-shadow: 0 0 0 4px rgba(15, 23, 42, 0.08);
}

.login-error {
  color: #ef4444;
  font-size: 13px;
  margin-bottom: 12px;
  display: none;
}
.login-error--visible { display: block; }

.btn-shiny-wrap--login {
  display: block;
  width: 100%;
  margin-top: 8px;
}

.btn-login {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 14px;
  border-radius: 9999px;
  background: #0a0a0a;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  font-family: 'Satoshi', sans-serif;
  transition: opacity 0.2s;
}
.btn-login:disabled { opacity: 0.5; cursor: not-allowed; }

/* ================================================================
   SCROLL FADE-IN
   ================================================================ */

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in--visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================================================================
   RESPONSIVE
   ================================================================ */

@media (max-width: 768px) {
  .float-card { display: none; }
  .deco-text  { display: none; }

  .features-grid   { grid-template-columns: 1fr; }
  .usecases-grid   { grid-template-columns: 1fr; }

  .steps {
    flex-direction: column;
    gap: 32px;
  }
  .steps::before { display: none; }

  .modal-overlay {
    align-items: flex-end;
  }

  .login-modal {
    margin: 0;
    padding: 32px 24px 40px;
    max-width: 100%;
    border-radius: 24px 24px 0 0;
  }

  .cta-group {
    flex-direction: column;
  }

  .section {
    padding: 60px 20px;
  }

  .bespoke {
    padding: 60px 20px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .usecases-grid { grid-template-columns: repeat(2, 1fr); }

  .float-card--any-automation,
  .float-card--auto-tasks { display: none; }
}

/* --------------- Setup Wizard Modal --------------- */

.setup-modal {
  background: #FFFFFF;
  color: #0f172a;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 24px;
  padding: 40px 36px 44px;
  max-width: 480px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.12);
}

.setup-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #94A3B8;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
}
.setup-modal__close:hover { color: #334155; }

/* Progress bar */
.setup-progress {
  display: flex;
  gap: 4px;
  margin-bottom: 32px;
}
.setup-progress__bar {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: #e0e0e0;
  transition: background 0.3s;
}
.setup-progress__bar--active {
  background: #25D366;
}

/* Step container */
.setup-step {
  text-align: center;
}
.setup-step__icon {
  margin-bottom: 16px;
}
.setup-step__title {
  font-family: 'Gambetta', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: #1a1a1a;
}
.setup-step__desc {
  color: #888;
  font-size: 0.9rem;
  margin-bottom: 24px;
}
#verifyPromptText .vp-word {
  transition: color 0.3s ease, font-weight 0.3s ease;
}
#verifyPromptText .vp-word--bold {
  color: #1a1a1a;
  font-weight: 600;
}
.setup-step__note {
  color: #aaa;
  font-size: 0.8rem;
  margin-top: 20px;
}
.setup-step__email {
  color: #1a1a1a;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 24px;
}

/* Form field */
.setup-field {
  text-align: left;
  max-width: 320px;
  margin: 0 auto 20px;
}
.setup-field label {
  font-size: 0.8rem;
  color: #555;
  display: block;
  margin-bottom: 6px;
}
.setup-field input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 1rem;
  font-family: 'Satoshi', sans-serif;
  outline: none;
  transition: border-color 0.2s;
}
.setup-field input:focus {
  border-color: #25D366;
}

/* Phone row (country selector + number) */
.setup-phone-row {
  display: flex;
  gap: 8px;
}
.setup-country-select {
  width: 110px;
  flex-shrink: 0;
  padding: 12px 8px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 0.9rem;
  font-family: 'Satoshi', sans-serif;
  outline: none;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 5l3 3 3-3' stroke='%23999' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  padding-right: 24px;
}
.setup-country-select:focus {
  border-color: #25D366;
}
.setup-phone-row input {
  flex: 1;
  min-width: 0;
}
.setup-field__hint {
  font-size: 0.75rem;
  color: #999;
  margin-top: 6px;
}

/* Error */
.setup-error {
  color: #dc2626;
  font-size: 0.85rem;
  margin-bottom: 12px;
  display: none;
}

/* Button */
.setup-btn {
  display: inline-block;
  padding: 12px 48px;
  background: #1a1a1a;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  font-family: 'Satoshi', sans-serif;
  cursor: pointer;
  transition: background 0.2s;
}
.setup-btn:hover { background: #333; }
.setup-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.setup-btn--ghost {
  background: none;
  color: #666;
  border: 1px solid #ddd;
  margin-top: 20px;
}
.setup-btn--ghost:hover { background: #f5f5f5; color: #333; }

/* Phone confirmation */
.setup-phone-confirm__number {
  font-size: 1.6rem;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

/* QR container */
.setup-qr {
  width: 220px;
  height: 220px;
  margin: 0 auto 16px;
  background: #f5f5f5;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.setup-qr__placeholder {
  text-align: center;
  color: #aaa;
  font-size: 0.8rem;
}
.setup-qr__placeholder svg {
  margin-bottom: 8px;
}

/* Status indicator */
.setup-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: #f0faf0;
  border-radius: 8px;
  font-size: 0.85rem;
  color: #25D366;
  margin-bottom: 16px;
}
.setup-status__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #25D366;
  animation: setupPulse 1.5s ease-in-out infinite;
}
.setup-status__dot--success { background: #25D366; animation: none; }
.setup-status__dot--error { background: #dc2626; animation: none; }

@keyframes setupPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* Instructions */
.setup-instructions {
  margin-top: 16px;
  padding: 16px;
  background: #f8f9fa;
  border-radius: 10px;
  text-align: left;
  font-size: 0.85rem;
  color: #666;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
}
.setup-instructions__step {
  margin-bottom: 6px;
}
.setup-instructions__step:last-child { margin-bottom: 0; }

/* Verify ring */
.setup-verify {
  margin: 20px auto;
  width: 160px;
  height: 160px;
  position: relative;
}
.setup-verify__ring {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.setup-verify__ring::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 3px solid #e0e0e0;
  border-top-color: #25D366;
  border-radius: 50%;
  animation: setupSpin 1.2s linear infinite;
}
.setup-verify__label {
  font-size: 0.75rem;
  color: #aaa;
  margin-top: 6px;
}

@keyframes setupSpin {
  to { transform: rotate(360deg); }
}

/* Info panel */
.setup-info {
  margin-top: 20px;
  padding: 20px;
  background: #f0faf0;
  border-radius: 12px;
  text-align: left;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}
.setup-info__title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 10px;
}
.setup-info__row {
  font-size: 0.8rem;
  color: #555;
  margin-bottom: 8px;
}
.setup-info__row code {
  background: #fff;
  padding: 3px 6px;
  border-radius: 4px;
  font-size: 0.75rem;
  word-break: break-all;
}

/* Confirmation step */
.setup-next {
  padding: 20px;
  background: #f8f9fa;
  border-radius: 12px;
  text-align: left;
  max-width: 360px;
  margin: 0 auto;
}
.setup-next__title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 10px;
}
.setup-next__text {
  font-size: 0.8rem;
  color: #555;
  margin-bottom: 16px;
}
.setup-next__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.setup-help-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  text-decoration: none;
  color: #1a1a1a;
  font-size: 0.8rem;
  transition: border-color 0.2s;
}
.setup-help-link:hover { border-color: #25D366; }

/* Mobile */
@media (max-width: 600px) {
  .setup-modal {
    max-width: 100%;
    border-radius: 24px 24px 0 0;
    padding: 32px 24px 40px;
    max-height: 95vh;
  }
}
