/* ==========================================================================
   Artivorin® Official — Global Manufacturing & Distribution
   Shared stylesheet — Royal Blue theme
   ========================================================================== */

:root {
  /* Brand palette — royal/navy blue + gold accent (matches product) */
  --blue: #1657c8;
  --blue-bright: #2f7bf0;
  --blue-deep: #0a2c73;
  --navy: #07205a;
  --navy-900: #051539;
  --blue-soft: #eaf1fd;
  --blue-tint: #f4f8ff;
  --gold: #f5b720;
  --gold-dark: #d99a00;
  --ink: #122036;
  --ink-soft: #43526b;
  --muted: #7c889c;
  --line: #e3e9f2;
  --bg: #ffffff;
  --bg-alt: #f1f5fc;
  --white: #ffffff;
  --ok: #1faa6a;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 3px rgba(10, 44, 115, .06), 0 8px 24px rgba(10, 44, 115, .06);
  --shadow-md: 0 14px 40px rgba(10, 44, 115, .14);
  --shadow-lg: 0 30px 70px rgba(7, 32, 90, .22);
  --maxw: 1180px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg);
  line-height: 1.65; font-size: 17px; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { line-height: 1.15; color: var(--ink); margin: 0 0 .5em; font-weight: 800; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.35rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.section { padding: 80px 0; }
.section--alt { background: var(--bg-alt); }
.section--navy { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-900) 100%); color: #c5d4ee; }
.section--navy h2, .section--navy h3, .section--navy h4 { color: #fff; }
.center { text-align: center; }
.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 740px; }
.center .lead { margin-left: auto; margin-right: auto; }
.eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: .16em;
  font-size: .76rem; font-weight: 800; color: var(--blue); margin-bottom: .9rem;
}
.section--navy .eyebrow { color: var(--gold); }
.eyebrow--gold { color: var(--gold-dark); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem; padding: 15px 30px;
  border-radius: 999px; font-weight: 800; font-size: 1rem; border: 2px solid transparent;
  cursor: pointer; transition: .18s ease; text-decoration: none; line-height: 1;
}
.btn--primary { background: linear-gradient(135deg, var(--blue-bright), var(--blue)); color: #fff; box-shadow: 0 8px 20px rgba(22, 87, 200, .32); }
.btn--primary:hover { color: #fff; text-decoration: none; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(22, 87, 200, .42); }
.btn--gold { background: linear-gradient(135deg, #ffd152, var(--gold)); color: #3a2a00; box-shadow: 0 8px 20px rgba(245, 183, 32, .35); }
.btn--gold:hover { color: #3a2a00; text-decoration: none; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--blue); border-color: #c3d6f5; }
.btn--ghost:hover { background: var(--blue); color: #fff; text-decoration: none; border-color: var(--blue); }
.btn--white { background: #fff; color: var(--blue-deep); }
.btn--white:hover { color: var(--blue-deep); text-decoration: none; transform: translateY(-2px); }
.btn--lg { padding: 18px 38px; font-size: 1.08rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.center .btn-row { justify-content: center; }

/* ---------- Top bar / Header ---------- */
.topbar { background: var(--navy-900); color: #cfe0ff; font-size: .86rem; text-align: center; padding: 9px 16px; font-weight: 600; }
.topbar strong { color: var(--gold); }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 900; font-size: 1.3rem; color: var(--navy); letter-spacing: -.03em; }
.brand:hover { text-decoration: none; }
.brand .mark {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(150deg, var(--blue-bright), var(--blue-deep));
  display: grid; place-items: center; color: #fff; font-weight: 900; font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(22, 87, 200, .35);
}
.brand .reg { font-size: .58em; vertical-align: super; color: var(--muted); font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink-soft); font-weight: 700; font-size: .95rem; }
.nav-links a:hover { color: var(--blue); text-decoration: none; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--navy); }

/* ---------- Hero ---------- */
.hero { position: relative; background: linear-gradient(155deg, #0d3a9e 0%, #0a2c73 55%, #07205a 100%); color: #eaf1ff; padding: 70px 0 76px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(900px 420px at 78% 12%, rgba(94,160,255,.30), transparent 60%), radial-gradient(700px 500px at 10% 90%, rgba(47,123,240,.22), transparent 55%); pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 50px; align-items: center; }
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero h1 .hl { color: var(--gold); }
.hero .lead { color: #c8d8f7; margin-bottom: 1.6rem; }
.hero .btn-row { margin-bottom: 1.5rem; }
.hero-rating { display: flex; align-items: center; gap: 12px; font-size: .92rem; color: #cdddff; }
.hero-rating .stars { color: var(--gold); letter-spacing: 2px; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 1.4rem; }
.badge { display: inline-flex; align-items: center; gap: 7px; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: 7px 15px; font-size: .82rem; font-weight: 700; color: #eaf1ff; }
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.hero-visual { position: relative; text-align: center; }
.hero-visual img { margin: 0 auto; filter: drop-shadow(0 30px 50px rgba(0,0,0,.45)); max-width: 460px; }
.hero-pill { position: absolute; background: #fff; color: var(--navy); border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow-md); font-size: .82rem; font-weight: 700; display: flex; align-items: center; gap: 9px; }
.hero-pill .ic { font-size: 1.2rem; }
.hero-pill--1 { top: 8%; left: -2%; }
.hero-pill--2 { bottom: 12%; right: -2%; }
.hero-pill small { display: block; font-weight: 600; color: var(--muted); font-size: .72rem; }

/* ---------- Trust / logo strip ---------- */
.trust-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: center; }
.trust-strip .t { padding: 18px; }
.trust-strip .t .ico { font-size: 1.9rem; margin-bottom: 8px; }
.trust-strip .t strong { display: block; font-size: .98rem; color: var(--ink); }
.trust-strip .t span { font-size: .82rem; color: var(--muted); }

.certs { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.cert-chip { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 18px; font-weight: 700; font-size: .86rem; color: var(--blue-deep); box-shadow: var(--shadow-sm); }
.cert-chip .ic { font-size: 1.2rem; }

/* ---------- Stats band ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stats .num { font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 900; color: var(--gold); letter-spacing: -.02em; }
.stats .lbl { font-size: .9rem; color: #c5d4ee; text-transform: uppercase; letter-spacing: .08em; }

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

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); transition: .2s ease; }
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.card h3 { margin-top: 0; }
.card .ico { width: 52px; height: 52px; border-radius: 13px; background: linear-gradient(150deg, var(--blue-bright), var(--blue-deep)); display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 16px; color: #fff; }
.card .step-n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--gold); color: #3a2a00; font-weight: 900; margin-bottom: 14px; }

/* feature columns with image */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow-md); }
.media-card { background: var(--blue-soft); border-radius: 20px; padding: 30px; display: grid; place-items: center; }
.media-card img { max-width: 360px; }

/* ---------- Ingredient list ---------- */
.ingredient { display: grid; grid-template-columns: 64px 1fr; gap: 20px; align-items: start; padding: 26px 0; border-bottom: 1px solid var(--line); }
.ingredient:last-child { border-bottom: 0; }
.ingredient .emblem { width: 64px; height: 64px; border-radius: 14px; background: var(--blue-soft); color: var(--blue-deep); display: grid; place-items: center; font-size: 1.8rem; font-weight: 800; }
.ingredient h3 { margin: 0 0 .25rem; }
.ingredient .tag { font-size: .76rem; color: var(--blue); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }

/* ---------- Table ---------- */
.tbl { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.tbl th, .tbl td { text-align: left; padding: 15px 18px; border-bottom: 1px solid var(--line); font-size: .95rem; }
.tbl th { background: var(--blue-soft); color: var(--blue-deep); font-weight: 800; width: 40%; }
.tbl tr:last-child td, .tbl tr:last-child th { border-bottom: 0; }

/* ---------- Checklist ---------- */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checklist li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; }
.checklist .ck { width: 24px; height: 24px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-size: .8rem; font-weight: 800; margin-top: 3px; }

/* ---------- Reviews ---------- */
.stars { color: var(--gold); letter-spacing: 2px; font-size: 1rem; }
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.review .who { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.review .who .av { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(150deg, var(--blue-bright), var(--blue-deep)); color: #fff; display: grid; place-items: center; font-weight: 800; }
.review .who .name { font-weight: 800; font-size: .95rem; }
.review .who .meta { font-size: .8rem; color: var(--muted); }
.verified { font-size: .76rem; color: var(--ok); font-weight: 800; }

/* ---------- Pricing (matches reference) ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.plan { background: #fff; border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-md); position: relative; border: 1px solid var(--line); }
.plan--featured { transform: scale(1.04); box-shadow: var(--shadow-lg); z-index: 2; border: 2px solid var(--gold); }
.plan .head { background: linear-gradient(150deg, var(--blue) 0%, var(--blue-deep) 100%); color: #fff; padding: 26px 24px; text-align: center; }
.plan--featured .head { background: linear-gradient(150deg, var(--blue-deep), var(--navy-900)); }
.plan .head .tier { font-size: 1.5rem; font-weight: 900; letter-spacing: -.02em; }
.plan--featured .head .tier { color: var(--gold); }
.plan .head .bottles { font-size: 1.7rem; font-weight: 900; margin-top: 6px; }
.plan .head .supply { font-size: .9rem; opacity: .9; }
.plan .body { padding: 28px 24px; text-align: center; display: flex; flex-direction: column; flex: 1; }
.plan .shot { height: 120px; object-fit: contain; margin: 0 auto 16px; }
.plan .per { font-size: 2.9rem; font-weight: 900; color: var(--navy); line-height: 1; }
.plan .per .cur { font-size: 1.4rem; vertical-align: super; }
.plan .per small { font-size: .85rem; font-weight: 700; color: var(--muted); }
.plan .save { display: inline-block; background: var(--gold); color: #3a2a00; font-weight: 800; font-size: .82rem; padding: 6px 16px; border-radius: 999px; margin: 14px 0; }
.plan .guarantee { font-size: .82rem; font-weight: 800; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 16px; }
.plan .btn { width: 100%; justify-content: center; flex-direction: column; gap: 2px; padding: 14px; }
.plan .btn small { font-weight: 600; font-size: .78rem; opacity: .9; }
.plan .pay { display: flex; justify-content: center; gap: 6px; margin: 16px 0; flex-wrap: wrap; }
.plan .pay span { font-size: .6rem; font-weight: 800; background: #f0f3f9; border: 1px solid var(--line); color: #5a6b85; border-radius: 4px; padding: 3px 6px; letter-spacing: .03em; }
.plan .total { font-weight: 800; color: var(--navy); font-size: 1.05rem; margin-top: auto; }
.plan .total s { color: var(--muted); font-weight: 600; }
.plan .ship { font-size: .8rem; font-weight: 800; color: var(--blue); margin-top: 6px; }
.plan .ship--free { background: var(--blue); color: #fff; border-radius: 6px; padding: 5px; display: block; }

/* ---------- FAQ ---------- */
.faq { max-width: 840px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 4px 24px; margin-bottom: 12px; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; font-weight: 800; padding: 17px 0; list-style: none; position: relative; padding-right: 32px; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 2px; top: 13px; font-size: 1.5rem; color: var(--blue); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding-bottom: 17px; margin: 0; color: var(--ink-soft); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(150deg, #0d3a9e, #07205a); color: #fff; border-radius: 24px; padding: 60px 44px; text-align: center; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 80% 0%, rgba(94,160,255,.3), transparent 60%); }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #c8d8f7; max-width: 620px; margin: 0 auto 1.6rem; }

/* ---------- Section heading highlight (reference style) ---------- */
.hl-bar { display: inline-block; background: var(--blue); color: #fff; padding: 8px 22px; border-radius: 8px; font-weight: 900; text-transform: uppercase; letter-spacing: .03em; }

/* ---------- Knowledge / LLM prose block ---------- */
.knowledge { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow-sm); }
.knowledge h3 { color: var(--navy); margin-top: 1.4em; }
.knowledge h3:first-child { margin-top: 0; }
.knowledge p { color: var(--ink-soft); }

/* ---------- Page hero (inner) ---------- */
.page-hero { background: linear-gradient(155deg, #0d3a9e, #07205a); color: #dce8ff; padding: 64px 0 50px; }
.page-hero h1 { color: #fff; }
.page-hero .lead { color: #c8d8f7; }
.page-hero .crumb { font-size: .82rem; color: #9fbdf0; margin-bottom: 12px; }
.page-hero .crumb a { color: #9fbdf0; }

/* ---------- Prose (legal/content) ---------- */
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { margin-top: 2em; color: var(--navy); }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .5em; }
.prose .updated { color: var(--muted); font-size: .9rem; }

/* ---------- Disclaimer ---------- */
.disclaimer { background: var(--blue-soft); border: 1px solid #cfe0fb; border-radius: var(--radius-sm); padding: 18px 22px; font-size: .86rem; color: #3a4a66; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #93a6c9; padding: 64px 0 30px; font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 38px; margin-bottom: 42px; }
.site-footer h4 { color: #fff; font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.site-footer a { color: #93a6c9; display: block; margin-bottom: 9px; }
.site-footer a:hover { color: var(--gold); text-decoration: none; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer .brand .mark { box-shadow: none; }
.footer-contact p { margin: 0 0 6px; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; font-size: .8rem; color: #6f82a6; line-height: 1.6; }
.footer-legal p { margin: 0 0 10px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 16px; color: #6f82a6; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual { order: -1; }
  .grid-4, .trust-strip, .stats { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .price-grid { grid-template-columns: 1fr; }
  .plan--featured { transform: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 74px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 18px 22px; gap: 16px; box-shadow: var(--shadow-md); }
  .nav-links.open a { color: var(--ink); }
}
@media (max-width: 560px) {
  .grid-2, .grid-4, .trust-strip, .stats, .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .ingredient { grid-template-columns: 1fr; }
  .knowledge { padding: 26px; }
  .cta-band, .hero { padding-left: 0; padding-right: 0; }
  .hero-pill { display: none; }
}
