@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

:root {
    --color-primary: #1e5c38;
    /* Dark Green from bottle text */
    --color-primary-light: #4ade80;
    /* Mint green accent */
    --color-secondary: #ef4444;
    /* Strawberry red */
    --color-bg-dark: #0f1c15;
    /* Dark forest bg for futuristic feel */
    --color-bg-card: rgba(255, 255, 255, 0.05);
    /* Glass effect */
    --color-text-main: #f0fdf4;
    --color-text-muted: #cbd5e1;
    --blur-strength: 16px;
    --ease-elastic: cubic-bezier(0.68, -0.6, 0.32, 1.6);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--color-bg-dark);
    color: var(--color-text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Background Ambient Glows */
.ambient-light {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s infinite ease-in-out;
}

.glow-1 {
    width: 400px;
    height: 400px;
    background: var(--color-primary);
    top: -100px;
    left: -100px;
}

.glow-2 {
    width: 300px;
    height: 300px;
    background: var(--color-secondary);
    bottom: 10%;
    right: -50px;
    animation-delay: -5s;
}

.glow-3 {
    width: 200px;
    height: 200px;
    background: var(--color-primary-light);
    top: 40%;
    left: 60%;
    animation-delay: -10s;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Glass Card Utility */
.glass-card {
    background: var(--color-bg-card);
    backdrop-filter: blur(var(--blur-strength));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* Typography */
h1,
h2,
h3 {
    line-height: 1.2;
}

.text-gradient {
    background: linear-gradient(135deg, #fff 0%, var(--color-primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Animations */
@keyframes float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    33% {
        transform: translate(30px, -50px);
    }

    66% {
        transform: translate(-20px, 20px);
    }
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.8);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

/* Button Styles */
.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 48px;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    color: #ffffff;
    background: linear-gradient(90deg, var(--color-primary) 0%, #15803d 100%);
    border-radius: 50px;
    box-shadow: 0 0 20px rgba(74, 222, 128, 0.3);
    transition: all 0.3s var(--ease-elastic);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-cta:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 40px rgba(74, 222, 128, 0.5);
}

.btn-cta::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.6s ease-out;
}

.btn-cta:hover::after {
    transform: scale(1);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .btn-cta {
        width: 100%;
    }
}

/* Product Container */
.product-3d-container {
    display: inline-block;
    position: relative;
    z-index: 1;
}

/* Ambient glow behind the flat image to blend borders */
.product-3d-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(30, 92, 56, 0.5) 0%, rgba(15, 28, 21, 0) 70%);
    /* Darker, site-matching green */
    z-index: -1;
    filter: blur(40px);
    border-radius: 40px;
    pointer-events: none;
}

.product-3d-image {
    max-width: 400px;
    /* Bigger size */
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.6));
    transition: transform 0.3s ease;
    border-radius: 40px;
    /* Rounded corners as requested */
}

.product-3d-container:hover .product-3d-image {
    transform: scale(1.02);
}

.probiotic-circle {
    position: absolute;
    top: 50%;
    left: -80px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 4px solid white;
    background: url('https://prodentim.com/assets/images/bacteria-zoom.png') center/cover no-repeat, #b91c1c;
    /* Fallback color */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(-50%);
    z-index: 2;
    overflow: hidden;
}

/* Fallback for image if it fails */
.probiotic-circle::after {
    content: 'Probiotics';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: rgba(150, 50, 50, 0.8);
    font-size: 0.8rem;
    color: white;
    text-align: center;
    position: absolute;
    z-index: -1;
}

@media (max-width: 768px) {
    .probiotic-circle {
        left: -10px;
        top: -40px;
        width: 100px;
        height: 100px;
        transform: none;
    }
}