/* premium.css - Completely Rebuilt UI for High Conversion Modern Fitness Aesthetics */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;700;900&family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-main: #030305;
    --bg-card: #0a0a0e;
    --bg-card-hover: #121218;
    --primary: #2563eb;
    --primary-glow: rgba(37, 99, 235, 0.4);
    --primary-light: #60a5fa;
    --text-light: #f8fafc;
    --text-muted: #94a3b8;
    --border: rgba(255, 255, 255, 0.08);
    --gold: #d4af37;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    background-color: var(--bg-main);
    color: var(--text-light);
    font-family: var(--font-body);
    overflow-x: hidden;
    width: 100%;
    position: relative;
    line-height: 1.6;
    animation: fadeIn 1.2s ease-out forwards;
    -webkit-font-smoothing: antialiased;
}

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

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0; width: 100%;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(3, 3, 5, 0.85);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.logo {
    text-decoration: none;
    font-family: var(--font-heading);
    color: var(--text-light);
    font-size: 1.8rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 2px;
}

.logo-icon { color: var(--primary); }

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

/* MOBILE MENU TOGGLE */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1100;
    padding: 10px;
}
.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-light);
    transition: var(--transition);
}

.nav-link:hover { color: var(--text-light); }

.cart-btn-wrap {
    position: relative;
}

.cart-link {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    display: flex;
    gap: 8px;
    align-items: center;
    font-weight: 600;
}

.cart-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 15px var(--primary-glow);
}

.cart-count {
    background: var(--primary);
    color: white;
    border-radius: 50%;
    width: 20px; height: 20px;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.75rem;
    margin-left: 5px;
}

/* BUTTONS */
.btn-primary {
    background: var(--primary);
    color: white;
    border: none;
    padding: 18px 36px;
    font-size: 1rem;
    font-weight: 700;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    border-radius: 4px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-primary-small {
    background: transparent;
    border: 1px solid var(--primary);
    color: white;
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}
.btn-primary-small:hover {
    background: var(--primary);
    box-shadow: 0 0 15px var(--primary-glow);
}

.btn-text-danger {
    background: transparent;
    border: 1px solid rgba(231, 76, 60, 0.4);
    color: #e74c3c !important;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.3s;
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.btn-text-danger:hover {
    background: #e74c3c;
    color: white !important;
    box-shadow: 0 0 10px rgba(231,76,60,0.5);
    opacity: 1 !important;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--primary-glow);
}

.btn-outline {
    background: transparent;
    color: var(--text-light);
    border: 1px solid var(--border);
    padding: 18px 36px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    border-radius: 4px;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    justify-content: center;
}

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

/* HERO SECTION */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 120px 5% 60px;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.hero-content {
    flex: 0 0 50%;
    max-width: 50%;
    z-index: 10;
    padding-right: 40px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-light);
    border: 1px solid rgba(37, 99, 235, 0.3);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.hero-title .highlight { 
    color: var(--primary);
    text-shadow: 0 0 30px var(--primary-glow);
}

.hero-desc {
    color: var(--text-muted);
    font-size: 1.25rem;
    margin-bottom: 30px;
    line-height: 1.7;
}

/* Bullets styling */
.hero-bullets {
    list-style: none;
    margin-bottom: 40px;
}
.hero-bullets li {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}
.bullet-icon {
    color: var(--primary);
    font-size: 1.2rem;
}

/* Price & CTA Row */
.hero-cta-row {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 35px;
}

.cta-price {
    font-size: 2.8rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--text-light);
}

.hero-actions {
    display: flex;
    gap: 20px;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.trust-badges .div-dot {
    color: var(--border);
}

/* HERO IMAGE COl */
.hero-image {
    flex: 0 0 50%;
    max-width: 50%;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.image-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.4) 0%, rgba(37, 99, 235, 0.4) 50%, transparent 80%);
    filter: blur(80px);
    z-index: -1;
    transform: translateZ(0); /* Hardware accel */
}

.floating-jar {
    max-width: 100%;
    height: auto;
    width: 600px;
    /* Precise geometric crop to frame the white product cylinder from its background */
    clip-path: inset(19.5% 23% 20% 23% round 40px / 12px);
    /* Ultra-realistic silver & blue dramatic lighting */
    filter: drop-shadow(0 30px 60px rgba(0,0,0,0.8)) drop-shadow(0 0 20px rgba(37,99,235,0.4)) contrast(1.15) brightness(1.05);
    animation: spectacularFloat 7s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
    position: relative;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.6s;
    cursor: pointer;
    z-index: 10;
}

.floating-jar:hover {
    animation-play-state: paused;
    transform: scale(1.18) translateY(-25px) rotate(4deg);
    filter: drop-shadow(0 50px 100px rgba(37,99,235,0.8)) drop-shadow(0 0 40px rgba(255,255,255,0.3)) contrast(1.2) brightness(1.15);
}

@keyframes spectacularFloat {
    0%   { transform: translateY(0px) rotate(0deg) scale(1); filter: drop-shadow(0 30px 60px rgba(0,0,0,0.8)) drop-shadow(0 0 20px rgba(37,99,235,0.4)) contrast(1.15) brightness(1.05); }
    50%  { transform: translateY(-30px) rotate(-3deg) scale(1.02); filter: drop-shadow(0 50px 80px rgba(0,0,0,0.9)) drop-shadow(0 0 40px rgba(37,99,235,0.6)) contrast(1.2) brightness(1.1); }
    100% { transform: translateY(0px) rotate(0deg) scale(1); filter: drop-shadow(0 30px 60px rgba(0,0,0,0.8)) drop-shadow(0 0 20px rgba(37,99,235,0.4)) contrast(1.15) brightness(1.05); }
}

/* SECTIONS */
.section { padding: 120px 5%; position: relative; }
.section-header {
    text-align: center;
    margin-bottom: 80px;
}
.section-label {
    color: var(--primary);
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    display: block; margin-bottom: 15px;
}
.section-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    text-transform: uppercase;
}
.section-title span { color: var(--primary); }

/* FEATURES GRID */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 50px 40px;
    border-radius: 12px;
    transition: var(--transition);
}
.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    background: var(--bg-card-hover);
}
.fc-icon {
    font-size: 3rem;
    display: block; margin-bottom: 25px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.feature-card h3 {
    font-size: 1.3rem; margin-bottom: 15px; letter-spacing: 1px; text-transform: uppercase; font-weight: 700;
}
.feature-card p {
    color: var(--text-muted); font-size: 1rem; line-height: 1.7;
}

/* FORMULA SECTION */
.formula-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: flex-start;
}
.formula-panel {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 50px;
    border-radius: 12px;
}
.f-header {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-align: center;
    border-bottom: 2px solid var(--border);
    padding-bottom: 20px;
}
.f-row {
    display: flex;
    justify-content: space-between;
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
}
.f-row:last-child { border-bottom: none; }
.f-name { font-weight: 500; font-size: 1.1rem; }
.f-val { font-weight: 800; color: var(--primary-light); font-size: 1.1rem; }

.formula-accordion {
    display: flex; flex-direction: column; gap: 20px;
}
.acc-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 30px;
    transition: var(--transition);
}
.acc-item:hover {
    border-color: rgba(255,255,255,0.2);
    background: var(--bg-card-hover);
}
.acc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
.acc-name { font-weight: 700; font-size: 1.2rem; text-transform: uppercase; color: white;}
.acc-dose { background: rgba(37,99,235,0.1); color: var(--primary-light); padding: 6px 14px; border-radius: 30px; font-weight: 800; font-size: 0.9rem;}
.acc-body { color: var(--text-muted); line-height: 1.7; font-size: 1rem;}

/* PRODUCT SHOWCASE */
.product-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    background: radial-gradient(circle at 30% center, rgba(37,99,235,0.1) 0%, transparent 70%);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 80px;
    align-items: center;
    margin-top: 50px;
}
.ps-img {
    text-align: center;
    position: relative;
}
.ps-img::before {
    content: '';
    position: absolute;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.3) 0%, rgba(37, 99, 235, 0.3) 50%, transparent 80%);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(60px);
    z-index: 0;
}
.ps-img img {
    max-width: 100%;
    width: 500px;
    clip-path: inset(19.5% 23% 20% 23% round 40px / 12px);
    filter: drop-shadow(0 30px 50px rgba(0,0,0,0.9)) drop-shadow(0 0 20px rgba(37,99,235,0.3)) contrast(1.15) brightness(1.05);
    position: relative;
    z-index: 2;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.6s;
    cursor: grab;
    animation: spectacularFloat 7s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite reverse;
}
.ps-img img:hover {
    transform: scale(1.18) translateY(-25px) rotate(-4deg);
    filter: drop-shadow(0 50px 100px rgba(37,99,235,0.8)) drop-shadow(0 0 40px rgba(255,255,255,0.3)) contrast(1.2) brightness(1.15);
    animation-play-state: paused;
}
.ps-img img:active { cursor: grabbing; }
.ps-info h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 15px;
    line-height: 1.1;
}
.ps-tag { color: var(--primary-light); font-weight: 600; font-size: 1.1rem; margin-bottom: 25px; display: block; text-transform: uppercase; letter-spacing: 2px;}
.ps-desc { color: var(--text-muted); margin-bottom: 35px; font-size: 1.15rem; line-height: 1.7; }
.ps-price {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}
.ps-curr { font-size: 3rem; font-weight: 800; color: var(--text-light); }
.ps-old { font-size: 1.5rem; color: var(--text-muted); text-decoration: line-through; }
.ps-save { background: rgba(46, 204, 113, 0.15); border: 1px solid rgba(46, 204, 113, 0.3); color: #2ecc71; padding: 6px 12px; font-size: 0.85rem; border-radius: 4px; font-weight: 700;}

.ps-features { margin-bottom: 45px; display: grid; gap: 15px; }
.psf-item {
    display: flex; align-items: center; gap: 12px; color: var(--text-light); font-size: 1.05rem; font-weight: 500;
}
.psf-item span { color: var(--primary); font-size: 1.3rem; font-weight: bold;}

/* REVIEWS */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}
.review-card {
    background: var(--bg-card);
    padding: 45px 40px;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: var(--transition);
}
.review-card:hover { border-color: rgba(255,255,255,0.2); transform: translateY(-5px); }
.rc-stars { color: var(--gold); margin-bottom: 25px; font-size: 1.3rem; }
.rc-text { color: var(--text-light); font-size: 1.05rem; font-style: italic; margin-bottom: 30px; line-height: 1.8; opacity: 0.9;}
.rc-author { display: flex; align-items: center; gap: 15px; }
.rc-avatar {
    width: 60px; height: 60px;
    background: #1a1a24;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; color: var(--primary-light); font-size: 1.2rem;
}
.rc-name { font-weight: 700; font-size: 1.1rem; }
.rc-role { font-size: 0.85rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }

/* FOOTER */
.footer {
    padding: 80px 5% 40px;
    border-top: 1px solid var(--border);
    text-align: center;
    background: #000;
}
.footer-logo { font-family: var(--font-heading); font-size: 2rem; font-weight: 900; margin-bottom: 20px; }
.footer-logo span { color: var(--primary); }
.footer-desc { color: var(--text-muted); max-width: 400px; margin: 0 auto 40px; }
.footer-links { display: flex; justify-content: center; gap: 30px; margin-bottom: 40px; }
.footer-links a { color: var(--text-light); text-decoration: none; font-weight: 600; text-transform: uppercase; font-size: 0.9rem; letter-spacing: 1px; transition: 0.3s; }
.footer-links a:hover { color: var(--primary); }
.footer-copy { color: var(--text-muted); font-size: 0.85rem; }

/* MODAL / TOAST NOTIFICATION */
.toast-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--bg-card);
    border: 1px solid var(--primary);
    color: white;
    padding: 20px 30px;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    gap: 15px;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9999;
}
.toast-notification.show {
    transform: translateY(0);
    opacity: 1;
}

/* RESPONSIVE */
@media(max-width: 1024px) {
    .hero-title { font-size: 3rem; }
    .hero-content { padding-right: 20px; }
    .floating-jar { width: 400px; }
    .cta-price { font-size: 2.2rem; }
}
/* RESPONSIVE SYSTEM OVERHAUL */
@media(max-width: 1024px) {
    .hero-title { font-size: 3rem; }
    .hero-content { padding-right: 20px; flex: 0 0 60%; max-width: 60%; }
    .hero-image { flex: 0 0 40%; max-width: 40%; }
    .floating-jar { width: 100%; max-width: 450px; }
}

@media(max-width: 768px) {
    /* Navbar Mobile */
    .menu-toggle { display: flex; order: 3; margin-left: 15px;}
    .nav-links {
        position: fixed;
        top: 0; right: -100%;
        width: 80%; height: 100vh;
        background: #050508;
        flex-direction: column;
        justify-content: center;
        padding: 40px;
        transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
        border-left: 1px solid var(--border);
        z-index: 1099;
    }
    .nav-links.active { right: 0; }
    .nav-link { font-size: 1.2rem; display: block; padding: 15px 0; }
    .nav-right { order: 2; margin-left: auto; }
    .auth-nav { display: none !important; } /* Simplify mobile nav */

    /* Hero Responsive */
    .hero { 
        flex-direction: column; 
        text-align: center; 
        padding: 140px 20px 60px;
        min-height: auto;
        gap: 40px;
    }
    .hero-content, .hero-image {
        flex: 0 0 100%;
        max-width: 100%;
        padding-right: 0;
    }
    .hero-badge { font-size: 0.75rem; }
    .hero-title { font-size: 2.2rem; letter-spacing: 1px; }
    .hero-desc { font-size: 1rem; }
    .hero-bullets {
        text-align: left;
        display: inline-block;
        margin: 0 auto 30px;
        width: 100%;
        max-width: 320px;
    }
    .hero-cta-row {
        flex-direction: column;
        gap: 20px;
    }
    .cta-price { font-size: 2.2rem; }
    .hero-actions { width: 100%; display: flex; flex-direction: column; gap: 15px; }
    .btn-primary, .btn-outline { width: 100% !important; height: auto; min-height: 55px; padding: 15px; font-size: 0.9rem;}
    
    .floating-jar { width: 85%; max-width: 380px; margin: 0 auto; clip-path: none; filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5));}
    .floating-jar:hover { transform: scale(1.05) translateY(-5px); }

    /* Sections */
    .section { padding: 60px 20px; }
    .section-title { font-size: 2rem; }
    
    .formula-layout { grid-template-columns: 1fr; gap: 40px; }
    .formula-panel { padding: 30px 20px; }
    
    .product-showcase { 
        grid-template-columns: 1fr; 
        padding: 40px 20px; 
        text-align: center;
        margin-top: 20px;
        gap: 30px;
    }
    .ps-img { margin-bottom: 20px; }
    .ps-img img { width: 85%; max-width: 320px; clip-path: none;}
    .ps-info h2 { font-size: 2rem; }
    .ps-price { justify-content: center; transform: scale(0.9); }
    .ps-features { text-align: left; max-width: 320px; margin: 0 auto 30px; }
    
    .trust-badges { flex-direction: column; gap: 10px; font-size: 0.75rem; }
    .trust-badges .div-dot { display: none; }

    /* DYNAMIC ANIMATIONS FOR SHOWCASE */
    .fade-in { animation: showcaseFade 1s ease-out forwards; }
    .slide-up { animation: showcaseSlideUp 1s forwards; }
    .zoom-in { animation: showcaseZoom 1.2s forwards; }
    .rotate-in { animation: showcaseRotate 1.5s forwards; }

    @keyframes showcaseFade { from { opacity: 0; } to { opacity: 1; } }
    @keyframes showcaseSlideUp { from { opacity: 0; transform: translateY(50px); } to { opacity: 1; transform: translateY(0); } }
    @keyframes showcaseZoom { from { opacity: 0; transform: scale(0.7); } to { opacity: 1; transform: scale(1); } }
    @keyframes showcaseRotate { from { opacity: 0; transform: rotate(-90deg) scale(0.7); } to { opacity: 1; transform: rotate(0) scale(1); } }
}

@media(max-width: 480px) {
    .hero-title { font-size: 2rem; }
    .logo { font-size: 1.4rem; }
    .section-title { font-size: 1.7rem; }
    .footer { padding: 40px 20px; }
}
