body.public-body {
  min-height: 100vh;
  font-family: var(--font-ar);
  background: #f7fafb;
  color: var(--text);
}

.public-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 72px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px max(24px, calc((100vw - var(--container-max)) / 2));
  transition: all 0.3s ease;
}

.public-header .brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #0f172a;
  font-weight: 800;
  font-size: 19px;
  text-decoration: none;
  letter-spacing: -0.3px;
}

.public-header .brand:hover {
  text-decoration: none;
}

.public-header .brand span {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.brand-logo {
  height: 52px;
  width: auto;
  border-radius: 12px;
  object-fit: contain;
  border: 1.5px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: #ffffff;
  padding: 4px;
}

.public-header .brand:hover .brand-logo {
  transform: scale(1.06) rotate(-3deg);
  box-shadow: 0 6px 18px rgba(13, 148, 136, 0.15);
  border-color: rgba(13, 148, 136, 0.25);
}

.public-header nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.public-header nav a {
  color: #475569;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 14px;
  text-decoration: none !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.public-header nav a:hover {
  color: var(--brand-primary);
  background: rgba(13, 148, 136, 0.05);
  text-decoration: none !important;
}

.public-header nav a.active {
  color: var(--brand-primary);
  background: rgba(13, 148, 136, 0.08);
  box-shadow: inset 0 0 0 1px rgba(13, 148, 136, 0.12);
  text-decoration: none !important;
}

.public-main {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 38px 20px 72px;
}

.marketing-hero {
  min-height: calc(100vh - 180px);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
  padding: 48px 0;
}

.hero-copy {
  color: var(--brand-ink);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(13, 148, 136, 0.15);
  background: rgba(13, 148, 136, 0.05);
  color: var(--brand-primary-dark);
  border-radius: var(--radius-full);
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 18px;
}

.eyebrow-logo {
  height: 16px;
  width: auto;
  object-fit: contain;
}

.marketing-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.25;
  letter-spacing: 0;
  color: var(--brand-ink);
  font-weight: 800;
}

.marketing-hero p.hero-lead {
  margin: 0 0 24px;
  max-width: 580px;
  color: var(--text-soft);
  font-size: 17px;
  line-height: 1.7;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(13, 148, 136, 0.05);
  border: 1px solid rgba(13, 148, 136, 0.12);
  color: var(--brand-primary-dark);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--radius-full);
}

.trust-badge i {
  font-size: 14px;
  color: var(--brand-primary);
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-lg {
  padding: 12px 24px;
  font-size: 15px;
  border-radius: var(--radius-md);
}

.btn-cta-main {
  box-shadow: 0 10px 20px rgba(13, 148, 136, 0.2);
}

.btn-cta-main:hover {
  box-shadow: 0 12px 24px rgba(13, 148, 136, 0.3);
}

.public-header nav a.header-cta-btn {
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-strong) 100%);
  color: #fff;
  border-radius: 10px;
  padding: 9px 20px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none;
  transition: all 0.25s ease;
}

.public-header nav a.header-cta-btn i {
  font-size: 13px;
  transition: transform 0.2s ease;
}

.public-header nav a.header-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.35);
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-strong) 100%);
  color: #fff;
  text-decoration: none;
}

.public-header nav a.header-cta-btn:hover i {
  transform: translateX(-3px);
}

.hero-product-mockup {
  position: relative;
  width: 100%;
  align-self: center;
}

.dashboard-window-glow {
  position: absolute;
  inset: -30px;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.12) 0%, transparent 70%);
  filter: blur(25px);
  z-index: 1;
  pointer-events: none;
}

.dashboard-window {
  position: relative;
  z-index: 2;
  background: #0f172a;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 25px 60px rgba(8, 13, 26, 0.35);
  overflow: hidden;
}

.window-header {
  height: 38px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 6px;
}

.window-header .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.window-header .dot.red { background: #ef4444; }
.window-header .dot.yellow { background: #f59e0b; }
.window-header .dot.green { background: #10b981; }

.window-header .window-title {
  margin-right: auto;
  font-size: 11px;
  color: #475569;
  font-family: var(--font-mono);
  direction: ltr;
  letter-spacing: 0.5px;
}

.hero-dashboard-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* === Stats Strip === */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px 24px;
  margin: 32px 0 64px;
  box-shadow: var(--shadow-sm);
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.stat-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(13, 148, 136, 0.06);
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(13, 148, 136, 0.05);
}

.stat-text strong {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: var(--brand-ink);
  line-height: 1.2;
}

.stat-text span {
  font-size: 12px;
  color: var(--text-soft);
  font-weight: 600;
}

.feature-icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-strong) 100%);
  color: #ffffff;
  margin-bottom: 16px;
  font-size: 20px;
  box-shadow: 0 4px 12px rgba(18, 140, 126, 0.2);
}

.feature h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
  color: var(--brand-ink);
}

.feature p {
  font-size: 13.5px;
  line-height: 1.6;
}

/* Steps styling */
.step {
  position: relative;
  padding: 32px 24px 24px;
}

.step-num {
  position: absolute;
  top: -16px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--brand-primary);
  color: #ffffff;
  font-weight: 800;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(18, 140, 126, 0.25);
  border: 3px solid #ffffff;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 10px;
  flex-wrap: wrap;
}
}

.marketing-section {
  padding: 54px 0;
}

.section-title {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 32px;
}

.section-title h2,
.marketing-cta h2,
.pricing-hero h1,
.auth-card h1 {
  margin: 0 0 10px;
  color: var(--brand-ink);
  letter-spacing: 0;
}

.section-title p,
.pricing-hero p,
.auth-card .sub,
.marketing-cta p {
  color: var(--text-soft);
  margin: 0;
}

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

.feature-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(13, 148, 136, 0.25);
  box-shadow: 0 12px 30px rgba(13, 148, 136, 0.08);
}

.feature-icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(13, 148, 136, 0.06);
  color: var(--brand-primary);
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(13, 148, 136, 0.05);
  transition: all 0.25s ease;
}

.feature-card:hover .feature-icon-box {
  background: var(--brand-primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.25);
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 700;
  color: var(--brand-ink);
}

.feature-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 13.5px;
  line-height: 1.6;
}

/* Steps timeline styling */
.section-timeline-wrapper {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 64px 32px;
  margin: 48px 0;
}

.timeline-horizontal-container {
  position: relative;
  margin-top: 48px;
  padding: 0 10px;
}

.timeline-line {
  position: absolute;
  top: 24px;
  left: 60px;
  right: 60px;
  height: 4px;
  background: #e2e8f0;
  z-index: 1;
}

.timeline-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 2;
}

.timeline-step-card {
  text-align: center;
  position: relative;
}

.timeline-step-card .step-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  border: 4px solid var(--brand-primary);
  color: var(--brand-primary-dark);
  font-size: 18px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.15);
  transition: all 0.25s ease;
}

.timeline-step-card:hover .step-badge {
  background: var(--brand-primary);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(13, 148, 136, 0.3);
  transform: scale(1.05);
}

.timeline-step-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--brand-ink);
}

.timeline-step-card p {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.6;
  margin: 0;
  padding: 0 8px;
}

/* Premium CTA */
.marketing-cta-premium {
  position: relative;
  background: linear-gradient(135deg, #080d1a 0%, #0f172a 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  padding: 80px 40px;
  text-align: center;
  overflow: hidden;
  margin: 64px 0 32px;
  box-shadow: 0 20px 50px rgba(8, 13, 26, 0.3);
}

.cta-glow-effect {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.15) 0%, transparent 75%);
  filter: blur(40px);
  z-index: 1;
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin: 0 auto;
}

.marketing-cta-premium h2 {
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 14px;
  line-height: 1.25;
}

.marketing-cta-premium p {
  font-size: 17px;
  color: #94a3b8;
  margin: 0 0 32px;
  line-height: 1.7;
}

.btn-light-ghost {
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.btn-light-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}

.pricing-hero {
  text-align: center;
  margin: 16px auto 34px;
}

.pricing-hero h1 {
  font-size: clamp(32px, 5vw, 48px);
}

.pricing-hero .billing-toggle {
  justify-content: center;
  margin-top: 18px;
}

.pricing-card {
  position: relative;
  padding: 28px;
}

.pricing-card.featured {
  border-color: rgba(18, 140, 126, 0.45);
  box-shadow: 0 18px 46px rgba(18, 140, 126, 0.16);
}

.plan-ribbon {
  position: absolute;
  top: 14px;
  left: 14px;
  border-radius: var(--radius-full);
  background: var(--brand-primary);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 5px 10px;
}

.pricing-card .plan-name {
  color: var(--brand-ink);
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 14px;
}

.pricing-card .price {
  margin-bottom: 18px;
}

.pricing-card .price strong {
  color: var(--brand-ink);
  font-size: 38px;
}

.pricing-card .price span,
.pricing-card .savings {
  color: var(--text-soft);
  font-weight: 700;
}

.pricing-card .savings {
  color: var(--brand-primary);
  margin-bottom: 12px;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 18px 0 24px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  color: var(--text-soft);
}

.pricing-features li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--brand-primary-strong);
}

.comparison-table {
  margin-top: 32px;
  overflow-x: auto;
}

.comparison-table table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
  text-align: right;
  color: var(--brand-ink);
  font-weight: 800;
}

.comparison-table .check {
  color: var(--success);
  font-weight: 800;
}

.comparison-table .cross {
  color: var(--text-muted);
}

.auth-card {
  width: min(100%, 520px);
  margin: 28px auto;
  padding: 32px;
}

.auth-card-wide {
  width: min(100%, 780px);
}

.register-step {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 16px;
  background: var(--surface-alt);
}

.register-step h2 {
  margin: 0 0 14px;
  font-size: 16px;
  color: var(--brand-ink);
}

.progress-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 22px 0;
}

.progress-step {
  min-height: 38px;
  border-radius: var(--radius-full);
  display: grid;
  place-items: center;
  background: rgba(18, 140, 126, 0.1);
  color: var(--brand-primary);
  font-weight: 800;
}

.terms-check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 18px;
}

.terms-check input {
  width: auto;
  min-height: 0;
}

.auth-links {
  margin: 16px 0 0;
  color: var(--text-soft);
  text-align: center;
}

.marketing-footer {
  background: #080d1a;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 64px 20px 48px;
  color: #94a3b8;
}

.marketing-footer .container {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.brand-logo-footer {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.footer-brand strong {
  font-size: 20px;
  color: #ffffff;
  font-weight: 800;
}

.footer-about p {
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
  color: #64748b;
}

.footer-column h4 {
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 20px;
}

.footer-column a {
  display: block;
  color: #94a3b8;
  font-size: 13.5px;
  margin-bottom: 12px;
  transition: color 0.2s ease;
}

.footer-column a:hover {
  color: var(--brand-primary-strong);
  text-decoration: none;
}

/* ═══════════════════════════════════════
   AUTH SPLIT-SCREEN DESIGN (Login + Register)
═══════════════════════════════════════ */

.public-main.auth-main-layout {
  padding: 0;
  margin: 0;
  max-width: none;
  width: 100%;
  min-height: 100vh;
}

.auth-fullscreen-wrap {
  margin: 0;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 420px 1fr;
}

/* Left dark brand panel */
.auth-brand-panel {
  position: relative;
  background: linear-gradient(160deg, #060b18 0%, #0a1628 40%, #091421 100%);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 48px 40px;
  gap: 0;
}

/* Animated mesh orbs */
.auth-brand-panel::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(13,148,136,0.22) 0%, transparent 70%);
  border-radius: 50%;
  animation: authOrb1 8s ease-in-out infinite alternate;
  pointer-events: none;
}

.auth-brand-panel::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(20,184,166,0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: authOrb2 10s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes authOrb1 {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(-30px, 40px) scale(1.15); }
}
@keyframes authOrb2 {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(40px, -30px) scale(1.2); }
}

.auth-panel-orb-mid {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(13,148,136,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.auth-panel-logo {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 48px;
  text-decoration: none;
}

.auth-panel-logo img {
  height: 42px;
  width: auto;
  filter: brightness(1.1);
}

.auth-panel-logo span {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.3px;
}

.auth-panel-headline {
  position: relative;
  z-index: 2;
  flex: 1;
}

.auth-panel-headline h2 {
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.3;
  margin: 0 0 14px;
  letter-spacing: -0.5px;
}

.auth-panel-headline h2 em {
  font-style: normal;
  background: linear-gradient(90deg, #14b8a6, #34d399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.auth-panel-headline p {
  font-size: 14.5px;
  color: #94a3b8;
  line-height: 1.7;
  margin: 0 0 36px;
}

.auth-panel-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.auth-panel-features li {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #cbd5e1;
  font-size: 14px;
  font-weight: 600;
}

.auth-feat-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(13,148,136,0.15);
  border: 1px solid rgba(13,148,136,0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-primary-strong);
  font-size: 16px;
  flex-shrink: 0;
}

.auth-panel-footer-badge {
  position: relative;
  z-index: 2;
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  backdrop-filter: blur(8px);
}

.auth-panel-footer-badge .avatar-stack {
  display: flex;
  margin-left: 0;
}

.auth-panel-footer-badge .avatar-stack .av {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-strong) 100%);
  border: 2px solid rgba(6,11,24,0.8);
  margin-left: -8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
}

.auth-panel-footer-badge .av:first-child { margin-left: 0; background: linear-gradient(135deg,#0f766e,#14b8a6); }
.auth-panel-footer-badge .av:nth-child(2) { background: linear-gradient(135deg,#0e7490,#22d3ee); }
.auth-panel-footer-badge .av:nth-child(3) { background: linear-gradient(135deg,#7c3aed,#a78bfa); }

.auth-panel-footer-badge .badge-text {
  font-size: 12.5px;
  color: #94a3b8;
  line-height: 1.4;
}

.auth-panel-footer-badge .badge-text strong {
  color: #e2e8f0;
  display: block;
}

/* Right form panel */
.auth-form-panel {
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 40px;
  overflow-y: auto;
}

.auth-form-inner {
  width: 100%;
  max-width: 440px;
}

.auth-form-inner-wide {
  max-width: 640px;
}

/* Auth form header */
.auth-form-header {
  margin-bottom: 32px;
}

.auth-form-header .auth-icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(13,148,136,0.1) 0%, rgba(20,184,166,0.15) 100%);
  border: 1px solid rgba(13,148,136,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 22px;
  color: var(--brand-primary);
}

.auth-form-header h1 {
  margin: 0 0 8px;
  font-size: 26px;
  font-weight: 800;
  color: var(--brand-ink);
  letter-spacing: -0.5px;
}

.auth-form-header p {
  margin: 0;
  color: var(--text-soft);
  font-size: 14.5px;
  line-height: 1.6;
}

/* Premium form fields */
.auth-form-inner .form-group {
  margin-bottom: 20px;
}

.auth-form-inner .form-group label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-soft);
  margin-bottom: 7px;
  display: block;
  letter-spacing: 0.3px;
}

.auth-form-inner input:not([type="checkbox"]):not([type="radio"]),
.auth-form-inner select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  font-size: 14.5px;
  font-family: var(--font-ar);
  color: var(--brand-ink);
  background: #fafbfc;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  outline: none;
  min-height: 46px;
  -webkit-appearance: none;
  appearance: none;
}

.auth-form-inner input:focus,
.auth-form-inner select:focus {
  border-color: var(--brand-primary);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(13,148,136,0.1);
}

.auth-form-inner input::placeholder {
  color: #b0b8c8;
}

/* Auth section divider */
.auth-section-divider {
  margin: 28px 0 20px;
  padding-bottom: 12px;
  border-bottom: 1.5px solid #f0f3f7;
  display: flex;
  align-items: center;
  gap: 10px;
}

.auth-section-divider i {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(13,148,136,0.1);
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.auth-section-divider span {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-ink);
  letter-spacing: 0.3px;
}

/* Submit button premium */
.auth-form-inner .btn-auth-submit {
  width: 100%;
  padding: 13px 24px;
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-strong) 100%);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  border: none;
  border-radius: 11px;
  cursor: pointer;
  font-family: var(--font-ar);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  letter-spacing: 0.3px;
  box-shadow: 0 6px 20px rgba(13,148,136,0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  margin-top: 8px;
}

.auth-form-inner .btn-auth-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(13,148,136,0.4);
}

.auth-form-inner .btn-auth-submit:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(13,148,136,0.3);
}

.auth-form-inner .btn-auth-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* Auth footer links */
.auth-bottom-links {
  margin-top: 20px;
  text-align: center;
  color: var(--text-soft);
  font-size: 13.5px;
}

.auth-bottom-links a {
  color: var(--brand-primary-dark);
  font-weight: 700;
}

.auth-bottom-links a:hover {
  color: var(--brand-primary-strong);
}

/* Terms checkbox premium */
.auth-terms-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 20px 0 24px;
  background: rgba(13,148,136,0.04);
  border: 1px solid rgba(13,148,136,0.12);
  border-radius: 10px;
  padding: 12px 14px;
}

.auth-terms-row input[type="checkbox"] {
  width: 18px;
  min-height: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--brand-primary);
  flex-shrink: 0;
}

.auth-terms-row label {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.5;
  cursor: pointer;
  margin: 0;
  font-weight: 600;
}

.auth-terms-row label a {
  color: var(--brand-primary-dark);
  font-weight: 700;
}

/* Form row — two columns with explicit gap (avoids overlap when inputs are width:100%) */
.auth-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 20px;
  row-gap: 0;
  margin-bottom: 4px;
}

.auth-form-row .form-group {
  min-width: 0;
  margin-bottom: 20px;
}

/* Plan selector premium */
.auth-plan-selector {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.auth-plan-option {
  position: relative;
  cursor: pointer;
  display: block;
}

.auth-plan-option input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.auth-plan-option .plan-label-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px 12px;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  background: #fafbfc;
  transition: all 0.25s ease;
  cursor: pointer;
  min-height: 90px;
}

.auth-plan-option input:checked + .plan-label-card {
  border-color: var(--brand-primary);
  background: linear-gradient(135deg, rgba(13,148,136,0.02) 0%, rgba(13,148,136,0.06) 100%);
  box-shadow: 0 4px 16px rgba(13,148,136,0.08);
  transform: translateY(-2px);
}

.auth-plan-option input:checked + .plan-label-card::after {
  content: '✓';
  position: absolute;
  top: 6px;
  right: 8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--brand-primary);
  color: #ffffff;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.auth-plan-option .plan-label-card:hover {
  border-color: rgba(13,148,136,0.3);
  transform: translateY(-1px);
}

.plan-label-name {
  font-weight: 800;
  color: var(--brand-ink);
  font-size: 14.5px;
  margin-bottom: 4px;
}

.plan-label-price {
  font-weight: 800;
  color: var(--brand-primary-dark);
  font-size: 14px;
}

.plan-label-badge {
  background: var(--brand-primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
}

/* Billing cycle tabs */
.auth-billing-tabs {
  display: flex;
  background: #f1f5f9;
  border-radius: 10px;
  padding: 4px;
  gap: 4px;
  margin-bottom: 16px;
}

.auth-billing-tab {
  flex: 1;
  text-align: center;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-soft);
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  background: transparent;
  font-family: var(--font-ar);
  text-decoration: none;
  display: block;
}

.auth-billing-tab:hover {
  color: var(--brand-ink);
  text-decoration: none;
}

.auth-billing-tab.active {
  background: #ffffff;
  color: var(--brand-primary-dark);
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

/* ═══════════════════════════════════════
   PRICING PAGE — REVOLUTIONARY REDESIGN
═══════════════════════════════════════ */

.pricing-page-wrap {
  padding-top: 0;
  margin-top: -20px;
}

/* Pricing Hero — dark gradient */
.pricing-hero-v2 {
  text-align: center;
  padding: 72px 20px 56px;
  background: linear-gradient(160deg, #060b18 0%, #0b1830 60%, #091925 100%);
  position: relative;
  overflow: hidden;
  border-radius: 0 0 32px 32px;
  margin: -38px -20px 0;
}

.pricing-hero-v2::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(13,148,136,0.2) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.pricing-hero-v2 .eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(13,148,136,0.12);
  border: 1px solid rgba(13,148,136,0.25);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 12.5px;
  font-weight: 700;
  color: #5eead4;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.pricing-hero-v2 h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 16px;
  line-height: 1.15;
  letter-spacing: -1px;
}

.pricing-hero-v2 h1 em {
  font-style: normal;
  background: linear-gradient(90deg, #14b8a6 0%, #34d399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pricing-hero-v2 p {
  font-size: 16.5px;
  color: #94a3b8;
  margin: 0 0 32px;
  line-height: 1.7;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Billing toggle redesigned */
.billing-toggle-v2 {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 5px;
  gap: 4px;
  position: relative;
  z-index: 2;
}

.billing-toggle-v2 a {
  padding: 9px 24px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 700;
  color: #94a3b8;
  text-decoration: none;
  transition: all 0.25s ease;
  position: relative;
}

.billing-toggle-v2 a:hover {
  color: #e2e8f0;
  text-decoration: none;
}

.billing-toggle-v2 a.active-tab {
  background: var(--brand-primary);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(13,148,136,0.4);
}

.billing-save-pill {
  display: inline-flex;
  align-items: center;
  background: rgba(52, 211, 153, 0.15);
  border: 1px solid rgba(52,211,153,0.25);
  color: #34d399;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  margin-right: 8px;
  margin-bottom: 24px;
}

/* Pricing grid */
.pricing-grid-v2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 48px auto 0;
  padding: 0 20px;
}

/* Pricing card — glassmorphism premium */
.pricing-card-v2 {
  position: relative;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 20px;
  padding: 32px 28px;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  overflow: hidden;
}

.pricing-card-v2::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(13,148,136,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.pricing-card-v2:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(13,148,136,0.1);
  border-color: rgba(13,148,136,0.25);
}

.pricing-card-v2.featured-v2 {
  background: linear-gradient(160deg, #060b18 0%, #0b1728 100%);
  border-color: rgba(13,148,136,0.4);
  box-shadow: 0 16px 48px rgba(13,148,136,0.2);
  transform: scale(1.02);
}

.pricing-card-v2.featured-v2:hover {
  transform: scale(1.02) translateY(-6px);
  box-shadow: 0 28px 64px rgba(13,148,136,0.3);
}

.pricing-card-v2.featured-v2::before {
  background: radial-gradient(circle, rgba(13,148,136,0.15) 0%, transparent 70%);
}

/* Ribbon redesigned */
.pricing-ribbon-v2 {
  position: absolute;
  top: 16px;
  left: 16px;
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-strong) 100%);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 999px;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(13,148,136,0.3);
}

/* Plan header */
.pricing-card-v2 .plan-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(13,148,136,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--brand-primary);
  margin-bottom: 18px;
  transition: all 0.25s ease;
}

.pricing-card-v2.featured-v2 .plan-icon {
  background: rgba(20,184,166,0.15);
  color: #5eead4;
}

.pricing-card-v2:hover .plan-icon {
  background: var(--brand-primary);
  color: #ffffff;
  transform: scale(1.08) rotate(-4deg);
}

.pricing-card-v2 .plan-name-v2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--brand-ink);
  margin-bottom: 6px;
}

.pricing-card-v2.featured-v2 .plan-name-v2 {
  color: #ffffff;
}

.pricing-card-v2 .plan-tagline {
  font-size: 13.5px;
  color: var(--text-soft);
  margin-bottom: 20px;
  line-height: 1.5;
}

.pricing-card-v2.featured-v2 .plan-tagline {
  color: #94a3b8;
}

/* Price display */
.pricing-price-block {
  margin-bottom: 24px;
  padding-bottom: 22px;
  border-bottom: 1.5px solid #f0f3f7;
}

.pricing-card-v2.featured-v2 .pricing-price-block {
  border-bottom-color: rgba(255,255,255,0.07);
}

.pricing-price-block .price-amount {
  font-size: 44px;
  font-weight: 800;
  color: var(--brand-ink);
  letter-spacing: -2px;
  line-height: 1;
}

.pricing-card-v2.featured-v2 .price-amount {
  color: #ffffff;
}

.pricing-price-block .price-currency {
  font-size: 20px;
  font-weight: 700;
  color: var(--brand-ink);
  vertical-align: top;
  margin-top: 8px;
  display: inline-block;
}

.pricing-card-v2.featured-v2 .price-currency {
  color: #94a3b8;
}

.pricing-price-block .price-period {
  font-size: 14px;
  color: var(--text-soft);
  font-weight: 600;
  display: block;
  margin-top: 6px;
}

.pricing-card-v2.featured-v2 .price-period {
  color: #64748b;
}

.pricing-savings-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(52,211,153,0.12);
  border: 1px solid rgba(52,211,153,0.2);
  color: #059669;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  margin-top: 8px;
}

.pricing-card-v2.featured-v2 .pricing-savings-badge {
  background: rgba(52,211,153,0.15);
  color: #34d399;
}

/* Feature list redesigned */
.pricing-features-v2 {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-features-v2 li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-soft);
  font-weight: 600;
}

.pricing-card-v2.featured-v2 .pricing-features-v2 li {
  color: #94a3b8;
}

.pricing-features-v2 li .feat-check {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: rgba(13,148,136,0.1);
  color: var(--brand-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}

.pricing-card-v2.featured-v2 .feat-check {
  background: rgba(20,184,166,0.15);
  color: #5eead4;
}

.pricing-features-v2 li .feat-check.feat-no {
  background: rgba(100,116,139,0.08);
  color: #94a3b8;
}

/* CTA button in pricing */
.btn-pricing-cta {
  width: 100%;
  padding: 13px 20px;
  border-radius: 11px;
  font-size: 14.5px;
  font-weight: 700;
  font-family: var(--font-ar);
  cursor: pointer;
  border: none;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s ease;
  letter-spacing: 0.2px;
}

.btn-pricing-cta.regular {
  background: #f1f5f9;
  color: var(--brand-ink);
  border: 1.5px solid #e2e8f0;
}

.btn-pricing-cta.regular:hover {
  background: #e2e8f0;
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-pricing-cta.featured-cta {
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-strong) 100%);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(13,148,136,0.35);
}

.btn-pricing-cta.featured-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(13,148,136,0.45);
  text-decoration: none;
}

/* Comparison table v2 */
.comparison-section {
  max-width: 900px;
  margin: 56px auto 0;
  padding: 0 20px;
}

.comparison-section-title {
  text-align: center;
  font-size: 22px;
  font-weight: 800;
  color: var(--brand-ink);
  margin: 0 0 28px;
}

.comparison-table-v2 {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(13,148,136,0.06);
}

.comparison-table-v2 table {
  width: 100%;
  border-collapse: collapse;
}

.comparison-table-v2 thead {
  background: linear-gradient(135deg, #f8fafb 0%, #f0f9f8 100%);
}

.comparison-table-v2 th {
  padding: 18px 20px;
  font-size: 14px;
  font-weight: 800;
  color: var(--brand-ink);
  text-align: center;
  border-bottom: 2px solid #e2e8f0;
}

.comparison-table-v2 th:first-child {
  text-align: right;
}

.comparison-table-v2 td {
  padding: 15px 20px;
  border-bottom: 1px solid #f0f3f7;
  text-align: center;
  font-size: 13.5px;
  color: var(--text-soft);
  font-weight: 600;
  transition: background 0.2s ease;
}

.comparison-table-v2 td:first-child {
  text-align: right;
  color: var(--brand-ink);
  font-weight: 700;
}

.comparison-table-v2 tbody tr:hover td {
  background: rgba(13,148,136,0.02);
}

.comparison-table-v2 tbody tr:last-child td {
  border-bottom: none;
}

.comparison-table-v2 .check-icon {
  color: var(--brand-primary);
  font-size: 18px;
  font-weight: 900;
}

.comparison-table-v2 .cross-icon {
  color: #cbd5e1;
  font-size: 18px;
}

/* FAQ / trust strip below pricing */
.pricing-trust-strip {
  max-width: 900px;
  margin: 48px auto 0;
  padding: 0 20px 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pricing-trust-item {
  text-align: center;
  padding: 24px;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  transition: all 0.25s ease;
}

.pricing-trust-item:hover {
  border-color: rgba(13,148,136,0.25);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(13,148,136,0.07);
}

.pricing-trust-item .trust-ico {
  font-size: 28px;
  color: var(--brand-primary);
  margin-bottom: 10px;
  display: block;
}

.pricing-trust-item strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: var(--brand-ink);
  margin-bottom: 6px;
}

.pricing-trust-item span {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .marketing-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    text-align: center;
  }

  .marketing-hero h1 {
    font-size: 32px;
  }

  .marketing-hero p.hero-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-badges,
  .hero-cta {
    justify-content: center;
  }

  .hero-product-mockup {
    margin-top: 32px;
  }

  .stats-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 24px 0 48px;
  }

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

  .timeline-line {
    display: none;
  }

  .timeline-steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .timeline-step-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
  }

  .timeline-step-card .step-badge {
    margin-bottom: 12px;
  }

  .marketing-footer .container {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .auth-fullscreen-wrap {
    grid-template-columns: 1fr;
  }

  .auth-brand-panel {
    display: none;
  }

  .auth-form-panel {
    padding: 36px 24px;
  }

  .pricing-trust-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .public-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .public-header nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .public-header nav a {
    white-space: nowrap;
  }

  .public-main {
    padding-top: 24px;
  }

  .auth-card {
    padding: 24px;
  }

  .pricing-grid-v2 {
    grid-template-columns: 1fr;
    padding: 0 0;
  }

  .pricing-card-v2.featured-v2 {
    transform: none;
  }

  .auth-form-row {
    grid-template-columns: 1fr;
    column-gap: 0;
  }

  .auth-form-row .form-group:last-child {
    margin-bottom: 20px;
  }
}

@media (max-width: 560px) {
  .stats-strip {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .section-timeline-wrapper {
    padding: 32px 16px;
  }

  .marketing-cta-premium {
    padding: 48px 20px;
  }

  .pricing-hero-v2 {
    padding: 48px 20px 40px;
  }

  .pricing-hero-v2 h1 {
    font-size: 30px;
  }
}

/* ═══════════════════════════════════════
   REGISTER WIZARD DESIGN (Phase 2 Overhaul)
   ═══════════════════════════════════════ */

/* Progress steps indicator */
.register-progress-container {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 32px;
  background: #f1f5f9;
  border-radius: 99px;
  padding: 4px;
}

.register-progress-bar {
  position: absolute;
  top: 4px;
  bottom: 4px;
  right: 4px;
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-strong) 100%);
  border-radius: 99px;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.register-progress-step {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 99px;
  color: var(--text-soft);
  font-weight: 700;
  font-size: 13px;
  position: relative;
  z-index: 2;
  cursor: pointer;
  transition: all 0.3s ease;
}

.register-progress-step .step-num {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #e2e8f0;
  color: var(--text-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  transition: all 0.3s ease;
}

.register-progress-step.active {
  color: #ffffff;
}

.register-progress-step.active .step-num {
  background: #ffffff;
  color: var(--brand-primary-dark);
  font-weight: 800;
}

.register-progress-step.completed {
  color: var(--brand-primary-dark);
}

.register-progress-step.completed .step-num {
  background: var(--brand-primary);
  color: #ffffff;
}

@media (max-width: 480px) {
  .register-progress-step .step-lbl {
    display: none;
  }
  .register-progress-step {
    padding: 8px 4px;
    gap: 0;
  }
}

/* Sections visibility */
.form-step-section {
  display: none;
}

.form-step-section.active {
  display: block;
  animation: authFadeIn 0.35s ease-out;
}

@keyframes authFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Help text and validation errors */
.help-text {
  font-size: 12px;
  color: #64748b;
  margin-top: 6px;
  display: block;
}

.field-error-msg {
  font-size: 12px;
  color: #ef4444;
  margin-top: 6px;
  display: none;
  font-weight: 600;
}

.field-error-msg.active {
  display: block;
}

/* Password field with toggle & strength meter */
.password-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.password-input-wrap input {
  padding-left: 44px !important;
}

.toggle-password-btn {
  position: absolute;
  left: 12px;
  background: transparent;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  font-size: 18px;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: color 0.2s ease;
}

.toggle-password-btn:hover {
  color: var(--brand-primary);
}

.password-strength-meter {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.password-strength-meter .meter-bar {
  flex: 1;
  height: 4px;
  background: #e2e8f0;
  border-radius: 99px;
  position: relative;
  overflow: hidden;
}

.password-strength-meter .meter-bar::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 0;
  background: #ef4444;
  transition: all 0.3s ease;
}

.password-strength-meter .meter-text {
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  min-width: 48px;
}

/* Strength level colors */
.strength-weak .meter-bar::before { width: 33.33%; background: #ef4444; }
.strength-weak .meter-text { color: #ef4444; }

.strength-medium .meter-bar::before { width: 66.66%; background: #f59e0b; }
.strength-medium .meter-text { color: #f59e0b; }

.strength-strong .meter-bar::before { width: 100%; background: #10b981; }
.strength-strong .meter-text { color: #10b981; }

/* Step actions */
.step-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.step-actions.split {
  justify-content: space-between;
}

.btn-step-next,
.btn-step-back {
  padding: 12px 24px;
  font-size: 14.5px;
  font-weight: 700;
  border-radius: 10px;
  cursor: pointer;
  font-family: var(--font-ar);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-step-next {
  background: var(--brand-primary);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 12px rgba(13,148,136,0.15);
  margin-right: auto;
}

.btn-step-next:hover {
  background: var(--brand-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(13,148,136,0.25);
}

.btn-step-back {
  background: #ffffff;
  color: #475569;
  border: 1.5px solid #e2e8f0;
}

.btn-step-back:hover {
  background: #f8fafc;
  color: var(--brand-ink);
  border-color: #cbd5e1;
}

/* Pricing Mini Cards */
.auth-billing-toggle-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.billing-discount-badge {
  background: rgba(52, 211, 153, 0.15);
  border: 1px solid rgba(52,211,153,0.25);
  color: #059669;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.auth-plan-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.auth-mini-card {
  position: relative;
  cursor: pointer;
  display: block;
}

.auth-mini-card input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.mini-card-inner {
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  background: #fafbfc;
  padding: 16px 14px;
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  min-height: 128px;
  display: flex;
  flex-direction: column;
}

.auth-mini-card:hover .mini-card-inner {
  border-color: rgba(13,148,136,0.3);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.auth-mini-card input:checked + .mini-card-inner {
  border-color: var(--brand-primary);
  background: linear-gradient(135deg, rgba(13,148,136,0.01) 0%, rgba(13,148,136,0.05) 100%);
  box-shadow: 0 8px 24px rgba(13,148,136,0.08);
}

.auth-mini-card.selected .mini-card-inner {
  border-color: var(--brand-primary);
}

.auth-mini-card input:checked + .mini-card-inner::after {
  content: '✓';
  position: absolute;
  top: 8px;
  left: 8px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--brand-primary);
  color: #ffffff;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.auth-mini-card.business-featured .mini-badge {
  position: absolute;
  top: -9px;
  right: 12px;
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-strong) 100%);
  color: #ffffff;
  font-size: 9.5px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 99px;
  box-shadow: 0 2px 6px rgba(13,148,136,0.2);
}

.mini-card-header {
  display: flex;
  flex-direction: column;
  margin-bottom: 8px;
}

.mini-card-name {
  font-weight: 800;
  font-size: 14px;
  color: var(--brand-ink);
}

.mini-card-price {
  margin-top: 2px;
}

.mini-price-val {
  font-size: 20px;
  font-weight: 800;
  color: var(--brand-primary-dark);
}

.mini-currency {
  font-size: 11px;
  color: var(--text-soft);
  font-weight: 600;
}

.mini-card-features {
  list-style: none;
  padding: 0;
  margin: auto 0 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid #f1f5f9;
  padding-top: 8px;
}

.mini-card-features li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--text-soft);
  font-weight: 600;
}

.mini-card-features li i {
  color: var(--brand-primary);
  font-size: 12px;
}

/* Summary Box */
.auth-summary-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
}

.summary-title {
  margin: 0 0 10px;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--brand-ink);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 12.5px;
}

.summary-label {
  color: var(--text-soft);
  font-weight: 600;
}

.summary-value {
  font-weight: 700;
  color: var(--brand-ink);
}

.summary-value.text-teal {
  color: #0d9488;
}

.summary-footer-note {
  margin: 10px 0 0;
  font-size: 11px;
  color: #64748b;
  text-align: center;
  border-top: 1px dashed #e2e8f0;
  padding-top: 8px;
}

/* Loader animations for form submissions */
.btn-auth-submit {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-loader-spinner {
  animation: authRotate 0.8s linear infinite;
  display: inline-block;
  font-size: 16px;
}

@keyframes authRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Registration — WhatsApp phone verification */
.phone-verify-panel {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1.5px solid rgba(13, 148, 136, 0.2);
  background: linear-gradient(180deg, rgba(13, 148, 136, 0.06) 0%, rgba(255, 255, 255, 0.9) 100%);
}

.phone-verify-status {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-soft);
  line-height: 1.5;
  margin-bottom: 12px;
}

.phone-verify-status i {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 1px;
}

.phone-verify-status.phone-verify-sent i { color: var(--brand-primary); }
.phone-verify-status.phone-verify-verified i { color: #059669; }
.phone-verify-status.phone-verify-verified { color: #047857; }
.phone-verify-status.phone-verify-error i { color: #e11d48; }
.phone-verify-status.phone-verify-error { color: #be123c; }

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

.btn-phone-send-otp,
.btn-phone-confirm-otp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 700;
  font-family: var(--font-ar);
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.btn-phone-send-otp {
  background: #ffffff;
  color: var(--brand-primary-dark);
  border: 1.5px solid rgba(13, 148, 136, 0.35);
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.08);
}

.btn-phone-send-otp:hover:not(:disabled) {
  background: rgba(13, 148, 136, 0.08);
  border-color: var(--brand-primary);
}

.btn-phone-confirm-otp {
  background: var(--brand-primary);
  color: #ffffff;
  flex-shrink: 0;
}

.btn-phone-confirm-otp:hover:not(:disabled) {
  background: var(--brand-primary-dark);
}

.btn-phone-send-otp:disabled,
.btn-phone-confirm-otp:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.phone-verify-otp-row {
  display: flex;
  align-items: stretch;
  gap: 10px;
  margin-top: 12px;
}

.phone-verify-otp-row input {
  flex: 1;
  min-width: 0;
}

/* Responsive layouts */
@media (max-width: 768px) {
  .auth-plan-grid {
    grid-template-columns: 1fr;
  }

  .phone-verify-otp-row {
    flex-direction: column;
  }

  .btn-phone-confirm-otp {
    width: 100%;
  }
}

