/* ===================================
   SECTION BASE
=================================== */
section {
    padding: 11rem 6%;
    position: relative;
}

/* ===================================
   HERO
=================================== */
.hero-section {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    opacity: 0;
    transition: opacity 1.2s ease;
    background: #F5F5F7;
}

.hero-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.12;
    pointer-events: none;
    filter: grayscale(100%);
}

.hero-section.visible .hero-bg-video {
    animation: slowZoom 25s ease-out forwards;
}

@keyframes slowZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.15); }
}

.hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(245,245,247,0.3) 0%, rgba(245,245,247,0.7) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-section.visible { opacity: 1; pointer-events: auto; }

.hero-glow {
    position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(circle 500px at calc(var(--mouse-x-px, 50vw)) calc(var(--mouse-y-px, 50vh)), rgba(255,255,255,0.03), transparent);
    z-index: 2;
}

.hero-content {
    flex: 1; width: 100%; z-index: 3;
    display: flex; justify-content: center; align-items: center;
}

.hero-text-container {
    width: 100%; max-width: 1400px;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    padding: 2rem 4%;
    text-align: center;
}

.hero-eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.6rem, 2vw, 0.7rem);
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(8,8,8,0.35);
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInDown 1s ease 2s forwards;
}

.hero-scroll-hint {
    font-family: 'Inter', sans-serif;
    font-size: 0.68rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(8,8,8,0.2);
    margin-top: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease 3.5s forwards;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-12px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero-svg {
    transform: translate(calc(var(--mouse-x, 0) * -20px), calc(var(--mouse-y, 0) * -20px));
    transition: transform 0.15s ease-out;
}
.mobile-hero-svg { display: none; }
.desktop-hero-svg { display: block; }

.svg-text-line {
    font-family: 'Anton', sans-serif;
    font-size: clamp(56px, 14vw, 200px);
    fill: transparent;
    stroke: rgba(8,8,8,0.88);
    stroke-width: 2px;
    stroke-dasharray: 3000;
    stroke-dashoffset: 3000;
}

.hero-section.visible .svg-text-line {
    animation-name: drawText, fillText;
    animation-duration: 2.5s, 0.8s;
    animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1), ease-in;
    animation-fill-mode: forwards;
}

.hero-section.visible .l1 { animation-delay: 0.1s, 2.2s; }
.hero-section.visible .l2 { animation-delay: 0.4s, 2.5s; }
.hero-section.visible .l3 { animation-delay: 0.7s, 2.8s; }

@keyframes drawText { to { stroke-dashoffset: 0; } }
@keyframes fillText { to { fill: rgba(8,8,8,0.92); stroke-width: 0; } }

/* ===================================
   FEATURED PRODUCTS
=================================== */
.featured-section {
    background: var(--bg);
    border-top: 1px solid var(--border);
}

.featured-grid, .shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3.5rem;
}

/* ===================================
   PRODUCT CARD
=================================== */
.product-card {
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.4s ease,
                background-color 0.4s ease;
    cursor: pointer;
    transform-style: preserve-3d;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.02),
                inset 0 1px 2px rgba(255, 255, 255, 0.5);
}

.product-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.65);
    border-color: rgba(82, 39, 255, 0.45);
    box-shadow: 0 16px 48px rgba(82, 39, 255, 0.06), 
                0 6px 20px rgba(0, 0, 0, 0.04),
                inset 0 1px 3px rgba(255, 255, 255, 0.8);
}

/* Stock Pill Indicator */
.stock-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    align-self: flex-start;
    margin-bottom: 1.2rem;
    border: 1px solid transparent;
}

.stock-pill.instock {
    background: rgba(34, 197, 94, 0.08);
    color: #22c55e;
    border-color: rgba(34, 197, 94, 0.15);
}

.stock-pill.urgency {
    background: rgba(245, 158, 11, 0.08);
    color: #f59e0b;
    border-color: rgba(245, 158, 11, 0.15);
}

.stock-pill.out {
    background: rgba(239, 68, 68, 0.08);
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.15);
}

.stock-pill .stock-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.stock-pill.instock .stock-dot, .stock-pill.urgency .stock-dot {
    animation: pill-pulse 1.6s infinite alternate;
}

@keyframes pill-pulse {
    0% { opacity: 0.4; transform: scale(0.9); }
    100% { opacity: 1; transform: scale(1.1); }
}

.product-card-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    background: #ebebeb;
    filter: saturate(0.9) brightness(0.96);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                filter 0.5s ease;
}

.product-card:hover .product-card-img {
    transform: scale(1.04);
    filter: saturate(1.05) brightness(1);
}

.product-image-placeholder {
    width: 100%; height: 280px;
    background: linear-gradient(135deg, #ececec 0%, #f0f0f0 100%);
    display: flex; align-items: center; justify-content: center;
}

.product-image-placeholder::after {
    content: 'CRE REX';
    font-family: 'Anton', sans-serif;
    font-size: 1.5rem; letter-spacing: 0.15em;
    color: rgba(0,0,0,0.07);
}

.product-info {
    flex: 1; display: flex; flex-direction: column; padding: 1.5rem 1.6rem 1.6rem;
}

.product-category-tag {
    font-family: 'Inter', sans-serif;
    font-size: 0.64rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.45rem;
}

.product-name {
    font-family: 'Anton', sans-serif;
    font-size: 1.35rem;
    letter-spacing: 0.02em;
    color: var(--text);
    margin-bottom: 0.5rem;
    line-height: 1.05;
}

.product-desc {
    font-size: 0.82rem;
    color: var(--text-sec);
    line-height: 1.65;
    margin-bottom: 1.4rem;
    flex: 1;
}

.product-price-row {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #16a34a; /* Current price in green */
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.01em;
}

.discounted {
    text-decoration: line-through;
    text-decoration-color: #dc2626; /* Red strikethrough line */
    color: #dc2626; /* Original price in red */
    font-size: 0.85rem;
    font-weight: 400;
    font-family: 'Inter', sans-serif;
}

.add-to-cart-btn {
    width: 100%;
    padding: 0.9rem;
    background: rgba(8, 8, 8, 0.03);
    border: 1px solid rgba(8, 8, 8, 0.08);
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    margin-top: auto;
}

.add-to-cart-btn:hover {
    background: var(--text);
    color: var(--bg2);
    border-color: var(--text);
    letter-spacing: 0.16em;
    box-shadow: 0 8px 24px rgba(8, 8, 8, 0.15);
    transform: translateY(-1px);
}

/* ===================================
   MANIFESTO — FULLSCREEN CINEMATIC
=================================== */
.manifesto-fullscreen {
    background: #080808;
    padding: 0;
    overflow: hidden;
}

.manifesto-panel {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 8%;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    position: relative;
    overflow: hidden;
}

.manifesto-panel:last-child { border-bottom: none; }

/* The text container becomes the clipping mask */
.manifesto-panel-text {
    font-family: 'Anton', sans-serif;
    font-size: clamp(2rem, 5.5vw, 6rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: rgba(245,245,247,0.9);
    max-width: 1200px;
    opacity: 0;
    clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
    transition: clip-path 1.4s cubic-bezier(0.16, 1, 0.3, 1), 
                opacity 0.8s ease;
}

/* When panel is in view, wipe sentence from left to right */
.manifesto-panel.in-view .manifesto-panel-text {
    opacity: 1;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.manifesto-panel.statement-panel .manifesto-panel-text {
    font-size: clamp(3rem, 9vw, 10rem);
    color: rgba(245,245,247,0.9);
}

/* ===================================
   SHOP / CATEGORIES
=================================== */
.shop-section {
    background: var(--bg);
    border-top: 1px solid var(--border);
}

.shop-intro { margin-bottom: 1rem; }
.shop-header { margin-bottom: 3rem; }

.category-filters {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.filter-btn {
    padding: 0.6rem 1.3rem;
    border-radius: 999px;
    background: transparent;
    border: 1px solid var(--border);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-sec);
    white-space: nowrap;
    transition: all 0.25s ease;
}

.filter-btn.active, .filter-btn:hover {
    background: var(--text);
    color: var(--bg);
    border-color: var(--text);
}

/* ===================================
   SCIENCE SECTION — Tilt + Asymmetric
=================================== */
.science-section {
    background: var(--bg2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.science-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 1.5rem;
    align-items: start;
}

.science-card {
    padding: 3rem 2.5rem;
    border-radius: 16px;
    transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), box-shadow 0.3s ease;
    will-change: transform;
}

.science-card:nth-child(2) { padding-top: 5rem; padding-bottom: 5rem; }

.science-card:hover {
    box-shadow: 0 16px 48px rgba(0,0,0,0.07);
}

.science-card h3 {
    font-size: clamp(1.4rem, 2.2vw, 1.9rem);
    color: var(--text); margin-bottom: 1.25rem; line-height: 1.05;
}

.science-card p { color: var(--text-sec); line-height: 1.75; font-size: 0.87rem; }

/* ===================================
   TRUST SECTION
=================================== */
.trust-section {
    background: var(--bg);
    border-top: 1px solid var(--border);
}

.trust-split {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 6rem;
    align-items: center;
}

.massive-trust-text {
    font-size: clamp(2.8rem, 5vw, 5.5rem);
    line-height: 0.95;
    letter-spacing: -0.03em;
    color: rgba(8,8,8,0.07);
    transition: color 0.35s ease;
    cursor: default;
    padding: 0.3rem 0;
}

.massive-trust-text:hover { color: var(--text); }

.trust-right {
    border-left: 1px solid var(--border);
    padding-left: 4rem;
}

.trust-point {
    padding: 2rem 0;
    border-bottom: 1px solid var(--border);
}

.trust-point:first-child { padding-top: 0; }
.trust-point:last-child { border-bottom: none; }

.trust-point h4 {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 0.65rem;
}

.trust-point p { color: var(--text-sec); line-height: 1.75; font-size: 0.85rem; }

/* ===================================
   FAQ
=================================== */
.faq-section { background: var(--bg); border-top: 1px solid var(--border); }

.faq-accordion { max-width: 720px; margin: 4rem auto 0; display: flex; flex-direction: column; gap: 0.85rem; }

.faq-item { 
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 14px;
    padding: 0 1.5rem;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.65);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.02);
}

.faq-item.active {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(255, 255, 255, 0.75);
    transform: translateY(0);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.04);
}

.faq-question {
    width: 100%; text-align: left;
    padding: 1.5rem 0;
    font-family: var(--font-body);
    font-size: 0.95rem; font-weight: 600;
    color: var(--text);
    display: flex; justify-content: space-between; align-items: center;
    letter-spacing: normal; text-transform: none;
    transition: color 0.2s;
}

.faq-question::after {
    content: '+'; font-size: 1.25rem; font-weight: 300;
    color: var(--text-sec);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s;
    flex-shrink: 0; margin-left: 2rem;
}

.faq-item.active .faq-question::after { transform: rotate(45deg); color: var(--text); }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.16,1,0.3,1); }

.faq-answer p { padding-bottom: 1.5rem; color: var(--text-sec); line-height: 1.7; font-size: 0.86rem; }

/* ===================================
   FOOTER
=================================== */
/* ===================================
   FOOTER — DOORMAT LAYOUT
=================================== */
.footer {
    border-top: 1px solid var(--border);
    padding: 8rem 6% 3rem;
    background: var(--bg2);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr 1.5fr;
    gap: 4rem; 
    margin-bottom: 6rem;
}

.footer-brand h2 {
    font-size: clamp(2rem, 3.5vw, 3.5rem);
    letter-spacing: -0.02em; 
    color: var(--text); 
    margin-bottom: 0.5rem;
}

.brand-tagline { 
    color: var(--text-muted); 
    font-size: 0.7rem; 
    letter-spacing: 0.15em; 
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.footer-address {
    margin-top: 1.5rem;
    line-height: 1.6;
    font-size: 0.82rem;
    color: var(--text-sec);
}

.address-header {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.contact-email {
    margin-top: 0.75rem;
    color: var(--text);
    font-weight: 500;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.link-group h4 {
    font-family: var(--font-body); 
    font-size: 0.68rem; 
    font-weight: 600;
    letter-spacing: 0.18em; 
    text-transform: uppercase; 
    color: var(--text-muted); 
    margin-bottom: 1.5rem;
}

.link-group a, .link-group button.footer-modal-trigger {
    display: block; 
    background: none;
    border: none;
    padding: 0;
    text-align: left;
    cursor: pointer;
    color: var(--text-sec); 
    margin-bottom: 0.9rem;
    font-family: var(--font-body);
    font-size: 0.85rem; 
    transition: color 0.25s ease, transform 0.25s ease;
}

.link-group a:hover, .link-group button.footer-modal-trigger:hover { 
    color: var(--text); 
    transform: translateX(2px);
}

.footer-newsletter h4 {
    font-family: var(--font-body); 
    font-size: 0.68rem; 
    font-weight: 600;
    letter-spacing: 0.18em; 
    text-transform: uppercase; 
    color: var(--text-muted); 
    margin-bottom: 1.25rem;
}

.newsletter-head {
    font-family: 'Anton', sans-serif;
    font-size: clamp(1.2rem, 2.2vw, 1.8rem);
    color: var(--text); 
    line-height: 1.1;
    letter-spacing: -0.01em; 
    margin-bottom: 0.6rem;
}

.newsletter-subtext {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.8rem !important;
    color: var(--text-muted) !important;
    letter-spacing: 0 !important;
    line-height: 1.5 !important;
    margin-bottom: 1.5rem !important;
}

.newsletter-input { 
    display: flex; 
    gap: 0.5rem; 
}

.newsletter-input input {
    background: rgba(0,0,0,0.03); 
    border: 1px solid var(--border);
    padding: 0.8rem 1rem; 
    border-radius: 8px; 
    color: var(--text);
    outline: none; 
    flex: 1; 
    font-family: var(--font-body); 
    font-size: 0.85rem;
    transition: border-color 0.2s;
}

.newsletter-input input::placeholder { color: var(--text-muted); }
.newsletter-input input:focus { border-color: var(--border-hover); }

.newsletter-btn {
    background: var(--text); 
    color: var(--bg2);
    padding: 0.8rem 1.4rem; 
    border-radius: 8px;
    font-size: 0.78rem; 
    font-weight: 600;
    letter-spacing: 0.08em; 
    text-transform: uppercase;
    transition: opacity 0.2s;
}

.newsletter-btn:hover { opacity: 0.85; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 3rem;
    border-top: 1px solid var(--border);
    color: var(--text-muted); 
    font-size: 0.75rem; 
    letter-spacing: 0.04em;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-legal-tag {
    font-size: 0.72rem;
    color: var(--text-muted);
}

/* ===================================
   GLASSMORPHIC POLICY MODALS
=================================== */
.policy-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(8, 8, 8, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 1.5rem;
}

.policy-modal-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.policy-modal-card {
    position: relative;
    width: 100%;
    max-width: 600px;
    background: rgba(255, 255, 255, 0.82) !important;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    border-radius: 24px !important;
    padding: 3rem 2.5rem;
    max-height: 85vh;
    overflow-y: auto;
    transform: scale(0.95) translateY(10px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.15), 
                inset 0 1px 3px rgba(255, 255, 255, 0.6) !important;
}

.policy-modal-overlay.open .policy-modal-card {
    transform: scale(1) translateY(0);
}

.modal-close-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2.2rem;
    line-height: 1;
    font-weight: 200;
    color: var(--text-sec);
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s, transform 0.2s;
}

.modal-close-btn:hover {
    color: var(--text);
    transform: scale(1.1);
}

.policy-modal-card h3 {
    font-size: 2rem;
    color: var(--text);
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    padding-bottom: 0.75rem;
}

.modal-body-content {
    color: var(--text-sec);
    font-size: 0.88rem;
    line-height: 1.7;
}

.policy-highlight {
    font-size: 0.98rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.modal-body-content h4 {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.modal-body-content ul {
    margin-left: 1.25rem;
    margin-bottom: 1.25rem;
}

.modal-body-content li {
    margin-bottom: 0.5rem;
}

.modal-body-content a {
    color: var(--text);
    text-decoration: underline;
    font-weight: 500;
}

/* ===================================
   CART RECOMMENDATIONS
=================================== */
.cart-recs {
    border-top: 1px solid rgba(0,0,0,0.07);
    padding: 1rem 1.5rem;
}

.cart-recs-title {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #B0B0B0;
    margin-bottom: 0.875rem;
}

.cart-recs-grid {
    display: flex; gap: 0.75rem; overflow-x: auto;
    padding-bottom: 0.25rem;
}

.cart-rec-item {
    flex-shrink: 0;
    width: 110px;
    cursor: pointer;
}

.cart-rec-item img {
    width: 110px; height: 80px;
    object-fit: cover; border-radius: 8px;
    border: 1px solid rgba(0,0,0,0.07);
    margin-bottom: 0.4rem;
    transition: transform 0.2s;
}

.cart-rec-item:hover img { transform: scale(1.03); }

.cart-rec-name {
    font-size: 0.72rem; font-weight: 500; color: #080808;
    line-height: 1.3; white-space: nowrap;
    overflow: hidden; text-overflow: ellipsis;
}

.cart-rec-price { font-size: 0.68rem; color: #B0B0B0; }

/* ===================================
   TRACK ORDER (COLLAPSIBLE)
=================================== */
.track-toggle {
    width: 100%;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #B0B0B0;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s;
}

.track-toggle:hover { color: #080808; }

.track-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16,1,0.3,1);
}

.track-panel.open { max-height: 120px; }

/* ===================================
   SCROLL ANIMATIONS
=================================== */
.fade-up {
    opacity: 0; 
    transform: translateY(20px);
    transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
}

.fade-up.visible { opacity: 1; transform: translateY(0); }

.stagger-children > * {
    opacity: 0; 
    transform: translateY(15px);
    transition: opacity 0.6s cubic-bezier(0.16,1,0.3,1), transform 0.6s cubic-bezier(0.16,1,0.3,1);
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0s; opacity:1; transform:translateY(0); }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.1s; opacity:1; transform:translateY(0); }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.2s; opacity:1; transform:translateY(0); }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.3s; opacity:1; transform:translateY(0); }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.4s; opacity:1; transform:translateY(0); }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.5s; opacity:1; transform:translateY(0); }

/* ===================================
   RESPONSIVE — TABLET
=================================== */
@media (max-width: 900px) {
    section { padding: 7rem 5%; }

    .science-grid { grid-template-columns: 1fr; }
    .science-card:nth-child(2) { padding: 3rem 2.5rem; }

    .trust-split { grid-template-columns: 1fr; gap: 3rem; }
    .trust-right { border-left: none; padding-left: 0; border-top: 1px solid var(--border); padding-top: 3rem; }

    .footer-content { grid-template-columns: 1fr; gap: 3rem; }
    .footer-links-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

    .nav-center { display: none; }

    /* Hamburger button */
    .hamburger-btn {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        width: 38px;
        height: 38px;
        background: rgba(255, 255, 255, 0.2);
        border: 1px solid rgba(255, 255, 255, 0.4);
        border-radius: 50%;
        cursor: pointer;
        padding: 0;
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        transition: all 0.25s ease;
    }

    .hamburger-btn:hover {
        border-color: rgba(255, 255, 255, 0.7);
        background: rgba(255, 255, 255, 0.4);
    }

    .hamburger-btn span {
        display: block;
        width: 16px;
        height: 1.5px;
        background: var(--text);
        border-radius: 2px;
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        transform-origin: center;
    }

    .hamburger-btn.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
    .hamburger-btn.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
    .hamburger-btn.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

    /* Manifesto — sensible tablet sizes */
    .manifesto-panel { padding: 0 6%; min-height: 70vh; }
    .manifesto-panel-text { font-size: clamp(2rem, 7vw, 5rem); }
    .manifesto-panel.statement-panel .manifesto-panel-text { font-size: clamp(2.5rem, 10vw, 7rem); }
}

/* ===================================
   RESPONSIVE — MOBILE
=================================== */
@media (max-width: 600px) {
    section { padding: 5rem 5%; }

    /* Products — horizontal side-sliding carousel with snap scrolling */
    .featured-grid, .shop-grid {
        display: flex !important;
        flex-direction: row !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        gap: 1.25rem !important;
        margin-left: -5% !important;
        margin-right: -5% !important;
        padding-left: 5% !important;
        padding-right: 5% !important;
        padding-bottom: 1.5rem !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
    }

    .featured-grid::-webkit-scrollbar, .shop-grid::-webkit-scrollbar {
        display: none !important;
    }

    .product-card {
        flex: 0 0 290px !important;
        scroll-snap-align: center !important;
        max-width: 85vw !important;
    }



    /* Hero SVGs */
    .desktop-hero-svg { display: none; }
    .mobile-hero-svg { display: block; }

    /* Hero */
    .hero-eyebrow { font-size: 0.65rem; letter-spacing: 0.14em; }
    .hero-scroll-hint { display: none; }

    /* Hero SVG text — bigger on mobile so it fills the screen */
    .mobile-hero-svg .svg-text-line { font-size: 62px !important; stroke-width: 1.5px; }
    .hero-text-container { padding: 1rem 3%; }

    /* Manifesto — compact mobile sizes */
    .manifesto-panel { padding: 0 5%; min-height: 40vh; }
    .manifesto-panel-text { font-size: clamp(1.6rem, 7.5vw, 3rem); gap: 0.15em; row-gap: 0.08em; }
    .manifesto-panel.statement-panel .manifesto-panel-text { font-size: clamp(2rem, 10vw, 4rem); }

    /* Science Card — mobile padding */
    .science-card { padding: 2rem 1.5rem; }

    .science-visualizer {
        height: auto !important;
        padding-bottom: 2rem !important;
    }
    
    .science-stat-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
        width: 100% !important;
        margin-top: 1.5rem !important;
    }
    
    .science-stat-badge {
        position: static !important;
        transform: none !important;
        width: auto !important;
        padding: 0.75rem 0.5rem !important;
        text-align: center !important;
    }
    
    .science-stat-badge.top-left,
    .science-stat-badge.top-right,
    .science-stat-badge.bottom-left,
    .science-stat-badge.bottom-right {
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
    }

    /* Trust Section — automatic scrolling highlight sequence on mobile */
    .massive-trust-text { 
        font-size: clamp(1.8rem, 8vw, 2.5rem); 
        line-height: 1.1; 
        animation: mobileTrustHighlight 7.5s infinite ease-in-out;
    }
    .massive-trust-text:nth-child(1) { animation-delay: 0s; }
    .massive-trust-text:nth-child(2) { animation-delay: 2.5s; }
    .massive-trust-text:nth-child(3) { animation-delay: 5s; }

    @keyframes mobileTrustHighlight {
        0%, 100% { color: rgba(8,8,8,0.07); }
        8%, 28% { color: var(--text); }
        36%, 92% { color: rgba(8,8,8,0.07); }
    }

    /* Marquee */
    .marquee-track span { font-size: 1.4rem; }
    .marquee-track { gap: 2rem; }

    /* Typography */
    .trust-split { gap: 2.5rem; }
    .section-title { font-size: clamp(2.2rem, 9vw, 3.5rem); }
    .section-eyebrow { font-size: 0.65rem; }

    /* Footer */
    .footer-links-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-content { gap: 3rem; }
    .policy-modal-card { padding: 2.5rem 1.5rem; max-height: 90vh; }
    .policy-modal-card h3 { font-size: 1.6rem; }

    /* Divider lines full on mobile */
    .divider-container { margin-bottom: 1.5rem; }

    /* Disable parallax on mobile (performance) */
    .hero-bg-video { transform: none !important; }
    #aurora-container { transform: none !important; }
    .hero-text-container { transform: none !important; }

    /* Keep expressive reveals but faster */
    .expressive-title {
        transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .manifesto-panel-text .word-inner {
        transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    }
}

/* ===================================
   INFINITE CAROUSEL
=================================== */
.infinite-marquee {
    background: #080808;
    color: #F5F5F7;
    padding: 1.5rem 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.marquee-track {
    display: inline-flex;
    align-items: center;
    animation: marqueeScroll 25s linear infinite;
    width: max-content;
}
.marquee-track > * {
    padding-right: 3rem;
    box-sizing: content-box;
}

.marquee-track span {
    font-family: 'Anton', sans-serif;
    font-size: 2rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.marquee-track .dot {
    color: rgba(255,255,255,0.2);
    font-size: 1rem;
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===================================
   ADVANCED EFFECTS & ANIMATIONS
=================================== */

/* Ambient Hero Orbs */
.ambient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: floatOrb 20s infinite alternate ease-in-out;
    pointer-events: none;
    z-index: 1;
}

.orb-1 {
    width: 60vw; height: 60vw;
    max-width: 800px; max-height: 800px;
    background: radial-gradient(circle, rgba(180, 180, 190, 0.4) 0%, transparent 70%);
    top: -10%; left: -10%;
}

.orb-2 {
    width: 50vw; height: 50vw;
    max-width: 700px; max-height: 700px;
    background: radial-gradient(circle, rgba(200, 200, 210, 0.3) 0%, transparent 70%);
    bottom: -10%; right: -10%;
    animation-delay: -5s;
    animation-duration: 25s;
}

@keyframes floatOrb {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(5%, 10%) scale(1.1); }
    100% { transform: translate(-5%, 5%) scale(0.9); }
}

/* Line Animations */
.divider-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.animated-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.15);
    width: 0;
    transition: width 1.8s cubic-bezier(0.8, 0, 0.2, 1);
}

.animated-divider.visible {
    width: 100%;
}

/* Expressive Typography */
.expressive-title {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
    letter-spacing: -0.05em;
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.expressive-title.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    letter-spacing: 0em;
}

/* Manifesto text is now controlled via .word-inner inside .split-reveal — no base opacity needed */

/* WebGL Aurora Background */
.aurora-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.85;
}
.aurora-container canvas {
    display: block;
    width: 100%;
    height: 100%;
}

/* ===================================
   HOW IT WORKS (TIMELINE)
=================================== */
.how-it-works-section {
    position: relative;
    height: auto;
    background: var(--bg2);
    border-top: 1px solid var(--border);
    margin: 0;
    padding: 8rem 5% 6rem;
    overflow: hidden;
}

.how-it-works-sticky {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
    padding: 80px 5% 2rem;
}

.how-it-works-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(82, 39, 255, 0.12) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.timeline-wrapper {
    position: relative;
    width: 100%;
    max-width: 640px;
    margin-top: 3rem;
    z-index: 1;
}

/* Horizontal Timeline Line */
.timeline-track-line {
    position: absolute;
    top: -2.5rem;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(0, 0, 0, 0.08);
    z-index: 2;
}

.timeline-track-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 16.67%; /* Starts filled to Phase 1 */
    background: var(--primary);
    box-shadow: 0 0 12px var(--primary);
    transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-dots {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.timeline-dot-node {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid rgba(0, 0, 0, 0.15);
    transform: translate(-50%, -5px);
    z-index: 3;
    transition: background-color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.timeline-dot-node.active {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 10px var(--primary);
}

.timeline-container {
    position: relative;
    width: 100%;
    height: 380px;
    margin-top: 2rem;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    justify-items: center;
    align-items: center;
    z-index: 2;
}

.timeline-step {
    grid-column: 1 / -1;
    grid-row: 1 / -1;
    width: 100%;
    max-width: 540px;
    padding: 3rem 2.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    opacity: 0;
    transform: translateY(100px) scale(0.9);
    filter: blur(8px);
    pointer-events: none;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                opacity 0.6s ease, 
                filter 0.6s ease;
    box-sizing: border-box;
}

.timeline-step.active-card {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0px);
    pointer-events: auto;
    border-color: rgba(82, 39, 255, 0.4) !important;
    box-shadow: 0 20px 50px rgba(82, 39, 255, 0.08), 
                inset 0 1px 2px rgba(255, 255, 255, 0.5);
}

@media (max-width: 600px) {
    .how-it-works-sticky {
        padding: 1.5rem 1rem;
        justify-content: flex-start;
        padding-top: 5rem;
    }
    
    .timeline-wrapper {
        margin-top: 3.5rem;
    }
    
    .timeline-container {
        height: 340px;
        margin-top: 1.5rem;
    }
    
    .timeline-step {
        padding: 1.75rem 1.5rem;
        justify-content: center;
    }
}

.step-badge {
    align-self: flex-start;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.timeline-step h3 {
    font-size: clamp(2rem, 3.5vw, 3.5rem);
    line-height: 1;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.timeline-step h4 {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--text);
    margin-bottom: 1.25rem;
    text-transform: uppercase;
}

.timeline-step p {
    color: var(--text-sec);
    line-height: 1.7;
    font-size: 0.88rem;
    margin-bottom: 2rem;
    flex: 1;
}

.step-metric {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-sec);
    letter-spacing: 0.05em;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    transition: color 0.4s ease, border-color 0.4s ease;
}

.timeline-step.active-card .step-metric {
    border-top: 1px solid rgba(82, 39, 255, 0.2);
    color: var(--primary);
}

/* ===================================
   INGREDIENT BREAKDOWN
=================================== */
.ingredients-section {
    background: var(--bg);
    border-top: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.ingredients-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

@media (max-width: 768px) {
    .ingredients-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.ingredient-card {
    padding: 3rem 2.5rem;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
}

.ingredient-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.05);
}

.ingredient-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 0.5rem;
}

.ingredient-header h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    letter-spacing: 0.03em;
    color: var(--text);
    text-align: left;
    margin: 0;
}

.ingredient-spec {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.ingredient-desc {
    color: var(--text-sec);
    line-height: 1.7;
    font-size: 0.88rem;
}

/* ===================================
   BENEFITS BEYOND MUSCLE
=================================== */
.benefits-section {
    background: var(--bg2);
    border-top: 1px solid var(--border);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

@media (max-width: 860px) {
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.benefit-card {
    padding: 3.5rem 2.5rem 3rem;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.06);
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.benefit-card h3 {
    font-size: 1.6rem;
    color: var(--text);
    margin-bottom: 0.5rem;
    line-height: 1.1;
}

.benefit-target {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.benefit-desc {
    color: var(--text-sec);
    line-height: 1.75;
    font-size: 0.88rem;
}

/* ===================================
   CRE REX VS OTHERS (COMPARISON)
=================================== */
.comparison-section {
    background: var(--bg);
    border-top: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.comparison-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin: 4rem auto 0;
    max-width: 1100px;
}

.comparison-card {
    padding: 3.5rem 3rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.comparison-card.premium-card {
    border: 2px solid rgba(82, 39, 255, 0.35) !important;
    background: rgba(255, 255, 255, 0.45);
    box-shadow: 0 16px 48px rgba(82, 39, 255, 0.08), 
                inset 0 1px 2px rgba(255, 255, 255, 0.6);
}

.comparison-card.premium-card .card-glow {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: radial-gradient(circle at 50% 0%, rgba(82, 39, 255, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.comparison-card.generic-card {
    opacity: 0.75;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
}

.comparison-card .card-header {
    margin-bottom: 2.5rem;
    text-align: center;
}

.comparison-card .card-header h3 {
    font-family: 'Anton', sans-serif;
    font-size: 2.2rem;
    letter-spacing: 0.03em;
    margin: 0;
}

.comparison-card.premium-card .card-header h3 {
    background: linear-gradient(135deg, #080808 30%, #5227ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.comparison-card.generic-card .card-header h3 {
    color: var(--text-sec);
}

.comparison-card .card-subtitle {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    text-transform: uppercase;
    display: block;
    margin-top: 0.5rem;
}

.comparison-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.comparison-features li {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
}

.comparison-features .icon {
    font-size: 1.3rem;
    font-weight: bold;
    line-height: 1;
    margin-top: 0.1rem;
}

.comparison-features .icon.check {
    color: #22c55e;
}

.comparison-features .icon.cross {
    color: #ef4444;
}

.feature-text strong {
    font-size: 0.95rem;
    color: var(--text);
    display: block;
    margin-bottom: 0.25rem;
}

.feature-text p {
    font-size: 0.85rem;
    color: var(--text-sec);
    margin: 0;
    line-height: 1.45;
}

@media (max-width: 900px) {
    .comparison-cards-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    .comparison-card {
        padding: 2.5rem 1.8rem;
    }
}

/* ===================================
   USAGE PROTOCOL
=================================== */
.usage-section {
    background: var(--bg2);
    border-top: 1px solid var(--border);
    position: relative;
    overflow: visible;
}

.protocol-stack-container {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 680px;
    margin: 4rem auto 0;
    position: relative;
    box-sizing: border-box;
}

.protocol-card {
    position: relative !important;
    top: auto !important;
    background: rgba(255, 255, 255, 0.76) !important;
    backdrop-filter: blur(25px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(25px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    border-radius: 20px !important;
    padding: 3rem 2.5rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.03), inset 0 1px 2px rgba(255, 255, 255, 0.6);
    transform-origin: center top;
    box-sizing: border-box;
    width: 100%;
    display: flex;
    flex-direction: column;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.protocol-step-num {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 3.5rem);
    color: var(--text-muted);
    line-height: 1;
    margin-bottom: 1.5rem;
    opacity: 0.3;
}

.protocol-card h3 {
    font-size: 1.4rem;
    color: var(--text);
    margin-bottom: 0.85rem;
    line-height: 1.1;
}

.protocol-card p {
    color: var(--text-sec);
    line-height: 1.7;
    font-size: 0.86rem;
}

.protocol-stack-end {
    width: 100%;
    height: 35vh;
}

@media (max-width: 600px) {
    .protocol-stack-container {
        gap: 0;
    }
    .protocol-card {
        top: auto !important;
        padding: 2rem 1.5rem !important;
    }
}

/* ===================================
   ORIGIN STORY
=================================== */
.origin-section {
    background: var(--bg);
    border-top: 1px solid var(--border);
}

.origin-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.5fr;
    gap: 4rem;
    margin-top: 2rem;
}

@media (max-width: 860px) {
    .origin-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.origin-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.origin-tagline {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.6;
    color: var(--text-sec);
    margin-top: 1.5rem;
}

.origin-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    justify-content: center;
}

.origin-right p {
    color: var(--text-sec);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* ===================================
   SCIENCE LAYOUT & CANVAS STYLE
=================================== */
.science-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
    align-items: start;
}

@media (max-width: 900px) {
    .science-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.science-visualizer {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    height: 520px;
    min-width: 0;
    overflow: hidden;
    position: relative;
}

/* Surrounding Purity Stats (HUD Overlays) */
.science-stat-badge {
    position: absolute;
    padding: 0.75rem 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 16px rgba(0,0,0,0.03), inset 0 1px 2px rgba(255,255,255,0.5);
    z-index: 10;
    pointer-events: none;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.science-stat-badge.top-left { top: 130px; left: 2.5rem; }
.science-stat-badge.top-right { top: 130px; right: 2.5rem; }
.science-stat-badge.bottom-left { bottom: 2.5rem; left: 2.5rem; }
.science-stat-badge.bottom-right { bottom: 2.5rem; right: 2.5rem; }

.stat-number {
    font-family: 'Anton', sans-serif;
    font-size: 1.6rem;
    color: var(--primary);
    line-height: 1.1;
    margin-bottom: 0.2rem;
}

.stat-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--text-sec);
    text-transform: uppercase;
}

.canvas-header {
    margin-bottom: 1.5rem;
}

.visualizer-badge {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    text-transform: uppercase;
}

.canvas-header h4 {
    font-size: 1.4rem;
    color: var(--text);
    margin: 0.25rem 0 0.5rem;
}

.visualizer-hint {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.canvas-container {
    flex: 1;
    position: relative;
    width: 100%;
    height: 100%;
    cursor: grab;
}

.canvas-container:active {
    cursor: grabbing;
}

#molecule-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

#molecule-mobile-text {
    display: none;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    padding: 2rem 0;
}

.mobile-formula-text .formula-main {
    font-family: 'Anton', sans-serif;
    font-size: clamp(3rem, 12vw, 4.5rem);
    background: linear-gradient(135deg, #080808 30%, #5227ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.05em;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.mobile-formula-text .formula-sub {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

@media (max-width: 768px) {
    #molecule-canvas {
        display: none !important;
    }
    #molecule-mobile-text {
        display: flex;
    }
    .visualizer-hint {
        display: none; /* Hide hover to rotate hint on mobile */
    }
}

/* ===================================
   PROGRESS BARS & CERTIFICATE SCAN
=================================== */
.science-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    min-width: 0;
}

.stat-bar-card {
    padding: 2.5rem;
}

.stat-bar-card h3 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}

.stat-card-desc {
    font-size: 0.88rem;
    color: var(--text-sec);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.progress-item {
    margin-bottom: 1.5rem;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.progress-bar-wrap {
    width: 100%;
    height: 6px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.progress-bar-fill {
    height: 100%;
    width: 0;
    background: var(--text);
    border-radius: 3px;
    transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Certificate Card Scanline */
.certificate-card {
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

.scanline {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to bottom, rgba(8, 8, 8, 0) 0%, rgba(8, 8, 8, 0.2) 50%, rgba(8, 8, 8, 0) 100%);
    box-shadow: 0 0 12px rgba(8, 8, 8, 0.25);
    z-index: 5;
    pointer-events: none;
    animation: scanning 4s linear infinite;
}

@keyframes scanning {
    0% { top: 0%; }
    50% { top: 100%; }
    100% { top: 0%; }
}

.cert-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.cert-logo {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    color: var(--text);
}

.cert-status {
    font-size: 0.6rem;
    font-weight: 700;
    color: #10B981;
    letter-spacing: 0.1em;
    padding: 0.25rem 0.5rem;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 4px;
}

.cert-body h4 {
    font-size: 1.3rem;
    margin-bottom: 0.25rem;
    color: var(--text);
}

.cert-meta {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.cert-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.cert-stat {
    display: flex;
    flex-direction: column;
}

.cert-stat span {
    font-size: 0.65rem;
    color: var(--text-sec);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.cert-stat strong {
    font-size: 0.95rem;
    color: var(--text);
    font-weight: 600;
}

/* ===================================
   SERVING COST CALCULATOR
=================================== */
/* ===================================
   DATA & CLINICAL RESEARCH
=================================== */
.research-section {
    background: var(--bg2);
    border-top: 1px solid var(--border);
}

.research-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

@media (max-width: 900px) {
    .research-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.research-card {
    display: flex;
    flex-direction: column;
    padding: 3rem 2.25rem 2.5rem;
    text-decoration: none;
    color: inherit;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
    height: 100%;
}

.research-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(0,0,0,0.06);
}

.research-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.journal-badge {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--text);
    background: rgba(0, 0, 0, 0.05);
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    letter-spacing: 0.05em;
}

.research-impact {
    font-size: 0.62rem;
    font-weight: 700;
    color: #10B981;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.research-title {
    font-size: 1.35rem;
    color: var(--text);
    margin-bottom: 1rem;
    line-height: 1.25;
    font-weight: 600;
}

.research-summary {
    color: var(--text-sec);
    font-size: 0.86rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.research-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 1.25rem;
    margin-top: auto;
}

.citation {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 500;
}

.read-link {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.read-link .arrow {
    transition: transform 0.2s ease;
}

.research-card:hover .read-link .arrow {
    transform: translateX(4px);
}

/* ===================================
   COUNT-UP STAT CARDS & 3D TILT
=================================== */
.stat-counter-box {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    border-radius: 16px;
    height: 100%;
}

.counter-wrap {
    margin-bottom: 0.5rem;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 4vw, 4rem);
    color: var(--text);
    line-height: 1;
}

.stat-unit {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--text);
}

.stat-counter-box h4 {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.tilt-card, .product-card {
    will-change: transform;
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

/* ===================================
   AMBIENT GLOWS
=================================== */
.ambient-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(82, 39, 255, 0.15) 0%, rgba(16, 185, 129, 0.05) 50%, rgba(0, 0, 0, 0) 70%);
    top: 10%;
    left: 20%;
    pointer-events: none;
    z-index: 0;
    filter: blur(80px);
    animation: floatGlow 15s ease-in-out infinite alternate;
}

@keyframes floatGlow {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(80px, 50px) scale(1.1); }
}

/* ===================================
   FLUID GLASS DEEP REFRACTION
=================================== */
.glass-card {
    background: rgba(255, 255, 255, 0.42) !important;
    border: 1px solid rgba(255, 255, 255, 0.55) !important;
    backdrop-filter: blur(28px) saturate(130%) !important;
    -webkit-backdrop-filter: blur(28px) saturate(130%) !important;
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.03), 
                inset 0 1px 2px rgba(255, 255, 255, 0.6) !important;
    color: var(--text) !important;
}
.glass-card h3, .glass-card h4, .glass-card strong {
    color: var(--text) !important;
}
.glass-card p, .glass-card span {
    color: var(--text-sec) !important;
}

/* ===================================
   FAQ CARDSWAP
=================================== */
.faq-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 4rem auto 0;
    min-height: 440px;
}
@media (max-width: 900px) {
    .faq-layout {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
        min-height: auto;
    }
}
.faq-swap-container {
    position: relative;
    width: 100%;
    height: 340px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
    overflow: visible;
}
.faq-card {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 460px;
    height: 280px;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px) saturate(160%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(160%) !important;
    padding: 2rem 2.2rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04), inset 0 1px 2px rgba(255, 255, 255, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
    transform-style: preserve-3d;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    box-sizing: border-box;
    text-align: left;
}
.faq-card h3 {
    font-family: var(--font-body);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text) !important;
    margin: 0;
    line-height: 1.25;
    text-transform: none;
}
.faq-card p {
    color: var(--text-sec) !important;
    font-size: 0.88rem;
    line-height: 1.6;
    margin: 0;
}
.faq-card-num {
    font-size: 0.72rem;
    font-weight: 700;
    color: #5227ff;
    letter-spacing: 0.1em;
}
@media (max-width: 768px) {
    .faq-swap-container {
        transform: scale(0.8) translate(0%, 0%);
        height: 280px;
    }
    .faq-card {
        width: 92%;
        max-width: 380px;
        height: 250px;
        padding: 1.5rem 1.75rem;
    }
    .faq-card h3 {
        font-size: 1.15rem;
    }
    .faq-card p {
        font-size: 0.8rem;
    }
}
@media (max-width: 480px) {
    .faq-swap-container {
        transform: scale(0.65) translate(0%, 0%);
        height: 220px;
    }
}

/* ===================================
   CHECKOUT STEPPER
=================================== */
.step-circle-container {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    box-sizing: border-box;
    overflow: hidden;
}
.step-indicator-row {
    display: flex;
    width: 100%;
    align-items: center;
    padding: 1.5rem 2rem 1rem;
    box-sizing: border-box;
}
.step-indicator {
    position: relative;
    cursor: pointer;
    outline: none;
    user-select: none;
}
.step-indicator-inner {
    display: flex;
    height: 2rem;
    width: 2rem;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 0.875rem;
}
.active-dot {
    height: 0.65rem;
    width: 0.65rem;
    border-radius: 9999px;
    background-color: #fff;
}
.step-connector {
    position: relative;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    height: 0.125rem;
    flex: 1;
    overflow: hidden;
    border-radius: 0.25rem;
    background-color: rgba(0, 0, 0, 0.08);
}
.step-connector-inner {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0%;
    background-color: #5227ff;
    transition: width 0.4s ease;
}
.step-content-default {
    position: relative;
    overflow: hidden;
}
.step-content-pane {
    padding: 1rem 2rem 2rem;
    box-sizing: border-box;
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.step-content-pane.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}
.footer-container {
    padding: 0 2rem 2rem;
    box-sizing: border-box;
}
.footer-nav {
    display: flex;
    width: 100%;
}
.footer-nav.spread {
    justify-content: space-between;
}
.footer-nav.end {
    justify-content: flex-end;
}
.back-button {
    transition: all 350ms;
    border-radius: 0.25rem;
    padding: 0.375rem 0.875rem;
    color: #a3a3a3;
    cursor: pointer;
    background: none;
    border: none;
    font-weight: 500;
}
.back-button:hover {
    color: #fff;
}
.back-button.inactive {
    pointer-events: none;
    opacity: 0.5;
    color: #a3a3a3;
}
.next-button {
    transition: all 350ms;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background-color: #5227ff;
    color: #fff;
    font-weight: 600;
    letter-spacing: -0.015em;
    padding: 0.5rem 1.25rem;
    cursor: pointer;
    border: none;
}
.next-button:hover {
    background-color: #401bcf;
    transform: translateY(-1px);
}
.next-button:active {
    background-color: #3112a3;
}
.check-icon {
    height: 1rem;
    width: 1rem;
    color: #fff;
}

/* ===================================
   LIVE STOCK INDICATORS
=================================== */
.stock-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
}

.stock-dot {
    width: 6px;
    height: 6px;
    background-color: #10B981;
    border-radius: 50%;
    display: inline-block;
    position: relative;
}

.stock-dot.pulse::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 1px solid #10B981;
    animation: stockPulse 2s infinite ease-out;
}

@keyframes stockPulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(2.5); opacity: 0; }
}

.stock-text {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #10B981;
    text-transform: uppercase;
}

/* ===================================
   RESPONSIVE LAYOUT OPTIMIZATIONS
=================================== */
@media (max-width: 600px) {
    /* Section paddings */
    section {
        padding: 5rem 4% !important;
    }

    /* Science Section & Visualizer */
    .science-layout {
        gap: 1.5rem !important;
    }
    .science-visualizer {
        padding: 1.5rem !important;
        height: 380px !important;
    }
    .canvas-container {
        height: 240px !important;
    }
    .stat-bar-card {
        padding: 1.5rem !important;
    }
    .certificate-card {
        padding: 1.5rem !important;
    }
    .cert-stats {
        gap: 0.5rem !important;
    }
    .cert-stat strong {
        font-size: 0.85rem !important;
    }

    /* Research Section Cards */
    .research-grid {
        gap: 1rem !important;
        margin-top: 2rem !important;
    }
    .research-card {
        padding: 2rem 1.5rem 1.75rem !important;
    }
    .research-title {
        font-size: 1.2rem !important;
        margin-bottom: 0.75rem !important;
    }
    .research-summary {
        font-size: 0.82rem !important;
        margin-bottom: 1.5rem !important;
    }

    /* Ingredients Breakdown */
    .ingredients-grid {
        gap: 1rem !important;
        margin-top: 2rem !important;
    }
    .ingredient-card {
        padding: 2rem 1.5rem !important;
    }

    /* Benefits grid */
    .benefits-grid {
        gap: 1rem !important;
        margin-top: 2rem !important;
    }
    .benefit-card {
        padding: 2rem 1.5rem !important;
    }

    /* How It Works Timeline */
    .timeline-container {
        margin-top: 2rem !important;
    }
    .timeline-step {
        padding: 2rem 1.5rem !important;
    }
    .timeline-step h3 {
        font-size: 1.8rem !important;
    }

    /* Comparison Table wrap */
    .comparison-container {
        margin-top: 2rem !important;
    }
}

@media (max-width: 480px) {
    /* Make sure footer links and buttons wrap cleanly */
    .research-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    .read-link {
        align-self: flex-end;
    }
    .cert-stats {
        grid-template-columns: 1fr;
        gap: 0.75rem !important;
    }
    .cert-stat {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid rgba(0,0,0,0.03);
        padding-bottom: 0.4rem;
    }
    .cert-stat:last-child {
        border-bottom: none;
    }
    .cert-stat span {
        margin-bottom: 0;
    }
}

/* Quantity Selector styles for products and cart */
.product-qty-selector {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.8rem;
    background: rgba(8, 8, 8, 0.03);
    border: 1px solid rgba(8, 8, 8, 0.08);
    border-radius: 12px;
    margin-top: auto;
    box-sizing: border-box;
}
.prod-qty-btn {
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    color: var(--text);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}
.prod-qty-btn:hover {
    background: rgba(0, 0, 0, 0.05);
}
.prod-qty-val {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text);
}

.cart-item-qty-row {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: 0.3rem;
}
.cart-qty-btn {
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.06);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #080808;
    transition: all 0.2s;
}
.cart-qty-btn:hover {
    background: #080808;
    color: #fff;
    border-color: #080808;
}
.cart-qty-val {
    font-size: 0.85rem;
    font-weight: 600;
    color: #080808;
    min-width: 12px;
    text-align: center;
}
/* ===================================
   LIQUID GLASS CURSOR
=================================== */

/* Wrapper is a zero-size translate anchor — GPU composited via translate3d */
#lg-wrapper {
    z-index: 99998;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    contain: layout style;   /* don't affect surrounding layout */
}

/* The orb — all sizing / content is JS-driven */
#lg-lens {
    pointer-events: none;
    will-change: opacity;
}

/* Suppress the old dot cursor on devices that have a fine pointer (mouse) */
@media (pointer: fine) {
    .custom-cursor { display: none !important; }

    /* Pass-through clicks still need visual cursor on interactive elements */
    a, button, [role="button"], input, select, textarea, label {
        cursor: pointer;
    }
}

/* =============================================
   GSAP COMPARISON SVGs
   ============================================= */
.check-svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}
.check-path {
    stroke-dasharray: 40;
    stroke-dashoffset: 40;
}

/* =============================================
   BENEFITS ICON BURST
   ============================================= */
.benefit-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: transparent;
    border: 2px solid var(--primary);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 0;
    pointer-events: none;
}

.benefit-card.is-animating .benefit-icon::after {
    animation: iconBurst 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

@keyframes iconBurst {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.8;
        border-width: 3px;
    }
    100% {
        transform: translate(-50%, -50%) scale(2.5);
        opacity: 0;
        border-width: 0px;
    }
}

/* =============================================
   BENEFITS BEYOND MUSCLE
   ============================================= */
.benefits-section {
    position: relative;
    padding: 8rem 5% 4rem;
    z-index: 10;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.benefit-card {
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    /* Always visible by default — GSAP animates FROM hidden, not TO hidden */
    opacity: 1;
    transform: none;
    will-change: transform, opacity;
}

.benefit-card h3 {
    margin: 1rem 0 0.5rem;
    color: var(--text);
    font-size: 1.25rem;
}

.benefit-card p, .benefit-card .benefit-desc {
    color: var(--text-sec);
    font-size: 0.95rem;
    line-height: 1.6;
}

.benefit-card .benefit-target {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.benefit-icon {
    font-size: 2.5rem;
}

/* =============================================
   BORDER GLOW PHASE CARDS
   ============================================= */
/* how-it-works grid variant — merged into primary rule above */
.how-it-works-section-grid-only {

.how-it-works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 2rem;
    margin-top: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Mobile: single column, full clip */
@media (max-width: 768px) {
    .how-it-works-section {
        padding: 5rem 4% 4rem;
        overflow: hidden;
    }
    .how-it-works-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        margin-top: 2rem;
    }
    /* Zero the glow-padding so edge-light has inset:0 — kills all bleed */
    .border-glow-card {
        --glow-padding: 0px;
        min-height: auto;
    }
    .border-glow-card > .edge-light,
    .border-glow-card::before,
    .border-glow-card::after {
        display: none;
    }
}

.border-glow-card {
    --edge-proximity: 0;
    --cursor-angle: 45deg;
    --edge-sensitivity: 30;
    --color-sensitivity: calc(var(--edge-sensitivity) + 20);
    --border-radius: 28px;
    --glow-padding: 40px;
    --cone-spread: 25;
    --card-bg: #120F17;
    --fill-opacity: 0.5;

    /* Gradient colors (Purples/Pinks to match CRE REX) */
    --gradient-one: radial-gradient(at 80% 55%, hsla(268, 100%, 76%, 1) 0px, transparent 50%);
    --gradient-two: radial-gradient(at 69% 34%, hsla(349, 100%, 74%, 1) 0px, transparent 50%);
    --gradient-three: radial-gradient(at 8% 6%, hsla(136, 100%, 78%, 1) 0px, transparent 50%);
    --gradient-four: radial-gradient(at 41% 38%, hsla(192, 100%, 64%, 1) 0px, transparent 50%);
    --gradient-five: radial-gradient(at 86% 85%, hsla(186, 100%, 74%, 1) 0px, transparent 50%);
    --gradient-six: radial-gradient(at 82% 18%, hsla(52, 100%, 65%, 1) 0px, transparent 50%);
    --gradient-seven: radial-gradient(at 51% 4%, hsla(12, 100%, 72%, 1) 0px, transparent 50%);
    --gradient-base: linear-gradient(#c299ff 0 100%);
    
    /* Glow Colors base */
    --glow-color: hsl(268deg 80% 80% / 100%);
    --glow-color-60: hsl(268deg 80% 80% / 60%);
    --glow-color-50: hsl(268deg 80% 80% / 50%);
    --glow-color-40: hsl(268deg 80% 80% / 40%);
    --glow-color-30: hsl(268deg 80% 80% / 30%);
    --glow-color-20: hsl(268deg 80% 80% / 20%);
    --glow-color-10: hsl(268deg 80% 80% / 10%);

    position: relative;
    border-radius: var(--border-radius);
    isolation: isolate;
    transform: translate3d(0, 0, 0.01px);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: var(--card-bg);
    min-height: 0;
    padding: 2rem;
    overflow: visible;
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.6),
        rgba(0, 0, 0, 0.25) 0px 8px 24px,
        rgba(0, 0, 0, 0.20) 0px 24px 48px;
}

/* Higher specificity — overrides .glass-card collision */
.border-glow-card.glass-card,
.border-glow-card {
    border-top: 1.5px solid rgba(255, 255, 255, 0.45) !important;
    border-left: 1.5px solid rgba(255, 255, 255, 0.25) !important;
    border-right: 1.5px solid rgba(255, 255, 255, 0.25) !important;
    border-bottom: 2px solid rgba(160, 110, 255, 0.6) !important;
}

.border-glow-card::before,
.border-glow-card::after,
.border-glow-card > .edge-light {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    transition: opacity 0.25s ease-out;
    z-index: -1;
}

.border-glow-card:not(:hover):not(.sweep-active)::before,
.border-glow-card:not(:hover):not(.sweep-active)::after,
.border-glow-card:not(:hover):not(.sweep-active) > .edge-light {
    opacity: 0;
    transition: opacity 0.75s ease-in-out;
}

/* colored mesh-gradient border */
.border-glow-card::before {
    border: 1px solid transparent;
    background:
        linear-gradient(var(--card-bg) 0 100%) padding-box,
        linear-gradient(rgb(255 255 255 / 0%) 0% 100%) border-box,
        var(--gradient-one) border-box,
        var(--gradient-two) border-box,
        var(--gradient-three) border-box,
        var(--gradient-four) border-box,
        var(--gradient-five) border-box,
        var(--gradient-six) border-box,
        var(--gradient-seven) border-box,
        var(--gradient-base) border-box;

    opacity: calc((var(--edge-proximity) - var(--color-sensitivity)) / (100 - var(--color-sensitivity)));

    mask-image:
        conic-gradient(
            from var(--cursor-angle) at center,
            black calc(var(--cone-spread) * 1%),
            transparent calc((var(--cone-spread) + 15) * 1%),
            transparent calc((100 - var(--cone-spread) - 15) * 1%),
            black calc((100 - var(--cone-spread)) * 1%)
        );
}

/* colored mesh-gradient background fill near edges */
.border-glow-card::after {
    border: 1px solid transparent;
    background:
        var(--gradient-one) padding-box,
        var(--gradient-two) padding-box,
        var(--gradient-three) padding-box,
        var(--gradient-four) padding-box,
        var(--gradient-five) padding-box,
        var(--gradient-six) padding-box,
        var(--gradient-seven) padding-box,
        var(--gradient-base) padding-box;

    mask-image:
        linear-gradient(to bottom, black, black),
        radial-gradient(ellipse at 50% 50%, black 40%, transparent 65%),
        radial-gradient(ellipse at 66% 66%, black 5%, transparent 40%),
        radial-gradient(ellipse at 33% 33%, black 5%, transparent 40%),
        radial-gradient(ellipse at 66% 33%, black 5%, transparent 40%),
        radial-gradient(ellipse at 33% 66%, black 5%, transparent 40%),
        conic-gradient(from var(--cursor-angle) at center, transparent 5%, black 15%, black 85%, transparent 95%);

    mask-composite: subtract, add, add, add, add, add;
    opacity: calc(var(--fill-opacity) * (var(--edge-proximity) - var(--color-sensitivity)) / (100 - var(--color-sensitivity)));
    mix-blend-mode: soft-light;
}

/* outer glow layer */
.border-glow-card > .edge-light {
    inset: calc(var(--glow-padding) * -1);
    pointer-events: none;
    z-index: 1;

    mask-image:
        conic-gradient(
            from var(--cursor-angle) at center, black 2.5%, transparent 10%, transparent 90%, black 97.5%
        );

    opacity: calc((var(--edge-proximity) - var(--edge-sensitivity)) / (100 - var(--edge-sensitivity)));
    mix-blend-mode: plus-lighter;
}

.border-glow-card > .edge-light::before {
    content: "";
    position: absolute;
    inset: var(--glow-padding);
    border-radius: inherit;
    box-shadow:
        inset 0 0 0 1px var(--glow-color),
        inset 0 0 1px 0 var(--glow-color-60),
        inset 0 0 3px 0 var(--glow-color-50),
        inset 0 0 6px 0 var(--glow-color-40),
        inset 0 0 15px 0 var(--glow-color-30),
        inset 0 0 25px 2px var(--glow-color-20),
        inset 0 0 50px 2px var(--glow-color-10),
        0 0 1px 0 var(--glow-color-60),
        0 0 3px 0 var(--glow-color-50),
        0 0 6px 0 var(--glow-color-40),
        0 0 15px 0 var(--glow-color-30),
        0 0 25px 2px var(--glow-color-20),
        0 0 50px 2px var(--glow-color-10);
}

.border-glow-inner {
    display: flex;
    flex-direction: column;
    position: relative;
    /* visible — never clip card text content */
    overflow: visible;
    z-index: 2;
}

/* =============================================
   15. LEADERSHIP SECTION
   ============================================= */
.leadership-section {
    position: relative;
    padding: 8rem 5%;
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
    perspective: 1000px;
}

.leadership-card {
    position: relative;
    padding: 2.5rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s;
}

.leadership-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(82, 39, 255, 0.3);
}

.leader-image-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.leader-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
    transition: filter 0.4s, border-color 0.4s;
}

.leadership-card:hover .leader-img {
    filter: grayscale(0%) contrast(1);
    border-color: rgba(82, 39, 255, 0.5);
}

.leader-glow {
    position: absolute;
    inset: -10px;
    background: radial-gradient(circle, rgba(82, 39, 255, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.4s;
}

.leadership-card:hover .leader-glow {
    opacity: 1;
}

.leader-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    color: var(--text);
    letter-spacing: 0.02em;
}

.leader-title {
    font-size: 0.85rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    margin-bottom: 1rem;
}

.leader-desc {
    font-size: 0.95rem;
    color: var(--text-sec);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.leader-social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    transition: all 0.3s;
}

.leader-social-link:hover {
    background: rgba(82, 39, 255, 0.2);
    border-color: rgba(82, 39, 255, 0.5);
    color: #fff;
    transform: translateY(-2px);
}
