@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@600;700;800&family=Figtree:wght@400;500;600;700&display=swap');

/* =========================================================
   UJIAN SIMULASI — reka bentuk baharu
   Hijau pain pekat + hijau jed terang + emas.
   Motif: bulatan jawapan OMR (titik) pada latar gelap.
   ========================================================= */

:root {
  --ink: #07231d;
  --pine: #0e3d33;
  --pine-2: #14523f;
  --jade: #1fb985;
  --jade-deep: #0e8a63;
  --mint: #d9f5e9;
  --gold: #ffc83d;
  --gold-deep: #9a6b00;
  --paper: #f2f6f3;
  --white: #fff;
  --text: #0f231d;
  --muted: #55695f;
  --line: #dce6df;
  --font-display: 'Plus Jakarta Sans', 'Poppins', system-ui, sans-serif;
  --font-body: 'Figtree', 'Poppins', system-ui, sans-serif;
  --r-sm: 10px; --r-md: 16px; --r-lg: 24px; --r-xl: 32px;
  --shadow-md: 0 18px 40px -22px rgba(7, 35, 29, .35);
  --shadow-lg: 0 50px 90px -40px rgba(7, 35, 29, .6);
  --dots-dark: radial-gradient(circle, rgba(255,255,255,.09) 1.5px, transparent 1.6px);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-body); font-size: 1rem; line-height: 1.65;
  color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -.01em; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button, input { font: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.container { width: min(1160px, 100% - 40px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in-view { opacity: 1; transform: none; }

/* ============ Butang ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 22px; border: 0; border-radius: 999px; cursor: pointer;
  font-weight: 700; font-size: .95rem; line-height: 1.2;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 16px 30px; font-size: 1.02rem; }
.btn-primary { background: var(--gold); color: var(--ink); box-shadow: 0 10px 26px -10px rgba(255,200,61,.8); }
.btn-primary:hover { box-shadow: 0 16px 32px -10px rgba(255,200,61,.9); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.3); }
.btn-ghost:hover { background: rgba(255,255,255,.16); }
.play-icon { font-size: .7rem; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--jade); color: var(--ink); }
.btn-white { background: #fff; color: var(--ink); }
.btn-plan { width: 100%; background: var(--ink); color: #fff; }
.btn-plan:hover { background: var(--pine-2); }
.btn-plan.popular-btn { background: var(--gold); color: var(--ink); }

/* ============ Navigasi ============ */
.site-nav { position: absolute; inset: 0 0 auto; z-index: 50; padding: 18px 0; }
.nav-content { width: min(1160px, 100% - 40px); margin: 0 auto; display: flex; align-items: center; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; }
.logo-icon { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--gold), #ffe08a); color: var(--ink); font: 800 .95rem var(--font-display); transform: rotate(-6deg); }
.logo-text { font: 700 1.08rem var(--font-display); letter-spacing: -.01em; }
.nav-links { display: flex; gap: 6px; margin-left: auto; }
.nav-links a { padding: 8px 14px; border-radius: 999px; color: rgba(255,255,255,.78); font-weight: 600; font-size: .92rem; transition: background .2s, color .2s; }
.nav-links a:hover { background: rgba(255,255,255,.1); color: #fff; }
.nav-cta { padding: 10px 20px; }

/* ============ Hero ============ */
.hero { position: relative; overflow: hidden; color: #fff; background: var(--ink); padding: 150px 0 0; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--dots-dark) 0 0 / 26px 26px; -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 95%); mask-image: linear-gradient(180deg, #000 30%, transparent 95%); }
.hero-orb { position: absolute; z-index: -2; border-radius: 50%; filter: blur(90px); }
.hero-orb-one { width: 560px; height: 560px; top: -180px; right: -120px; background: rgba(31,185,133,.5); }
.hero-orb-two { width: 420px; height: 420px; bottom: -160px; left: -140px; background: rgba(255,200,61,.22); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.eyebrow-pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px; border-radius: 999px; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); font-size: .86rem; font-weight: 600; color: var(--mint); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--jade); box-shadow: 0 0 0 0 rgba(31,185,133,.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(31,185,133,0); } 100% { box-shadow: 0 0 0 0 rgba(31,185,133,0); } }
.hero-title { margin: 22px 0 20px; font-size: clamp(2.5rem, 6vw, 4.6rem); font-weight: 800; letter-spacing: -.025em; }
.gradient-text { background: linear-gradient(95deg, var(--gold), #fff0b8 60%, var(--jade)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-desc { max-width: 52ch; font-size: 1.12rem; color: rgba(255,255,255,.78); }
.hero-desc strong { color: #fff; font-weight: 700; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 26px; }
.mini-trust-row { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .9rem; font-weight: 600; color: var(--mint); }

/* Kad laporan */
.hero-visual { display: flex; justify-content: center; }
.result-mockup { width: min(430px, 100%); padding: 24px; border-radius: var(--r-xl); color: var(--text); background: #fff; box-shadow: var(--shadow-lg), 0 0 0 8px rgba(255,255,255,.07); transform: rotate(2deg); transition: transform .5s var(--ease); }
.result-mockup:hover { transform: rotate(0); }
.mockup-top { display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: .92rem; padding-bottom: 16px; border-bottom: 1px dashed var(--line); }
.mockup-top b { padding: 4px 12px; border-radius: 999px; background: var(--mint); color: var(--jade-deep); font-size: .72rem; letter-spacing: .04em; }
.mockup-score { display: flex; align-items: center; gap: 20px; padding: 20px 0; }
.mockup-score small { color: var(--muted); font-weight: 600; }
.mockup-score h3 { font-size: 1.3rem; margin: 2px 0 4px; }
.mockup-score p { font-size: .88rem; color: var(--muted); line-height: 1.45; }
.score-ring { flex: none; width: 108px; height: 108px; border-radius: 50%; display: grid; place-content: center; text-align: center; background: radial-gradient(circle, #fff 56%, transparent 57%), conic-gradient(var(--jade) 0 82%, var(--mint) 0); }
.score-ring strong { font: 800 2.1rem/1 var(--font-display); }
.score-ring small { color: var(--muted); font-size: .75rem; }
.mockup-metrics { display: grid; gap: 14px; }
.mockup-metrics > div { display: grid; grid-template-columns: 1fr auto; row-gap: 7px; font-size: .88rem; }
.mockup-metrics span { color: var(--muted); font-weight: 600; }
.mockup-metrics strong { font-weight: 700; }
.mockup-metrics i { grid-column: 1 / -1; height: 8px; border-radius: 99px; background: #e9f0ec; overflow: hidden; }
.mockup-metrics i b { display: block; width: var(--w); height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--jade), var(--gold)); }
.mockup-note { display: flex; gap: 12px; margin-top: 20px; padding: 14px 16px; border-radius: var(--r-md); background: #fff7df; font-size: .86rem; line-height: 1.5; }
.mockup-note > span { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--ink); font-weight: 800; font-size: .85rem; }

/* Jalur kepercayaan */
.trust-strip { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 70px; padding: 26px 34px; border-radius: var(--r-lg) var(--r-lg) 0 0; background: rgba(255,255,255,.06); box-shadow: inset 0 1px 0 rgba(255,255,255,.14); backdrop-filter: blur(6px); }
.trust-item { display: flex; flex-direction: column; align-items: center; text-align: center; flex: 1; }
.trust-item strong { font: 800 1.9rem/1.1 var(--font-display); color: var(--gold); }
.trust-item span { font-size: .85rem; color: rgba(255,255,255,.7); font-weight: 500; }
.trust-divider { width: 1px; height: 38px; background: rgba(255,255,255,.16); }

/* ============ Seksyen am ============ */
section { position: relative; }
.quick-benefits, .pricing, .faq { padding: 96px 0; }
.section-header { max-width: 680px; margin: 0 auto 52px; text-align: center; }
.section-kicker { display: inline-block; margin-bottom: 14px; padding: 5px 14px; border-radius: 999px; background: var(--mint); color: var(--jade-deep); font-weight: 700; font-size: .85rem; }
.section-kicker.light { background: rgba(255,255,255,.1); color: var(--gold); }
.section-title { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 800; }
.section-title.left, .section-desc.left { text-align: left; }
.section-desc { margin-top: 14px; font-size: 1.08rem; color: var(--muted); }

/* Kelebihan */
.benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.benefit-card { padding: 28px 24px; border-radius: var(--r-lg); background: #fff; box-shadow: 0 0 0 1px var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.benefit-card:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px var(--jade), var(--shadow-md); }
.benefit-icon { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 20px; border-radius: 16px; background: var(--pine); color: var(--gold); font: 800 1.35rem var(--font-display); }
.benefit-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.benefit-card p { color: var(--muted); font-size: .95rem; line-height: 1.55; }

/* Contoh mudah */
.simple-explain { padding: 0 0 96px; }
.simple-explain-card { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding: 56px; border-radius: var(--r-xl); color: #fff; background: var(--dots-dark) 0 0 / 26px 26px, linear-gradient(135deg, var(--pine), var(--ink)); box-shadow: var(--shadow-lg); }
.simple-copy h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; margin-bottom: 16px; }
.simple-copy p { color: rgba(255,255,255,.78); margin-bottom: 28px; max-width: 52ch; }
.consistency-demo { display: grid; gap: 10px; }
.q-card { padding: 18px 20px; border-radius: var(--r-md); background: #fff; color: var(--text); }
.q-card small { font-weight: 700; font-size: .72rem; letter-spacing: .06em; color: var(--muted); }
.q-card p { margin: 4px 0 12px; font-weight: 600; line-height: 1.4; }
.q-card strong { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--mint); color: var(--jade-deep); font-size: .78rem; }
.q-card + .q-arrow + .q-card strong { background: #ffe1dc; color: #b3261e; }
.q-arrow { text-align: center; color: var(--gold); font-weight: 800; font-size: 1.3rem; line-height: 1; }
.demo-result { padding: 12px 16px; border-radius: var(--r-md); background: rgba(255,200,61,.14); box-shadow: inset 0 0 0 1px rgba(255,200,61,.4); color: var(--gold); font-weight: 600; font-size: .9rem; text-align: center; }

/* Jawatan */
.job-fit { padding: 0 0 96px; }
.job-panel { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; padding: 48px; border-radius: var(--r-xl); background: var(--ink); color: #fff; }
.job-panel-copy h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; margin-bottom: 12px; }
.job-panel-copy p { color: rgba(255,255,255,.7); }
.api-status { display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; padding: 10px 18px; border-radius: 999px; background: rgba(255,255,255,.08); font-weight: 600; font-size: .92rem; }
.api-status > span { width: 9px; height: 9px; border-radius: 50%; background: var(--jade); animation: pulse 2s infinite; }
.api-status strong { color: var(--gold); font: 800 1.1rem var(--font-display); }
.job-panel-list { max-height: 380px; overflow-y: auto; padding-right: 6px; scrollbar-width: thin; scrollbar-color: var(--pine-2) transparent; }
.job-fit-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.job-fit-loading { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.7); }
.loading-spinner { width: 20px; height: 20px; border-radius: 50%; border: 3px solid rgba(255,255,255,.2); border-top-color: var(--gold); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.job-fit-card { position: relative; padding: 16px 44px 16px 18px; border-radius: var(--r-md); background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); transition: background .25s, box-shadow .25s; }
.job-fit-card:hover { background: rgba(31,185,133,.16); box-shadow: inset 0 0 0 1px var(--jade); }
.job-fit-number { font-size: .7rem; font-weight: 700; letter-spacing: .06em; color: var(--gold); }
.job-fit-title { margin-top: 4px; font: 600 1rem/1.3 var(--font-body); letter-spacing: 0; }
.job-fit-check { position: absolute; right: 14px; top: 50%; translate: 0 -50%; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--jade); color: var(--ink); font-size: .8rem; font-weight: 800; }

/* ============ Harga ============ */
.pricing { background: linear-gradient(180deg, var(--paper), #e7efe9); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; max-width: 1040px; margin: 0 auto; }
.pricing-card { position: relative; display: flex; flex-direction: column; padding: 34px 30px; border-radius: var(--r-xl); background: #fff; box-shadow: 0 0 0 1px var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.pricing-card:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px var(--jade), var(--shadow-md); }
.pricing-card.popular { background: var(--ink); color: #fff; box-shadow: 0 0 0 2px var(--gold), var(--shadow-lg); }
.pricing-badge { position: absolute; top: -15px; left: 50%; translate: -50% 0; padding: 6px 18px; border-radius: 999px; background: var(--gold); color: var(--ink); font-weight: 800; font-size: .8rem; white-space: nowrap; }
.pricing-top h3 { font-size: 1.6rem; margin: 12px 0 6px; }
.pricing-top p { color: var(--muted); font-size: .94rem; }
.popular .pricing-top p, .popular .price-caption { color: rgba(255,255,255,.7); }
.pricing-soalan { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--mint); color: var(--jade-deep); font-weight: 700; font-size: .8rem; }
.pricing-soalan.dark { background: rgba(255,200,61,.16); color: var(--gold); }
.pricing-price { display: flex; align-items: flex-start; gap: 4px; margin: 26px 0 2px; font-family: var(--font-display); }
.pricing-currency { margin-top: 10px; font-weight: 700; font-size: 1.2rem; color: var(--muted); }
.popular .pricing-currency { color: var(--gold); }
.pricing-amount { font-size: 4rem; font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.price-caption { color: var(--muted); font-size: .9rem; margin-bottom: 22px; }
.pricing-features { display: grid; gap: 11px; margin-bottom: 30px; padding-top: 22px; border-top: 1px dashed rgba(127,150,140,.4); flex: 1; align-content: start; }
.pricing-features li { display: flex; gap: 12px; align-items: center; font-weight: 500; font-size: .96rem; }
.pricing-features li span { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--mint); color: var(--jade-deep); font-size: .72rem; font-weight: 800; }
.popular .pricing-features li span { background: var(--gold); color: var(--ink); }
.pricing-assurance { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin-top: 48px; color: var(--muted); font-weight: 600; font-size: .92rem; }

/* ============ FAQ ============ */
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.text-link { display: inline-block; margin-top: 20px; font-weight: 700; color: var(--jade-deep); border-bottom: 2px solid var(--gold); }
.faq-list { display: grid; gap: 12px; }
.faq-item { border-radius: var(--r-md); background: #fff; box-shadow: 0 0 0 1px var(--line); transition: box-shadow .3s; }
.faq-item.open { box-shadow: 0 0 0 2px var(--jade), var(--shadow-md); }
.faq-question { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 20px 24px; border: 0; background: none; cursor: pointer; text-align: left; font-weight: 700; font-size: 1.04rem; color: var(--text); }
.faq-icon { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--mint); color: var(--jade-deep); font-size: 1.2rem; transition: transform .3s var(--ease), background .3s; }
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--gold); color: var(--ink); }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.faq-item.open .faq-answer { grid-template-rows: 1fr; }
.faq-answer > div { overflow: hidden; padding: 0 24px; color: var(--muted); }
.faq-item.open .faq-answer > div { padding-bottom: 22px; }

/* ============ Kaki ============ */
footer { padding: 40px 0; background: var(--ink); color: rgba(255,255,255,.7); }
.footer-content { width: min(1160px, 100% - 40px); margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.footer-copy { font-size: .88rem; }
.footer-links { display: flex; gap: 22px; font-weight: 600; font-size: .9rem; }
.footer-links a:hover { color: var(--gold); }

.mobile-sticky-cta { display: none !important; }

/* ============ Popup ============ */
.popup-overlay { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(7,35,29,.7); backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.popup-overlay.active { opacity: 1; visibility: visible; }
.popup-container { position: relative; width: min(430px, 100%); padding: 40px 32px 32px; border-radius: var(--r-xl); background: #fff; text-align: center; box-shadow: var(--shadow-lg); transform: translateY(20px) scale(.96); transition: transform .4s var(--ease); }
.popup-overlay.active .popup-container { transform: none; }
.popup-close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--paper); color: var(--muted); font-size: 1.4rem; line-height: 1; cursor: pointer; transition: background .2s; }
.popup-close:hover { background: var(--mint); }
.popup-icon, .popup-success-icon { width: 62px; height: 62px; margin: 0 auto 18px; border-radius: 20px; display: grid; place-items: center; background: var(--pine); color: var(--gold); font-size: 1.3rem; transform: rotate(-6deg); }
.popup-success-icon { background: var(--jade); color: var(--ink); font-size: 1.7rem; font-weight: 800; border-radius: 50%; transform: none; }
.popup-title { font-size: 1.6rem; font-weight: 800; margin-bottom: 8px; }
.popup-desc { color: var(--muted); margin-bottom: 22px; }
.popup-form { display: grid; gap: 12px; }
.popup-input { width: 100%; padding: 15px 18px; border: 0; border-radius: var(--r-md); background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line); transition: box-shadow .2s; }
.popup-input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--jade); background: #fff; }
.popup-submit { width: 100%; padding: 15px 20px; border: 0; border-radius: 999px; background: var(--gold); color: var(--ink); font-weight: 800; cursor: pointer; transition: transform .2s, opacity .2s; }
.popup-submit:hover:not(:disabled) { transform: translateY(-2px); }
.popup-submit:disabled { opacity: .6; cursor: wait; }
.popup-note { margin-top: 14px; font-size: .8rem; color: var(--muted); }

/* ============ Responsif ============ */
@media (max-width: 980px) {
  .hero-grid, .simple-explain-card, .job-panel, .faq-layout { grid-template-columns: 1fr; }
  .hero-grid { gap: 44px; }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; }
  .pricing-card.popular { order: -1; }
  .simple-explain-card, .job-panel { padding: 36px 28px; }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; padding: 9px 16px; font-size: .88rem; }
  .hero { padding-top: 112px; }
  .result-mockup { transform: none; }
  .trust-strip { flex-wrap: wrap; justify-content: center; margin-top: 48px; padding: 22px 16px; }
  .trust-item { flex: 1 1 40%; padding: 8px 0; }
  .trust-divider { display: none; }
  .quick-benefits, .pricing, .faq { padding: 68px 0; }
  .simple-explain, .job-fit { padding-bottom: 68px; }
  .benefit-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 100%; }
  .footer-content { justify-content: center; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
/* ============ Kad Ajak Rakan — bawah pricing ============ */
.referral-invite {
  margin-top: 28px; padding: 28px 32px; border: 1px solid #cce6d8;
  border-radius: var(--r-lg); background: #fff;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; box-shadow: var(--shadow-md);
}
.referral-invite-copy { max-width: 660px; }
.referral-invite-label { display: inline-block; margin-bottom: 9px; font-weight: 800; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--jade-deep); }
.referral-invite h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); margin-bottom: 8px; color: var(--ink); }
.referral-invite p { color: var(--muted); font-size: .95rem; line-height: 1.65; }
.referral-invite-cta { flex-shrink: 0; background: var(--pine); color: #fff; padding: 13px 23px; border-radius: 999px; white-space: nowrap; font-weight: 800; }
.referral-invite-cta:hover { background: var(--pine-2); transform: translateY(-2px); }
@media (max-width: 760px) {
  .referral-invite { flex-direction: column; align-items: stretch; padding: 24px 22px; gap: 18px; }
  .referral-invite-cta { text-align: center; justify-content: center; }
}
