/*
Theme Name: Mega Digi Store Theme
Theme URI: https://megadigistore.com/
Author: Antigravity
Author URI: https://google.com
Description: A premium, modern, animated, and WooCommerce-ready eCommerce theme for Mega Digi Store.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: megadigistore-theme
*/

/* ==========================================================================
   MEGA DIGI STORE - PREMIUM STYLESHEET
   ========================================================================== */

/* 1. CSS VARIABLES & RESET */
:root {
    /* Color Palette */
    --color-primary: #B22222; /* Primary Red */
    --color-primary-rgb: 178, 34, 34;
    --color-grad-1: #C32450;
    --color-grad-2: #C7397F;
    --color-grad-3: #BD55AA;
    --color-grad-4: #A671CE;
    --color-grad-5: #848BE8;
    
    --bg-white: #FFFFFF;
    --bg-ice: #F8F9FC;
    --bg-light: #F2F4F8;
    --bg-dark: #0B0F19;
    --bg-dark-card: #151B2C;
    
    --text-primary: #111827;
    --text-secondary: #4B5563;
    --text-light: #6B7280;
    --text-white: #FFFFFF;
    
    /* Layout & UI Variables */
    --border-color: rgba(0, 0, 0, 0.08);
    --border-color-white: rgba(255, 255, 255, 0.1);
    --glow-shadow: 0 8px 30px rgba(178, 34, 34, 0.15);
    --hover-glow: rgba(178, 34, 34, 0.25);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    
    /* Font Stack */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-heading: 'Poppins', var(--font-primary);
    
    /* System Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-bounce: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Global Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-ice);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

button, input, textarea {
    font-family: inherit;
    outline: none;
    border: none;
}

button {
    cursor: pointer;
    background: none;
}

/* Canvas Particle Background Styling */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}

/* Helper Utilities */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center { text-align: center; }
.hide-mobile { display: inline-flex; }

/* Grid systems */
.products-section, .categories-section, .benefits-section, .experience-section, .affiliate-section, .reviews-section, .cta-section {
    padding: 100px 0;
    position: relative;
}

/* 2. STICKY GLASSMORPHISM HEADER & NAV */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid transparent;
    transition: var(--transition-smooth);
    background: transparent;
}

.main-header.scrolled {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
}

.header-container {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 24px;
    letter-spacing: -0.5px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
}

.logo-accent {
    color: var(--color-primary);
    position: relative;
    margin-right: 2px;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-link {
    font-weight: 500;
    font-size: 15px;
    color: var(--text-secondary);
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-grad-2));
    transition: var(--transition-smooth);
}

.nav-link:hover, .nav-link.active {
    color: var(--color-primary);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* WooCommerce Cart Badge Trigger */
.cart-trigger {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    background: var(--bg-white);
    transition: var(--transition-smooth);
}

.cart-trigger:hover {
    color: var(--color-primary);
    border-color: var(--color-primary);
    box-shadow: 0 4px 12px rgba(178, 34, 34, 0.08);
}

.cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-grad-1));
    color: var(--text-white);
    font-size: 11px;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    box-shadow: 0 2px 8px rgba(178, 34, 34, 0.3);
}

/* Hamburger menu button */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    z-index: 1001;
}

.mobile-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition-smooth);
    transform-origin: left center;
}

/* 3. PREMIUM COMPONENT BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition-bounce);
    letter-spacing: -0.2px;
    text-align: center;
    cursor: pointer;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 14px;
}

.btn-md {
    padding: 14px 28px;
    font-size: 15px;
}

.btn-lg {
    padding: 18px 36px;
    font-size: 16px;
}

.btn-full {
    width: 100%;
    padding: 16px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-grad-2));
    color: var(--text-white);
    box-shadow: 0 4px 20px rgba(178, 34, 34, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(178, 34, 34, 0.35);
}

.btn-outline {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.btn-outline.text-white {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--text-white);
}

.btn-outline.text-white:hover {
    border-color: var(--text-white);
    color: var(--text-white);
    background: rgba(255, 255, 255, 0.05);
}

/* Custom Ripple Effect */
.ripple-effect {
    position: relative;
    overflow: hidden;
}

/* 4. HERO SECTION WITH ANIMATED ORBS */
.hero-section {
    padding: 180px 0 100px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 80% 20%, rgba(253, 242, 242, 0.8) 0%, rgba(255, 255, 255, 0) 50%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.badge-new {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(178, 34, 34, 0.06);
    border: 1px solid rgba(178, 34, 34, 0.12);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-primary);
    border-radius: 50%;
    display: block;
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% { transform: scale(0.9); opacity: 0.6; }
    50% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 8px var(--color-primary); }
    100% { transform: scale(0.9); opacity: 0.6; }
}

.hero-headline {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -2px;
    margin-bottom: 24px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--color-primary), var(--color-grad-2) 30%, var(--color-grad-3) 60%, var(--color-grad-5));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtext {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 580px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 40px;
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
}

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

.stat-num {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
}

.stat-label {
    font-size: 13px;
    color: var(--text-light);
    font-weight: 500;
}

.font-stars {
    color: #FFB800;
    letter-spacing: 1px;
}

/* Floating Ecosystem Visuals (Hero Bottle Variant) */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-mockup {
    width: 90%;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 10;
    transition: transform 0.2s ease-out; /* Parallax speed transition */
}

/* Glowing background blobs */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    opacity: 0.35;
}

.orb-1 {
    width: 250px;
    height: 250px;
    background: var(--color-primary);
    top: 10%;
    right: 10%;
    animation: floatOrb1 15s infinite alternate ease-in-out;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: var(--color-grad-5);
    bottom: 10%;
    left: -10%;
    animation: floatOrb2 18s infinite alternate ease-in-out;
}

@keyframes floatOrb1 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-30px, 40px) scale(1.2); }
}

@keyframes floatOrb2 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(40px, -30px) scale(0.9); }
}

/* Floating dynamic widgets in Hero */
.floating-widget {
    position: absolute;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-md);
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 20;
    transition: transform 0.1s ease-out;
}

.widget-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
}

.bg-gradient-1 { background: linear-gradient(135deg, var(--color-primary), var(--color-grad-1)); }
.bg-gradient-2 { background: linear-gradient(135deg, var(--color-grad-2), var(--color-grad-3)); }
.bg-gradient-3 { background: linear-gradient(135deg, var(--color-grad-4), var(--color-grad-5)); }

.floating-widget h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
}

.floating-widget p {
    font-size: 11px;
    color: var(--text-light);
    font-weight: 500;
}

.widget-1 {
    top: 15%;
    left: -15%;
}

.widget-2 {
    bottom: 20%;
    right: -10%;
}

.widget-3 {
    top: 50%;
    left: 80%;
}

/* Smooth continuous float using CSS keyframes (fallback/base) */
.scroll-float {
    animation: slowFloat 6s infinite ease-in-out alternate;
}

.widget-1.scroll-float { animation-delay: 0.5s; }
.widget-2.scroll-float { animation-delay: 1.5s; }
.widget-3.scroll-float { animation-delay: 2.5s; }

@keyframes slowFloat {
    0% { transform: translateY(0); }
    100% { transform: translateY(-12px); }
}

/* 5. WOOCOMMERCE PRODUCT CARDS & LOOP SECTION */
.section-header {
    margin-bottom: 60px;
}

.section-subtitle {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: inline-block;
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.25;
    letter-spacing: -1px;
}

.section-desc {
    font-size: 16px;
    color: var(--text-secondary);
    margin-top: 12px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Tab filtering */
.filter-controls {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--color-primary);
    color: var(--text-white);
    border-color: var(--color-primary);
    box-shadow: 0 4px 15px rgba(178, 34, 34, 0.15);
}

/* WooCommerce loop container grid */
.woocommerce-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 32px;
    margin-top: 50px;
}

/* Single Product Card */
.product {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    position: relative;
}

.product:hover {
    transform: translateY(-8px);
    box-shadow: var(--glow-shadow);
    border-color: var(--color-primary);
}

.product-image-wrap {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.product-cover {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.product:hover .product-cover {
    transform: scale(1.05);
}

/* Gradient Cover Backgrounds */
.bg-grad-red { background: linear-gradient(135deg, #FDF2F2, #FDE8E8); color: var(--color-primary); }
.bg-grad-purple { background: linear-gradient(135deg, #F3E8FF, #E9D5FF); color: var(--color-grad-4); }
.bg-grad-blue { background: linear-gradient(135deg, #E0F2FE, #BAE6FD); color: var(--color-grad-5); }
.bg-grad-green { background: linear-gradient(135deg, #DCFCE7, #BBF7D0); color: #16A34A; }
.bg-grad-indigo { background: linear-gradient(135deg, #E0E7FF, #C7D2FE); color: #4F46E5; }
.bg-grad-gold { background: linear-gradient(135deg, #FEF3C7, #FDE68A); color: #D97706; }

.cover-svg {
    width: 64px;
    height: 64px;
    opacity: 0.85;
}

/* Sale Badge */
.onsale {
    position: absolute;
    top: 16px;
    left: 16px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-grad-1));
    color: var(--text-white);
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 50px;
    z-index: 5;
    box-shadow: 0 4px 10px rgba(178, 34, 34, 0.2);
}

.product-content {
    padding: 28px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-tag {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.woocommerce-loop-product__title {
    font-family: var(--font-heading);
    font-size: 19px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 8px;
}

.woocommerce-loop-product__title a {
    color: var(--text-primary);
}

.woocommerce-loop-product__title a:hover {
    color: var(--color-primary);
}

.product-rating {
    color: #FFB800;
    font-size: 13px;
    margin-bottom: 14px;
}

.rating-count {
    color: var(--text-light);
    font-weight: 500;
}

.product-brief {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    flex-grow: 1;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    margin-top: auto;
}

.price {
    display: flex;
    flex-direction: column;
}

.price del {
    color: var(--text-light);
    font-size: 13px;
}

.price ins {
    text-decoration: none;
    font-weight: 700;
    font-size: 20px;
    color: var(--text-primary);
}

/* Add to Cart WooCommerce button */
.button.add_to_cart_button {
    background: var(--bg-ice);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 13px;
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    transition: var(--transition-bounce);
    border: 1px solid var(--border-color);
}

.button.add_to_cart_button:hover {
    background: var(--color-primary);
    color: var(--text-white);
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(178, 34, 34, 0.15);
}

/* Category Filter Fade Animation */
.product.fade-out {
    opacity: 0;
    transform: scale(0.95);
    pointer-events: none;
    position: absolute;
    width: 0;
    height: 0;
    padding: 0;
    margin: 0;
    border: none;
    overflow: hidden;
}

/* 6. GLASSMORPHISM CATEGORIES */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 28px;
    margin-top: 50px;
}

.category-card {
    position: relative;
    padding: 40px;
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius-md);
    transition: var(--transition-smooth);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.category-card:hover {
    transform: translateY(-5px);
    border-color: rgba(178, 34, 34, 0.25);
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.03);
}

.category-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background: var(--bg-white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    border: 1px solid var(--border-color);
}

.text-red { color: var(--color-primary); }
.text-purple { color: var(--color-grad-4); }
.text-pink { color: var(--color-grad-2); }
.text-blue { color: var(--color-grad-5); }
.text-indigo { color: #4F46E5; }
.text-gold { color: #D97706; }

.category-card h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.category-card p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.5;
}

.category-link {
    font-weight: 600;
    font-size: 13px;
    color: var(--color-primary);
    margin-top: auto;
}

.category-card:hover .category-link {
    transform: translateX(4px);
}

.category-card .glow-bg {
    position: absolute;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(178, 34, 34, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    top: -50px;
    right: -50px;
    pointer-events: none;
    border-radius: 50%;
    transition: var(--transition-smooth);
}

.category-card:hover .glow-bg {
    transform: scale(1.5);
    background: radial-gradient(circle, rgba(178, 34, 34, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
}

/* 7. WHY CHOOSE US (BENEFITS) */
.benefits-section {
    background-color: var(--bg-white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 32px;
    margin-top: 50px;
}

.benefit-card {
    padding: 32px;
    border-radius: var(--radius-md);
    background-color: var(--bg-ice);
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.benefit-card:hover {
    background-color: var(--bg-white);
    border-color: var(--color-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.benefit-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    margin-bottom: 20px;
}

.benefit-card h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.benefit-card p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* 8. INTERACTIVE PRODUCT EXPERIENCE SECTION */
.experience-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.experience-visual {
    perspective: 1000px;
    display: flex;
    justify-content: center;
}

.interactive-surface-wrap {
    width: 100%;
    max-width: 480px;
}

.interactive-surface {
    background: var(--bg-dark);
    border: 1px solid var(--border-color-white);
    border-radius: var(--radius-md);
    box-shadow: 0 30px 60px rgba(11, 15, 25, 0.25);
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out; /* Smooth JS tilt transition */
}

.surface-header {
    background: rgba(255, 255, 255, 0.05);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px solid var(--border-color-white);
}

.browser-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.browser-dot.red { background-color: var(--color-primary); }
.browser-dot.gold { background-color: #D97706; }
.browser-dot.green { background-color: #16A34A; }

.browser-title {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 600;
    margin-left: 10px;
    letter-spacing: 0.5px;
}

.surface-content {
    padding: 30px;
    color: var(--text-white);
}

.surface-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.surface-stat-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 16px;
    border-radius: var(--radius-sm);
}

.surface-stat-card .label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 4px;
}

.surface-stat-card .value {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--text-white);
}

.chart-illustration {
    height: 140px;
    display: flex;
    align-items: flex-end;
    gap: 12px;
    margin-bottom: 24px;
    background: rgba(255, 255, 255, 0.01);
    padding: 12px;
    border-radius: var(--radius-sm);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.chart-bar {
    flex-grow: 1;
    height: var(--height);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px 4px 0 0;
    transition: var(--transition-smooth);
}

.chart-bar.active {
    background: linear-gradient(to top, var(--color-primary), var(--color-grad-2));
    box-shadow: 0 0 15px rgba(178, 34, 34, 0.4);
}

.surface-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.pulse-indicator {
    width: 6px;
    height: 6px;
    background: #10B981;
    border-radius: 50%;
    box-shadow: 0 0 8px #10B981;
    animation: statusPulse 1.5s infinite;
}

@keyframes statusPulse {
    0% { transform: scale(0.9); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.5; }
}

.exp-checklist {
    list-style: none;
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.exp-checklist li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.check-box {
    width: 24px;
    height: 24px;
    background: rgba(178, 34, 34, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.exp-checklist strong {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.exp-checklist span {
    font-size: 14px;
    color: var(--text-secondary);
}

/* 9. AFFILIATE DEALS SECTION */
.affiliate-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 50px;
    align-items: stretch;
}

.affiliate-promo {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.badge-featured {
    display: inline-flex;
    background: rgba(178, 34, 34, 0.05);
    color: var(--color-primary);
    border: 1px solid rgba(178, 34, 34, 0.1);
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 20px;
    width: max-content;
}

.affiliate-promo h3 {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 12px;
}

.affiliate-promo p {
    font-size: 15px;
    color: var(--text-secondary);
}

.affiliate-mockup {
    margin: 32px 0;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
}

.affiliate-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.deal-card {
    padding: 24px;
    border-radius: var(--radius-md);
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.deal-card:hover {
    transform: translateX(6px);
    border-color: var(--color-primary);
    box-shadow: 0 8px 24px rgba(178, 34, 34, 0.06);
}

.deal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.deal-partner {
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
}

.deal-discount {
    background: linear-gradient(135deg, #16A34A, #15803D);
    color: var(--text-white);
    font-weight: 700;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 50px;
}

.deal-card h4 {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 6px;
}

.deal-card p {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.deal-rating {
    color: #FFB800;
    font-size: 12px;
    margin-bottom: 16px;
}

.deal-rating .rating-txt {
    color: var(--text-light);
    font-weight: 500;
}

.deal-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
}

.deal-pricing {
    font-size: 13px;
    color: var(--text-secondary);
}

.deal-pricing strong {
    font-size: 17px;
    color: var(--text-primary);
}

/* 10. CUSTOMER REVIEWS */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 32px;
    margin-top: 50px;
}

.review-card {
    padding: 36px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.review-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04);
    border-color: var(--color-primary);
}

.review-stars {
    color: #FFB800;
    font-size: 16px;
    margin-bottom: 16px;
}

.review-text {
    font-size: 15px;
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 28px;
    line-height: 1.6;
    flex-grow: 1;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    color: var(--text-white);
}

.review-author h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
}

.review-author p {
    font-size: 12px;
    color: var(--text-light);
}

/* 11. PAYMENT & SECURITY TRUST BAR */
.trust-section {
    background-color: var(--bg-white);
    padding: 60px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.trust-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 24px;
}

.gateways-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    opacity: 0.65;
    margin-bottom: 28px;
}

.gateway-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-light);
}

.gateway-logo svg {
    margin-bottom: 6px;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.trust-badges .badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.trust-badges .badge svg {
    color: #10B981;
}

/* 12. FINAL CALL-TO-ACTION (CTA) */
.cta-section {
    padding: 80px 0 100px 0;
}

.cta-container {
    background: linear-gradient(135deg, var(--bg-dark), #101625);
    border-radius: var(--radius-lg);
    padding: 80px 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.cta-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(178, 34, 34, 0.18) 0%, rgba(0,0,0,0) 70%);
    top: -150px;
    left: 30%;
    pointer-events: none;
    border-radius: 50%;
}

.cta-container .badge-featured {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    margin-left: auto;
    margin-right: auto;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.8vw, 3.2rem);
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 16px;
    letter-spacing: -1.5px;
    line-height: 1.2;
}

.cta-subtext {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.6);
    max-width: 640px;
    margin: 0 auto 36px auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Background floating abstract elements in CTA */
.cta-shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 50%;
}

.cta-shape.shape-1 {
    width: 150px;
    height: 150px;
    top: -50px;
    left: -50px;
}

.cta-shape.shape-2 {
    width: 250px;
    height: 250px;
    bottom: -80px;
    right: -80px;
}

/* 13. DARK PREMIUM FOOTER */
.footer-dark {
    background-color: var(--bg-dark);
    color: rgba(255, 255, 255, 0.6);
    padding: 80px 0 30px 0;
    border-top: 1.5px solid rgba(178, 34, 34, 0.5); /* Primary red gradient border line top */
    font-size: 14px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand .footer-logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 26px;
    color: var(--text-white);
    display: inline-block;
    margin-bottom: 16px;
}

.footer-brand p {
    line-height: 1.6;
    margin-bottom: 24px;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icons a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
}

.social-icons a:hover {
    color: var(--color-primary);
    background: var(--text-white);
    border-color: var(--text-white);
    transform: translateY(-2px);
}

.footer-grid h4 {
    color: var(--text-white);
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-links a:hover {
    color: var(--text-white);
    padding-left: 4px;
}

.footer-newsletter p {
    margin-bottom: 20px;
    line-height: 1.5;
}

.newsletter-form {
    display: flex;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 6px;
    border-radius: var(--radius-md);
}

.newsletter-form input {
    background: transparent;
    border: none;
    color: var(--text-white);
    padding: 10px 14px;
    flex-grow: 1;
    font-size: 14px;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

/* 14. WOOCOMMERCE SIDEBAR CART DRAWER MOCK */
.cart-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(11, 15, 25, 0.4);
    backdrop-filter: blur(4px);
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.cart-drawer-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -450px;
    width: 100%;
    max-width: 450px;
    height: 100vh;
    background-color: var(--bg-white);
    z-index: 2001;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

.cart-drawer.active {
    right: 0;
}

.drawer-header {
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.drawer-header h3 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
}

.close-drawer {
    font-size: 28px;
    color: var(--text-light);
    line-height: 1;
}

.close-drawer:hover {
    color: var(--color-primary);
}

.drawer-body {
    padding: 24px;
    flex-grow: 1;
    overflow-y: auto;
}

.empty-cart-msg {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    color: var(--text-light);
}

.empty-cart-icon {
    margin-bottom: 16px;
    color: var(--border-color);
}

.empty-cart-msg p {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 20px;
}

.cart-items-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Item block in drawer */
.drawer-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.drawer-item-title {
    font-weight: 700;
    font-size: 14px;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.drawer-item-price {
    font-weight: 600;
    font-size: 13px;
    color: var(--color-primary);
}

.remove-item-btn {
    margin-left: auto;
    color: var(--text-light);
    font-size: 12px;
    font-weight: 600;
}

.remove-item-btn:hover {
    color: var(--color-primary);
}

.drawer-footer {
    padding: 24px;
    border-top: 1px solid var(--border-color);
    background: var(--bg-ice);
    display: none; /* Only visible when items present */
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 16px;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.vat-disclaimer {
    font-size: 11px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.drawer-actions {
    display: flex;
    gap: 12px;
}

/* 15. RESPONSIVE LAYOUT INSTRUCTIONS */

@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
        width: 100%;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .experience-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .experience-visual {
        order: 1;
    }
    
    .affiliate-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .hide-mobile {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    /* Responsive Menu Drawer Mobile */
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--bg-white);
        padding: 40px 24px;
        transition: var(--transition-smooth);
        border-top: 1px solid var(--border-color);
        box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        align-items: center;
        gap: 28px;
    }
    
    .nav-link {
        font-size: 18px;
    }
    
    .main-header.nav-open {
        background: var(--bg-white) !important;
    }
    
    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -8px);
    }
    
    .woocommerce-products-grid {
        grid-template-columns: 1fr;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-container {
        padding: 50px 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* 16. ANIMATIONS & SCROLL REVEALS */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.revealed,
.scroll-reveal-left.revealed,
.scroll-reveal-right.revealed {
    opacity: 1;
    transform: translate(0);
}

/* ==========================================================================
   17. STANDARD DIAGRAM LAYOUT STRUCTURE
   ========================================================================== */
.nav-bar-divider {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    z-index: 999;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.nav-bar-divider .nav-menu ul {
    display: flex;
    list-style: none;
    gap: 32px;
    justify-content: center;
}

.theme-main-layout {
    padding-top: 160px;
    padding-bottom: 80px;
    min-height: 80vh;
    position: relative;
    z-index: 10;
}

.main-layout-grid {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 32px;
    align-items: start;
}

@media (max-width: 991px) {
    .main-layout-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .theme-main-layout {
        padding-top: 150px;
    }
}

.left-column {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.theme-page-section {
    background: transparent;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.theme-page-article {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 35px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    position: relative;
    backdrop-filter: blur(10px);
}

.theme-page-article h2 {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--text-primary);
    margin-bottom: 15px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-primary), var(--color-grad-3));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.theme-page-article p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
}

.theme-page-aside {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    position: sticky;
    top: 160px;
}

.sidebar-widget {
    margin-bottom: 30px;
}

.sidebar-widget:last-child {
    margin-bottom: 0;
}

.sidebar-widget h3 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-primary);
    margin-bottom: 18px;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(178, 34, 34, 0.15);
}

.sidebar-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar-links a {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition-smooth);
    display: block;
}

.sidebar-links a:hover {
    color: var(--color-primary);
    transform: translateX(5px);
}

