/* 
   RJ Luxe Dental â€” Premium Redesign
   Dark luxury, animated hero, scroll-reveal, glassmorphism
*/

/* ============================================
   CUSTOM FONTS
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Color Palette â€” Deep Luxury */
    --primary-color: #c9a96e;
    /* Rich Gold */
    --primary-dark: #8a6d3b;
    /* Dark Gold */
    --primary-light: #f7f0e3;
    /* Warm Cream */
    --accent-color: #e8c98a;
    /* Light Gold */

    /* Dark luxury backgrounds */
    --dark-bg: #0d0a07;
    /* Near-black warm */
    --dark-surface: #16120d;
    /* Dark surface */
    --dark-card: #1e1811;
    /* Card background */
    --dark-border: rgba(201, 169, 110, 0.15);
    /* Gold border */

    /* Light section backgrounds */
    --light-bg: #faf8f4;
    --bg-white: #ffffff;

    /* Text colors */
    --text-white: #f5f0e8;
    --text-gold: #c9a96e;
    --text-muted-dark: rgba(245, 240, 232, 0.6);
    --text-main: #1a140c;
    --text-muted: #7c6c59;

    /* Gradients */
    --gradient-gold: linear-gradient(135deg, #c9a96e 0%, #e8c98a 50%, #c9a96e 100%);
    --gradient-dark: linear-gradient(135deg, #0d0a07 0%, #1e1811 100%);
    --gradient-hero: linear-gradient(135deg, #0d0a07 0%, #160e06 60%, #1e1409 100%);
    --gradient-light: linear-gradient(135deg, #faf8f4 0%, #f7f0e3 100%);
    --gradient-card: linear-gradient(145deg, #1e1811 0%, #251d12 100%);

    /* Glow effects */
    --glow-gold: 0 0 40px rgba(201, 169, 110, 0.3);
    --glow-gold-sm: 0 0 20px rgba(201, 169, 110, 0.2);

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.25);
    --shadow-md: 0 4px 16px -2px rgb(0 0 0 / 0.3);
    --shadow-lg: 0 12px 40px -4px rgb(0 0 0 / 0.4);
    --shadow-hover: 0 24px 48px -8px rgb(0 0 0 / 0.5);

    /* Transitions */
    --transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    --transition-slow: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    --transition-tilt: transform 0.15s ease-out;

    /* Typography */
    --font-main: 'Outfit', sans-serif;
    --font-serif: 'Cormorant Garamond', serif;

    /* Border radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
}

/* ============================================
   RESET & BASE
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-main);
    background-color: var(--light-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
}

/* AEO: Screen-reader / AI-crawler visible utility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* 3D Service Card Lift */
.service-card {
    transition: var(--transition);
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

.service-card:hover {
    transform: translateY(-15px) rotateX(4deg) rotateY(-2deg);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.5), 0 18px 36px -18px rgba(201, 169, 110, 0.3);
}

.service-card h3, 
.service-card .service-icon {
    transform: translateZ(30px);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

/* ============================================
   SCROLL-REVEAL ANIMATIONS
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}

/* ============================================
   3D TILT SYSTEM
   ============================================ */
.tilt-wrapper {
    perspective: 1200px;
    transform-style: preserve-3d;
}

.tilt-inner {
    transition: var(--transition-tilt);
    transform-style: preserve-3d;
    will-change: transform;
}

.tilt-inner:hover {
    transition: var(--transition-tilt);
}

/* 3D Content pop-out */
.pop-out-3d {
    transform: translateZ(50px);
}

/* ============================================
   DYNAMIC MESH BACKGROUND
   ============================================ */
.mesh-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
    opacity: 0.4;
    pointer-events: none;
}

.mesh-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    mix-blend-mode: screen;
    animation: meshFlow 20s infinite alternate ease-in-out;
}

@keyframes meshFlow {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); }
    50% { transform: translate(10%, 15%) scale(1.2) rotate(45deg); }
    100% { transform: translate(-5%, -10%) scale(0.9) rotate(-30deg); }
}

/* ============================================
   TYPOGRAPHY ENHANCEMENTS
   ============================================ */
.highlight {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-gold);
    transition: width 0.8s cubic-bezier(0.65, 0, 0.35, 1);
}

.reveal.active .highlight::after {
    width: 100%;
}

.text-shimmer {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    background-size: 200% 100%;
    animation: shimmer 3s infinite;
    -webkit-background-clip: text;
    background-clip: text;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Restoring Stagger Delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

.serif-heading {
    font-family: var(--font-serif);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
    position: relative;
    overflow: hidden;
    font-family: var(--font-main);
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.12);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: inherit;
}

.btn:hover::before {
    opacity: 1;
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.05rem;
}

.btn-primary {
    background: var(--gradient-gold);
    color: #1a140c;
    font-weight: 700;
    box-shadow: 0 4px 24px rgba(201, 169, 110, 0.35);
    letter-spacing: 0.02em;
}

.btn-primary:hover {
    box-shadow: 0 8px 40px rgba(201, 169, 110, 0.55);
    transform: translateY(-5px) scale(1.02);
}

/* Magnetic Button Effect (Approx) */
.btn-magnetic {
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.btn-magnetic:hover {
    transform: translate(var(--mx, 0), var(--my, 0));
}

.btn-secondary {
    background: rgba(201, 169, 110, 0.12);
    color: var(--text-gold);
    border: 1.5px solid var(--dark-border);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: rgba(201, 169, 110, 0.2);
    border-color: rgba(201, 169, 110, 0.4);
    transform: translateY(-5px);
}

.btn-light {
    background: var(--bg-white);
    color: var(--primary-dark);
    font-weight: 700;
}

.btn-light:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(13, 10, 7, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 12px 0;
    border-bottom: 1px solid var(--dark-border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 800;
}

.nav-links {
    display: flex;
    gap: 36px;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    color: rgba(245, 240, 232, 0.75);
    position: relative;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-gold);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1.5px;
    bottom: -4px;
    left: 0;
    background: var(--gradient-gold);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--text-gold);
    background: none;
    border: none;
    cursor: pointer;
}

/* ============================================
   PAGE HEADER (inner pages)
   ============================================ */
.page-header {
    position: relative;
    padding: 160px 0 80px;
    background: var(--gradient-hero);
    text-align: center;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(201, 169, 110, 0.15) 0%, transparent 60%);
}

.page-header h1 {
    font-size: 3rem;
    color: var(--text-white);
    margin-bottom: 16px;
    position: relative;
}

.page-header p {
    font-size: 1.2rem;
    color: var(--text-muted-dark);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

/* ============================================
   HERO SECTION â€” PREMIUM ANIMATED
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    overflow: hidden;
    padding: 120px 0 80px;
}

/* Animated background orbs */
.hero-bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.hero-bg-orb-1 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(201, 169, 110, 0.18) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    animation: orbFloat1 12s ease-in-out infinite;
}

.hero-bg-orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(201, 169, 110, 0.1) 0%, transparent 70%);
    bottom: -150px;
    left: -100px;
    animation: orbFloat2 15s ease-in-out infinite;
}

.hero-bg-orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(232, 201, 138, 0.12) 0%, transparent 70%);
    top: 40%;
    left: 30%;
    animation: orbFloat3 10s ease-in-out infinite;
}

/* Grid overlay for texture */
.hero-grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(201, 169, 110, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201, 169, 110, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 0;
    pointer-events: none;
}

/* Hero container */
.hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Hero text animations */
.hero-content {
    max-width: 600px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px 8px 8px;
    background: rgba(201, 169, 110, 0.1);
    border: 1px solid rgba(201, 169, 110, 0.25);
    color: var(--text-gold);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 28px;
    backdrop-filter: blur(8px);
    animation: fadeSlideDown 0.8s ease both;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-eyebrow-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--gradient-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: #1a140c;
}

.hero-content h1 {
    font-size: clamp(3rem, 5vw, 4.8rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--text-white);
    margin-bottom: 8px;
    animation: fadeSlideUp 0.9s 0.15s ease both;
}

.hero-title-line2 {
    font-family: var(--font-serif);
    font-size: clamp(3.2rem, 5.5vw, 5.2rem);
    font-weight: 600;
    font-style: italic;
    display: block;
    line-height: 1.1;
    margin-bottom: 24px;
    animation: fadeSlideUp 0.9s 0.25s ease both;
}

.hero-content p {
    font-size: 1.15rem;
    color: var(--text-muted-dark);
    margin-bottom: 44px;
    line-height: 1.8;
    max-width: 480px;
    animation: fadeSlideUp 0.9s 0.35s ease both;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 56px;
    flex-wrap: wrap;
    animation: fadeSlideUp 0.9s 0.45s ease both;
}

/* Animated stat bar */
.hero-stats {
    display: flex;
    gap: 40px;
    padding-top: 36px;
    border-top: 1px solid var(--dark-border);
    animation: fadeSlideUp 0.9s 0.55s ease both;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-white);
    display: flex;
    align-items: center;
    gap: 4px;
}

.stat-number .gold {
    color: var(--text-gold);
}

.star-icon {
    color: var(--accent-color);
    font-size: 1.1rem;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted-dark);
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ===== HERO IMAGE SIDE ===== */
.hero-visual {
    position: relative;
    animation: fadeSlideUp 1s 0.3s ease both;
}

.hero-image-frame {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.hero-image-frame::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: var(--gradient-gold);
    border-radius: calc(var(--radius-xl) + 2px);
    z-index: -1;
    opacity: 0.6;
}

.hero-image {
    border-radius: var(--radius-xl);
    object-fit: cover;
    aspect-ratio: 4/5;
    width: 100%;
    display: block;
}

/* Floating glass cards */
.hero-float-card {
    position: absolute;
    background: rgba(30, 24, 17, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.hero-float-card-1 {
    bottom: -20px;
    left: -40px;
    animation: float 7s 0s ease-in-out infinite;
    box-shadow: var(--shadow-lg), var(--glow-gold-sm);
}

.hero-float-card-2 {
    top: 30px;
    right: -30px;
    animation: float 8s 1.5s ease-in-out infinite;
    box-shadow: var(--shadow-lg), var(--glow-gold-sm);
}

.float-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--gradient-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #1a140c;
    flex-shrink: 0;
}

.float-text strong {
    display: block;
    color: var(--text-white);
    font-size: 0.95rem;
    font-weight: 700;
}

.float-text span {
    color: var(--text-muted-dark);
    font-size: 0.78rem;
    display: block;
    margin-top: 2px;
}

/* Decorative corner lines */
.hero-corner-deco {
    position: absolute;
    width: 60px;
    height: 60px;
    border-color: rgba(201, 169, 110, 0.4);
    border-style: solid;
}

.hero-corner-deco-tl {
    top: -8px;
    left: -8px;
    border-width: 2px 0 0 2px;
    border-radius: 4px 0 0 0;
}

.hero-corner-deco-br {
    bottom: -8px;
    right: -8px;
    border-width: 0 2px 2px 0;
    border-radius: 0 0 4px 0;
}

/* Ambient particles */
.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: var(--text-gold);
    opacity: 0;
    animation: particleFloat linear infinite;
}

/* ============================================
   KEYFRAME ANIMATIONS
   ============================================ */
@keyframes fadeSlideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

@keyframes orbFloat1 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(-40px, 30px) scale(1.05);
    }

    66% {
        transform: translate(30px, -20px) scale(0.95);
    }
}

@keyframes orbFloat2 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(50px, -40px) scale(1.08);
    }
}

@keyframes orbFloat3 {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(-30px, 30px);
    }
}

@keyframes particleFloat {
    0% {
        opacity: 0;
        transform: translateY(0) scale(0);
    }

    10% {
        opacity: 0.6;
    }

    90% {
        opacity: 0.2;
    }

    100% {
        opacity: 0;
        transform: translateY(-100vh) scale(0.5);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(201, 169, 110, 0.2);
    }

    50% {
        box-shadow: 0 0 40px rgba(201, 169, 110, 0.45), 0 0 80px rgba(201, 169, 110, 0.15);
    }
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: scale(0.7);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ============================================
   SECTION HEADERS â€” GLOBAL
   ============================================ */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.subtitle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-gold);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
    margin-bottom: 16px;
}

.subtitle::before,
.subtitle::after {
    content: '';
    display: inline-block;
    width: 24px;
    height: 1px;
    background: var(--gradient-gold);
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 16px;
    color: var(--text-main);
    line-height: 1.2;
}

.dark-section .section-header h2 {
    color: var(--text-white);
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
}

.dark-section .section-header p {
    color: var(--text-muted-dark);
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    background-color: var(--bg-white);
    padding: 100px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}

.service-card {
    background: var(--light-bg);
    padding: 40px 36px;
    border-radius: var(--radius-lg);
    transition: var(--transition);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-gold);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: inherit;
    z-index: 0;
}

.service-card>* {
    position: relative;
    z-index: 1;
}

.service-card:hover {
    border-color: rgba(201, 169, 110, 0.25);
    box-shadow: var(--shadow-hover), 0 0 30px rgba(201, 169, 110, 0.1);
    transform: translateY(-6px);
}

.service-icon {
    width: 68px;
    height: 68px;
    border-radius: 20px;
    background: rgba(201, 169, 110, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 24px;
    transition: var(--transition);
    border: 1px solid rgba(201, 169, 110, 0.15);
}

.service-card:hover .service-icon {
    background: var(--gradient-gold);
    color: #1a140c;
    box-shadow: 0 8px 24px rgba(201, 169, 110, 0.3);
}

.service-card h3 {
    font-size: 1.45rem;
    margin-bottom: 14px;
    color: var(--text-main);
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.7;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.03em;
}

.service-link:hover {
    gap: 14px;
    color: var(--primary-dark);
}

/* ============================================
   SMILE GALLERY
   ============================================ */
.smile-gallery {
    padding: 100px 0;
    background: var(--light-bg);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
    margin-top: 40px;
}

.comparison-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background-color: #eee;
    transition: var(--transition);
}

.comparison-slider:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.img-after,
.img-before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.img-before {
    width: 50%;
    border-right: 3px solid rgba(201, 169, 110, 0.8);
}

.slider-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
    z-index: 10;
}

.slider-handle {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: var(--gradient-gold);
    border: 3px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    pointer-events: none;
    z-index: 5;
    color: #1a140c;
    font-size: 16px;
    transition: transform 0.2s ease;
}

.comparison-slider:hover .slider-handle {
    transform: translate(-50%, -50%) scale(1.1);
}

.gallery-label {
    position: absolute;
    top: 16px;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    z-index: 5;
    pointer-events: none;
}

.label-before {
    left: 12px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    backdrop-filter: blur(6px);
}

.label-after {
    right: 12px;
    background: var(--gradient-gold);
    color: #1a140c;
}

/* ============================================
   GOOGLE REVIEWS
   ============================================ */
.google-reviews {
    padding: 100px 0;
    background-color: var(--bg-white);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.review-card {
    background: white;
    border: 1px solid rgba(201, 169, 110, 0.15);
    padding: 32px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.review-card:hover {
    box-shadow: var(--shadow-md), 0 0 20px rgba(201, 169, 110, 0.08);
    transform: translateY(-5px);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.reviewer-initial {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-gold);
    color: #1a140c;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
}

.reviewer-info h4 {
    margin: 0;
    font-size: 1.125rem;
}

.reviewer-info .review-date {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.review-stars {
    color: #f59e0b;
    font-size: 1rem;
    margin-bottom: 16px;
}

.review-text {
    color: var(--text-main);
    font-size: 1rem;
    line-height: 1.7;
}

.google-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
    font-weight: 600;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
    padding: 100px 0;
    background-color: var(--light-bg);
}

/* FAQ Accordion Styles */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--bg-white);
    border: 1px solid rgba(201, 169, 110, 0.2);
    border-radius: 12px;
    transition: var(--transition);
    overflow: hidden;
}

.faq-item:hover {
    border-color: var(--primary-color);
}

.faq-question {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: rgba(201, 169, 110, 0.05);
}

.faq-question h4 {
    font-size: 1.1rem;
    color: var(--text-main);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
}

.faq-question h4 i {
    color: var(--primary-color);
    font-size: 1rem;
}

.faq-chevron {
    color: var(--text-muted);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.9rem;
}

.faq-item.faq-active .faq-chevron {
    transform: rotate(180deg);
    color: var(--primary-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), padding 0.5s ease;
    background-color: transparent;
}

.faq-item.faq-active .faq-answer {
    max-height: 500px; /* Adjust as needed */
    padding-bottom: 24px;
}

.faq-answer p {
    margin: 0;
    padding: 0 24px 24px 52px;
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 1rem;
}

/* ============================================
   CTA SECTION
   ============================================ */
.appointment-cta {
    padding: 100px 0;
    background: var(--bg-white);
}

.container-cta {
    position: relative;
    background: var(--gradient-dark);
    border-radius: var(--radius-xl);
    padding: 80px 48px;
    text-align: center;
    color: white;
    overflow: hidden;
    border: 1px solid var(--dark-border);
    animation: pulse-glow 4s ease-in-out infinite;
}

.container-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(201, 169, 110, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(201, 169, 110, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.cta-shimmer-line {
    position: absolute;
    top: 0;
    left: -100%;
    width: 40%;
    height: 2px;
    background: var(--gradient-gold);
    animation: shimmer 3s ease-in-out infinite;
    background-size: 200% auto;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--text-white);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--text-muted-dark);
    margin-bottom: 40px;
    line-height: 1.7;
}

.cta-background-circle {
    position: absolute;
    top: -50%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201, 169, 110, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background-color: var(--dark-bg);
    color: #f1f5f9;
    padding: 80px 0 32px;
    border-top: 1px solid var(--dark-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
    gap: 48px;
    margin-bottom: 64px;
}

.footer-logo {
    color: white;
    margin-bottom: 20px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 24px;
    font-size: 0.95rem;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(201, 169, 110, 0.1);
    border: 1px solid var(--dark-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gold);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--gradient-gold);
    color: #1a140c;
    border-color: transparent;
    transform: translateY(-3px);
}

.footer h4 {
    color: var(--text-gold);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
}

.footer ul {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--text-gold);
    padding-left: 6px;
}

.footer-info ul li {
    display: flex;
    justify-content: space-between;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.9rem;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    justify-content: flex-start !important;
}

.contact-list i {
    color: var(--text-gold);
    margin-top: 4px;
}

.contact-list a,
.contact-list span {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.9rem;
}

.contact-list a:hover {
    color: var(--text-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid var(--dark-border);
    color: rgba(255, 255, 255, 0.25);
    font-size: 0.85rem;
}

/* ============================================
   DROPDOWN MENU
   ============================================ */
.dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.dropdown-content {
    visibility: hidden;
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    background: rgba(22, 18, 13, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    min-width: 220px;
    box-shadow: var(--shadow-lg), 0 0 30px rgba(201, 169, 110, 0.08);
    border-radius: var(--radius-md);
    overflow: hidden;
    z-index: 1000;
    padding: 8px;
    opacity: 0;
    transform: translateY(-8px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    border: 1px solid var(--dark-border);
}

.dropdown-content::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
}

.dropdown:hover .dropdown-content {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-content a {
    color: rgba(245, 240, 232, 0.75) !important;
    padding: 10px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    display: block;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.dropdown-content a::after {
    display: none;
}

.dropdown-content a:hover {
    background: rgba(201, 169, 110, 0.12);
    color: var(--text-gold) !important;
    padding-left: 22px;
}

/* ============================================
   WHATSAPP FLOAT
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
    z-index: 1000;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.08);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
    color: white;
}

/* ============================================
   TREATMENT PAGE SPLIT LAYOUT
   ============================================ */
.treatment-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.treatment-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 24px;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 1.05rem;
    color: var(--text-main);
}

.benefits-list i {
    color: var(--primary-color);
    margin-top: 4px;
}

/* ============================================
   GALLERY LABEL (old style compat)
   ============================================ */
.gallery-labels {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    width: 80%;
    pointer-events: none;
    z-index: 5;
}

.gallery-labels span {
    background: rgba(255, 255, 255, 0.9);
    padding: 6px 14px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.8rem;
    box-shadow: var(--shadow-sm);
}

/* ============================================
   BADGE (backwards compat)
   ============================================ */
.badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(201, 169, 110, 0.1);
    border: 1px solid rgba(201, 169, 110, 0.25);
    color: var(--text-gold);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 24px;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        max-width: 480px;
        margin: 0 auto;
    }

    .hero-float-card-1 {
        left: -10px;
        bottom: -10px;
    }

    .hero-float-card-2 {
        right: -10px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .treatment-split {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {

    .nav-links,
    .nav-actions {
        display: none;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(13, 10, 7, 0.98);
        backdrop-filter: blur(16px);
        padding: 24px;
        box-shadow: var(--shadow-md);
        text-align: center;
        gap: 16px;
        border-bottom: 1px solid var(--dark-border);
    }

    .nav-links.active a {
        color: rgba(245, 240, 232, 0.8);
        font-size: 1.05rem;
    }

    .dropdown {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .dropdown-content {
        visibility: visible;
        position: static;
        display: flex;
        flex-direction: column;
        box-shadow: none;
        opacity: 1;
        transform: translateY(0);
        min-width: 100%;
        padding: 8px 0 0 0;
        margin-top: 8px;
        border-top: 1px solid var(--dark-border);
        border-radius: 0;
        background: transparent;
        backdrop-filter: none;
        border-left: none;
        border-right: none;
        border-bottom: none;
        text-align: center;
    }

    .dropdown:hover .dropdown-content {
        transform: translateY(0);
    }

    .dropdown-content a {
        padding: 8px 0 !important;
        font-size: 1rem !important;
    }

    .mobile-toggle {
        display: block;
    }

    .hero-content h1 {
        font-size: 2.6rem;
    }

    .hero-title-line2 {
        font-size: 2.8rem;
    }

    .hero-float-card-2 {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 24px;
    }

    .treatment-image {
        grid-row: 1;
    }

    .container-cta {
        padding: 60px 28px;
    }
}

/* ============================================
   TREATMENT / INNER PAGES
   ============================================ */

/* Page Header (dark banner) */
.page-header {
    background: linear-gradient(135deg, var(--bg-dark) 0%, #1a130a 60%, #0d0a07 100%);
    padding: 120px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(201, 169, 110, 0.12);
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 80% at 50% 120%, rgba(201, 169, 110, 0.08) 0%, transparent 70%);
}

.page-header h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: #fff;
    position: relative;
    z-index: 1;
}

.page-header p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 12px;
    position: relative;
    z-index: 1;
}

/* Two-column treatment split */
.treatment-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* Treatment content column */
.treatment-content h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 20px;
    line-height: 1.2;
}

.treatment-content p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

.treatment-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: 0.02em;
}

/* Benefits list */
.benefits-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 16px;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.benefits-list li i {
    color: var(--primary-color);
    margin-top: 3px;
    font-size: 0.9rem;
    flex-shrink: 0;
    background: rgba(201, 169, 110, 0.1);
    border: 1px solid rgba(201, 169, 110, 0.2);
    border-radius: 50%;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Treatment image â€” floating animation */
@keyframes treatmentFloat {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-14px);
    }
}

@keyframes treatmentGlow {

    0%,
    100% {
        box-shadow: 0 20px 60px rgba(201, 169, 110, 0.12), 0 0 0 1px rgba(201, 169, 110, 0.08);
    }

    50% {
        box-shadow: 0 30px 80px rgba(201, 169, 110, 0.22), 0 0 0 1px rgba(201, 169, 110, 0.15);
    }
}

.treatment-image {
    position: relative;
}

.treatment-image img {
    width: 100%;
    border-radius: 24px;
    animation: treatmentFloat 5s ease-in-out infinite, treatmentGlow 5s ease-in-out infinite;
    display: block;
}

/* Decorative corner frame on the image */
.treatment-image::before {
    content: '';
    position: absolute;
    top: -12px;
    right: -12px;
    width: 80px;
    height: 80px;
    border-top: 3px solid var(--primary-color);
    border-right: 3px solid var(--primary-color);
    border-radius: 0 16px 0 0;
    opacity: 0.5;
    z-index: 1;
    pointer-events: none;
}

.treatment-image::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: -12px;
    width: 80px;
    height: 80px;
    border-bottom: 3px solid var(--primary-color);
    border-left: 3px solid var(--primary-color);
    border-radius: 0 0 0 16px;
    opacity: 0.5;
    z-index: 1;
    pointer-events: none;
}

/* Responsive treatment split */
@media (max-width: 900px) {
    .treatment-split {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .treatment-image {
        grid-row: 1;
    }
}

/* ============================================
   PAGE HEADER â€” Inner pages dark banner fix
   ============================================ */
.page-header {
    background: #0d0a07 !important;
    background: linear-gradient(160deg, #16120d 0%, #0d0a07 60%, #1a130a 100%) !important;
    color: #fff !important;
    padding: 130px 0 70px !important;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(201, 169, 110, 0.18) !important;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(201, 169, 110, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.page-header h1 {
    font-size: clamp(2.4rem, 5vw, 3.8rem) !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.page-header p {
    font-size: 1.1rem !important;
    color: rgba(201, 169, 110, 0.85) !important;
    margin-top: 14px;
    position: relative;
    z-index: 1;
    font-weight: 300;
    letter-spacing: 0.02em;
}

/* ============================================
   HERO TREATMENT SLIDER
   ============================================ */
.hero-treatment-slider {
    margin-top: 32px;
    position: relative;
    min-height: 120px;
}

/* Individual text slide */
.treatment-slide {
    display: none;
    flex-direction: column;
    gap: 10px;
    animation: slideFadeIn 0.6s ease;
}

@keyframes slideFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.treatment-slide.active {
    display: flex;
}

/* Treatment badge/tag */
.slide-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(201, 169, 110, 0.12);
    border: 1px solid rgba(201, 169, 110, 0.3);
    color: var(--text-gold);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    width: fit-content;
    text-transform: uppercase;
}

.slide-tag i {
    font-size: 0.8rem;
}

/* Tagline text */
.slide-tagline {
    font-family: var(--font-serif);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.3;
    margin: 0;
}

.slide-tagline em {
    font-style: italic;
    color: var(--text-gold);
    display: block;
}

/* Dot navigation */
.slide-dots {
    display: flex;
    gap: 8px;
    margin-top: 20px;
}

.slide-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.25);
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.slide-dot.active {
    background: var(--primary-color);
    width: 24px;
    border-radius: 4px;
}

.slide-dot:hover {
    background: rgba(201, 169, 110, 0.6);
}

/* Hero image slider stack */
.hero-slide-images {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
}

.hero-slide-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease;
    border-radius: 20px;
}

.hero-slide-img.active {
    opacity: 1;
    position: relative;
}

/* Make the frame a useful height */
.hero-image-frame {
    min-height: 380px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

/* ============================================
   SMILE SIMULATOR
   ============================================ */
.simulator-hero {
    padding: 160px 0 60px;
    background: linear-gradient(135deg, var(--bg-white) 0%, #f0f4f8 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.simulator-container {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--bg-white);
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    padding: 40px;
    position: relative;
    z-index: 2;
    margin-top: -30px;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.upload-section {
    border: 2px dashed var(--accent-color);
    border-radius: 16px;
    padding: 60px 20px;
    text-align: center;
    background: rgba(142, 164, 150, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.upload-section:hover {
    background: rgba(142, 164, 150, 0.1);
    border-color: var(--primary-color);
}

.upload-icon {
    font-size: 48px;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.upload-input {
    display: none;
}

.processing-section,
.results-section {
    display: none;
    padding: 40px 0;
    text-align: center;
    animation: fadeIn 0.8s ease;
}

.scanner-line {
    height: 4px;
    background: var(--accent-color);
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    animation: scan 2s infinite ease-in-out;
    box-shadow: 0 0 15px var(--accent-color);
    z-index: 10;
}

@keyframes scan {
    0% {
        top: 0;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        top: 100%;
        opacity: 0;
    }
}

.image-comparison {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.image-box {
    flex: 1;
    min-width: 300px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.image-box img,
.image-box canvas {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.simulated-img {
    filter: brightness(1.15) contrast(1.05) saturate(1.1);
}

.image-label {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.9);
    padding: 6px 16px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.sparkle {
    position: absolute;
    color: white;
    font-size: 24px;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.8));
    animation: twinkle 1.5s infinite alternate;
    opacity: 0;
    z-index: 5;
}

.sparkle-1 {
    top: 40%;
    left: 40%;
    animation-delay: 0s;
}

.sparkle-2 {
    top: 50%;
    left: 60%;
    animation-delay: 0.5s;
}

.sparkle-3 {
    top: 60%;
    left: 45%;
    animation-delay: 1s;
}

@keyframes twinkle {
    0% {
        transform: scale(0.8) rotate(0deg);
        opacity: 0.2;
    }

    100% {
        transform: scale(1.2) rotate(45deg);
        opacity: 1;
    }
}

.lead-form-section {
    background: #f8faf9;
    padding: 30px;
    border-radius: 16px;
    margin-top: 30px;
    border: 1px solid #e1e8e4;
}

.progress-bar-container {
    width: 100%;
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    margin: 20px 0;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: var(--accent-color);
    transition: width 0.1s linear;
}

.btn-simulator {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(142, 164, 150, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-simulator:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(142, 164, 150, 0.6);
}

.sim-form-group {
    margin-bottom: 20px;
    text-align: left;
}

.sim-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.sim-form-group input,
.sim-form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
}

.camera-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.camera-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    border-radius: 16px;
    overflow: hidden;
    background: #000;
}

#cameraFeed {
    width: 100%;
    height: auto;
    display: block;
    transform: scaleX(-1);
}

.camera-controls {
    margin-top: 20px;
    display: flex;
    gap: 20px;
}

.btn-capture {
    background: white;
    color: #000;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.btn-close-camera {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
}

.ai-loading-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid rgba(142, 164, 150, 0.3);
    border-radius: 50%;
    border-top-color: var(--accent-color);
    animation: spin 1s ease-in-out infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
/* ============================================
   INVISALIGN PAGE SPECIFIC REFINEMENTS
   ============================================ */

/* Journey Grid styling */
.journey-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
    position: relative;
}

.journey-step {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(201, 169, 110, 0.1);
    position: relative;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.journey-step:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--gradient-gold);
    color: #1a140c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    margin-bottom: 24px;
    box-shadow: var(--glow-gold-sm);
}

.step-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    opacity: 0.8;
}

.journey-step h4 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-main);
}

.journey-step p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Comparison Table styling */
.comparison-wrapper {
    margin-top: 40px;
    background: white;
    padding: 40px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th {
    padding: 20px;
    text-align: left;
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-white);
    background: var(--dark-surface);
    border-bottom: 2px solid var(--primary-color);
}

.comparison-table th:first-child {
    border-top-left-radius: 12px;
}

.comparison-table th:last-child {
    border-top-right-radius: 12px;
}

.comparison-table td {
    padding: 20px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-size: 1rem;
    color: var(--text-main);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:hover td {
    background: rgba(201, 169, 110, 0.03);
}

.comparison-table td:first-child {
    font-weight: 600;
    color: var(--primary-dark);
}

/* Specialist Block Refinement */
.specialist-block {
    margin-top: 100px;
    background: var(--light-bg);
    padding: 60px;
    border-radius: var(--radius-xl);
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: center;
    border: 1px solid rgba(201, 169, 110, 0.15);
    position: relative;
    overflow: hidden;
}

.specialist-block::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(201, 169, 110, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.specialist-image-container {
    background: white;
    padding: 20px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(201, 169, 110, 0.1);
}

.specialist-image {
    max-width: 100%;
    height: auto;
    filter: none;
}

.specialist-info .subtitle {
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
}

.specialist-info h2 {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--primary-dark);
}

.service-link {
    color: var(--primary-color);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.service-link:hover {
    gap: 12px;
    color: var(--primary-dark);
}

@media (max-width: 992px) {
    .specialist-block {
        grid-template-columns: 1fr;
        padding: 40px;
        text-align: center;
        gap: 30px;
    }
    .specialist-image-container {
        max-width: 200px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .comparison-wrapper {
        padding: 20px;
    }
    .comparison-table th, .comparison-table td {
        padding: 12px;
        font-size: 0.9rem;
    }
}
