:root {
    /* Cognitive / Brain Health Theme: Deep Indigos and Crisp Blues */
    --slate-900: #1e1b4b; /* Deep Indigo */
    --slate-800: #312e81;
    --slate-100: #f8fafc;
    --blue-600: #4f46e5; /* Primary Indigo */
    --blue-700: #4338ca;
    --blue-50: #eef2ff;
    --emerald-600: #059669;
    --text-main: #334155;
    --text-mute: #64748b;
    --white: #ffffff;
    --border: #e2e8f0;
    --radius-md: 12px;
    --radius-lg: 20px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--text-main); line-height: 1.7; background: var(--slate-100); font-size: 16px; overflow-x: hidden; }
h1, h2, h3, h4 { font-family: 'Montserrat', sans-serif; color: var(--slate-900); font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
img { max-width: 100%; height: auto; display: block; }
.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* Announce Bar */
.announce { background: var(--slate-900); color: var(--white); text-align: center; padding: 12px 20px; font-size: 14px; font-weight: 500; }
.announce span { color: var(--blue-50); font-weight: 700; text-decoration: underline; }

/* Header */
header { background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; padding: 15px 0; }
.hdr-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { font-family: 'Montserrat', sans-serif; font-size: 22px; font-weight: 800; color: var(--slate-900); text-decoration: none; line-height: 1.1; }
.logo span { color: var(--blue-600); display: block; font-size: 14px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
nav ul { display: flex; list-style: none; gap: 28px; align-items: center; }
nav a { font-size: 15px; font-weight: 600; color: var(--text-main); text-decoration: none; transition: color 0.2s; }
nav a:hover { color: var(--blue-600); }
.hdr-actions { display: flex; align-items: center; gap: 16px; }

/* Blog dropdown in nav */
nav li.has-dropdown { position: relative; }
nav .dropdown {
  display: none; position: absolute; top: 100%; left: -16px; background: var(--white);
  min-width: 280px; border-radius: 10px; padding: 10px; box-shadow: 0 14px 34px rgba(30,27,75,0.18);
  margin-top: 14px; list-style: none;
}
nav li.has-dropdown:hover .dropdown, nav li.has-dropdown:focus-within .dropdown { display: block; }
nav .dropdown li a { color: var(--slate-900); font-weight: 600; font-size: 14.5px; display: block; padding: 10px 12px; border-radius: 8px; }
nav .dropdown li a:hover { background: var(--blue-50); }

/* Buttons */
.btn { display: inline-block; padding: 15px 32px; border-radius: 50px; font-weight: 700; font-size: 16px; text-align: center; cursor: pointer; border: none; text-decoration: none; transition: all 0.3s ease; }
.btn-primary { background: var(--blue-600); color: var(--white); box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3); }
.btn-primary:hover { background: var(--blue-700); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4); }
.btn-outline { background: transparent; color: var(--blue-600); border: 2px solid var(--blue-600); padding: 13px 30px; }
.btn-outline:hover { background: var(--blue-50); }

/* Typography Helpers */
.section-title { font-size: clamp(2rem, 4vw, 2.5rem); margin-bottom: 20px; text-align: center; }
.section-lead { font-size: 18px; color: var(--text-mute); text-align: center; max-width: 800px; margin: 0 auto 50px; }
section { padding: 80px 0; background: var(--white); }
section.alt-bg { background: var(--slate-100); }
.text-block { max-width: 850px; margin: 0 auto 30px; font-size: 17px; }
.text-block p { margin-bottom: 20px; }
.text-block strong { color: var(--slate-900); }

/* Hero Section */
.hero { padding: 60px 0 80px; background: linear-gradient(180deg, var(--white), var(--blue-50)); position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: center; }
.hero-badge { display: inline-block; background: rgba(79, 70, 229, 0.1); color: var(--blue-700); padding: 8px 16px; border-radius: 50px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px; }
.hero h1 { font-size: clamp(2.2rem, 4.5vw, 3.5rem); margin-bottom: 20px; line-height: 1.1; }
.hero h1 em { color: var(--blue-600); font-style: normal; }
.hero-sub { font-size: 18px; color: var(--text-mute); margin-bottom: 30px; line-height: 1.6; }
.hero-img-wrap { text-align: center; position: relative; }
.hero-img-wrap img { width: 100%; max-width: 450px; margin: 0 auto; filter: drop-shadow(0 25px 35px rgba(30, 27, 75, 0.15)); animation: float 6s ease-in-out infinite; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

/* Trust Strip */
.trust-strip { background: var(--slate-900); padding: 25px 0; color: var(--white); }
.trust-row { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 20px; }
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; }
.trust-item span { color: var(--blue-600); font-size: 20px; }

/* Certification badges (real badge images) */
.cert-strip { padding: 50px 0; }
.cert-row { display: flex; justify-content: center; align-items: center; gap: 50px; flex-wrap: wrap; }
.cert-row img { height: 78px; width: auto; object-fit: contain; filter: grayscale(15%); opacity: .92; }

/* Grids */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }

/* Cards */
.card { background: var(--white); padding: 30px; border-radius: var(--radius-md); border: 1px solid var(--border); box-shadow: 0 4px 15px rgba(0,0,0,0.03); }
.card-icon { font-size: 32px; margin-bottom: 15px; display: inline-block; background: var(--blue-50); padding: 15px; border-radius: 50%; border: 1px solid rgba(79, 70, 229, 0.1); }
.card h3 { font-size: 20px; margin-bottom: 12px; }
.card p { color: var(--text-mute); font-size: 15px; }

/* Mechanism specific */
.mech-num { font-family: 'Montserrat'; font-size: 40px; font-weight: 800; color: var(--blue-600); opacity: 0.2; line-height: 1; margin-bottom: 10px; }

/* Benefits Checklist */
.benefits-list { list-style: none; max-width: 850px; margin: 0 auto; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px; box-shadow: 0 10px 30px rgba(0,0,0,0.02); }
.benefits-list li { position: relative; padding-left: 40px; margin-bottom: 20px; font-size: 17px; font-weight: 500; color: var(--slate-800); }
.benefits-list li:last-child { margin-bottom: 0; }
.benefits-list li::before { content: "🧠"; position: absolute; left: 0; top: 2px; font-size: 20px; }

/* Testimonials */
.review-card { position: relative; padding-top: 40px; }
.review-card::before { content: '❝'; font-size: 4rem; color: var(--blue-50); position: absolute; top: 0; left: 20px; font-family: serif; line-height: 1; }
.review-body { position: relative; z-index: 1; font-style: italic; color: var(--text-mute); margin-bottom: 20px; }
.review-author { border-top: 1px solid var(--border); padding-top: 15px; display: flex; align-items: center; gap: 12px; }
.review-author img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.review-author strong { color: var(--slate-900); display: block; }
.review-author span { font-size: 13px; color: var(--blue-600); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }

/* FAQ Accordion */
.faq-wrap { max-width: 800px; margin: 0 auto; }
.faq-item { margin-bottom: 15px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--white); overflow: hidden; }
.faq-item summary { font-weight: 700; padding: 20px; cursor: pointer; list-style: none; position: relative; font-size: 17px; color: var(--slate-900); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--blue-600); }
.faq-item[open] summary::after { content: '−'; }
.faq-answer { padding: 0 20px 20px; color: var(--text-mute); font-size: 16px; border-top: 1px solid var(--slate-100); margin-top: 10px; padding-top: 20px; }

/* Guarantee Banner */
.guarantee-banner { background: var(--slate-900); color: var(--white); border-radius: var(--radius-lg); padding: 50px; text-align: center; max-width: 900px; margin: 0 auto; position: relative; overflow: hidden; }
.guarantee-banner h2 { color: var(--white); margin-bottom: 20px; }
.guarantee-banner p { color: var(--slate-100); opacity: 0.9; margin-bottom: 30px; font-size: 18px; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; max-width: 1000px; margin: 40px auto 0; }
.price-card { border: 2px solid var(--border); border-radius: var(--radius-lg); padding: 40px 30px; text-align: center; background: var(--white); position: relative; }
.price-card.best { border-color: var(--blue-600); box-shadow: 0 20px 40px rgba(79, 70, 229, 0.1); transform: scale(1.02); }
.price-badge { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: var(--blue-600); color: var(--white); padding: 5px 20px; border-radius: 50px; font-weight: 700; font-size: 14px; white-space: nowrap; }
.price-tier { font-size: 24px; font-weight: 800; color: var(--slate-900); margin-bottom: 5px; }
.price-supply { color: var(--text-mute); font-size: 14px; margin-bottom: 20px; }
.price-img-wrap { display: flex; justify-content: center; align-items: center; height: 180px; margin-bottom: 20px; }
.price-img-wrap img { max-height: 100%; max-width: 100%; object-fit: contain; filter: drop-shadow(0 10px 15px rgba(0,0,0,0.05)); }
.price-main { font-size: 48px; font-weight: 800; color: var(--slate-900); margin-bottom: 20px; line-height: 1; }
.price-main span { font-size: 16px; font-weight: 500; color: var(--text-mute); }
.price-card .btn { width: 100%; margin-top: 10px; }

/* Footer */
footer { background: var(--slate-900); color: var(--text-mute); padding: 60px 0 30px; text-align: center; font-size: 14px; }
footer p { max-width: 800px; margin: 0 auto 20px; }
footer .foot-links { color: var(--slate-100); margin-top: 10px; }
footer .foot-links a { color: var(--slate-100); text-decoration: underline; }
footer img.foot-logo { margin: 0 auto 20px; opacity: .9; }

/* Mobile nav toggle */
.menu-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 32px; height: 28px; background: none; border: none; cursor: pointer; padding: 0; }
.menu-toggle span { display: block; width: 100%; height: 2px; background: var(--slate-900); border-radius: 2px; }
.nav-overlay { display: none; position: fixed; inset: 0; background: rgba(30,27,75,0.45); z-index: 90; }
.nav-overlay.show { display: block; }

@media(max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    nav {
      position: fixed; top: 0; right: 0; height: 100vh; width: 78%; max-width: 320px;
      background: var(--white); padding: 90px 28px 28px; transform: translateX(100%);
      transition: transform .3s ease; overflow-y: auto; z-index: 95;
      box-shadow: -10px 0 30px rgba(0,0,0,0.12);
    }
    nav.open { transform: translateX(0); }
    nav ul { flex-direction: column; align-items: flex-start; gap: 4px; }
    nav ul > li { width: 100%; }
    nav ul > li > a { display: block; padding: 12px 4px; width: 100%; }
    nav li.has-dropdown .dropdown { display: none; position: static; box-shadow: none; background: var(--blue-50); margin: 4px 0 8px; }
    nav li.has-dropdown.open .dropdown { display: block; }
    .menu-toggle { display: flex; }
    .price-card.best { transform: scale(1); }
    .cert-row { gap: 28px; }
    .cert-row img { height: 56px; }
}

/* ---------- Page header banner (blog + support pages) ---------- */
.page-header-banner {
  background: linear-gradient(135deg, var(--slate-900) 0%, var(--slate-800) 100%);
  color: #fff; padding: 130px 0 56px; text-align: center;
}
.page-header-banner .eyebrow {
  color: #a5b4fc; font-family: 'Montserrat', sans-serif; font-weight: 700; letter-spacing: .06em;
  font-size: 14px; text-transform: uppercase; display: block; margin-bottom: 12px;
}
.page-header-banner h1 { color: #fff; font-size: 36px; margin-bottom: 12px; }
.page-header-banner p { color: #c7d2fe; max-width: 640px; margin: 0 auto; }
.breadcrumb { font-size: 13px; color: #a5b4fc; margin-top: 18px; }
.breadcrumb a { color: #a5b4fc; text-decoration: underline; }
.breadcrumb span { color: #fff; }

/* ---------- Blog grid + cards ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; margin-top: 44px; }
.blog-grid.cols-4 { grid-template-columns: repeat(4,1fr); }
.blog-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03); display: flex; flex-direction: column;
  transition: transform .15s ease, box-shadow .15s ease;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(30,27,75,0.12); }
.blog-card .blog-card-img { width: 100%; height: 190px; object-fit: cover; }
.blog-card-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.blog-card .tag { color: var(--blue-600); font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 8px; }
.blog-card h3 { font-size: 19px; margin-bottom: 10px; }
.blog-card p { font-size: 15px; color: var(--text-mute); margin-bottom: 16px; flex: 1; }
.blog-card .read-more { color: var(--blue-600); font-weight: 700; font-family: 'Montserrat', sans-serif; font-size: 14.5px; text-decoration: none; }
.blog-card .read-more:after { content: " \2192"; }

.post-body { max-width: 760px; margin: 0 auto; padding: 56px 24px; background: #fff; }
.post-body .post-hero-img { width: 100%; border-radius: var(--radius-lg); margin-bottom: 32px; }
.post-body h2 { font-size: 26px; margin: 36px 0 14px; }
.post-body h3 { font-size: 21px; margin: 28px 0 12px; }
.post-body p { margin-bottom: 18px; font-size: 18px; }
.post-body ul { list-style: disc; margin: 0 0 18px 22px; }
.post-body ul li { margin-bottom: 8px; font-size: 18px; }
.post-body a.inline-link { color: var(--blue-600); font-weight: 700; text-decoration: underline; }
.post-meta { color: var(--text-mute); font-size: 14.5px; margin-bottom: 8px; }
.post-cta {
  background: var(--blue-50); border-radius: var(--radius-lg); padding: 30px 28px; margin: 40px 0;
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap; justify-content: space-between;
}
.post-cta .post-cta-text h4 { font-size: 19px; margin-bottom: 6px; }
.post-cta .post-cta-text p { margin: 0; font-size: 15px; color: var(--text-mute); }
.related-posts { background: var(--slate-100); padding: 56px 0; }
.related-posts h2 { text-align: center; margin-bottom: 6px; }
.related-posts > .container > p { text-align: center; color: var(--text-mute); margin-bottom: 0; }

@media (max-width: 900px) {
  .blog-grid, .blog-grid.cols-4 { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 600px) {
  .blog-grid, .blog-grid.cols-4 { grid-template-columns: 1fr; }
  .page-header-banner { padding: 110px 0 40px; }
  .page-header-banner h1 { font-size: 26px; }
  .post-body { padding: 40px 18px; }
  .post-cta { flex-direction: column; align-items: flex-start; }
}

/* ---------- Order page ---------- */
.order-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.order-summary { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px; position: sticky; top: 100px; }
.order-summary img { max-width: 160px; margin: 0 auto 16px; }
.order-line { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--slate-100); font-size: 15px; }
.order-line.total { font-weight: 800; font-size: 18px; color: var(--slate-900); border-bottom: none; padding-top: 16px; }
.trust-mini { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 20px; }
.trust-mini span { font-size: 13px; color: var(--text-mute); display: flex; align-items: center; gap: 6px; }
.package-select { display: grid; gap: 16px; }
.package-option { border: 2px solid var(--border); border-radius: var(--radius-md); padding: 20px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; background: #fff; }
.package-option.selected { border-color: var(--blue-600); background: var(--blue-50); }
.package-option .pkg-left { display: flex; align-items: center; gap: 14px; }
.package-option .pkg-left input { width: 20px; height: 20px; accent-color: var(--blue-600); }
.package-option .pkg-name { font-weight: 700; color: var(--slate-900); }
.package-option .pkg-sub { font-size: 13px; color: var(--text-mute); }
.package-option .pkg-price { font-weight: 800; color: var(--slate-900); font-size: 18px; text-align: right; }
.package-option .pkg-badge { display: inline-block; background: var(--blue-600); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 50px; margin-left: 8px; }
@media (max-width: 900px) {
  .order-grid { grid-template-columns: 1fr; }
  .order-summary { position: static; }
}
