/* ============================================================
   ModelMate — shared styles
   Faithful rebuild of modelmate.co (self-hosted, Shopify-free)
   ============================================================ */

:root {
  --navy-gradient: linear-gradient(135deg, #0a0a0b 0%, #1a1a2e 15%, #16213e 30%, #0f3460 45%, #1a1a2e 60%, #16213e 75%, #0a0a0b 100%);
  --card-grad: linear-gradient(135deg, #1a1b23 0%, #252730 100%);
  --gold: #f4c430;
  --orange: #ff8c42;
  --pink: #ec4899;
  --accent-grad: linear-gradient(45deg, #f4c430, #ff8c42, #ec4899);
  --dark: #212529;
  --nav-bg: rgba(25, 25, 46, 0.9);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.68);
  --muted-2: rgba(255, 255, 255, 0.45);
  --line: rgba(255, 255, 255, 0.08);
  --radius: 12px;
  --btn-radius: 8px;
  --maxw: 1200px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: #0a0a0b;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Every page sits on the dark navy gradient */
.page {
  min-height: 100vh;
  background: var(--navy-gradient);
  background-attachment: fixed;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 1rem; line-height: 1;
  padding: 15px 26px; border-radius: var(--btn-radius);
  border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .2s ease;
}
.btn-gold {
  background: var(--gold); color: #fff;
  box-shadow: 0 8px 24px rgba(244, 196, 48, .28);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(244, 196, 48, .4); }
.btn-outline {
  background: transparent; color: #fff;
  border: 1px solid rgba(255, 255, 255, .25);
}
.btn-outline:hover { border-color: #fff; transform: translateY(-2px); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--nav-bg);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 118px;
}
.nav .logo img { height: 86px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 38px; }
.nav-links a {
  color: var(--muted); font-weight: 500; font-size: 1.02rem;
  transition: color .18s ease; position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-toggle {
  display: none; background: none; border: 0; color: #fff; cursor: pointer;
  padding: 6px;
}
.nav-toggle svg { width: 28px; height: 28px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 70px 0 40px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; top: -120px; left: -140px;
  width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(90, 70, 180, .35), transparent 70%);
  filter: blur(30px); pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
  min-height: 60vh;
}
.hero h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.6rem); font-weight: 800;
  line-height: 1.05; letter-spacing: -.02em; margin-bottom: 18px;
}
.hero h1 .accent { color: var(--gold); display: block; }
.hero .tagline {
  font-size: clamp(1.3rem, 2.2vw, 1.7rem); font-weight: 800; margin-bottom: 30px;
  background: linear-gradient(90deg, #f4c430, #ff8c42);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-features { list-style: none; display: grid; gap: 14px; margin-bottom: 36px; }
.hero-features li { display: flex; align-items: center; gap: 14px; font-size: 1.08rem; }
.hero-features .ico {
  width: 26px; height: 26px; flex: 0 0 26px; color: var(--gold);
  display: grid; place-items: center;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-image { position: relative; }
.hero-image img {
  width: 100%; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .55));
  animation: float 6s ease-in-out infinite;
}
.hero-image::after {
  content: ""; position: absolute; left: 8%; right: 8%; bottom: 4%; height: 40px;
  background: radial-gradient(ellipse at center, rgba(0,0,0,.5), transparent 70%);
  filter: blur(12px); z-index: -1;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

.scroll-indicator {
  display: flex; justify-content: center; margin-top: 26px;
}
.scroll-indicator span {
  width: 34px; height: 34px; display: grid; place-items: center;
  animation: bob 1.8s ease-in-out infinite;
}
.scroll-indicator svg { width: 24px; height: 24px; }
.scroll-indicator .chev {
  stroke: url(#chevGrad);
}
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

/* ---------- Section scaffolding ---------- */
.section { padding: 74px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head h2 {
  font-size: clamp(2rem, 3.6vw, 2.9rem); font-weight: 800; letter-spacing: -.02em;
  margin-bottom: 14px;
}
.section-head p { color: var(--muted); font-size: 1.12rem; }
.eyebrow {
  display: inline-block; letter-spacing: .18em; text-transform: uppercase;
  font-size: .82rem; font-weight: 700; color: var(--gold); margin-bottom: 14px;
}

/* ---------- Trust stats ---------- */
.trust { text-align: center; }
.trust .eyebrow { margin-bottom: 34px; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.stat {
  background: var(--card-grad); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px 18px;
}
.stat .num {
  font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800; color: var(--gold);
  line-height: 1;
}
.stat .label {
  margin-top: 12px; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Category cards ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: var(--card-grad); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 38px 30px; text-align: center;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.card:hover {
  transform: translateY(-6px); border-color: rgba(244, 196, 48, .4);
  box-shadow: 0 22px 44px rgba(0, 0, 0, .35);
}
.card .card-ico {
  width: 64px; height: 64px; margin: 0 auto 22px; border-radius: 16px;
  display: grid; place-items: center; color: var(--gold);
  background: rgba(244, 196, 48, .12); border: 1px solid rgba(244, 196, 48, .25);
}
.card .card-ico svg { width: 30px; height: 30px; }
.card h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 1.02rem; }

/* ---------- Waitlist / forms ---------- */
.panel {
  background: var(--card-grad); border: 1px solid var(--line);
  border-radius: 18px; padding: 46px; max-width: 620px; margin: 0 auto;
}
.form-field { margin-bottom: 18px; text-align: left; }
.form-field label { display: block; font-size: .92rem; color: var(--muted); margin-bottom: 8px; }
.form-field input[type=email],
.form-field input[type=text],
.form-field textarea {
  width: 100%; background: rgba(0, 0, 0, .28); border: 1px solid var(--line);
  border-radius: var(--btn-radius); padding: 14px 16px; color: #fff; font-size: 1rem;
  font-family: inherit; transition: border-color .18s ease;
}
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--gold); }
.form-field textarea { min-height: 130px; resize: vertical; }
.consent { display: flex; align-items: flex-start; gap: 10px; margin: 6px 0 22px; text-align: left; }
.consent input { margin-top: 4px; accent-color: var(--gold); }
.consent label { font-size: .92rem; color: var(--muted); }
.form-note { margin-top: 16px; font-size: .84rem; color: var(--muted-2); text-align: center; }
.btn-block { width: 100%; justify-content: center; }
.form-success {
  display: none; background: rgba(244, 196, 48, .12); border: 1px solid rgba(244, 196, 48, .4);
  border-radius: var(--btn-radius); padding: 16px; color: var(--gold); text-align: center; font-weight: 600;
}

/* ---------- Contact block ---------- */
.contact-block { background: linear-gradient(135deg, #1a1b23, #252730 100%); }
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 20px; }
.contact-item {
  display: flex; gap: 16px; align-items: flex-start;
  background: rgba(0, 0, 0, .22); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px;
}
.contact-item .ci-ico {
  width: 46px; height: 46px; flex: 0 0 46px; border-radius: 12px; color: var(--gold);
  display: grid; place-items: center; background: rgba(244, 196, 48, .12);
}
.contact-item .ci-ico svg { width: 22px; height: 22px; }
.contact-item h4 { font-size: 1.05rem; margin-bottom: 4px; }
.contact-item a, .contact-item p { color: var(--muted); font-size: .98rem; }
.contact-item a:hover { color: var(--gold); }
.social-row { display: flex; gap: 14px; margin-top: 10px; }
.social-row a {
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .06); color: var(--muted); transition: all .18s ease;
}
.social-row a:hover { background: var(--gold); color: #1a1a2e; }
.social-row svg { width: 20px; height: 20px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 30px 0; background: rgba(0,0,0,.25); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-inner img { height: 30px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--muted); font-size: .92rem; }
.footer-links a:hover { color: var(--gold); }
.footer-copy { color: var(--muted-2); font-size: .88rem; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Content pages (guides, blog, policies) ---------- */
.page-hero { padding: 60px 0 20px; text-align: center; }
.page-hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); font-weight: 800; letter-spacing: -.02em; }
.page-hero p { color: var(--muted); margin-top: 12px; font-size: 1.1rem; }

.tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin: 30px 0 40px; }
.tab-btn {
  background: rgba(255,255,255,.05); border: 1px solid var(--line); color: var(--muted);
  padding: 12px 24px; border-radius: 100px; font-weight: 600; font-size: 1rem; cursor: pointer;
  font-family: inherit; transition: all .18s ease;
}
.tab-btn.active { background: var(--gold); color: #1a1a2e; border-color: var(--gold); }
.tab-panel { display: none; max-width: 800px; margin: 0 auto; }
.tab-panel.active { display: block; }

.steps { list-style: none; counter-reset: step; display: grid; gap: 16px; }
.steps li {
  counter-increment: step; position: relative; padding: 22px 22px 22px 68px;
  background: var(--card-grad); border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--muted); font-size: 1rem;
}
.steps li::before {
  content: counter(step); position: absolute; left: 20px; top: 20px;
  width: 34px; height: 34px; border-radius: 9px; background: rgba(244,196,48,.14);
  color: var(--gold); font-weight: 800; display: grid; place-items: center; font-size: .95rem;
}
.steps li strong.caution { color: var(--orange); display: block; margin-top: 8px; font-size: .9rem; }

.cta-band { text-align: center; padding: 60px 0; }
.cta-band h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 800; margin-bottom: 12px; }
.cta-band p { color: var(--muted); max-width: 520px; margin: 0 auto 26px; }

/* Blog */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-card {
  background: var(--card-grad); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  display: flex; flex-direction: column;
}
.post-card:hover { transform: translateY(-6px); border-color: rgba(244,196,48,.4); box-shadow: 0 22px 44px rgba(0,0,0,.35); }
.post-card .thumb { aspect-ratio: 16/10; overflow: hidden; background: #10111c; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.post-card:hover .thumb img { transform: scale(1.04); }
.post-card .body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.post-card .date { color: var(--gold); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; }
.post-card h3 { font-size: 1.3rem; font-weight: 700; margin: 12px 0; }
.post-card p { color: var(--muted); font-size: .98rem; flex: 1; }
.post-card .read { margin-top: 18px; color: var(--gold); font-weight: 600; }

/* Article featured image */
.article .featured { width: 100%; border-radius: var(--radius); margin: 0 0 30px; border: 1px solid var(--line); }

.article { max-width: 760px; margin: 0 auto; }
.article .date { color: var(--gold); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; }
.article h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; margin: 12px 0 30px; letter-spacing: -.02em; }
.article p { color: rgba(255,255,255,.8); margin-bottom: 20px; font-size: 1.08rem; }
.article p.lede { font-size: 1.2rem; color: #fff; }
.back-link { display: inline-flex; gap: 8px; align-items: center; color: var(--gold); font-weight: 600; margin-top: 30px; }

/* ---------- Products ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.prod-card {
  background: var(--card-grad); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; position: relative;
}
.prod-card:hover { transform: translateY(-6px); border-color: rgba(244,196,48,.4); box-shadow: 0 22px 44px rgba(0,0,0,.35); }
.prod-card .thumb { aspect-ratio: 1/1; background: #fff; overflow: hidden; }
.prod-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.prod-card .body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.prod-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 8px; }
.prod-card p { color: var(--muted); font-size: .96rem; flex: 1; margin-bottom: 16px; }
.prod-card .price { color: var(--gold); font-weight: 800; font-size: 1.2rem; margin-bottom: 16px; }
.badge {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  background: rgba(255,140,66,.16); color: var(--orange); border: 1px solid rgba(255,140,66,.4);
  font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 100px; backdrop-filter: blur(4px);
}

/* Product detail */
.prod-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.prod-hero .media { background: #fff; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); }
.prod-hero .media img { width: 100%; display: block; }
.prod-hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: 8px; }
.prod-hero .price { color: var(--gold); font-weight: 800; font-size: 1.7rem; margin: 14px 0 18px; }
.prod-hero .lead { color: var(--muted); font-size: 1.1rem; margin-bottom: 26px; }
.variant-select { margin: 4px 0 24px; }
.variant-select .v-label { display: block; color: var(--muted); font-size: .92rem; font-weight: 600; margin-bottom: 10px; }
.variant-pills { display: inline-flex; gap: 10px; flex-wrap: wrap; }
.variant-pill {
  background: rgba(255,255,255,.05); border: 1px solid var(--line); color: #fff;
  padding: 11px 22px; border-radius: 100px; font-weight: 600; font-size: .98rem; cursor: pointer;
  font-family: inherit; transition: all .18s ease;
}
.variant-pill:hover { border-color: rgba(244,196,48,.5); }
.variant-pill.active { background: var(--gold); color: #1a1a2e; border-color: var(--gold); }
.prod-hero .buy-row { display: flex; flex-wrap: wrap; gap: 14px; }
.prod-hero .prime { margin-top: 16px; color: var(--muted-2); font-size: .9rem; display: flex; align-items: center; gap: 8px; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  background: var(--card-grad); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
}
.feature .f-ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  color: var(--gold); background: rgba(244,196,48,.12); border: 1px solid rgba(244,196,48,.25); margin-bottom: 16px; }
.feature .f-ico svg { width: 24px; height: 24px; }
.feature h4 { font-size: 1.1rem; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: .96rem; }

.spec-table { max-width: 760px; margin: 0 auto; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.spec-row { display: grid; grid-template-columns: 1fr 1.4fr; gap: 16px; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.spec-row:last-child { border-bottom: 0; }
.spec-row:nth-child(odd) { background: rgba(255,255,255,.02); }
.spec-row .k { color: var(--muted); font-weight: 600; }
.spec-row .v { color: #fff; }

.why-list { max-width: 760px; margin: 18px auto 0; list-style: none; display: grid; gap: 12px; }
.why-list li { display: flex; gap: 12px; color: var(--muted); }
.why-list li svg { flex: 0 0 20px; width: 20px; height: 20px; color: var(--gold); margin-top: 3px; }

/* ---------- Reviews ---------- */
.reviews-head { text-align: center; margin-bottom: 40px; }
.rating-badge {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 16px;
  background: var(--card-grad); border: 1px solid var(--line); border-radius: 100px;
  padding: 10px 22px;
}
.rating-badge .score { font-size: 1.5rem; font-weight: 800; color: #fff; }
.rating-badge .stars { font-size: 1.1rem; letter-spacing: 2px; }
.rating-badge .count { color: var(--muted); font-size: .92rem; }
.stars { color: var(--gold); letter-spacing: 1px; white-space: nowrap; }
.stars .off { color: rgba(255,255,255,.22); }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review {
  background: var(--card-grad); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; margin: 0; display: flex; flex-direction: column;
}
.review .stars { font-size: 1.05rem; margin-bottom: 14px; }
.review blockquote { margin: 0 0 18px; color: rgba(255,255,255,.85); font-size: 1rem; line-height: 1.6; flex: 1; }
.review blockquote .rtitle { display: block; font-weight: 700; color: #fff; margin-bottom: 8px; }
.review figcaption { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: .92rem; }
.review .rname { font-weight: 600; color: #fff; }
.badge-verified {
  display: inline-flex; align-items: center; gap: 5px; font-size: .76rem; font-weight: 600;
  color: #46c37b; background: rgba(70,195,123,.12); border: 1px solid rgba(70,195,123,.3);
  border-radius: 100px; padding: 3px 10px;
}
.badge-verified svg { width: 12px; height: 12px; }
.reviews-src { text-align: center; color: var(--muted-2); font-size: .86rem; margin-top: 26px; }

/* ---------- Video embed (responsive 16:9) ---------- */
.video-embed {
  position: relative; width: 100%; max-width: 800px; margin: 0 auto 34px;
  aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  background: #000;
}
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-label {
  max-width: 800px; margin: 0 auto 12px; display: flex; align-items: center; gap: 10px;
  color: var(--gold); font-weight: 600; font-size: .95rem;
}
.video-label svg { width: 20px; height: 20px; }

/* Legal */
.legal { max-width: 760px; margin: 0 auto; }
.legal h2 { font-size: 1.4rem; margin: 30px 0 12px; }
.legal p { color: var(--muted); margin-bottom: 16px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-features { justify-items: center; }
  .hero-features li { justify-content: center; }
  .hero-cta { justify-content: center; }
  .hero-image { order: -1; max-width: 480px; margin: 0 auto; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .cards-grid, .post-grid, .product-grid, .feature-grid, .review-grid { grid-template-columns: 1fr; }
  .prod-hero { grid-template-columns: 1fr; gap: 28px; }
  .spec-row { grid-template-columns: 1fr; gap: 4px; }
  .contact-grid { grid-template-columns: 1fr; }
  .nav-links {
    position: fixed; inset: 84px 0 auto 0; flex-direction: column; gap: 0;
    background: #12132a; border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height .3s ease; padding: 0 24px;
  }
  .nav-links.open { max-height: 400px; padding: 10px 24px 24px; }
  .nav-links a { padding: 14px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: block; }
}
@media (max-width: 520px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .panel { padding: 30px 22px; }
  .footer-inner { flex-direction: column; text-align: center; }
}
