/* ==========================================================================
   GoldLab marketing site — design system
   Palette: deep charcoal/navy + gold accent, warm off-white sections
   ========================================================================== */

:root {
  /* Colors */
  --ink:        #14161c;   /* near-black headings/footer */
  --ink-2:      #1d2230;   /* dark surface */
  --ink-soft:   #2a3040;
  --gold:       #c9a227;   /* primary accent */
  --gold-2:     #e3c25a;   /* lighter gold */
  --gold-deep:  #a8851a;
  --text:       #23262e;
  --muted:      #5b6170;
  --line:       #e7e3d8;
  --bg:         #ffffff;
  --bg-warm:    #faf7ef;   /* warm off-white section */
  --bg-dark:    #14161c;
  --white:      #ffffff;
  --success:    #1f9d63;

  /* Type */
  --font-head: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --container: 1140px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 10px rgba(20, 22, 28, .06);
  --shadow: 0 18px 50px -20px rgba(20, 22, 28, .25);
  --shadow-gold: 0 16px 40px -16px rgba(201, 162, 39, .55);
  --t: .25s cubic-bezier(.4, 0, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; font-weight: 700; letter-spacing: -.01em; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 22px; }
.section { padding: 84px 0; }
.section--warm { background: var(--bg-warm); }
.section--dark { background: var(--bg-dark); color: #d7dae3; }
.section--tight { padding: 56px 0; }
.center { text-align: center; }
.narrow { max-width: 720px; margin-inline: auto; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 14px;
}
.section--dark .eyebrow { color: var(--gold-2); }
.h-xl { font-size: clamp(2.1rem, 5vw, 3.4rem); }
.h-lg { font-size: clamp(1.8rem, 3.6vw, 2.5rem); }
.lead { font-size: 1.18rem; color: var(--muted); }
.section--dark .lead { color: #aeb4c2; }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  padding: 14px 26px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: var(--t); white-space: nowrap;
}
.btn--gold { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #2a2200; box-shadow: var(--shadow-gold); }
.btn--gold:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-deep); }
.btn--ghost-light { background: transparent; border-color: rgba(255,255,255,.25); color: #fff; }
.btn--ghost-light:hover { border-color: var(--gold-2); color: var(--gold-2); }
.btn--lg { padding: 17px 34px; font-size: 1.08rem; }
.btn--block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.85); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 26px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 1.32rem; color: var(--ink); }
.brand__mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, var(--gold-2), var(--gold-deep));
  display: grid; place-items: center; color: #2a2200; font-weight: 800; font-size: 1.05rem;
  box-shadow: var(--shadow-gold);
}
.nav__links { display: flex; gap: 22px; margin-left: 14px; }
.nav__links a { font-weight: 500; font-size: .98rem; color: var(--ink-soft); transition: color var(--t); }
.nav__links a:hover { color: var(--gold-deep); }
.nav__cta { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.nav__login { font-family: var(--font-head); font-weight: 600; font-size: .96rem; }
.nav__login:hover { color: var(--gold-deep); }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: var(--t); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 70px 0 90px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(1100px 480px at 78% -8%, rgba(201,162,39,.13), transparent 60%),
    radial-gradient(800px 420px at 0% 100%, rgba(201,162,39,.06), transparent 55%);
}
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 4.8vw, 3.6rem); }
.hero p.lead { margin-top: 20px; }
.hero__cta { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hero__note { margin-top: 18px; font-size: .92rem; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.hero__note svg { color: var(--success); flex-shrink: 0; }

/* App mockup (sanitized, demo data only — no proprietary method shown) */
.mock {
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  box-shadow: var(--shadow); overflow: hidden; transform: rotate(.5deg);
}
.mock__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: var(--bg-warm); border-bottom: 1px solid var(--line); }
.mock__bar i { width: 11px; height: 11px; border-radius: 50%; background: #d9d4c4; display: inline-block; }
.mock__bar i:nth-child(1){ background:#e8a; opacity:.5 }
.mock__title { margin-left: auto; font-size: .78rem; color: var(--muted); font-family: var(--font-head); }
.mock__body { padding: 22px; }
.mock__row { display: flex; justify-content: space-between; align-items: center; padding: 13px 0; border-bottom: 1px dashed var(--line); }
.mock__row:last-child { border: 0; }
.mock__row span:first-child { color: var(--muted); font-size: .92rem; }
.mock__row span:last-child { font-family: var(--font-head); font-weight: 600; }
.mock__result {
  margin-top: 14px; padding: 16px 18px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(227,194,90,.16), rgba(201,162,39,.08));
  border: 1px solid rgba(201,162,39,.3);
  display: flex; justify-content: space-between; align-items: center;
}
.mock__result b { font-family: var(--font-head); font-size: 1.5rem; color: var(--gold-deep); }
.mock__badge { font-size: .72rem; font-weight: 600; color: var(--gold-deep); background: rgba(201,162,39,.16); padding: 5px 11px; border-radius: 999px; font-family: var(--font-head); }

/* ---------- Trust bar ---------- */
.trust { padding: 26px 0; border-block: 1px solid var(--line); background: var(--bg-warm); }
.trust__inner { display: flex; align-items: center; justify-content: center; gap: 38px; flex-wrap: wrap; color: var(--muted); font-size: .95rem; }
.trust__inner strong { color: var(--ink); }
.stars { color: var(--gold); letter-spacing: 2px; }

/* ---------- Section heading ---------- */
.sec-head { max-width: 660px; margin: 0 auto 50px; text-align: center; }
.sec-head p { margin-top: 14px; color: var(--muted); font-size: 1.1rem; }

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

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; transition: var(--t); height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(201,162,39,.4); }
.card__icon {
  width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(227,194,90,.22), rgba(201,162,39,.12));
  color: var(--gold-deep); margin-bottom: 18px;
}
.card h3 { font-size: 1.22rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .98rem; }
.card a.card__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; color: var(--gold-deep); font-family: var(--font-head); font-weight: 600; font-size: .92rem; }
.card a.card__link:hover { gap: 10px; }

/* problem cards */
.prob { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.prob__item { background: #fff; border:1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.prob__pain { font-family: var(--font-head); font-weight:600; color: var(--ink); font-size: 1.08rem; display:flex; gap:10px; align-items:flex-start; }
.prob__pain::before { content:"✕"; color:#c0492f; font-weight:700; }
.prob__fix { margin-top: 12px; color: var(--muted); display:flex; gap:10px; align-items:flex-start; }
.prob__fix::before { content:"✓"; color: var(--success); font-weight:800; }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; counter-reset: step; }
.steps--4 { grid-template-columns: repeat(4,1fr); }
.step { position: relative; padding: 30px 24px; background:#fff; border:1px solid var(--line); border-radius: var(--radius); }
.step__num {
  counter-increment: step; width: 42px; height: 42px; border-radius: 50%;
  background: var(--ink); color: var(--gold-2); font-family: var(--font-head); font-weight: 700;
  display: grid; place-items: center; margin-bottom: 16px;
}
.step__num::before { content: counter(step); }
.step h3 { font-size: 1.14rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: .96rem; }

/* ---------- Testimonials ---------- */
.quote { background:#fff; border:1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--radius); padding: 28px; }
.quote p { font-size: 1.05rem; color: var(--text); }
.quote footer { margin-top: 16px; font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--ink); }
.quote footer span { display:block; color: var(--muted); font-weight: 400; font-size: .86rem; }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; align-items: stretch; }
.plan { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 34px 28px; display:flex; flex-direction:column; position:relative; }
.plan--feature { border: 2px solid var(--gold); box-shadow: var(--shadow); }
.plan__tag { position:absolute; top:-13px; left:50%; transform:translateX(-50%); background: linear-gradient(135deg,var(--gold-2),var(--gold)); color:#2a2200; font-family:var(--font-head); font-weight:600; font-size:.76rem; padding:5px 16px; border-radius:999px; }
.plan h3 { font-size: 1.3rem; }
.plan__price { font-family: var(--font-head); font-weight: 700; font-size: 2.4rem; color: var(--ink); margin: 12px 0 2px; }
.plan__price span { font-size: 1rem; color: var(--muted); font-weight: 500; }
.plan__best { color: var(--muted); font-size: .92rem; margin-bottom: 18px; }
.plan ul { display: grid; gap: 11px; margin: 8px 0 26px; }
.plan li { display:flex; gap:10px; align-items:flex-start; font-size:.96rem; color: var(--text); }
.plan li::before { content:"✓"; color: var(--success); font-weight:800; }
.plan .btn { margin-top: auto; }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width:100%; text-align:left; background:none; border:0; cursor:pointer; padding: 22px 40px 22px 0; position:relative; font-family: var(--font-head); font-weight: 600; font-size: 1.08rem; color: var(--ink); }
.faq__q::after { content:"+"; position:absolute; right:4px; top:50%; transform: translateY(-50%); font-size:1.5rem; color: var(--gold-deep); transition: var(--t); }
.faq__item.open .faq__q::after { transform: translateY(-50%) rotate(45deg); }
.faq__a { max-height:0; overflow:hidden; transition: max-height .3s ease; color: var(--muted); }
.faq__a p { padding-bottom: 22px; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--ink-2), var(--ink)); color:#fff; border-radius: 22px; padding: 56px; text-align:center; position:relative; overflow:hidden; }
.cta-band::before { content:""; position:absolute; inset:0; background: radial-gradient(600px 300px at 80% 0%, rgba(201,162,39,.22), transparent 60%); }
.cta-band > * { position: relative; }
.cta-band h2 { color:#fff; }
.cta-band p { color:#b9bdc9; margin: 14px auto 28px; max-width: 560px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color:#9aa0ae; padding: 64px 0 30px; }
.footer__grid { display:grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer h4 { color:#fff; font-size: 1rem; margin-bottom: 16px; }
.footer a { display:block; padding: 6px 0; color:#9aa0ae; font-size:.95rem; transition: color var(--t); }
.footer a:hover { color: var(--gold-2); }
.footer .brand { color:#fff; margin-bottom: 14px; }
.footer__blurb { font-size:.95rem; max-width: 320px; }
.footer__bottom { margin-top: 44px; padding-top: 22px; border-top:1px solid rgba(255,255,255,.1); display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; font-size:.86rem; }

/* ---------- Floating WhatsApp + mobile sticky CTA ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; background:#25d366; color:#fff; display:grid; place-items:center; box-shadow: 0 10px 28px rgba(37,211,102,.45); transition: var(--t); }
.wa-float:hover { transform: scale(1.07); }
.mobile-cta { display:none; position: fixed; bottom:0; left:0; right:0; z-index:95; background:#fff; border-top:1px solid var(--line); padding: 10px 14px; box-shadow: 0 -6px 20px rgba(0,0,0,.08); }

/* ---------- Page hero (interior pages) ---------- */
.page-hero { padding: 64px 0 40px; background: var(--bg-warm); border-bottom:1px solid var(--line); text-align:center; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); }
.page-hero p { margin: 16px auto 0; max-width: 640px; color: var(--muted); font-size: 1.12rem; }
.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 16px; }
.breadcrumb a:hover { color: var(--gold-deep); }

/* feature detail rows */
.frow { display:grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items:center; }
.frow + .frow { margin-top: 70px; }
.frow:nth-child(even) .frow__media { order: -1; }
.feature-bullets { display:grid; gap:12px; margin-top:20px; }
.feature-bullets li { display:flex; gap:11px; align-items:flex-start; color: var(--text); }
.feature-bullets li::before { content:"✓"; color: var(--gold-deep); font-weight:800; }
.media-box { background: linear-gradient(135deg, var(--bg-warm), #fff); border:1px solid var(--line); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow-sm); }

/* contact */
.form { display:grid; gap: 16px; }
.form label { font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--ink); display:block; margin-bottom: 6px; }
.form input, .form textarea { width:100%; padding: 13px 15px; border:1px solid var(--line); border-radius: var(--radius-sm); font: inherit; transition: var(--t); }
.form input:focus, .form textarea:focus { outline:none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,39,.15); }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .grid--3, .prob, .steps, .pricing { grid-template-columns: 1fr; }
  .steps--4 { grid-template-columns: 1fr 1fr; }
  .frow { grid-template-columns: 1fr; gap: 28px; }
  .frow:nth-child(even) .frow__media { order: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 760px) {
  .section { padding: 60px 0; }
  .nav__links, .nav__cta .btn, .nav__login { display: none; }
  .nav__toggle { display: block; margin-left: auto; }
  .nav.open .nav__links { display: flex; position: absolute; top: 72px; left:0; right:0; flex-direction: column; background:#fff; padding: 18px 22px; gap: 4px; border-bottom:1px solid var(--line); box-shadow: var(--shadow); }
  .nav.open .nav__links a { padding: 12px 0; border-bottom:1px solid var(--line); }
  .nav.open .nav__cta { display:flex; position:absolute; top:72px; left:0; right:0; transform: translateY(170px); padding: 0 22px 18px; background:#fff; }
  .nav.open .nav__cta .btn, .nav.open .nav__login { display:inline-flex; }
  .cta-band { padding: 40px 24px; }
  .grid--2, .footer__grid, .steps--4 { grid-template-columns: 1fr; }
  .mobile-cta { display:block; }
  .wa-float { bottom: 78px; }
  body { padding-bottom: 64px; }
}

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity:1; transform:none; transition:none; } html { scroll-behavior:auto; } }

/* ==========================================================================
   TEMP — hide the "Log in" button until the app is ready.
   (Free-trial buttons now route to the contact form.)
   Delete this block to restore the Log in link.
   ========================================================================== */
.nav__login,                     /* header Log in link */
a[href*="app.goldlab.pk"] {      /* any remaining app links */
  display: none !important;
}
