:root {
  --primary: #2563eb;
  --primary-dark: #1e3a8a;
  --primary-soft: #dbeafe;
  --accent: #c2410c;
  --background: #eef2f7;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --border: #d8e0ea;
  --danger: #dc2626;
  --success: #059669;
  --shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
  --radius: 18px;
  --max: 480px;
  --font: "IBM Plex Sans Arabic", "Tajawal", "Segoe UI", Tahoma, sans-serif;
  --display: "Tajawal", "IBM Plex Sans Arabic", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  font-family: var(--font);
  background:
    radial-gradient(ellipse 68% 50% at 6% -8%, rgba(37, 99, 235, 0.18), transparent 55%),
    radial-gradient(ellipse 52% 42% at 100% 0%, rgba(59, 130, 246, 0.14), transparent 48%),
    radial-gradient(ellipse 48% 38% at 72% 100%, rgba(194, 65, 12, 0.07), transparent 55%),
    linear-gradient(180deg, #f8fafc 0%, var(--background) 48%, #e8eef5 100%);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

@media (max-width: 900px) {
  html, body {
    background-attachment: scroll;
  }
}

body,
.app-body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.app-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  color: var(--primary-dark);
}

.container {
  width: min(100% - 2rem, 1100px);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 0.75rem 0 0.35rem;
  background: transparent;
}

.site-header > .container {
  width: min(100% - 1.25rem, 1100px);
}

.site-header .container,
.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  min-height: 68px;
  padding: 0.55rem 0.85rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(216, 224, 234, 0.95);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(16px) saturate(1.15);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  cursor: pointer;
  flex-shrink: 0;
  font-size: 1.05rem;
}

.site-nav {
  min-width: 0;
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.site-nav__scroll {
  display: flex;
  align-items: center;
  gap: 0.28rem;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0.1rem;
  -webkit-overflow-scrolling: touch;
}

.site-nav__scroll::-webkit-scrollbar {
  display: none;
}

.site-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
  padding: 0.55rem 0.78rem;
  border-radius: 12px;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s var(--ease);
  white-space: nowrap;
}

.site-nav__link i {
  font-size: 0.82rem;
  opacity: 0.9;
}

.site-nav__link:hover {
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary-dark);
}

.site-nav__link.is-active {
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.site-nav__link--accent {
  color: var(--primary-dark);
  background: rgba(37, 99, 235, 0.08);
}

.site-nav__link--muted {
  color: #7a8b85;
}

.site-nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0.55rem 0.95rem;
  border-radius: 12px;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 62%, #1e3a8a 100%);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.22);
}

.site-nav__cta:hover {
  color: #fff;
  filter: brightness(1.04);
}

@media (max-width: 900px) {
  .site-header {
    padding: 0.55rem 0 0.25rem;
  }

  .header-shell {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.55rem;
    min-height: 0;
    padding: 0.6rem 0.7rem;
    border-radius: 16px;
  }

  .nav-toggle {
    display: inline-flex;
    z-index: 62;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.45rem);
    inset-inline: 0;
    display: none;
    width: auto;
    flex: initial;
    max-height: min(70vh, 28rem);
    overflow: auto;
    padding: 0.55rem;
    border-radius: 16px;
    border: 1px solid rgba(216, 224, 234, 0.95);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
    z-index: 61;
  }

  .header-shell.is-nav-open .site-nav {
    display: block;
  }

  .nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.35);
    z-index: 35;
  }

  body.is-nav-open .nav-backdrop {
    display: block;
  }

  body.is-nav-open {
    overflow: hidden;
  }

  .site-nav__scroll {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.4rem;
    overflow: visible;
    padding: 0;
    max-width: none;
  }

  .site-nav__link,
  .site-nav__cta {
    width: 100%;
    justify-content: flex-start;
    padding: 0.78rem 0.9rem;
    border: 1px solid var(--border);
    background: #fff;
    white-space: nowrap;
  }

  .site-nav__link.is-active,
  .site-nav__link--accent {
    border-color: #93c5fd;
    background: var(--primary-soft);
  }

  .site-nav__cta {
    justify-content: center;
    color: #fff;
    border: 0;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 62%, #1e3a8a 100%);
  }

  .brand-logo {
    height: 36px;
    max-width: min(150px, 55vw);
  }
}

.logo {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  color: var(--text);
  text-decoration: none;
  min-width: 0;
  line-height: 0;
}

.brand-mark:hover {
  opacity: 0.92;
  color: var(--text);
}

.brand-logo {
  width: auto;
  height: 42px;
  max-width: min(180px, 46vw);
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.brand-mark-hero {
  justify-content: center;
  margin: 0 auto 1.35rem;
}

.brand-mark-hero .brand-logo {
  height: clamp(56px, 12vw, 84px);
  max-width: min(280px, 70vw);
}

.brand-logo-footer {
  height: 48px;
  max-width: 200px;
}

.brand-mark-footer {
  justify-content: center;
  margin-bottom: 0.55rem;
}

.nav-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 0.78rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 58%, #1e3a8a 100%);
  color: #fff;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.22);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), filter 0.2s ease;
}

.btn:hover {
  filter: brightness(1.04);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(37, 99, 235, 0.28);
}

.btn:active {
  transform: translateY(0);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.88);
  border-color: var(--border);
  color: var(--text);
  box-shadow: none;
}

.btn-outline:hover {
  border-color: #93c5fd;
  color: var(--primary-dark);
  background: #eff6ff;
  filter: none;
}

.btn-danger {
  background: var(--danger);
}

.btn-danger:hover {
  background: #991b1b;
  color: #fff;
}

.btn-outline.btn-danger {
  background: transparent;
  border-color: #fecaca;
  color: var(--danger);
}

.btn-outline.btn-danger:hover {
  background: #fef2f2;
  border-color: var(--danger);
  color: var(--danger);
}

.btn-block {
  width: 100%;
}

.btn-sm {
  padding: 0.45rem 0.75rem;
  font-size: 0.85rem;
}

.hero {
  position: relative;
  padding: 4rem 0 3.5rem;
  overflow: hidden;
}

.hero-landing {
  min-height: calc(100vh - 88px);
  display: grid;
  align-items: center;
  padding: 3.5rem 0 4.5rem;
}

@media (max-width: 900px) {
  .hero-landing {
    min-height: 0;
    padding: 2rem 0 2.75rem;
  }

  .hero h1 {
    font-size: clamp(1.7rem, 8vw, 2.35rem);
  }

  .hero p {
    font-size: 0.98rem;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .brand-mark-hero .brand-logo {
    height: clamp(48px, 16vw, 72px);
    max-width: min(240px, 72vw);
  }

  .how-section,
  .pricing-section {
    padding-bottom: 3.5rem;
  }

  .how-step {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
  }

  .auth-wrap {
    min-height: 0;
    padding: 1.25rem 0.85rem 2rem;
    align-items: start;
  }

  .auth-card {
    width: 100%;
    padding: 1.25rem 1rem;
    border-radius: 18px;
  }

  .container {
    width: min(100% - 1.25rem, 1100px);
  }
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 28%, rgba(59, 130, 246, 0.28), transparent 34%),
    radial-gradient(circle at 84% 16%, rgba(37, 99, 235, 0.18), transparent 30%),
    radial-gradient(circle at 55% 88%, rgba(194, 65, 12, 0.1), transparent 36%);
  animation: atmosphereDrift 14s ease-in-out infinite alternate;
}

@keyframes atmosphereDrift {
  from { transform: scale(1) translate3d(0, 0, 0); }
  to { transform: scale(1.06) translate3d(-1.5%, 1.5%, 0); }
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.hero-single {
  position: relative;
  z-index: 1;
  max-width: 42rem;
  margin-inline: auto;
  text-align: center;
}

.hero-single .hero-cta {
  justify-content: center;
}

.hero-single p {
  margin-inline: auto;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(2rem, 5.2vw, 3.15rem);
  line-height: 1.18;
  margin: 0 0 0.3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  animation: riseIn 0.7s var(--ease) both;
}

.hero p {
  color: var(--muted);
  margin: 0 auto 1.2rem;
  max-width: 32rem;
  font-size: 1.05rem;
  animation: riseIn 0.7s var(--ease) 0.08s both;
}

.hero-cta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  animation: riseIn 0.7s var(--ease) 0.16s both;
  margin-top: 0;
}

.hero-brand-wrap {
  animation: riseIn 0.7s var(--ease) both;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-atmosphere,
  .hero h1,
  .hero p,
  .hero-cta,
  .hero-brand-wrap,
  .public-hero,
  .public-links > *,
  .how-step {
    animation: none !important;
  }
}

.how-section {
  position: relative;
  padding: 1rem 0 5rem;
}

.how-head {
  max-width: 36rem;
  margin: 0 auto 2.25rem;
  text-align: center;
}

.how-head h2 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.55rem, 3.5vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
}

.how-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.how-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  counter-reset: none;
}

@media (min-width: 900px) {
  .how-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.15rem;
    align-items: stretch;
  }
}

.how-step {
  position: relative;
  display: grid;
  gap: 0.85rem;
  padding: 1.35rem 1.2rem 1.4rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(215, 224, 232, 0.9);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
  backdrop-filter: blur(8px);
  animation: riseIn 0.65s var(--ease) both;
}

.how-step:nth-child(1) { animation-delay: 0.05s; }
.how-step:nth-child(2) { animation-delay: 0.12s; }
.how-step:nth-child(3) { animation-delay: 0.18s; }
.how-step:nth-child(4) { animation-delay: 0.24s; }

.how-num {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.05rem;
  color: #fff;
  background: linear-gradient(145deg, #3b82f6, #2563eb);
  box-shadow: 0 8px 18px rgba(29, 78, 216, 0.22);
}

.how-body h3 {
  margin: 0 0 0.4rem;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.how-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.how-cta {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}

@media (min-width: 900px) {
  .how-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 2.35rem;
    inset-inline-end: -0.7rem;
    width: 1.4rem;
    height: 2px;
    background: linear-gradient(90deg, #93c5fd, transparent);
    z-index: 1;
  }
}

.pricing-section {
  position: relative;
  padding: 1rem 0 5.75rem;
  overflow: hidden;
}

.pricing-glow {
  position: absolute;
  inset: 8% 10% auto;
  height: 18rem;
  background:
    radial-gradient(circle at 30% 40%, rgba(59, 130, 246, 0.22), transparent 55%),
    radial-gradient(circle at 75% 30%, rgba(37, 99, 235, 0.16), transparent 50%);
  filter: blur(8px);
  pointer-events: none;
  z-index: 0;
  animation: pricingGlow 7s ease-in-out infinite alternate;
}

@keyframes pricingGlow {
  from { transform: translateY(0) scale(1); opacity: 0.85; }
  to { transform: translateY(12px) scale(1.05); opacity: 1; }
}

.pricing-section > .container {
  position: relative;
  z-index: 1;
}

.pricing-head {
  max-width: 38rem;
  margin: 0 auto 1.5rem;
  text-align: center;
}

.pricing-head h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.7rem, 4vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
}

.pricing-head .billing-toggle-wrap {
  margin: 0 0 0.85rem;
}

.pricing-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.billing-toggle-wrap {
  display: flex;
  justify-content: center;
  margin: 0 0 1.75rem;
}

.billing-toggle {
  display: inline-flex;
  gap: 0.25rem;
  padding: 0.28rem;
  margin: 0;
  border: 1px solid rgba(147, 197, 253, 0.55);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 28px rgba(29, 78, 216, 0.08);
  backdrop-filter: blur(10px);
}

.billing-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 700;
  padding: 0.62rem 1.15rem;
  border-radius: 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: background 0.25s var(--ease), color 0.25s ease, transform 0.25s var(--ease);
}

.billing-btn:hover {
  color: var(--primary-dark);
}

.billing-btn.is-active {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #fff;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.28);
}

.billing-save {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.18rem 0.5rem;
  border-radius: 8px;
  background: rgba(234, 88, 12, 0.14);
  color: #c2410c;
}

.billing-btn.is-active .billing-save {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.pricing-board {
  width: min(100%, 920px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 0;
  border: 1px solid rgba(191, 219, 254, 0.9);
  border-radius: 28px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.78);
  box-shadow:
    0 28px 60px rgba(15, 23, 42, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(14px);
  animation: pricingRise 0.7s var(--ease) both;
}

@keyframes pricingRise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.pricing-offer {
  padding: 2rem 1.75rem;
  background:
    linear-gradient(160deg, rgba(29, 78, 216, 0.96) 0%, rgba(30, 64, 175, 0.98) 55%, rgba(30, 58, 138, 1) 100%);
  color: #fff;
  position: relative;
}

.pricing-offer::after {
  content: "";
  position: absolute;
  inset: auto -20% -35% 35%;
  height: 14rem;
  background: radial-gradient(circle, rgba(147, 197, 253, 0.35), transparent 70%);
  pointer-events: none;
}

.pricing-kicker {
  margin: 0 0 1rem;
  display: inline-block;
  font-weight: 800;
  font-size: 0.84rem;
  letter-spacing: 0.02em;
  padding: 0.35rem 0.75rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.pricing-amount {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  position: relative;
  z-index: 1;
}

.pricing-amount strong {
  font-size: clamp(3rem, 8vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  color: #fff;
  line-height: 0.95;
  display: inline-block;
  transition: transform 0.3s var(--ease), opacity 0.3s ease;
}

.pricing-currency {
  font-weight: 800;
  color: rgba(219, 234, 254, 0.92);
  font-size: 1.15rem;
}

.pricing-period {
  margin: 0.55rem 0 1.5rem;
  color: rgba(191, 219, 254, 0.95);
  font-size: 0.98rem;
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.pricing-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  position: relative;
  z-index: 1;
}

.pricing-features li {
  position: relative;
  padding-inline-start: 1.7rem;
  color: rgba(239, 246, 255, 0.96);
  font-weight: 600;
  font-size: 0.96rem;
  line-height: 1.45;
}

.pricing-features li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.35rem;
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 6px;
  background:
    linear-gradient(145deg, #60a5fa, #3b82f6) padding-box,
    linear-gradient(145deg, rgba(255, 255, 255, 0.55), transparent) border-box;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.35);
}

.pricing-pay {
  padding: 1.85rem 1.55rem 1.55rem;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(180deg, #f8fbff 0%, #ffffff 42%);
}

.pricing-pay-head {
  margin-bottom: 1rem;
}

.pricing-pay-head h3 {
  margin: 0 0 0.25rem;
  font-size: 1.08rem;
  color: var(--text);
  font-weight: 800;
}

.pricing-pay-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.pay-methods {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 1.15rem;
}

.pay-method {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  width: 100%;
  text-align: start;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #fff;
  padding: 0.85rem 0.95rem;
  color: var(--text);
  font: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.25s var(--ease), box-shadow 0.25s ease, background 0.2s ease;
}

.pay-method:hover {
  border-color: #93c5fd;
  color: var(--text);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.1);
  background: #f8fbff;
}

.pay-method i {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--primary-soft);
  color: var(--primary-dark);
  flex-shrink: 0;
}

.pay-instapay i {
  background: #ede9fe;
  color: #5b21b6;
}

.pay-vodafone i {
  background: #fee2e2;
  color: #b91c1c;
}

.pay-orange i {
  background: #ffedd5;
  color: #c2410c;
}

.pay-etisalat i {
  background: #dcfce7;
  color: #15803d;
}

.pay-method span {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
  flex: 1;
}

.pay-method strong {
  font-size: 0.96rem;
}

.pay-method small {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  direction: ltr;
  text-align: start;
}

.pay-method em {
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 0.28rem 0.55rem;
  border-radius: 9px;
  flex-shrink: 0;
}

.pricing-cta {
  margin-top: auto;
  padding-top: 0.35rem;
}

.pricing-note {
  margin: 0 0 0.9rem;
  color: var(--muted);
  font-size: 0.88rem;
  text-align: start;
  line-height: 1.6;
}

.btn-whatsapp {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  box-shadow: 0 14px 28px rgba(22, 163, 74, 0.28);
  gap: 0.55rem;
}

.btn-whatsapp:hover {
  box-shadow: 0 18px 34px rgba(22, 163, 74, 0.34);
}

.btn-whatsapp i {
  font-size: 1.15rem;
}

@media (max-width: 820px) {
  .pricing-board {
    grid-template-columns: 1fr;
    width: min(100%, 460px);
  }

  .pricing-offer {
    padding: 1.65rem 1.35rem 1.4rem;
  }

  .pricing-pay {
    padding: 1.4rem 1.2rem 1.25rem;
  }

  .pricing-amount strong {
    font-size: clamp(2.2rem, 12vw, 3rem);
  }

  .billing-toggle {
    width: 100%;
    justify-content: stretch;
  }

  .billing-btn {
    flex: 1;
    justify-content: center;
  }
}

.preview-card {
  background: linear-gradient(180deg, #eff6ff 0%, #ffffff 45%);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 1.75rem 1.25rem;
  max-width: 360px;
  margin-inline: auto;
  text-align: center;
}

.preview-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 0.9rem;
  border: 3px solid #fff;
  box-shadow: var(--shadow);
  background: #e5e7eb;
}

.preview-name {
  font-weight: 700;
  font-size: 1.15rem;
  margin: 0;
}

.preview-user {
  color: var(--muted);
  margin: 0.15rem 0 0.5rem;
  font-size: 0.92rem;
}

.preview-bio {
  color: var(--muted);
  margin: 0 0 1rem;
  font-size: 0.92rem;
}

.preview-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  margin-bottom: 0.65rem;
  color: var(--text);
  font-weight: 600;
}

.preview-link i {
  width: 1.25rem;
  text-align: center;
}

.auth-wrap {
  min-height: calc(100vh - 64px);
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
}

.auth-card {
  width: min(100%, 420px);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(215, 224, 232, 0.95);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 1.85rem;
  backdrop-filter: blur(10px);
}

.auth-card h1 {
  margin: 0 0 0.4rem;
  font-size: 1.4rem;
}

.auth-card .sub {
  color: var(--muted);
  margin: 0 0 1.25rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
  font-size: 0.92rem;
}

.form-control {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.78rem 0.9rem;
  font: inherit;
  background: #fff;
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: #60a5fa;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.form-hint {
  display: block;
  margin-top: 0.3rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.alert {
  border-radius: 10px;
  padding: 0.8rem 0.95rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
}

.alert-error {
  background: #fef2f2;
  border-color: #fecaca;
  color: var(--danger);
}

.alert-success {
  background: #ecfdf5;
  border-color: #bbf7d0;
  color: var(--success);
}

.alert ul {
  margin: 0;
  padding-inline-start: 1.1rem;
}

.auth-footer {
  margin-top: 1rem;
  text-align: center;
  color: var(--muted);
}

.site-footer {
  margin-top: auto;
  padding: 1.75rem 0 2rem;
  color: var(--muted);
  text-align: center;
  font-size: 0.9rem;
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.72);
}

.site-footer .footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: center;
  justify-items: center;
}

.footer-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.footer-links-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.footer-links-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-social-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.footer-social-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

@media (max-width: 768px) {
  .site-footer .footer-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-links-wrapper,
  .footer-social-wrapper {
    align-items: center;
  }
}

/* Page content styles for privacy/terms pages */
.page-content {
  padding: 2rem 0 4rem;
}

.content-block {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.75rem 2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(8px);
}

.content-block h2 {
  margin: 0 0 1rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}

.content-block p {
  margin: 0 0 0.85rem;
  color: var(--muted);
  line-height: 1.75;
  font-size: 0.98rem;
}

.content-block ul {
  margin: 0 0 0.85rem;
  padding-inline-start: 1.5rem;
  color: var(--muted);
  line-height: 1.75;
}

.content-block li {
  margin-bottom: 0.5rem;
}

.content-block strong {
  color: var(--text);
  font-weight: 700;
}

.last-updated {
  text-align: center;
  color: #94a3b8;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 1rem;
}

@media (max-width: 768px) {
  .content-block {
    padding: 1.25rem 1.5rem;
  }

  .content-block h2 {
    font-size: 1.15rem;
  }

  .content-block p {
    font-size: 0.92rem;
  }
}

.site-footer .footer-tagline {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer .footer-copy {
  margin: 0.2rem 0 0;
  color: #94a3b8;
  font-size: 0.84rem;
  font-weight: 600;
}

.site-footer-light {
  background: transparent;
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  color: #64748b;
}

.site-footer-light .footer-tagline,
.site-footer-light .footer-copy {
  color: #64748b;
}

.footer-whatsapp {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  box-shadow: 0 8px 24px rgba(22, 163, 74, 0.35);
  z-index: 100;
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease;
  text-decoration: none;
}

.footer-whatsapp-label {
  position: absolute;
  bottom: calc(100% + 0.5rem);
  right: 0;
  background: rgba(15, 23, 42, 0.92);
  color: #fff;
  padding: 0.5rem 0.85rem;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  pointer-events: none;
}

.footer-whatsapp:hover .footer-whatsapp-label {
  opacity: 1;
  visibility: visible;
}

.footer-whatsapp:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 32px rgba(22, 163, 74, 0.45);
  color: #fff;
}

.footer-whatsapp:active {
  transform: translateY(-1px) scale(1.02);
}

body > main,
.dash-layout {
  flex: 1;
}

.dash-layout {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.dash-layout > .dash-main {
  flex: 1;
}

.error-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem 1rem;
}

.error-page h1 {
  font-size: 3rem;
  margin: 0;
  color: var(--primary);
}

.error-page p {
  color: var(--muted);
}

/* Shared modals (public profile + dashboard) */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  display: none;
  place-items: center;
  padding: 1rem;
  z-index: 50;
}

.modal-backdrop.open {
  display: grid;
}

.modal {
  width: min(100%, 460px);
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  text-align: right;
}

.modal h3 {
  margin: 0 0 1rem;
}

.modal-actions {
  display: flex;
  gap: 0.6rem;
  justify-content: flex-end;
  margin-top: 1rem;
}

.share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}
