/* ===== LANDING PAGE STYLES — RTL MEDICAL SAAS ===== */

:root {
  --brand: #0891B2;
  --brand-dark: #0E7490;
  --brand-light: #ECFEFF;
  --brand-50: rgba(8,145,178,0.06);
  --emerald: #059669;
  --emerald-light: #D1FAE5;
  --violet: #7C3AED;
  --violet-light: #EDE9FE;
  --amber: #D97706;
  --amber-light: #FEF3C7;
  --rose: #E11D48;
  --rose-light: #FFE4E6;
  --green-wa: #25D366;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;
  --white: #FFFFFF;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.10);
  --shadow-xl: 0 16px 48px rgba(0,0,0,0.12);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Tajawal', sans-serif;
  color: var(--gray-800);
  margin: 0;
  padding: 0;
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ===== NAVBAR ===== */

.landing-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 14px 0;
  background: var(--white);
  border-bottom: 1px solid rgba(15,23,42,0.06);
  transition: box-shadow .3s, padding .3s;
}

.landing-nav--scrolled {
  box-shadow: var(--shadow-sm);
  padding: 10px 0;
}

.landing-nav--solid {
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.landing-nav__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
}

.landing-nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--gray-900);
  transition: color .2s ease;
}

.landing-nav__brand:hover {
  color: var(--brand);
}

.landing-nav__brand span {
  color: inherit;
}

.landing-nav__logo {
  height: 48px;
  width: auto;
  display: block;
}

.landing-nav__links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: right;
}

.landing-nav__links--stacked {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--gray-200);
}

.landing-nav__links--desktop {
  display: none;
}

.landing-nav__link {
  color: var(--gray-700);
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  transition: color .2s ease;
}

.landing-nav__link:hover {
  color: var(--brand);
}

.landing-nav__icon {
  width: 48px;
  height: 48px;
}

.landing-nav__actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.landing-nav__toggle {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(8,145,178,0.4);
  background: rgba(8,145,178,0.08);
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  color: var(--brand);
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.landing-nav__toggle:hover {
  background: rgba(8,145,178,0.12);
  transform: translateY(-1px);
}

.landing-nav__toggle-line {
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transition: transform .2s ease, opacity .2s ease;
}

.landing-nav__toggle.is-open {
  background: rgba(255,255,255,0.18);
}

.landing-nav__toggle.is-open .landing-nav__toggle-line:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}

.landing-nav__toggle.is-open .landing-nav__toggle-line:nth-child(2) {
  opacity: 0;
}

.landing-nav__toggle.is-open .landing-nav__toggle-line:nth-child(3) {
  transform: translateY(-4px) rotate(-45deg);
}


.landing-nav__menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  display: none;
  padding: 24px 24px 32px;
  background: var(--white);
  box-shadow: 0 16px 40px rgba(15,23,42,0.14);
  border-radius: 0 0 var(--radius) var(--radius);
}

.landing-nav__menu.is-open {
  display: block;
}

.landing-nav__menu-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.landing-nav__login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid rgba(8,145,178,0.35);
  color: var(--brand);
  background: rgba(8,145,178,0.08);
  text-decoration: none;
  font-size: 0.95rem;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.landing-nav__login:hover {
  background: rgba(8,145,178,0.12);
  border-color: rgba(8,145,178,0.55);
}

.landing-nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 700;
  background: var(--brand);
  color: var(--white) !important;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  font-size: 0.95rem;
  transition: transform .2s ease, box-shadow .2s ease;
}

.landing-nav__cta:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  color: var(--white) !important;
}

.landing-nav--scrolled .landing-nav__toggle {
  border-color: var(--gray-300);
  background: rgba(241,245,249,0.8);
  color: var(--gray-700);
}

.landing-nav--scrolled .landing-nav__toggle:hover {
  background: var(--gray-100);
}


.landing-nav--scrolled .landing-nav__link {
  color: var(--gray-700);
}

.landing-nav--scrolled .landing-nav__link:hover {
  color: var(--brand-dark);
}

.landing-nav--scrolled .landing-nav__login {
  border-color: rgba(15,118,110,0.25);
  color: var(--emerald);
  background: rgba(209,250,229,0.35);
}

.landing-nav--scrolled .landing-nav__login:hover {
  background: rgba(209,250,229,0.6);
}

.landing-nav__login--inline {
  display: none;
  background: rgba(8,145,178,0.06);
}

@media (min-width: 992px) {
  .landing-nav {
    padding: 18px 0;
  }

  .landing-nav__bar {
    gap: 24px;
  }

  .landing-nav__links--desktop {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 28px;
    margin-inline-start: auto;
    margin-inline-end: auto;
  }

  .landing-nav__links--desktop .landing-nav__link {
    color: var(--gray-600);
    font-size: 1rem;
  }

  .landing-nav__links--desktop .landing-nav__link:hover {
    color: var(--brand);
  }

  .landing-nav__toggle {
    display: none;
  }

  .landing-nav__menu {
    display: none !important;
  }

  .landing-nav__menu.is-open {
    display: none !important;
  }

  .landing-nav__actions {
    gap: 12px;
  }

  .landing-nav__login--inline {
    display: inline-flex;
  }
}

/* ===== HERO ===== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  background: linear-gradient(135deg, #0E7490 0%, #0891B2 40%, #06B6D4 100%);
  overflow: hidden;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
  background: var(--white);
}

.hero-shape--1 { width: 600px; height: 600px; top: -200px; left: -100px; }
.hero-shape--2 { width: 400px; height: 400px; bottom: -100px; right: -80px; }
.hero-shape--3 { width: 200px; height: 200px; top: 40%; left: 50%; }

.hero-content { position: relative; z-index: 2; }

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 24px;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.2);
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 20px;
}

.hero-title--highlight {
  position: relative;
  display: inline-block;
}

.hero-title--highlight::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 12px;
  background: rgba(255,255,255,0.2);
  border-radius: 4px;
  z-index: -1;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.8;
  max-width: 540px;
  margin-bottom: 32px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--brand);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 14px 32px;
  border-radius: 50px;
  border: none;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
  box-shadow: var(--shadow-md);
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--brand-dark);
}

.btn-hero-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 14px 32px;
  border-radius: 50px;
  border: 2px solid rgba(255,255,255,0.4);
  text-decoration: none;
  transition: background .2s, border-color .2s;
}

.btn-hero-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
  color: var(--white);
}

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

.hero-trust__avatars {
  display: flex;
}

.hero-trust__dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 0.8rem;
  border: 2px solid rgba(255,255,255,0.5);
  margin-inline-start: -8px;
}

.hero-trust__dot:first-child { margin-inline-start: 0; }

.hero-trust__text {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  font-weight: 500;
}

/* Hero Visual (Desktop illustration) */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
}

.hero-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
}

.hero-card--main {
  padding: 28px;
  width: 320px;
}

.hero-card__header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.hero-card__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--brand-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card__name {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--gray-900);
}

.hero-card__spec {
  font-size: 0.85rem;
  color: var(--gray-500);
}

.hero-card__body {
  display: flex;
  gap: 24px;
}

.hero-card__stat {
  display: flex;
  flex-direction: column;
}

.hero-card__stat-num {
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--brand);
}

.hero-card__stat-label {
  font-size: 0.78rem;
  color: var(--gray-500);
}

.hero-card--float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-700);
  animation: float 3s ease-in-out infinite;
}

.hero-card--booking {
  top: 20px;
  right: 10px;
}

.hero-card--whatsapp {
  bottom: 40px;
  left: 10px;
  animation-delay: 1.5s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ===== SECTIONS ===== */
.section {
  padding: 90px 0;
  position: relative;
}

.section--light { background: var(--gray-50); }
.section--white { background: var(--white); }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-badge {
  display: inline-block;
  background: var(--brand-50);
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 12px;
  line-height: 1.35;
}

.text-brand { color: var(--brand); }

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ===== STEPS ===== */
.step-card {
  text-align: center;
  padding: 36px 28px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  position: relative;
  transition: transform .25s, box-shadow .25s;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.step-card__number {
  position: absolute;
  top: -16px;
  right: 50%;
  transform: translateX(50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--white);
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

[dir="rtl"] .step-card__number {
  right: 50%;
  transform: translateX(50%);
}

.step-card__icon {
  margin-bottom: 18px;
}

.step-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 10px;
}

.step-card__desc {
  font-size: 0.92rem;
  color: var(--gray-500);
  margin: 0;
  line-height: 1.7;
}

/* ===== FEATURES ===== */
.feature-card {
  padding: 28px 24px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  transition: transform .25s, box-shadow .25s;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.feature-card__icon--cyan    { background: var(--brand-light); color: var(--brand); }
.feature-card__icon--emerald { background: var(--emerald-light); color: var(--emerald); }
.feature-card__icon--violet  { background: var(--violet-light); color: var(--violet); }
.feature-card__icon--green   { background: #DCFCE7; color: var(--green-wa); }
.feature-card__icon--amber   { background: var(--amber-light); color: var(--amber); }
.feature-card__icon--rose    { background: var(--rose-light); color: var(--rose); }

.feature-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.feature-card__desc {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin: 0;
  line-height: 1.7;
}

/* ===== WHY CARDS ===== */
.why-card {
  text-align: center;
  padding: 32px 20px;
}

.why-card__icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--brand-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.why-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.why-card__desc {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin: 0;
  line-height: 1.7;
}

/* ===== PREVIEW MOCKUP ===== */
.preview-mockup {
  max-width: 680px;
  margin: 0 auto;
}

.preview-browser {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-200);
}

.preview-browser__bar {
  background: var(--gray-100);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.preview-browser__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.preview-browser__dot--red { background: #EF4444; }
.preview-browser__dot--yellow { background: #F59E0B; }
.preview-browser__dot--green { background: #10B981; }

.preview-browser__url {
  background: var(--white);
  padding: 4px 16px;
  border-radius: 6px;
  font-size: 0.82rem;
  color: var(--gray-500);
  margin-inline-start: 12px;
  flex: 1;
  max-width: 280px;
}

.preview-browser__body {
  background: var(--white);
  padding: 0;
}

.preview-site__hero {
  background: linear-gradient(135deg, #0E7490 0%, #06B6D4 100%);
  padding: 40px 32px 32px;
  text-align: center;
}

.preview-site__avatar-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.preview-site__name {
  color: var(--white);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.preview-site__spec {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  margin: 0;
}

.preview-site__sections {
  padding: 24px 32px;
}

.preview-site__section {
  margin-bottom: 20px;
}

.preview-site__section:last-child { margin-bottom: 0; }

.preview-site__label {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--brand);
  margin-bottom: 8px;
  display: block;
}

.preview-site__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.preview-site__tags span {
  background: var(--brand-light);
  color: var(--brand-dark);
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
}

.preview-site__section p {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin: 0;
}

.preview-site__btn-mock {
  display: inline-block;
  background: var(--brand);
  color: var(--white);
  padding: 10px 28px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, #0E7490 0%, #0891B2 40%, #06B6D4 100%);
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

.cta-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cta-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
  background: var(--white);
}

.cta-shape--1 { width: 400px; height: 400px; top: -120px; right: -60px; }
.cta-shape--2 { width: 300px; height: 300px; bottom: -100px; left: -40px; }

.cta-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

.cta-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.8;
  margin-bottom: 32px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--brand);
  font-weight: 700;
  font-size: 1.1rem;
  padding: 16px 36px;
  border-radius: 50px;
  border: none;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
  box-shadow: var(--shadow-md);
}

.btn-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--brand-dark);
}

.btn-cta-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 16px 36px;
  border-radius: 50px;
  border: 2px solid rgba(255,255,255,0.4);
  text-decoration: none;
  transition: background .2s, border-color .2s;
}

.btn-cta-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
  color: var(--white);
}

/* ===== FOOTER ===== */
.landing-footer {
  background: var(--brand-dark);
  padding: 28px 0;
}

.landing-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.landing-footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 700;
  font-size: 1.05rem;
}

.landing-footer__brand .landing-nav__icon {
  width: 28px;
  height: 28px;
}

.landing-footer__links,
.landing-footer__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.landing-footer__link,
.landing-footer__action {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}

.landing-footer__link:hover,
.landing-footer__action:hover {
  color: #fff;
}

.landing-footer__action {
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 999px;
  padding: 8px 18px;
}

.landing-footer__action--primary {
  background: var(--white);
  color: var(--brand-dark);
  border-color: transparent;
}

.landing-footer__action--primary:hover {
  background: rgba(255,255,255,0.85);
  color: var(--brand-dark);
}

.landing-footer__copy {
  color: white;
  font-size: 0.85rem;
  margin: 0;
}

@media (max-width: 767.98px) {
  .landing-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .landing-footer__links,
  .landing-footer__actions {
    width: 100%;
    gap: 10px;
  }

  .landing-footer__links {
    flex-direction: column;
    align-items: flex-start;
  }

  .landing-footer__actions {
    flex-direction: row;
    justify-content: flex-start;
  }
}

.landing-footer__section-subtitle {
  color: var(--gray-600);
  font-size: 1rem;
  margin: 0;
}

/* ===== LEGAL PAGES ===== */
.legal-page {
  background: var(--gray-50);
  padding: 80px 0 120px;
}

.legal-hero {
  padding: 60px 0 30px;
}

.legal-badge {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 999px;
  background: rgba(8,145,178,0.12);
  color: var(--brand-dark);
  font-weight: 600;
  font-size: 0.9rem;
}

.legal-title {
  margin-top: 16px;
  margin-bottom: 12px;
  font-size: 2rem;
  font-weight: 800;
  color: var(--gray-900);
}

.legal-intro {
  max-width: 760px;
  font-size: 1.05rem;
  color: var(--gray-600);
  line-height: 1.9;
}

.legal-section {
  padding: 48px 0;
}

.legal-section__title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--gray-800);
  margin-bottom: 16px;
}

.legal-text {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.9;
  margin-bottom: 16px;
}

.legal-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.legal-list li {
  position: relative;
  padding-inline-start: 26px;
  color: var(--gray-700);
  line-height: 1.9;
}

.legal-list li::before {
  content: '\2022';
  position: absolute;
  inset-inline-start: 0;
  color: var(--brand);
  font-size: 1.4rem;
  line-height: 1;
  top: 4px;
}

.legal-list--ordered {
  counter-reset: legal-counter;
}

.legal-list--ordered li {
  counter-increment: legal-counter;
}

.legal-list--ordered li::before {
  content: counter(legal-counter) '.';
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand-dark);
  top: 2px;
}

.legal-link {
  color: var(--brand);
  text-decoration: none;
  font-weight: 600;
}

.legal-link:hover {
  text-decoration: underline;
}

.legal-notice {
  border-radius: var(--radius);
  padding: 18px 22px;
  background: rgba(5,150,105,0.08);
  border: 1px solid rgba(5,150,105,0.35);
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: 24px;
}

/* ===== SIGNUP LEGAL ===== */
.signup-legal-field {
  margin-bottom: 24px;
}

.signup-legal-field .form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 0;
}

.signup-checkbox {
  width: 20px;
  height: 20px;
  margin-top: 4px;
  border-radius: 4px;
  border: 1.5px solid var(--gray-300);
}

.signup-checkbox:checked {
  background-color: var(--brand);
  border-color: var(--brand);
}

.signup-checkbox:focus {
  box-shadow: 0 0 0 3px rgba(8,145,178,0.16);
  border-color: var(--brand);
}

.signup-legal-label {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--gray-600);
}

.signup-legal-label .legal-link {
  font-weight: 700;
}

.signup-legal-hint {
  font-size: 0.82rem;
  color: var(--gray-500);
  margin-top: 10px;
  line-height: 1.6;
}

.signup-legal-note {
  margin-top: 18px;
  font-size: 0.85rem;
  color: var(--gray-500);
  text-align: center;
}

.signup-legal-note a {
  color: var(--brand);
  font-weight: 600;
  text-decoration: none;
}

.signup-legal-note a:hover {
  text-decoration: underline;
}

@media (max-width: 767.98px) {
  .legal-title {
    font-size: 1.7rem;
  }

  .legal-section {
    padding: 36px 0;
  }

  .legal-section__title {
    font-size: 1.2rem;
  }
}

/* ===== PRICING PAGE ===== */

.pricing-page {
  background: var(--gray-50);
  color: var(--gray-800);
  padding-top: 80px;
}

.pricing-plans {
  padding: 90px 0 70px;
  background: var(--gray-50);
}

.pricing-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 32px 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 28px;
  transition: transform .2s ease, box-shadow .2s ease;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.pricing-card__header {
  text-align: center;
}

.pricing-card__title {
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--gray-900);
  margin-bottom: 10px;
}

.pricing-card__price {
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--brand);
  margin: 0;
}

.pricing-card__price span {
  font-size: 0.9rem;
  color: var(--gray-500);
  font-weight: 500;
}

.pricing-card__features,
.pricing-card__limits ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--gray-600);
}

.pricing-card__features li::before,
.pricing-card__limits ul li::before {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-inline-start: 6px;
  background: var(--brand);
  opacity: .3;
}

.pricing-card__limits {
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  padding: 16px;
  color: var(--gray-600);
}

.pricing-card__limits span {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gray-700);
  margin-bottom: 10px;
}

.pricing-card__limits--hidden {
  display: none;
}

.pricing-card__btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  background: var(--brand);
  color: var(--white);
  text-decoration: none;
  transition: background .2s ease, box-shadow .2s ease;
}

.pricing-card__btn:hover {
  background: var(--brand-dark);
  box-shadow: var(--shadow-md);
}

.pricing-card--basic .pricing-card__btn {
  background: var(--emerald);
}

.pricing-card--basic .pricing-card__btn:hover {
  background: #047857;
}

.pricing-card--pro {
  border: 2px solid rgba(8,145,178,0.25);
  box-shadow: 0 24px 48px rgba(8,145,178,0.15);
  position: relative;
  padding: 40px 32px;
  overflow: hidden;
}

.pricing-card--pro::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(8,145,178,0.12), rgba(6,182,212,0.05));
  z-index: -1;
}

.pricing-card__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--emerald);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 999px;
}

.pricing-card__btn--pro {
  background: var(--emerald);
}

.pricing-card__btn--pro:hover {
  background: #047857;
}

.pricing-payment-info {
  padding: 60px 0 40px;
  background: var(--gray-50);
}

.payment-card {
  max-width: 520px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 20px 60px rgba(15,23,42,0.12);
  border: 1px solid rgba(8,145,178,0.12);
}

.payment-card__header {
  width: 100%;
  border: none;
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  color: #fff;
  padding: 18px 22px;
  font-size: 1.05rem;
  font-weight: 700;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
}

.payment-card__chevron {
  width: 14px;
  height: 14px;
  border-inline-end: 2px solid rgba(255,255,255,0.85);
  border-top: 2px solid rgba(255,255,255,0.85);
  transform: rotate(-45deg);
  transition: transform .2s ease;
}

.payment-card__header[aria-expanded="false"] .payment-card__chevron {
  transform: rotate(135deg);
}

.payment-card__body {
  padding: 24px;
}

.payment-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  font-size: 0.95rem;
}

.payment-row .label {
  color: var(--gray-600);
  font-weight: 600;
}

.payment-row .value {
  font-weight: 700;
  color: var(--gray-900);
}

.payment-row.highlight {
  background: var(--gray-50);
  border: 1px dashed rgba(13,110,253,0.4);
  padding: 14px;
  border-radius: 14px;
}

.payment-row .phone {
  color: #0d6efd;
  font-size: 1.15rem;
  letter-spacing: 1px;
}

.payment-note {
  margin-top: 16px;
  padding: 14px;
  border-radius: 12px;
  background: #fff3cd;
  color: #856404;
  font-size: 0.92rem;
}

.payment-support {
  margin-top: 18px;
  font-size: 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.payment-support a {
  color: var(--green-wa);
  font-weight: 700;
  text-decoration: none;
}

.payment-support a:hover {
  text-decoration: underline;
}

.modal-payment-info {
  background: var(--gray-50);
  border: 1px solid rgba(8,145,178,0.2);
  border-radius: 14px;
  padding: 16px 18px;
  line-height: 1.7;
}

.modal-payment-info__title {
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 10px;
}

.modal-payment-info__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.modal-payment-info__row span {
  color: var(--gray-600);
}

.modal-payment-info__row strong {
  color: var(--gray-900);
  font-weight: 700;
}

.modal-payment-info__wallet {
  font-size: 1.05rem;
  letter-spacing: 0.5px;
}

.modal-payment-info__note {
  margin: 0;
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--gray-600);
}

.pricing-comparison {
  padding: 90px 0;
  background: var(--white);
}

.pricing-comparison__table {
  overflow-x: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  background: var(--white);
}

.pricing-comparison__table table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.pricing-comparison__table th,
.pricing-comparison__table td {
  padding: 16px;
  text-align: center;
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.95rem;
}

.pricing-comparison__table th:first-child,
.pricing-comparison__table td:first-child {
  text-align: right;
  font-weight: 600;
}

.pricing-comparison__table thead {
  background: var(--gray-100);
  color: var(--gray-700);
}

.is-yes::before,
.is-no::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  position: relative;
  top: 2px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
}

.is-yes::before {
  background-color: rgba(5,150,105,0.15);
  background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="%23059669" stroke-width="2"%3E%3Cpath stroke-linecap="round" stroke-linejoin="round" d="M5 13l4 4L19 7"/%3E%3C/svg%3E');
}

.is-no::before {
  background-color: rgba(225,29,72,0.1);
  background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="%23E11D48" stroke-width="2"%3E%3Cpath stroke-linecap="round" stroke-linejoin="round" d="M6 18L18 6M6 6l12 12"/%3E%3C/svg%3E');
}

.pricing-faq {
  padding: 90px 0;
  background: var(--gray-50);
}

.pricing-faq .accordion-item {
  border: none;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  margin-bottom: 16px;
  overflow: hidden;
}

.pricing-faq .accordion-button {
  font-weight: 600;
  color: var(--gray-800);
}

.pricing-faq .accordion-button:not(.collapsed) {
  background: var(--brand-50);
  color: var(--brand);
  box-shadow: none;
}

.pricing-faq .accordion-body {
  color: var(--gray-600);
  line-height: 1.8;
}

.pricing-cta {
  padding: 100px 0;
  background: linear-gradient(140deg, rgba(8,145,178,0.12), rgba(14,116,144,0.24));
  text-align: center;
}

.pricing-cta__title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 16px;
}

.pricing-cta__subtitle {
  font-size: 1.05rem;
  color: var(--gray-600);
  margin-bottom: 32px;
}

.pricing-cta__actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.pricing-cta__actions .btn {
  min-width: 180px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  .pricing-card--pro {
    padding: 32px 28px;
  }

  .pricing-card__badge {
    right: 16px;
    left: auto;
  }
}

@media (max-width: 767px) {
  .pricing-page {
    padding-top: 70px;
  }

  .pricing-hero {
    padding: 100px 0 70px;
    text-align: center;
  }

  .pricing-hero__subtitle {
    font-size: 1rem;
  }

  .pricing-card {
    padding: 28px 24px;
  }

  .pricing-card__features,
  .pricing-card__limits ul {
    font-size: 0.95rem;
  }
}

@media (max-width: 575px) {
  .pricing-comparison__table table {
    min-width: 520px;
  }

  .pricing-cta__actions {
    flex-direction: column;
  }

  .pricing-cta__actions .btn {
    width: 100%;
  }
}

 

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  .hero-section {
    padding: 100px 0 60px;
    min-height: auto;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .section {
    padding: 60px 0;
  }

  .preview-mockup {
    max-width: 100%;
  }
}

@media (max-width: 575px) {
  .hero-cta {
    flex-direction: column;
  }

  .btn-hero-primary,
  .btn-hero-outline {
    width: 100%;
    justify-content: center;
  }

  .landing-nav__actions .btn {
    font-size: 0.82rem;
    padding: 6px 14px;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn-cta-primary,
  .btn-cta-outline {
    width: 100%;
    justify-content: center;
  }

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

  .step-card {
    padding: 28px 20px;
  }
}

/* ===== FOOTER (SaaS) ===== */
.landing-footer {
  background: linear-gradient(180deg, rgba(15,23,42,.03), #fff);
  border-top: 1px solid rgba(148,163,184,.25);
  padding-block: 2rem;
}

.landing-footer__inner {
  display: block;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .9fr .9fr;
  gap: 1.5rem;
  align-items: start;
}

@media (max-width: 991px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand {
  display: flex;
  gap: .75rem;
  align-items: center;
  margin-bottom: .5rem;
}

.footer-brand .logo { height: 36px; }

.footer-desc { color: #475569; margin: 0; }

.footer-title {
  font-weight: 800;
  color: #0f172a;
  font-size: 1rem;
  margin: 0 0 .5rem;
}

.footer-links { display: grid; gap: .5rem; }
.footer-links a { color: #1f2937; text-decoration: none; }
.footer-links a:hover { color: var(--brand, #1e3a8a); }

.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .5rem;
}

.footer-copy {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(148,163,184,.25);
  color: #64748b;
  font-weight: 600;
}
