/* ===== VALSO Warranty â€” Design System ===== */
:root {
  --mint: #6ECFC4;
  --mint-light: #A8E6DE;
  --mint-dark: #4DB8AC;
  --coral: #F4A5A5;
  --coral-light: #FFD4D4;
  --dark: #1A1A2E;
  --gray-900: #2D2D3A;
  --gray-700: #5A5A6E;
  --gray-500: #8E8EA0;
  --gray-300: #D1D1DB;
  --gray-100: #F4F4F7;
  --white: #FFFFFF;
  --error: #E74C3C;
  --success: #27AE60;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 2px 8px rgba(26, 26, 46, 0.06);
  --shadow-md: 0 8px 30px rgba(26, 26, 46, 0.08);
  --shadow-lg: 0 20px 60px rgba(26, 26, 46, 0.12);
  --shadow-glow: 0 0 40px rgba(110, 207, 196, 0.25);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Vazirmatn', system-ui, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Background ===== */
.bg-layer {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, #f0faf9 0%, #fff 40%, #fef5f5 100%);
}

.bg-mountains {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  opacity: 0.6;
}

.bg-mountains svg {
  width: 100%;
  height: 100%;
}

.bg-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(110, 207, 196, 0.12) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(110, 207, 196, 0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 12px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--dark);
}

.logo-icon svg {
  width: 36px;
  height: 36px;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 2px;
}

.header-nav {
  display: flex;
  gap: 28px;
}

.header-nav a {
  text-decoration: none;
  color: var(--gray-700);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
}

.header-nav a:hover {
  color: var(--mint-dark);
}

.header-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(110, 207, 196, 0.14);
  border: 1px solid rgba(110, 207, 196, 0.28);
  border-radius: 100px;
  color: var(--mint-dark);
  font-size: 0.85rem;
  font-weight: 600;
}

/* ===== Intro (centered landing) ===== */
.intro {
  padding: 36px 0 12px;
}

.intro-inner {
  max-width: 860px;
  text-align: center;
}

.intro-title {
  font-size: clamp(1.55rem, 4vw, 2.35rem);
  font-weight: 800;
  line-height: 1.55;
  color: var(--dark);
  margin: 8px 0 22px;
}

.intro-kicker {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 auto 22px;
  max-width: 640px;
  color: var(--gray-700);
  font-size: 0.95rem;
  font-weight: 500;
}

.intro-kicker::before,
.intro-kicker::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gray-300);
}

.intro-desc {
  max-width: 620px;
  margin: 0 auto 36px;
  color: var(--gray-700);
  font-size: 1rem;
  line-height: 2;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 32px;
}

.feature-card {
  background: #f5f6f8;
  border-radius: 16px;
  padding: 28px 18px 24px;
  text-align: center;
  border: 1px solid rgba(26, 26, 46, 0.04);
}

.feature-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 14px;
  color: var(--dark);
}

.feature-icon svg {
  width: 36px;
  height: 36px;
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--dark);
}

.feature-card p {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.7;
}

.intro-cta {
  margin: 0 auto 28px;
  min-width: 260px;
}

.intro-cta svg {
  transform: scaleX(-1);
}

.intro-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 720px;
  margin: 0 auto;
  padding: 12px 18px;
  background: rgba(110, 207, 196, 0.16);
  border-radius: 10px;
  color: var(--gray-700);
  font-size: 0.9rem;
  font-weight: 500;
}

.intro-banner svg {
  flex-shrink: 0;
  color: var(--mint-dark);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--mint) 0%, var(--mint-dark) 100%);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(110, 207, 196, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(110, 207, 196, 0.45);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: var(--gray-100);
  color: var(--gray-700);
}

.btn-secondary:hover {
  background: var(--gray-300);
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

/* ===== Hero ===== */
.hero {
  padding: 60px 0 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(110, 207, 196, 0.12);
  border: 1px solid rgba(110, 207, 196, 0.25);
  border-radius: 100px;
  color: var(--mint-dark);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 20px;
  animation: fadeInUp 0.6s ease 0.1s both;
}

.hero-highlight {
  display: block;
  background: linear-gradient(135deg, var(--mint-dark), var(--coral));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--gray-700);
  max-width: 480px;
  margin-bottom: 32px;
  animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 36px;
  animation: fadeInUp 0.6s ease 0.3s both;
}

.stat {
  text-align: center;
}

.stat-num {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--mint-dark);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--gray-500);
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--gray-300);
}

.hero-cta {
  animation: fadeInUp 0.6s ease 0.4s both;
}

.hero-cta svg {
  transform: scaleX(-1);
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  animation: fadeIn 0.8s ease 0.3s both;
}

.hero-showcase {
  position: relative;
  width: 100%;
  max-width: 340px;
  min-height: 420px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: -8px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.hero-dot {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  cursor: pointer;
  background: rgba(90, 90, 110, 0.25);
  transition: background 0.25s ease, transform 0.25s ease;
}

.hero-dot.is-active {
  background: var(--mint-dark, #4DB8AC);
  transform: scale(1.15);
}

.hero-card {
  position: relative;
  width: 100%;
  max-width: 340px;
}

/* Phone mock — SMS activation */
.phone-mock {
  width: 100%;
  display: flex;
  justify-content: center;
}

.phone-shell {
  width: 230px;
  border-radius: 36px;
  padding: 12px;
  background: linear-gradient(160deg, #2a2a3a 0%, #12121c 100%);
  box-shadow: var(--shadow-lg), 0 20px 50px rgba(26, 26, 46, 0.28);
  position: relative;
}

.phone-notch {
  width: 88px;
  height: 18px;
  margin: 0 auto 10px;
  border-radius: 0 0 14px 14px;
  background: #0c0c14;
}

.phone-screen {
  background: linear-gradient(180deg, #f7fffd 0%, #eef8f6 100%);
  border-radius: 26px;
  min-height: 340px;
  padding: 14px 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.phone-status {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gray-500);
}

.phone-thread {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.bubble {
  max-width: 92%;
  padding: 10px 12px;
  border-radius: 16px;
  font-size: 0.78rem;
  line-height: 1.65;
  animation: fadeInUp 0.6s ease both;
}

.bubble.out {
  align-self: flex-start;
  background: #dff7f3;
  color: var(--dark, #1A1A2E);
  border-bottom-right-radius: 6px;
}

.bubble.out small {
  display: block;
  margin-top: 4px;
  font-size: 0.68rem;
  color: var(--gray-500);
}

.bubble.in {
  align-self: flex-end;
  background: var(--white);
  border: 1px solid rgba(110, 207, 196, 0.35);
  color: var(--gray-700);
  border-bottom-left-radius: 6px;
  animation-delay: 0.25s;
}

.hero-card-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, rgba(110, 207, 196, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse 4s ease-in-out infinite;
}

.hero-card-inner {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(110, 207, 196, 0.15);
  text-align: center;
}

.card-shield svg {
  width: 80px;
  height: 80px;
  margin-bottom: 16px;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.card-sub {
  color: var(--gray-500);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.card-tags {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.tag {
  padding: 6px 14px;
  background: rgba(110, 207, 196, 0.1);
  color: var(--mint-dark);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
}

.floating-icon {
  position: absolute;
  width: 48px;
  height: 48px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: float 6s ease-in-out infinite;
}

.floating-icon svg {
  width: 24px;
  height: 24px;
}

.floating-icon-1 {
  top: 10%;
  right: -10%;
  animation-delay: 0s;
}

.floating-icon-2 {
  bottom: 15%;
  left: -5%;
  animation-delay: 2s;
}

/* ===== Benefits ===== */
.benefits {
  padding: 80px 0;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 48px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.benefit-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(110, 207, 196, 0.1);
  transition: all var(--transition);
  text-align: center;
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(110, 207, 196, 0.3);
}

.benefit-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, rgba(110, 207, 196, 0.15), rgba(244, 165, 165, 0.15));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mint-dark);
}

.benefit-icon svg {
  width: 28px;
  height: 28px;
}

.benefit-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.benefit-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ===== Register Form ===== */
.register {
  padding: 40px 0 90px;
}

.register-wrapper {
  display: block;
  max-width: 640px;
  margin: 0 auto;
}

.register-info .section-title {
  text-align: right;
  margin-bottom: 16px;
  line-height: 1.55;
}

.register-desc {
  color: var(--gray-700);
  margin-bottom: 32px;
  line-height: 1.8;
}

.register-steps {
  list-style: none;
  margin-bottom: 32px;
}

.step {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  opacity: 0.5;
  transition: opacity var(--transition);
}

.step.active {
  opacity: 1;
}

.step-num {
  width: 32px;
  height: 32px;
  background: var(--gray-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
}

.step.active .step-num {
  background: var(--mint);
  color: var(--white);
}

.step-text {
  font-size: 0.95rem;
  font-weight: 500;
}

.sms-activate-panel {
  margin: 0 0 24px;
}

.sms-activate-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  margin: 0 0 12px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(110, 207, 196, 0.16), rgba(110, 207, 196, 0.05));
  border: 1px solid rgba(77, 184, 172, 0.35);
}

.sms-activate-steps {
  margin: 0;
  padding: 0 4px 0 22px;
  color: var(--gray-700);
  font-size: 0.9rem;
  line-height: 1.9;
}
.sms-activate-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(77, 184, 172, 0.18);
  color: var(--mint-dark, #4DB8AC);
  flex-shrink: 0;
}
.sms-activate-card strong {
  display: block;
  margin-bottom: 4px;
  color: var(--dark, #1A1A2E);
}
.sms-activate-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--gray-700, #5A5A6E);
}
.sms-number {
  display: inline-block;
  font-weight: 800;
  color: var(--mint-dark, #4DB8AC);
  letter-spacing: 0.03em;
  direction: ltr;
}

.register-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 16px;
  background: rgba(244, 165, 165, 0.1);
  border-radius: var(--radius-md);
  border: 1px solid rgba(244, 165, 165, 0.2);
  font-size: 0.85rem;
  color: var(--gray-700);
  line-height: 1.6;
}

.register-note svg {
  flex-shrink: 0;
  color: var(--coral);
  margin-top: 2px;
}

/* Form Card */
.form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(110, 207, 196, 0.12);
}

.form-group {
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--gray-900);
}

.required {
  color: var(--coral);
  margin-right: 2px;
}

.optional {
  font-weight: 400;
  color: var(--gray-500);
  font-size: 0.8rem;
}

.input-wrapper {
  position: relative;
}

.input-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--gray-500);
  pointer-events: none;
  transition: color var(--transition);
}

input {
  width: 100%;
  padding: 14px 44px 14px 16px;
  border: 2px solid var(--gray-100);
  border-radius: var(--radius-md);
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--dark);
  background: var(--gray-100);
  transition: all var(--transition);
  outline: none;
}

input::placeholder {
  color: var(--gray-500);
}

input:focus {
  border-color: var(--mint);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(110, 207, 196, 0.12);
}

input:focus + .input-icon,
.input-wrapper:focus-within .input-icon {
  color: var(--mint-dark);
}

input.error {
  border-color: var(--error);
  background: rgba(231, 76, 60, 0.04);
}

input.error:focus {
  box-shadow: 0 0 0 4px rgba(231, 76, 60, 0.1);
}

input[type="date"] {
  padding-left: 14px;
}

input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 0.6;
}

.error-msg {
  display: block;
  font-size: 0.8rem;
  color: var(--error);
  margin-top: 6px;
  min-height: 20px;
}

.btn-submit {
  width: 100%;
  padding: 16px;
  font-size: 1rem;
  margin-top: 8px;
}

.spinner {
  width: 24px;
  height: 24px;
  animation: spin 0.8s linear infinite;
}

.spinner circle {
  stroke-linecap: round;
  animation: dash 1.5s ease-in-out infinite;
}

/* Success State */
.success-state {
  text-align: center;
  padding: 20px 0;
  animation: fadeInUp 0.5s ease;
}

.success-icon svg {
  width: 80px;
  height: 80px;
  margin-bottom: 24px;
}

.success-state h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--mint-dark);
}

.success-state p {
  color: var(--gray-700);
  margin-bottom: 28px;
  line-height: 1.7;
}

/* ===== Footer ===== */
.footer {
  background: var(--dark);
  color: var(--gray-300);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.footer-brand .logo-text {
  color: var(--white);
  font-size: 1.3rem;
}

.footer-brand p {
  font-size: 0.85rem;
  margin-top: 4px;
}

.footer-contact {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-contact a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--mint-light);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-contact a:hover {
  color: var(--white);
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--gray-500);
}

/* ===== Animations ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes dash {
  0% { stroke-dashoffset: 62.8; }
  50% { stroke-dashoffset: 15.7; }
  100% { stroke-dashoffset: 62.8; }
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-cta {
    width: 100%;
    max-width: 320px;
  }

  .hero-visual {
    order: -1;
  }

  .hero-showcase {
    max-width: 280px;
    min-height: 380px;
    margin: 0 auto;
  }

  .hero-card {
    max-width: 280px;
  }

  .floating-icon-1 { right: 0; }
  .floating-icon-2 { left: 0; }

  .feature-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto 32px;
  }

  .intro-cta {
    width: 100%;
    max-width: 320px;
  }

  .register-wrapper {
    max-width: 640px;
  }
}

@media (max-width: 600px) {
  .header-badge {
    font-size: 0.75rem;
    padding: 6px 12px;
  }

  .intro {
    padding: 24px 0 8px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-card {
    padding: 28px 20px;
  }

  .intro,
  .register {
    padding-bottom: 48px;
  }

  .register {
    padding-top: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== Official VALSO logo ===== */
.logo-img {
  height: 40px;
  width: auto;
  display: block;
}
.footer-brand .logo-img {
  height: 36px;
  filter: brightness(0) invert(1);
  margin: 0 auto 6px;
}
.auth-lead {
  margin: 0 0 18px;
  color: var(--text-muted, #5b6770);
  font-size: 0.95rem;
  line-height: 1.7;
}
.auth-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
}
.link-btn {
  background: none;
  border: 0;
  padding: 0;
  color: var(--primary, #2a9d8f);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.link-btn:hover {
  text-decoration: underline;
}
.session-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding: 10px 12px;
  background: rgba(110, 207, 196, 0.12);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
}
#mobile[readonly] {
  background: rgba(0, 0, 0, 0.03);
  cursor: default;
}
.form-alert {
  display: block;
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.8;
}
.form-alert[hidden] {
  display: none !important;
}
.form-alert.error {
  background: rgba(231, 76, 60, 0.08);
  color: var(--error);
  border: 1px solid rgba(231, 76, 60, 0.2);
}
.form-alert.success {
  background: rgba(39, 174, 96, 0.08);
  color: var(--success);
  border: 1px solid rgba(39, 174, 96, 0.2);
}
.form-alert.warning {
  background: rgba(243, 156, 18, 0.12);
  color: #9a6b09;
  border: 1px solid rgba(243, 156, 18, 0.35);
}
.success-warranty {
  display: inline-block;
  margin: 8px 0 20px;
  padding: 8px 14px;
  background: rgba(110, 207, 196, 0.12);
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 1px;
  direction: ltr;
}

.mobile-verified-bar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  margin-bottom: 14px;
  padding: 10px 12px;
  border-radius: var(--radius-md, 10px);
  background: rgba(39, 174, 96, 0.1);
  color: #1e7a45;
  border: 1px solid rgba(39, 174, 96, 0.25);
  font-size: 0.9rem;
  font-weight: 600;
  direction: rtl;
  text-align: right;
}
.mobile-verified-bar b {
  font-weight: 700;
  letter-spacing: 0.3px;
}
.mobile-verified-bar[hidden] {
  display: none !important;
}

/* OTP modal */
body.otp-open {
  overflow: hidden;
}
.otp-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.otp-modal.is-open,
.otp-modal:not([hidden]) {
  display: flex !important;
}
.otp-modal[hidden] {
  display: none !important;
}
.otp-step[hidden] {
  display: none !important;
}
.otp-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 30, 40, 0.55);
  backdrop-filter: blur(4px);
}
.otp-modal-card {
  position: relative;
  width: min(420px, 100%);
  background: #fff;
  border-radius: var(--radius-lg, 16px);
  padding: 28px 24px 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
  z-index: 1;
}
.otp-modal-close {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  color: #6b7c85;
  cursor: pointer;
  border-radius: 8px;
}
.otp-modal-close:hover {
  background: rgba(0, 0, 0, 0.05);
  color: #1a2b33;
}
.otp-modal-card h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  font-weight: 700;
  color: #1a2b33;
}
.otp-modal-desc {
  margin: 0 0 16px;
  color: #5a6b73;
  font-size: 0.92rem;
  line-height: 1.7;
}
.otp-alert {
  display: block;
  margin-bottom: 14px;
  padding: 10px 12px;
  border-radius: var(--radius-md, 10px);
  font-size: 0.88rem;
  font-weight: 500;
}
.otp-alert.error {
  background: rgba(231, 76, 60, 0.08);
  color: var(--error, #e74c3c);
  border: 1px solid rgba(231, 76, 60, 0.2);
}
.otp-alert.ok {
  background: rgba(39, 174, 96, 0.08);
  color: var(--success, #27ae60);
  border: 1px solid rgba(39, 174, 96, 0.2);
}
.otp-step label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  color: #1a2b33;
}
.otp-step input {
  width: 100%;
  margin-bottom: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: var(--radius-md, 10px);
  font-family: inherit;
  font-size: 1rem;
  letter-spacing: 0.5px;
  background: #fafbfc;
}
.otp-step input:focus {
  outline: none;
  border-color: var(--primary, #6ecfc4);
  box-shadow: 0 0 0 3px rgba(110, 207, 196, 0.2);
}
.otp-step .btn {
  width: 100%;
  margin-top: 4px;
}
.otp-step .btn + .btn {
  margin-top: 10px;
}
