/* ================================================
   MYOLABS — Custom Stylesheet
   Stack: Bootstrap 5 + jQuery
   ================================================ */

/* ------------------------------------------------
   Google Fonts Import
   ------------------------------------------------ */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* ------------------------------------------------
   CSS Variables
   ------------------------------------------------ */
:root {
    --bg-black:     #0A0A0A;
    --bg-dark:      #111111;
    --bg-card:      #1A1A1A;
    --white:        #FFFFFF;
    --accent:       #FF6A00;
    --accent-hover: #FF8533;
    --mid-grey:     #666666;
    --light-grey:   #BFBFBF;
    --border:       #2A2A2A;
    --border-light: #333333;
    --font-head:    'Space Grotesk', sans-serif;
    --font-body:    'Inter', sans-serif;
    --radius:       16px;
    --radius-sm:    10px;
    --transition:   0.3s ease;
}

/* ------------------------------------------------
   Base Reset & Body
   ------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-black);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a:hover { color: var(--accent); }

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

::selection {
    background: var(--accent);
    color: var(--white);
}

/* ------------------------------------------------
   Typography
   ------------------------------------------------ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-head);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: var(--white);
    margin-bottom: 0;
}

.eyebrow {
    font-family: var(--font-head);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
}

.section-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.lead-copy {
    font-size: 17px;
    line-height: 1.75;
    color: var(--light-grey);
    font-weight: 400;
}

/* ------------------------------------------------
   Scrollbar
   ------------------------------------------------ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-black); }
::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ================================================
   HEADER / NAVIGATION
   ================================================ */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    padding: 20px 0;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: background var(--transition), padding var(--transition), border-color var(--transition);
}

#main-header.scrolled {
    background: rgba(10, 10, 10, 0.97);
    border-bottom-color: var(--border);
    padding: 14px 0;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.navbar-brand img {
    height: 62px;
    width: auto;
}

.navbar-nav .nav-link {
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--light-grey) !important;
    padding: 8px 14px !important;
    transition: color var(--transition);
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 14px;
    right: 14px;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform var(--transition);
    transform-origin: left;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--white) !important;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    transform: scaleX(1);
}

/* Hamburger */
.navbar-toggler {
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px 10px;
}

.navbar-toggler:focus { box-shadow: none; }

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23ffffff' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Mobile full-screen menu — hidden on desktop */
.navbar-collapse {
    display: none;
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        display: flex;
        position: fixed;
        inset: 0;
        background: var(--bg-black);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 1040;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }

    .navbar-collapse.show {
        opacity: 1;
        pointer-events: all;
    }

    .navbar-nav {
        text-align: center;
        gap: 8px;
    }

    .navbar-nav .nav-link {
        font-size: 22px !important;
        letter-spacing: 0.12em;
        padding: 14px 20px !important;
        color: var(--light-grey) !important;
    }

    .navbar-nav .nav-link::after { display: none; }

    .nav-close-btn {
        position: absolute;
        top: 24px;
        right: 24px;
        background: none;
        border: 1px solid var(--border);
        border-radius: 8px;
        color: var(--white);
        padding: 8px 12px;
        font-size: 18px;
        cursor: pointer;
        transition: border-color var(--transition), color var(--transition);
    }

    .nav-close-btn:hover {
        border-color: var(--accent);
        color: var(--accent);
    }

    .mobile-nav-cta {
        margin-top: 32px;
    }
}

/* Page offset for fixed header */
.page-content { padding-top: 80px; }

/* ================================================
   BUTTONS
   ================================================ */
.btn-primary-ml {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: var(--white);
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 14px 32px;
    border-radius: 8px;
    border: 2px solid var(--accent);
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
    cursor: pointer;
    text-decoration: none;
}

.btn-primary-ml:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 106, 0, 0.3);
}

.btn-secondary-ml {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--white);
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 14px 32px;
    border-radius: 8px;
    border: 2px solid var(--border-light);
    transition: border-color var(--transition), color var(--transition), transform var(--transition);
    cursor: pointer;
    text-decoration: none;
}

.btn-secondary-ml:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

.btn-sm-ml {
    padding: 10px 22px;
    font-size: 12px;
}

/* Header CTA */
.header-cart {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--white);
    font-size: 13px;
    font-family: var(--font-head);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 9px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: border-color var(--transition), color var(--transition);
}
.header-cart i {
    font-size: 17px;
}
.header-cart:hover {
    color: var(--accent);
    border-color: var(--accent);
}

.header-cta {
    background: var(--accent);
    color: var(--white) !important;
    font-family: var(--font-head);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 10px 22px;
    border-radius: 8px;
    border: 2px solid var(--accent);
    transition: background var(--transition), box-shadow var(--transition);
    text-decoration: none;
}

.header-cta:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    color: var(--white) !important;
    box-shadow: 0 4px 16px rgba(255, 106, 0, 0.3);
}

/* ================================================
   SECTIONS
   ================================================ */
.section-pad {
    padding: 60px 0;
}

.section-pad-sm {
    padding: 40px 0;
}

@media (max-width: 767.98px) {
    .section-pad { padding: 40px 0; }
    .section-pad-sm { padding: 28px 0; }
}

.section-alt {
    background-color: var(--bg-card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-dark {
    background-color: var(--bg-dark);
}

/* Orange divider line */
.accent-rule {
    width: 48px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
    margin-bottom: 20px;
}

.accent-rule.center {
    margin-left: auto;
    margin-right: auto;
}

/* ================================================
   HERO
   ================================================ */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    padding-top: clamp(100px, 11vh, 140px);
    padding-bottom: clamp(60px, 10vh, 120px);
    background-color: var(--bg-black);
    background-image: url('../images/hero_bg01.png');
    background-size: cover;
    background-position: center center;
    position: relative;
    overflow: hidden;
}

/* Dark overlay — keeps text readable over any background image */
#hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(0, 0, 0, 0.82) 0%,
        rgba(0, 0, 0, 0.55) 55%,
        rgba(0, 0, 0, 0.25) 100%
    );
    z-index: 0;
    pointer-events: none;
}

/* Accent glow — bottom right */
#hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(255, 106, 0, 0.07) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

#hero .container {
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.hero-eyebrow::before {
    content: '';
    width: 32px;
    height: 1px;
    background: var(--accent);
}

.hero-title {
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 17px;
    color: var(--light-grey);
    line-height: 1.75;
    max-width: 480px;
    margin-bottom: 40px;
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

/* ================================================
   TRUST BAR
   ================================================ */
#trust-bar {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 28px 0;
}

.trust-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.trust-icon {
    color: var(--accent);
    font-size: 20px;
    flex-shrink: 0;
}

.trust-label {
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--white);
}

.trust-divider {
    width: 1px;
    height: 36px;
    background: var(--border);
    margin: 0 auto;
}

@media (max-width: 767.98px) {
    .trust-item {
        justify-content: flex-start;
        padding: 8px 0;
    }
    .trust-divider { display: none; }
}

/* ================================================
   PRODUCT CARDS
   ================================================ */
.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
    cursor: pointer;
    text-decoration: none;
    display: block;
    color: var(--white);
}

.product-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 106, 0, 0.4);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 106, 0, 0.15);
    color: var(--white);
}

.product-card-img {
    position: relative;
    overflow: hidden;
    background: #111;
    aspect-ratio: 4/3;
}

.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-card-img img {
    transform: scale(1.04);
}

.product-card-body {
    padding: 24px;
}

.product-card-series {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--mid-grey);
    margin-bottom: 8px;
}

.product-card-name {
    font-family: var(--font-head);
    font-size: 17px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.3;
    margin-bottom: 6px;
}

.product-card-mg {
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.08em;
    margin-bottom: 20px;
}

.product-card-footer {
    padding: 0 24px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ================================================
   FEATURE CARDS (Research Standards)
   ================================================ */
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    height: 100%;
    transition: border-color var(--transition);
}

.feature-card:hover {
    border-color: rgba(255, 106, 0, 0.3);
}

/* ── COA Document Card ─────────────────────────────── */
.coa-doc-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-top: 3px solid var(--accent);
    border-radius: var(--radius);
    padding: 28px 28px 24px;
    position: relative;
    overflow: hidden;
}

.coa-doc-card::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 80px; height: 80px;
    background: radial-gradient(circle at top right, rgba(255,106,0,0.07), transparent 70%);
    pointer-events: none;
}

.coa-doc-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
}

.coa-doc-brandmark {
    width: 38px;
    height: 38px;
    background: var(--accent);
    color: #000;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .06em;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.coa-doc-heading {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.coa-doc-heading span {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    color: var(--white);
}

.coa-doc-lines {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 22px;
}

.coa-doc-line {
    height: 6px;
    background: var(--border);
    border-radius: 4px;
}
.coa-doc-line.full  { width: 100%; }
.coa-doc-line.short { width: 55%; }
.coa-doc-line.mid   { width: 75%; }

.coa-doc-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border);
    padding-top: 18px;
}

.coa-doc-batch {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.coa-doc-batch-label {
    font-size: 10px;
    letter-spacing: .12em;
    color: var(--mid-grey);
    font-family: var(--font-heading);
}

.coa-doc-batch-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    letter-spacing: .04em;
}

.coa-doc-seal {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.coa-doc-seal i {
    font-size: 28px;
    color: var(--accent);
}

.coa-doc-seal span {
    font-size: 9px;
    letter-spacing: .14em;
    color: var(--accent);
    font-family: var(--font-heading);
    font-weight: 700;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 106, 0, 0.1);
    border: 1px solid rgba(255, 106, 0, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--accent);
    margin-bottom: 20px;
    flex-shrink: 0;
}

.feature-title {
    font-family: var(--font-head);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 10px;
}

.feature-text {
    font-size: 15px;
    color: var(--light-grey);
    line-height: 1.65;
    margin: 0;
}

/* ================================================
   ABOUT SPLIT SECTION
   ================================================ */
.about-split-img {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
}

.about-split-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 380px;
    display: block;
}

/* ================================================
   CTA SECTIONS
   ================================================ */
.cta-section {
    text-align: center;
    padding: 100px 0;
}

.cta-section .section-title {
    max-width: 700px;
    margin: 0 auto 16px;
}

.cta-section .lead-copy {
    max-width: 540px;
    margin: 0 auto 36px;
}

.cta-pill {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(255, 106, 0, 0.08);
    border: 1px solid rgba(255, 106, 0, 0.2);
    border-radius: 100px;
    padding: 6px 18px;
    margin-bottom: 20px;
}

/* ================================================
   PAGE HERO (inner pages)
   ================================================ */
.page-hero {
    background: var(--bg-black);
    padding: 80px 0 40px;
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 106, 0, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.page-hero-eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}

.page-hero-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.08;
    margin-bottom: 16px;
}

.page-hero-text {
    font-size: 17px;
    color: var(--light-grey);
    max-width: 560px;
    line-height: 1.7;
}

/* ================================================
   PRODUCT DETAIL PAGE
   ================================================ */
.product-detail-img-wrap {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-detail-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-series-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}

.product-detail-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.product-detail-mg {
    font-family: var(--font-head);
    font-size: 16px;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.1em;
    margin-bottom: 6px;
}

.product-detail-descriptor {
    font-size: 15px;
    color: var(--mid-grey);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 16px;
}
.product-detail-price {
    font-family: var(--font-head);
    font-size: 32px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 24px;
    letter-spacing: 0.02em;
}

.product-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--light-grey);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 7px 14px;
}

.trust-badge .bi { color: var(--accent); font-size: 14px; }

/* Shopify embed area */
.shopify-area {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    margin-top: 8px;
}
.shopify-buy-frame--product {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
}

.shopify-placeholder {
    text-align: center;
    padding: 32px 16px;
    color: var(--mid-grey);
}

.shopify-placeholder p {
    font-size: 14px;
    margin-bottom: 8px;
}

.btn-buy {
    display: block;
    width: 100%;
    padding: 14px;
    background: var(--accent);
    color: #0a0a0a;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    border-radius: var(--radius);
    transition: opacity .2s;
}
.btn-buy:hover { opacity: .85; color: #0a0a0a; text-decoration: none; }

/* ── Shop Modal ─────────────────────────────────── */
.shop-modal-dialog {
    max-width: 980px;
    margin: 20px auto;
    height: calc(100vh - 40px);
}
.shop-modal-content {
    background: #0e0e0e;
    border: 1px solid #222;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}
.shop-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    border-bottom: 1px solid #1e1e1e;
    flex-shrink: 0;
}
.shop-modal-brand {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .18em;
    color: var(--accent);
}
.shop-modal-brand span {
    color: #555;
    font-weight: 400;
    letter-spacing: .05em;
}
.shop-modal-close {
    background: none;
    border: none;
    color: #555;
    font-size: 16px;
    cursor: pointer;
    padding: 4px 6px;
    line-height: 1;
    transition: color .2s;
}
.shop-modal-close:hover { color: #e8e8e8; }
.shop-modal-body {
    flex: 1;
    position: relative;
    overflow: hidden;
}
.shop-modal-body iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}
.shop-modal-fallback {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    height: 100%;
    color: #555;
    font-size: 14px;
    text-align: center;
    padding: 40px;
}

/* Specs Table */
.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table tr {
    border-bottom: 1px solid var(--border);
    transition: background var(--transition);
}

.specs-table tr:last-child { border-bottom: none; }
.specs-table tr:hover { background: rgba(255, 255, 255, 0.02); }

.specs-table td {
    padding: 16px 0;
    font-size: 15px;
    vertical-align: top;
}

.specs-table td:first-child {
    font-weight: 500;
    color: var(--mid-grey);
    width: 45%;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.06em;
    padding-right: 16px;
}

.specs-table td:last-child {
    color: var(--white);
    font-weight: 500;
}

.specs-table .highlight-value {
    color: var(--accent);
    font-weight: 700;
}

/* Compliance box */
.compliance-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-top: 3px solid var(--accent);
    border-radius: var(--radius-sm);
    padding: 24px 28px;
}

.compliance-box .compliance-title {
    font-family: var(--font-head);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 8px;
}

.compliance-box p {
    font-size: 14px;
    color: var(--light-grey);
    margin: 0;
    line-height: 1.6;
}

/* ================================================
   LAB REPORTS
   ================================================ */
.lab-report-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transition: border-color var(--transition), transform var(--transition);
}

.lab-report-card:hover {
    border-color: rgba(255, 106, 0, 0.3);
    transform: translateX(4px);
}

.lab-report-info { flex: 1; }

.lab-report-product {
    font-family: var(--font-head);
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
}

.lab-report-meta {
    font-size: 13px;
    color: var(--mid-grey);
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.lab-report-meta span { display: flex; align-items: center; gap: 4px; }

.purity-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 700;
    color: var(--accent);
    background: rgba(255, 106, 0, 0.08);
    border: 1px solid rgba(255, 106, 0, 0.2);
    border-radius: 6px;
    padding: 4px 10px;
}

/* ================================================
   ABOUT PAGE
   ================================================ */
.principle-card {
    padding: 32px 28px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-card);
    height: 100%;
    transition: border-color var(--transition);
}

.principle-card:hover {
    border-color: rgba(255, 106, 0, 0.3);
}

.principle-number {
    font-family: var(--font-head);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--accent);
    margin-bottom: 12px;
    display: block;
}

.principle-title {
    font-family: var(--font-head);
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 12px;
    color: var(--white);
}

.principle-text {
    font-size: 15px;
    color: var(--light-grey);
    margin: 0;
    line-height: 1.65;
}

/* ================================================
   CONTACT PAGE
   ================================================ */
.contact-form-wrap {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
}

.form-label {
    font-family: var(--font-head);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--light-grey);
    margin-bottom: 8px;
}

.form-control,
.form-select {
    background: var(--bg-black) !important;
    border: 1px solid var(--border) !important;
    border-radius: 8px !important;
    color: var(--white) !important;
    font-size: 15px;
    padding: 12px 16px;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-control::placeholder { color: var(--mid-grey) !important; }

.form-control:focus,
.form-select:focus {
    border-color: var(--accent) !important;
    box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.12) !important;
    outline: none;
    background: var(--bg-black) !important;
    color: var(--white) !important;
}

textarea.form-control { resize: vertical; min-height: 130px; }

.contact-info-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    height: 100%;
}

.contact-info-item {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.contact-info-item:last-child { border-bottom: none; }

.contact-info-item .ci-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 106, 0, 0.1);
    border: 1px solid rgba(255, 106, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 18px;
    flex-shrink: 0;
}

.contact-info-item .ci-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--mid-grey);
    margin-bottom: 4px;
}

.contact-info-item .ci-value {
    font-size: 15px;
    color: var(--white);
    font-weight: 500;
    line-height: 1.4;
}

/* ================================================
   FOOTER
   ================================================ */
.footer-logo {
    height: 62px !important;
    width: auto;
}

#footer {
    background: var(--bg-dark);
    border-top: 1px solid var(--border);
    padding: 64px 0 0;
}

.footer-brand-line {
    font-size: 13px;
    color: var(--mid-grey);
    letter-spacing: 0.06em;
    margin-top: 10px;
}

.footer-heading {
    font-family: var(--font-head);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav a {
    font-size: 14px;
    color: var(--mid-grey);
    transition: color var(--transition);
    letter-spacing: 0.02em;
}

.footer-nav a:hover { color: var(--accent); }

.footer-compliance {
    font-size: 14px;
    color: var(--mid-grey);
    line-height: 1.7;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    background: rgba(255, 106, 0, 0.04);
}

.footer-compliance strong {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 8px;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 20px 0;
    margin-top: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom-text {
    font-size: 13px;
    color: var(--mid-grey);
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    font-size: 13px;
    color: var(--mid-grey);
    transition: color var(--transition);
}

.footer-bottom-links a:hover { color: var(--accent); }

/* ================================================
   UTILITIES
   ================================================ */
.text-accent { color: var(--accent) !important; }
.text-muted-ml { color: var(--mid-grey) !important; }
.text-light-ml { color: var(--light-grey) !important; }
.border-ml { border-color: var(--border) !important; }

.gap-section { display: flex; flex-direction: column; gap: 100px; }

/* Breadcrumbs */
.breadcrumb-ml {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--mid-grey);
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.breadcrumb-ml a { color: var(--mid-grey); }
.breadcrumb-ml a:hover { color: var(--accent); }
.breadcrumb-ml .bi { font-size: 12px; }

/* Alert / Notice */
.alert-ml {
    background: rgba(255, 106, 0, 0.06);
    border: 1px solid rgba(255, 106, 0, 0.2);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius-sm);
    padding: 14px 20px;
    font-size: 14px;
    color: var(--light-grey);
}

/* Loading states */
.btn-loading {
    pointer-events: none;
    opacity: 0.7;
}

/* ================================================
   ANIMATIONS
   ================================================ */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

.animate-fade-up {
    animation: fadeUp 0.6s ease forwards;
}

.animate-delay-1 { animation-delay: 0.1s; opacity: 0; }
.animate-delay-2 { animation-delay: 0.2s; opacity: 0; }
.animate-delay-3 { animation-delay: 0.3s; opacity: 0; }
.animate-delay-4 { animation-delay: 0.4s; opacity: 0; }

/* ================================================
   RESPONSIVE TWEAKS
   ================================================ */
@media (max-width: 575.98px) {
    .hero-title { font-size: 36px; }
    .hero-cta-group { flex-direction: column; }
    .hero-cta-group .btn-primary-ml,
    .hero-cta-group .btn-secondary-ml { justify-content: center; }
    .product-card-footer { flex-direction: column; align-items: flex-start; }
    .contact-form-wrap { padding: 24px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-bottom-links { justify-content: center; }
    .lab-report-card { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 767.98px) {
    .section-title { font-size: 28px; }
    .page-hero-title { font-size: 34px; }
}

/* ------------------------------------------------
   Legal Pages (Disclaimer / Privacy Policy)
   ------------------------------------------------ */
.legal-meta {
    font-size: 12px;
    color: var(--mid-grey);
    margin: 0;
}
.legal-body h2 {
    font-family: var(--font-head);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .06em;
    color: var(--white);
    margin: 36px 0 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}
.legal-body p,
.legal-body li {
    font-size: 14px;
    line-height: 1.8;
    color: var(--light-grey);
    margin-bottom: 12px;
}
.legal-body ul {
    padding-left: 20px;
    margin-bottom: 16px;
}
.legal-body ul li {
    margin-bottom: 6px;
}
.legal-body a {
    color: var(--accent);
    text-decoration: none;
}
.legal-body a:hover {
    text-decoration: underline;
}
.legal-alert {
    background: #1a0e00;
    border: 1px solid #3a2000;
    border-left: 3px solid var(--accent);
    border-radius: 4px;
    padding: 18px 20px;
    font-size: 13px;
    line-height: 1.7;
    color: var(--light-grey);
    margin-bottom: 40px;
}
.legal-alert strong {
    display: block;
    color: var(--accent);
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.legal-copy {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    font-size: 12px;
    color: var(--mid-grey) !important;
}
