/* ===========================================================
   Teo Ko Yong — Financial Advisor
   Classic & trustworthy theme: navy + gold, serif headings
   =========================================================== */

:root {
  --navy: #102a43;
  --navy-deep: #0a1d30;
  --navy-soft: #1c3d5a;
  --gold: #c9a227;
  --gold-soft: #e2c878;
  --ink: #1f2933;
  --slate: #52606d;
  --mist: #f5f7fa;
  --line: #e1e7ec;
  --white: #ffffff;
  --max: 1140px;
  --radius: 8px;
  --shadow: 0 10px 30px rgba(16, 42, 67, 0.08);
  --serif: "Georgia", "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  line-height: 1.65;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1rem; }

a { color: var(--navy-soft); text-decoration: none; }
a:hover { color: var(--gold); }

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

.section { padding: 84px 0; }
.section--mist { background: var(--mist); }
.section__intro { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 12px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.97rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
}
.btn--gold { background: var(--gold); color: var(--navy-deep); }
.btn--gold:hover { background: var(--gold-soft); color: var(--navy-deep); }
.btn--outline { background: transparent; border-color: var(--white); color: var(--white); }
.btn--outline:hover { background: var(--white); color: var(--navy); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-soft); color: var(--white); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.01em;
  position: relative;
  display: inline-block;
  padding-left: 52px;
}
.brand::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: url("../assets/logo.svg") center / contain no-repeat;
}
.brand span { color: var(--gold); }
.brand small {
  display: block;
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--slate);
  font-weight: 600;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--ink);
  font-weight: 500;
  font-size: 0.96rem;
  position: relative;
}
.nav-links a.active, .nav-links a:hover { color: var(--navy); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 2px;
  background: var(--gold);
}
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 1.6rem;
  color: var(--navy);
  cursor: pointer;
}

/* Services dropdown */
.has-drop { position: relative; }
.has-drop > a .caret { margin-left: 4px; vertical-align: middle; transition: transform 0.2s ease; }
.has-drop:hover > a .caret, .has-drop:focus-within > a .caret { transform: rotate(180deg); }
.drop {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 8px;
  min-width: 240px;
  list-style: none;
  margin: 0;
  display: none;
  z-index: 60;
}
.drop::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.has-drop:hover .drop, .has-drop:focus-within .drop { display: block; }
.drop a { display: block; padding: 10px 14px; border-radius: 6px; font-size: 0.93rem; white-space: nowrap; }
.drop a:hover { background: var(--mist); color: var(--navy); }
@media (max-width: 1024px) {
  .drop {
    position: static;
    display: block;
    transform: none;
    border: 0;
    box-shadow: none;
    padding: 8px 0 0 18px;
    min-width: 0;
  }
  .has-drop > a .caret { display: none; }
}

/* Language switch */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 12px;
}
.lang-switch a { color: var(--slate); font-weight: 700; }
.lang-switch a:hover { color: var(--gold); }
.lang-switch a.lang-active { color: var(--navy); }
.lang-switch .sep { color: var(--line); }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy-soft));
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -120px; top: -120px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(201,162,39,0.22), transparent 70%);
}
.hero .container { position: relative; z-index: 2; }
.hero-inner { padding: 96px 0; max-width: 720px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.hero-photo { padding: 48px 0; }
.hero-photo img {
  display: block;
  width: 100%;
  max-width: 360px;
  margin-left: auto;
  border-radius: 14px;
  border: 1px solid rgba(201, 162, 39, 0.45);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4), 0 0 0 6px rgba(255, 255, 255, 0.04);
}
.hero h1 { color: var(--white); }
.hero p.lead { font-size: 1.18rem; color: #d7e2ee; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.page-hero { padding: 72px 0; }
.page-hero p.lead { font-size: 1.1rem; color: #d7e2ee; max-width: 640px; }

/* ---------- Trust bar ---------- */
.trustbar {
  background: var(--navy-deep);
  color: #cdd9e5;
  padding: 22px 0;
}
.trustbar .container {
  display: flex;
  justify-content: space-around;
  gap: 24px;
  flex-wrap: wrap;
  text-align: center;
}
.trust-stat strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.9rem;
  color: var(--gold-soft);
}
.trust-stat span { font-size: 0.85rem; letter-spacing: 0.04em; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 28px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.card .icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: var(--mist);
  border-radius: 50%;
  color: var(--gold);
  margin-bottom: 18px;
  font-size: 1.4rem;
}
.icon svg, .ic svg { display: block; }
.lock-ic svg { width: 28px; height: 28px; }
.nav-toggle svg { display: block; width: 26px; height: 26px; }
.card h3 { color: var(--navy); }
.card ul { margin: 12px 0 0; padding-left: 18px; color: var(--slate); }
.card ul li { margin-bottom: 6px; }
.price { font-family: var(--serif); font-size: 1.5rem; color: var(--navy); margin-top: 8px; }
.price small { font-size: 0.8rem; color: var(--slate); font-family: var(--sans); }

/* ---------- About split ---------- */
.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.portrait {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--navy-soft), var(--navy));
  display: grid; place-items: center;
  color: #9fb3c8;
  font-size: 0.9rem;
  text-align: center;
  box-shadow: var(--shadow);
}
.credentials { list-style: none; padding: 0; margin: 18px 0 0; }
.credentials li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  display: flex; gap: 12px; align-items: flex-start;
}
.credentials li::before { content: "✓"; color: var(--gold); font-weight: 700; flex: none; }
.credentials li span { flex: 1; min-width: 0; }
/* Value lists: bold label in a fixed column so descriptions start on the same line */
.credentials li strong { flex: 0 0 7em; }
:lang(zh-Hans) .credentials li strong { flex-basis: 4.5em; }

/* ---------- Testimonials ---------- */
.quote {
  background: var(--white);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 28px 30px;
  box-shadow: var(--shadow);
}
.quote p { font-style: italic; color: var(--ink); font-size: 1.05rem; }
.quote .who { font-style: normal; font-weight: 700; color: var(--navy); margin-top: 10px; }
.quote .who span { display: block; font-weight: 400; color: var(--slate); font-size: 0.88rem; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; }
.step { display: flex; gap: 20px; margin-bottom: 28px; }
.step .num {
  flex: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-soft);
  font-family: var(--serif);
  font-size: 1.2rem;
  display: grid; place-items: center;
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--navy);
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.97rem;
  color: var(--ink);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,162,39,0.15);
}
.consent,
.form-field label.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--slate);
  line-height: 1.55;
  cursor: pointer;
  font-weight: 400;
}
.consent input {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  flex: none;
  accent-color: var(--gold);
}
.reply-promise {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--slate);
  margin: 14px 0 0;
}
.reply-promise svg { color: var(--gold); flex: none; }
.contact-detail { display: flex; gap: 14px; margin-bottom: 22px; }
.contact-detail .ic {
  flex: none; width: 42px; height: 42px;
  background: var(--mist); border-radius: 50%;
  display: grid; place-items: center; color: var(--gold); font-size: 1.1rem;
}
.contact-detail strong { display: block; color: var(--navy); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--navy), var(--navy-soft));
  color: var(--white);
  text-align: center;
  padding: 72px 0;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: #d7e2ee; max-width: 560px; margin: 0 auto 28px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: #9fb3c8;
  padding: 56px 0 28px;
  font-size: 0.92rem;
}
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.site-footer h4 { color: var(--white); font-family: var(--sans); font-size: 0.95rem; letter-spacing: 0.05em; }
.site-footer a { color: #9fb3c8; display: block; padding: 4px 0; }
.site-footer a:hover { color: var(--gold-soft); }
.footer-brand { font-family: var(--serif); font-size: 1.3rem; color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 20px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 0.82rem;
}
.disclaimer { font-size: 0.78rem; color: #7a8a99; margin-top: 14px; line-height: 1.55; }

/* ---------- Pain points ---------- */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  max-width: 940px;
  margin: 0 auto;
}
.pain {
  background: var(--white);
  border-left: 3px solid var(--gold);
  border-radius: 6px;
  padding: 16px 20px;
  box-shadow: var(--shadow);
  font-size: 0.98rem;
  color: var(--ink);
}
.pain span { color: var(--slate); display: block; font-size: 0.86rem; margin-top: 4px; }

/* ---------- Alongside / advisers row ---------- */
.alongside {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 8px;
}
.alongside li {
  list-style: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
}

/* ---------- Community gate ---------- */
.gate {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 48px 40px;
}
.gate .lock-ic {
  width: 64px; height: 64px;
  margin: 0 auto 18px;
  display: grid; place-items: center;
  background: var(--mist);
  border-radius: 50%;
  color: var(--gold);
  font-size: 1.8rem;
}
.gate-form { margin-top: 22px; }
.gate-form input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1.05rem;
  text-align: center;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.gate-form input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,162,39,0.15);
}
.gate-form .btn { width: 100%; margin-top: 14px; }
.gate-error { color: #b00020; display: none; font-size: 0.9rem; margin-top: 12px; }
.gate-help { font-size: 0.85rem; color: var(--slate); margin-top: 18px; }

/* ---------- Insights: Instagram embeds ---------- */
.insta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
  justify-items: center;
  align-items: start;
}
.insta-grid blockquote.instagram-media {
  min-width: 0 !important;
  width: 100% !important;
  max-width: 420px !important;
  margin: 0 !important;
  background: var(--white);
  border: 1px solid var(--line) !important;
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow) !important;
  padding: 24px !important;
}
.insta-grid blockquote.instagram-media a { color: var(--navy-soft); font-weight: 600; }

/* ---------- Insights: Xiaohongshu note cards ---------- */
.xhs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.xhs-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid #ff2442;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px;
  color: var(--ink);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.xhs-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(16, 42, 67, 0.14); color: var(--ink); }
.xhs-cover {
  margin: -26px -26px 18px;
  border-radius: 5px 5px 0 0;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--mist);
}
.xhs-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
  transition: transform 0.35s ease;
}
.xhs-card:hover .xhs-cover img { transform: scale(1.04); }
.xhs-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ff2442;
  margin-bottom: 12px;
}
.xhs-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.xhs-card p { font-size: 0.92rem; color: var(--slate); margin-bottom: 14px; }
.xhs-open { font-weight: 700; font-size: 0.88rem; color: #ff2442; }
@media (max-width: 860px) { .xhs-grid { grid-template-columns: 1fr; } }

/* ---------- Kommunity vault (dark) ---------- */
.vault-shell {
  background: linear-gradient(180deg, var(--navy-deep), #0d2136);
  border: 1px solid rgba(201, 162, 39, 0.25);
  border-radius: 16px;
  padding: 48px 36px;
  color: #c9d6e2;
}
.v-intro {
  max-width: 560px;
  margin: 0 auto 40px;
  text-align: center;
  font-size: 1.05rem;
  color: #d7e2ee;
}
.cat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cat-card {
  border: 1px solid rgba(201, 162, 39, 0.35);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  padding: 44px 28px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.cat-card:hover { border-color: var(--gold); background: rgba(201, 162, 39, 0.06); transform: translateY(-3px); }
.cat-card h3 { font-family: var(--serif); color: var(--gold-soft); font-size: 1.6rem; margin-bottom: 10px; }
.cat-card p { color: #c9d6e2; margin-bottom: 18px; }
.enter-link, .reveal-link {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.v-back {
  background: none; border: 0; cursor: pointer;
  color: #c9d6e2; font-size: 0.9rem; padding: 0; margin-bottom: 20px;
}
.v-back:hover { color: var(--gold-soft); }
.vtabs {
  display: flex;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 4px;
  gap: 4px;
  margin-bottom: 16px;
}
.vtab {
  flex: 1;
  background: none; border: 0; cursor: pointer;
  padding: 11px 8px;
  border-radius: 7px;
  color: #c9d6e2;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.2s ease;
}
.vtab.active { background: var(--gold); color: var(--navy-deep); }
.vtab:not(.active):hover { color: var(--gold-soft); }
.vsearch {
  display: flex; align-items: center; gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 22px;
  color: #8fa3b5;
}
.vsearch input {
  flex: 1; background: none; border: 0; outline: none;
  color: #eaf1f7; font-size: 0.98rem; font-family: inherit;
}
.vsearch input::placeholder { color: #7a8fa1; }
.pcount {
  font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: #8fa3b5; margin-bottom: 18px;
}
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pcard {
  display: flex; gap: 16px; align-items: flex-start;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  padding: 22px;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.pcard:hover { border-color: var(--gold); transform: translateY(-3px); }
.plogo {
  flex: none;
  width: 54px; height: 54px;
  border-radius: 12px;
  background: #f4f6f8;
  color: var(--navy);
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.25rem;
  display: grid; place-items: center;
}
.plogo--lg { width: 68px; height: 68px; font-size: 1.5rem; margin: 0 auto 14px; border: 2px solid var(--gold); }
.plogo--img { padding: 7px; background: #fff; }
.plogo--img img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.pbody { min-width: 0; }
.prow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.pcard h3 { font-family: var(--serif); color: #fff; font-size: 1.15rem; margin: 0; }
.pbadge {
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold-soft);
  border: 1px solid rgba(201, 162, 39, 0.5);
  border-radius: 999px;
  padding: 3px 10px;
  white-space: nowrap;
}
.pcard p { font-size: 0.9rem; color: #c9d6e2; margin-bottom: 10px; }
.v-disclaimer {
  font-size: 0.76rem; color: #7a8fa1; line-height: 1.55;
  margin: 36px 0 0; text-align: center;
}

/* Partner modal */
.pmodal-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(4, 10, 18, 0.82);
  display: grid; place-items: center;
  padding: 20px;
  overflow-y: auto;
}
.pmodal {
  position: relative;
  width: 100%; max-width: 560px;
  max-height: 90vh; overflow-y: auto;
  background: linear-gradient(180deg, #0e2033, #0a1826);
  border: 1px solid rgba(201, 162, 39, 0.35);
  border-radius: 16px;
  padding: 36px 32px;
  color: #c9d6e2;
  text-align: center;
}
.pmodal-x {
  position: absolute; top: 14px; right: 18px;
  background: none; border: 0; cursor: pointer;
  color: #8fa3b5; font-size: 1.6rem; line-height: 1;
}
.pmodal-x:hover { color: #fff; }
.pbadge--top { position: absolute; top: 20px; left: 24px; }
.pmodal h3 { font-family: var(--serif); color: #fff; font-size: 1.6rem; margin: 0 0 4px; }
.arrangement {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 26px;
}
.pm-hdr {
  font-family: var(--serif);
  font-size: 0.95rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: #eaf1f7; text-align: left; margin: 22px 0 10px;
}
.pm-about {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 16px 18px;
  text-align: left;
}
.pm-about p { margin: 0; font-size: 0.93rem; }
.deal-box {
  border: 1px solid rgba(201, 162, 39, 0.55);
  border-radius: 10px;
  padding: 18px 20px;
  margin-bottom: 12px;
}
.deal-box h4 {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 10px;
}
.deal-box p { font-size: 0.9rem; margin: 8px 0 0; }
.deal-lock { display: flex; align-items: flex-start; justify-content: center; gap: 8px; }
.deal-lock svg { flex: none; margin-top: 3px; color: var(--gold-soft); }
.code-chip {
  display: inline-block;
  border: 1px dashed var(--gold);
  border-radius: 8px;
  background: rgba(201, 162, 39, 0.12);
  color: var(--gold-soft);
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 8px 18px;
}
.code-chip span {
  display: block;
  font-size: 0.62rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: #8fa3b5; margin-bottom: 2px;
}
.deal-link { display: inline-block; margin-top: 10px; color: var(--gold-soft); font-weight: 600; }
.deal-link:hover { color: var(--gold); }
.deal-box a { color: var(--gold-soft); }
.deal-box a:hover { color: var(--gold); }
.reveal-promo {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: 16px;
  background: linear-gradient(135deg, #a97f24 0%, #e8c96a 48%, #c9a227 100%);
  color: var(--navy-deep);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  padding: 15px 18px;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 6px 22px rgba(201, 162, 39, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.reveal-promo:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(201, 162, 39, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.reveal-promo:active { transform: translateY(0); }
.reveal-promo svg { flex: none; }
.reveal-promo::after {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 55%;
  height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg);
  animation: shine 3s ease-in-out infinite;
  pointer-events: none;
}
@keyframes shine {
  0% { left: -80%; }
  55% { left: 130%; }
  100% { left: 130%; }
}
.code-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  border: 1.5px dashed var(--gold);
  border-radius: 10px;
  background: rgba(201, 162, 39, 0.1);
  padding: 13px 18px;
  animation: codeIn 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.3) both;
}
@keyframes codeIn {
  from { opacity: 0; transform: scale(0.92) translateY(8px); }
  to   { opacity: 1; transform: none; }
}
.code-val {
  font-weight: 800;
  letter-spacing: 0.28em;
  color: var(--gold-soft);
  font-size: 1.15rem;
  text-shadow: 0 0 18px rgba(226, 200, 120, 0.35);
}
.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  padding: 8px 14px;
  color: #d7e2ee;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.copy-btn:hover {
  color: var(--gold-soft);
  border-color: var(--gold-soft);
  background: rgba(201, 162, 39, 0.12);
}
@media (prefers-reduced-motion: reduce) {
  .reveal-promo::after { animation: none; display: none; }
  .code-row { animation: none; }
}
.pm-site {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 18px 0 20px;
  color: #c9d6e2;
}
.pm-site:hover { color: var(--gold-soft); }
.pm-close { display: block; width: 100%; }

@media (max-width: 860px) {
  .vault-shell { padding: 32px 18px; }
  .cat-grid, .pgrid { grid-template-columns: 1fr; }
}

/* ---------- Perk cards ---------- */
.perk { position: relative; }
.perk .tag {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold);
  background: var(--mist);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.perk .offer {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--navy);
  margin: 8px 0;
}
.perk .redeem {
  font-size: 0.85rem;
  color: var(--slate);
  border-top: 1px dashed var(--line);
  padding-top: 12px;
  margin-top: 14px;
}

/* ---------- Social icon row ---------- */
.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}
.social-row a {
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--navy-soft);
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.social-row a:hover {
  color: var(--gold);
  border-color: var(--gold);
  transform: translateY(-2px);
}
.social-row svg { width: 18px; height: 18px; display: block; }
.social-row a.xhs-btn { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em; white-space: nowrap; }
.site-footer .social-row a { border-color: rgba(255, 255, 255, 0.25); color: #b9c8d6; }
.site-footer .social-row a:hover { color: var(--gold-soft); border-color: var(--gold-soft); }

/* ---------- Motion ---------- */
/* Scroll reveal: .reveal is added by JS, so no-JS visitors see everything instantly */
.reveal { opacity: 0; }
.reveal.in { animation: rise 0.6s ease var(--d, 0ms) both; }
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

/* Hover lift on cards */
.card { transition: transform 0.25s ease, box-shadow 0.25s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(16, 42, 67, 0.14); }
.quote { transition: transform 0.25s ease, box-shadow 0.25s ease; }
.quote:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(16, 42, 67, 0.12); }

/* Slow drift on the hero's gold glow */
@keyframes glowDrift {
  0%   { transform: translate(0, 0) scale(1); opacity: 1; }
  50%  { transform: translate(-50px, 36px) scale(1.18); opacity: 0.85; }
  100% { transform: translate(24px, -20px) scale(1.06); opacity: 1; }
}
.hero::after { animation: glowDrift 16s ease-in-out infinite alternate; }

/* Respect users who prefer less motion */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.in { opacity: 1 !important; animation: none !important; }
  .hero::after { animation: none; }
  .card, .quote { transition: none; }
  .card:hover, .quote:hover { transform: none; }
}

/* ---------- Responsive ---------- */
/* Collapse the nav to a hamburger early enough that the extra links never crowd */
@media (max-width: 1024px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 76px; left: 0; right: 0;
    flex-direction: column;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 16px 24px;
    gap: 14px;
    display: none;
  }
  .nav-links.open { display: flex; }
}

@media (max-width: 860px) {
  .grid--3, .grid--2, .contact-grid, .split, .footer-grid, .pain-grid { grid-template-columns: 1fr; }
  .split { gap: 32px; }
  .section { padding: 60px 0; }
  .hero-inner { padding: 64px 0 32px; }
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-photo { padding: 0 0 56px; }
  .hero-photo img { margin: 0 auto; max-width: 300px; }
}

/* Small phones */
@media (max-width: 560px) {
  .hero-inner { padding: 52px 0; }
  .page-hero { padding: 52px 0; }
  .hero p.lead, .page-hero p.lead { font-size: 1.05rem; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; text-align: center; }
  .trustbar .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 12px;
  }
  .trust-stat strong { font-size: 1.5rem; }
  .card { padding: 26px 22px; }
  .gate { padding: 36px 22px; }
  .cta-band { padding: 56px 0; }
  .cta-band .btn { width: 100%; max-width: 320px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }
}
