/* Button */
.btn {
    display: inline-block;
    padding: 16px 40px;
    background: linear-gradient(90deg, var(--color-red), var(--color-neon-red));
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 50px;
    text-transform: uppercase;
    box-shadow: 0 0 20px rgba(255, 0, 51, 0.6);
    transition: all 0.3s var(--ease-pop);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 0 40px rgba(255, 0, 51, 0.8), 0 0 10px rgba(255, 255, 255, 0.4);
}

.btn:active {
    transform: scale(0.98);
    box-shadow: 0 0 15px rgba(255, 0, 51, 0.4);
}

.btn:focus-visible {
    outline: 2px solid var(--color-gold);
    outline-offset: 4px;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transition: 0.6s;
    z-index: -1;
}

.btn:hover::after {
    left: 100%;
    animation: shimmer 1.5s infinite;
}

/* Hero Components */
.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(255, 0, 0, 0.3);
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #ccc;
}

.hero-features {
    list-style: none;
    margin-bottom: 40px;
}

.hero-features li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-weight: 600;
}

.hero-features li::before {
    content: '🔥';
    margin-right: 10px;
    color: var(--color-neon-red);
}

.hero-image {
    position: relative;
    perspective: 1000px;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
}

/* Benefit Cards */
.benefit-card {
    background: rgba(20, 5, 5, 0.6);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 20px;
    border: var(--border-soft);
    border-bottom: 3px solid transparent;
    transition: all 0.4s var(--ease-smooth);
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.5);
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 0, 51, 0.1), transparent);
    transform: translateX(-100%);
    transition: 0.5s;
}

.benefit-card:hover::before {
    transform: translateX(100%);
}

.benefit-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 0, 51, 0.3);
    border-bottom-color: var(--color-neon-red);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.6), inset 0 0 20px rgba(255, 0, 51, 0.1);
}

/* Desktop-only icon float */
@media (hover: hover) and (pointer: fine) {
    .benefit-icon img {
        animation: float-soft 6s ease-in-out infinite;
    }
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--color-neon-red);
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-card h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.benefit-icon img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(255, 0, 51, 0.4));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.benefit-card:hover .benefit-icon img {
    transform: scale(1.15);
    filter: drop-shadow(0 0 18px rgba(255, 0, 51, 0.7));
}

/* Content Block */
.content-block {
    background: rgba(255, 255, 255, 0.03);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border-left: 4px solid var(--color-neon-red);
}

/* Gender Content */
.gender-content {
    flex: 1;
    max-width: 600px;
}

.gender-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(255, 0, 51, 0.3);
    transition: transform 0.5s ease;
}

.gender-col:hover .gender-image img {
    transform: scale(1.02);
}

.gender-title {
    font-size: 3.5rem;
    margin-bottom: 25px;
    background: linear-gradient(to right, var(--color-white), #999);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
}

.gender-subtitle {
    color: var(--color-neon-red);
    font-size: 1.8rem;
    margin-bottom: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gender-text {
    color: #ddd;
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Ingredient Item */
.ingredient-item {
    text-align: center;
    width: 300px;
    transition: transform 0.35s var(--ease-smooth);
    position: relative;
    /* Glass Effect */
    background: var(--glass-bg);
    border: var(--glass-border);
    border-radius: 20px;
    padding: 20px;
    box-shadow: var(--shadow-soft);
}

/* Radial Halo */
.ingredient-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(255, 0, 51, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
    z-index: 0;
}

.ingredient-item:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 0, 51, 0.3);
    box-shadow: var(--shadow-soft), var(--shadow-glow-red);
}

.ingredient-item:hover::before {
    opacity: 1;
}

/* Visually hide title but keep for SEO/Accessibility */
.ingredient-item h4 {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Fallback for no backdrop-filter */
@supports not (backdrop-filter: blur(1px)) {
    .ingredient-item {
        background: rgba(20, 20, 20, 0.9);
    }
}

.ingredient-img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    background: transparent;
    margin: 0 auto;
    border: none;
    overflow: hidden;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s var(--ease-pop);
    z-index: 1;
}

.ingredient-item:hover .ingredient-img {
    transform: scale(1.06) rotate(1deg);
}

.ingredient-img img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Kit Card */
.kit-card {
    background: transparent;
    border-radius: 20px;
    padding: 0;
    text-align: center;
    position: relative;
    border: none;
    transition: 0.4s;
    overflow: hidden;
    cursor: pointer;
}

.kit-card.featured {
    border: none;
    transform: scale(1.05);
    background: transparent;
    z-index: 2;
}

.kit-card:hover {
    transform: translateY(-8px);
    filter: drop-shadow(0 15px 30px rgba(255, 0, 51, 0.3));
}

.kit-card.featured:hover {
    transform: translateY(-8px) scale(1.05);
}

.kit-img {
    width: 100%;
    height: auto;
    margin: 0;
    object-fit: contain;
    display: block;
    border-radius: 20px;
}

.kit-price {
    font-size: 2rem;
    font-weight: 900;
    color: var(--color-neon-red);
    margin: 20px 0;
}

.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-gold);
    color: #000;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
    text-transform: uppercase;
}

/* Guarantee Badge */
.guarantee-badge {
    width: 150px;
    margin: 0 auto 20px;
}

/* Accordion */
.accordion {
    max-width: 800px;
    margin: 40px auto 0;
}

.accordion-item {
    border-bottom: 1px solid #333;
    margin-bottom: 10px;
}

.accordion-header {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    transition: 0.3s;
}

.accordion-header:hover {
    background: rgba(255, 255, 255, 0.05);
}

.accordion-header h4 {
    font-size: 1.1rem;
    margin: 0;
    text-transform: none;
}

.accordion-icon {
    transition: 0.3s;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 20px;
    background: rgba(0, 0, 0, 0.3);
}

.accordion-content p {
    padding: 20px 0;
    color: #aaa;
}

.active .accordion-content {
    max-height: 200px;
}

.active .accordion-icon {
    transform: rotate(180deg);
    color: var(--color-neon-red);
}

/* Footer Styling */
.footer-links h4 {
    margin-bottom: 20px;
    color: var(--color-white);
}

.footer-links ul,
.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 10px;
}

.footer-links a {
    transition: 0.3s;
    color: #bbb;
}

.footer-links a:hover {
    color: var(--color-neon-red);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #111;
}

.footer-img {
    max-width: 220px;
    width: 100%;
    filter: drop-shadow(0 0 10px rgba(255, 0, 51, 0.3));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.footer-img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 20px rgba(255, 0, 51, 0.6));
}

.footer-col {
    color: #ccc;
}

.footer-logo {
    max-width: 180px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(255, 0, 51, 0.4));
}

.footer-about {
    line-height: 1.6;
    font-size: 0.95rem;
}

.footer-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--color-white);
    text-transform: uppercase;
}

.footer-company {
    font-size: 0.95rem;
    margin-top: 10px;
    line-height: 1.5;
}

.footer-bottom {
    font-size: 0.9rem;
    color: #666;
}

/* Popup Components */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.popup-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.popup-container {
    position: relative;
    background: rgba(20, 5, 5, 0.95);
    border: 1px solid rgba(255, 0, 51, 0.3);
    padding: 40px;
    width: 90%;
    max-width: 450px;
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(255, 0, 51, 0.4);
    opacity: 0;
    transform: translateY(50px) scale(0.9);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.popup-container.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.popup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    transition: 0.3s;
}

.popup-close:hover {
    color: var(--color-neon-red);
}

.popup-title {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 10px;
    background: linear-gradient(to right, #fff, var(--color-neon-red));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.popup-sub {
    text-align: center;
    margin-bottom: 25px;
    color: #ccc;
    font-size: 1rem;
}

.popup-fields {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.popup-input {
    padding: 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 0, 51, 0.3);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 1rem;
    font-family: var(--font-main);
}

.popup-input:focus {
    border-color: var(--color-neon-red);
    outline: none;
    box-shadow: 0 0 10px rgba(255, 0, 51, 0.3);
}

.popup-check {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ccc;
    font-size: 0.9rem;
    margin: 10px 0;
}

.popup-btn {
    width: 100%;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .hero-features {
        display: inline-block;
        text-align: left;
    }

    .kit-card.featured:hover {
        transform: translateY(-10px);
    }

    .popup-container {
        padding: 30px 20px;
    }

    .popup-title {
        font-size: 1.5rem;
    }
}

/* Marquee Carousel */
.marquee-container {
    width: 90%;
    margin: 40px auto;
    overflow: hidden;
    position: relative;
    /* Fade edges */
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-content {
    display: flex;
    gap: 20px;
    width: max-content;
    /* Important: must contain duplicated content for seamless loop */
    animation: marquee-scroll 40s linear infinite;
}

.marquee-item {
    flex: 0 0 auto;
    width: 250px;
    /* Adjust based on preferred print size */
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 0, 51, 0.2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.marquee-item:hover {
    transform: scale(1.05);
    border-color: var(--color-neon-red);
    z-index: 10;
}

.marquee-item img {
    width: 100%;
    height: auto;
    display: block;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }

    /* Move half the width because content is duplicated */
}

/* Pause on hover */

/* Sticky Mobile CTA */
.mobile-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9990;
    /* High but below popup overlays */
    padding: 15px 20px;
    padding-bottom: max(15px, env(safe-area-inset-bottom));
    /* iOS Safe Area */
    background: rgba(10, 5, 5, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 0, 51, 0.3);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.8);
    transform: translateY(110%);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    justify-content: center;
    align-items: center;
}

.mobile-sticky-cta.visible {
    transform: translateY(0);
}

/* Hide on Desktop */
@media (min-width: 769px) {
    .mobile-sticky-cta {
        display: none !important;
    }
}

/* Hero Logo */
.hero-logo {
    display: block;
    max-width: 200px;
    height: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 15px rgba(255, 0, 51, 0.4));
    transition: transform 0.3s ease;
}

.hero-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 25px rgba(255, 0, 51, 0.7));
}

@media (max-width: 768px) {
    .hero-logo {
        max-width: 150px;
        margin: 0 auto 20px;
    }
}

/* Bonus Section / Lead Capture */
.leadmag-section {
    position: relative;
    padding: 60px 0;
}

.leadmag-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    max-width: 900px;
    margin: 40px auto 0;
}

/* Mockups */
.leadmag-mockups {
    display: flex;
    justify-content: center;
    position: relative;
}

.ebook-mock {
    width: 160px;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
}

.ebook-mock:first-child {
    transform: rotate(-5deg) translateX(20px);
    z-index: 1;
}

.ebook-mock:last-child {
    transform: rotate(5deg) translateX(-20px);
    z-index: 2;
}

.ebook-mock:hover {
    transform: scale(1.05) rotate(0);
    z-index: 10;
}

.ebook-mock img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    display: block;
}

/* Content & Form */
.leadmag-content {
    background: rgba(20, 5, 5, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: var(--glass-border);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

/* Fallback */
@supports not (backdrop-filter: blur(1px)) {
    .leadmag-content {
        background: rgba(10, 5, 5, 0.95);
    }
}

.leadmag-bullets {
    list-style: none;
    margin-bottom: 25px;
    padding: 0;
}

.leadmag-bullets li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    color: #ddd;
    font-size: 0.95rem;
}

.leadmag-bullets li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-neon-red);
    font-weight: bold;
}

.leadmag-input {
    width: 100%;
    padding: 14px;
    margin-bottom: 12px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 0.95rem;
    transition: 0.3s;
}

.leadmag-input:focus {
    border-color: var(--color-neon-red);
    outline: none;
    box-shadow: 0 0 10px rgba(255, 0, 51, 0.2);
}

.leadmag-consent {
    display: flex;
    gap: 10px;
    font-size: 0.8rem;
    color: #aaa;
    align-items: flex-start;
    line-height: 1.4;
    cursor: pointer;
}

.leadmag-consent input {
    margin-top: 3px;
    cursor: pointer;
}

.leadmag-micro {
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: center;
    color: #666;
    font-size: 0.75rem;
    margin-top: 15px;
}

@media (max-width: 768px) {
    .leadmag-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .ebook-mock {
        width: 130px;
    }

    .leadmag-content {
        padding: 20px;
    }
}