/**
 * TruthForge Nuclear - Rebuilt Homepage Styles
 * Design: High-Fidelity, Premium, Dark Mode
 */

body {
    overflow-x: hidden !important;
    width: 100% !important;
    position: relative !important;
}

/* 1. Global Section Rhythm */
.home-nuclear-content section {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.tf-section-padding {
    padding: 120px 0;
}

@media (max-width: 768px) {
    /* --- ATOMIC MOBILE OVERFLOW GUARD --- */
    *, *::before, *::after {
        max-width: 100vw !important;
        box-sizing: border-box !important;
    }

    section, .tf-section {
        padding-top: var(--tf-section-padding-v-mobile) !important; 
        padding-bottom: var(--tf-section-padding-v-mobile) !important; 
        padding-left: 0 !important; 
        padding-right: 0 !important; 
        width: 100% !important;
        overflow-x: hidden !important;
    }
    
    .container, 
    .nav-wrapper,
    .feature-grid-wrapper-rebuilt,
    .truth-product-grid {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }
    body.home section.tf-section-tight,
    section.tf-section-tight { 
        padding-top: var(--tf-mobile-space-lg) !important; 
        padding-bottom: var(--tf-mobile-space-lg) !important; 
        padding-left: 0 !important; 
        padding-right: 0 !important; 
    }
    body.home section.tf-section-loose,
    section.tf-section-loose { 
        padding-top: var(--tf-section-padding-v-mobile) !important; 
        padding-bottom: var(--tf-section-padding-v-mobile) !important; 
        padding-left: 0 !important; 
        padding-right: 0 !important; 
    }
}

/* --- HEADER LOCKDOWN --- */
.site-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    background: rgba(0, 0, 0, 0.9) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    transition: all 0.3s ease !important;
    height: 72px; /* Desktop Height */
}

@media (max-width: 768px) {
    .site-header {
        height: 64px !important;
    }
}

@media (max-width: 768px) {
    .nav-wrapper {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        height: 100% !important;
        padding: 0 var(--tf-container-px-mobile) !important; /* Strictly Symmetric */
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .tf-hero-heading {
        font-size: 32px !important;
        line-height: 1.0 !important;
    }

    .brand-identity {
        position: relative !important;
        left: 0 !important;
        transform: none !important;
        z-index: 10 !important;
        margin: 0 !important;
    }

    .header-icons {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        margin-left: 0 !important;
    }

    /* Hide search and account icons on very small screens to avoid clutter */
    @media (max-width: 375px) {
        .icon-search, .icon-account {
            display: none !important;
        }
    }

    .mobile-menu-toggle {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 44px !important;
        height: 44px !important;
        padding: 0 !important;
        background: transparent !important;
        border: none !important;
        margin-left: 8px !important;
        position: relative !important;
        z-index: 11000 !important; /* Extremely high to stay above drawer */
    }

    .mobile-menu-overlay {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background: rgba(0,0,0,0.95) !important; /* Higher opacity for readability */
        z-index: 9999 !important;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .mobile-drawer {
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        width: 85% !important;
        max-width: 400px !important;
        height: 100% !important;
        background: #000 !important;
        z-index: 10000 !important;
        transform: translateX(100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        display: block !important;
        visibility: visible !important;
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }

    .mobile-drawer.active {
        transform: translateX(0);
    }

    .cart-contents {
        z-index: 11000 !important;
        position: relative !important;
    }

    /* Toggle State Helper: Hide bars when active if needed, or rotate them to X */
    .mobile-menu-toggle.active svg {
        color: var(--tf-brand-primary) !important;
    }

    .logo-text-parity {
        font-size: 20px !important;
    }
    .logo-subtext-parity {
        font-size: 6px !important;
    }
}

/* --- MOBILE OPTIMIZATION BASE (320px - 768px) --- */
@media (max-width: 768px) {
    :root {
        --tf-section-spacing: var(--tf-section-padding-v-mobile);
    }

    .tf-section-padding {
        padding: var(--tf-section-spacing) 0 !important;
    }

    h1, .h1 { font-size: var(--tf-font-h1-mobile) !important; line-height: var(--tf-lh-heading) !important; }
    h2, .h2 { font-size: var(--tf-font-h2-mobile) !important; line-height: var(--tf-lh-heading) !important; }
    h3, .h3 { font-size: var(--tf-font-h3-mobile) !important; }
    
    body, p { font-size: var(--tf-font-body-mobile) !important; line-height: var(--tf-lh-body) !important; }
}

/* 2. Hero Component Rebuild */
.tf-hero-section-rebuilt {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #000;
    position: relative;
    padding-top: 85px; /* Offset for sticky header */
}

.tf-hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.tf-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.75;
    filter: brightness(0.85) contrast(1.1);
}

.tf-hero-container {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tf-hero-content-wrapper {
    max-width: 800px;
}

.tf-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 99px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.2em;
    color: #fff;
    margin-bottom: 32px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--tf-brand-primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--tf-brand-primary);
}

.tf-hero-title-rebuilt {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    font-size: clamp(3rem, 10vw, 6.5rem) !important;
    margin-bottom: 24px;
}

.tf-hero-description {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 48px;
    max-width: 600px;
}

/* Hero Stats Banner */
.tf-hero-stats-banner {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 10;
    padding: 32px 0;
}

.stats-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-num {
    font-family: 'Oswald', sans-serif;
    font-weight: 900;
    font-size: 1.75rem;
    color: #fff;
    font-style: italic;
}

.stat-label {
    font-size: 10px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.2em;
}

/* Floating Rating Card */
.tf-floating-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.rating-info {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.rating-label {
    font-size: 9px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.2em;
}

.rating-value {
    font-size: 2rem;
    font-weight: 900;
    color: #fff;
    font-style: italic;
}

.rating-stars {
    color: #ffd700;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

/* 3. Values Strip */
.tf-values-strip {
    background: #0c0c0c;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 0;
}

.values-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

@media (max-width: 768px) {
    .values-flex {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
        padding: 0 20px !important;
    }
}

@media (max-width: 480px) {
    .values-flex {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
}

.value-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 10px;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    cursor: default;
}

.value-item:hover {
    background: rgba(255, 255, 255, 0.03);
    transform: translateY(-5px);
}

.value-icon {
    width: 52px;
    height: 52px;
    background: rgba(124, 58, 237, 0.08);
    border: 1px solid rgba(124, 58, 237, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tf-brand-primary);
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.value-item:hover .value-icon {
    background: var(--tf-brand-primary);
    color: #fff;
    box-shadow: 0 0 25px rgba(124, 58, 237, 0.4);
    transform: rotate(-5deg) scale(1.1);
}

.value-title {
    display: block;
    font-size: 13px;
    font-weight: 900;
    color: #fff;
    letter-spacing: 0.1em;
    margin-bottom: 2px;
    transition: color 0.3s ease;
}

.value-item:hover .value-title {
    color: var(--tf-brand-primary);
}

.value-subtitle {
    display: block;
    font-size: 10px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* 4. Feature Highlight - Rebuilt Phase 1C */
.tf-feature-highlight-rebuilt {
    padding: 100px 0;
    background: #000;
}

.feature-grid-wrapper-rebuilt {
    display: flex;
    align-items: center;
    gap: 100px;
    max-width: 1400px;
}

@media (max-width: 1024px) {
    .feature-grid-wrapper-rebuilt {
        flex-direction: column !important;
        gap: 40px !important;
        padding: 0 16px !important;
    }

    .feature-image-side {
        width: 100% !important;
    }

    .feature-content-side {
        width: 100% !important;
        text-align: center !important;
    }

    .eyebrow-arrival {
        justify-content: center !important;
    }

    .feature-description-rebuilt {
        margin-left: auto !important;
        margin-right: auto !important;
        font-size: 1rem !important;
        margin-bottom: 32px !important;
    }

    .feature-bullet-list {
        align-items: center !important;
        margin-bottom: 32px !important;
    }

    .feature-bullet-rebuilt {
        justify-content: center !important;
        text-align: left !important;
    }

    .feature-cta-row {
        justify-content: center !important;
        flex-direction: column !important;
        gap: 16px !important;
    }

    .tf-btn-rebuilt {
        width: 100% !important;
        padding: 16px 32px !important;
        height: 48px !important;
        box-sizing: border-box !important;
    }
}

.feature-image-side {
    flex: 1;
    position: relative;
}

.feature-image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    line-height: 0;
}

.tf-feature-main-img-rebuilt {
    width: 100%;
    height: auto;
    object-fit: cover;
    filter: brightness(0.9);
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.feature-image-side:hover .tf-feature-main-img-rebuilt {
    transform: scale(1.03);
    filter: brightness(1);
}

.drop-limited-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: #facc15;
    color: #000;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.1em;
    z-index: 10;
}

.feature-content-side {
    flex: 1;
}

.eyebrow-arrival {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.3em;
    color: var(--tf-brand-primary); /* Use brand color for eyebrow in senior design */
    margin-bottom: 4px; /* NEGLIGIBLE MARGIN FOR INTEGRATION */
}

.accent-line {
    width: 40px;
    height: 1px; /* Slimmer for premium look */
    background: #A855F7;
}

.feature-heading-rebuilt {
    font-family: 'Oswald', sans-serif;
    font-weight: 800;
    font-style: italic;
    text-transform: uppercase;
    font-size: 72px !important; /* REDUCED PER FEEDBACK */
    line-height: 0.82; /* Tighter for compact look */
    margin-bottom: 32px;
    color: #ffffff !important;
    letter-spacing: -0.04em;
}

.purple-hype {
    color: #A855F7;
}

.feature-description-rebuilt {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 500px;
}

.feature-bullet-list {
    list-style: none;
    padding: 0;
    margin: 0 0 48px 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-bullet-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}

.feature-bullet-list-rebuilt {
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-bullet-rebuilt {
    display: flex;
    align-items: center;
    gap: 16px;
    animation: bulletReveal 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    opacity: 0;
}

.feature-bullet-rebuilt:nth-child(1) { animation-delay: 0.4s; }
.feature-bullet-rebuilt:nth-child(2) { animation-delay: 0.5s; }
.feature-bullet-rebuilt:nth-child(3) { animation-delay: 0.6s; }
.feature-bullet-rebuilt:nth-child(4) { animation-delay: 0.7s; }

@keyframes bulletReveal {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.check-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tf-brand-primary);
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.bullet-text-rebuilt {
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9); /* High-fidelity off-white */
    letter-spacing: 0.02em;
}

/* Premium Reveal Animation */
.tf-feature-highlight-rebuilt {
    animation: featureReveal 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    opacity: 0;
    transform: translateY(30px);
}

@keyframes featureReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-cta-row {
    display: flex;
    align-items: center;
    gap: 32px;
}

.price-tag-rebuilt {
    font-size: 13px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.15em;
}

.btn-arrow-mini {
    margin-left: 10px;
    transition: transform 0.3s ease;
    stroke-width: 4px !important; /* HI-VIS POINTER */
}

.tf-btn-rebuilt.primary-solid:hover .btn-arrow-mini {
    transform: translateX(5px);
}
/* 5. Truth Series Grid (Phase 1D) */
.tf-truth-series-section {
    padding: 100px 0;
    background: #000;
}

.truth-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 24px;
}

.header-left {
    max-width: 650px;
}

.truth-eyebrow-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.eyebrow-line {
    display: block !important;
    width: 40px;
    height: 2px;
    background: #A855F7;
    flex-shrink: 0;
}

.truth-eyebrow {
    display: inline-block;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.4em;
    color: var(--tf-brand-primary);
    margin-bottom: 0; /* Handled by wrapper gap */
}

.truth-heading {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-style: italic;
    font-size: clamp(2.5rem, 6vw, 4.5rem) !important;
    text-transform: uppercase;
    line-height: 1.1;
    margin: 0 0 24px 0;
    white-space: nowrap; /* Force single line parity on desktop */
}

@media (max-width: 768px) {
    .truth-header-row {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 16px !important;
    }
    .header-left {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .truth-heading {
        font-size: clamp(2rem, 10vw, 3rem) !important;
        white-space: normal !important;
        letter-spacing: -0.02em !important;
        text-align: center !important;
    }
    .truth-view-all-link {
        align-self: center !important;
    }
}

.purple-series {
    color: var(--tf-brand-primary);
}

.truth-subtext {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.5);
    max-width: 500px;
    margin: 0;
}

.truth-view-all-link {
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.truth-view-all-link:hover {
    color: #fff;
    transform: translateX(5px);
}

.truth-divider {
    display: block !important;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 60px;
}

/* Grid Layout */
.truth-product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px; /* Tight, equal gaps per design */
}

/* One-product cleanliness: constrain single card to ~400px so it doesn't
   stretch weirdly across the 3-col grid on The Standard / low-count sections */
.truth-product-grid > .nuclear-product-card:only-child {
    max-width: 400px;
}

/* Coming-soon state spans full grid row cleanly */
.truth-product-grid > .coming-soon-wrapper {
    grid-column: 1 / -1 !important;
}

/* Nuclear Card Styling */
.nuclear-product-card {
    background: #000;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.card-image-wrapper {
    position: relative;
    aspect-ratio: 1 / 1; /* Switched to 1:1 to 'Nuclear the dead space' for square product images */
    background: #0a0a0a;
    overflow: hidden;
    margin-bottom: 8px;
}

.card-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 12px;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 4px;
    z-index: 10;
}

.card-badge.badge-white {
    background: #fff;
    color: #000;
}

.card-badge.badge-purple {
    background: var(--tf-brand-primary);
    color: #fff;
}

.card-badge.badge-black {
    background: #000;
    color: #fff;
}

.card-badge.badge-yellow {
    background: #facc15;
    color: #000;
}

.card-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.nuclear-product-card:hover .card-main-image {
    transform: scale(1.05);
}

/* Laser Scan Effect */
.laser-scan-overlay {
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        transparent 0%,
        rgba(124, 58, 237, 0) 45%,
        rgba(124, 58, 237, 0.6) 50%,
        rgba(124, 58, 237, 0) 55%,
        transparent 100%
    );
    z-index: 5;
    pointer-events: none;
    transition: none;
}

.nuclear-product-card:hover .laser-scan-overlay,
.tf-product-card-rebuilt:hover .laser-scan-overlay,
.tf-product-card-exact:hover .laser-scan-overlay {
    animation: laserScan 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes laserScan {
    0% { top: -100%; }
    100% { top: 100%; }
}

/* Premium Interaction Overlay - Fixed Inside Image Wrapper */
.card-interaction-overlay {
    position: absolute;
    bottom: 0px;
    left: 0;
    right: 0;
    padding: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(100%);
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 20;
    background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 100%);
}

.nuclear-product-card {
    position: relative;
    display: flex;
    flex-direction: column;
}

.nuclear-product-card:hover .card-interaction-overlay,
.card-image-wrapper:hover .card-interaction-overlay {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

.interaction-buttons {
    display: flex;
    gap: 8px;
    width: 100%;
}

/* QUICK VIEW - Wide White Button */
html body div.truth-product-grid a.btn-nuke-quickview {
    flex: 1 !important;
    background: #ffffff !important;
    color: #000000 !important;
    height: 44px !important;
    min-height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    border-radius: 4px !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3) !important;
}

html body div.truth-product-grid a.btn-nuke-quickview .qv-text {
    display: inline !important;
    visibility: visible !important;
}

html body div.truth-product-grid a.btn-nuke-quickview:hover {
    background: #f3f4f6 !important;
    transform: translateY(-2px) !important;
}

/* ADD TO CART - Square Purple Button */
html body div.truth-product-grid a.btn-nuke-addcart {
    width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    background: var(--tf-brand-primary) !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3) !important;
}

html body div.truth-product-grid a.btn-nuke-addcart:hover {
    background: #8b5cf6 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 0 15px rgba(124, 58, 237, 0.5) !important;
}

/* Mobile Overrides - Final Lockdown */
@media (max-width: 768px) {
    /* One product per row on mobile — was repeat(2, 1fr), which fought
       nuclear-shared-grid.css's "1-COL STRICT" rule (the documented single
       source of truth for grid columns) and won by loading later in the
       cascade, producing two cramped product cards side by side. */
    .truth-product-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        padding: 0 !important;
    }

    .card-interaction-overlay {
        display: none !important;
    }

    .interaction-buttons {
        display: none !important;
    }

    /* Hide Quick View on Mobile - High Target Conversion Focus */
    html body div.truth-product-grid a.btn-nuke-quickview {
        display: none !important;
    }

    .card-product-title {
        font-size: 14px !important;
        margin-bottom: 8px !important;
    }
}

@media (max-width: 479px) {
    .truth-product-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
}


.btn-nuke-addcart:hover {
    transform: scale(1.05);
    background: #8b5cf6;
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.4);
}

/* Nuclear Footer */
.card-footer-nuclear {
    padding: 0 4px;
}

.card-meta-line {
    display: block;
    font-size: 10px;
    font-weight: 950;
    letter-spacing: 0.15em;
    color: var(--tf-brand-primary);
    margin-bottom: 4px; /* Reduced for tighter look */
    text-transform: uppercase;
}

.card-product-title {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-style: italic;
    font-size: 18px;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 16px 0;
    letter-spacing: 0.02em;
}

.card-price-row-nuclear {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.card-price-value {
    font-size: 14px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.05em;
}

.card-price-value ins {
    text-decoration: none;
}

.card-price-value del {
    display: none; /* Premium clean look: hide crossed out prices */
}

.card-sales-count {
    font-size: 10px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.05em;
}

.card-pagination-dots {
    display: flex;
    gap: 4px;
}

.card-pagination-dots .dot {
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.3); /* Increased from 0.1 for visibility */
    border-radius: 50%;
}

.card-pagination-dots .dot.active {
    background: #fff;
}

.card-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.1);
}

/* Overriding Statement Banner padding */
.tf-statement-banner {
    padding: 160px 0;
    background: radial-gradient(circle at center, #1a0b3a 0%, #000000 70%);
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.section-meta-light {
    font-size: 10px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.5em;
    margin-bottom: 32px;
}

/* --- PHASE 1F: PHILOSOPHY SECTION --- */
.philosophy-section {
    position: relative;
    padding: 160px 0;
    background-color: #000;
    background-image: url('images/substance_image.webp');
    background-size: cover;
    background-position: 80% 25%;
    background-repeat: no-repeat;
    color: #fff;
    overflow: hidden;
}

/* Visual Anchor Overlay */
.philosophy-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg, 
        rgba(0, 0, 0, 0.95) 0%, 
        rgba(0, 0, 0, 0.85) 30%, 
        rgba(0, 0, 0, 0.4) 100%
    );
    z-index: 1;
}

.philosophy-container {
    position: relative;
    z-index: 2; /* Sit above the overlay */
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.philosophy-eyebrow-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
}

.philosophy-eyebrow {
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.4em;
    color: rgba(255, 255, 255, 0.4);
}

.philosophy-headline {
    font-family: 'Inter', sans-serif !important; /* Using Inter Black/Heavy Italic */
    font-weight: 900;
    font-style: italic;
    font-size: clamp(40px, 8vw, 80px);
    line-height: 0.85;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    margin: 0 0 48px 0;
    text-align: left;
}

.philosophy-headline .purple-text {
    color: #A855F7; /* Nuclear Purple */
}

.philosophy-text {
    font-size: 22px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
    max-width: 750px;
    margin-bottom: 64px;
    font-weight: 400;
}

.philosophy-tags {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.philosophy-tag {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ae8cff; /* Light purple for tag text parity */
    padding: 10px 20px;
    border-radius: 4px; /* Using subtle radius as per reference screenshot */
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.philosophy-tag:hover {
    background: rgba(124, 58, 237, 0.1);
    border-color: #A855F7;
}

@media (max-width: 768px) {
    .philosophy-section {
        padding: 80px 0 !important;
        background-position: center !important;
    }

    .philosophy-container {
        padding: 0 20px !important;
        text-align: center !important;
    }

    .philosophy-eyebrow-wrapper {
        justify-content: center !important;
        margin-bottom: 24px !important;
    }

    .philosophy-headline {
        font-size: clamp(34px, 10vw, 48px) !important;
        text-align: center !important;
        margin-bottom: 32px !important;
    }

    .philosophy-text {
        font-size: 16px !important;
        margin-bottom: 40px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .philosophy-tags {
        justify-content: center !important;
        gap: 10px !important;
    }

    .philosophy-tag {
        padding: 8px 16px !important;
        font-size: 10px !important;
    }
}

/* 7. Newsletter Section */
.tf-newsletter-section {
    padding: 120px 0;
    background: #000;
    text-align: center;
}

.newsletter-meta {
    font-size: 10px;
    font-weight: 900;
    color: var(--tf-brand-primary);
    letter-spacing: 0.4em;
    margin-bottom: 24px;
}

.newsletter-heading {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    font-size: clamp(2rem, 5vw, 4rem) !important;
    margin-bottom: 32px;
}

.newsletter-text {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    margin-bottom: 64px;
}

.newsletter-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.tf-newsletter-form {
    display: flex;
    gap: 12px;
}

.tf-newsletter-input {
    flex: 1;
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 18px 24px;
    border-radius: 12px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.tf-newsletter-input:focus {
    outline: none;
    border-color: var(--tf-brand-primary);
}

/* Utility Buttons */
.tf-btn-rebuilt {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 48px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.15em;
    transition: var(--tf-transition-smooth);
    cursor: pointer;
    text-decoration: none !important;
}

.tf-btn-rebuilt.primary {
    background: #fff;
    color: #000 !important;
}

.tf-btn-rebuilt.primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.tf-btn-rebuilt.outline {
    background: transparent;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.tf-btn-rebuilt.outline:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.tf-btn-rebuilt.primary-solid {
    background: var(--tf-brand-primary);
    color: #fff !important;
}

.tf-btn-rebuilt.primary-solid:hover {
    background: var(--tf-brand-hover);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.5);
}

/* Responsive Grid Guards */
@media (max-width: 1024px) {
    .tf-collection-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .feature-grid-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

@media (max-width: 768px) {
    .tf-collection-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }
    .stats-flex {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    .tf-newsletter-form {
        flex-direction: column;
    }
}

@media (max-width: 479px) {
    .tf-collection-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
}

/* --- PHASE 1H: NEWSLETTER SECTION REBUILT --- */
.tf-newsletter-section-rebuilt {
    padding: 144px 0;
    background: radial-gradient(circle at center, rgb(35, 12, 70) 0%, rgb(0, 0, 0) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.container-newsletter-rebuilt {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Eyebrow Prefix Layout */
.newsletter-eyebrow-wrapper {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px !important;
}

.newsletter-eyebrow-wrapper .eyebrow-line {
    width: 32px !important;
    height: 1px !important;
    background: #A855F7 !important;
    display: block !important;
}

.newsletter-eyebrow-wrapper .truth-eyebrow {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.3em;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
}

.newsletter-heading-rebuilt {
    font-family: 'Inter', sans-serif !important;
    font-weight: 900 !important;
    font-style: italic !important;
    font-size: 60px !important;
    line-height: 0.9 !important;
    letter-spacing: -0.04em !important;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 20px 0 !important; /* Tightened margin */
}

.purple-text-rebuilt {
    color: #A855F7 !important; /* Vibrant brand purple */
}

.newsletter-content-rebuilt {
    margin-bottom: 40px !important; /* Tightened spacing */
}

.newsletter-main-text {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 8px 0 !important;
    max-width: 600px;
}

.newsletter-sub-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 600;
    letter-spacing: 0.02em;
}

.newsletter-form-container-rebuilt {
    width: 100%;
    max-width: 500px;
    margin: 0 auto 24px auto !important;
}

.newsletter-form-rebuilt {
    display: flex;
    gap: 12px;
    align-items: stretch;
}

.newsletter-input-rebuilt {
    flex: 2.5 !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 6px !important; /* 6px Radius for Nuclear UI */
    padding: 0 20px !important; /* Match vertical height exactly */
    color: #fff !important;
    font-size: 15px !important;
    height: 56px !important;
    min-height: 56px !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease;
}

.newsletter-input-rebuilt:focus {
    outline: none;
    border-color: #A855F7 !important;
    background: rgba(255, 255, 255, 0.05) !important;
}

.newsletter-btn-rebuilt {
    flex: 1 !important;
    background: #A855F7 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 6px !important; /* 6px Radius for Nuclear UI */
    padding: 0 24px !important;
    font-size: 14px !important;
    font-weight: 850 !important;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    height: 56px !important;
    min-height: 56px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.newsletter-btn-rebuilt:hover {
    background: #6d28d9 !important;
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.3);
}

.newsletter-trust-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.35);
    text-transform: uppercase;
}

.newsletter-trust-line .lock-icon {
    opacity: 0.8;
}

@media (max-width: 768px) {
    html body.home .tf-truth-series-section {
        padding: var(--tf-section-padding-v-mobile) 0 !important; /* Neutralized side padding: handled by container */
    }
    html body.home .tf-newsletter-section-rebuilt {
        padding: var(--tf-section-padding-v-mobile) 0 !important; /* Neutralized side padding: handled by container */
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        min-height: 0 !important;
        height: auto !important;
        display: block !important;
    }
    .footer,
    .tf-site-footer,
    footer#colophon {
        margin-top: 0 !important;
        padding-top: var(--tf-section-padding-v-mobile) !important; /* Restore premium breathing room */
        border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    }
    .feature-heading-rebuilt {
        font-size: var(--tf-font-h1-mobile) !important;
        line-height: var(--tf-lh-heading) !important;
        margin-bottom: var(--tf-mobile-space-md) !important;
    }
    .newsletter-heading-rebuilt {
        font-size: var(--tf-font-h1-mobile) !important;
        line-height: var(--tf-lh-heading) !important;
        margin-bottom: var(--tf-mobile-space-md) !important;
    }
    .newsletter-form-rebuilt {
        flex-direction: column !important;
        gap: 12px !important;
        width: 100% !important;
    }
    .newsletter-input-rebuilt, .newsletter-btn-rebuilt {
        flex: none !important;
        width: 100% !important;
        height: 54px !important;
        min-height: 54px !important;
    }
    .newsletter-main-text {
        font-size: 15px !important;
        padding: 0 10px !important;
    }
}


/* Fix for newsletter trust line visibility - overriding global style.css hide rule */
body.home .tf-newsletter-section-rebuilt .newsletter-trust-line {
    display: flex !important;
    visibility: visible !important;
    height: auto !important;
    margin-top: 32px;
    opacity: 0.6 !important;
    z-index: 10;
}

/* 🟢 SUCCESS TOAST STYLES */
.tf-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #10B981; /* Emerald Green */
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4);
    z-index: 9999;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
}

.tf-toast.active {
    transform: translateX(-50%) translateY(0);
}

/* 🟢 MOBILE ADD TO CART TEXT */
@media (max-width: 768px) {
    .product-action-btn.add-to-cart-btn {
        width: auto !important;
        padding: 0 16px !important;
        gap: 8px !important;
        border-radius: 50px !important;
    }
    
    .atc-text-mobile {
        display: inline-block !important;
        font-size: 11px !important;
        font-weight: 900 !important;
        text-transform: uppercase;
        letter-spacing: 0.02em;
    }
}

@media (min-width: 769px) {
    .atc-text-mobile {
        display: none !important;
    }
}

/* --- ANNOUNCEMENT TICKER: MARQUEE (was unstyled — no animation existed) --- */
.utility-bar-nuclear {
    background: #7c3aed;
    color: #ffffff;
    overflow: hidden;
    width: 100%;
}

.utility-bar-nuclear .marquee-track {
    overflow: hidden;
    width: 100%;
}

.utility-bar-nuclear .marquee-content {
    display: flex;
    width: max-content;
    gap: 4rem;
    padding: 10px 0;
    animation: tf-marquee 28s linear infinite;
    will-change: transform;
}

.utility-bar-nuclear .marquee-content span {
    display: inline-block;
    padding: 0 2rem;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
}

@keyframes tf-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-33.333%); }
}

@media (prefers-reduced-motion: reduce) {
    .utility-bar-nuclear .marquee-content {
        animation: none;
        overflow-x: auto;
    }
}

/* --- HOMEPAGE SCROLL REVEAL: wires existing .scroll-trigger engine (assets/animations.js) to home sections --- */
body.home .scroll-trigger {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

body.home .scroll-trigger.scroll-trigger--offscreen {
    opacity: 0;
    transform: translateY(24px);
}

body.home .nuclear-product-card.scroll-trigger--offscreen {
    transform: translateY(16px);
}

@media (prefers-reduced-motion: reduce) {
    body.home .scroll-trigger,
    body.home .scroll-trigger.scroll-trigger--offscreen {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* --- HERO STOCK CARD: only shown when section-hero.php resolves real managed-stock data --- */
.tf-hero-status-card[hidden] {
    display: none;
}
