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

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  color: var(--slate-800);
  background: var(--sky-50);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Playfair Display', serif; line-height: 1.15; }

/* ── HEADER ── */
.header-wrap {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
}

/* Utility bar */
.utility-bar {
  background: var(--slate-900);
  display: flex; justify-content: flex-end; align-items: center;
  padding: 0 32px; height: 36px; gap: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.utility-bar a {
  color: rgba(255,255,255,0.7); text-decoration: none;
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.5px;
  display: flex; align-items: center; gap: 6px;
  transition: color 0.2s;
}
.utility-bar a:hover { color: #fff; }
.utility-bar .util-icon { font-size: 0.85rem; }

/* Middle bar: logo + secondary nav */
.mid-bar {
  background: var(--slate-800);
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 32px; height: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-brand {
  font-family: 'Playfair Display', serif;
  font-weight: 900; font-size: 1.5rem;
  color: #fff; display: flex; align-items: center; gap: 8px;
  text-decoration: none;
}
.nav-brand em {
  font-style: normal;
  background: linear-gradient(135deg, var(--sky-400), var(--violet-500));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.mid-links { display: flex; align-items: center; gap: 28px; }
.mid-links a {
  color: rgba(255,255,255,0.75); text-decoration: none;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; transition: color 0.2s;
  display: flex; align-items: center; gap: 6px;
}
.mid-links a:hover { color: #fff; }
.mid-links .book-btn {
  background: var(--sky-700); color: #fff;
  padding: 8px 20px; border-radius: 4px;
  transition: background 0.2s;
}
.mid-links .book-btn:hover { background: var(--sky-600); }

/* Main nav bar */
.main-nav {
  background: var(--slate-700);
  display: flex; align-items: center;
  padding: 0 32px; height: 48px;
  gap: 0;
}
.location-badge {
  display: flex; align-items: center; gap: 8px;
  margin-right: 24px; color: #fff; font-size: 0.85rem;
  font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  white-space: nowrap;
}
.location-dot {
  width: 22px; height: 22px; border-radius: 50%;
  background: linear-gradient(135deg, #34d399, #0ea5e9);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem;
}
.main-nav-links {
  display: flex; align-items: center; height: 100%;
}
.main-nav-links a {
  color: rgba(255,255,255,0.85); text-decoration: none;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 1.8px;
  text-transform: uppercase; padding: 0 20px;
  height: 100%; display: flex; align-items: center;
  border-right: 1px solid rgba(255,255,255,0.12);
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.main-nav-links a:first-child { border-left: 1px solid rgba(255,255,255,0.12); }
.main-nav-links a:hover { background: rgba(255,255,255,0.08); color: #fff; }

/* MORE dropdown */
.more-wrap { position: relative; height: 100%; }
.more-btn {
  background: none; border: none; cursor: pointer;
  color: rgba(255,255,255,0.85); font-size: 0.8rem; font-weight: 600;
  letter-spacing: 1.8px; text-transform: uppercase; padding: 0 20px;
  height: 100%; display: flex; align-items: center; gap: 8px;
  border-right: 1px solid rgba(255,255,255,0.12);
  transition: background 0.2s; font-family: inherit;
}
.more-btn:hover { background: rgba(255,255,255,0.08); color: #fff; }
.more-arrow { font-size: 0.6rem; transition: transform 0.2s; }
.more-btn.open .more-arrow { transform: rotate(180deg); }
.more-dropdown {
  position: absolute; top: 100%; right: 0;
  background: rgba(30,41,59,0.97); backdrop-filter: blur(8px);
  min-width: 200px; padding: 8px 0;
  opacity: 0; visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  border: 1px solid rgba(255,255,255,0.08);
}
.more-dropdown.open { opacity: 1; visibility: visible; transform: translateY(0); }
.more-dropdown a {
  display: block; padding: 12px 24px; color: rgba(255,255,255,0.8);
  text-decoration: none; font-size: 0.8rem; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  transition: background 0.15s, color 0.15s;
}
.more-dropdown a:hover { background: rgba(255,255,255,0.08); color: #fff; }

/* ── HAMBURGER (mobile) ── */
.hamburger {
  display: none; background: none; border: none; cursor: pointer;
  width: 44px; height: 44px; position: relative;
  flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}
.hamburger span {
  display: block; width: 26px; height: 2px; background: #fff;
  border-radius: 2px; transition: transform 0.3s, opacity 0.2s;
}
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ── MOBILE MENU OVERLAY ── */
.mobile-menu {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: var(--slate-900); z-index: 99;
  flex-direction: column; align-items: center;
  padding-top: 120px;
  gap: 0; overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  display: block; color: #fff; text-decoration: none;
  font-size: 1.05rem; font-weight: 600; letter-spacing: 2.5px;
  text-transform: uppercase; padding: 18px 32px;
  text-align: center; width: 100%; max-width: 400px;
  transition: background 0.15s;
}
.mobile-menu a:hover { background: rgba(255,255,255,0.05); }
.mobile-menu .mobile-divider {
  width: 80%; max-width: 300px; height: 1px;
  background: rgba(255,255,255,0.1); margin: 8px auto;
}

/* ── RESPONSIVE NAV ── */
@media (max-width: 1024px) {
  .main-nav-links, .more-wrap { display: none; }
  .mid-links { display: none; }
  .utility-bar { display: none; }
  .hamburger { display: flex; }
  .mid-bar { height: 60px; }
  .main-nav { height: 44px; }
  .location-badge { margin-right: 0; }
}

/* ── HERO ── */
.hero {
  min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 180px 24px 80px;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(186,230,253,0.5), transparent),
    radial-gradient(ellipse 60% 50% at 80% 80%, rgba(139,92,246,0.08), transparent),
    var(--sky-50);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='30' cy='30' r='1.5' fill='%230ea5e9' opacity='0.08'/%3E%3C/svg%3E");
  pointer-events: none;
}
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff; border: 1px solid var(--sky-200);
  border-radius: 100px; padding: 6px 16px;
  font-size: 0.8rem; font-weight: 600; color: var(--sky-700);
  margin-bottom: 24px; box-shadow: var(--shadow-sm);
}
.badge span { display: inline-block; width: 8px; height: 8px; background: var(--emerald-400); border-radius: 50%; }
.hero h1 {
  font-size: clamp(2.8rem, 6vw, 5.5rem); font-weight: 900;
  max-width: 800px; margin-bottom: 20px;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--sky-500), var(--violet-500));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero p {
  font-size: 1.2rem; color: var(--slate-500); max-width: 540px; margin-bottom: 36px;
}
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.btn {
  padding: 14px 32px; border-radius: 100px; font-size: 1rem;
  font-family: inherit; font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer;
  border: none; transition: all 0.2s; display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary {
  background: var(--sky-700); color: #fff;
  box-shadow: 0 4px 16px rgba(14,165,233,0.35);
}
.btn-primary:hover { background: var(--sky-600); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(14,165,233,0.4); }
.btn-secondary {
  background: #fff; color: var(--slate-700); border: 1.5px solid var(--slate-200);
}
.btn-secondary:hover { border-color: var(--sky-300); background: var(--sky-50); }

.social-proof {
  margin-top: 56px; display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.avatars { display: flex; }
.avatars span {
  width: 36px; height: 36px; border-radius: 50%;
  border: 2.5px solid #fff; margin-left: -10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
}
.avatars span:first-child { margin-left: 0; }
.social-proof p { font-size: 0.85rem; color: var(--slate-500); }
.social-proof strong { color: var(--slate-800); }

/* ── LOGOS ── */
.logos {
  padding: 48px 24px; text-align: center;
  border-top: 1px solid var(--sky-100); border-bottom: 1px solid var(--sky-100);
  background: #fff;
}
.logos p { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px; color: var(--slate-600); font-weight: 600; margin-bottom: 24px; }
.logo-row { display: flex; justify-content: center; align-items: center; gap: 48px; flex-wrap: wrap; opacity: 0.6; }
.logo-row span { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.3rem; color: var(--slate-700); }

/* ── SECTION UTILITY ── */
section { padding: 96px 24px; }
.container { max-width: 1100px; margin: 0 auto; }
.section-label {
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 2.5px;
  color: var(--sky-700); font-weight: 700; margin-bottom: 10px;
}
.section-title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; margin-bottom: 16px; }
.section-sub { font-size: 1.05rem; color: var(--slate-600); max-width: 560px; }

/* ── FEATURES ── */
.features { background: #fff; }
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px; margin-top: 56px;
}
.feature-card {
  background: var(--slate-50); border: 1px solid var(--slate-100);
  border-radius: var(--radius-lg); padding: 36px 28px;
  transition: transform 0.25s, box-shadow 0.25s; cursor: default;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 20px;
}
.feature-card h3 { font-size: 1.25rem; margin-bottom: 8px; font-weight: 700; }
.feature-card p { color: var(--slate-500); font-size: 0.95rem; }

/* ── HOW IT WORKS ── */
.how { background: var(--sky-50); }
.steps { display: flex; gap: 32px; margin-top: 56px; flex-wrap: wrap; justify-content: center; }
.step {
  flex: 1; min-width: 220px; max-width: 300px; text-align: center;
  position: relative; padding: 0 12px;
}
.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--sky-500), var(--violet-500));
  color: #fff; font-weight: 700; font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  box-shadow: 0 4px 16px rgba(14,165,233,0.25);
}
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { font-size: 0.9rem; color: var(--slate-600); }

/* ── PRICING ── */
.pricing { background: #fff; }
.pricing-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px; margin-top: 56px;
}
.price-card {
  border: 1.5px solid var(--slate-200); border-radius: var(--radius-lg);
  padding: 36px 28px; position: relative; background: #fff;
  transition: transform 0.2s;
}
.price-card:hover { transform: translateY(-3px); }
.price-card.popular {
  border-color: var(--sky-400);
  box-shadow: 0 0 0 1px var(--sky-400), var(--shadow-xl);
}
.popular-tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--sky-500), var(--violet-500));
  color: #fff; font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  padding: 4px 16px; border-radius: 100px;
}
.price-card h3 { font-size: 1.3rem; margin-bottom: 4px; }
.price-card .desc { font-size: 0.85rem; color: var(--slate-500); margin-bottom: 20px; }
.price {
  font-family: 'Playfair Display', serif; font-size: 3rem; font-weight: 900;
}
.price sup { font-size: 1.2rem; top: -1rem; }
.price sub { font-size: 0.85rem; font-weight: 400; color: var(--slate-500); bottom: 0; }
.price-card ul { list-style: none; margin: 24px 0; }
.price-card li {
  padding: 8px 0; font-size: 0.9rem; color: var(--slate-600);
  display: flex; align-items: center; gap: 10px;
}
.price-card li::before { content: '✓'; color: var(--emerald-500); font-weight: 700; }
.price-card .btn { width: 100%; justify-content: center; margin-top: 8px; }

/* ── TESTIMONIALS ── */
.testimonials { background: var(--slate-900); color: #fff; }
.testimonials .section-label { color: var(--sky-400); }
.testimonials .section-sub { color: var(--slate-300); }
.test-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px; margin-top: 56px;
}
.test-card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg); padding: 32px 24px;
}
.stars { color: var(--amber-400); font-size: 1rem; margin-bottom: 16px; letter-spacing: 2px; }
.test-card blockquote { font-size: 1rem; line-height: 1.7; color: var(--slate-200); margin-bottom: 20px; font-style: italic; }
.test-author { display: flex; align-items: center; gap: 12px; }
.test-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: 600;
}
.test-author strong { display: block; font-size: 0.9rem; }
.test-author span { font-size: 0.8rem; color: var(--slate-400); }

/* ── STATS ── */
.stats { background: linear-gradient(135deg, var(--sky-500), var(--violet-500)); color: #fff; text-align: center; padding: 72px 24px; }
.stats-grid { display: flex; justify-content: center; gap: 64px; flex-wrap: wrap; }
.stat h2 { font-size: 3.2rem; font-weight: 900; }
.stat p { font-size: 0.9rem; opacity: 0.85; margin-top: 4px; }

/* ── FAQ ── */
.faq { background: var(--sky-50); }
.faq-list { max-width: 680px; margin: 56px auto 0; }
.faq-item {
  border-bottom: 1px solid var(--slate-200); padding: 20px 0;
}
.faq-q {
  font-weight: 700; font-size: 1.05rem; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  background: none; border: none; width: 100%; text-align: left;
  font-family: inherit; color: var(--slate-800);
}
.faq-q::after { content: '+'; font-size: 1.4rem; color: var(--sky-500); transition: transform 0.2s; }
.faq-q.open::after { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s;
  color: var(--slate-500); font-size: 0.95rem; line-height: 1.7;
}
.faq-a.open { max-height: 200px; padding-top: 12px; }

/* ── NEWSLETTER / CTA ── */
.newsletter {
  background: #fff; text-align: center;
}
.nl-box {
  background: var(--slate-900); border-radius: var(--radius-lg);
  padding: 64px 40px; max-width: 720px; margin: 0 auto;
  color: #fff;
}
.nl-box h2 { font-size: 2.2rem; margin-bottom: 12px; }
.nl-box p { color: var(--slate-300); margin-bottom: 28px; }
.nl-form { display: flex; gap: 10px; max-width: 440px; margin: 0 auto; }
.nl-field { flex: 1; }
.nl-form input {
  width: 100%; padding: 14px 18px; border-radius: 100px;
  border: 1.5px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.08); color: #fff;
  font-size: 0.95rem; font-family: inherit; outline: none;
  transition: border-color 0.2s;
}
.nl-form input::placeholder { color: var(--slate-400); }
.nl-form input:focus { border-color: var(--sky-400); }
.nl-form input[aria-invalid="true"] { border-color: #fda4af; }
.nl-box .nl-error {
  margin: 6px 0 0;
  color: #fda4af;
  font-size: 0.85rem;
  text-align: left;
}
.nl-error:empty { display: none; }
.nl-form .btn-primary { white-space: nowrap; }

/* ── FOOTER ── */
footer {
  background: var(--slate-900); color: var(--slate-400);
  padding: 64px 24px 32px; border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand .nav-brand { font-size: 1.5rem; }
.footer-brand p { margin-top: 10px; font-size: 0.85rem; line-height: 1.6; max-width: 280px; }
footer h4 { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 16px; font-family: 'DM Sans', sans-serif; }
footer ul { list-style: none; }
footer li { margin-bottom: 10px; }
footer a { color: var(--slate-400); text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
footer a:hover { color: var(--sky-400); }
.footer-bottom {
  max-width: 1100px; margin: 48px auto 0;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.8rem; flex-wrap: wrap; gap: 12px;
}

/* ── TOAST ── */
.toast {
  position: fixed; bottom: 24px; right: 24px; z-index: 200;
  background: var(--slate-900); color: #fff; padding: 16px 24px;
  border-radius: var(--radius); box-shadow: var(--shadow-xl);
  font-size: 0.9rem; transform: translateY(120%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
}
.toast.show { transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nl-form { flex-direction: column; }
  .stats-grid { gap: 32px; }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.account-slot:empty {
  display: none;
}

.mid-links .account-chip,
.mobile-menu .account-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  padding: 6px 12px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.3;
  text-transform: none;
  text-decoration: none;
}

.mid-links .account-chip:hover,
.mobile-menu .account-chip:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.account-chip-name {
  overflow: hidden;
  max-width: 16ch;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.plan-tier-badge {
  padding: 2px 8px;
  border-radius: 100px;
  background: linear-gradient(135deg, var(--sky-500), var(--violet-500));
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  white-space: nowrap;
}

.account-slot--mobile {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-bottom: 16px;
}

.account-slot--mobile .account-chip {
  justify-content: center;
  width: 100%;
  max-width: 400px;
}
