/* Enhanced Modern CSS for Dr. Dental AI - Teeth Whitening Website */

/* CSS Variables */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --secondary-color: #f59e0b;
    --accent-color: #10b981;
    --success-color: #059669;
    --error-color: #dc2626;
    --warning-color: #d97706;
    --text-primary: #111827;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --background-primary: #ffffff;
    --background-secondary: #f9fafb;
    --background-dark: #111827;
    --border-color: #e5e7eb;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-success: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
    --gradient-gold: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --border-radius: 12px;
    --border-radius-lg: 16px;
    --font-family-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-family-heading: 'Playfair Display', Georgia, serif;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-family-primary);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background-primary);
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

/* Responsive media safety */
img, video, svg, iframe {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Prevent text overflow and ensure proper word breaking */
*, *::before, *::after {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-brand i {
    font-size: 1.75rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
    background-color: rgba(37, 99, 235, 0.1);
}

/* Mobile Navigation Toggle Button */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Hamburger animation when active */
.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Enhanced Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-primary);
    color: white;
    overflow: hidden;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%" r="50%"><stop offset="0%" stop-color="rgba(255,255,255,0.1)"/><stop offset="100%" stop-color="rgba(255,255,255,0)"/></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23a)"/><circle cx="800" cy="300" r="150" fill="url(%23a)"/><circle cx="400" cy="800" r="120" fill="url(%23a)"/></svg>') no-repeat center center/cover;
}

.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.3)"/><circle cx="80" cy="40" r="1" fill="rgba(255,255,255,0.2)"/><circle cx="40" cy="80" r="1" fill="rgba(255,255,255,0.4)"/></svg>') repeat;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    max-width: 600px;
}

.hero-badges {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-badge.primary {
    background: rgba(255, 255, 255, 0.2);
}

.hero-badge.secondary {
    background: rgba(245, 158, 11, 0.2);
    border-color: rgba(245, 158, 11, 0.3);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-benefits {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
}

.benefit-item i {
    color: var(--secondary-color);
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--secondary-color);
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.8;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.cta-primary, .cta-secondary {
    display: inline-flex;
    align-items: center;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1.25rem 2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.cta-primary {
    background: var(--gradient-success);
    color: white;
    box-shadow: var(--shadow-xl);
}

.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-2xl);
}

.cta-primary small {
    font-size: 0.75rem;
    opacity: 0.9;
}

.cta-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.cta-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.hero-trust {
    opacity: 0.9;
}

.trust-text {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.star-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.star-rating i {
    color: var(--secondary-color);
}

.rating-text {
    margin-left: 0.5rem;
    font-size: 0.875rem;
}

/* Enhanced Hero Image */
.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-showcase {
    position: relative;
    max-width: 450px;
    width: 100%;
}

.product-container {
    position: relative;
    background: var(--background-primary);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-2xl);
}

.product-img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

.product-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: var(--gradient-gold);
    opacity: 0.2;
    border-radius: 50%;
    filter: blur(40px);
    z-index: -1;
    animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
    0% { opacity: 0.2; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: 0.4; transform: translate(-50%, -50%) scale(1.1); }
}

.floating-badge {
    position: absolute;
    background: var(--background-primary);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.25rem;
    animation: float 3s ease-in-out infinite;
    z-index: 10;
}

.badge-1 {
    top: 10%;
    left: -10%;
    color: var(--success-color);
    animation-delay: 0s;
}

.badge-2 {
    top: 20%;
    right: -10%;
    color: var(--primary-color);
    animation-delay: 1s;
}

.badge-3 {
    bottom: 20%;
    left: -5%;
    color: var(--secondary-color);
    animation-delay: 2s;
}

.mini-before-after {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--background-primary);
    padding: 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.ba-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.ba-preview {
    display: flex;
    gap: 0.5rem;
}

.ba-before, .ba-after {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.625rem;
    font-weight: 600;
}

.ba-before {
    background: #fef3c7;
    color: #92400e;
}

.ba-after {
    background: #d1fae5;
    color: #047857;
}

/* Trust Indicators */
.trust-indicators {
    padding: 2rem 0;
    background: var(--background-secondary);
}

.trust-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    align-items: center;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-weight: 600;
    justify-content: center;
    padding: 1rem;
    transition: all 0.3s ease;
}

.trust-item:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.trust-item i {
    color: var(--primary-color);
    font-size: 1.25rem;
}

/* Before/After Results Section */
.results-section {
    padding: 5rem 0;
    background: var(--background-primary);
}

/* LIVE Demo Promise Styles */
.live-demo-promise {
    margin-bottom: 4rem;
    opacity: 1;
    visibility: visible;
}

/* AOS Animation Support for Live Demo Promise */
.live-demo-promise.aos-init {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.live-demo-promise.aos-animate {
    opacity: 1;
    transform: translateY(0);
}

.live-demo-promise.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.demo-promise-card {
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    text-align: center;
    box-shadow: var(--shadow-2xl);
    position: relative;
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
}

.demo-promise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%" r="50%"><stop offset="0%" stop-color="rgba(255,255,255,0.1)"/><stop offset="100%" stop-color="rgba(255,255,255,0)"/></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23a)"/><circle cx="800" cy="300" r="150" fill="url(%23a)"/></svg>') no-repeat center center/cover;
    opacity: 0.3;
    z-index: 1;
}

.demo-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: white;
    font-size: 2.5rem;
    position: relative;
    z-index: 2;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: pulse-demo 2s ease-in-out infinite;
}

@keyframes pulse-demo {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 20px rgba(255, 255, 255, 0);
    }
}

.demo-content {
    position: relative;
    z-index: 2;
}

.demo-content h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: white;
}

.demo-text {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-style: italic;
    opacity: 0.95;
}

.demo-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.demo-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.demo-feature:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.demo-feature i {
    color: var(--secondary-color);
    font-size: 1.125rem;
}

.demo-cta {
    margin-top: 2rem;
}

.watch-demo-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 1.25rem 2.5rem;
    border-radius: var(--border-radius-lg);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow-lg);
}

.watch-demo-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(255, 255, 255, 0.5);
}

.watch-demo-btn i {
    font-size: 1.5rem;
    animation: bounce-play 2s ease-in-out infinite;
}

@keyframes bounce-play {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Responsive adjustments for demo promise card */
@media (max-width: 768px) {
    .demo-promise-card {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .demo-content h3 {
        font-size: 1.5rem;
    }
    
    .demo-text {
        font-size: 1.125rem;
    }
    
    .demo-features {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .watch-demo-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .demo-promise-card {
        padding: 1.5rem;
    }
    
    .demo-content h3 {
        font-size: 1.25rem;
    }
    
    .demo-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
}

.before-after-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.ba-card {
    background: var(--background-primary);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.ba-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.ba-image-container {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    cursor: grab;
    user-select: none;
    background: #000;
    border-radius: 8px;
}

.ba-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.ba-image.before {
    z-index: 1;
}

.ba-image.after {
    z-index: 2;
    width: 50%;
    overflow: hidden;
}

.ba-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    user-select: none;
    pointer-events: none;
}

.ba-label {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.ba-divider {
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: var(--primary-color);
    z-index: 3;
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.5);
}

.ba-slider {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: grab;
    z-index: 4;
    border: 2px solid white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.2s ease;
}

.ba-slider:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.ba-slider:active,
.ba-slider.dragging {
    cursor: grabbing;
    transform: translate(-50%, -50%) scale(0.9);
}

.ba-info {
    padding: 1.5rem;
}

.ba-info h4 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.ba-info p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-style: italic;
}

.ba-rating {
    color: var(--secondary-color);
}

.results-guarantee {
    text-align: center;
}

.guarantee-card {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: var(--gradient-success);
    color: white;
    padding: 2rem 3rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    max-width: 600px;
}

.guarantee-icon {
    font-size: 3rem;
    opacity: 0.9;
}

.guarantee-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Enhanced Benefits Section */
.benefits-section {
    padding: 5rem 0;
    background: var(--background-secondary);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: var(--background-primary);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.benefit-card:hover::before {
    transform: scaleX(1);
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
    border-color: rgba(37, 99, 235, 0.2);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.benefit-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.benefit-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.benefit-proof {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--success-color);
    font-weight: 600;
    font-size: 0.875rem;
}

/* Enhanced Ingredients Section */
.ingredients-section {
    padding: 5rem 0;
    background: var(--background-primary);
}

.ingredients-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
}

.ingredient-card {
    display: flex;
    gap: 2rem;
    background: var(--background-primary);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.ingredient-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.ingredient-image {
    flex-shrink: 0;
    width: 150px;
    height: 150px;
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
}

.ingredient-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ingredient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(37, 99, 235, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ingredient-card:hover .ingredient-overlay {
    opacity: 1;
}

.ingredient-content {
    flex: 1;
}

.ingredient-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.ingredient-benefit {
    background: var(--gradient-primary);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}

.ingredient-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.ingredient-proof {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.875rem;
}

/* Scientific Backing Section */
.science-section {
    padding: 5rem 0;
    background: var(--background-secondary);
}

.science-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.study-results {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.study-card {
    background: var(--background-primary);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.study-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.study-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.study-label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.study-detail {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.science-info {
    space-y: 2rem;
}

.research-paper {
    display: flex;
    gap: 1rem;
    background: var(--background-primary);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
}

.paper-icon {
    font-size: 2rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.paper-content h4 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.paper-source {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.paper-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-style: italic;
}

.read-study {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
}

.read-study:hover {
    text-decoration: underline;
}

.certifications h4 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.cert-badges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.cert-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--background-primary);
    padding: 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-primary);
}

.cert-badge i {
    color: var(--success-color);
}

/* Video Testimonials Section */
.video-testimonials-section {
    padding: 5rem 0;
    background: var(--background-primary);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.video-testimonial {
    background: var(--background-primary);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.video-testimonial:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.video-thumbnail {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-button:hover {
    background: var(--primary-dark);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
}

.video-info {
    padding: 1.5rem;
}

.video-info h4 {
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.location {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.rating {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.testimonial-preview {
    color: var(--text-secondary);
    line-height: 1.6;
    font-style: italic;
}

/* Text Testimonials Slider */
.text-testimonials-slider {
    background: var(--background-secondary);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    margin-top: 3rem;
}

.testimonial-slide {
    text-align: center;
}

.testimonial-content {
    max-width: 800px;
    margin: 0 auto;
}

.quote-mark {
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.3;
    margin-bottom: 1rem;
}

.testimonial-content p {
    font-size: 1.25rem;
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 2rem;
    font-style: italic;
}

.customer-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.customer-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.customer-details h4 {
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.customer-details span {
    color: var(--text-light);
    font-size: 0.875rem;
}

.stars {
    color: var(--secondary-color);
    font-size: 1.25rem;
    margin-top: 0.25rem;
}

/* Product Gallery Section */
.product-gallery-section {
    padding: 5rem 0;
    background: var(--background-secondary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.gallery-main {
    position: relative;
}

.main-gallery-img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    cursor: zoom-in;
}

.zoom-indicator {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.gallery-thumbnails {
    display: grid;
    gap: 1rem;
}

.thumbnail {
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.thumbnail.active {
    opacity: 1;
    border-color: var(--primary-color);
}

.thumbnail:hover {
    opacity: 1;
}

.thumbnail img {
    width: 100%;
    height: 80px;
    object-fit: cover;
}

.product-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.detail-card {
    background: var(--background-primary);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.detail-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.detail-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.detail-card h4 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.detail-card p {
    color: var(--text-secondary);
}

.detail-card small {
    color: var(--text-light);
    font-size: 0.75rem;
}

/* Enhanced Order Section */
.order-section {
    padding: 5rem 0;
    background: var(--background-primary);
}

.order-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.product-summary {
    position: sticky;
    top: 100px;
}

.product-card {
    background: var(--background-secondary);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
}

.product-card img {
    width: 100%;
    max-width: 200px;
    height: auto;
    margin-bottom: 1.5rem;
    border-radius: var(--border-radius);
}

.product-info h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.feature-tag {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.pricing {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.old-price {
    text-decoration: line-through;
    color: var(--text-light);
    font-size: 1rem;
}

.current-price {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--success-color);
}

.discount {
    background: var(--error-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.free-shipping {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--success-color);
    font-weight: 600;
    background: rgba(16, 185, 129, 0.1);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
}

.guarantees {
    background: var(--background-primary);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.guarantee-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.guarantee-item:last-child {
    border-bottom: none;
}

.guarantee-item i {
    color: var(--success-color);
    font-size: 1.25rem;
}

.guarantee-item span {
    color: var(--text-primary);
    font-weight: 500;
}

/* Enhanced Order Form */
.order-form-container {
    background: var(--background-secondary);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-header h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.form-header p {
    color: var(--text-secondary);
}

.enhanced-order-form .form-group {
    margin-bottom: 1.5rem;
}

.enhanced-order-form label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.enhanced-order-form label i {
    color: var(--primary-color);
}

.enhanced-order-form input,
.enhanced-order-form select,
.enhanced-order-form textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--background-primary);
}

.enhanced-order-form input:focus,
.enhanced-order-form select:focus,
.enhanced-order-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.order-total {
    background: var(--background-primary);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
    border: 2px solid var(--border-color);
}

.total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.total-row.final-total {
    border-top: 2px solid var(--border-color);
    padding-top: 1rem;
    margin-top: 1rem;
    font-weight: 700;
    font-size: 1.25rem;
}

.free {
    color: var(--success-color);
    font-weight: 600;
}

.submit-btn {
    width: 100%;
    background: var(--gradient-success);
    color: white;
    border: none;
    padding: 1.5rem;
    border-radius: var(--border-radius-lg);
    font-size: 1.125rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    box-shadow: var(--shadow-lg);
    margin-bottom: 1rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.submit-btn small {
    font-size: 0.75rem;
    opacity: 0.9;
}

.payment-methods {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.methods {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.methods i {
    font-size: 1.5rem;
    color: var(--text-light);
}

/* Success and Error Messages */
.success-message {
    text-align: center;
    background: var(--gradient-success);
    color: white;
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.success-message h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.order-summary {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-top: 2rem;
    text-align: left;
}

.error-messages {
    background: var(--error-color);
    color: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.error-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.error-messages ul {
    list-style: none;
}

.error-messages li {
    margin-bottom: 0.5rem;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-badge {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Enhanced Footer */
.footer {
    background: var(--background-dark);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.footer-logo i {
    font-size: 1.75rem;
    color: var(--primary-color);
}

.brand-info p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link.facebook { background: #1877f2; }
.social-link.instagram { background: #E4405F; }
.social-link.whatsapp { background: #25D366; }
.social-link.youtube { background: #FF0000; }

.social-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
    font-size: 1.125rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.contact-info {
    space-y: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.contact-item i {
    color: var(--primary-color);
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
}

.certifications {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cert {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    /* Strict overflow control */
    body, html {
        max-width: 100vw;
        overflow-x: hidden !important;
    }
    
    .container {
        padding: 0 16px;
        max-width: 100%;
    }
    
    /* Ensure all sections stay within viewport */
    section, div, header, footer {
        max-width: 100vw;
    }
    
    .video-testimonials-section{
        display: none;
    }

    /* Prevent off-canvas elements from causing horizontal scroll */
    .floating-badge,
    .mini-before-after {
        display: none;
    }
    .product-glow {
        width: 100%;
        height: 100%;
    }
    
    /* Grid safety - prevent grid blowouts */
    .benefits-grid,
    .before-after-gallery,
    .ingredients-showcase {
        grid-template-columns: 1fr !important;
    }
    
    /* Ensure product showcase stays within bounds */
    .product-showcase {
        max-width: 100%;
        padding: 0;
    }
    
    .product-container {
        margin: 0;
        max-width: 100%;
    }

    /* Hero section mobile fixes */
    .hero {
        padding-left: 0;
        padding-right: 0;
        width: 100%;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        padding: 0;
        width: 100%;
    }
    
    .hero-title {
        font-size: 2.5rem;
        word-break: break-word;
    }
    
    .hero-description {
        word-break: break-word;
    }
    
    .hero-stats {
        justify-content: center;
        display: none;
    }
    
    .hero-benefits {
        justify-content: center;
        flex-wrap: wrap;
        display: none;
    }
    
    .trust-logos {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .before-after-gallery {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .ingredients-showcase {
        grid-template-columns: 1fr;
    }
    
    .ingredient-card {
        flex-direction: column;
        text-align: center;
    }
    
    .science-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .study-results {
        grid-template-columns: 1fr;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .order-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    /* Mobile Navigation */
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--background-primary);
        flex-direction: column;
        align-items: flex-start;
        padding: 0;
        box-shadow: var(--shadow-lg);
        z-index: 999;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
        opacity: 0;
        visibility: hidden;
        gap: 0;
    }
    
    .nav-menu.active {
        max-height: 600px;
        opacity: 1;
        visibility: visible;
    }
    
    .nav-link {
        width: 100%;
        padding: 1rem 2rem;
        border-radius: 0;
        border-bottom: 1px solid var(--border-color);
        text-align: left;
        display: block;
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    .nav-link:hover {
        background-color: rgba(37, 99, 235, 0.05);
    }
    
    .nav-toggle {
        display: flex;
    }
}

@media (max-width: 480px) {
    /* Extra small devices */
    body, html {
        max-width: 100vw;
        overflow-x: hidden !important;
    }
    
    .container {
        padding: 0 12px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-badges {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-primary,
    .cta-secondary {
        width: 100%;
        max-width: 300px;
    }
    
    /* Force all grids to single column */
    [class*="grid"],
    [class*="-grid"] {
        grid-template-columns: 1fr !important;
    }
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Smooth Animations */
.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--background-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Hero Form adjustments in mobile responsive */
@media (max-width: 768px) {
    .hero .order-form-container {
        margin-top: 2rem;
        padding: 2rem;
    }
    .hero-text{
        display: none;
    }
}

@media (max-width: 480px) {
    .hero .order-form-container {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }
}

/* Selection Styling */
::selection {
    background: var(--primary-color);
    color: white;
}

::-moz-selection {
    background: var(--primary-color);
    color: white;
}
