/* =========================================
   EZ PEPTIDES - SCIENTIFIC PREMIUM THEME
   ========================================= */

/* --- 1. Variables & Design Tokens --- */
:root {
    /* Colors */
    --ez-primary: #0f172a;
    /* Deep Scientific Navy */
    --ez-primary-light: #1e293b;
    --ez-secondary: #06b6d4;
    /* Electric Teal */
    --ez-secondary-dark: #0891b2;
    --ez-accent: #38bdf8;
    /* Sky Blue */

    --ez-bg: #f8fafc;
    /* Clean Off-White */
    --ez-surface: #ffffff;
    /* Pure White */
    --ez-surface-glass: rgba(255, 255, 255, 0.9);

    --ez-text-main: #334155;
    /* Slate 700 */
    --ez-text-light: #64748b;
    /* Slate 500 */
    --ez-border: #e2e8f0;
    /* Slate 200 */

    /* Typography */
    --font-main: 'Outfit', sans-serif;
    --font-heading: 'Outfit', sans-serif;

    /* Spacing & Layout */
    --container-width: 1280px;
    --header-height: 80px;
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;

    /* Effects */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-glow: 0 0 20px rgba(6, 182, 212, 0.15);

    --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- 2. Reset & Base Styles --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

input,
select,
textarea {
    font-size: 16px;
}

/* Ensure mobile menu stays on top */
.mobile-toggle {
    z-index: 2001;
    position: relative;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--ez-primary);
    /* Changed from --text-color to --ez-primary to match existing theme */
    cursor: pointer;
    padding: 10px;
}

/* Mobile Nav Overlay */
@media (max-width: 768px) {
    .desktop-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 2000;
        /* High z-index to cover everything */
        display: none;
        padding-top: 60px;
        /* Space for header */
    }

    .desktop-nav.active {
        display: flex;
    }

    .desktop-nav ul {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .desktop-nav a {
        font-size: 24px;
        padding: 10px;
        display: block;
    }
}

body {
    font-family: var(--font-main);
    background-color: var(--ez-bg);
    color: var(--ez-text-main);
    line-height: 1.6;
    overflow-x: hidden;
    /* Subtle background mesh pattern */
    background-image:
        radial-gradient(at 0% 0%, rgba(6, 182, 212, 0.05) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(15, 23, 42, 0.03) 0px, transparent 50%);
    background-attachment: fixed;
}

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

ul {
    list-style: none;
}

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

/* --- 3. Typography --- */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--ez-primary);
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

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

/* --- 4. Layout Components --- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--ez-surface-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    height: var(--header-height);
    display: flex;
    align-items: center;
    transition: var(--transition-base);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo a {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--ez-primary);
    letter-spacing: -0.03em;
}

.logo span {
    color: var(--ez-secondary);
}

.desktop-nav ul {
    display: flex;
    gap: 2.5rem;
}

.desktop-nav a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--ez-text-main);
}

.desktop-nav a:hover {
    color: var(--ez-secondary);
}

/* Mobile Menu */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--ez-primary);
    cursor: pointer;
}

/* --- 5. Hero Section --- */
.hero {
    padding: 8rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 10;
}

.hero-tag {
    display: inline-block;
    background: rgba(6, 182, 212, 0.1);
    color: var(--ez-secondary-dark);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(6, 182, 212, 0.2);
}

.hero p {
    font-size: 1.25rem;
    color: var(--ez-text-light);
    margin: 1.5rem 0 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Product Page Layout */
.product-page {
    position: relative;
    z-index: 10;
    /* Fix: Ensure product details sit ABOVE the overlapping hero canvas */
    padding: 2rem 0;
}

.product-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .product-layout {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
}

.product-image-main {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 500px;
    /* Constraint for professional look */
    margin: 0 auto;
    /* Center it if it's smaller than column */
    width: 100%;
    border: 1px solid var(--ez-border);
}

.product-image-main img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 500px;
}

/* --- 6. Products Grid --- */
.products-section {
    padding: 4rem 0 6rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--ez-surface);
    border: 1px solid var(--ez-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    /* Glass Effect */
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: var(--ez-accent);
}

.product-card-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 250px;
    /* Fixed height for uniformity */
    margin-bottom: 1.5rem;
    background: #fff;
    border-radius: var(--radius-md);
    padding: 1rem;
    overflow: hidden;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Ensure uniform look — all vials same size */
    transition: transform 0.5s ease;
}

.product-card:hover .product-card-image img {
    transform: scale(1.05);
    /* Zoom effect */
}

.product-card-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-card-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.product-card-title a {
    color: var(--ez-primary);
    text-decoration: none;
    transition: color 0.2s;
}

.product-card:hover .product-card-title a {
    color: var(--ez-secondary);
}

.product-card-price {
    font-size: 1.25rem;
    color: var(--ez-secondary-dark);
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.product-card-content .btn,
.product-card-content .ez-add-to-cart {
    margin-top: auto;
    width: 100%;
}

/* Out of Stock Styles */
.product-card.out-of-stock {
    opacity: 0.75;
}

.product-card.out-of-stock:hover {
    transform: none;
    box-shadow: var(--glass-premium-shadow);
}

.product-card-image {
    position: relative;
}

.out-of-stock-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #dc2626;
    color: white;
    padding: 0.35rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    z-index: 5;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
}

.low-stock-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #f59e0b;
    color: white;
    padding: 0.35rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    z-index: 5;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.btn-out-of-stock,
.btn[disabled] {
    background: #94a3b8 !important;
    color: #e2e8f0 !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
    pointer-events: none;
}

.btn-out-of-stock:hover,
.btn[disabled]:hover {
    transform: none !important;
    background: #94a3b8 !important;
}

/* Product detail page out of stock */
.product-details .btn-out-of-stock {
    font-size: 1.1rem;
    padding: 1rem 2rem;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    border-color: var(--ez-secondary);
}

.product-image-container {
    padding: 2rem;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 250px;
    position: relative;
}

.product-image {
    max-height: 200px;
    transition: var(--transition-base);
}

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

.product-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--ez-border);
    background: rgba(248, 250, 252, 0.5);
}

.product-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--ez-primary);
}

.product-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ez-secondary-dark);
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    letter-spacing: 0.025em;
    cursor: pointer;
    transition: var(--transition-base);
    border: none;
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--ez-primary);
    color: white;
    box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.3);
}

.btn-primary:hover {
    background: var(--ez-secondary);
    transform: translateY(-1px);
    box-shadow: 0 6px 8px -1px rgba(6, 182, 212, 0.3);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--ez-border);
    color: var(--ez-text-main);
}

.btn-outline:hover {
    border-color: var(--ez-primary);
    color: var(--ez-primary);
}

/* --- 7. Footer --- */
.site-footer,
.footer {
    background: var(--ez-primary);
    color: #fff;
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #94a3b8;
}

.footer-links a:hover {
    color: var(--ez-secondary);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: #64748b;
    font-size: 0.875rem;
}

/* --- 8. Specific Page Styles --- */
/* Contact Form, Calculator, etc., can inherit standard container/btn styles */

/* Disclaimer Banner */
.disclaimer-banner {
    background: var(--ez-primary-light);
    color: #94a3b8;
    text-align: center;
    padding: 0.75rem;
    font-size: 0.875rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* --- 9. Responsiveness --- */
@media (max-width: 768px) {
    :root {
        --header-height: 60px;
    }

    h1 {
        font-size: 2.25rem;
        /* Smaller for mobile */
    }

    h2 {
        font-size: 1.75rem;
    }

    .hero {
        padding: 4rem 0 3rem;
    }

    /* Mobile Menu Overlay */
    .desktop-nav {
        display: none;
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: #ffffff;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        z-index: 900;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        border-top: 1px solid var(--ez-border);
    }

    .desktop-nav.active {
        display: flex;
        animation: slideInMobile 0.3s ease-out;
    }

    .desktop-nav ul {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .desktop-nav a {
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--ez-primary);
    }

    .mobile-toggle {
        display: block;
        font-size: 1.75rem;
        /* Larger touch target */
        padding: 0.5rem;
    }

    .product-grid {
        grid-template-columns: 1fr;
        /* Single column on mobile */
        gap: 1.5rem;
    }

    /* Animation for Menu */
    @keyframes slideInMobile {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

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

/* --- 10. Premium Visual Enhancements (Phase 2) --- */

/* Molecular Background Canvas */
#molecular-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    /* Behind hero content */
    pointer-events: auto;
    /* Allow mouse interaction */
}

.hero {
    position: relative;
    overflow: hidden;
    /* Ensure canvas doesn't overflow */
}

.hero-content {
    position: relative;
    z-index: 1;
    /* Above canvas */
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Refined Glassmorphism (Premium) */
.glass-premium {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
}

/* Product Card Micro-interactions */
.product-card {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.product-card:hover .product-card-title a {
    color: var(--ez-secondary);
}

.product-card-image img {
    transition: transform 0.6s ease;
}

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

/* Typography Refinements */
h1,
h2,
.hero-tag {
    letter-spacing: -0.02em;
    /* Tighter headings for modern look */
}

.hero-tag {
    letter-spacing: 0.05em;
    /* Spaced out tag */
    font-weight: 600;
}

/* =========================================
   EZ PEPTIDES - VISUAL ENHANCEMENTS & MOBILE OPTIMIZATIONS
   ========================================= */

/* --- 1. Enhanced Glassmorphism & Premium Feel --- */
:root {
    --glass-premium-bg: rgba(255, 255, 255, 0.7);
    --glass-premium-border: 1px solid rgba(255, 255, 255, 0.6);
    --glass-premium-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
    --glass-premium-backdrop: blur(12px) saturate(180%);
}

.product-card,
.glass-premium,
.site-header {
    background: var(--glass-premium-bg);
    backdrop-filter: var(--glass-premium-backdrop);
    -webkit-backdrop-filter: var(--glass-premium-backdrop);
    border: var(--glass-premium-border);
    box-shadow: var(--glass-premium-shadow);
}

.product-card:hover {
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 12px 40px 0 rgba(6, 182, 212, 0.15);
    /* Electric Teal Glow */
    border-color: var(--ez-secondary);
}

/* Gradient Text for Headings */
h1,
h2 {
    background: linear-gradient(135deg, var(--ez-primary) 0%, #0f172a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    /* color: transparent;  <-- Optional: can cause accessibility issues if fallback fails. Keeping dark color for now. */
}

.text-gradient {
    background: linear-gradient(135deg, #0f172a 0%, #06b6d4 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* --- 2. Mobile Optimizations --- */

/* Larger Touch Targets */
@media (max-width: 768px) {

    .btn,
    .nav-link,
    .mobile-toggle {
        min-height: 48px;
        /* Accessibility standard */
        min-width: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .footer-links a {
        padding: 0.5rem 0;
        /* Increase spacing between links */
        display: block;
    }

    /* Product Page Layout - Importance Reordering */
    .product-layout {
        display: flex;
        flex-direction: column;
    }

    .product-image-main {
        order: 1;
        margin-bottom: 1.5rem;
    }

    .product-details h1 {
        order: 2;
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }

    .product-price {
        order: 3;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .ez-add-to-cart {
        order: 4;
        width: 100%;
        /* Full width button */
        padding: 1rem;
        margin-bottom: 2rem;
        font-size: 1.1rem;
    }

    .product-description {
        order: 5;
    }
}

/* --- 3. Animation Refinements --- */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.hero-content img,
.product-image-main img {
    animation: float 6s ease-in-out infinite;
}

/* ===== WhatsApp Floating Button ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 10px;
}

.whatsapp-label {
    background: var(--ez-surface, #ffffff);
    color: var(--ez-text-main, #334155);
    padding: 16px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
    box-shadow: var(--shadow-lg, 0 10px 15px -3px rgba(0, 0, 0, 0.1));
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    pointer-events: none;
    white-space: normal;
    width: 280px;
    line-height: 1.5;
    border: 1px solid var(--ez-border, #e2e8f0);
    position: absolute;
    bottom: 75px;
    right: 0;
    text-align: left;
}

.whatsapp-label strong {
    color: var(--ez-secondary-dark, #0891b2);
    display: block;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.whatsapp-float:hover .whatsapp-label {
    opacity: 1;
    transform: translateY(0);
}

.whatsapp-btn {
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-btn svg {
    width: 32px;
    height: 32px;
    fill: white;
}

@media (max-width: 600px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-btn {
        width: 50px;
        height: 50px;
    }

    .whatsapp-btn svg {
        width: 26px;
        height: 26px;
    }

    .whatsapp-label {
        display: none;
    }
}

/* =========================================
   NEW COMPONENT STYLES — OVERHAUL
   ========================================= */

/* --- Footer Grid Layout --- */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: #fff;
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
    letter-spacing: 0.02em;
}

.footer-section p {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.6rem;
}

.footer-section ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 0.9rem;
}

.footer-section ul li a:hover {
    color: var(--ez-secondary);
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* --- Breadcrumb --- */
.breadcrumb {
    padding: 1rem 0;
    font-size: 0.875rem;
    color: var(--ez-text-light);
    position: relative;
    z-index: 10;
}

.breadcrumb a {
    color: var(--ez-secondary-dark);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: var(--ez-secondary);
    text-decoration: underline;
}

.breadcrumb span {
    margin: 0 0.5rem;
    color: var(--ez-text-light);
    opacity: 0.6;
}

/* --- Button Secondary --- */
.btn-secondary {
    background: var(--ez-bg);
    color: var(--ez-primary);
    border: 1px solid var(--ez-border);
}

.btn-secondary:hover {
    background: var(--ez-primary);
    color: white;
    border-color: var(--ez-primary);
}

/* --- Feature Cards with Icons --- */
.feature-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-lg);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px 0 rgba(6, 182, 212, 0.12);
    border-color: var(--ez-secondary);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.25rem;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(56, 189, 248, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(56, 189, 248, 0.2));
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--ez-secondary-dark);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.feature-card h3 {
    color: var(--ez-primary);
    margin-bottom: 0.75rem;
    font-size: 1.15rem;
}

.feature-card p {
    color: var(--ez-text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* --- Trust Indicator Bar --- */
.trust-bar {
    display: flex;
    justify-content: center;
    gap: 3rem;
    padding: 2rem 0;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--ez-text-light);
    font-weight: 500;
}

.trust-item svg {
    width: 20px;
    height: 20px;
    stroke: var(--ez-secondary);
    fill: none;
    stroke-width: 2;
    flex-shrink: 0;
}

.trust-item strong {
    color: var(--ez-primary);
}

/* --- Stats Counter Section --- */
.stats-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--ez-primary) 0%, var(--ez-primary-light) 100%);
    color: white;
    margin-top: 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--ez-secondary);
    margin-bottom: 0.5rem;
    letter-spacing: -0.03em;
}

.stat-item p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --- How It Works Section --- */
.how-it-works {
    padding: 5rem 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
}

.step-card {
    text-align: center;
    padding: 2rem 1.5rem;
    position: relative;
}

.step-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--ez-primary), var(--ez-secondary));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 auto 1.25rem;
}

.step-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--ez-primary);
}

.step-card p {
    font-size: 0.9rem;
    color: var(--ez-text-light);
    line-height: 1.6;
}

/* --- Product Search & Filter --- */
.product-filters {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.search-bar {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.search-bar input {
    width: 100%;
    padding: 0.85rem 1.25rem 0.85rem 3rem;
    border: 2px solid var(--ez-border);
    border-radius: 2rem;
    font-size: 0.95rem;
    font-family: var(--font-main);
    background: var(--ez-surface);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    outline: none;
}

.search-bar input:focus {
    border-color: var(--ez-secondary);
    box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.1);
}

.search-bar svg {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    stroke: var(--ez-text-light);
    fill: none;
    stroke-width: 2;
    pointer-events: none;
}

.filter-pills {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-pill {
    padding: 0.5rem 1.25rem;
    border-radius: 2rem;
    border: 1px solid var(--ez-border);
    background: var(--ez-surface);
    color: var(--ez-text-main);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-main);
}

.filter-pill:hover {
    border-color: var(--ez-secondary);
    color: var(--ez-secondary-dark);
}

.filter-pill.active {
    background: var(--ez-primary);
    color: white;
    border-color: var(--ez-primary);
}

/* --- Quantity Selector --- */
.quantity-selector {
    display: flex;
    align-items: center;
    gap: 0;
    margin: 1rem 0;
    max-width: 140px;
}

.quantity-selector button {
    width: 40px;
    height: 40px;
    border: 2px solid var(--ez-border);
    background: var(--ez-surface);
    color: var(--ez-primary);
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.quantity-selector button:first-child {
    border-radius: var(--radius-md) 0 0 var(--radius-md);
    border-right: none;
}

.quantity-selector button:last-child {
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    border-left: none;
}

.quantity-selector button:hover {
    background: var(--ez-primary);
    color: white;
    border-color: var(--ez-primary);
}

.quantity-selector input {
    width: 50px;
    height: 40px;
    border: 2px solid var(--ez-border);
    border-left: none;
    border-right: none;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-main);
    -moz-appearance: textfield;
    appearance: textfield;
    outline: none;
}

.quantity-selector input::-webkit-outer-spin-button,
.quantity-selector input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* --- Product Variant Styles --- */
.product-variants {
    margin: 1.5rem 0 1rem;
}

.variant-label {
    display: block;
    font-weight: 600;
    color: var(--ez-primary);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.variant-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--ez-border);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-family: var(--font-main);
    background: var(--ez-surface);
    color: var(--ez-text-main);
    cursor: pointer;
    transition: border-color 0.3s;
    outline: none;
}

.variant-select:focus {
    border-color: var(--ez-secondary);
}

/* --- Product Description Styles --- */
.product-description {
    margin: 1.5rem 0;
    line-height: 1.7;
    color: var(--ez-text-main);
}

.product-description ul {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.product-description ul li {
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.product-description ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--ez-secondary);
    font-weight: 700;
}

/* --- Related Products --- */
.related-products {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--ez-border);
}

.related-products h2 {
    margin-bottom: 2rem;
}

/* --- Section Divider --- */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--ez-border), transparent);
    margin: 0;
    border: none;
}

/* --- Additional Mobile Breakpoints --- */
@media (min-width: 481px) and (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

@media (max-width: 480px) {
    .trust-bar {
        gap: 1rem;
        flex-direction: column;
        align-items: center;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .stat-item h3 {
        font-size: 2rem;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 3rem 0 2rem;
    }

    .hero h1 {
        font-size: 1.85rem;
    }

    .hero p {
        font-size: 1rem;
    }
}

/* Prevent WhatsApp overlap with footer content */
body {
    padding-bottom: 0;
}

.site-footer {
    padding-bottom: 5rem;
}