/* ============================================================
   Liravo — website stylesheet v2
   Exact geometry from Figma API (frame 1187:1088, 1440x6632)
   ============================================================ */

:root {
  --brand: #019eff;
  --brand-deep: #027ff6;
  --ink: #000000;
  --ink-soft: #334155;
  --muted: #6b7280;
  --muted-light: #9ca3af;
  --bg-soft: #f5f5f9;
  --bg-feature: #f4fafd;
  --white: #ffffff;
  --radius-xl: 40px;
  --radius-lg: 30px;
  --radius-pill: 9999px;
  --font-display: "Poppins", system-ui, sans-serif;
  --font-body: "Rubik", system-ui, sans-serif;
  --font-ui: "Golos Text", system-ui, sans-serif;
  --font-logo: "Poetsen One", system-ui, sans-serif;
  --font-num: "Advent Pro", sans-serif;
  --font-wix: "Wix Madefor Text", sans-serif;
  --container: 1040px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

a { text-decoration: none; color: inherit; }

/* ---------- Buttons & pills ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: 16px;
  padding: 0 24px;
  height: 50px;
  border-radius: 26px;
  transition: background .2s ease, transform .15s ease, box-shadow .2s ease;
}

.btn-primary {
  background: var(--brand);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--brand-deep);
  box-shadow: 0 8px 20px rgba(1, 158, 255, .28);
}
.btn-primary:active { transform: scale(.97); }

.pill {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 400;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #ededed;
  border-radius: 26px;
  padding: 14px 22px;
}

/* section pills except Why We Started use #dedede border */
.pill-alt {
  border: 1px solid #dedede;
}

.pill-outline {
  background: var(--white);
  border: 1px solid #dedede;
  box-shadow: none;
  color: var(--ink);
}

.pill-light {
  color: var(--white);
  background: none;
  border: 1px solid rgba(255, 255, 255, .55);
  padding: 14px 28px;
}

/* ============================================================
   HERO — nav(20px) + title(212) + sub(424) + form(515)
   ============================================================ */
.hero {
  position: relative;
  aspect-ratio: 1440 / 900;
  min-height: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 24px 0;
  overflow: hidden;
  background: var(--white);
}

.hero-bg-wrap {
  position: absolute;
  inset: 0;
  background-image: url("../assets/hero-bg.jpg");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

/* Hero bg: Figma Mask group 1187:1090 exported as full image */
.hero-blue-fade {
  display: none;
}
.hero-fade {
  display: none;
}

.glass-nav {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1040px, calc(100% - 48px));
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px 0 30px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 33.5px;
  z-index: 10;
}

.logo {
  font-family: var(--font-logo);
  font-size: 20px;
  color: #ffffff;
  letter-spacing: .2px;
}
.nav-center {
  display: flex;
  align-items: center;
  gap: 15px;
}

.nav-links {
  display: flex;
  gap: 34px;
  font-family: var(--font-ui);
  font-size: 16px;
  color: #ffffff;
}
.nav-links a { transition: opacity .15s ease; }
.nav-links a:hover { opacity: .75; }
/* ---------- Explore dropdown ---------- */
.nav-explore {
  position: relative;
}

.explore-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 16px;
  border: none;
  border-radius: 20px;
  background: transparent;
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: 16px;
  color: #fff;
  cursor: pointer;
  transition: background .2s ease;
}
.explore-btn:hover,
.explore-btn.active {
  background-image: url('/assets/explore-glass.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-color: transparent;
}

.explore-btn .chevron {
  transition: transform .25s ease;
}
.explore-btn:hover .chevron,
.explore-btn.active .chevron {
  transform: rotate(180deg);
}

/* ---- Explore dropdown (simplified — single column) ---- */
.explore-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  margin-left: -79px;
  width: 158px;
  background: #fff;
  border: 1px solid #dedede;
  border-radius: 20px;
  padding: 30px 15px 15px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
  z-index: 20;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .08);
}

.explore-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.explore-dropdown-title {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 16px;
  line-height: 19px;
  color: #000;
  padding: 0 15px;
  margin-bottom: 15px;
}

.explore-dropdown-link {
  display: block;
  padding: 15px;
  border-radius: 10px;
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: 16px;
  line-height: 19px;
  color: #000;
  text-decoration: none;
  transition: background .15s ease;
}

.explore-dropdown-link:hover {
  background: var(--bg-soft);
}

/* ---- Old 3-level dropdown (commented for future use) ----
.explore-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  margin-left: -102.5px;
  display: flex;
  width: 205px;
  background: #fff;
  border: 1px solid #dedede;
  border-radius: 20px;
  padding: 15px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
  z-index: 20;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .08);
}

.explore-dropdown.expanded { width: 339px; }
.explore-dropdown.open { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-left { flex: 0 0 175px; display: flex; flex-direction: column; gap: 8px; }
.dropdown-card { display: block; position: relative; padding: 15px; border-radius: 10px; text-decoration: none; color: inherit; transition: background .15s ease; }
.dropdown-card:hover { background: var(--bg-soft); }
.dropdown-card-header { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.dropdown-card .chevron-right { flex-shrink: 0; color: #000; opacity: 1; transition: opacity .15s ease; }
.dropdown-card:hover .chevron-right { opacity: 1; }
.dropdown-title { font-family: var(--font-ui); font-weight: 500; font-size: 16px; line-height: 19px; color: #000; }
.dropdown-desc { display: block; font-family: var(--font-body); font-weight: 400; font-size: 14px; line-height: 22px; color: #7b7b7b; }
.dropdown-divider { flex: 0 0 1px; background: #ededed; margin: 0 15px; display: none; }
.explore-dropdown.expanded .dropdown-divider { display: block; }
.dropdown-right { flex: 0 0 105px; display: none; flex-direction: column; gap: 8px; }
.explore-dropdown.expanded .dropdown-right { display: flex; }
.dropdown-link { display: block; padding: 15px; border-radius: 10px; font-family: var(--font-ui); font-weight: 400; font-size: 16px; line-height: 19px; color: #000; text-decoration: none; transition: background .15s ease, color .15s ease; }
.dropdown-link:hover { background: var(--bg-soft); }
---- */

.btn-nav {
  height: 40px;
  font-size: 14px;
  padding: 0 20px;
  border-radius: 29.5px;
  background: var(--brand);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 720px;
  margin-top: 14.7vw; /* 212px at 1440px width, scales with aspect-ratio */
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 64px;
  line-height: 1.5;
  color: var(--ink);
  letter-spacing: -.5px;
}

.hero-sub {
  margin: 20px auto 0;
  max-width: 560px;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--ink-soft);
}

.waitlist-form {
  margin: 36px auto 0;
  display: flex;
  align-items: center;
  gap: 8px;
  width: min(454px, 100%);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid #ededed;
  border-radius: 30px;
  padding: 5px 5px 5px 24px;
}

.waitlist-form input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font-ui);
  font-size: 16px;
  color: var(--ink);
  -webkit-appearance: none;
}
.waitlist-form input:-webkit-autofill,
.waitlist-form input:-webkit-autofill:hover,
.waitlist-form input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--ink);
  -webkit-box-shadow: 0 0 0 1000px transparent inset;
  transition: background-color 9999s ease-out;
}
.waitlist-form input::placeholder { color: #7b7b7b; }
.waitlist-form button {
  height: 50px;
  border-radius: 26px;
  white-space: nowrap;
}

.form-msg, .cta-msg {
  margin: 14px auto 0;
  font-family: var(--font-ui);
  font-size: 14px;
  line-height: 1.4;
  color: #15803d;
}
.form-msg:empty, .cta-msg:empty {
  display: none;
}
.form-msg.error, .cta-msg.error { color: #dc2626; }

/* ============================================================
   WHY WE STARTED — pill(876) title(945) desc(1068) cards(1167+)
   per design: cards are white r20 outer + #f5f5f9 inner
   ============================================================ */
.why {
  position: relative;
  background: transparent; /* pill/title/desc 叠在 hero 背景图上 (y876-1096) */
  z-index: 2;
  padding: 0 0 12px;
}

.scatter {
  pointer-events: none;
  margin-top: 71px;
  background-image: url("../assets/scatter-cards.png");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  aspect-ratio: 1440 / 389;
}

.why-inner { text-align: center; }

.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 36px;
  line-height: 1.5;
  color: var(--ink);
  margin-top: 24px;
  letter-spacing: -.3px;
}

.section-desc {
  margin: 18px auto 0;
  max-width: 720px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--muted);
}

/* ============================================================
   MEET LIRAVO — pill(1532) title(1601) desc(1724) scene(1857+)
   ============================================================ */
.meet {
  background: var(--white);
  padding: 15px 0 0; /* scatter底1542 -> meet pill顶1547 */
}

.meet-inner { text-align: center; }
.meet-desc { max-width: 700px; }

.meet-scene {
  margin-top: 60px;
  width: 100%;
  overflow: hidden;
  background-image: url("../assets/meet-scene-full.jpg");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  aspect-ratio: 1440 / 744;
}

/* ============================================================
   THE JOURNEY — pill(2676) title(2745) + 2x2 cards(2859+)
   cards: 400x386 r40, linear-gradient #019eff→#ffffff
   ============================================================ */
.journey {
  background: url('../assets/journey-bg.png') center top / cover no-repeat;
  aspect-ratio: 1440 / 1079;
  padding: 100px 0 20px;
  text-align: center;
}

.journey-grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(2, 400px); /* Figma 400x386 cards */
  justify-content: center;                 /* 2*400+30 = 830 centered */
  gap: 30px;
  text-align: left;
}

.journey-card {
  position: relative;
  border-radius: 40px;
  padding: 34px 30px 30px;
  height: 386px;
  overflow: hidden;
  border: none;
  box-shadow: none;
  transition: none;
  display: flex;
  flex-direction: column;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.jc-1 { background-image: url("../assets/journey-card-1-bg.png"); }
.jc-2 { background-image: url("../assets/journey-card-2-bg.png"); }
.jc-3 { background-image: url("../assets/journey-card-3-bg.png"); }
.jc-4 { background-image: url("../assets/journey-card-4-bg.png"); }
.journey-card:hover {
  transform: none;
  box-shadow: none;
}

.journey-num {
  display: block;
  font-family: var(--font-num);
  font-size: 48px;
  font-weight: 500;
  line-height: 1.2;
  color: #ffffff;
  opacity: .85;
}

.journey-label {
  display: inline-block;
  margin-top: auto;
  align-self: flex-start;
  padding: 7px 18px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  color: #ffffff;
  border-radius: 22px;
}
.jl-1 { background: url('../assets/journey-label-1.png') center / cover no-repeat; }
.jl-2 { background: url('../assets/journey-label-2.png') center / cover no-repeat; }
.jl-3 { background: url('../assets/journey-label-3.png') center / cover no-repeat; }
.jl-4 { background: url('../assets/journey-label-4.png') center / cover no-repeat; }

.journey-head {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.4;
  color: var(--ink);
  margin-top: 20px;
}

.journey-body {
  font-family: var(--font-ui);
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  margin-top: 20px;
  max-width: 300px;
}

/* journey illustrations — exact positions from Figma */
.journey-illo {
  position: absolute;
  z-index: 1;
  width: auto;
}
.jc-illo-1 { right: 30px; top: 30px; width: 170px; }
.jc-illo-2 { right: 37px; top: 35px; width: 174px; }
.jc-illo-3 { right: 34px; top: -11px; width: 192px; }
.jc-illo-4 { right: 38px; top: 32px; width: 168px; }

/* ============================================================
   CORE FEATURES — big card(3998) 1040x496 r40 #f4fafd
   left text + right iphone 295x642
   ============================================================ */
.core {
  background: var(--white);
  margin-top: -40px;
  padding: 0 0 30px;
  text-align: center;
}

.core .container {
  padding: 0; /* design: core card 1040 wide, no side padding */
}

.core-card {
  margin-top: 60px; /* Figma: core pill底3810 -> core card顶3998... 但含section内padding后实际间距=60 */
  border-radius: 40px;
  border: none;
  padding: 40px 40px 123px 40px;
  height: 496px;
  display: flex;
  align-items: flex-start;
  gap: 40px;
  text-align: left;
  position: relative;
  overflow: hidden;
  background: url("../assets/core-card-bg.png") center / cover no-repeat;
}

.core-copy { flex: 0 0 42%; position: relative; z-index: 2; }

.core-tag {
  display: inline-block;
  margin-top: 84px;
  font-family: var(--font-ui);
  font-size: 20px;
  line-height: 24px;
  color: var(--brand);
  font-weight: 400;
  border: 1px solid var(--brand);
  border-radius: 24.5px;
  padding: 12px 20px;
  text-align: center;
}

.core-head {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 30px;
  line-height: 1.5;
  color: var(--ink);
  margin-top: 30px;
  letter-spacing: -.3px;
}

.core-body {
  font-family: var(--font-ui);
  font-size: 14px;
  line-height: 20px;
  color: #7b7b7b;
  margin-top: 20px;
}

.core-visual {
  position: absolute;
  right: 90px;
  top: 79px;
  z-index: 2;
}
.core-scene {
  width: 295px;
  height: 642px;
  border-radius: 45.8px;
  background: rgba(255, 255, 255, 0.4);
  overflow: hidden;
  filter: drop-shadow(0 30px 50px rgba(2, 132, 199, .25));
}
.core-screen {
  display: block;
  width: 100%;
  height: auto;
}

/* ============================================================
   FEATURE GRID — 2x2 cards 505x354 r40, full render image
   ============================================================ */
.features-grid-wrap {
  background: var(--white);
  padding: 0 0 120px;
}

.features-grid-wrap .container {
  padding: 0; /* design: 2×505 + 30 gap = 1040, no side padding */
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.feature-card {
  position: relative;
  border-radius: 40px;
  overflow: hidden;
  height: 354px; /* Figma 505x354 */
  display: block;
  background: var(--bg-feature);
  transition: transform .25s ease, box-shadow .25s ease;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(2, 132, 199, .14);
}

.feature-card:nth-child(1) { --fc-bg: url("../assets/feat-card-1.webp"); }
.feature-card:nth-child(2) { --fc-bg: url("../assets/feat-card-2.webp"); }
.feature-card:nth-child(3) { --fc-bg: url("../assets/feat-card-3.webp"); }
.feature-card:nth-child(4) { --fc-bg: url("../assets/feat-card-4.webp"); }
.feature-card {
  background: var(--fc-bg) center / cover no-repeat;
}

.feature-body-wrap {
  position: absolute;
  top: 85px;
  left: 40px;   /* Figma x=40 */
  right: 40px;
  z-index: 2;
}

.feature-tag {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 400;
  color: var(--brand);
  border: 1px solid var(--brand);
  border-radius: 26px;
  padding: 14px 20px;
  background: transparent;
  margin-bottom: 30px;
}

.feature-head {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 30px;
  line-height: 1.5;
  color: var(--ink);
  letter-spacing: -.3px;
}

.feature-body {
  font-family: var(--font-ui);
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  margin-top: 20px;
  max-width: 400px;
}

/* ============================================================
   FREEDOM — photo bg(5342) 1440x618 #f5f5f9 + glass card
   ============================================================ */
.freedom {
  position: relative;
  overflow: hidden;
  background: url("../assets/freedom-bg.jpg") center top / cover no-repeat;
  padding: 0;
  text-align: center;
  aspect-ratio: 1440 / 618;
  min-height: 618px;
}
.freedom-bg-img { display: none; }
.freedom-fade-bottom { display: none; }
.freedom-hiker { display: none; }
.freedom-bg-wrap { display: none; }
.freedom-bg { display: none; }
.freedom-fade2 { display: none; }

.freedom-inner {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 6.94vw 40px 0; /* 100px at 1440px, scales with aspect-ratio */
}

/* Figma 1216:4000: pill y100, title y169, sub y238, card y306 */
.freedom-inner .pill {
  margin: 0;
}

.freedom-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 36px;
  line-height: 54px;
  color: var(--white);
  margin: 20px 0 0;  /* pill底149 → title顶169 = 20 */
  text-align: center;
  white-space: nowrap;
  /* text-shadow removed per design */
}

.freedom-sub {
  margin: 15px 0 0;  /* title底223 → sub顶238 = 15 */
  font-size: 16px;
  line-height: 28px;
  color: var(--white);
  white-space: nowrap;
  /* text-shadow removed per design */
}

.glass-card {
  margin: 2.78vw 0 0; /* 40px at 1440px, scales with aspect-ratio */
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid #ededed;
  border-radius: 30px;
  padding: 64px 71px;
  text-align: left;
}
.glass-card p {
  margin: 0;
  font-size: 16px;
  color: #000000;
  line-height: 28px;
}

/* ============================================================
   CTA — pill(6060) title(6129) sub(6198) btn(6256) fine(6321)
   ============================================================ */
.cta {
  background: var(--white);
  padding: 100px 0 110px; /* Figma: core最后group底5960 -> cta pill顶6060 = 100 */
}
.cta-inner { text-align: center; }

.cta-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 36px;
  line-height: 1.5;
  color: var(--ink);
  margin-top: 35px;
  letter-spacing: -.3px;
}

.cta-sub {
  margin: 20px auto 0;
  max-width: 520px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
}

.btn-join {
  margin: 30px auto 0;
  width: 216px;
  height: 50px;
  border-radius: 26px;
  font-size: 16px;
  display: flex;
}

.cta-form { display: none; }

.cta-fine {
  margin-top: 30px;
  font-family: var(--font-ui);
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--white);
  padding: 20px 0 56px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.copyright {
  font-family: var(--font-ui);
  font-size: 16px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  font-family: var(--font-ui);
  font-size: 15px;
  color: var(--muted);
}
.footer-links a { transition: color .15s ease; }
.footer-links a:hover { color: var(--ink); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px) {
  .hero-title { font-size: 48px; }
  .scatter-card { display: none; }
}

@media (max-width: 860px) {
  .glass-nav { padding-left: 20px; }
  .nav-links { gap: 20px; }
  .core-card { flex-direction: column; padding: 40px 28px; }
  .core-copy { flex: none; }
  .core-visual { justify-content: center; }
  .journey-grid { gap: 20px; }
  .feature-grid { gap: 20px; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .hero { min-height: 900px; }
  .hero-title { font-size: 34px; line-height: 1.3; }
  .hero-sub { font-size: 15px; }
  .waitlist-form {
    border-radius: 24px;
    flex-direction: column;
    padding: 10px;
    height: auto;
    background: rgba(255,255,255,.85);
  }
  .waitlist-form input { width: 100%; padding: 12px 8px; }
  .waitlist-form button { width: 100%; }
  .cta-form {
    flex-direction: column;
    padding: 10px;
    height: auto;
    border-radius: 24px;
  }
  .cta-form input { width: 100%; padding: 12px 8px; }
  .cta-form button { width: 100%; }
  .btn-nav { display: none; }
  .nav-center { margin-left: auto; }
  .glass-nav { justify-content: space-between; }
  .section-title { font-size: 28px; }
  .journey-grid { grid-template-columns: 1fr; }
  .journey-card { min-height: 360px; }
  .journey { padding: 80px 0; }
  .core { padding: 40px 0 80px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 340px; }
  .feature-body-wrap { top: 70px; left: 22px; right: 22px; }
  .freedom { min-height: 500px; }
  .freedom-title, .cta-title { font-size: 28px; }
  .glass-card { padding: 32px 24px; }
  .core-card { padding: 30px 20px; }
  .core-scene { width: 220px; }
  .cta { padding: 90px 0 70px; }
  .footer-links { gap: 18px; font-size: 14px; }
  .jc-illo-1 { right: 16px; top: 24px; width: 160px; }
  .jc-illo-2 { right: 16px; top: 24px; width: 155px; }
  .jc-illo-3 { right: 20px; top: 80px; width: 175px; }
  .jc-illo-4 { right: 18px; top: 28px; width: 150px; }
}

/* ============================================================
   MOBILE NAV — hamburger toggle
   ============================================================ */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  color: #ffffff;
  cursor: pointer;
  padding: 4px 8px;
  /* text-shadow removed per design */
}

@media (max-width: 768px) {
  .nav-toggle { display: none; }
  .nav-center { margin-left: auto; }
  .nav-links { display: none; }
  .explore-dropdown {
    position: fixed;
    top: 76px;
    left: 24px;
    right: 24px;
    width: auto;
    transform: translateY(-8px);
  }
  .explore-dropdown.open {
    transform: translateY(0);
  }
  .btn-nav { display: none; }
  .glass-nav { justify-content: space-between; padding: 0 16px 0 20px; }
  .hero-title { font-size: 32px; line-height: 1.3; }
  .hero-content { margin-top: 120px; }
  .section-title { font-size: 26px; }
  .freedom-title, .cta-title { font-size: 26px; }
  .core-head { font-size: 26px; }
  .feature-head { font-size: 24px; }
}

/* ============ WAITLIST SUCCESS MODAL (Figma 1234:725) ============ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}
.modal-card {
  background: #fff;
  border-radius: 25px;
  padding: 48px 40px;
  max-width: 461px;
  width: calc(100% - 40px);
  min-height: 228px;
  text-align: center;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.25s ease;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.modal-overlay.open .modal-card {
  transform: translateY(0);
}
.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  color: #333;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-close:hover {
  color: #000;
}
.modal-title {
  font-family: 'Poppins', sans-serif;
  font-size: 24px;
  font-weight: 500;
  color: #000;
  margin: 0 0 16px;
  line-height: 1.3;
}
.modal-sub {
  font-family: 'Golos Text', sans-serif;
  font-size: 16px;
  color: #3d3d3d;
  line-height: 1.6;
  margin: 0;
  max-width: 341px;
}

/* Mobile modal adjustments */
@media (max-width: 480px) {
  .modal-card {
    padding: 36px 24px;
    border-radius: 20px;
  }
  .modal-title {
    font-size: 22px;
  }
}