/* ===== RESET & VARS ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* ---- Brand palette: dark sky blue · navy · pastel pink (no white, no green) ---- */
  --sky:        #9bc9ef;
  --sky-deep:   #0f6ea6;
  --sky-deeper: #0a4d78;
  --navy:       #163a63;
  --navy-2:     #0f2c4d;
  --navy-deep:  #081a30;
  --pink:       #ffd1e0;
  --pink-deep:  #ff9fc0;

  --text:       #eaf3fb;
  --muted:      #dde3e7;
  --dim:        #dcdcdc;

  --surface:       rgba(10,26,48,0.62);
  --surface-solid: #0f2c4d;
  --border:        rgba(234,243,251,0.14);
  --border-strong: rgba(234,243,251,0.24);

  --grad-brand:  linear-gradient(120deg, #ffe4ee 0%, #ffb3cc 55%, #ff7fa8 100%);
  --grad-accent: linear-gradient(120deg, #ff9fc0 0%, #0f6ea6 100%);

  --r-sm: 12px;
  --r:    18px;
  --r-lg: 26px;
  --r-xl: 34px;

  --shadow-soft: 0 20px 46px -18px rgba(3,12,24,0.55);
  --shadow-card: 0 24px 60px -20px rgba(3,12,24,0.65);

  --font-display: 'Prompt', sans-serif;
  --font-body:    'Prompt', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 66px; /* space for bottom mobile nav */
}
@media (min-width: 769px) { body { padding-bottom: 0; } }

/* Page background as a fixed full-viewport layer — sizing "cover" against
   body would scale against the whole scrollable page height on long pages,
   causing a huge zoom on mobile. */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -1;
  background-color: var(--navy-deep);
  background-image:
    linear-gradient(rgba(8,26,48,0.28), rgba(8,26,48,0.4)),
    url('assets/img/BG%20web%20-%20PGcombo168.webp');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}
@media (max-width: 768px) {
  body::before {
    background-image:
      linear-gradient(rgba(8,26,48,0.32), rgba(8,26,48,0.44)),
      url('assets/img/BG%20phone%20-%20PGcombo168.webp');
  }
}

img { display: block; max-width: 100%; height: auto; }
a   { text-decoration: none; color: inherit; }
button { font-family: inherit; }

/* ===== LAYOUT ===== */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 5.5rem 1.25rem; position: relative; }
@media (max-width: 768px) { .section { padding: 3.25rem 1rem; } }
@media (max-width: 479px) { .section { padding: 2.75rem 0.875rem; } }

/* ===== HEADINGS ===== */
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.005em; text-wrap: balance; color: var(--text); }

/* ===== UTILS ===== */
.grad-text {
  background: var(--grad-brand);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.kw { color: var(--pink-deep); font-weight: 700; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text);
  border: 1px solid var(--border-strong); border-radius: 9999px;
  padding: 0.4rem 1rem; background: rgba(8,26,48,0.55);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 14px rgba(3,12,24,0.25);
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--pink-deep); }

.section-head { max-width: 720px; margin: 0 auto 2.5rem; text-align: center; }
.section-head h2 { font-size: clamp(1.5rem, 4vw, 2.35rem); line-height: 1.25; margin: 0.9rem 0 1rem; }
.section-head p { color: var(--muted); font-size: 0.95rem; line-height: 1.85; }
@media (max-width: 479px) { .section-head { margin-bottom: 2rem; } .section-head p { font-size: 0.875rem; } }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-body); font-weight: 600; font-size: 0.98rem;
  padding: 0.85rem 2.1rem; border-radius: 9999px; border: none; cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
  -webkit-tap-highlight-color: transparent; white-space: nowrap;
}
.btn-navy { background: var(--pink); color: var(--navy-deep); box-shadow: var(--shadow-soft); }
.btn-navy:hover { transform: translateY(-2px); background: var(--pink-deep); }
.btn-outline { background: rgba(234,243,251,0.08); color: var(--text); border: 1.5px solid var(--border-strong); }
.btn-outline:hover { background: rgba(234,243,251,0.16); border-color: var(--sky); }
.btn-cta { background: var(--grad-accent); color: var(--navy-deep); box-shadow: var(--shadow-soft); }
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 26px 60px -16px rgba(15,110,166,0.55); }
.btn:active { transform: scale(0.97); }
.underline-link { color: var(--sky); font-weight: 600; font-size: 0.9rem; text-underline-offset: 4px; text-decoration: underline; }
.underline-link:hover { color: var(--pink-deep); }

/* ===== HEADER (floating capsule, RANTY-style) ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1.1rem 1.25rem 0;
  transition: padding 0.3s ease;
}
.header.scrolled { padding-top: 0.6rem; }
.header-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 0.4rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 9999px;
  padding: 0.55rem 0.7rem 0.55rem 1.1rem;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-soft);
  transition: background 0.3s ease, border-radius 0.3s ease;
}
.header.scrolled .header-inner { background: transparent; }

.header-row1 { display: flex; align-items: center; gap: 1rem; width: 100%; }

.logo-link { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
.logo-img { height: 34px; width: auto; max-width: 168px; object-fit: contain; }

.nav-menu { display: flex; align-items: center; gap: 0.125rem; margin: 0 auto; }
.nav-link {
  display: flex; align-items: center; gap: 0.3rem;
  padding: 0.5rem 1.05rem; border-radius: 9999px;
  font-size: 0.87rem; font-weight: 500; color: var(--text); white-space: nowrap;
  text-shadow: 0 1px 8px rgba(3,12,24,0.55);
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover { color: var(--pink); background: rgba(8,26,48,0.4); }

.ico-line {
  display: inline-flex; align-items: center; justify-content: center;
  background: #06C755; color: #fff; font-size: 0.55rem; font-weight: 700;
  letter-spacing: 0.03em; border-radius: 4px; padding: 2px 4px; flex-shrink: 0; line-height: 1;
}

/* header-btns: image buttons (Login/Register graphics) */
.header-btns { display: flex; gap: 0.6rem; align-items: center; flex-shrink: 0; margin-left: auto; }
.hbtn { height: 32px; width: auto; max-width: 118px; object-fit: contain; cursor: pointer; transition: transform 0.2s; }
.hbtn:hover { transform: scale(1.06); }

/* header-row2: mobile scrollable link strip, merged inside the same header panel */
.header-row2 { display: none; }

@media (max-width: 768px) {
  .header { padding: 0.85rem 0.7rem 0; }
  .header-inner { padding: 0.5rem 0.55rem 0.45rem; border-radius: 22px; }
  .header-row1 { gap: 0.6rem; }
  .nav-menu { display: none; }
  .logo-img { height: 28px; }
  .hbtn { height: 27px; max-width: 92px; }
  .header-row2 {
    display: flex; align-items: center; gap: 0.125rem;
    overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none;
    border-top: 1px solid var(--border); padding-top: 0.35rem;
  }
  .header-row2::-webkit-scrollbar { display: none; }
}
.mob-nav-link {
  display: flex; align-items: center; gap: 0.3rem;
  padding: 0.4rem 0.85rem; border-radius: 9999px;
  font-size: 0.78rem; font-weight: 500; color: var(--text); white-space: nowrap;
  text-shadow: 0 1px 8px rgba(3,12,24,0.55);
  transition: color 0.2s, background 0.2s;
}
.mob-nav-link:active, .mob-nav-link:hover { color: var(--pink); background: rgba(8,26,48,0.45); }

/* ===== HERO (RANTY-style split layout) ===== */
.hero { position: relative; padding: 150px 1.25rem 0; overflow: visible; }
.hero-inner {
  position: relative; z-index: 1; max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.05fr; gap: 2.5rem; align-items: center;
}
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
  .hero-card { order: -1; }
}

.hero-text .eyebrow { margin-bottom: 1.1rem; }
.hero h1 {
  font-size: clamp(2.3rem, 6.2vw, 4.2rem); line-height: 1.05;
  font-weight: 600;
  filter: drop-shadow(0 4px 18px rgba(3,12,24,0.55)) drop-shadow(0 1px 4px rgba(3,12,24,0.5));
}
@media (max-width: 479px) { .hero h1 { font-size: clamp(1.9rem, 9vw, 2.5rem); } }
.hero-slash {
  font-family: var(--font-body); color: var(--text);
  font-size: clamp(0.8rem, 1.6vw, 0.92rem); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  text-shadow: 0 1px 10px rgba(3,12,24,0.6);
  margin: 1.1rem 0 1.6rem;
}
@media (max-width: 960px) { .hero-slash { margin-left: auto; margin-right: auto; } }

.hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; justify-content: flex-start; margin-bottom: 2.5rem; position: relative; z-index: 2; }
@media (max-width: 960px) { .hero-actions { justify-content: center; margin-bottom: 2.25rem; } }
.hero-btn-img {
  height: 50px; width: auto; max-width: 190px; object-fit: contain; cursor: pointer;
  filter: drop-shadow(0 8px 20px rgba(3,12,24,0.4)); transition: transform 0.2s;
}
.hero-btn-img:hover { transform: translateY(-2px) scale(1.04); }
@media (max-width: 479px) { .hero-btn-img { height: 42px; } }

/* ---- Hero card (navy glass frame with tabs + annotated image) ---- */
.hero-card {
  position: relative; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--r-xl);
  box-shadow: var(--shadow-card); padding: 1.5rem 1.5rem 1.75rem;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.hc-tabs { display: flex; gap: 0.5rem; margin-bottom: 1.1rem; flex-wrap: wrap; }
.hc-tab {
  padding: 0.45rem 1rem; border-radius: 9999px; font-size: 0.82rem; font-weight: 600;
  background: rgba(234,243,251,0.08); color: var(--muted); border: 1px solid transparent;
}
.hc-tab.active { background: var(--pink); color: var(--navy-deep); }
.hc-heading { font-size: clamp(1.15rem, 2.4vw, 1.4rem); margin-bottom: 0.4rem; line-height: 1.35; }
.hc-sub { color: var(--muted); font-size: 0.85rem; margin-bottom: 1.25rem; }

.hc-art { position: relative; border-radius: var(--r-lg); overflow: hidden; }
.hc-art img { width: 100%; height: auto; display: block; }

.hc-dot {
  position: absolute; width: 12px; height: 12px; border-radius: 50%;
  background: var(--pink); box-shadow: 0 0 0 4px rgba(255,209,224,0.35), 0 4px 10px rgba(3,12,24,0.4);
}
.hc-dot::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 1.5px solid rgba(255,209,224,0.6); animation: hcPing 2.2s ease-out infinite;
}
@keyframes hcPing { 0% { transform: scale(0.6); opacity: 0.9; } 100% { transform: scale(1.9); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hc-dot::after { animation: none; } }
.hc-dot-1 { top: 30%; left: 34%; }

.hc-connector {
  position: absolute; height: 1.5px; background: rgba(255,209,224,0.6);
  top: 34%; left: 40%; width: 60px; transform: rotate(18deg); transform-origin: left center;
}

.hc-tour {
  position: absolute; right: 4%; top: 8%; width: 122px;
  background: var(--surface-solid); border: 1px solid var(--border); border-radius: var(--r); box-shadow: var(--shadow-card);
  padding: 0.5rem; text-align: center;
}
.hc-tour .hct-label {
  font-size: 0.58rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 0.35rem;
}
.hc-tour .hct-thumb { position: relative; border-radius: 12px; overflow: hidden; }
.hc-tour .hct-thumb img { width: 100%; height: 72px; object-fit: cover; }
.hc-tour .hct-play {
  position: absolute; inset: 0; margin: auto; width: 30px; height: 30px; border-radius: 50%;
  background: var(--navy-deep); color: var(--pink); display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; box-shadow: 0 6px 16px rgba(3,12,24,0.5);
}
@media (max-width: 640px) {
  .hc-tour { width: 96px; right: 3%; top: 6%; }
  .hc-tour .hct-thumb img { height: 56px; }
  .hc-tour .hct-play { width: 24px; height: 24px; }
}

/* ===== HERO BOTTOM BAND (materials / stats / statement) ===== */
.hero-band {
  position: relative; z-index: 2; max-width: 1200px; margin: 3rem auto 0; padding: 0 1.25rem;
}
@media (max-width: 900px) { .hero-band { margin-top: 2.25rem; } }
.hb-grid {
  display: grid; grid-template-columns: 1.05fr 0.85fr 1.15fr; gap: 1.25rem; align-items: stretch;
}
@media (max-width: 900px) { .hb-grid { grid-template-columns: 1fr; gap: 1rem; } }

.hb-card {
  background: var(--surface-solid); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-card);
  padding: 1.5rem; display: flex; align-items: center; gap: 1rem;
}
.hb-card img { width: 84px; height: 84px; object-fit: cover; border-radius: var(--r); flex-shrink: 0; }
.hb-card h3 { font-size: 1.02rem; margin-bottom: 0.3rem; }
.hb-card p { color: var(--muted); font-size: 0.8rem; line-height: 1.6; }

.hb-stats {
  background: var(--navy-deep); border: 1px solid var(--border); color: var(--text); border-radius: var(--r-lg); box-shadow: var(--shadow-card);
  padding: 1.5rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.6rem; text-align: center;
}
.hb-avatars { display: flex; }
.hb-avatar {
  width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--navy-deep);
  display: flex; align-items: center; justify-content: center; font-size: 0.85rem; font-weight: 700; color: var(--navy-deep);
  margin-left: -10px;
}
.hb-avatar:first-child { margin-left: 0; }
.hb-avatar.a1 { background: var(--sky); }
.hb-avatar.a2 { background: var(--pink); }
.hb-avatar.a3 { background: var(--pink-deep); }
.hb-stats .hb-num { font-family: var(--font-display); font-size: 1.8rem; font-weight: 600; }
.hb-stats .hb-label { color: var(--muted); font-size: 0.78rem; }

.hb-statement {
  background: var(--surface-solid); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-card);
  padding: 1.75rem; display: flex; flex-direction: column; justify-content: center; gap: 0.9rem;
}
.hb-statement h2 {
  font-family: var(--font-body); font-weight: 700; letter-spacing: 0.01em;
  font-size: clamp(1.05rem, 2.1vw, 1.35rem); line-height: 1.4; text-transform: uppercase;
}
@media (max-width: 900px) {
  .hb-card, .hb-statement { text-align: center; flex-direction: column; }
  .hb-card img { width: 100%; height: 130px; }
}

/* spacer so content below the overlapping band doesn't collide */
.hero-spacer { height: 3rem; }
@media (max-width: 900px) { .hero-spacer { height: 2rem; } }

/* ===== FEATURES ===== */
.features { padding: 5rem 1.25rem; }
@media (max-width: 768px) { .features { padding: 3rem 1rem; } }
.feat-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
@media (max-width: 720px) { .feat-grid { grid-template-columns: 1fr; gap: 0.9rem; } }
.feat-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 1.75rem 1.6rem; transition: border-color 0.3s, transform 0.3s; box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.feat-card:hover { border-color: var(--sky); transform: translateY(-4px); }
.feat-icon {
  width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem; font-size: 1.5rem;
  background: rgba(79,168,214,0.16); border: 1px solid rgba(15,110,166,0.35);
}
.feat-card h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.feat-card p { font-family: var(--font-body); font-size: 0.87rem; color: var(--muted); line-height: 1.75; }

/* ===== 3ICON STRIP ===== */
.strip { padding: 1.5rem 1.25rem; }
.strip img { max-width: 1000px; margin: 0 auto; border-radius: var(--r-xl); width: 100%; box-shadow: var(--shadow-soft); }

/* ===== 2-COL CONTENT ===== */
.c2 { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 3.25rem; align-items: center; }
@media (max-width: 900px) { .c2 { gap: 2.25rem; } }
@media (max-width: 768px) { .c2 { grid-template-columns: 1fr; gap: 1.9rem; } .c2.flip > div:first-child { order: -1; } }
.c2 .tag { color: var(--sky); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 0.75rem; display: block; }
.c2 h2 { font-size: clamp(1.4rem, 3.2vw, 2rem); line-height: 1.3; margin-bottom: 1.1rem; }
.c2 p { color: var(--muted); font-size: 0.92rem; line-height: 1.9; margin-bottom: 1rem; }
.c2 img { border-radius: var(--r-xl); width: 100%; box-shadow: var(--shadow-card); }

/* ===== INFO CARD (H3 / generic) ===== */
.info-card {
  max-width: 860px; margin: 0 auto; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--r-xl); padding: 2.5rem; box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
@media (max-width: 768px) { .info-card { padding: 1.9rem 1.5rem; } }
@media (max-width: 479px) { .info-card { padding: 1.5rem 1.1rem; border-radius: var(--r-lg); } }
.info-card h3 { font-size: clamp(1.15rem, 3.2vw, 1.5rem); margin-bottom: 1.1rem; line-height: 1.3; }
.info-card p { color: var(--muted); font-size: 0.92rem; line-height: 1.9; }

/* ===== STEPS ===== */
.steps-wrap { max-width: 820px; margin: 0 auto; }
.steps-list { display: flex; flex-direction: column; gap: 1.5rem; }
.step-item { display: flex; gap: 1.25rem; align-items: flex-start; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 1.4rem 1.5rem; box-shadow: var(--shadow-soft); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.step-num {
  width: 38px; height: 38px; flex-shrink: 0; border-radius: 50%; background: var(--pink);
  color: var(--navy-deep); font-weight: 700; font-size: 1rem; font-family: var(--font-display);
  display: flex; align-items: center; justify-content: center;
}
.step-body h3 { font-size: 1rem; margin-bottom: 0.4rem; font-weight: 600; }
.step-body p { color: var(--muted); font-size: 0.87rem; line-height: 1.8; }
@media (max-width: 479px) { .step-item { gap: 0.9rem; padding: 1.1rem 1.15rem; } .step-num { width: 32px; height: 32px; font-size: 0.88rem; } }

/* ===== FAQ ===== */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 1.3rem 1.5rem; transition: border-color 0.3s; box-shadow: var(--shadow-soft); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.faq-item:hover { border-color: var(--sky); }
.faq-q { font-weight: 700; font-size: 0.95rem; margin-bottom: 0.55rem; }
.faq-q::before { content: 'Q  '; color: var(--sky); }
.faq-a { color: var(--muted); font-size: 0.865rem; line-height: 1.85; }
.faq-a::before { content: 'A  '; color: var(--pink-deep); font-weight: 700; }
@media (max-width: 479px) { .faq-item { padding: 1.05rem 1.15rem; } }

/* ===== CTA SECTION ===== */
.cta-section { padding: 5rem 1.25rem; }
.cta-panel {
  max-width: 1000px; margin: 0 auto; text-align: center; position: relative; overflow: hidden;
  background: var(--navy-deep); border: 1px solid var(--border); color: var(--text); border-radius: var(--r-xl);
  padding: 3.5rem 2rem; box-shadow: var(--shadow-card);
}
.cta-panel::before {
  content: ""; position: absolute; top: -30%; left: 50%; transform: translateX(-50%);
  width: 600px; height: 300px; background: radial-gradient(ellipse, rgba(79,168,214,0.3) 0%, transparent 70%);
  pointer-events: none;
}
.cta-panel .eyebrow { background: rgba(234,243,251,0.08); color: var(--sky); border-color: var(--border); }
.cta-panel h2 { position: relative; font-size: clamp(1.5rem, 4vw, 2.15rem); margin-bottom: 0.75rem; }
.cta-panel p { position: relative; color: var(--muted); margin-bottom: 2rem; font-size: 0.95rem; }
.cta-btns { position: relative; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
@media (max-width: 768px) { .cta-panel { padding: 2.5rem 1.5rem; } }
@media (max-width: 479px) { .cta-panel { padding: 2rem 1.1rem; border-radius: var(--r-lg); } }

/* ===== FOOTER ===== */
.footer { background: var(--navy-deep); color: var(--muted); border-top: 1px solid var(--border); padding: 3rem 1.25rem 2.25rem; text-align: center; }
.footer-logo { height: 38px; margin: 0 auto 1.25rem; }
.footer-desc { color: var(--muted); font-size: 0.85rem; line-height: 1.85; max-width: 640px; margin: 0 auto 1.25rem; }
.footer-copy { color: var(--dim); font-size: 0.76rem; }

/* ===== BOTTOM MOBILE NAV (flat, 5 items, horizontal logo peeking above) ===== */
.sticky-bar {
  display: none;
  position: fixed; bottom: 10px; left: 10px; right: 10px; z-index: 90;
  align-items: center; justify-content: space-between;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 9999px;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-soft);
  padding: 0.4rem;
}
@media (max-width: 768px) { .sticky-bar { display: flex; } }
.mnav-item {
  flex: 1 1 0; display: flex; align-items: center; justify-content: center;
  padding: 0.55rem 0.15rem; border-radius: 9999px; color: var(--text);
  font-size: 0.72rem; font-weight: 600; text-align: center; line-height: 1.1;
  text-shadow: 0 1px 8px rgba(3,12,24,0.55);
  -webkit-tap-highlight-color: transparent; transition: color 0.2s, background 0.2s;
}
.mnav-item:active { background: rgba(8,26,48,0.4); color: var(--text); }
.mnav-item.acc { color: var(--pink); font-weight: 700; }

/* mnav-center: flat horizontal logo, no circle/background, peeking above the bar */
.mnav-center {
  flex: 0 0 auto; display: flex; align-items: center; justify-content: center;
  padding: 0 0.5rem; transform: translateY(-22px);
  -webkit-tap-highlight-color: transparent; transition: transform 0.18s ease;
}
.mnav-center:active { transform: translateY(-22px) scale(0.93); }
.mnav-center img {
  height: 34px; width: auto; max-width: 128px; object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(3,12,24,0.5));
}
@media (max-width: 360px) { .mnav-center img { height: 28px; max-width: 108px; } }

/* ===== SECTION ALT BG ===== */
.bg-alt { background: rgba(10,26,48,0.4); }

/* ===== SCROLL REVEAL ===== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ===== SUB-PAGES ===== */
body.page-body { overflow-x: hidden; }
.page-main { min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 140px 1.25rem 6rem; text-align: center; gap: 1.75rem; position: relative; }
.page-h1 { font-size: clamp(1.3rem, 3.6vw, 1.9rem); line-height: 1.3; }
.action-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
@media (max-width: 360px) { .action-btns { flex-direction: column; align-items: center; } }
.page-content { max-width: 640px; margin: 0.5rem auto 0; text-align: left; color: var(--muted); font-size: 0.95rem; line-height: 1.85; }
.page-content h2 { color: var(--text); font-size: 1.15rem; line-height: 1.4; margin: 1.5rem 0 0.6rem; }
.page-content p { margin-bottom: 1rem; }
.page-content ul { padding-left: 1.25rem; margin: 0.5rem 0 1rem; }
.page-content li { margin-bottom: 0.5rem; }

/* ===== ARTICLE PAGE ===== */
.article-main { max-width: 780px; margin: 0 auto; padding: 140px 1.25rem 5rem; }
.article-main h1 { font-family: var(--font-display); font-size: clamp(1.5rem, 4.2vw, 2.1rem); line-height: 1.4; margin-bottom: 1rem; color: var(--text); }
.article-main .article-meta { color: var(--dim); font-size: 0.8rem; margin-bottom: 2rem; }
.article-main p { color: var(--muted); font-size: 0.95rem; line-height: 1.9; margin-bottom: 1.25rem; }
.article-main h2 { font-family: var(--font-display); font-size: clamp(1.15rem, 3vw, 1.4rem); margin: 2rem 0 1rem; color: var(--text); }

.article-cover { border-radius: var(--r-xl); overflow: hidden; margin-bottom: 2rem; box-shadow: var(--shadow-card); line-height: 0; }
.article-cover img { width: 100%; }

.article-tldr {
  background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--r-lg);
  padding: 1.5rem 1.75rem; margin-bottom: 2rem; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.article-tldr h2 { margin-top: 0; font-size: 1rem; color: var(--pink-deep); }
.article-tldr ul { margin: 0; padding-left: 1.25rem; color: var(--muted); font-size: 0.9rem; line-height: 1.95; }
.article-tldr li { margin-bottom: 0.35rem; }

.article-faq { margin-top: 2.5rem; }
