@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&family=Tajawal:wght@300;400;500;700;800&display=swap');

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

:root {
  --purple-light: #a855f7;
  --purple-main: #8b5cf6;
  --purple-dark: #7c3aed;
  --purple-glow: rgba(139, 92, 246, 0.4);
  --bg-dark: #05050f;
  --bg-card: rgba(255,255,255,0.04);
  --bg-card-hover: rgba(255,255,255,0.07);
  --text-primary: #f1f1f9;
  --text-secondary: #a0a0c0;
  --border-color: rgba(139, 92, 246, 0.2);
  --border-hover: rgba(139, 92, 246, 0.5);
}

body.light-mode {
  --bg-dark: #f7f6fc;
  --bg-card: rgba(139,92,246,0.05);
  --bg-card-hover: rgba(139,92,246,0.09);
  --text-primary: #1a1626;
  --text-secondary: #5c5670;
  --border-color: rgba(139, 92, 246, 0.18);
  --border-hover: rgba(139, 92, 246, 0.4);
}
body.light-mode .glow-blob { opacity: 0.4; }

/* ===== THEME TOGGLE BUTTON ===== */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.25s ease;
  flex-shrink: 0;
}
.theme-toggle:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-1px);
}
.theme-toggle svg,
.theme-toggle i { width: 18px; height: 18px; }
.theme-toggle-text { display: none; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Cairo', 'Tajawal', sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  direction: rtl;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

/* ===== SPACE BACKGROUND ===== */
#space-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}

.glow-blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
  animation: blobFloat 18s ease-in-out infinite;
}
.glow-blob:nth-child(1) { width: 500px; height: 500px; background: #8b5cf6; top: -100px; right: -100px; animation-delay: 0s; }
.glow-blob:nth-child(2) { width: 350px; height: 350px; background: #a855f7; bottom: 20%; left: -80px; animation-delay: -6s; }
.glow-blob:nth-child(3) { width: 400px; height: 400px; background: #6d28d9; top: 40%; right: 30%; animation-delay: -12s; }

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.08); }
  66% { transform: translate(-20px, 30px) scale(0.95); }
}

.page-content { position: relative; z-index: 1; }

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 2rem;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(20px);
  background: rgba(5, 5, 15, 0.7);
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.logo {
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: -1px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.logo img,
.logo video,
.logo-video {
  height: 1.8em;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 20px rgba(168, 85, 247, 0.5));
  pointer-events: none;
}

.header-btns { display: flex; gap: 0.8rem; align-items: center; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.6rem 1.4rem;
  border-radius: 50px;
  font-family: 'Cairo', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  border: none;
  white-space: nowrap;
}
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--border-hover);
  color: var(--purple-light);
}
.btn-outline:hover {
  background: rgba(139, 92, 246, 0.15);
  border-color: var(--purple-light);
  box-shadow: 0 0 15px var(--purple-glow);
}
.btn-primary {
  background: linear-gradient(135deg, var(--purple-main), var(--purple-light));
  color: #fff;
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(139, 92, 246, 0.6);
  filter: brightness(1.1);
}
.btn-lg { padding: 0.85rem 2.2rem; font-size: 1.05rem; }
.btn-xl { padding: 1rem 2.8rem; font-size: 1.15rem; border-radius: 60px; }

/* ===== HERO ===== */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 1.5rem 4rem;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 50px;
  padding: 0.4rem 1.2rem;
  font-size: 0.85rem;
  color: var(--purple-light);
  margin-bottom: 1.5rem;
  animation: fadeInDown 0.8s ease;
}
.hero-title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease 0.2s both;
}
.gradient-text {
  background: linear-gradient(135deg, #c4b5fd, #a855f7, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
  animation: fadeInUp 0.8s ease 0.4s both;
}
.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.6s both;
}
.hero-stats {
  display: flex;
  gap: 3rem;
  justify-content: center;
  margin-top: 4rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.8s both;
}
.stat-item { text-align: center; }
.stat-num { font-size: 2rem; font-weight: 900; color: var(--purple-light); }
.stat-label { font-size: 0.85rem; color: var(--text-secondary); margin-top: 0.2rem; }

/* ===== SECTIONS ===== */
section { padding: 5rem 1.5rem; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-label {
  display: inline-block;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 50px;
  padding: 0.3rem 1rem;
  font-size: 0.82rem;
  color: var(--purple-light);
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 0.8rem;
}
.section-desc { font-size: 1rem; color: var(--text-secondary); max-width: 560px; margin: 0 auto; line-height: 1.8; }

/* ===== CARDS ===== */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.05), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 16px;
}
.card:hover { border-color: var(--border-hover); transform: translateY(-4px); box-shadow: 0 15px 40px rgba(139, 92, 246, 0.15); }
.card:hover::before { opacity: 1; }

/* ===== FEATURES GRID ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.feature-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(168, 85, 247, 0.1));
  border: 1px solid rgba(139, 92, 246, 0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
}
.feature-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; }
.feature-desc { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; }

/* ===== HOW IT WORKS ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}
.step-card { text-align: center; }
.step-num {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-main), var(--purple-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; font-weight: 900;
  margin: 0 auto 1.2rem;
  box-shadow: 0 0 25px rgba(139, 92, 246, 0.5);
}
.step-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.step-desc { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; }

/* ===== PRICING ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
  align-items: start;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2.2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.pricing-card.popular {
  border-color: var(--purple-main);
  background: rgba(139, 92, 246, 0.06);
  transform: scale(1.02);
  box-shadow: 0 0 40px rgba(139, 92, 246, 0.2);
}
.popular-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: linear-gradient(135deg, var(--purple-main), var(--purple-light));
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.8rem;
  border-radius: 50px;
}
.plan-name { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.3rem; }
.plan-desc { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 1.5rem; }
.plan-price { margin-bottom: 1.8rem; }
.plan-price .amount { font-size: 2.5rem; font-weight: 900; color: var(--purple-light); }
.plan-price .currency { font-size: 1rem; color: var(--text-secondary); }
.plan-price .period { font-size: 0.85rem; color: var(--text-secondary); }
.plan-features { list-style: none; margin-bottom: 2rem; }
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.45rem 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.plan-features li:last-child { border-bottom: none; }
.check-icon { color: #a855f7; font-size: 1rem; flex-shrink: 0; margin-top: 2px; }
.pricing-card:hover { transform: translateY(-5px); box-shadow: 0 20px 50px rgba(139, 92, 246, 0.2); }
.pricing-card.popular:hover { transform: scale(1.02) translateY(-5px); }

/* ===== TESTIMONIALS ===== */
.testimonials-wrap { overflow-x: auto; padding-bottom: 1rem; }
.testimonials-wrap::-webkit-scrollbar { height: 4px; }
.testimonials-wrap::-webkit-scrollbar-track { background: rgba(255,255,255,0.05); border-radius: 2px; }
.testimonials-wrap::-webkit-scrollbar-thumb { background: var(--purple-main); border-radius: 2px; }
.testimonials-row {
  display: flex;
  gap: 1.5rem;
  padding: 1rem 0.5rem;
  width: max-content;
  max-width: 100%;
}
.testimonial-card {
  width: 300px;
  flex-shrink: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1.5rem;
  transition: all 0.3s ease;
}
.testimonial-card:hover { border-color: var(--border-hover); transform: translateY(-3px); }
.testi-header { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1rem; }
.testi-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-main), var(--purple-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: 700;
  flex-shrink: 0;
}
.testi-name { font-size: 0.95rem; font-weight: 700; }
.testi-store { font-size: 0.8rem; color: var(--text-secondary); }
.testi-stars { color: #f59e0b; font-size: 0.85rem; margin-bottom: 0.8rem; }
.testi-text { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.7; }

/* ===== CTA SECTION ===== */
.cta-section {
  text-align: center;
  padding: 5rem 1.5rem;
  position: relative;
}
.cta-inner {
  background: rgba(139, 92, 246, 0.06);
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: 24px;
  padding: 4rem 2rem;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.cta-inner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(139,92,246,0.15), transparent 70%);
  pointer-events: none;
}
.cta-title { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 900; margin-bottom: 1rem; }
.cta-desc { font-size: 1rem; color: var(--text-secondary); margin-bottom: 2rem; line-height: 1.8; }

/* ===== FOOTER ===== */
.site-footer {
  border-top: 1px solid var(--border-color);
  padding: 3rem 2rem 2rem;
  position: relative;
  z-index: 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto 2.5rem;
}
.footer-brand .logo { font-size: 1.5rem; }
.footer-desc { font-size: 0.87rem; color: var(--text-secondary); line-height: 1.8; margin-top: 0.8rem; }
.footer-col-title { font-size: 0.95rem; font-weight: 700; margin-bottom: 1rem; color: var(--text-primary); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { color: var(--text-secondary); text-decoration: none; font-size: 0.87rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--purple-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-secondary);
  max-width: 1100px;
  margin: 0 auto;
}

/* ===== AUTH PAGES ===== */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}
.auth-box {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 2.5rem;
  width: 100%;
  max-width: 480px;
  backdrop-filter: blur(20px);
  position: relative;
  z-index: 1;
}
.auth-logo { text-align: center; margin-bottom: 0.5rem; }
.auth-subtitle { text-align: center; font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 2rem; }
.auth-title { text-align: center; font-size: 1.5rem; font-weight: 800; margin-bottom: 0.4rem; }

/* ===== FORM ELEMENTS ===== */
.form-group { margin-bottom: 1.2rem; }
.form-label { display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 0.45rem; color: var(--text-primary); }
.form-input, .form-select {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid var(--border-color);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  color: var(--text-primary);
  font-family: 'Cairo', sans-serif;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  outline: none;
  appearance: none;
}
.form-input::placeholder { color: rgba(160,160,192,0.5); }
.form-input:focus, .form-select:focus {
  border-color: var(--purple-main);
  background: rgba(139, 92, 246, 0.08);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
}
.form-input.error { border-color: #ef4444; }
.error-msg { font-size: 0.8rem; color: #f87171; margin-top: 0.3rem; display: none; }
.error-msg.show { display: block; }
.form-select option { background: #1a1a2e; color: #fff; }

/* ===== PROGRESS BAR ===== */
.progress-wrap { margin-bottom: 2rem; }
.progress-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 1rem;
}
.prog-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.prog-circle {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid var(--border-color);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-secondary);
  transition: all 0.3s ease;
  background: var(--bg-dark);
  position: relative;
  z-index: 1;
}
.prog-step.active .prog-circle {
  border-color: var(--purple-main);
  background: var(--purple-main);
  color: white;
  box-shadow: 0 0 15px rgba(139,92,246,0.5);
}
.prog-step.done .prog-circle {
  border-color: var(--purple-main);
  background: var(--purple-main);
  color: white;
}
.prog-label { font-size: 0.7rem; color: var(--text-secondary); margin-top: 0.3rem; white-space: nowrap; }
.prog-step.active .prog-label { color: var(--purple-light); }
.prog-line {
  width: 60px; height: 2px;
  background: var(--border-color);
  transition: all 0.3s ease;
  margin-bottom: 1.5rem;
}
.prog-line.done { background: var(--purple-main); }

/* ===== WIZARD STEPS ===== */
.wizard-step { display: none; }
.wizard-step.active { display: block; animation: fadeInRight 0.4s ease; }
.step-title-sm { font-size: 1.1rem; font-weight: 800; margin-bottom: 0.3rem; }
.step-desc-sm { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 1.5rem; }

/* ===== PLAN SELECT CARDS ===== */
.plan-select-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.plan-select-card {
  border: 1.5px solid var(--border-color);
  border-radius: 14px;
  padding: 1.2rem 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg-card);
}
.plan-select-card:hover { border-color: var(--border-hover); background: rgba(139,92,246,0.06); }
.plan-select-card.selected { border-color: var(--purple-main); background: rgba(139,92,246,0.1); box-shadow: 0 0 15px rgba(139,92,246,0.2); }
.plan-radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--border-color); flex-shrink: 0; transition: all 0.3s; display: flex; align-items: center; justify-content: center; }
.plan-select-card.selected .plan-radio { border-color: var(--purple-main); background: var(--purple-main); }
.plan-select-card.selected .plan-radio::after { content: ''; width: 8px; height: 8px; background: white; border-radius: 50%; }
.plan-info { flex: 1; }
.plan-select-name { font-weight: 700; font-size: 0.95rem; }
.plan-select-price { font-size: 0.85rem; color: var(--purple-light); font-weight: 600; }

/* ===== SUMMARY ===== */
.summary-card {
  background: rgba(139,92,246,0.06);
  border: 1px solid rgba(139,92,246,0.2);
  border-radius: 14px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.summary-row { display: flex; justify-content: space-between; padding: 0.4rem 0; font-size: 0.9rem; border-bottom: 1px solid rgba(255,255,255,0.05); }
.summary-row:last-child { border-bottom: none; }
.summary-label { color: var(--text-secondary); }
.summary-value { font-weight: 600; color: var(--text-primary); }

/* ===== SUCCESS ===== */
.success-box { text-align: center; padding: 1rem 0; }
.success-icon { font-size: 3.5rem; margin-bottom: 1rem; }
.success-title { font-size: 1.4rem; font-weight: 800; margin-bottom: 0.5rem; }
.success-desc { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 1.5rem; }
.success-link {
  display: inline-block;
  background: rgba(139,92,246,0.1);
  border: 1px solid rgba(139,92,246,0.3);
  border-radius: 10px;
  padding: 0.6rem 1.2rem;
  font-size: 0.85rem;
  color: var(--purple-light);
  text-decoration: none;
  word-break: break-all;
  margin-bottom: 1rem;
  transition: all 0.3s;
}
.success-link:hover { background: rgba(139,92,246,0.2); }

/* ===== ALERTS ===== */
.alert {
  padding: 0.8rem 1rem;
  border-radius: 10px;
  font-size: 0.88rem;
  margin-bottom: 1rem;
  display: none;
}
.alert.show { display: flex; align-items: center; gap: 0.5rem; }
.alert-error { background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.3); color: #fca5a5; }
.alert-success { background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.3); color: #86efac; }

/* ===== LOADING SPINNER ===== */
.spinner {
  width: 20px; height: 20px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

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

.nav-btn-group { display: flex; gap: 0.8rem; justify-content: space-between; margin-top: 1.5rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .site-header { padding: 0 1rem; }
  .hero-stats { gap: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .pricing-card.popular { transform: none; }
  .pricing-card.popular:hover { transform: translateY(-5px); }
  .steps-grid { grid-template-columns: 1fr; }
  .auth-box { padding: 1.8rem 1.2rem; }
  .prog-line { width: 35px; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .header-btns .btn-outline { display: none; }
  .hero-btns { flex-direction: column; align-items: center; }
}

/* Container */
.container { max-width: 1100px; margin: 0 auto; }

/* Hidden mobile */
@media (max-width: 768px) { .hidden-mobile { display: none !important; } }

/* Divider */
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--border-color), transparent); margin: 0 auto; max-width: 800px; }

/* Input password toggle */
.input-wrap { position: relative; }
.toggle-pass {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: var(--text-secondary);
  font-size: 1rem;
  user-select: none;
  transition: color 0.2s;
}
.toggle-pass:hover { color: var(--purple-light); }
.form-input.has-toggle { padding-left: 2.5rem; }
