/* ==========================================================================
   AuraFlow — Bio-Enhanced Nootropic Supplements
   styles.css — HTML5 + Bootstrap 5 + CSS3 (prefixed with af-)
   ========================================================================== */

/* ---------------------------------- Tokens --------------------------------- */
:root {
  --af-teal:        #1f9e8e;
  --af-teal-dark:   #17826f;
  --af-teal-deep:   #0f2e33;
  --af-teal-light:  #dff5f1;
  --af-aqua:        #c8efe8;
  --af-lavender:    #dfe3f7;
  --af-text:        #17303a;
  --af-muted:       #5a7480;
  --af-orange:      #f4a261;
  --af-orange-dark: #e76f51;
  --af-purple:      #7c6df2;
  --af-purple-dark: #5a4fcf;
  --af-white:       #ffffff;

  --af-grad-hero:   radial-gradient(38% 44% at 84% 7%, rgba(147, 227, 210, .85) 0%, rgba(147, 227, 210, 0) 70%),
                    radial-gradient(56% 74% at 103% 56%, rgba(184, 188, 244, .82) 0%, rgba(184, 188, 244, 0) 68%),
                    radial-gradient(52% 54% at 3% 97%, rgba(197, 219, 243, .92) 0%, rgba(197, 219, 243, 0) 70%),
                    radial-gradient(32% 36% at 66% 46%, rgba(255, 235, 212, .5) 0%, rgba(255, 235, 212, 0) 74%),
                    linear-gradient(114deg, #f8fbfd 0%, #f0f5fb 40%, #ebf0fb 70%, #dfe4f7 100%);
  --af-grad-dark:   linear-gradient(135deg, #1f9e8e 0%, #17826f 100%);
  --af-grad-footer: linear-gradient(135deg, #0f2e33 0%, #12283f 100%);

  --af-radius-sm:   14px;
  --af-radius:      20px;
  --af-radius-lg:   28px;

  --af-shadow-sm:   0 6px 18px rgba(23, 48, 58, .07);
  --af-shadow:      0 18px 44px rgba(23, 48, 58, .10);
  --af-shadow-lg:   0 30px 70px rgba(23, 48, 58, .16);
  --af-glow-teal:   0 14px 34px rgba(31, 158, 142, .32);

  --af-nav-h:       84px;
  --af-ease:        cubic-bezier(.2, .75, .25, 1);
}

/* ---------------------------------- Base ----------------------------------- */
* { -webkit-tap-highlight-color: transparent; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--af-nav-h) + 12px);
}

body.af-body {
  font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--af-text);
  background: var(--af-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--af-teal); color: #fff; }

img, svg { max-width: 100%; }

a { text-decoration: none; transition: color .25s var(--af-ease); }

:focus-visible {
  outline: 3px solid rgba(31, 158, 142, .55);
  outline-offset: 3px;
  border-radius: 8px;
}

/* Skip link */
.af-skip-link {
  position: fixed;
  top: -70px;
  left: 16px;
  z-index: 2000;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--af-teal-dark);
  color: #fff;
  font-weight: 700;
  transition: top .3s var(--af-ease);
}
.af-skip-link:focus { top: 14px; }

/* ------------------------------ Typography --------------------------------- */
.af-h2 {
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -.03em;
  margin: .35rem 0 .5rem;
  color: var(--af-text);
}

.af-h3 {
  font-size: clamp(1.5rem, 2.6vw, 2.05rem);
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: .85rem;
}

.af-h4 {
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: -.01em;
  margin: 1.1rem 0 .5rem;
}

.af-subtitle {
  color: var(--af-muted);
  font-size: 1.02rem;
  font-weight: 500;
  margin: 0;
}

.af-lead {
  color: var(--af-muted);
  font-size: 1.03rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.af-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 17px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .65);
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: var(--af-shadow-sm);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--af-teal-dark);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.af-eyebrow-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--af-teal);
  box-shadow: 0 0 0 0 rgba(31, 158, 142, .55);
  animation: af-ping 2.4s var(--af-ease) infinite;
}

/* ------------------------------- Buttons ----------------------------------- */
.af-btn {
  --af-btn-pad: 12px 14px 12px 26px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: var(--af-btn-pad);
  border-radius: 999px;
  font-weight: 700;
  font-size: .97rem;
  line-height: 1;
  border: 1px solid transparent;
  transition: transform .35s var(--af-ease), box-shadow .35s var(--af-ease),
              background-color .35s var(--af-ease), color .35s var(--af-ease);
  will-change: transform;
}

.af-btn-dark {
  background: var(--af-grad-dark);
  color: #fff;
  box-shadow: 0 10px 26px rgba(31, 158, 142, .30);
}
.af-btn-dark:hover,
.af-btn-dark:focus-visible {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(31, 158, 142, .42);
}
.af-btn-dark:active { transform: translateY(-1px) scale(.985); }

.af-btn-lg { --af-btn-pad: 15px 17px 15px 30px; font-size: 1.03rem; }

/* Hero CTA — deep teal pill + mint orb with dark arrow */
.af-btn-hero {
  background: #177066;
  color: #fff;
  box-shadow: 0 12px 28px rgba(16, 90, 80, .28);
}
.af-btn-hero:hover,
.af-btn-hero:focus-visible {
  color: #fff;
  background: #14655c;
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(16, 90, 80, .38);
}
.af-btn-hero:active { transform: translateY(-1px) scale(.985); }
.af-btn-hero .af-btn-orb {
  background: #86e6d3;
  border-color: transparent;
  color: #10463f;
  box-shadow: 0 4px 12px rgba(4, 45, 39, .22);
}
.af-btn-hero:hover .af-btn-orb {
  background: #9befdd;
  color: #0c3b35;
  transform: rotate(45deg) scale(1.08);
}

.af-btn-orb {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .35);
  transition: transform .45s var(--af-ease), background-color .35s var(--af-ease);
}
.af-btn-orb-sm { width: 26px; height: 26px; }
.af-btn:hover .af-btn-orb { transform: rotate(45deg) scale(1.08); background: rgba(255, 255, 255, .3); }

.af-btn-block { justify-content: space-between; width: 100%; }
.af-btn-signin { padding: 9px 10px 9px 20px; font-size: .9rem; }

/* ============================ 1. STICKY NAVBAR ============================= */
.af-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1030;
  padding: 14px 0;
  transition: padding .4s var(--af-ease), background-color .4s var(--af-ease),
              box-shadow .4s var(--af-ease), backdrop-filter .4s var(--af-ease);
  background: transparent;
}

.af-nav.af-scrolled {
  padding: 8px 0;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 12px 34px rgba(23, 48, 58, .10);
  border-bottom: 1px solid rgba(255, 255, 255, .6);
}

.af-nav-container { max-width: 1220px; }

.af-navbar { padding: 0; }

/* Brand */
.af-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}
.af-brand-orb {
  display: grid;
  place-items: center;
  filter: drop-shadow(0 8px 16px rgba(31, 158, 142, .38));
  animation: af-spin-slow 18s linear infinite;
  transition: filter .35s var(--af-ease);
}
.af-brand:hover .af-brand-orb { filter: drop-shadow(0 10px 22px rgba(31, 158, 142, .6)); }
.af-brand-name {
  font-size: 1.42rem;
  font-weight: 800;
  letter-spacing: -.035em;
  color: var(--af-text);
}
.af-brand-thin { color: var(--af-teal); }

/* Collapse / menu */
.af-nav-collapse {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.af-nav-pill {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  margin-inline: auto;
  border-radius: 999px;
  background: rgba(255, 255, 255, .55);
  border: 1px solid rgba(255, 255, 255, .85);
  box-shadow: var(--af-shadow-sm);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.af-nav-link {
  padding: 9px 20px !important;
  border-radius: 999px;
  font-size: .94rem;
  font-weight: 600;
  color: var(--af-text) !important;
  transition: background-color .3s var(--af-ease), color .3s var(--af-ease),
              transform .3s var(--af-ease);
}
.af-nav-link:hover { background: rgba(31, 158, 142, .12); color: var(--af-teal-dark) !important; transform: translateY(-1px); }
.af-nav-link.active {
  background: var(--af-grad-dark);
  color: #fff !important;
  box-shadow: 0 8px 18px rgba(31, 158, 142, .35);
}

.af-nav-actions { display: flex; align-items: center; gap: 10px; }

.af-icon-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(23, 48, 58, .10);
  background: rgba(255, 255, 255, .7);
  color: var(--af-text);
  cursor: pointer;
  transition: transform .3s var(--af-ease), box-shadow .3s var(--af-ease),
              background-color .3s var(--af-ease), color .3s var(--af-ease);
}
.af-icon-btn:hover {
  transform: translateY(-3px);
  background: #fff;
  color: var(--af-teal-dark);
  box-shadow: 0 12px 24px rgba(23, 48, 58, .14);
}
.af-icon-btn.is-open { background: var(--af-teal); color: #fff; border-color: transparent; box-shadow: var(--af-glow-teal); }

.af-cart-badge {
  position: absolute;
  top: -4px; right: -4px;
  min-width: 19px; height: 19px;
  padding: 0 5px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--af-orange-dark);
  color: #fff;
  font-size: .66rem;
  font-weight: 800;
  border: 2px solid #fff;
  transition: transform .35s var(--af-ease);
}
.af-cart-badge.is-bumped { animation: af-bump .55s var(--af-ease); }

/* Toggler */
.af-toggler {
  border: 1px solid rgba(23, 48, 58, .12);
  border-radius: 14px;
  padding: 9px 10px;
  box-shadow: none !important;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.af-toggler:focus { box-shadow: 0 0 0 .2rem rgba(31, 158, 142, .28) !important; }
.af-bar {
  display: block;
  width: 22px; height: 2px;
  border-radius: 2px;
  background: var(--af-text);
  transition: transform .35s var(--af-ease), opacity .3s var(--af-ease);
}
.navbar-toggler[aria-expanded="true"] .af-bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.navbar-toggler[aria-expanded="true"] .af-bar:nth-child(2) { opacity: 0; }
.navbar-toggler[aria-expanded="true"] .af-bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Dropdown panels (search / cart) */
.af-panel {
  position: absolute;
  top: calc(100% + 6px);
  right: max(16px, calc((100% - 1220px) / 2));
  width: min(340px, calc(100vw - 32px));
  padding: 18px;
  border-radius: var(--af-radius);
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: var(--af-shadow-lg);
  opacity: 0;
  transform: translateY(-14px) scale(.97);
  pointer-events: none;
  transition: opacity .32s var(--af-ease), transform .32s var(--af-ease);
}
.af-panel.is-open { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }

.af-panel-title { font-weight: 800; font-size: .95rem; margin: 0 0 12px; letter-spacing: -.01em; }

.af-search-form { position: relative; display: flex; align-items: center; }
.af-search-ico { position: absolute; left: 15px; color: var(--af-muted); pointer-events: none; }
.af-search-input {
  width: 100%;
  padding: 13px 46px 13px 42px;
  border-radius: 999px;
  border: 1px solid rgba(23, 48, 58, .12);
  background: rgba(255, 255, 255, .9);
  font: inherit;
  font-size: .93rem;
  color: var(--af-text);
  transition: border-color .3s, box-shadow .3s;
}
.af-search-input:focus {
  outline: none;
  border-color: var(--af-teal);
  box-shadow: 0 0 0 4px rgba(31, 158, 142, .16);
}
.af-search-go {
  position: absolute;
  right: 6px;
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  border: 0;
  border-radius: 50%;
  background: var(--af-grad-dark);
  color: #fff;
  cursor: pointer;
  transition: transform .3s var(--af-ease);
}
.af-search-go:hover { transform: scale(1.1) rotate(45deg); }

.af-search-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 13px; }
.af-tag {
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--af-teal-light);
  color: var(--af-teal-dark);
  font-size: .76rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .25s var(--af-ease), background-color .25s;
}
.af-tag:hover { transform: translateY(-2px); background: var(--af-teal); color: #fff; }

.af-cart-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(23, 48, 58, .14);
  font-size: .9rem;
}
.af-cart-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--dot, var(--af-teal)); box-shadow: 0 0 0 4px rgba(31, 158, 142, .12); }
.af-cart-name { flex: 1; font-weight: 600; }
.af-cart-price { font-weight: 800; color: var(--af-teal-dark); }
.af-cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 0 15px;
  font-size: .93rem;
  color: var(--af-muted);
}
.af-cart-total strong { font-size: 1.12rem; color: var(--af-text); }

/* ================================ 2. HERO ================================== */
.af-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--af-nav-h) + 40px) 0 70px;
  background: var(--af-grad-hero);
  overflow: hidden;
}

/* glow blobs */
.af-blobs { position: absolute; inset: 0; pointer-events: none; }
.af-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .75;
  will-change: transform;
}
.af-blob-1 { width: 460px; height: 460px; top: -130px; left: -120px; background: #d9e9f9; opacity: .75; animation: af-drift 16s ease-in-out infinite; }
.af-blob-2 { width: 540px; height: 540px; bottom: -190px; right: -140px; background: #c9cbf3; opacity: .5; animation: af-drift 20s ease-in-out infinite reverse; }
.af-blob-3 { width: 380px; height: 380px; top: 24%; right: 24%; background: #ffe6cb; opacity: .4; animation: af-drift 18s ease-in-out infinite 1.5s; }
.af-blob-4 { width: 320px; height: 320px; bottom: 4%; left: 10%; background: #cfe6f7; opacity: .6; animation: af-drift 14s ease-in-out infinite .8s reverse; }

.af-hero-container { position: relative; z-index: 2; width: 100%; max-width: 1580px; padding-inline: clamp(16px, 3.5vw, 44px); }
.af-hero-row { row-gap: 2rem; }

/* copy */
.af-hero-copy { max-width: 760px; }

.af-hero-title {
  font-family: "Inter", "DM Sans", system-ui, sans-serif;
  font-size: clamp(2rem, 5.6vw, 3.6rem);
  line-height: 1.13;
  font-weight: 700;
  letter-spacing: -.032em;
  color: #15171c;
  margin: 0 0 1.2rem;
}
@media (min-width: 992px) {
  .af-hero-title { font-size: clamp(2.6rem, 4.5vw, 4.5rem); }
}
.af-hero-title .af-line { display: block; overflow: hidden; padding-bottom: .06em; }
.af-hero-title .af-line > span {
  display: block;
  opacity: 0;
  transform: translateY(105%);
  animation: af-rise 1s var(--af-ease) forwards;
}
.af-hero-title .af-line:nth-child(1) > span { animation-delay: .15s; }
.af-hero-title .af-line:nth-child(2) > span { animation-delay: .30s; }
.af-hero-title .af-line:nth-child(3) > span { animation-delay: .45s; }

.af-hero-line { opacity: 0; transform: translateY(26px); animation: af-fade-up .9s var(--af-ease) forwards; }
.af-hero-copy > .af-eyebrow.af-hero-line { animation-delay: .05s; }
.af-hero-sub.af-hero-line { animation-delay: .62s; }
.af-hero-cta.af-hero-line { animation-delay: .78s; }

.af-hero-sub {
  font-family: "Inter", "DM Sans", system-ui, sans-serif;
  font-size: clamp(.95rem, 1.2vw, 1.2rem);
  line-height: 1.6;
  color: #6a747d;
  font-weight: 400;
  max-width: 400px;
  margin-bottom: 1.85rem;
}

.af-hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }

.af-hero-proof { display: flex; align-items: center; gap: 11px; }
.af-stars { display: flex; gap: 2px; color: var(--af-orange); }
.af-hero-proof p { margin: 0; font-size: .86rem; color: var(--af-muted); }
.af-hero-proof strong { color: var(--af-text); }

/* stage */
.af-hero-stage-col { display: flex; justify-content: center; }

.af-stage {
  position: relative;
  width: min(690px, 100%);
  aspect-ratio: 1 / 1;
  isolation: isolate;
}

/* Parallax offsets (--px / --py) are written by JS and composed into every
   float/spin keyframe so looping animations never clobber mousemove motion. */
.af-deco {
  position: absolute;
  will-change: transform;
  transform: translate3d(var(--px, 0px), var(--py, 0px), 0);
}

/* bottle */
.af-bottle-wrap {
  inset: 1% 14% 0 14%;
  display: grid;
  place-items: center;
  z-index: 3;
  animation: af-float 7s ease-in-out infinite;
  filter: drop-shadow(0 34px 46px rgba(15, 46, 51, .26));
}
.af-bottle { width: 100%; height: auto; overflow: visible; }

.af-bottle-title { font: 600 34px "Inter", "DM Sans", sans-serif; fill: #ffffff; letter-spacing: -.02em; }
.af-bottle-sub   { font: 400 15px "Inter", "DM Sans", sans-serif; fill: rgba(255, 255, 255, .93); letter-spacing: .16em; }
.af-bottle-line  { font: 400 11px "Inter", "DM Sans", sans-serif; fill: rgba(255, 255, 255, .88); }
.af-bottle-pill  { font: 600 11.5px "Inter", "DM Sans", sans-serif; fill: #ffffff; letter-spacing: .02em; }

/* orbit glow rings */
.af-ring {
  inset: 0 -8% 0 -8%;
  z-index: 2;
  animation: af-spin 42s linear infinite;
}
.af-ring-back  { z-index: 2; opacity: 1; }
.af-ring-front { z-index: 4; opacity: 1; }
.af-ring svg {
  overflow: visible;
  filter: drop-shadow(0 0 12px rgba(46, 224, 200, .75))
          drop-shadow(0 0 32px rgba(46, 224, 200, .45));
}

/* frosted glass orbs */
.af-orb {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 26%, rgba(255, 255, 255, .6), rgba(255, 255, 255, .22) 58%, rgba(255, 255, 255, .1));
  border: 1px solid rgba(255, 255, 255, .68);
  box-shadow: 0 14px 30px rgba(23, 48, 58, .09), inset 0 1px 6px rgba(255, 255, 255, .85);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  z-index: 5;
}
.af-orb-softgel { width: 88px;  height: 88px; }
.af-orb-leaf    { width: 94px;  height: 94px; }
.af-orb-almond  { width: 86px;  height: 86px; }
.af-orb-berries { width: 104px; height: 104px; }

/* decor placement + loops */
.af-orb-softgel { top: 12%; left: 5%;  animation: af-float 5.6s ease-in-out infinite .2s; }
.af-orb-leaf    { top: 42%; right: -6%; animation: af-float 7.4s ease-in-out infinite .6s; }
.af-orb-almond  { top: 58%; left: 4%;  animation: af-float 6.2s ease-in-out infinite .9s; }
.af-orb-berries { bottom: 6%; right: 15%; animation: af-float 6.6s ease-in-out infinite 1.2s; }

.af-cube { z-index: 5; }
.af-cube-a { top: 4%;   left: 30%;  animation: af-float-tilt 7.8s ease-in-out infinite .3s; }
.af-cube-b { top: 62%;  right: -8%; animation: af-float-tilt 8.6s ease-in-out infinite .8s; }
.af-cube-c { bottom: 6%; left: 16%; animation: af-float-tilt 7.2s ease-in-out infinite 1.4s; }

.af-prism        { top: 36%; left: -2%; z-index: 5; animation: af-float 6.8s ease-in-out infinite .5s; }
.af-sparkle-pink { top: 24%; right: 8%; z-index: 6; animation: af-twinkle 3.2s ease-in-out infinite; }
.af-sparkle-mint { bottom: 30%; left: 24%; z-index: 6; animation: af-twinkle 4s ease-in-out infinite 1s; }

.af-glow-dot {
  bottom: 13%; right: 3%;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: #5fe9d4;
  box-shadow: 0 0 12px 4px rgba(95, 233, 212, .75);
  z-index: 6;
  animation: af-twinkle 3.6s ease-in-out infinite .5s;
}

/* ============================== SECTION BASE =============================== */
.af-section { position: relative; padding: clamp(64px, 9vw, 116px) 0; }

.af-section-head { text-align: center; max-width: 640px; margin: 0 auto clamp(38px, 5vw, 60px); }

/* Scroll reveal utility */
.reveal {
  opacity: 0;
  transform: translateY(40px) scale(.97);
  transition: opacity .85s var(--af-ease), transform .85s var(--af-ease);
  transition-delay: var(--d, 0s);
  will-change: transform, opacity;
}
.reveal-left  { transform: translateX(-46px); }
.reveal-right { transform: translateX(46px); }
.reveal-scale { transform: translateY(46px) scale(.94); }
.reveal.in-view { opacity: 1; transform: none; }

/* ============================== 3. OUR SCIENCE ============================= */
.af-science { background: linear-gradient(180deg, #ffffff 0%, #f4fbfa 45%, #ffffff 100%); }

.af-glass-card {
  position: relative;
  padding: clamp(26px, 4vw, 54px);
  border-radius: var(--af-radius-lg);
  background: linear-gradient(135deg, rgba(255, 255, 255, .72), rgba(255, 255, 255, .45));
  border: 1px solid rgba(255, 255, 255, .85);
  box-shadow: var(--af-shadow);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  overflow: hidden;
}
.af-glass-card::before {
  content: "";
  position: absolute;
  top: -70px; right: -60px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 158, 142, .28), transparent 68%);
  pointer-events: none;
}
.af-glass-card > .row { position: relative; z-index: 1; }

.af-brain-wrap {
  position: relative;
  width: min(440px, 100%);
  aspect-ratio: 1 / 1;
  margin-inline: auto;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--af-shadow-sm);
}

.af-brain-svg {
  display: block;
  width: 100%;
  height: 100%;
  animation: af-float 8s ease-in-out infinite;
}

.af-dashline {
  animation: af-dashmove 2.2s linear infinite;
}
.af-dashline-2 { animation-delay: .3s; }
.af-dashline-3 { animation-delay: .6s; }
.af-dashline-4 { animation-delay: .9s; }

@keyframes af-dashmove {
  to { stroke-dashoffset: -28; }
}

.af-chip-static {
  display: inline-block;
  padding: 7px 15px;
  border-radius: 999px;
  background: var(--af-teal-light);
  color: var(--af-teal-dark);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.af-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 1.7rem;
  display: grid;
  gap: 11px;
}
.af-checklist li {
  position: relative;
  padding-left: 34px;
  color: var(--af-text);
  font-weight: 500;
  font-size: .96rem;
}
.af-checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 1px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--af-teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat;
  box-shadow: 0 6px 14px rgba(31, 158, 142, .35);
}

/* ============================ 4. WHY CHOOSE US ============================= */
.af-why { background: #ffffff; }

.af-why-card {
  height: 100%;
  padding: clamp(26px, 3vw, 38px);
  border-radius: var(--af-radius-lg);
  background: linear-gradient(160deg, #ffffff 0%, #f7fcfb 100%);
  border: 1px solid rgba(23, 48, 58, .07);
  box-shadow: var(--af-shadow-sm);
  text-align: center;
  transition: transform .4s var(--af-ease), box-shadow .4s var(--af-ease), border-color .4s;
}
.af-why-card:hover {
  transform: translateY(-9px);
  box-shadow: var(--af-shadow-lg);
  border-color: rgba(31, 158, 142, .3);
}
.af-why-card p { color: var(--af-muted); font-size: .95rem; line-height: 1.68; margin: 0; }

.af-icon-circle {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 96px; height: 96px;
  border-radius: 50%;
  background: var(--af-teal-light);
  color: var(--af-teal-dark);
  border: 1px solid #fff;
  box-shadow: 0 14px 30px rgba(31, 158, 142, .20);
  opacity: 0;
  transform: scale(.5);
  transition: box-shadow .4s var(--af-ease), background-color .4s var(--af-ease);
}
.in-view .af-icon-circle { animation: af-bounce-in .8s var(--af-ease) forwards; animation-delay: var(--d, 0s); }
.af-why-card:hover .af-icon-circle {
  transform: scale(1.08);
  background: #c9f0e8;
  box-shadow: 0 20px 44px rgba(31, 158, 142, .42);
}
.af-why-card:hover .af-icon-circle svg { transform: rotate(-8deg); }
.af-icon-circle svg { transition: transform .45s var(--af-ease); }

.af-check-badge {
  position: absolute;
  right: -2px; bottom: 2px;
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: #2fbf71;
  color: #fff;
  border: 3px solid #fff;
  box-shadow: 0 6px 14px rgba(47, 191, 113, .45);
}

/* ============================ 5. HOW THEY WORK ============================= */
.af-products {
  background:
    radial-gradient(1100px 420px at 12% 0%, rgba(200, 239, 232, .75), transparent 60%),
    radial-gradient(900px 420px at 88% 100%, rgba(223, 227, 247, .8), transparent 60%),
    #fbfdff;
}

.af-product {
  --accent: var(--af-teal);
  --accent-2: var(--af-teal-dark);
  --tint-1: #e4f7f3;
  --tint-2: #dfe3f7;

  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 22px;
  border-radius: var(--af-radius-lg);
  background: linear-gradient(165deg, var(--tint-1) 0%, var(--tint-2) 100%);
  border: 1px solid rgba(255, 255, 255, .85);
  box-shadow: var(--af-shadow-sm);
  overflow: hidden;
  cursor: pointer;
  transition: transform .45s var(--af-ease), box-shadow .45s var(--af-ease);
}
.af-product::after {
  content: "";
  position: absolute;
  top: -60px; right: -60px;
  width: 190px; height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 45%, transparent), transparent 70%);
  opacity: .55;
  transition: transform .55s var(--af-ease), opacity .45s;
  pointer-events: none;
}
.af-product:hover,
.af-product:focus-visible {
  transform: translateY(-12px);
  box-shadow: var(--af-shadow-lg);
  outline: none;
}
.af-product:hover::after { transform: scale(1.25); opacity: .8; }

.af-product--zen   { --accent: #1f9e8e; --accent-2: #17826f; --tint-1: #e2f7f2; --tint-2: #cdeee7; }
.af-product--vital { --accent: #f4a261; --accent-2: #e76f51; --tint-1: #fdeee1; --tint-2: #fbe2d4; }
.af-product--deep  { --accent: #7c6df2; --accent-2: #5a4fcf; --tint-1: #eae7fe; --tint-2: #ded9fb; }

.af-product-top {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  min-height: 235px;
}

.af-days-pill {
  position: relative;
  z-index: 2;
  padding: 7px 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .85);
  border: 1px solid #fff;
  color: var(--accent-2);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .02em;
  box-shadow: var(--af-shadow-sm);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.af-mini-bottle {
  position: absolute;
  left: 50%;
  top: 4px;
  width: 148px;
  height: auto;
  transform: translateX(-50%) rotate(-6deg);
  filter: drop-shadow(0 22px 26px rgba(23, 48, 58, .20));
  transition: transform .5s var(--af-ease);
}
.af-product:hover .af-mini-bottle { animation: af-bottle-bounce .9s var(--af-ease); }

.af-mb-cap   { fill: #ffffff; }
.af-mb-ridges path { stroke: #d7e2e4; stroke-width: 2.4; stroke-linecap: round; fill: none; }
.af-mb-neck  { fill: #eef4f5; }
.af-mb-body  { fill: #ffffff; }
.af-mb-shine { fill: #f0f6f7; opacity: .9; }
.af-mb-label { fill: var(--accent); }
.af-mb-text  { font: 800 14px "DM Sans", sans-serif; fill: #ffffff; letter-spacing: -.02em; }
.af-mb-sub   { font: 700 7.4px "DM Sans", sans-serif; fill: rgba(255, 255, 255, .85); letter-spacing: .16em; }
.af-mb-tag   { fill: rgba(255, 255, 255, .24); }
.af-mb-tagtext { font: 700 8px "DM Sans", sans-serif; fill: #ffffff; }

.af-product-body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  flex: 1;
  padding-top: 8px;
}

.af-product-title {
  font-size: 1.42rem;
  font-weight: 800;
  letter-spacing: -.025em;
  margin: 0 0 .45rem;
  color: var(--af-text);
}
.af-product-title span {
  display: block;
  font-size: .95rem;
  font-weight: 700;
  color: var(--accent-2);
  letter-spacing: .04em;
  text-transform: uppercase;
  opacity: .85;
}

.af-product-desc {
  color: #6f8a97;
  font-size: .89rem;
  font-weight: 400;
  line-height: 1.62;
  margin: 0 0 1.4rem;
}

.af-circle-arrow {
  display: grid;
  place-items: center;
  width: 50px; height: 50px;
  margin-top: auto;
  margin-left: auto;
  border-radius: 50%;
  background: #ffffff;
  color: var(--accent-2);
  box-shadow: 0 12px 26px rgba(23, 48, 58, .16);
  transition: transform .4s var(--af-ease), background-color .35s, color .35s, box-shadow .35s;
}
.af-product:hover .af-circle-arrow {
  transform: translateY(-4px) rotate(45deg);
  background: var(--accent);
  color: #fff;
  box-shadow: 0 16px 32px color-mix(in srgb, var(--accent) 55%, transparent);
}
.af-circle-arrow:hover { transform: translateY(-4px) rotate(45deg); background: var(--accent); color: #fff; }

/* =============================== 6. FOOTER ================================= */
.af-footer {
  position: relative;
  padding: clamp(56px, 7vw, 88px) 0 26px;
  background: var(--af-grad-footer);
  color: rgba(255, 255, 255, .74);
  overflow: hidden;
}
.af-footer::before {
  content: "";
  position: absolute;
  top: -140px; left: 8%;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 158, 142, .35), transparent 68%);
  filter: blur(30px);
  pointer-events: none;
}
.af-footer > .container { position: relative; z-index: 1; }

.af-brand-footer .af-brand-name { color: #fff; font-size: 1.3rem; }
.af-brand-footer .af-brand-thin { color: #7ee3d3; }
.af-brand-footer .af-brand-orb { animation-duration: 24s; }

.af-footer-blurb {
  max-width: 330px;
  margin: 1.1rem 0 1.4rem;
  font-size: .93rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, .62);
}

.af-socials { display: flex; gap: 10px; }
.af-social {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .82);
  transition: transform .35s var(--af-ease), background-color .3s, color .3s, box-shadow .3s;
}
.af-social:hover {
  transform: translateY(-4px) scale(1.06);
  background: var(--af-teal);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 14px 28px rgba(31, 158, 142, .45);
}

.af-footer-title {
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #fff;
  margin: .6rem 0 1.1rem;
}

.af-footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.af-footer-links a {
  position: relative;
  color: rgba(255, 255, 255, .62);
  font-size: .94rem;
  font-weight: 500;
  padding-left: 0;
  transition: color .3s var(--af-ease), padding-left .3s var(--af-ease);
}
.af-footer-links a::before {
  content: "";
  position: absolute;
  left: -2px; top: 50%;
  width: 0; height: 2px;
  border-radius: 2px;
  background: #7ee3d3;
  transform: translateY(-50%);
  transition: width .3s var(--af-ease);
}
.af-footer-links a:hover { color: #fff; padding-left: 16px; }
.af-footer-links a:hover::before { width: 11px; }

.af-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  align-items: center;
  margin-top: clamp(38px, 5vw, 60px);
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.af-footer-bottom p { margin: 0; font-size: .87rem; color: rgba(255, 255, 255, .58); }
.af-footer-note { font-size: .8rem !important; color: rgba(255, 255, 255, .4) !important; }

/* ============================== KEYFRAMES ================================== */
@keyframes af-float {
  0%, 100% { transform: translate3d(var(--px, 0px), var(--py, 0px), 0) rotate(0deg); }
  50%      { transform: translate3d(var(--px, 0px), calc(var(--py, 0px) - 20px), 0) rotate(1.6deg); }
}

@keyframes af-float-tilt {
  0%, 100% { transform: translate3d(var(--px, 0px), var(--py, 0px), 0) rotate(-6deg); }
  50%      { transform: translate3d(var(--px, 0px), calc(var(--py, 0px) - 24px), 0) rotate(8deg); }
}

@keyframes af-rise {
  from { opacity: 0; transform: translateY(105%); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes af-fade-up {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes af-drift {
  0%, 100% { transform: translate3d(var(--px, 0px), var(--py, 0px), 0) scale(1); }
  33%      { transform: translate3d(calc(var(--px, 0px) + 40px), calc(var(--py, 0px) - 34px), 0) scale(1.09); }
  66%      { transform: translate3d(calc(var(--px, 0px) - 30px), calc(var(--py, 0px) + 26px), 0) scale(.94); }
}

@keyframes af-spin {
  from { transform: translate3d(var(--px, 0px), var(--py, 0px), 0) rotate(0deg); }
  to   { transform: translate3d(var(--px, 0px), var(--py, 0px), 0) rotate(360deg); }
}

@keyframes af-spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes af-twinkle {
  0%, 100% { transform: translate3d(var(--px, 0px), var(--py, 0px), 0) scale(.65) rotate(0deg); opacity: .5; }
  50%      { transform: translate3d(var(--px, 0px), var(--py, 0px), 0) scale(1.22) rotate(45deg); opacity: 1; }
}

@keyframes af-ping {
  0%   { box-shadow: 0 0 0 0 rgba(31, 158, 142, .55); }
  70%  { box-shadow: 0 0 0 10px rgba(31, 158, 142, 0); }
  100% { box-shadow: 0 0 0 0 rgba(31, 158, 142, 0); }
}

@keyframes af-pop {
  0%   { opacity: 0; transform: scale(.4); }
  65%  { opacity: 1; transform: scale(1.14); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes af-bounce-in {
  0%   { opacity: 0; transform: scale(.4); }
  55%  { opacity: 1; transform: scale(1.14); }
  75%  { transform: scale(.95); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes af-dash { to { stroke-dashoffset: -48; } }

@keyframes af-bump {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.55) rotate(-8deg); }
  100% { transform: scale(1); }
}

@keyframes af-bottle-bounce {
  0%   { transform: translateX(-50%) rotate(-6deg) translateY(0); }
  35%  { transform: translateX(-50%) rotate(4deg) translateY(-22px); }
  65%  { transform: translateX(-50%) rotate(-2deg) translateY(0); }
  85%  { transform: translateX(-50%) rotate(-8deg) translateY(-6px); }
  100% { transform: translateX(-50%) rotate(-6deg) translateY(0); }
}

/* ============================== RESPONSIVE ================================= */
@media (max-width: 1199.98px) {
  .af-panel { right: 16px; }
}

@media (max-width: 991.98px) {
  :root { --af-nav-h: 72px; }

  .af-nav { padding: 10px 0; background: rgba(255, 255, 255, .82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 10px 30px rgba(23, 48, 58, .08); }

  .af-nav-collapse {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 16px 4px 10px;
    margin-top: 10px;
    background: rgba(255, 255, 255, .95);
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: var(--af-radius);
    box-shadow: var(--af-shadow);
  }

  .af-nav-pill { flex-direction: column; align-items: stretch; width: 100%; margin: 0; border-radius: var(--af-radius); gap: 2px; }
  .af-nav-link { text-align: left; padding: 12px 18px !important; }
  .af-nav-actions { justify-content: flex-start; flex-wrap: wrap; }
  .af-btn-signin { margin-left: auto; }

  .af-hero { min-height: auto; padding-top: calc(var(--af-nav-h) + 46px); }
  .af-hero-copy { max-width: 100%; text-align: left; }
  .af-stage { width: min(460px, 92%); margin-inline: auto; }
  .af-orb-almond { left: -2%; }
  .af-cube-b { right: -3%; }

  .af-panel { right: 16px; left: 16px; width: auto; }
}

@media (max-width: 767.98px) {
  .af-hero-cta { gap: 16px; }
  .af-product-top { min-height: 215px; }
  .af-mini-bottle { width: 132px; }
  .af-brain-wrap { border-radius: 26px; }
  .af-footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 575.98px) {
  .af-brand-name { font-size: 1.25rem; }
  .af-btn-signin span:first-child { display: inline; }
  .af-stage { width: 100%; aspect-ratio: 1 / 1.08; }
  .af-bottle-wrap { inset: 2% 17% 0 17%; }
  .af-orb-softgel { left: -2%; }
  .af-orb-leaf { right: -6%; }
  .af-orb-berries { right: 6%; }
  .af-section { padding: 58px 0; }
  .af-hero-proof { width: 100%; }
}

/* =========================== REDUCED MOTION ================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }

  .reveal { opacity: 1 !important; transform: none !important; }
  .af-badge, .af-icon-circle { opacity: 1 !important; transform: none !important; }
  .af-hero-line, .af-hero-title .af-line > span { opacity: 1 !important; transform: none !important; }
  .af-blob { filter: blur(60px); }
}
