:root {
  --brand: #2563eb;
  --brand-dark: #1d4ed8;
  --brand-light: #eff6ff;
  --accent: #00FF73;
  --accent-dark: #00d660;
  --accent-glow: rgba(0, 255, 115, 0.45);
  --success: #16a34a;
  --ink: #0f172a;
  --ink-secondary: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #f8fafc;
  --card: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --container: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: 'Inter', Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding: 16px 12px 36px;
}

h1,
h2,
h3,
h4 {
  font-family: 'Poppins', Arial, sans-serif;
  color: var(--ink);
  font-weight: 700;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--brand);
  text-decoration: none;
}

input,
button,
textarea {
  font: inherit;
}

/* Main Container */
.wide {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  background: var(--card);
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.8);
}

/* Common Section Margins & Padding */
.topbar,
.hero,
.section,
.trust-strip,
.footer {
  width: 100%;
  padding-left: 36px;
  padding-right: 36px;
}

/* Header / Topbar */
.topbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding-top: 16px;
  padding-bottom: 16px;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.topbar:has(.nav-back-btn) {
  justify-content: space-between;
}

.topbar-center {
  justify-content: center !important;
}

.topbar .brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Poppins', Arial, sans-serif;
  text-decoration: none;
  transition: opacity .2s ease;
}

.topbar .brand:hover {
  opacity: .95;
}

.topbar .brand img {
  height: 38px;
  width: auto;
  max-width: 160px;
  display: block;
  object-fit: contain;
  transition: transform .25s cubic-bezier(.34, 1.56, .64, 1);
}

.topbar .brand:hover img {
  transform: scale(1.05);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-main {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -.5px;
  color: var(--ink);
  display: flex;
  align-items: baseline;
}

.brand-sub {
  color: var(--accent);
  margin-left: 3px;
  font-weight: 800;
}

.brand-tagline {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
}

.topbar .badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--success);
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  padding: 6px 14px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}

.badge-short {
  display: none;
}

/* Sticky Infobar */
.infobar {
  width: 100%;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  color: #fff;
  text-align: center;
  padding: 10px 20px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .2px;
}

.infobar span {
  color: #00FF73;
  font-weight: 700;
}

/* Hero Section */
.hero {
  padding-top: 40px;
  padding-bottom: 40px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
}

.hero-copy {
  width: 100%;
}

.rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #c2410c;
  font-size: 12.5px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.hero-copy h1 {
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.18;
  letter-spacing: -.7px;
  margin: 0 0 16px;
}

.hero-copy h1 span {
  background: linear-gradient(135deg, #059669 0%, #00FF73 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-copy p {
  font-size: 15.5px;
  color: var(--muted);
  margin: 0 0 20px;
  line-height: 1.65;
}

/* Key Chips */
.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #f1f5f9;
  color: var(--ink-secondary);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  background: linear-gradient(135deg, #00d660 0%, #00963f 100%);
  color: #ffffff;
  font-weight: 700;
  padding: 14px 30px;
  border-radius: 14px;
  font-size: 16px;
  letter-spacing: .2px;
  box-shadow: 0 8px 24px rgba(0, 180, 80, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: all .25s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
  text-decoration: none;
  border: none;
}

.cta:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #05e66b 0%, #00a846 100%);
  box-shadow: 0 12px 28px rgba(0, 180, 80, 0.48), 0 0 20px rgba(0, 255, 115, 0.3);
  color: #ffffff;
}

.cta:active {
  transform: translateY(1px);
  box-shadow: 0 4px 12px rgba(0, 180, 80, 0.35);
}

.cta-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  flex-shrink: 0;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s ease;
}

.cta:hover .cta-icon-wrap {
  transform: translateX(4px) scale(1.08);
  background: rgba(255, 255, 255, 0.32);
}

.cta-icon-wrap svg {
  display: block;
  stroke: #ffffff;
}

/* Hero Product Card */
.bottle-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.bottle-wrap img {
  width: 100%;
  max-width: 380px;
  height: auto;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .08);
  background: #fff;
  border: 1px solid var(--line);
  transition: transform .3s ease;
}

.bottle-wrap:hover img {
  transform: scale(1.02);
}

.bottle-wrap .ribbon {
  position: absolute;
  top: 12px;
  right: 6%;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff;
  font-weight: 800;
  font-size: 11px;
  padding: 6px;
  border-radius: 50%;
  width: 66px;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.15;
  box-shadow: 0 6px 16px rgba(220, 38, 38, .35);
  transform: rotate(8deg);
}

/* Trust Strip */
.trust-strip {
  background: #f8fafc;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-top: 16px;
  padding-bottom: 16px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  text-align: center;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.trust-item .ic {
  font-size: 22px;
}

.trust-item .t-head {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.trust-item .t-sub {
  font-size: 11.5px;
  color: var(--muted);
}

/* Section Styling */
.section {
  padding-top: 44px;
  padding-bottom: 44px;
  border-top: 1px solid var(--line);
}

.section .eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--brand);
  font-weight: 700;
  margin-bottom: 6px;
}

.section h2 {
  font-size: clamp(23px, 2.2vw, 30px);
  line-height: 1.25;
  margin: 0 0 14px;
  letter-spacing: -.4px;
}

.product-title-heading {
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.35;
  letter-spacing: -.3px;
  margin: 0 0 16px;
}

/* Product 2 Showcase */
.product-showcase-section {
  position: relative;
}

.product-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
}

.product-badge-pill .p-num {
  color: #fff;
  background: var(--brand);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.product-badge-pill .p-divider {
  color: #93c5fd;
}

.product-badge-pill .p-highlight {
  color: var(--brand-dark);
}

.product2-title {
  font-size: clamp(23px, 2.4vw, 32px);
  line-height: 1.25;
  margin: 0 0 12px;
  letter-spacing: -.5px;
  color: var(--ink);
}

.product2-chips {
  margin-bottom: 22px;
}

.ribbon-blue {
  background: linear-gradient(135deg, #2563eb, #1d4ed8) !important;
  box-shadow: 0 6px 16px rgba(37, 99, 235, .35) !important;
}

.section-lead {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 840px;
  margin: 0;
}

/* How It Works - 3 Cards */
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.how-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 18px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
  position: relative;
}

.how-step-num {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 10px;
  border-radius: 999px;
}

.how-icon {
  font-size: 34px;
  margin-top: 8px;
  margin-bottom: 10px;
}

.how-card h3 {
  font-size: 15.5px;
  margin: 0 0 6px;
}

.how-card p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

/* Screen Time vs Brain Time Comparison */
.vs-box {
  margin-top: 32px;
  background: linear-gradient(135deg, #fef2f2, #fff7ed);
  border: 1.5px solid #fed7aa;
  border-radius: 16px;
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.vs-col h4 {
  margin: 0 0 8px;
  font-size: 15px;
}

.vs-bad h4 {
  color: #dc2626;
}

.vs-good h4 {
  color: #16a34a;
}

.vs-col ul {
  margin: 0;
  padding-left: 20px;
  font-size: 13.5px;
  color: var(--ink-secondary);
  line-height: 1.6;
}

/* Benefit Grid */
.benefit-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  align-items: center;
  margin-top: 24px;
}

.benefit-visual {
  border-radius: var(--radius);
  background: #f8fafc;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .04);
}

.benefit-visual img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  display: block;
}

.benefits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.benefits li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.5;
}

.benefits li .icon {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}

.benefit-col {
  display: flex;
  flex-direction: column;
}

.benefit-cta-wrap {
  margin-top: 18px;
  display: flex;
  align-items: center;
}

/* What's in the Box Grid */
.ingredients-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.ing-card {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 14px;
  text-align: center;
  min-height: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform .2s ease, border-color .2s ease;
}

.ing-card:hover {
  transform: translateY(-3px);
  border-color: #93c5fd;
}

.ing-card .leaf {
  font-size: 28px;
  margin-bottom: 6px;
}

.ing-card span {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}

/* Parent Reviews */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 20px;
}

.rev-card {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.rev-stars {
  color: #f59e0b;
  font-size: 14px;
  margin-bottom: 8px;
}

.rev-text {
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-secondary);
  margin: 0 0 12px;
  font-style: italic;
}

.rev-author {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 6px;
}

.rev-verified {
  color: var(--success);
  font-size: 11px;
  font-weight: 600;
}

/* FAQ Section */
.faq-grid {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.faq-item {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 20px;
}

.faq-item h4 {
  margin: 0 0 6px;
  font-size: 14.5px;
  color: var(--ink);
}

.faq-item p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}

/* Compact Safety Disclaimer */
.disclaimer-wrap {
  padding: 24px 36px 16px;
}

.disclaimer {
  max-width: 680px;
  margin: 0 auto;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 20px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.55;
  text-align: center;
}

/* Footer */
.footer {
  text-align: center;
  padding-top: 16px;
  padding-bottom: 24px;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid #f1f5f9;
}

/* Responsive Media Queries */
@media (max-width: 860px) {
  body {
    padding: 0;
  }

  .wide {
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-top: none;
    box-shadow: none;
  }

  .topbar,
  .hero,
  .section,
  .trust-strip,
  .footer,
  .disclaimer-wrap {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .hero-copy h1 {
    font-size: 28px;
    line-height: 1.25;
  }

  .hero-chips {
    justify-content: center;
  }

  .bottle-wrap img {
    max-width: 340px;
    margin: 0 auto;
  }

  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .how-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .vs-box {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .benefit-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .benefit-visual img {
    max-width: 360px;
    margin: 0 auto;
  }

  .ingredients-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

}

@media (max-width: 600px) {

  .topbar,
  .hero,
  .section,
  .trust-strip,
  .footer,
  .disclaimer-wrap {
    padding-left: 14px;
    padding-right: 14px;
  }

  .topbar {
    padding-top: 12px;
    padding-bottom: 12px;
    gap: 8px;
  }

  .topbar .brand {
    gap: 10px;
  }

  .topbar .brand img {
    height: 34px;
    width: auto;
    max-width: 140px;
  }

  .brand-main {
    font-size: 19px;
  }

  .brand-tagline {
    font-size: 8px;
    letter-spacing: 0.8px;
  }

  .topbar .badge {
    font-size: 11px;
    padding: 4px 10px;
  }

  .infobar {
    padding: 8px 12px;
    font-size: 12px;
    line-height: 1.45;
  }

  .hero {
    padding-top: 22px;
    padding-bottom: 22px;
    gap: 20px;
  }

  .rating-pill {
    font-size: 11.5px;
    padding: 5px 10px;
  }

  .hero-copy h1 {
    font-size: 24px;
    line-height: 1.25;
    margin-bottom: 10px;
  }

  .hero-copy p {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 16px;
  }

  .hero-chips {
    gap: 6px;
  }

  .hero-chip {
    font-size: 11.5px;
    padding: 6px 10px;
  }

  .cta {
    width: 100%;
    justify-content: center;
    padding: 14px 16px;
    font-size: 15px;
  }

  .section {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .section h2 {
    font-size: 21px;
    line-height: 1.3;
    margin-bottom: 14px;
  }

  .eyebrow {
    font-size: 11px;
  }

  .benefit-visual img {
    max-width: 300px;
  }

  .benefits {
    gap: 8px;
  }

  .benefits li {
    padding: 11px 12px;
    font-size: 13px;
    gap: 10px;
  }

  .benefits li .icon {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    font-size: 11px;
  }

  .ingredients-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .ing-card {
    padding: 12px 8px;
    min-height: 90px;
  }

  .ing-card .num {
    font-size: 19px;
  }

  .ing-card h4 {
    font-size: 12.5px;
  }

  .ing-card p {
    font-size: 11px;
  }

  .vs-box {
    gap: 12px;
  }

  .vs-col {
    padding: 16px 14px;
  }

  .vs-col h4 {
    font-size: 14px;
  }

  .vs-col li {
    font-size: 12.5px;
  }

  .trust-strip {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .faq-item {
    padding: 14px 12px;
  }

  .faq-item h4 {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .badge-full {
    display: none;
  }

  .badge-short {
    display: inline;
  }

  .topbar .badge {
    font-size: 10.5px;
    padding: 4px 8px;
  }

  .hero-copy h1 {
    font-size: 22px;
  }

  .hero-chips {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }

  .hero-chip {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 360px) {
  .topbar .brand img {
    height: 30px;
    width: auto;
    max-width: 120px;
  }

  .brand-main {
    font-size: 16px;
  }

  .brand-tagline {
    display: none;
  }

  .ingredients-grid {
    grid-template-columns: 1fr;
  }

}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 12px;
}

.footer-links a {
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-links a.active {
  color: var(--brand);
}

/* ========================================================
   Legal & Information Pages Styling (Privacy, Terms, About)
   ======================================================== */

.nav-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--brand-light);
  color: var(--brand);
  font-size: 13.5px;
  font-weight: 600;
  border: 1px solid #bfdbfe;
  text-decoration: none;
  transition: all 0.2s ease;
}

.nav-back-btn:hover {
  background: var(--brand);
  color: #ffffff;
  border-color: var(--brand);
  transform: translateX(-2px);
}

.legal-section {
  padding-top: 36px;
  padding-bottom: 50px;
}

.legal-nav-tabs {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 30px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.legal-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-secondary);
  background: #f1f5f9;
  text-decoration: none;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.legal-tab:hover {
  background: #e2e8f0;
  color: var(--ink);
}

.legal-tab.active {
  background: var(--accent);
  color: #06164E;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0, 255, 115, 0.35);
}

.legal-hero {
  margin-bottom: 28px;
}

.legal-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: #eff6ff;
  color: var(--brand);
  border: 1px solid #bfdbfe;
  margin-bottom: 12px;
}

.legal-hero h1 {
  font-size: clamp(26px, 3.2vw, 36px);
  color: var(--ink);
  margin: 0 0 10px;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.legal-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 18px;
}

.legal-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* Quick Summary Box */
.legal-summary-box {
  background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
  border: 1px solid #bfdbfe;
  border-radius: 14px;
  padding: 20px 24px;
  margin-bottom: 30px;
}

.legal-summary-box h3 {
  font-size: 16px;
  margin: 0 0 12px;
  color: var(--brand-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

.legal-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.legal-summary-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--ink-secondary);
  line-height: 1.5;
}

.legal-summary-item .check-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #22c55e;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Cards Stack */
.legal-cards {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 32px;
}

.legal-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px 28px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.legal-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

.legal-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.legal-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--brand-light);
  color: var(--brand);
  font-size: 18px;
  flex-shrink: 0;
}

.legal-card h2 {
  font-size: 18px;
  margin: 0;
  color: var(--ink);
  letter-spacing: -0.2px;
}

.legal-card-body {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ink-secondary);
}

.legal-card-body p {
  margin: 0 0 12px;
}

.legal-card-body p:last-child {
  margin-bottom: 0;
}

.legal-card-body ul {
  margin: 10px 0 12px;
  padding-left: 20px;
}

.legal-card-body li {
  margin-bottom: 6px;
  position: relative;
  line-height: 1.6;
}

/* Help & Contact Banner */
.legal-contact-box {
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 14px;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.legal-contact-text h4 {
  font-size: 16px;
  margin: 0 0 4px;
  color: var(--ink);
}

.legal-contact-text p {
  font-size: 13.5px;
  color: var(--muted);
  margin: 0;
}

.legal-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.15s ease;
}

.legal-contact-btn:hover {
  background: var(--brand-dark);
  color: #ffffff;
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .legal-section {
    padding-top: 24px;
    padding-bottom: 36px;
  }

  .legal-card {
    padding: 18px 18px;
  }

  .legal-card-header {
    gap: 10px;
  }

  .legal-card-icon {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }

  .legal-card h2 {
    font-size: 16.5px;
  }

  .legal-summary-box {
    padding: 16px 18px;
  }

  .legal-contact-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .legal-contact-btn {
    width: 100%;
    justify-content: center;
  }
}


.footer-links a:hover,
.footer-links a.active {
  color: var(--brand);
}

/* ========================================================
   Legal & Information Pages Styling (Privacy, Terms, About)
   ======================================================== */

.nav-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--brand-light);
  color: var(--brand);
  font-size: 13.5px;
  font-weight: 600;
  border: 1px solid #bfdbfe;
  text-decoration: none;
  transition: all 0.2s ease;
}

.nav-back-btn:hover {
  background: var(--brand);
  color: #ffffff;
  border-color: var(--brand);
  transform: translateX(-2px);
}

.legal-section {
  padding-top: 36px;
  padding-bottom: 50px;
}

.legal-nav-tabs {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 30px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.legal-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-secondary);
  background: #f1f5f9;
  text-decoration: none;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.legal-tab:hover {
  background: #e2e8f0;
  color: var(--ink);
}

.legal-tab.active {
  background: var(--accent);
  color: #06164E;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0, 255, 115, 0.35);
}

.legal-hero {
  margin-bottom: 28px;
}

.legal-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: #eff6ff;
  color: var(--brand);
  border: 1px solid #bfdbfe;
  margin-bottom: 12px;
}

.legal-hero h1 {
  font-size: clamp(26px, 3.2vw, 36px);
  color: var(--ink);
  margin: 0 0 10px;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.legal-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 18px;
}

.legal-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* Quick Summary Box */
.legal-summary-box {
  background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
  border: 1px solid #bfdbfe;
  border-radius: 14px;
  padding: 20px 24px;
  margin-bottom: 30px;
}

.legal-summary-box h3 {
  font-size: 16px;
  margin: 0 0 12px;
  color: var(--brand-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

.legal-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.legal-summary-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--ink-secondary);
  line-height: 1.5;
}

.legal-summary-item .check-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #22c55e;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Cards Stack */
.legal-cards {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 32px;
}

.legal-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px 28px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.legal-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

.legal-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.legal-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--brand-light);
  color: var(--brand);
  font-size: 18px;
  flex-shrink: 0;
}

.legal-card h2 {
  font-size: 18px;
  margin: 0;
  color: var(--ink);
  letter-spacing: -0.2px;
}

.legal-card-body {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ink-secondary);
}

.legal-card-body p {
  margin: 0 0 12px;
}

.legal-card-body p:last-child {
  margin-bottom: 0;
}

.legal-card-body ul {
  margin: 10px 0 12px;
  padding-left: 20px;
}

.legal-card-body li {
  margin-bottom: 6px;
  position: relative;
  line-height: 1.6;
}

/* Help & Contact Banner */
.legal-contact-box {
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 14px;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.legal-contact-text h4 {
  font-size: 16px;
  margin: 0 0 4px;
  color: var(--ink);
}

.legal-contact-text p {
  font-size: 13.5px;
  color: var(--muted);
  margin: 0;
}

.legal-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.15s ease;
}

.legal-contact-btn:hover {
  background: var(--brand-dark);
  color: #ffffff;
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .legal-section {
    padding-top: 24px;
    padding-bottom: 36px;
  }

  .legal-card {
    padding: 18px 18px;
  }

  .legal-card-header {
    gap: 10px;
  }

  .legal-card-icon {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }

  .legal-card h2 {
    font-size: 16.5px;
  }

  .legal-summary-box {
    padding: 16px 18px;
  }

  .legal-contact-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .legal-contact-btn {
    width: 100%;
    justify-content: center;
  }
}