/* ===================================
   ELITE COSMETIC SURGERY DESIGN
   Dr. Taneja - MyLook Surgery
   Refined Luxury Aesthetic
   =================================== */

:root {
    --rose-gold: #D4A574;
    --rose-gold-light: #E5C399;
    --rose-gold-dark: #B8915F;
    --navy: #0B1120;
    --navy-light: #1a2332;
    --slate: #475569;
    --pearl: #F5F1ED;
    --pearl-dark: #E8E2DC;
    --white: #FFFFFF;
    --accent-blue: #2D5A8C;
}

* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    overflow-x: hidden;
}

::selection {
    background: var(--rose-gold);
    color: white;
}

::-moz-selection {
    background: var(--rose-gold);
    color: white;
}

/* ===================================
   LUXURY SCROLLBAR
   =================================== */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--navy);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--rose-gold), var(--rose-gold-dark));
    border-radius: 10px;
    border: 2px solid var(--navy);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--rose-gold-light), var(--rose-gold));
}

/* ===================================
   GLASS EFFECTS
   =================================== */
.glass-header {
    background: rgba(255, 255, 255, 0.90);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid rgba(212, 165, 116, 0.15);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.glass-dark {
    background: rgba(11, 17, 32, 0.90);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(212, 165, 116, 0.2);
}

/* ===================================
   ANIMATIONS
   =================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

@keyframes pulse-glow {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fade-in-down {
    animation: fadeInDown 0.6s ease-out forwards;
}

.animate-scale-in {
    animation: scaleIn 0.5s ease-out forwards;
}

.animate-float {
    animation: float 8s ease-in-out infinite;
}

.animate-pulse-glow {
    animation: pulse-glow 3s ease-in-out infinite;
}

/* Stagger Delays */
.delay-100 { animation-delay: 0.1s; opacity: 0; }
.delay-200 { animation-delay: 0.2s; opacity: 0; }
.delay-300 { animation-delay: 0.3s; opacity: 0; }
.delay-400 { animation-delay: 0.4s; opacity: 0; }
.delay-500 { animation-delay: 0.5s; opacity: 0; }
.delay-600 { animation-delay: 0.6s; opacity: 0; }
.delay-700 { animation-delay: 0.7s; opacity: 0; }

/* ===================================
   HOVER EFFECTS
   =================================== */
.hover-lift {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.03);
}

.hover-glow {
    position: relative;
    transition: all 0.3s ease;
}

.hover-glow::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--rose-gold), var(--accent-blue));
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
    filter: blur(8px);
}

.hover-glow:hover::before {
    opacity: 0.4;
}

.hover-shine {
    position: relative;
    overflow: hidden;
}

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

.hover-shine:hover::after {
    left: 100%;
}

/* ===================================
   ROSE GOLD ACCENTS
   =================================== */
.rose-gold-gradient {
    background: linear-gradient(135deg, #E5C399 0%, #D4A574 50%, #B8915F 100%);
    background-size: 200% 200%;
}

.rose-gold-text {
    background: linear-gradient(135deg, #E5C399, #D4A574, #B8915F);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ===================================
   PREMIUM BUTTONS
   =================================== */
.btn-premium {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--rose-gold) 0%, var(--rose-gold-dark) 100%);
    color: white;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(212, 165, 116, 0.25);
    border: none;
    cursor: pointer;
}

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

.btn-premium:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(212, 165, 116, 0.35);
}

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

.btn-premium:active {
    transform: translateY(-1px);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--accent-blue), var(--navy));
    box-shadow: 0 8px 24px rgba(45, 90, 140, 0.25);
}

.btn-secondary:hover {
    box-shadow: 0 12px 32px rgba(45, 90, 140, 0.35);
}

/* ===================================
   FORM STYLING
   =================================== */
.input-premium {
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(212, 165, 116, 0.25);
    border-radius: 0.75rem;
    padding: 0.875rem 1.125rem;
    color: white;
    transition: all 0.3s ease;
    font-size: 0.9375rem;
    width: 100%;
}

.input-premium::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.input-premium:focus {
    outline: none;
    border-color: var(--rose-gold);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.1);
}

/* Select Dropdown */
.select-premium {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23D4A574' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.125rem;
    padding-right: 2.75rem;
}

/* Checkbox */
.checkbox-premium {
    appearance: none;
    width: 1.375rem;
    height: 1.375rem;
    border: 2px solid rgba(212, 165, 116, 0.4);
    border-radius: 0.375rem;
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.checkbox-premium:checked {
    background: linear-gradient(135deg, var(--rose-gold), var(--rose-gold-dark));
    border-color: var(--rose-gold);
}

.checkbox-premium:checked::after {
    content: '✓';
    position: absolute;
    color: white;
    font-size: 0.875rem;
    font-weight: bold;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* ===================================
   IMAGE EFFECTS
   =================================== */
.image-hover {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
}

.image-hover img {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.image-hover:hover img {
    transform: scale(1.06);
}

/* ===================================
   HERO SECTION
   =================================== */
.hero-section {
    position: relative;
    min-height: auto;
    display: flex;
    align-items: center;
}

/* ===================================
   TESTIMONIALS
   =================================== */
.testimonial-card {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
    backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 165, 116, 0.2);
    border-radius: 1.25rem;
    padding: 1.75rem;
    transition: all 0.3s ease;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -15px;
    left: 20px;
    font-size: 5rem;
    font-family: Georgia, serif;
    color: rgba(212, 165, 116, 0.15);
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 165, 116, 0.4);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
}

/* ===================================
   STATS BADGES
   =================================== */
.stat-badge {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08));
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    padding: 1.25rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-badge:hover {
    transform: translateY(-3px);
    border-color: var(--rose-gold);
}

/* ===================================
   PROGRESS BAR
   =================================== */
.progress-bar-luxury {
    height: 3px;
    background: linear-gradient(90deg, var(--rose-gold), var(--accent-blue));
    box-shadow: 0 0 12px rgba(212, 165, 116, 0.5);
    transition: width 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===================================
   DIVIDER
   =================================== */
.divider-elegant {
    height: 2px;
    width: 60px;
    background: linear-gradient(90deg, transparent, var(--rose-gold), transparent);
    margin: 1.5rem auto;
}

/* ===================================
   MOBILE OPTIMIZATIONS
   =================================== */
@media (max-width: 1024px) {
    .hero-section {
        min-height: auto;
        padding: 3rem 0;
    }
}

@media (max-width: 768px) {
    .btn-premium {
        width: 100%;
        padding: 0.875rem 1.5rem;
    }

    .glass-card {
        margin: 0.5rem;
    }

    .stat-badge {
        padding: 1rem;
    }
}

/* ===================================
   ACCESSIBILITY
   =================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

*:focus-visible {
    outline: 2px solid var(--rose-gold);
    outline-offset: 2px;
}

/* ===================================
   UTILITY CLASSES
   =================================== */
.text-shadow-soft {
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.2);
}

.text-shadow-strong {
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.backdrop-blur {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* ===================================
   UPLOAD ZONES
   =================================== */
.upload-zone {
    background: rgba(255, 255, 255, 0.05);
    border: 2px dashed rgba(212, 165, 116, 0.30);
    border-radius: 0.75rem;
    padding: 1.5rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    user-select: none;
}

.upload-zone > *:not(input) {
    pointer-events: none;
}

.upload-zone:hover {
    border-color: rgba(212, 165, 116, 0.60);
    background: rgba(212, 165, 116, 0.08);
}

.upload-zone.dragover {
    border-color: var(--rose-gold);
    background: rgba(212, 165, 116, 0.15);
    transform: scale(1.02);
}

.upload-zone.has-file {
    border-color: rgba(74, 222, 128, 0.5);
    border-style: solid;
    background: rgba(74, 222, 128, 0.05);
}

.upload-zone-label {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.upload-label-front {
    background: rgba(212, 165, 116, 0.2);
    color: var(--rose-gold);
}

.upload-label-left {
    background: rgba(45, 90, 140, 0.2);
    color: #60A5FA;
}

.upload-label-right {
    background: rgba(139, 92, 246, 0.2);
    color: #A78BFA;
}

.upload-label-id {
    background: rgba(52, 211, 153, 0.2);
    color: #34D399;
}

.upload-preview {
    margin-top: 0.5rem;
    border-radius: 0.5rem;
    overflow: hidden;
    width: 100%;
}

.upload-preview img {
    width: 100%;
    height: 7rem;
    object-fit: cover;
    border-radius: 0.5rem;
    border: 1px solid rgba(212, 165, 116, 0.2);
}

.upload-filename {
    font-size: 0.7rem;
    color: rgba(212, 165, 116, 0.8);
    margin-top: 0.35rem;
    word-break: break-all;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ===================================
   BMI CALCULATOR
   =================================== */
.bmi-result-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(212, 165, 116, 0.3);
    border-radius: 1rem;
    padding: 1.25rem;
    text-align: center;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.bmi-result-card.bmi-normal {
    border-color: rgba(74, 222, 128, 0.4);
}

.bmi-result-card.bmi-high {
    border-color: rgba(251, 146, 60, 0.4);
}

.bmi-high-warning {
    background: rgba(45, 90, 140, 0.15);
    border: 1px solid rgba(45, 90, 140, 0.3);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    margin-top: 1rem;
    animation: fadeInUp 0.5s ease-out forwards;
}

/* ===================================
   FORM ERROR TOAST
   =================================== */
.toast-notification {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 9999;
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    color: white;
    font-weight: 500;
    font-size: 0.875rem;
    max-width: 400px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    animation: fadeInUp 0.3s ease-out;
    backdrop-filter: blur(12px);
}

.toast-error {
    background: rgba(220, 38, 38, 0.9);
    border: 1px solid rgba(252, 165, 165, 0.3);
}

.toast-success {
    background: rgba(22, 163, 74, 0.9);
    border: 1px solid rgba(134, 239, 172, 0.3);
}

.toast-info {
    background: rgba(45, 90, 140, 0.9);
    border: 1px solid rgba(96, 165, 250, 0.3);
}
