@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
    --primary-gradient: linear-gradient(135deg, #3F5EFB 0%, #00B4D8 100%); /* Electric cobalt to brand sky blue */
    --bg-dark-plum: #050A21; /* Midnight sapphire black */
    --bg-darker: #02040D; /* Abyssal sapphire black */
    --bg-light-cream: #F0F6FC; /* Pale ice-blue luxury cream */
    --color-accent: #D4FF1A; /* Premium vibrant chartreuse */
    --color-accent-hover: #bde600;
    --text-light: #FFFFFF;
    --text-dark: #0A1128; /* Midnight navy */
    --text-muted-light: #C2D0E6; /* Cool slate blue-gray */
    --text-muted-dark: #516385; /* Deep slate blue */
    --border-light: rgba(255, 255, 255, 0.15);
    --border-dark: rgba(10, 17, 40, 0.08);
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-blur: blur(12px);
    --shadow-soft: 0 10px 30px rgba(0, 180, 216, 0.08); /* Luminous sky blue glow */
    --shadow-premium: 0 20px 40px rgba(0, 0, 0, 0.3);
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Outfit', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-dark-plum);
    color: var(--text-light);
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--bg-dark-plum);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

button {
    font-family: var(--font-sans);
    border: none;
    outline: none;
    cursor: pointer;
    background: none;
    transition: var(--transition-smooth);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Typography Utilities */
.serif-title {
    font-family: var(--font-serif);
    font-weight: 400;
}

.serif-italic {
    font-family: var(--font-serif);
    font-style: italic;
}

/* Component Buttons */
.btn-primary {
    background-color: var(--color-accent);
    color: var(--text-dark);
    font-weight: 600;
    padding: 0.85rem 1.75rem;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(212, 255, 26, 0.2);
}

.btn-primary svg {
    width: 20px;
    height: 20px;
    transition: var(--transition-smooth);
    fill: currentColor;
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 255, 26, 0.45);
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

.btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--text-light);
    font-weight: 500;
    padding: 0.85rem 1.75rem;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    backdrop-filter: blur(5px);
}

.btn-secondary svg {
    width: 18px;
    height: 18px;
    transition: var(--transition-smooth);
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

.btn-secondary:hover {
    border-color: var(--text-light);
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.btn-secondary:hover svg {
    transform: translateX(4px);
}

/* Navigation Bar */
header {
    position: fixed;
    top: 40px; /* Shifted down to accommodate the top promo announcement bar */
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.25rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(5, 10, 33, 0.65); /* Scrolled background Midnight sapphire overlay */
    backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
}

header.scrolled {
    top: 0; /* Align to viewport top when scrolling */
    padding: 0.9rem 5%;
    background-color: rgba(5, 10, 33, 0.9); /* Fully opaque Scrolled background */
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.logo {
    display: inline-flex;
    align-items: flex-end;
    font-family: var(--font-serif);
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0.5px;
    font-size: 1.8rem;
    line-height: 1;
}

.logo-nail {
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-right: 0.25rem;
    color: var(--text-light);
    font-family: var(--font-serif);
}

.logo-edit {
    display: inline-flex;
    align-items: flex-end;
    line-height: 0.9;
}

.logo-e {
    color: #00B4D8; /* Stylized sky blue color from original logo asset */
    font-size: 2.3rem; /* Prominent taller capital E */
    font-weight: 700;
    font-family: var(--font-serif);
    line-height: 0.8;
}

.logo-dit {
    font-weight: 400; /* Normal weight for lowercase dit */
    color: var(--text-light);
    font-size: 1.35rem; /* Standard letter height */
    margin-left: -0.05rem; /* overlap tracking */
    margin-bottom: 0.1rem;
    text-transform: lowercase;
    font-family: var(--font-serif);
}

.logo-tm {
    font-size: 0.52rem;
    font-weight: 700;
    vertical-align: super;
    margin-left: 0.15rem;
    color: var(--text-muted-light);
    align-self: flex-start;
    margin-top: 0.25rem;
    font-family: var(--font-serif);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.2rem;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-muted-light);
    position: relative;
    padding: 0.25rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background-color: var(--color-accent);
    transition: var(--transition-smooth);
}

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

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--text-light);
}

.nav-links a.active::after {
    width: 100%;
    background-color: #00B4D8;
}

.burger-menu {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.burger-menu span {
    width: 28px;
    height: 2px;
    background-color: var(--text-light);
    transition: var(--transition-smooth);
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 11.5rem 5% 7.5rem; /* Expanded top padding to fit top announcement bar */
    background: var(--primary-gradient);
    overflow: hidden;
}

/* ── White nail doodle wallpaper ────────────────────────────────
   Pure-CSS approach: an inline SVG data-URI pattern tiled as a
   background on a ::before pseudo-element.  Zero new HTML.
   The SVG tile (200×200) contains five hand-drawn-style shapes:
     • two almond nail silhouettes at different rotations
     • one round nail shape
     • one polish bottle outline
     • one sparkle/star doodle
   All stroked in white, no fill, so the coral gradient shines
   through.  Opacity kept at ~7% for maximum subtlety.
──────────────────────────────────────────────────────────────── */
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1; /* above gradient, below z-index:10 content */
    pointer-events: none;
    opacity: 0.07;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3C!-- Almond nail 1, tilted -20deg, top-left --%3E%3Cg transform='translate(38,52) rotate(-20)'%3E%3Cellipse cx='0' cy='0' rx='11' ry='26' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'/%3E%3Cellipse cx='0' cy='18' rx='11' ry='8' fill='none' stroke='white' stroke-width='1.5'/%3E%3C/g%3E%3C!-- Almond nail 2, tilted +25deg, right-center --%3E%3Cg transform='translate(172,110) rotate(25)'%3E%3Cellipse cx='0' cy='0' rx='10' ry='24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'/%3E%3Cellipse cx='0' cy='16' rx='10' ry='7' fill='none' stroke='white' stroke-width='1.5'/%3E%3C/g%3E%3C!-- Round nail, center-left --%3E%3Cg transform='translate(65,150) rotate(5)'%3E%3Cellipse cx='0' cy='0' rx='10' ry='20' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'/%3E%3Cellipse cx='0' cy='13' rx='10' ry='7' fill='none' stroke='white' stroke-width='1.5'/%3E%3C/g%3E%3C!-- Polish bottle outline, top-right --%3E%3Cg transform='translate(148,38) rotate(12)'%3E%3Crect x='-8' y='-18' width='16' height='28' rx='5' fill='none' stroke='white' stroke-width='2'/%3E%3Crect x='-4' y='-26' width='8' height='10' rx='3' fill='none' stroke='white' stroke-width='1.5'/%3E%3Cline x1='-5' y1='-5' x2='5' y2='-5' stroke='white' stroke-width='1.2' opacity='0.6'/%3E%3C/g%3E%3C!-- 4-point sparkle, bottom-right --%3E%3Cg transform='translate(185,175)'%3E%3Cpath d='M0,-9 L2,-2 L9,0 L2,2 L0,9 L-2,2 L-9,0 L-2,-2 Z' fill='none' stroke='white' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/g%3E%3C!-- Tiny 3-point sparkle, bottom-left --%3E%3Cg transform='translate(22,188)'%3E%3Cpath d='M0,-5 L1,-1 L5,0 L1,1 L0,5 L-1,1 L-5,0 L-1,-1 Z' fill='none' stroke='white' stroke-width='1.2' stroke-linejoin='round'/%3E%3C/g%3E%3C!-- Tiny almond nail, bottom-center --%3E%3Cg transform='translate(108,195) rotate(-8)'%3E%3Cellipse cx='0' cy='0' rx='7' ry='16' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round'/%3E%3Cellipse cx='0' cy='11' rx='7' ry='5' fill='none' stroke='white' stroke-width='1.3'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 220px 220px;
    background-repeat: repeat;
    background-position: 0 0;
}

.hero-container {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 4rem;
    position: relative;
    z-index: 10;
}

.hero-content {
    display: flex;
    flex-direction: flex-start;
    flex-direction: column;
}

.hero-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--color-accent); /* Neon chartreuse yellow contrast */
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.45rem 1.15rem;
    border-radius: 50px;
    margin-bottom: 1.8rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    width: fit-content;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.hero-title {
    font-size: clamp(3rem, 5.5vw, 4.8rem);
    line-height: 1.08;
    color: var(--text-light);
    margin-bottom: 2.2rem;
    letter-spacing: -1.5px;
}

.hero-ctas {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
}

.hero-promises {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.promise-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.promise-item svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: var(--color-accent);
    stroke-width: 2.5;
}

/* Hero Image & Badge Wrapper */
.hero-image-wrapper {
    position: relative;
    justify-self: center;
}

.hero-image-container {
    width: 440px;
    height: 480px;
    border-radius: 200px 200px 40px 40px;
    overflow: hidden;
    border: 8px solid rgba(255, 255, 255, 0.15);
    box-shadow: var(--shadow-premium);
    position: relative;
}

.hero-image-container img {
    width: 100%;
    height: 100%;
    object-position: center;
    transition: transform 6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-image-container:hover img {
    transform: scale(1.08);
}

/* Rotating Badge */
.rotating-badge {
    position: absolute;
    bottom: -15px;
    right: -25px;
    width: 140px;
    height: 140px;
    background-color: var(--bg-dark-plum);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.08);
    z-index: 20;
}

.rotating-badge svg {
    width: 100%;
    height: 100%;
    animation: rotate 15s linear infinite;
    fill: var(--text-light);
}

.rotating-badge .badge-star {
    position: absolute;
    color: var(--color-accent);
    font-size: 1.3rem;
}

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

/* Curve Divider styling */
.curve-divider {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.curve-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 70px;
    fill: var(--bg-dark-plum);
}

/* Color In Motion Section */
.motion-section {
    padding: 7rem 5% 5rem;
    background-color: var(--bg-dark-plum);
    position: relative;
}

.motion-container {
    max-width: 1300px;
    margin: 0 auto;
}

.motion-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3.5rem;
    gap: 2rem;
}

.motion-title-area {
    max-width: 600px;
}

.section-label {
    color: #00B4D8;
    font-size: 0.95rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 0.8rem;
    display: block;
}

.motion-title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    line-height: 1.15;
    color: var(--text-light);
}

.motion-title span {
    color: #00B4D8;
}

.motion-title .sparkle {
    display: inline-block;
    color: var(--color-accent);
    margin-left: 0.3rem;
    animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; }
    50% { transform: scale(1.2) rotate(15deg); opacity: 0.8; }
}

.motion-desc {
    color: var(--text-muted-light);
    font-size: 1.1rem;
    margin-top: 1rem;
    font-weight: 300;
}

.carousel-nav {
    display: flex;
    gap: 1rem;
}

.carousel-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    background-color: rgba(255, 255, 255, 0.02);
}

.carousel-btn svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    transition: var(--transition-smooth);
}

.carousel-btn:hover {
    background-color: #00B4D8;
    border-color: #00B4D8;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 180, 216, 0.25);
}

.carousel-btn:hover svg {
    stroke: var(--text-light);
}

/* Slider Track Layout */
.carousel-viewport {
    overflow: hidden;
    padding: 1rem 0;
    margin-bottom: 4rem;
}

.carousel-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-card {
    flex: 0 0 calc(33.333% - 1.33rem);
    min-width: 320px;
    height: 480px;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.carousel-card img {
    width: 100%;
    height: 100%;
    transition: transform 0.8s var(--transition-smooth);
}

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

.carousel-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2.2rem;
    background: linear-gradient(to top, rgba(5, 10, 33, 0.95) 0%, rgba(5, 10, 33, 0.4) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.card-tag {
    font-size: 0.75rem;
    color: var(--color-accent);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
}

.card-title {
    font-size: 1.5rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Marquee ribbon stylings */
.marquee-container {
    width: 100vw;
    margin-left: calc(-5% - 0.5px);
    background-color: var(--bg-darker);
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 1.25rem 0;
    overflow: hidden;
    white-space: nowrap;
    display: flex;
}

.marquee-content {
    display: inline-flex;
    animation: marquee 25s linear infinite;
    gap: 3rem;
}

.marquee-item {
    font-size: 1.15rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-light);
    letter-spacing: 3px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.marquee-item span.star {
    color: var(--color-accent);
    font-size: 1.4rem;
}

@keyframes marquee {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

/* Signature Sets Section */
.signature-section {
    padding: 8rem 5%;
    background: linear-gradient(135deg, #00B4D8 0%, #3F5EFB 100%);
    position: relative;
    overflow: hidden;
}

/* Nail doodle wallpaper — offset tile so it doesn't align with hero */
.signature-section::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.06;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3C!-- Almond nail, top-center, angled right --%3E%3Cg transform='translate(105,45) rotate(30)'%3E%3Cellipse cx='0' cy='0' rx='10' ry='25' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'/%3E%3Cellipse cx='0' cy='17' rx='10' ry='7' fill='none' stroke='white' stroke-width='1.5'/%3E%3C/g%3E%3C!-- Polish bottle, left --%3E%3Cg transform='translate(38,100) rotate(-15)'%3E%3Crect x='-9' y='-20' width='18' height='32' rx='6' fill='none' stroke='white' stroke-width='2'/%3E%3Crect x='-5' y='-29' width='10' height='11' rx='3' fill='none' stroke='white' stroke-width='1.5'/%3E%3Cline x1='-6' y1='-6' x2='6' y2='-6' stroke='white' stroke-width='1.2' opacity='0.5'/%3E%3C/g%3E%3C!-- Stiletto nail, bottom-right --%3E%3Cg transform='translate(162,148) rotate(-18)'%3E%3Cellipse cx='0' cy='0' rx='9' ry='28' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'/%3E%3Cellipse cx='0' cy='20' rx='9' ry='7' fill='none' stroke='white' stroke-width='1.5'/%3E%3C/g%3E%3C!-- 4-point star, top-left --%3E%3Cg transform='translate(28,30)'%3E%3Cpath d='M0,-8 L2,-2 L8,0 L2,2 L0,8 L-2,2 L-8,0 L-2,-2 Z' fill='none' stroke='white' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/g%3E%3C!-- Tiny nail, center --%3E%3Cg transform='translate(100,110) rotate(10)'%3E%3Cellipse cx='0' cy='0' rx='7' ry='17' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round'/%3E%3Cellipse cx='0' cy='11' rx='7' ry='5' fill='none' stroke='white' stroke-width='1.3'/%3E%3C/g%3E%3C!-- Sparkle dot cluster, bottom-left --%3E%3Cg transform='translate(40,175)'%3E%3Ccircle cx='0' cy='0' r='2' fill='white'/%3E%3Ccircle cx='8' cy='-4' r='1.2' fill='white'/%3E%3Ccircle cx='-6' cy='5' r='1.5' fill='white'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 200px 200px;
    background-repeat: repeat;
    background-position: 60px 40px;
}

.signature-container {
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.signature-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4.5rem;
    gap: 2rem;
}

.signature-title-area {
    max-width: 600px;
}

.signature-title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    color: var(--text-light);
}

.signature-desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    margin-top: 1rem;
    font-weight: 300;
}

.signature-menu-link {
    color: var(--text-light);
    font-size: 1.05rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding-bottom: 0.3rem;
    border-bottom: 2px solid var(--text-light);
}

.signature-menu-link svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    transition: var(--transition-smooth);
}

.signature-menu-link:hover svg {
    transform: translateX(5px);
}

/* Signature Showcase Grid */
.signature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.2rem;
}

.signature-card {
    background-color: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 2.5rem 2.2rem;
    backdrop-filter: var(--glass-blur);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 420px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: pointer;
}

.signature-card:hover,
.signature-card:focus-within,
.signature-card.active {
    background-color: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.28);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 
                0 0 25px rgba(255, 255, 255, 0.05);
}

.card-icon-wrapper {
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    transform-origin: top left;
}

.signature-card:hover .card-icon-wrapper,
.signature-card:focus-within .card-icon-wrapper,
.signature-card.active .card-icon-wrapper {
    opacity: 0;
    transform: translateY(-20px) scale(0.8);
    pointer-events: none;
    margin-bottom: 0;
    height: 0;
    overflow: hidden;
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.8rem;
}

.card-icon svg {
    width: 32px;
    height: 32px;
    fill: none;
    stroke: var(--text-light);
    stroke-width: 1.5;
}

.card-text-content {
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.sig-card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 0.8rem;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.signature-card:hover .sig-card-title,
.signature-card:focus-within .sig-card-title,
.signature-card.active .sig-card-title {
    transform: translateY(-5px);
    color: var(--color-accent);
}

.sig-card-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
    line-height: 1.6;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.signature-card:hover .sig-card-desc,
.signature-card:focus-within .sig-card-desc,
.signature-card.active .sig-card-desc {
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    height: 0;
    margin: 0;
    overflow: hidden;
}

/* Sub-Services Container */
.sub-services-wrapper {
    margin-top: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    pointer-events: none;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.signature-card:hover .sub-services-wrapper,
.signature-card:focus-within .sub-services-wrapper,
.signature-card.active .sub-services-wrapper {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.sub-services-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.sub-service-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.sub-service-item:last-child {
    border-bottom: none;
}

.sub-service-name {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    transition: all 0.3s ease;
}

.sub-service-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.sub-service-item:hover {
    padding-left: 6px;
}

.sub-service-item:hover .sub-service-name {
    color: var(--color-accent);
    text-shadow: 0 0 10px rgba(212, 255, 26, 0.3);
}

.sub-service-item:hover .sub-service-dot {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    box-shadow: 0 0 8px var(--color-accent);
    transform: scale(1.3);
}

/* Card Reveal Footer */
.card-reveal-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal-prompt {
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    transition: all 0.3s ease;
}

.reveal-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.reveal-arrow svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    transition: all 0.3s ease;
}

.signature-card:hover .card-reveal-footer,
.signature-card:focus-within .card-reveal-footer,
.signature-card.active .card-reveal-footer {
    opacity: 0;
    transform: translateY(15px);
    pointer-events: none;
}

/* Our Legacy Section */
.legacy-section {
    padding: 8rem 5%;
    background-color: var(--bg-light-cream);
    color: var(--text-dark);
    position: relative;
}

.legacy-container {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.legacy-content {
    display: flex;
    flex-direction: column;
}

.legacy-title {
    font-size: clamp(2.4rem, 4vw, 3.4rem);
    line-height: 1.12;
    color: var(--text-dark);
    margin-bottom: 1.2rem;
}

.legacy-desc {
    color: var(--text-muted-dark);
    font-size: 1.05rem;
    margin-bottom: 3rem;
    font-weight: 300;
    max-width: 500px;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 3.5rem;
    max-width: 480px;
}

.stat-item {
    border-left: 2px solid rgba(0, 180, 216, 0.15);
    padding-left: 1.5rem;
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 700;
    color: #00B4D8;
    line-height: 1;
    margin-bottom: 0.5rem;
    font-family: var(--font-sans);
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-muted-dark);
    font-weight: 500;
    text-transform: capitalize;
}

/* Legacy Gallery Collage */
.legacy-gallery {
    display: grid;
    grid-template-columns: 1fr 0.95fr;
    gap: 1.5rem;
    height: 540px;
}

.gallery-large {
    grid-row: span 2;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(255, 58, 96, 0.05);
    border: 1px solid rgba(30, 7, 26, 0.04);
}

.gallery-large img {
    width: 100%;
    height: 100%;
}

.gallery-small {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.04);
    border: 1px solid rgba(30, 7, 26, 0.04);
}

.gallery-small img {
    width: 100%;
    height: 100%;
}

/* Footer / CTA section styling */
.footer-cta {
    padding: 7.5rem 5% 4rem;
    background-color: var(--bg-dark-plum);
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255,255,255,0.04);
}

/* Nail doodle wallpaper on dark footer — slightly brighter opacity
   since it's on near-black so it still reads subtly */
.footer-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3C!-- Large almond nail, upper right --%3E%3Cg transform='translate(185,60) rotate(15)'%3E%3Cellipse cx='0' cy='0' rx='13' ry='30' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round'/%3E%3Cellipse cx='0' cy='21' rx='13' ry='9' fill='none' stroke='white' stroke-width='1.6'/%3E%3C/g%3E%3C!-- Polish bottle, top-left --%3E%3Cg transform='translate(50,55) rotate(8)'%3E%3Crect x='-10' y='-22' width='20' height='36' rx='7' fill='none' stroke='white' stroke-width='2.2'/%3E%3Crect x='-6' y='-32' width='12' height='12' rx='4' fill='none' stroke='white' stroke-width='1.6'/%3E%3Cline x1='-7' y1='-8' x2='7' y2='-8' stroke='white' stroke-width='1.2' opacity='0.5'/%3E%3C/g%3E%3C!-- Slim nail, center --%3E%3Cg transform='translate(120,130) rotate(-22)'%3E%3Cellipse cx='0' cy='0' rx='8' ry='22' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round'/%3E%3Cellipse cx='0' cy='15' rx='8' ry='6' fill='none' stroke='white' stroke-width='1.3'/%3E%3C/g%3E%3C!-- 4-point star bottom-left --%3E%3Cg transform='translate(35,195)'%3E%3Cpath d='M0,-10 L2.5,-2.5 L10,0 L2.5,2.5 L0,10 L-2.5,2.5 L-10,0 L-2.5,-2.5 Z' fill='none' stroke='white' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/g%3E%3C!-- Tiny sparkle top-center --%3E%3Cg transform='translate(115,22)'%3E%3Cpath d='M0,-6 L1.5,-1.5 L6,0 L1.5,1.5 L0,6 L-1.5,1.5 L-6,0 L-1.5,-1.5 Z' fill='none' stroke='white' stroke-width='1.4' stroke-linejoin='round'/%3E%3C/g%3E%3C!-- Dot trio bottom-right --%3E%3Cg transform='translate(200,200)'%3E%3Ccircle cx='0' cy='0' r='2.5' fill='white'/%3E%3Ccircle cx='-10' cy='-5' r='1.5' fill='white'/%3E%3Ccircle cx='7' cy='-9' r='1.8' fill='white'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 240px 240px;
    background-repeat: repeat;
    background-position: 20px 80px;
}

.cta-banner {
    max-width: 1300px;
    margin: 0 auto 5.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    background: linear-gradient(135deg, rgba(0, 180, 216, 0.06) 0%, rgba(63, 94, 251, 0.03) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 32px;
    padding: 4rem;
    backdrop-filter: var(--glass-blur);
    position: relative;
    z-index: 2;
}

.cta-text-area {
    max-width: 600px;
}

.cta-title {
    font-size: clamp(2.2rem, 3.5vw, 2.8rem);
    color: var(--text-light);
    margin-bottom: 0.8rem;
    line-height: 1.15;
}

.cta-subtitle {
    color: var(--text-muted-light);
    font-size: 1.1rem;
    font-weight: 300;
}

.footer-top {
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 0.9fr 1fr 1.1fr 1fr;
    gap: 3.5rem;
    padding-bottom: 4.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand-col {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.footer-tagline {
    font-size: 0.92rem;
    color: var(--text-muted-light);
    font-style: italic;
}

.footer-col-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.footer-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.info-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(0, 180, 216, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00B4D8;
    flex-shrink: 0;
}

.info-icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

.info-detail {
    font-size: 0.92rem;
    color: var(--text-muted-light);
    line-height: 1.5;
}

.info-detail strong {
    display: block;
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 0.15rem;
}

.footer-phone-line {
    display: block;
    font-variant-numeric: tabular-nums;
    line-height: 1.55;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted-light);
    font-size: 1.1rem;
}

.social-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.social-btn:hover {
    background-color: #00B4D8;
    border-color: #00B4D8;
    color: var(--text-light);
    transform: translateY(-3px);
}

.footer-nav-links {
    list-style: none;
}

.footer-nav-links li {
    margin-bottom: 0.85rem;
}

.footer-nav-links a {
    font-size: 0.95rem;
    color: var(--text-muted-light);
}

.footer-nav-links a:hover {
    color: var(--text-light);
    padding-left: 4px;
}

.footer-bottom {
    max-width: 1300px;
    margin: 0 auto;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted-dark);
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a:hover {
    color: var(--text-muted-light);
}

/* Modals / Booking Popup */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(5, 10, 33, 0.85); /* Midnight sapphire dark modal overlay */
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-card {
    background-color: var(--bg-dark-plum);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow-premium);
    width: 90%;
    max-width: 520px;
    border-radius: 28px;
    padding: 3rem;
    position: relative;
    transform: translateY(30px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-card {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-muted-light);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255,255,255,0.02);
}

.modal-close:hover {
    background-color: rgba(255,255,255,0.1);
    color: var(--text-light);
}

.modal-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.modal-desc {
    color: var(--text-muted-light);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-size: 0.85rem;
    color: var(--text-muted-light);
    font-weight: 500;
}

.form-group input, .form-group select {
    background-color: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 0.9rem 1.2rem;
    color: var(--text-light);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.form-group input:focus, .form-group select:focus {
    border-color: #00B4D8;
    box-shadow: 0 0 12px rgba(0, 180, 216, 0.15);
    background-color: rgba(255,255,255,0.06);
}

.form-group select option {
    background-color: var(--bg-dark-plum);
    color: var(--text-light);
}

.booking-form .btn-primary {
    justify-content: center;
    padding: 1rem;
    margin-top: 1rem;
}

/* Media Queries (Responsive Styling) */
@media (max-width: 1200px) {
    .signature-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-ctas, .hero-promises {
        justify-content: center;
    }
    
    .hero-image-wrapper {
        margin-top: 2rem;
    }
    
    .legacy-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .legacy-gallery {
        height: 480px;
    }
    
    .carousel-card {
        flex: 0 0 calc(50% - 1rem);
    }
}

@media (max-width: 768px) {
    header {
        padding: 1.2rem 6%;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 340px;
        height: 100vh;
        background-color: rgba(5, 10, 33, 0.98); /* Scrolled background Mobile nav links overlay */
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        z-index: 999;
        transition: var(--transition-smooth);
        border-left: 1px solid rgba(255,255,255,0.06);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .burger-menu {
        display: flex;
        z-index: 1000;
    }
    
    .burger-menu.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }
    
    .burger-menu.active span:nth-child(2) {
        opacity: 0;
    }
    
    .burger-menu.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -7px);
    }
    
    .header-cta {
        display: none; /* Hide top CTA button on mobile header */
    }
    
    .signature-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-banner {
        padding: 3rem 2rem;
        text-align: center;
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-image-container {
        width: 300px;
        height: 340px;
    }
    
    .rotating-badge {
        width: 110px;
        height: 110px;
        bottom: -5px;
        right: -15px;
    }
    
    .carousel-card {
        flex: 0 0 100%;
    }
    
    .signature-grid {
        grid-template-columns: 1fr;
    }
    
    .signature-card {
        height: 420px;
    }
    
    .legacy-gallery {
        grid-template-columns: 1fr;
        height: auto;
    }
    
    .gallery-large {
        height: 340px;
    }
    
    .gallery-small {
        height: 220px;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .modal-card {
        padding: 2rem 1.5rem;
    }
}

/* ── Chatbot Widget Container ── */
.chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    font-family: var(--font-sans);
}

/* Premium Nail-shaped Chat Bubble */
.chat-bubble {
    width: 68px;
    height: 96px; /* Taller than width to make a beautiful sculpted nail shape */
    background: linear-gradient(135deg, #3F5EFB 0%, #00B4D8 100%);
    border: 3px solid rgba(255, 255, 255, 0.25);
    /* Almond/stiletto nail shape using border-radius */
    border-radius: 40px 40px 15px 15px / 65px 65px 25px 25px;
    box-shadow: 0 10px 25px rgba(63, 94, 251, 0.35),
                inset 0 4px 10px rgba(255, 255, 255, 0.4),
                inset 0 -4px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    transition: var(--transition-smooth);
    overflow: visible;
}

/* Glassy shine overlay for the nail */
.chat-bubble::after {
    content: '';
    position: absolute;
    top: 5%;
    left: 15%;
    width: 25%;
    height: 50%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0) 100%);
    border-radius: 40px 10px 10px 10px;
    pointer-events: none;
}

.chat-bubble:hover {
    transform: translateY(-8px) scale(1.05) rotate(5deg);
    box-shadow: 0 15px 35px rgba(63, 94, 251, 0.5),
                inset 0 4px 12px rgba(255, 255, 255, 0.5);
    border-color: rgba(255, 255, 255, 0.4);
}

.nail-art-icon {
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(2px);
    transition: var(--transition-smooth);
}

.nail-art-icon svg {
    width: 28px;
    height: 28px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.nail-sparkle {
    position: absolute;
    top: 10%;
    right: 15%;
    color: var(--color-accent);
    font-size: 1.4rem;
    font-family: var(--font-serif);
    animation: chatSparkle 2s infinite ease-in-out;
}

@keyframes chatSparkle {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; filter: drop-shadow(0 0 2px var(--color-accent)); }
    50% { transform: scale(1.3) rotate(30deg); opacity: 0.6; filter: drop-shadow(0 0 5px var(--color-accent)); }
}

/* Chat Window Panel */
.chat-window {
    position: absolute;
    bottom: 115px;
    right: 0;
    width: 380px;
    height: 520px;
    background: rgba(5, 10, 33, 0.95); /* Midnight sapphire dark panel */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    box-shadow: var(--shadow-premium), 0 10px 40px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0.8) translateY(20px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: bottom right;
}

.chat-window.active {
    transform: scale(1) translateY(0);
    opacity: 1;
    pointer-events: auto;
}

/* Chat Header */
.chat-header {
    background: linear-gradient(135deg, rgba(0, 180, 216, 0.15) 0%, rgba(63, 94, 251, 0.05) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.2rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #3F5EFB 0%, #00B4D8 100%);
    border-radius: 12px 12px 4px 4px / 16px 16px 6px 6px; /* mini nail shape */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(63, 94, 251, 0.2);
}

.chat-bot-name {
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text-light);
    letter-spacing: 0.3px;
}

.chat-bot-status {
    font-size: 0.78rem;
    color: var(--text-muted-light);
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.05rem;
}

.status-dot {
    width: 6px;
    height: 6px;
    background-color: var(--color-accent); /* Neon chartreuse */
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px var(--color-accent);
}

.chat-close {
    font-size: 1.1rem;
    color: var(--text-muted-light);
    background: none;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    padding: 0.3rem;
}

.chat-close:hover {
    color: var(--text-light);
    transform: scale(1.1);
}

/* Chat Body (Messages) */
.chat-body {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    scroll-behavior: smooth;
}

/* Chat message bubbles */
.chat-msg {
    display: flex;
    max-width: 85%;
}

.bot-msg {
    align-self: flex-start;
}

.user-msg {
    align-self: flex-end;
}

.chat-msg-bubble {
    padding: 0.85rem 1.15rem;
    border-radius: 18px;
    font-size: 0.92rem;
    line-height: 1.5;
}

.bot-msg .chat-msg-bubble {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-muted-light);
    border-bottom-left-radius: 4px;
}

.bot-msg .chat-msg-bubble strong {
    color: var(--text-light);
}

.user-msg .chat-msg-bubble {
    background: var(--primary-gradient);
    color: var(--text-light);
    border-bottom-right-radius: 4px;
    box-shadow: 0 4px 15px rgba(63, 94, 251, 0.15);
}

/* Typing Indicator Bouncing Dots */
.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 4px 8px;
    align-items: center;
}

.typing-dot {
    width: 6px;
    height: 6px;
    background-color: var(--text-muted-light);
    border-radius: 50%;
    animation: bounceTyping 1.4s infinite ease-in-out both;
}

.typing-dot:nth-child(1) { animation-delay: -0.32s; }
.typing-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes bounceTyping {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

/* Chat Quick Replies */
.chat-quick-replies {
    padding: 0.8rem 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    background-color: rgba(0, 0, 0, 0.15);
}

.quick-reply-btn {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-muted-light);
    border-radius: 12px;
    padding: 0.45rem 0.85rem;
    font-size: 0.82rem;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.quick-reply-btn:hover {
    background-color: rgba(0, 180, 216, 0.1);
    border-color: rgba(0, 180, 216, 0.3);
    color: var(--text-light);
    transform: translateY(-1px);
}

/* Chat Footer (Input) */
.chat-footer {
    padding: 1rem 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    gap: 0.75rem;
    align-items: center;
    background-color: rgba(5, 10, 33, 0.98); /* Scrolled background Chat footer Midnight sapphire overlay */
}

.chat-input {
    flex: 1;
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 0.75rem 1rem;
    color: var(--text-light);
    font-size: 0.9rem;
    font-family: var(--font-sans);
    transition: var(--transition-smooth);
}

.chat-input:focus {
    border-color: #00B4D8;
    outline: none;
    background-color: rgba(255, 255, 255, 0.06);
}

.chat-send-btn {
    width: 42px;
    height: 42px;
    background-color: var(--color-accent);
    color: var(--text-dark);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.chat-send-btn svg {
    width: 18px;
    height: 18px;
    transform: translate(-1px, 1px);
}

.chat-send-btn:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 255, 26, 0.3);
}

.chat-action-inline-btn {
    margin-top: 0.8rem;
    display: inline-flex;
    width: 100%;
    justify-content: center;
    font-size: 0.85rem;
    padding: 0.6rem 1.2rem;
}

@media (max-width: 576px) {
    .chat-window {
        width: calc(100vw - 40px);
        right: -10px;
        bottom: 110px;
        height: 480px;
    }
}

/* ── Promo Announcement Bar ── */
.promo-bar {
    width: 100%;
    height: 40px;
    background: linear-gradient(90deg, #3F5EFB 0%, #00B4D8 100%);
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
    z-index: 1001; /* Layer above navigation bar */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.promo-marquee {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
}

.promo-marquee-content {
    display: inline-flex;
    animation: promoMarquee 35s linear infinite;
    gap: 4rem;
}

.promo-marquee-content span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 2px;
}

@keyframes promoMarquee {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}
