/* ═══════════════════════════════════════════════════════════════
   ایستگاه مد — Ultra-Cinematic Luxury Landing CSS
   FULL DUAL-THEME SUPPORT (DARK & LIGHT 0-TO-100 TRANSFORMATION)
   ═══════════════════════════════════════════════════════════════ */

/* ─── LOADER ───────────────────────────────────────────────────── */
#loader {
    position: fixed; inset: 0; z-index: 9999;
    background: #08080c;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 1.5rem;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: auto;
}
#loader.hidden {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.loader-logo { font-size: 2.2rem; font-weight: 800; letter-spacing: 1px; color: var(--text-title); }
.loader-logo .gold { color: var(--gold); }

.loader-bar {
    width: 240px;
    height: 3.5px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 99px;
    overflow: hidden;
    position: relative;
}
.loader-fill {
    height: 100%;
    width: 100%;
    transform: scaleX(0);
    transform-origin: right center;
    background: linear-gradient(90deg, var(--gold, #d9b06e), #f3e8c9, #fff);
    animation: smoothFill 0.7s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes smoothFill {
    0% { transform: scaleX(0); }
    100% { transform: scaleX(1); }
}

.loader-text {
    font-size: .85rem;
    color: var(--text-muted);
    letter-spacing: .5px;
    animation: loaderPulse 1.2s ease-in-out infinite alternate;
}
@keyframes loaderPulse {
    0% { opacity: 0.6; }
    100% { opacity: 1; }
}

/* ─── NAVBAR ───────────────────────────────────────────────────── */
#navbar {
    position: fixed; top: 0; right: 0; left: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.4rem 4rem;
    background: transparent;
    transition: all .4s cubic-bezier(0.16, 1, 0.3, 1);
}
#navbar.scrolled {
    background: var(--glass-navbar);
    backdrop-filter: blur(var(--glass-blur)); -webkit-backdrop-filter: blur(var(--glass-blur));
    padding: 1rem 4rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-card);
}

.nav-logo { 
    font-size: 1.6rem; 
    font-weight: 900; 
    display: flex; 
    align-items: center; 
    gap: 0.85rem; 
    color: var(--text-title); 
    letter-spacing: -0.3px; 
    transition: all 0.3s ease;
}
.nav-logo img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    background: transparent;
    filter: drop-shadow(0 4px 14px rgba(217, 176, 110, 0.45));
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
}
.nav-logo:hover img {
    transform: scale(1.08) rotate(-3deg);
    filter: drop-shadow(0 6px 22px rgba(217, 176, 110, 0.7));
}
.nav-logo span { color: var(--gold); }
.logo-symbol { font-size: 1.4rem; filter: drop-shadow(0 0 12px rgba(187,143,74,0.6)); }

#navbar.scrolled .nav-logo img {
    width: 52px;
    height: 52px;
}

.nav-links { display: flex; gap: 2.2rem; }
.nav-links a { font-size: .92rem; color: var(--text-muted); transition: color .25s; position: relative; font-weight: 500; }
.nav-links a:hover { color: var(--gold); }
.nav-links a::after {
    content: ''; position: absolute; bottom: -6px; right: 0; width: 0; height: 1.5px;
    background: var(--gold); transition: width .3s ease;
}
.nav-links a:hover::after { width: 100%; }

.nav-cta { display: flex; align-items: center; gap: 1rem; }
.nav-live-badge {
    display: inline-flex; align-items: center; gap: .45rem;
    font-size: .78rem; color: var(--gold);
    background: var(--gold-dim);
    border: 1px solid var(--border-strong);
    padding: .35rem .85rem; border-radius: 99px; font-weight: 600;
}
.pulse-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 10px #22c55e;
    animation: pulseGlow 2s infinite;
}
@keyframes pulseGlow {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .4; transform: scale(1.3); }
}

.nav-hamburger { display: none; background: none; color: var(--text); font-size: 1.5rem; }

@media (max-width: 968px) {
    #navbar { padding: 1rem 1.3rem; }
    .nav-links, .nav-live-badge { display: none; }
    .nav-cta { display: none; }
    .nav-hamburger { display: block; }
    .nav-cta.mobile-open, .nav-links.mobile-open {
        display: flex; position: fixed; top: 64px; right: 0; left: 0;
        background: var(--glass-navbar); backdrop-filter: blur(24px);
        flex-direction: column; padding: 1.5rem; gap: 1.2rem;
        border-bottom: 1px solid var(--border);
    }
}

/* ─── HERO CINEMATIC ───────────────────────────────────────────── */
#hero, .cinematic-hero {
    position: relative; height: 100vh; min-height: 650px;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; background: var(--hero-bg-color);
}

.hero-media-bg {
    position: absolute; inset: -5% -5%; z-index: 1;
    pointer-events: none; will-change: transform;
    transition: transform .1s cubic-bezier(0,0,0.2,1);
}

.hero-video-bg {
    width: 100%; height: 100%; object-fit: cover;
    position: absolute; inset: 0; z-index: 1;
    filter: var(--hero-video-filter);
}

.hero-image-fallback {
    position: absolute; inset: 0; z-index: 1;
    background: url('/images/hero-poster.jpg') center/cover no-repeat;
    animation: kenBurnsZoom 24s ease-in-out infinite alternate;
    filter: var(--hero-video-filter);
}

@keyframes kenBurnsZoom {
    0%   { transform: scale(1.0); }
    100% { transform: scale(1.12); }
}

.hero-overlay-gradient {
    position: absolute; inset: 0; z-index: 2;
    background: var(--hero-overlay);
}

.hero-film-grain {
    position: absolute; inset: 0; z-index: 3; opacity: .04;
    mix-blend-mode: overlay; pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.hero-ambient-spotlight {
    /* The radial-gradient already fades to transparent, so it doesn't need an extra
       blur() filter — blurring a large animated layer every frame is one of the
       most expensive things a browser can paint, and was a source of scroll/scroll-adjacent jank. */
    position: absolute; border-radius: 50%;
    z-index: 3; pointer-events: none; opacity: .45;
    animation: floatSpot 14s ease-in-out infinite alternate;
    will-change: transform;
}
.hero-ambient-spotlight.s1 {
    width: 500px; height: 500px; top: 10%; right: 15%;
    background: radial-gradient(circle, rgba(187, 143, 74,0.35) 0%, rgba(187, 143, 74,0) 70%);
}
.hero-ambient-spotlight.s2 {
    width: 600px; height: 600px; bottom: 5%; left: 10%;
    background: radial-gradient(circle, rgba(217, 176, 110,0.25) 0%, rgba(217, 176, 110,0) 70%);
    animation-delay: -7s;
}

@keyframes floatSpot {
    0%   { transform: translate(0, 0) scale(1); }
    100% { transform: translate(45px, -35px) scale(1.18); }
}

.hero-content {
    position: relative; z-index: 4;
    text-align: center; padding: 0 1.5rem;
    max-width: 860px;
}

.hero-eyebrow {
    color: var(--gold); font-size: .88rem; letter-spacing: 2px;
    margin-bottom: 1.5rem; opacity: .95; font-weight: 600;
    text-shadow: 0 0 14px rgba(187, 143, 74,0.4);
    display: inline-flex; align-items: center; gap: .5rem;
}
.badge-sparkle { color: var(--gold-light); font-size: .8rem; }

.hero-title { font-size: clamp(3rem, 8.5vw, 6.2rem); font-weight: 800; line-height: 1.08; margin-bottom: 1.4rem; color: var(--text-title); perspective: 600px; }
.hero-title .line { display: block; }
.hero-title .gold {
    background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 25%, var(--text-title) 50%, var(--gold-light) 75%, var(--gold) 100%);
    background-size: 250% auto;
    -webkit-background-clip: text; background-clip: text; color: transparent;
    animation: heroShimmer 4s linear infinite;
    transition: text-shadow .3s ease;
}
.hero-title .gold:hover { text-shadow: 0 0 30px rgba(187, 143, 74, 0.6); }
@keyframes heroShimmer { to { background-position: -250% center; } }

.hero-sub { font-size: 1.25rem; color: var(--text-muted); margin-bottom: 2.5rem; max-width: 700px; margin-left: auto; margin-right: auto; }

.hero-btns { display: flex; gap: 1.2rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3.5rem; }

.hero-stats {
    display: flex; align-items: center; justify-content: center; gap: 2rem;
    background: var(--glass);
    backdrop-filter: blur(var(--glass-blur)); -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--border-strong);
    padding: 1.2rem 2.5rem; border-radius: 20px;
    max-width: 680px; margin: 0 auto;
    box-shadow: var(--shadow-card);
}
.stat { text-align: center; }
.stat-num { font-size: 1.8rem; font-weight: 800; color: var(--gold); line-height: 1; margin-bottom: .3rem; }
.stat-label { font-size: .78rem; color: var(--text-muted); white-space: nowrap; font-weight: 500; }
.stat-divider { width: 1px; height: 35px; background: var(--border); }

.hero-scroll-hint {
    position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
    z-index: 4; display: flex; flex-direction: column; align-items: center; gap: .5rem;
    font-size: .75rem; color: var(--text-muted); opacity: .75;
}
.scroll-dot {
    width: 6px; height: 10px; border-radius: 99px; background: var(--gold);
    animation: scrollBounce 1.8s infinite;
}
@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(8px); opacity: .3; }
}

@media (max-width: 640px) {
    .hero-stats { flex-direction: column; gap: 1rem; padding: 1.2rem; }
    .stat-divider { width: 60%; height: 1px; }
}

/* ─── SECTION STYLING & DIVIDERS ───────────────────────────────── */
.story-section { padding: 7rem 1.5rem; position: relative; }
.story-section.dark { background: var(--bg-section-alt); }

.section-inner { max-width: 1140px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header .eyebrow {
    color: var(--gold); font-size: .85rem; letter-spacing: 2px; text-transform: uppercase;
    margin-bottom: .6rem; display: inline-block; font-weight: 700;
}
.section-header h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; margin-bottom: .8rem; color: var(--text-title); }
.section-header p { color: var(--text-muted); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }

.hair-divider { width: 100%; height: 35px; fill: none; stroke: var(--border); stroke-width: 1.5; margin: -1rem 0; }

/* ─── SERVICES GRID: "Atelier Ledger" — numbered like a real menu of services ── */
.services-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1.8rem;
    counter-reset: ledger;
}

.service-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px; padding: 2rem;
    box-shadow: var(--shadow-card);
    transition: transform .4s cubic-bezier(0.16, 1, 0.3, 1), border-color .3s ease, box-shadow .3s ease;
    display: flex; flex-direction: column; justify-content: space-between;
    counter-increment: ledger;
    overflow: hidden;
}
.service-card::before {
    content: counter(ledger, decimal-leading-zero);
    position: absolute; top: -.4rem; left: 1rem;
    font-size: 3.6rem; font-weight: 800; line-height: 1;
    color: var(--gold); opacity: .1; letter-spacing: -2px;
    pointer-events: none;
}
.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold);
    box-shadow: 0 20px 40px -10px rgba(187, 143, 74, 0.22);
}

.service-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.2rem; position: relative; z-index: 1; }
.service-icon { font-size: 2.2rem; filter: drop-shadow(0 0 10px rgba(187,143,74,0.35)); }
.service-category-badge {
    font-size: .75rem; color: var(--gold); font-weight: 600;
    background: var(--gold-dim); border: 1px solid var(--border);
    padding: .25rem .7rem; border-radius: 99px;
}

.service-card h3 { font-size: 1.3rem; margin-bottom: .6rem; color: var(--text-title); position: relative; z-index: 1; }
.service-card p { font-size: .9rem; color: var(--text-muted); margin-bottom: 1.8rem; flex-grow: 1; position: relative; z-index: 1; }

.service-meta {
    display: flex; align-items: center; justify-content: space-between;
    padding-top: 1rem; border-top: 1px solid var(--border);
    margin-bottom: 1.2rem;
}
.price-box .label { font-size: .75rem; color: var(--text-muted); display: block; }
.price-box .price { font-size: 1.15rem; font-weight: 800; color: var(--gold); }
.duration-box { font-size: .85rem; color: var(--text-muted); }

/* ─── BEFORE & AFTER SLIDER ────────────────────────────────────── */
.transformation-container { max-width: 900px; margin: 0 auto; }
.ba-slider {
    position: relative; width: 100%; height: 500px; border-radius: 24px;
    overflow: hidden; border: 1px solid var(--border-strong);
    box-shadow: var(--shadow-card); user-select: none; touch-action: pan-y;
}
.ba-image {
    position: absolute; inset: 0; background-size: cover; background-position: center;
}
.ba-before { width: 50%; border-left: 2px solid var(--gold); }
.ba-badge {
    position: absolute; top: 1.2rem; padding: .4rem 1rem; border-radius: 99px;
    font-size: .8rem; font-weight: 700; backdrop-filter: blur(10px);
}
.ba-badge.after { left: 1.2rem; background: var(--glass); color: var(--gold); border: 1px solid var(--border); }
.ba-badge.before { right: 1.2rem; background: var(--glass); color: var(--text-title); border: 1px solid var(--border); }

.ba-handle {
    position: absolute; top: 0; bottom: 0; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    cursor: ew-resize; z-index: 10;
}
.ba-handle-line { width: 2px; height: 100%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.ba-handle-button {
    width: 44px; height: 44px; border-radius: 50%; background: var(--gold); color: #241a0d;
    display: flex; align-items: center; justify-content: center; font-weight: 900;
    box-shadow: 0 0 20px rgba(187, 143, 74,0.8);
}

@media (max-width: 640px) { .ba-slider { height: 340px; } }

/* ─── STYLISTS GRID ────────────────────────────────────────────── */
.stylists-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2rem; }

.stylist-card {
    background: var(--bg-card);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--border);
    border-radius: 20px; overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all .4s cubic-bezier(0.16, 1, 0.3, 1);
}
.stylist-card:hover { transform: translateY(-8px); border-color: var(--gold); }

.stylist-photo-wrapper { position: relative; width: 100%; height: 280px; overflow: hidden; background: var(--bg-card-2); }
.stylist-photo-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.stylist-card:hover .stylist-photo-wrapper img { transform: scale(1.06); }
.stylist-avatar {
    width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
    font-size: 4rem; font-weight: 800; color: var(--gold); background: var(--bg-card-2);
}
.stylist-rating-badge {
    position: absolute; bottom: 1rem; right: 1rem;
    background: var(--glass); backdrop-filter: blur(10px);
    border: 1px solid var(--border); color: var(--gold);
    padding: .3rem .7rem; border-radius: 99px; font-size: .82rem; font-weight: 700;
}

.stylist-info { padding: 1.5rem; text-align: center; }
.stylist-info h3 { font-size: 1.25rem; margin-bottom: .3rem; color: var(--text-title); }
.stylist-info .specialty { color: var(--gold); font-size: .88rem; font-weight: 600; margin-bottom: .4rem; }
.stylist-info .stylist-exp { color: var(--text-muted); font-size: .8rem; margin-bottom: 1.2rem; }

/* ─── AI SECTION ───────────────────────────────────────────────── */
.ai-section { position: relative; overflow: hidden; }
.ai-bg-glow {
    position: absolute; top: -10%; left: 50%; transform: translateX(-50%);
    width: 700px; height: 700px; border-radius: 50%;
    background: radial-gradient(circle, var(--gold-dim), transparent 70%);
    pointer-events: none;
}

.ai-form-wrapper {
    max-width: 820px; margin: 0 auto;
    background: var(--glass); backdrop-filter: blur(var(--glass-blur)); -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--border-strong); border-radius: 24px;
    padding: 2.8rem; position: relative; z-index: 1;
    box-shadow: var(--shadow-card);
}
.ai-form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.2rem; margin-bottom: 1rem; }
.form-group label { display: block; font-size: .82rem; color: var(--text-muted); margin-bottom: .5rem; font-weight: 600; }
.form-group select {
    width: 100%; padding: .85rem 1rem; border-radius: 12px;
    background: var(--bg-card-2); border: 1px solid var(--border); color: var(--text);
    font-size: .9rem; appearance: none; cursor: pointer; transition: border-color .3s;
}
.form-group select:focus { border-color: var(--gold); outline: none; }

.ai-result { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.ai-result-header h3 { font-size: 1.25rem; margin-bottom: 1.3rem; color: var(--gold); }

.suggestion-item {
    background: var(--bg-card-2); border: 1px solid var(--border); border-radius: 14px;
    padding: 1.4rem; margin-bottom: 1rem;
}
.suggestion-item h4 { margin-bottom: .5rem; color: var(--gold); font-size: 1.1rem; }
.suggestion-price { color: var(--gold); font-weight: 700; margin-top: .6rem; font-size: .95rem; }

/* ─── PORTFOLIO MASONRY ────────────────────────────────────────── */
.portfolio-filter { display: flex; gap: .8rem; justify-content: center; margin-bottom: 3rem; flex-wrap: wrap; }
.filter-btn {
    background: var(--bg-card); border: 1px solid var(--border); color: var(--text-muted);
    padding: .6rem 1.4rem; border-radius: 99px; font-size: .88rem; transition: all .3s; font-weight: 500;
}
.filter-btn:hover, .filter-btn.active { background: var(--gold); color: #241a0d; border-color: var(--gold); font-weight: 700; }

.portfolio-masonry {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}
.portfolio-item {
    position: relative; border-radius: 18px; overflow: hidden; height: 320px;
    width: calc(33.333% - 1rem); min-width: 270px; flex-grow: 1; max-width: 380px;
    border: 1px solid var(--border); background: var(--bg-card-2);
    cursor: pointer;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.45s ease, filter 0.45s ease, order 0.3s ease;
}
.portfolio-media { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.portfolio-item:hover .portfolio-media { transform: scale(1.08); }

/* Badges */
.portfolio-media-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 10;
    padding: 0.35rem 0.8rem;
    border-radius: 30px;
    font-size: 0.78rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}
.video-badge {
    background: rgba(220, 38, 38, 0.85);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: videoBadgeGlow 2.5s infinite alternate;
}
@keyframes videoBadgeGlow {
    from { box-shadow: 0 0 10px rgba(220, 38, 38, 0.4); }
    to { box-shadow: 0 0 20px rgba(220, 38, 38, 0.85); }
}
.photo-badge {
    background: rgba(18, 18, 24, 0.8);
    color: var(--gold, #d9b06e);
    border: 1px solid rgba(217, 176, 110, 0.35);
}

.portfolio-item .play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.65);
    border: 2px solid var(--gold, #d9b06e);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    padding-left: 3px;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 5;
    pointer-events: none;
}
.portfolio-item:hover .play-icon {
    transform: translate(-50%, -50%) scale(1.15);
    background: var(--gold, #d9b06e);
    color: #120e06;
    box-shadow: 0 0 25px rgba(217, 176, 110, 0.6);
}

/* Dimmed / Filter States */
.portfolio-item.is-dimmed {
    opacity: 0.28 !important;
    filter: grayscale(85%) contrast(85%) !important;
    transform: scale(0.96) !important;
}
.portfolio-item.is-dimmed:hover {
    opacity: 0.7 !important;
    filter: grayscale(20%) !important;
    transform: scale(1) !important;
}

.portfolio-overlay {
    position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,0.88) 0%, transparent 60%);
    display: flex; flex-direction: column; justify-content: flex-end; padding: 1.5rem;
    opacity: 0; transition: opacity .4s ease;
    z-index: 8;
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-overlay h4 { font-size: 1.15rem; color: #fff; margin-bottom: .3rem; }
.portfolio-overlay span { font-size: .82rem; color: var(--gold-light); }

/* ─── VIDEO LIGHTBOX MODAL ─────────────────────────────────────── */
.video-modal-overlay {
    position: fixed; inset: 0; background: rgba(5,5,8,0.92);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    z-index: 999999; display: flex; align-items: center; justify-content: center;
    padding: 1.5rem; opacity: 0; visibility: hidden; transition: all 0.3s ease;
}
.video-modal-overlay.active { opacity: 1; visibility: visible; }
.video-modal-container {
    background: #111116; border: 1px solid rgba(217,176,110,0.35); border-radius: 24px;
    width: 100%; max-width: 820px; overflow: hidden; position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.9), 0 0 35px rgba(217,176,110,0.2);
    animation: videoPop 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes videoPop { from { transform: scale(0.92); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.video-modal-close {
    position: absolute; top: 16px; left: 16px; width: 38px; height: 38px; border-radius: 50%;
    background: rgba(0,0,0,0.6); border: 1px solid rgba(255,255,255,0.2); color: #fff;
    cursor: pointer; z-index: 20; display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
    transition: all 0.2s;
}
.video-modal-close:hover { background: #ef4444; border-color: #ef4444; }
.video-modal-player-wrap { width: 100%; background: #000; display: flex; justify-content: center; }
.video-modal-info { padding: 1.2rem 1.6rem; border-top: 1px solid rgba(255,255,255,0.08); direction: rtl; }

/* ─── PUBLIC REVIEW SUBMISSION MODAL ──────────────────────────── */
.review-modal-overlay {
    position: fixed; inset: 0; background: rgba(5,5,8,0.85);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    z-index: 999999; display: flex; align-items: center; justify-content: center;
    padding: 1.5rem; opacity: 0; visibility: hidden; transition: all 0.3s ease; direction: rtl;
}
.review-modal-overlay.active { opacity: 1; visibility: visible; }
.review-modal-box {
    background: #141419; border: 1px solid rgba(217,176,110,0.3); border-radius: 24px;
    width: 100%; max-width: 540px; box-shadow: 0 25px 60px rgba(0,0,0,0.85);
    animation: revPop 0.35s cubic-bezier(0.16, 1, 0.3, 1); overflow: hidden;
}
@keyframes revPop { from { transform: scale(0.92); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.review-modal-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1.2rem 1.6rem; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.review-modal-title { font-size: 1.15rem; font-weight: 700; color: #fff; display: flex; align-items: center; gap: 0.5rem; }
.review-modal-close {
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
    color: #a0a0b8; width: 34px; height: 34px; border-radius: 50%; cursor: pointer;
    display: flex; align-items: center; justify-content: center; font-size: 1rem;
}
.review-form-body { padding: 1.5rem 1.6rem; }
.review-form-group { margin-bottom: 1.2rem; }
.review-form-group label { display: block; font-size: 0.88rem; color: #d0d0e0; margin-bottom: 0.45rem; font-weight: 600; }
.review-form-group input, .review-form-group textarea {
    width: 100%; background: #0c0c10; border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px; padding: 0.75rem 1rem; color: #fff; font-family: inherit; font-size: 0.92rem;
    transition: all 0.25s;
}
.review-form-group input:focus, .review-form-group textarea:focus {
    border-color: var(--gold, #d9b06e); outline: none; box-shadow: 0 0 15px rgba(217,176,110,0.25);
}
.star-rating-selector { display: flex; gap: 0.4rem; direction: ltr; justify-content: flex-end; }
.star-btn {
    font-size: 1.8rem; color: rgba(255,255,255,0.2); cursor: pointer; transition: all 0.2s;
    user-select: none;
}
.star-btn.active, .star-btn:hover { color: var(--gold, #d9b06e); transform: scale(1.15); }
.review-modal-footer {
    display: flex; justify-content: flex-end; gap: 0.8rem; padding: 1.2rem 1.6rem;
    border-top: 1px solid rgba(255,255,255,0.08); background: rgba(255,255,255,0.02);
}

/* ─── REVIEWS SLIDER ───────────────────────────────────────────── */
.reviews-slider-wrapper {
    position: relative;
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.reviews-viewport {
    overflow: hidden;
    width: 100%;
    border-radius: 24px;
}

.reviews-slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    width: 100%;
}

.review-slide-item {
    min-width: 100%;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    padding: 0.5rem;
}

.review-card {
    width: 100%;
    max-width: 620px;
    background: var(--bg-card-2);
    border: 1px solid rgba(217, 176, 110, 0.35);
    border-radius: 24px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.45);
    padding: 2.2rem 2.4rem;
    transition: transform 0.3s ease;
    direction: rtl;
    text-align: right;
    position: relative;
}

.review-stars { 
    margin-bottom: 1.1rem; 
    font-size: 1.25rem; 
    display: flex;
    gap: 0.2rem;
    justify-content: flex-start;
    direction: rtl;
    text-align: right;
}
.review-body-text {
    color: #f3f3f8;
    font-size: 1.05rem;
    margin-bottom: 1.6rem;
    min-height: 3.2em;
    line-height: 1.8;
    font-weight: 500;
    direction: rtl;
    text-align: right;
}
.reviewer { 
    display: flex; 
    align-items: center; 
    gap: 1rem; 
    direction: rtl;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.2rem;
}
.reviewer-avatar {
    width: 48px; height: 48px; border-radius: 50%; background: var(--gold-dim); color: var(--gold);
    display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.1rem; flex-shrink: 0;
    border: 1.5px solid var(--gold);
}
.reviewer-info { text-align: right; }
.reviewer-name { font-size: 0.98rem; font-weight: 700; color: var(--text-title); margin-bottom: 0.2rem; }
.reviewer-date { font-size: 0.8rem; color: var(--text-muted); }

.slider-nav-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(20, 20, 28, 0.9);
    border: 1px solid rgba(217, 176, 110, 0.4);
    color: var(--gold, #d9b06e);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.25s ease;
    z-index: 5;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    user-select: none;
}

.slider-nav-btn:hover {
    background: var(--gold, #d9b06e);
    color: #120e06;
    transform: scale(1.12);
    box-shadow: 0 0 20px rgba(217, 176, 110, 0.5);
}

.reviews-dots {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 1.6rem;
}

.review-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.review-dot.active {
    width: 28px;
    border-radius: 12px;
    background: var(--gold, #d9b06e);
    box-shadow: 0 0 10px rgba(217, 176, 110, 0.6);
}

@media (max-width: 640px) {
    .reviews-slider-wrapper {
        gap: 0.3rem;
    }
    .slider-nav-btn {
        width: 38px;
        height: 38px;
        font-size: 1.2rem;
    }
    .review-card {
        padding: 1.5rem;
    }
}

/* ─── VIP CTA ──────────────────────────────────────────────────── */
.cta-section { padding: 6rem 1.5rem; text-align: center; }
.cta-inner {
    max-width: 720px; margin: 0 auto;
    background: linear-gradient(135deg, var(--gold-dim), rgba(187, 143, 74,.02));
    border: 1px solid var(--border-strong); border-radius: 28px; padding: 4rem 2rem;
    box-shadow: var(--shadow-card); position: relative; overflow: hidden;
}
.cta-badge { color: var(--gold); font-size: .85rem; letter-spacing: 2px; margin-bottom: 1rem; font-weight: 700; }
.cta-inner h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 1rem; color: var(--text-title); }
.cta-inner p { color: var(--text-muted); margin-bottom: 2.2rem; font-size: 1.05rem; }

/* ─── FOOTER ───────────────────────────────────────────────────── */
.footer {
    background: var(--glass-navbar); backdrop-filter: blur(var(--glass-blur));
    border-top: 1px solid var(--border); padding: 3.5rem 1.5rem 2rem;
}
.footer-inner { max-width: 1100px; margin: 0 auto; text-align: center; }
.footer-logo { font-size: 1.4rem; font-weight: 800; margin-bottom: 1.5rem; color: var(--text-title); }
.footer-logo span { color: var(--gold); }
.footer-links { display: flex; gap: 1.8rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.5rem; }
.footer-links a { color: var(--text-muted); font-size: .9rem; transition: color .25s; font-weight: 500; }
.footer-links a:hover { color: var(--gold); }
.footer-social { display: flex; gap: 1.2rem; justify-content: center; margin-bottom: 1.5rem; font-size: 1.4rem; }
.footer-copy { font-size: .8rem; color: var(--text-muted); opacity: .8; }

/* ─── EXPLICIT LIGHT THEME OVERRIDES (0-TO-100 LIGHT TRANSFORMATION) ────── */
[data-theme="light"] {
    background: var(--bg-dark);
}
[data-theme="light"] .hero-video-bg {
    filter: brightness(0.95) contrast(1.02);
}
[data-theme="light"] .hero-image-fallback {
    filter: brightness(0.95) contrast(1.02);
}
[data-theme="light"] .floater {
    opacity: .35;
    filter: sepia(.6) saturate(1.8) hue-rotate(-10deg);
}
[data-theme="light"] .hero-ambient-spotlight {
    opacity: .35;
}
[data-theme="light"] .btn-secondary {
    background: rgba(156, 113, 40, 0.1);
    border-color: rgba(156, 113, 40, 0.3);
    color: var(--text-title);
}
[data-theme="light"] .btn-secondary:hover {
    background: rgba(156, 113, 40, 0.2);
}
[data-theme="light"] .portfolio-overlay {
    background: linear-gradient(0deg, rgba(250,246,240,0.96) 0%, rgba(250,246,240,0.4) 60%, transparent 100%);
}
[data-theme="light"] .portfolio-overlay h4 {
    color: var(--text-title);
}
[data-theme="light"] .portfolio-overlay span {
    color: var(--gold);
    font-weight: 600;
}
[data-theme="light"] .ba-handle-button {
    box-shadow: 0 0 20px rgba(156, 113, 40,0.6);
}

/* ─── PERFORMANCE OPTIMIZATIONS ────────────────────────────────── */
#portfolio, #reviews, #ai-section {
    content-visibility: auto;
    contain-intrinsic-size: 1px 800px;
}
