/* css/home.css — Marketing home screen
   Scoped under [data-screen="home"] so nothing leaks into SPA booking screens.
   Variable aliases map landing.html names to css/variables.css tokens. */

[data-screen='home'] {
  /* Aliases only for names that DON'T exist in variables.css.
     DO NOT re-declare --blue/--gray/--border here — circular references
     make them invalid. They cascade from :root automatically. */
  --blue-light: var(--blue-lt); /* alias: --blue-lt → --blue-light */
  --dark: var(--navy); /* alias: --navy → --dark */
  --gray-light: var(--surface); /* alias: --surface → --gray-light */
  --white: #ffffff;
  --transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
  padding: 0 !important;
}

[data-screen='home'] .lp-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Hero ──────────────────────────────────────────────────────────────────── */
[data-screen='home'] .hero {
  padding: 48px 0 0;
  background: #0d1f3c;
}
[data-screen='home'] .hero .lp-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding-bottom: 48px;
}
[data-screen='home'] .hero-badge {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 16px;
}
[data-screen='home'] .hero-h1 {
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
}
[data-screen='home'] .hero-p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.72);
  margin-top: 12px;
  line-height: 1.6;
}
[data-screen='home'] .hero-btns {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}
[data-screen='home'] .btn-primary {
  background: var(--blue);
  color: #fff;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 14px;
  min-height: 44px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: background 150ms ease;
}
[data-screen='home'] .btn-primary:hover {
  background: var(--blue-dark);
}
[data-screen='home'] .btn-outline {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 14px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition:
    border-color 150ms ease,
    background 150ms ease;
  cursor: pointer;
  font-family: inherit;
}
[data-screen='home'] .btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.08);
}
[data-screen='home'] .hero-stats {
  display: flex;
  gap: 20px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  flex-wrap: wrap;
}
[data-screen='home'] .hero-stat {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}
[data-screen='home'] .hero-image {
  border-radius: 16px;
  aspect-ratio: 4/5;
  position: relative;
  overflow: hidden;
  min-height: 300px;
  background: #1e3a5f;
  flex-shrink: 0;
}

/* ── Trust bar ─────────────────────────────────────────────────────────────── */
[data-screen='home'] .trust-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  background: #fff;
}
[data-screen='home'] .trust-bar .lp-container {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
[data-screen='home'] .trust-label {
  font-size: 10px;
  letter-spacing: 1.5px;
  color: #9ca3af;
  font-weight: 600;
  white-space: nowrap;
  text-transform: uppercase;
}
[data-screen='home'] .trust-brands {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-left: auto;
  flex-wrap: wrap;
}
[data-screen='home'] .trust-brand {
  font-size: 13px;
  font-weight: 700;
  color: #374151;
}
[data-screen='home'] .trust-sep {
  color: var(--border);
}

/* ── Services ──────────────────────────────────────────────────────────────── */
[data-screen='home'] .services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 32px;
}
[data-screen='home'] .service-card {
  padding: 20px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
  box-shadow: var(--elevation-0);
  transition:
    border-color 150ms ease,
    background 150ms ease,
    box-shadow var(--motion-fast),
    transform var(--motion-fast);
}
@media (hover: hover) {
  [data-screen='home'] .service-card:hover {
    border-color: var(--blue);
    background: var(--blue-light);
    box-shadow: var(--elevation-1);
    transform: translateY(-2px);
  }
}
[data-screen='home'] .service-card:active {
  transform: scale(0.97);
}
[data-screen='home'] .service-icon {
  width: 42px;
  height: 42px;
  background: var(--blue-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
[data-screen='home'] .service-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}
[data-screen='home'] .service-price {
  color: var(--blue);
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 6px;
}
[data-screen='home'] .service-desc {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.5;
}

/* ── Section headings ──────────────────────────────────────────────────────── */
[data-screen='home'] .section-center {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 36px;
}
[data-screen='home'] .section-badge {
  background: var(--blue-light);
  color: var(--blue);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  display: inline-block;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
[data-screen='home'] .section-h2 {
  font-size: 1.625rem;
  font-weight: 800;
  margin-top: 10px;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
[data-screen='home'] .section-sub {
  color: var(--gray);
  font-size: 15px;
  margin-top: 10px;
  line-height: 1.6;
}
[data-screen='home'] .btn-outline-blue {
  display: inline-block;
  border: 2px solid var(--blue);
  color: var(--blue);
  background: transparent;
  padding: 11px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  font-family: inherit;
}
[data-screen='home'] .btn-outline-blue:hover {
  background: var(--blue);
  color: #fff;
}

/* ── About ─────────────────────────────────────────────────────────────────── */
[data-screen='home'] .about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
[data-screen='home'] .about-h2 {
  font-size: 1.625rem;
  font-weight: 800;
  margin-top: 10px;
  color: var(--dark);
  line-height: 1.25;
}
[data-screen='home'] .about-p {
  color: var(--gray);
  margin: 12px 0 18px;
  line-height: 1.7;
  font-size: 14px;
}
[data-screen='home'] .check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
[data-screen='home'] .check-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--dark);
}
[data-screen='home'] .about-sig {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
[data-screen='home'] .stats-mini {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
[data-screen='home'] .stat-mini {
  text-align: center;
  padding: 12px 8px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--elevation-0);
}
[data-screen='home'] .stat-mini-n {
  font-size: 18px;
  font-weight: 800;
  color: var(--blue);
}
[data-screen='home'] .stat-mini-l {
  font-size: 10px;
  color: var(--gray);
  margin-top: 2px;
}
[data-screen='home'] .about-image {
  border-radius: 16px;
  aspect-ratio: 3/4;
  overflow: hidden;
  position: relative;
}

/* ── Footer ────────────────────────────────────────────────────────────────── */
[data-screen='home'] .lp-footer {
  background: #0d1117;
  padding: 48px 0 96px;
}
[data-screen='home'] .footer-cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 32px;
  margin-bottom: 40px;
}
[data-screen='home'] .footer-h4 {
  color: #fff;
  font-size: 11px;
  letter-spacing: 1px;
  font-weight: 600;
  margin-bottom: 14px;
  text-transform: uppercase;
}
[data-screen='home'] .footer-link {
  display: block;
  color: #6b7280;
  font-size: 13px;
  margin-bottom: 8px;
  text-decoration: none;
  transition: color 150ms;
}
[data-screen='home'] .footer-link:hover {
  color: #fff;
}
[data-screen='home'] .footer-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #6b7280;
  font-size: 13px;
  margin-bottom: 10px;
}
[data-screen='home'] .footer-social {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #374151;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  text-decoration: none;
}
[data-screen='home'] .footer-social:hover {
  border-color: var(--blue);
}

/* ── Responsive (SPA is mobile-first) ─────────────────────────────────────── */
@media (max-width: 900px) {
  [data-screen='home'] .hero {
    padding-top: 36px;
  }
  [data-screen='home'] .hero .lp-container {
    grid-template-columns: 1fr;
    gap: 0;
    padding-bottom: 0;
  }
  [data-screen='home'] .hero-left {
    padding: 0 20px 32px;
  }
  [data-screen='home'] .hero-image {
    display: block !important;
    border-radius: 0;
    aspect-ratio: 16/9;
    min-height: 200px;
    width: 100%;
    position: relative;
    overflow: hidden;
  }
  [data-screen='home'] .hero-btns {
    flex-direction: column;
  }
  [data-screen='home'] .btn-primary,
  [data-screen='home'] .btn-outline {
    text-align: center;
    justify-content: center;
  }
  [data-screen='home'] .trust-bar .lp-container {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
  [data-screen='home'] .trust-brands {
    margin-left: 0;
    justify-content: center;
    gap: 12px;
  }
  [data-screen='home'] .services-grid {
    grid-template-columns: 1fr 1fr;
  }
  [data-screen='home'] .about-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  [data-screen='home'] .about-image {
    display: none;
  }
  [data-screen='home'] .stats-mini {
    grid-template-columns: repeat(2, 1fr);
  }
  [data-screen='home'] .footer-cols {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}
@media (max-width: 480px) {
  [data-screen='home'] .services-grid {
    grid-template-columns: 1fr;
  }
  [data-screen='home'] .footer-cols {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  [data-screen='home'] .membership-grid {
    grid-template-columns: 1fr !important;
    max-width: 100% !important;
  }
}

/* ── How it Works ─────────────────────────────────────────────────────────── */
[data-screen='home'] .hiw-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 36px;
}
[data-screen='home'] .hiw-step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 16px;
  text-align: center;
}
[data-screen='home'] .hiw-num {
  width: 32px;
  height: 32px;
  background: var(--blue);
  color: #fff;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
}
[data-screen='home'] .hiw-step svg {
  margin-bottom: 10px;
}
[data-screen='home'] .hiw-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 5px;
}
[data-screen='home'] .hiw-desc {
  font-size: 12px;
  color: var(--gray);
  line-height: 1.5;
  margin: 0;
}

/* ── Testimonials ─────────────────────────────────────────────────────────── */
[data-screen='home'] .reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 36px;
}
[data-screen='home'] .review-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  box-shadow: var(--elevation-0);
}
[data-screen='home'] .review-stars {
  color: #f59e0b;
  font-size: 15px;
  letter-spacing: 2px;
  margin-bottom: 10px;
}
[data-screen='home'] .review-text {
  font-size: 14px;
  color: #374151;
  line-height: 1.6;
  margin-bottom: 14px;
  font-style: italic;
}
[data-screen='home'] .review-author {
  display: flex;
  align-items: center;
  gap: 10px;
}
[data-screen='home'] .review-avatar {
  width: 36px;
  height: 36px;
  background: var(--blue);
  color: #fff;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
[data-screen='home'] .review-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}
[data-screen='home'] .review-role {
  font-size: 12px;
  color: var(--gray);
}

/* ── FAQ ─────────────────────────────────────────────────────────────────── */
[data-screen='home'] .faq-list {
  margin-top: 28px;
}
[data-screen='home'] .faq-item {
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 10px;
  background: #fff;
  overflow: hidden;
}
[data-screen='home'] .faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  gap: 12px;
  min-height: 44px;
}
[data-screen='home'] .faq-q::-webkit-details-marker {
  display: none;
}
[data-screen='home'] .faq-q::marker {
  display: none;
}
[data-screen='home'] .faq-q::after {
  content: '+';
  font-size: 20px;
  font-weight: 400;
  color: var(--blue);
  flex-shrink: 0;
  line-height: 1;
}
[data-screen='home'] .faq-item[open] .faq-q::after {
  content: '-';
}
[data-screen='home'] .faq-a {
  padding: 14px 18px 16px;
  font-size: 13px;
  color: var(--gray);
  line-height: 1.7;
  border-top: 1px solid var(--border);
  animation: faqOpen var(--motion-fast);
}
@keyframes faqOpen {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Desktop wider layouts ────────────────────────────────────────────────── */
@media (min-width: 640px) {
  [data-screen='home'] .hiw-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
  [data-screen='home'] .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ── Navbars ───────────────────────────────────────────────────────────────── */
#home-desktop-nav {
  display: none;
}

@media (min-width: 768px) {
  #home-mobile-bar {
    display: none !important;
  }
}

@media (min-width: 768px) {
  #home-desktop-nav {
    display: block;
    position: sticky;
    top: 0;
    z-index: 100;
    background: #0d1f3c;
    border-bottom: none;
    height: 64px;
  }
  .home-nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
  }
  .home-nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.5px;
    color: #fff;
  }
  .home-nav-links {
    display: flex;
    gap: 32px;
  }
  .home-nav-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    transition: color 150ms;
  }
  .home-nav-links a:hover {
    color: #fff;
  }
  .home-nav-book {
    background: var(--blue);
    color: #fff;
    padding: 10px 20px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 14px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 150ms ease;
    font-family: inherit;
    cursor: pointer;
    border: none;
  }
  .home-nav-book:hover {
    background: var(--blue-dark);
  }
}

/* ── Membership plan cards ─────────────────────────────────────────────────── */
[data-screen='home'] .plan-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  box-shadow: var(--elevation-0);
  transition:
    box-shadow var(--motion-fast),
    transform var(--motion-fast);
}
[data-screen='home'] .plan-card--featured {
  border: 2px solid var(--blue);
  position: relative;
}
@media (hover: hover) {
  [data-screen='home'] .plan-card:hover {
    box-shadow: var(--elevation-1);
    transform: translateY(-2px);
  }
}
