/* Twinstarz SUPER FAST Liquid Detergent Landing Page CSS */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #0F4C81;
    --primary-rgb: 15, 76, 129;
    --secondary: #1E5FAF;
    --secondary-rgb: 30, 95, 175;
    --accent: #EAB308;
    --dark-blue: #0b192c;
    --light-bg: #F8FAFC;
    --white: #ffffff;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --shadow-soft: 0 10px 30px rgba(15, 76, 129, 0.05);
    --shadow-premium: 0 20px 40px rgba(15, 76, 129, 0.1);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Outfit', sans-serif;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--light-bg);
    color: var(--text-main);
    overflow-x: hidden;
    position: relative;
}

/* Copy Protection Helper */
img {
    -webkit-user-drag: none;
    user-drag: none;
}



/* Header/Branding */
header.site-header {
    width: 100%;
    padding: 24px 5%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 10;
}

.brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--dark-blue);
}

.brand span.drop {
    display: inline-block;
    font-size: 2.2rem;
    animation: wavePulse 3s ease-in-out infinite;
}

@keyframes wavePulse {
    0%, 100% { transform: scale(1) translateY(0); }
    50% { transform: scale(1.1) translateY(-4px); }
}

/* Main Landing Container */
main {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px 80px 20px;
}

/* Hero Section (Section 1) */
.hero {
    text-align: center;
    margin-bottom: 25px;
}

/* Promotional Banner */
.promo-banner {
    background-color: var(--primary);
    color: var(--white);
    max-width: 900px;
    margin: 0 auto 20px auto;
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 1.15rem;
    font-weight: 700;
    text-align: center;
    box-shadow: 0 4px 15px rgba(15, 76, 129, 0.15);
    animation: fadeInBanner 0.8s ease-out;
}

@keyframes fadeInBanner {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h1.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--dark-blue);
    margin: 15px 0 15px 0;
    letter-spacing: -0.5px;
}

h1.hero-title span.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

p.hero-desc {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 35px auto;
    line-height: 1.6;
    font-weight: 400;
}

/* Video Wrapper & Custom Player */
.video-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 24px;
    background: #000;
    position: relative;
    box-shadow: var(--shadow-premium);
    overflow: hidden;
    aspect-ratio: 16/9;
    border: 4px solid var(--white);
}

video#product-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Custom Video Player Controls Bar (Pill-shaped, Bottom-Left, Auto-hiding) */
.video-controls-bar {
    position: absolute;
    bottom: 18px;
    left: 18px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    padding: 6px 10px;
    background: rgba(11, 25, 44, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 30px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    z-index: 8;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.3s ease;
}

.video-controls-bar.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(6px);
}

.ctrl-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    outline: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.ctrl-btn.btn-play-pause {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #0072ff 0%, #00c6ff 100%);
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 14px rgba(0, 114, 255, 0.45);
}

.ctrl-btn.btn-rewind {
    flex-direction: column;
    gap: 0px;
}

.ctrl-btn .btn-icon {
    font-size: 0.95rem;
    line-height: 1;
}

.ctrl-btn.btn-play-pause .btn-icon {
    font-size: 1.15rem;
    margin-left: 2px;
}

.ctrl-btn .btn-label {
    font-size: 0.52rem;
    font-weight: 800;
    margin-top: -1px;
    letter-spacing: 0.3px;
}

/* Hover Lift & Accent Glow */
.ctrl-btn:hover {
    transform: translateY(-2px) scale(1.06);
    background: rgba(0, 114, 255, 0.35);
    border-color: #00c6ff;
    box-shadow: 0 0 12px rgba(0, 198, 255, 0.5), 0 6px 12px rgba(0, 0, 0, 0.3);
}

.ctrl-btn.btn-play-pause:hover {
    background: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%);
    box-shadow: 0 0 16px rgba(0, 198, 255, 0.7), 0 6px 16px rgba(0, 114, 255, 0.5);
}

.ctrl-btn:active {
    transform: translateY(0) scale(0.95);
}

/* Tooltip on hover */
.ctrl-btn::after {
    content: attr(title);
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: rgba(0, 0, 0, 0.9);
    color: #ffffff;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.ctrl-btn:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Responsive sizes for Mobile & Tablet */
@media (max-width: 768px) {
    .video-controls-bar {
        bottom: 16px;
        left: 16px;
        padding: 5px 8px;
        gap: 8px;
        border-radius: 26px;
    }

    .ctrl-btn {
        width: 42px;
        height: 42px;
    }

    .ctrl-btn.btn-play-pause {
        width: 46px;
        height: 46px;
    }

    .ctrl-btn .btn-icon {
        font-size: 1.05rem;
    }

    .ctrl-btn.btn-play-pause .btn-icon {
        font-size: 1.25rem;
    }
}

/* Feature Highlights Card (Slides during video playback) */


/* Product Section (Initially Hidden, Revealed After Configured Time e.g. 10:21) */
.revealed-section {
    display: none;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease-out, transform 1s ease-out;
    margin-top: 30px;
    text-align: center;
}

.revealed-section.visible {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.section-divider-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--dark-blue);
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.section-divider-title::after {
    content: '💧';
    position: absolute;
    bottom: -22px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.1rem;
}

/* Product Cards Grid - Redesigned High-Converting Layout */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: stretch;
    max-width: 900px;
    margin: 20px auto;
}

.product-card {
    background: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    padding-bottom: 20px;
}

/* Card hover effects are handled in desktop-only media query */

/* Card Ribbon / Header colored banner */
.card-header-banner {
    background-color: var(--secondary);
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 0;
    width: 100%;
    text-align: center;
    margin-bottom: 12px;
}

/* Highlight POPULAR Pack styling (Center Card) */
.product-card.popular {
    border: 2px solid var(--primary);
    box-shadow: 0 25px 50px rgba(15, 76, 129, 0.18);
    background-color: #fcfdfd;
    transform: scale(1.03);
    z-index: 2;
}

/* Popular hover styles are handled in desktop-only media query */

.product-card.popular .card-header-banner {
    background-color: var(--primary);
    font-weight: 800;
    padding: 12px 0;
    position: relative;
}

/* Arrow ribbon effect below best value */
.product-card.popular .card-header-banner::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 10px 12px 0;
    border-style: solid;
    border-color: var(--primary) transparent transparent;
}

/* Card Content Details */
.pack-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    margin: 8px 0 2px 0;
    text-transform: uppercase;
}

.pack-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.product-image-container {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    position: relative;
}

/* High-Converting Checkmark Badges */
.badge-pill-container {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 0 10px;
    margin-bottom: 15px;
}

.badge-pill {
    display: inline-block;
    border: 1px dashed var(--primary);
    background: #f0f7fc;
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 6px;
    margin: 0 auto;
    width: 90%;
    text-align: center;
    text-transform: uppercase;
}

/* Pricing block */
.price-container {
    margin-bottom: 5px;
}

.price {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary);
}

.price-suffix {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Total pricing struck out */
.total-pricing {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-top: 5px;
    font-weight: 600;
}

.total-pricing del {
    color: #94a3b8;
    margin-right: 6px;
}

.total-pricing strong {
    color: #0f172a;
    font-weight: 700;
}

.shipping-info {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 10px 0 15px 0;
    font-weight: 700;
}

/* Gold CTA Button styling */
.btn-buy {
    display: block;
    width: 85%;
    margin: 10px auto 5px auto;
    padding: 12px 20px;
    border: 1px solid #dca700;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    color: #000;
    background: linear-gradient(180deg, #ffdb3b 0%, #f1bc00 100%);
    box-shadow: 0 4px 15px rgba(241, 188, 0, 0.35);
}

.btn-buy:hover {
    transform: scale(1.04);
    box-shadow: 0 6px 20px rgba(241, 188, 0, 0.5);
    background: linear-gradient(180deg, #ffe359 0%, #ffc600 100%);
}

.btn-buy:active {
    transform: scale(0.98);
}

/* Payment Icons Row */
.payment-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 12px 0 16px 0;
}

.payment-icons .payment-img {
    height: auto;
    width: 80%;
    max-width: 240px;
    object-fit: contain;
    display: block;
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.product-card:hover .payment-icons .payment-img {
    opacity: 1;
}

/* FAQ Section removed */

/* Modal Form Styles */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 25, 44, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-card {
    background: var(--white);
    border-radius: 24px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    animation: modalSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

@keyframes modalSlideIn {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 24px 30px;
    color: var(--white);
    position: relative;
}

.modal-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
}

.modal-header p {
    font-size: 0.85rem;
    opacity: 0.9;
    margin-top: 4px;
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.modal-close-btn:hover {
    background: var(--white);
    color: var(--primary);
}

.modal-body {
    padding: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-main);
    letter-spacing: 0.3px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
    color: var(--text-main);
    background-color: #f8fafc;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--primary);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(0, 114, 255, 0.1);
}

.form-group textarea {
    height: 60px;
    resize: none;
}

.btn-submit-pay {
    width: 100%;
    padding: 16px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    border: none;
    border-radius: 12px;
    color: var(--white);
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0, 114, 255, 0.2);
    transition: var(--transition);
    margin-top: 10px;
}

.btn-submit-pay:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(0, 114, 255, 0.3);
}

.form-error {
    background: rgba(231, 76, 60, 0.08);
    border: 1px solid rgba(231, 76, 60, 0.2);
    color: #e74c3c;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    margin-bottom: 15px;
    display: none;
    font-weight: 500;
}

/* Footer Section */
/* Full-Width Footer Section */
footer.site-footer {
    width: 100%;
    max-width: 100vw;
    background-color: var(--primary);
    padding: 30px 5%;
    text-align: center;
    position: relative;
    z-index: 2;
    margin-top: 60px;
}

.footer-buttons-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px 40px;
}

.footer-btn {
    display: inline-block;
    padding: 10px 24px;
    color: var(--white);
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    cursor: pointer;
}

.footer-btn:hover {
    background-color: var(--white);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .footer-buttons-container {
        flex-direction: column;
        gap: 15px;
    }
    .footer-btn {
        width: 80%;
        max-width: 300px;
    }
}


/* Customer Feedback / Welcome Message Section */
.customer-feedback-section {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
    animation: fadeIn 1s ease-out;
}

.feedback-card {
    background: var(--white);
    border: 1px solid rgba(0, 114, 255, 0.08);
    border-radius: 24px;
    padding: 40px 30px;
    box-shadow: var(--shadow-soft);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.feedback-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
}

.feedback-badge {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.stars {
    font-size: 1.6rem;
    color: #f1c40f;
    margin-bottom: 8px;
}

.feedback-users-count {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 25px;
}

.feedback-thanks-title {
    font-size: 1.8rem;
    color: var(--dark-blue);
    margin-bottom: 20px;
}

.feedback-message {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-main);
    margin-bottom: 30px;
}

.feedback-message p {
    margin-bottom: 12px;
}

.highlight-motivation {
    font-weight: 700;
    color: var(--primary);
}

.feedback-closing {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 6px;
}

.feedback-tagline {
    font-size: 1rem;
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 25px;
}

.feedback-team {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 25px;
}

.team-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 12px;
}

.phone-numbers {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.phone-link {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.phone-link:hover {
    color: var(--secondary);
    transform: scale(1.05);
}

/* Single Product Pack Image */
.product-image-container.single-image {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 190px;
    margin-bottom: 25px;
}

.product-image-container.single-image .bundle-img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 12px 20px rgba(15, 76, 129, 0.15));
    transition: var(--transition);
}

/* Image hover scaling is handled in desktop-only media query */


/* RESPONSIVE MEDIA QUERIES */


/* Tablets */
@media (max-width: 992px) {
    h1.hero-title {
        font-size: 2.5rem;
    }
    
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    /* Center the popular card or place them logically */
    .product-card.popular {
        grid-column: span 1;
        transform: scale(1);
    }
    .product-card.popular:hover {
        transform: translateY(-8px);
    }
}

/* Mobile Viewports (Below 768px) Heading Optimization */
@media (max-width: 767px) {
    h1.hero-title {
        font-size: clamp(1.4rem, 6.5vw, 2.1rem);
        line-height: 1.25;
        margin: 10px 0 12px 0;
        letter-spacing: -0.3px;
    }
}

/* Mobile Devices */
@media (max-width: 600px) {
    main {
        padding: 0 10px 40px 10px;
    }
    
    .promo-banner {
        font-size: 0.95rem;
        padding: 10px 14px;
        line-height: 1.4;
        margin: 0 auto 15px auto;
    }
    
    p.hero-desc {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }
    
    .section-divider-title {
        font-size: 1.6rem;
        margin-bottom: 20px;
    }
    
    .section-divider-title::after {
        bottom: -15px;
        font-size: 0.95rem;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 15px auto;
    }
    
    .product-card {
        padding: 20px 15px;
    }
    
    .product-card.popular {
        transform: scale(1);
    }
    
    .product-image-container {
        height: 140px;
        margin-bottom: 12px;
    }

    .badge-pill-container {
        padding: 0 5px;
        margin-bottom: 12px;
    }

    .badge-pill {
        font-size: 0.75rem;
        padding: 4px 8px;
    }

    .price {
        font-size: 2.4rem;
    }

    .btn-buy {
        width: 90%;
        padding: 14px 20px;
        font-size: 1.25rem;
        margin: 8px auto 4px auto;
    }

    .payment-icons {
        margin: 10px 0 12px 0;
    }

    .payment-icons .payment-img {
        max-width: 200px;
    }
    
    .feedback-card {
        padding: 25px 15px;
        border-radius: 16px;
    }

    .feedback-thanks-title {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    .feedback-message {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 20px;
    }

    .feedback-closing {
        font-size: 1.05rem;
    }

    .feedback-tagline {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }

    .feedback-team {
        padding-top: 15px;
    }

    .team-name {
        font-size: 1rem;
        margin-bottom: 8px;
    }

    .phone-numbers {
        gap: 15px;
    }

    .phone-link {
        font-size: 1rem;
    }



    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .form-group.full-width {
        grid-column: span 1;
    }
}

/* Gold CTA Button shine and hover acceleration overrides */
.btn-buy {
    position: relative;
    overflow: hidden;
    transform: translate3d(0, 0, 0);
}

.btn-buy::after {
    content: '';
    position: absolute;
    top: 0;
    left: -60%;
    width: 200%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    opacity: 0;
}

/* Premium Desktop Hover Animation Specifications */
@media (min-width: 992px) {
    /* Base Transition settings for smooth 350ms easing */
    .product-card {
        transition: transform 0.35s ease-in-out, box-shadow 0.35s ease-in-out, border-color 0.35s ease-in-out;
        cursor: pointer;
        will-change: transform, box-shadow, border-color;
    }

    .product-image-container.single-image .bundle-img {
        transition: transform 0.35s ease-in-out, filter 0.35s ease-in-out;
        will-change: transform, filter;
    }

    /* Standard Cards (Starter and Best Value Packs) Hover Actions */
    .product-card:hover {
        transform: translateY(-10px) scale(1.03);
        box-shadow: 0 20px 40px rgba(15, 76, 129, 0.12), 0 15px 25px rgba(15, 76, 129, 0.08);
        border-color: rgba(15, 76, 129, 0.45);
    }

    /* Center Highlight Popular Card Hover Actions (Best Value Card) */
    .product-card.popular:hover {
        transform: translateY(-12px) scale(1.05);
        box-shadow: 0 25px 55px rgba(15, 76, 129, 0.22), 0 15px 30px rgba(15, 76, 129, 0.14);
        border-color: var(--primary);
    }

    /* Image zoom and subtle brightness boost */
    .product-card:hover .product-image-container.single-image .bundle-img {
        transform: scale(1.06);
        filter: drop-shadow(0 12px 25px rgba(15, 76, 129, 0.2)) brightness(1.04);
    }

    /* Button shine sweep and pulse */
    .product-card:hover .btn-buy {
        animation: btnGlowPulse 1.5s infinite ease-in-out;
    }

    .product-card:hover .btn-buy::after {
        animation: btnShineSweep 1.5s infinite ease-in-out;
        opacity: 1;
    }
}

@keyframes btnGlowPulse {
    0% {
        box-shadow: 0 4px 15px rgba(241, 188, 0, 0.35);
    }
    50% {
        box-shadow: 0 4px 25px rgba(241, 188, 0, 0.75);
    }
    100% {
        box-shadow: 0 4px 15px rgba(241, 188, 0, 0.35);
    }
}

@keyframes btnShineSweep {
    0% {
        left: -60%;
    }
    100% {
        left: 140%;
    }
}

/* ==========================================
 * VIDEO OVERLAYS & FLOATING READY-TO-ORDER BUTTON
 * ========================================== */

/* Floating Top Right Button */
.ready-to-order-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    background: #facc15;
    color: #000000;
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    padding: 12px 22px;
    border-radius: 12px;
    border: 2px solid rgba(0, 0, 0, 0.15);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: none;
    text-transform: uppercase;
}

.ready-to-order-btn:hover {
    background: #eab308;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 12px 30px rgba(234, 179, 8, 0.5);
}

.ready-to-order-btn:active {
    transform: translateY(0) scale(0.98);
}

/* Sound CTA Overlay (First-time visitors) */
.video-overlay-sound {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.25);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    cursor: pointer;
    transition: opacity 0.4s ease;
}

.sound-cta-badge {
    background: linear-gradient(135deg, #dcfce7 0%, #facc15 100%);
    border: 3px solid #ffffff;
    border-radius: 60px;
    padding: 16px 36px 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    position: relative;
    animation: floatOverlay 3.5s ease-in-out infinite;
    cursor: pointer;
}

@keyframes floatOverlay {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.play-icon-circle {
    width: 60px;
    height: 60px;
    background: #e11d48;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 6px 16px rgba(225, 29, 72, 0.5);
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.play-arrow {
    color: #ffffff;
    font-size: 1.6rem;
    margin-left: 4px;
}

.pulse-ring {
    position: absolute;
    left: 20px;
    top: 16px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(225, 29, 72, 0.4);
    animation: pulseRing 1.8s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
    z-index: 1;
}

@keyframes pulseRing {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.4); opacity: 0; }
    100% { transform: scale(1.4); opacity: 0; }
}

.sound-cta-text {
    display: flex;
    flex-direction: column;
}

.sound-headline {
    font-size: 1.15rem;
    font-weight: 900;
    color: #000000;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    line-height: 1.2;
}

.sound-subtext {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1e293b;
    margin-top: 2px;
}

.hand-cursor-icon {
    font-size: 1.8rem;
    animation: tapHand 1.5s ease-in-out infinite;
    margin-left: 4px;
}

@keyframes tapHand {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.15) rotate(-10deg); }
}

/* Welcome Back Overlay (Returning visitors - matches Reference Image 1) */
.video-overlay-welcome {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #d90429;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 12;
    padding: 30px 20px;
    text-align: center;
}

.welcome-card {
    max-width: 650px;
    width: 100%;
}

.welcome-title {
    color: #ffffff;
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 30px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.welcome-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-welcome-action {
    background: transparent;
    border: 3px solid #ffffff;
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 40px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.btn-welcome-action:hover {
    background: #ffffff;
    color: #d90429;
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.btn-icon {
    font-size: 1.3rem;
}

/* Responsive adjustments for Video Overlays */
@media (max-width: 768px) {
    .ready-to-order-btn {
        top: 12px;
        right: 12px;
        padding: 10px 16px;
        font-size: 0.8rem;
    }

    .sound-cta-badge {
        padding: 12px 24px 12px 14px;
        border-radius: 50px;
        gap: 10px;
    }

    .play-icon-circle, .pulse-ring {
        width: 48px;
        height: 48px;
    }

    .play-arrow {
        font-size: 1.3rem;
    }

    .sound-headline {
        font-size: 0.95rem;
    }

    .sound-subtext {
        font-size: 0.75rem;
    }

    .hand-cursor-icon {
        font-size: 1.4rem;
    }

    .welcome-title {
        font-size: 1.4rem;
        margin-bottom: 20px;
    }

    .btn-welcome-action {
        padding: 12px 20px;
        font-size: 0.95rem;
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================
 * FLOATING RECENT PURCHASES NOTIFICATION TOAST
 * ========================================== */
.purchase-toast {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9990;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 12px 18px 12px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15), 0 2px 6px rgba(0, 0, 0, 0.05);
    max-width: 320px;
    width: auto;
    opacity: 0;
    transform: translateX(-120%);
    transition: opacity 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
}

.purchase-toast.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.toast-icon-box {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    color: #0284c7;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.8);
}

.toast-details {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.toast-user-info {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
}

.toast-name {
    color: #0f172a;
}

.toast-location {
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
}

.toast-action {
    font-size: 0.82rem;
    font-weight: 700;
    color: #2563eb;
    margin-top: 2px;
}

.toast-verified {
    font-size: 0.72rem;
    font-weight: 800;
    color: #16a34a;
    margin-top: 3px;
    display: flex;
    align-items: center;
    gap: 4px;
    letter-spacing: 0.2px;
}

/* Mobile responsiveness for purchase toast */
@media (max-width: 768px) {
    .purchase-toast {
        bottom: 12px;
        left: 12px;
        padding: 10px 14px;
        max-width: 270px;
        border-radius: 12px;
    }

    .toast-icon-box {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }

    .toast-user-info {
        font-size: 0.82rem;
    }

    .toast-location {
        font-size: 0.72rem;
    }

    .toast-action {
        font-size: 0.76rem;
    }

    .toast-verified {
        font-size: 0.68rem;
    }
}
