/* ============================================================
   PrfctClaw — Design Tokens & Components
   ============================================================ */

/* --- Tokens --- */
:root {
  /* Type scale */
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-3xl:  clamp(2.5rem,   1rem    + 4vw,    5rem);

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Fonts */
  --font-body: 'Public Sans', 'Inter', sans-serif;
  --font-display: 'Public Sans', 'Inter', sans-serif;

  /* Colors — PrfctClaw Dark Theme */
  --color-bg:          #030014;
  --color-surface:     #0a0820;
  --color-surface-2:   #110e2e;
  --color-surface-3:   #1a1540;
  --color-border:      rgba(255, 255, 255, 0.08);
  --color-border-strong: rgba(255, 255, 255, 0.15);
  --color-text:        #e8e6f0;
  --color-text-muted:  #9490ad;
  --color-text-faint:  #5e5a78;
  --color-primary:     #F5721A;
  --color-primary-hover: #ff8533;
  --color-primary-active: #e06010;
  --color-teal:        #00C9A7;
  --color-teal-hover:  #00e0bb;
  --color-teal-dim:    rgba(0, 201, 167, 0.15);
  --color-success:     #34d399;
  --color-error:       #f87171;
  --color-warning:     #fbbf24;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.25rem;
  --radius-full: 9999px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 180ms var(--ease-out);
  --transition-normal: 300ms var(--ease-out);

  /* Content widths */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.5);
  --shadow-glow-orange: 0 0 40px rgba(245, 114, 26, 0.2);
  --shadow-glow-teal: 0 0 40px rgba(0, 201, 167, 0.15);
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.container--narrow {
  max-width: var(--content-narrow);
}

.container--default {
  max-width: var(--content-default);
}

section {
  padding-block: clamp(var(--space-12), 8vw, var(--space-24));
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--space-4) 0;
  background: rgba(3, 0, 20, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  transition: background var(--transition-normal), box-shadow var(--transition-normal);
}

.nav--scrolled {
  background: rgba(3, 0, 20, 0.95);
  box-shadow: 0 1px 0 var(--color-border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--color-text);
  flex-shrink: 0;
}

.nav__logo-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-md);
}

.nav__logo-wordmark {
  font-size: var(--text-lg);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

.nav__logo-wordmark span {
  color: var(--color-primary);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  list-style: none;
}

.nav__links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.nav__links a:hover {
  color: var(--color-text);
}

.nav__cta {
  flex-shrink: 0;
}

/* Mobile nav toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
}

.nav__toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-text);
  border-radius: 1px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.nav__toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav__toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav__toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.75rem 1.75rem;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--radius-lg);
  text-decoration: none;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.btn--primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.1);
}

.btn--primary:hover {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow-orange), 0 4px 12px rgba(245, 114, 26, 0.3);
}

.btn--primary:active {
  background: var(--color-primary-active);
  transform: translateY(0);
}

.btn--secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-text);
  border: 1px solid var(--color-border-strong);
}

.btn--secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
}

.btn--ghost {
  background: transparent;
  color: var(--color-text-muted);
  padding: 0.5rem 1rem;
}

.btn--ghost:hover {
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.05);
}

.btn--lg {
  padding: 1rem 2.25rem;
  font-size: var(--text-base);
  border-radius: var(--radius-xl);
}

.btn--sm {
  padding: 0.5rem 1.25rem;
  font-size: var(--text-xs);
}

.btn--full {
  width: 100%;
}

.btn:disabled, .btn[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 6rem;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(245, 114, 26, 0.08) 0%, rgba(0, 201, 167, 0.04) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}

.hero__content {
  max-width: 560px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.375rem 1rem;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-teal);
  background: var(--color-teal-dim);
  border: 1px solid rgba(0, 201, 167, 0.2);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-6);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hero__title {
  font-size: var(--text-3xl);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #fff;
  margin-bottom: var(--space-6);
}

.hero__subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-8);
  max-width: 480px;
}

.hero__subtitle strong {
  color: var(--color-text);
  font-weight: 600;
}

.hero__actions {
  display: flex;
  gap: var(--space-4);
  align-items: center;
}

.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ============================================================
   iMESSAGE MOCKUP
   ============================================================ */
.imessage {
  width: 100%;
  max-width: 380px;
  background: #000;
  border-radius: 2rem;
  padding: 0.375rem;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,0.06);
}

.imessage__screen {
  background: #1c1c1e;
  border-radius: 1.625rem;
  overflow: hidden;
  padding-bottom: var(--space-3);
}

.imessage__header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-4) var(--space-3);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.imessage__avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-teal));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}

.imessage__contact {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.imessage__messages {
  padding: var(--space-3) var(--space-3) 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.imessage__bubble {
  max-width: 85%;
  padding: 0.5rem 0.75rem;
  border-radius: 1rem;
  font-size: 13px;
  line-height: 1.45;
  word-break: break-word;
}

.imessage__bubble--sent {
  align-self: flex-end;
  background: #0b84fe;
  color: #fff;
  border-bottom-right-radius: 4px;
}

.imessage__bubble--received {
  align-self: flex-start;
  background: #2c2c2e;
  color: #e5e5ea;
  border-bottom-left-radius: 4px;
}

.imessage__input {
  margin: var(--space-3) var(--space-3) 0;
  padding: 0.5rem 0.75rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.imessage__input span {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
}

.imessage__input-send {
  width: 24px;
  height: 24px;
  background: #0b84fe;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.imessage__input-send svg {
  width: 12px;
  height: 12px;
  fill: #fff;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.steps {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.section__label {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-teal);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-4);
}

.section__title {
  font-size: var(--text-2xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: var(--space-4);
}

.section__desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 560px;
  margin-bottom: var(--space-12);
}

.steps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.step-card {
  position: relative;
  padding: var(--space-8);
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  transition: border-color var(--transition-fast);
}

.step-card:hover {
  border-color: var(--color-border-strong);
}

.step-card__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-primary);
  background: rgba(245, 114, 26, 0.1);
  border: 1px solid rgba(245, 114, 26, 0.2);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-5);
}

.step-card__title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--space-3);
}

.step-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Connector line between steps */
.steps__grid .step-card:not(:last-child)::after {
  content: '';
  position: absolute;
  top: calc(var(--space-8) + 20px);
  right: -var(--space-4);
  width: var(--space-8);
  height: 2px;
  background: linear-gradient(90deg, var(--color-border-strong), transparent);
  display: none;
}

@media (min-width: 768px) {
  .steps__grid .step-card:not(:last-child)::after {
    display: block;
    right: calc(-1 * var(--space-4));
  }
}

/* ============================================================
   FEATURES
   ============================================================ */
.features {
  position: relative;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-6);
}

.feature-card {
  padding: var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.feature-card:hover {
  border-color: var(--color-border-strong);
  transform: translateY(-2px);
}

.feature-card__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 114, 26, 0.08);
  border: 1px solid rgba(245, 114, 26, 0.15);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-5);
  color: var(--color-primary);
}

.feature-card__icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card__title {
  font-size: var(--text-base);
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--space-2);
}

.feature-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing {
  position: relative;
}

.pricing__card {
  max-width: 480px;
  margin-inline: auto;
  padding: var(--space-10);
  background: var(--color-surface);
  border: 1px solid var(--color-border-strong);
  border-radius: 1.5rem;
  position: relative;
  overflow: hidden;
}

.pricing__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-teal));
}

.pricing__name {
  font-size: var(--text-lg);
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--space-2);
}

.pricing__price {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}

.pricing__amount {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.pricing__period {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.pricing__divider {
  height: 1px;
  background: var(--color-border);
  margin-bottom: var(--space-6);
}

.pricing__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}

.pricing__features li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text);
}

.pricing__features li svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--color-teal);
  margin-top: 2px;
}

.pricing__note {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  text-align: center;
  margin-top: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: var(--space-12) 0 var(--space-8);
  border-top: 1px solid var(--color-border);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.footer__brand {
  font-size: var(--text-sm);
  color: var(--color-text-faint);
}

.footer__links {
  display: flex;
  gap: var(--space-6);
  list-style: none;
}

.footer__links a {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  text-decoration: none;
}

.footer__links a:hover {
  color: var(--color-text-muted);
}

/* ============================================================
   TEXT ALIGN UTILITIES
   ============================================================ */
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-in {
  opacity: 0;
  animation: fadeInUp 0.6s var(--ease-out) forwards;
}

.animate-in--delay-1 { animation-delay: 0.1s; }
.animate-in--delay-2 { animation-delay: 0.2s; }
.animate-in--delay-3 { animation-delay: 0.3s; }
.animate-in--delay-4 { animation-delay: 0.4s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: var(--space-10);
    text-align: center;
  }

  .hero__content {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero__subtitle {
    max-width: 100%;
  }

  .hero__actions {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }

  .nav__links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(3, 0, 20, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: var(--space-6);
    gap: var(--space-4);
    border-bottom: 1px solid var(--color-border);
  }

  .steps__grid {
    grid-template-columns: 1fr;
  }

  .features__grid {
    grid-template-columns: 1fr;
  }

  .hero__title {
    font-size: clamp(2rem, 1rem + 4vw, 3rem);
  }

  .pricing__card {
    padding: var(--space-8);
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }

  .hero__actions {
    flex-direction: column;
    width: 100%;
  }

  .hero__actions .btn {
    width: 100%;
  }
}

/* ============================================================
   SIGNUP PAGE STYLES
   ============================================================ */
.signup-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: 5rem;
}

.signup__container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-8) var(--space-6);
}

.signup__card {
  width: 100%;
  max-width: 520px;
}

/* Progress bar */
.progress {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-10);
}

.progress__step {
  flex: 1;
  height: 3px;
  background: var(--color-border);
  border-radius: var(--radius-full);
  transition: background var(--transition-normal);
  position: relative;
}

.progress__step--active {
  background: var(--color-primary);
}

.progress__step--completed {
  background: var(--color-teal);
}

.progress__label {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin-bottom: var(--space-2);
}

/* Step content */
.step {
  display: none;
  opacity: 0;
}

.step--active {
  display: block;
  animation: fadeInUp 0.4s var(--ease-out) forwards;
}

.step__header {
  margin-bottom: var(--space-8);
}

.step__step-label {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-2);
}

.step__title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-2);
}

.step__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Form fields */
.form-group {
  margin-bottom: var(--space-6);
}

.form-group label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.form-group__hint {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin-top: var(--space-1);
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: var(--text-sm);
  background: var(--color-surface-2);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-lg);
  color: var(--color-text);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(245, 114, 26, 0.1);
}

.form-input::placeholder {
  color: var(--color-text-faint);
}

textarea.form-input {
  min-height: 120px;
  resize: vertical;
  line-height: 1.5;
}

.form-input--code {
  text-align: center;
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: 0.4em;
  padding: 1rem;
  font-family: 'JetBrains Mono', monospace;
}

/* Radio cards */
.radio-cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.radio-card {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.radio-card:hover {
  border-color: var(--color-border-strong);
}

.radio-card input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid var(--color-text-faint);
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  cursor: pointer;
  transition: border-color var(--transition-fast);
}

.radio-card input[type="radio"]:checked {
  border-color: var(--color-primary);
}

.radio-card input[type="radio"]:checked::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 8px;
  height: 8px;
  background: var(--color-primary);
  border-radius: 50%;
}

.radio-card--active {
  border-color: var(--color-primary);
  background: rgba(245, 114, 26, 0.04);
}

.radio-card__label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
}

.radio-card__desc {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: 2px;
}

/* Verification code */
.verification-area {
  display: none;
  padding-top: var(--space-6);
  margin-top: var(--space-6);
  border-top: 1px solid var(--color-border);
}

.verification-area.active {
  display: block;
  animation: fadeInUp 0.4s var(--ease-out) forwards;
}

.verification-area p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}

.verification-area p strong {
  color: var(--color-text);
}

.resend-link {
  font-size: var(--text-xs);
  color: var(--color-primary);
  background: none;
  border: none;
  cursor: pointer;
  margin-top: var(--space-3);
  display: inline-block;
}

.resend-link:hover {
  color: var(--color-primary-hover);
  text-decoration: underline;
}

/* Connection status */
.connection-status {
  display: none;
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-lg);
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  line-height: 1.5;
}

.connection-status.active {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  animation: fadeIn 0.3s var(--ease-out) forwards;
}

.connection-status--success {
  background: rgba(52, 211, 153, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.2);
  color: var(--color-success);
}

.connection-status--error {
  background: rgba(248, 113, 113, 0.08);
  border: 1px solid rgba(248, 113, 113, 0.2);
  color: var(--color-error);
}

.connection-status svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Step actions */
.step__actions {
  display: flex;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

/* Calendar connect button */
.calendar-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  width: 100%;
  padding: 1rem;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-lg);
  color: var(--color-text);
  font-size: var(--text-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.calendar-btn:hover {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.06);
}

.calendar-btn svg {
  width: 22px;
  height: 22px;
}

/* Payment form */
.payment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.payment-grid .form-group:first-child {
  grid-column: 1 / -1;
}

/* Success screen */
.success-screen {
  text-align: center;
  padding: var(--space-8) 0;
}

.success-screen__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-6);
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-success);
}

.success-screen__icon svg {
  width: 28px;
  height: 28px;
}

.success-screen__title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--space-3);
}

.success-screen__text {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
  max-width: 360px;
  margin-inline: auto;
  line-height: 1.6;
}

.success-screen__number {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-6);
  background: var(--color-surface-2);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-3);
}

.success-screen__number-label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.success-screen__number-value {
  font-size: var(--text-lg);
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}

.success-screen__hint {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin-bottom: var(--space-8);
}

.success-screen__actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
}

/* Provisioning animation */
.provisioning {
  text-align: center;
  padding: var(--space-8) 0;
}

.provisioning__bar {
  width: 100%;
  height: 4px;
  background: var(--color-border);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin: var(--space-6) 0;
}

.provisioning__fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--color-primary), var(--color-teal));
  border-radius: var(--radius-full);
  transition: width 0.5s ease;
}

.provisioning__text {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* Pricing summary in step 5 */
.payment-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-5);
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-8);
}

.payment-summary__name {
  font-size: var(--text-base);
  font-weight: 600;
  color: #fff;
}

.payment-summary__price {
  font-size: var(--text-lg);
  font-weight: 700;
  color: #fff;
}

.payment-summary__period {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-weight: 400;
}

/* API link helper */
.api-link {
  color: var(--color-primary);
  text-decoration: none;
  font-size: var(--text-xs);
}

.api-link:hover {
  text-decoration: underline;
  color: var(--color-primary-hover);
}
