:root {
    /* Ultra-Premium "Franchise" Palette */
    --color-gold: #D4AF37;
    /* Polished Gold */
    --color-gold-light: #F4D06F;
    /* Champagne Gold */
    --color-gold-dark: #8A6E18;
    /* Antique Gold */

    --color-black: #0a0a0a;
    /* Deep Matte Black */
    --color-dark-gray: #141414;
    /* Off-Black for cards */
    --color-gray: #222222;
    /* Borders/Separators */

    --color-white: #FFFFFF;
    --color-text-main: #F0F0F0;
    /* Soft White */
    --color-text-light: #A0A0A0;
    /* Silver Gray */

    /* Typography */
    --font-heading: 'Playfair Display', 'Georgia', 'Times New Roman', serif;
    /* Elegant, Editorial */
    --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    /* Clean, Modern, Expensive */

    /* Spacing & Layout */
    --spacing-container: 1400px;
    /* Wider for cinematic feel */
    --spacing-section: 120px;

    /* Effects */
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.5);
    /* Stronger shadows for dark mode */
    --shadow-hover: 0 20px 60px rgba(212, 175, 55, 0.15);
    /* Gold glow */
    --radius-sm: 2px;
    --radius-sm: 2px;
    --radius-md: 8px;
}

/* REMOVED: Film Grain Overlay - Caused scroll lag on mobile devices */

/* X-FACTOR: Scroll Animations */
.animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 1. Reset & Typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-black);
    color: var(--color-text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-heading);
    color: var(--color-black);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -1px;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: -0.5px;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* 2. Utility Classes */
.container {
    max-width: var(--spacing-container);
    margin: 0 auto;
    padding: 0 20px;
}

@media (min-width: 768px) {
    .container {
        padding: 0 24px;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 40px;
    }
}

.section {
    padding: var(--spacing-section) 0;
}

.bg-gray {
    background-color: var(--color-gray);
}

.text-center {
    text-align: center;
}

.text-gold {
    color: var(--color-gold);
}

/* 3. Button Design System */
/* 3. Buttons & Interactables (Ultra-Premium) */
.btn {
    display: inline-block;
    padding: 16px 32px;
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 3px;
    font-size: 0.9rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid transparent;
}

/* Primary Gold Button - Matte Finish, Sharp */
.btn-gold {
    background-color: var(--color-gold);
    color: #000;
    border-color: var(--color-gold);
}

.btn-gold:hover {
    background-color: var(--color-gold-light);
    color: #000;
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
}

/* Secondary Outline Button - Minimalist */
.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.btn-outline:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
    background: rgba(10, 10, 10, 0.8);
    transform: translateY(-2px);
}

/* Text Links */
.link-gold {
    color: var(--color-gold);
    text-decoration: none;
    position: relative;
    padding-bottom: 2px;
}

.link-gold::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 1px;
    background: var(--color-gold);
    transition: width 0.3s ease;
}

.link-gold:hover::after {
    width: 100%;
}

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
    z-index: 10001;
    transform-origin: left;
    transition: transform 0.1s ease-out;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* 4. Header & Navigation (Cinematic Transparent) */
header {
    background: rgba(10, 10, 10, 0.8);
    /* Semi-transparent black */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    height: 90px;
    transition: all 0.3s ease;
}

/* Header scroll effect - more opaque when scrolled */
header.scrolled {
    background: rgba(10, 10, 10, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    max-width: var(--spacing-container);
    margin: 0 auto;
    padding: 0 20px;
}

@media (min-width: 768px) {
    .nav-container {
        padding: 0 40px;
    }
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 50px;
    align-items: center;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s;
}

.nav-links a:hover {
    color: var(--color-white);
}

/* Services Dropdown - Desktop */
.services-dropdown {
    position: relative;
    display: inline-block;
}

.services-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    text-decoration: none;
    color: var(--color-text-light);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s;
}

.services-toggle:hover {
    color: var(--color-white);
}

.dropdown-arrow {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
    display: inline-block;
}

.services-dropdown:hover .dropdown-arrow,
.services-dropdown:focus-within .dropdown-arrow,
.services-dropdown.hover .dropdown-arrow {
    transform: rotate(180deg);
}

.services-menu {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 15px 0;
    min-width: 280px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    z-index: 1001;
    flex-direction: column;
    gap: 0;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.services-dropdown:hover .services-menu {
    display: flex;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.services-menu a {
    display: block;
    padding: 12px 25px;
    font-size: 0.85rem;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    text-decoration: none;
}

.services-menu a:hover {
    color: var(--color-white);
    background: rgba(212, 175, 55, 0.1);
    padding-left: 30px;
}

/* Gold Button Override */
.btn-gold {
    background: linear-gradient(135deg, #D4AF37, #F4D06F);
    border: none;
    font-weight: 700;
    color: black;
}

.btn-gold:hover {
    background: white;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
    transform: translateY(-2px);
}

.btn-gold:active {
    transform: translateY(0);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

/* Button Loading State */
.btn-gold.loading,
.btn-outline.loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

.btn-gold.loading::after,
.btn-outline.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

.btn-gold.loading::after {
    border-color: #000;
    border-top-color: transparent;
}

.btn-outline.loading::after {
    border-color: var(--color-gold);
    border-top-color: transparent;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Button Disabled State */
.btn-gold:disabled,
.btn-outline:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* 5. Hero Section (Immersive) */
.hero {
    position: relative;
    padding: 0;
    /* Full screen video handles padding */
}

/* 6. Cards & Layout (Dark Mode) */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.card {
    background: rgba(20, 20, 20, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 50px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.05), transparent);
    transition: left 0.5s ease;
    z-index: 0;
}

.card > * {
    position: relative;
    z-index: 1;
}

.card:hover {
    border-color: var(--color-gold);
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.2);
    transform: translateY(-5px) scale(1.02);
    background: rgba(20, 20, 20, 0.85);
}

.card:hover::before {
    left: 100%;
}

.card h3 {
    color: white;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.card p {
    color: #999;
    font-size: 1rem;
    line-height: 1.8;
}

/* 7. Footer (Minimalist) */
footer {
    background-color: #050505;
    color: #fff;
    padding: 100px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 80px;
    margin-bottom: 80px;
}

.footer-col h3 {
    color: var(--color-gold);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    letter-spacing: 2px;
}

.footer-links a {
    color: #666;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
    z-index: 9999;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Responsive */
/* 8. Advanced Masstige Components & Animations */

/* Service Grid (The 'Grid of Desire') */
.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.service-card {
    position: relative;
    height: 400px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
}

.service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.service-card:hover img {
    background-color: var(--color-gold);
    transform: scale(1.05);
}

.service-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 30px;
    color: white;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.service-card:hover .service-overlay {
    transform: translateY(0);
}

.service-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: var(--color-gold-light);
}

/* Trust Bar (Monochrome) */
.trust-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    flex-wrap: wrap;
    gap: 30px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 15px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.trust-item:hover {
    opacity: 1;
}

.trust-icon {
    font-size: 1.5rem;
    color: var(--color-gold);
    background: rgba(197, 160, 89, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Premium Pricing Table */
.price-menu {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 15px;
    /* Spacing between rows */
}

.price-menu tr {
    background: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease;
}

.price-menu tr:hover {
    transform: translateX(10px);
    border-left: 3px solid var(--color-gold);
}

.price-menu td {
    padding: 25px;
    border-top: 1px solid #f9f9f9;
    border-bottom: 1px solid #f9f9f9;
}

.price-menu td:first-child {
    border-left: 1px solid #f9f9f9;
    border-radius: 8px 0 0 8px;
}

.price-menu td:last-child {
    border-right: 1px solid #f9f9f9;
    border-radius: 0 8px 8px 0;
}

.service-name {
    font-weight: 700;
    font-size: 1.1rem;
    display: block;
}

.service-desc {
    font-size: 0.85rem;
    color: #888;
    font-weight: 400;
}

.service-price {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--color-black);
    font-weight: 700;
}

/* Testimonial Wall */
.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.review-card {
    background: white;
    padding: 40px;
    border-radius: 8px;
    position: relative;
    border: 1px solid #eee;
}

.review-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-family: var(--font-heading);
    font-size: 4rem;
    color: rgba(197, 160, 89, 0.1);
    line-height: 1;
}

.stars {
    color: var(--color-gold);
    letter-spacing: 2px;
    margin-bottom: 15px;
    font-size: 0.8rem;
}

/* Sticky Mobile Bottom Bar */
.mobile-sticky-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    padding: 10px 20px;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.mobile-sticky-bar .btn {
    flex: 1;
    text-align: center;
    padding: 12px;
    font-size: 0.8rem;
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate {
    animation: fadeUp 0.8s ease forwards;
    opacity: 0;
}

/* Tablet Breakpoint (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .review-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .nav-links {
        gap: 30px;
    }
    
    .card {
        padding: 35px;
    }
    
    .btn {
        padding: 18px 40px;
    }
    
    h1 {
        font-size: clamp(2.5rem, 5vw, 4rem);
    }
    
    h2 {
        font-size: clamp(2rem, 4vw, 3rem);
    }
    
    /* Responsive maps */
    .map-container {
        height: 350px !important;
    }
    
    .map-container iframe {
        height: 100% !important;
    }
}

/* Mobile Breakpoint (max-width: 767px) */
@media (max-width: 767px) {
    .grid-3 {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .review-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
    }
    
    .card {
        padding: 25px;
    }
    
    .btn {
        padding: 14px 28px;
        font-size: 0.9rem;
        width: 100%;
        text-align: center;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .nav-links a {
        font-size: 0.85rem;
    }
    
    h1 {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    h2 {
        font-size: clamp(1.75rem, 7vw, 2.5rem);
    }
    
    /* Responsive maps */
    .map-container {
        height: 300px !important;
    }
    
    .map-container iframe {
        height: 100% !important;
    }
    
    /* Membership Cards - Stack on Mobile */
    .section[aria-label*="YLG Beauty Secret Card"] .card {
        min-width: 100%;
    }
    
    /* Brands Grid - Stack on Mobile */
    .section[aria-label*="Premium brand partnerships"] > .container > div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
}

/* Responsive Additions */
@media (max-width: 900px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 10, 0.98);
        flex-direction: column;
        padding: 20px;
        gap: 20px;
        border-top: 1px solid rgba(255,255,255,0.1);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        z-index: 1000;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block !important;
        cursor: pointer;
        font-size: 1.5rem;
        z-index: 1001;
    }
    
    /* Services Dropdown - Mobile */
    .services-dropdown {
        position: relative;
        width: 100%;
    }
    
    .services-toggle {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 12px 0;
    }
    
    .services-menu {
        display: none;
        flex-direction: column;
        padding: 10px 0 10px 20px;
        gap: 10px;
        background: rgba(0, 0, 0, 0.3);
        border-left: 2px solid var(--color-gold);
        margin-top: 5px;
    }
    
    .services-menu.active {
        display: flex;
    }
    
    .services-menu a {
        font-size: 0.9rem;
        padding: 8px 0;
        color: var(--color-text-light);
    }
    
    .services-menu a:hover {
        color: var(--color-gold);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .grid-3 {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .mobile-stack {
        flex-direction: column !important;
    }

    .mobile-stack>div {
        width: 100%;
    }

    .service-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .service-card {
        height: 250px;
    }

    .mobile-sticky-bar {
        display: flex;
    }

    .whatsapp-float {
        bottom: 80px;
    }

    /* Move up to avoid overlapping sticky bar */
    footer {
        padding-bottom: 80px;
    }

    /* Add padding for sticky bar */
    .trust-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .price-menu tr:hover {
        transform: none;
    }

    /* Disable hover lift on mobile */
    .price-menu td {
        padding: 15px;
    }

    /* Compact tables */
}