/* ============================================================
   ARRIVAL GUIDE – DEMO PAGE – ULTRA PREMIUM 3D SPECTACULAR
   Senior Web Developer – 30 Years Experience
   Matching Homepage Design Language
   ============================================================ */

/* ---- BASE ---- */
*, *::before, *::after { box-sizing: border-box; }

.demo-body {
    background: #e8eef4;
    min-height: 100vh;
    font-family: var(--font);
    color: #1a2540;
    overflow-x: hidden;
    cursor: none;
}

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */
.cursor-dot {
    position: fixed; top: 0; left: 0;
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--primary-light);
    pointer-events: none; z-index: 99999;
    transform: translate(-50%, -50%);
    transition: transform .1s ease, background .3s ease;
    mix-blend-mode: screen;
}
.cursor-ring {
    position: fixed; top: 0; left: 0;
    width: 36px; height: 36px; border-radius: 50%;
    border: 1.5px solid rgba(129,154,171,0.5);
    pointer-events: none; z-index: 99998;
    transform: translate(-50%, -50%);
    transition: transform .15s cubic-bezier(.34,1.2,.64,1), width .3s ease, height .3s ease, opacity .3s ease;
}
.cursor-glow {
    position: fixed; top: 0; left: 0;
    width: 300px; height: 300px; border-radius: 50%;
    background: radial-gradient(circle, rgba(129,154,171,0.06) 0%, transparent 70%);
    pointer-events: none; z-index: 0;
    transform: translate(-50%, -50%);
    transition: transform .4s ease;
}

/* ============================================================
   BACKGROUND – Animated 3D Scene
   ============================================================ */
.demo-bg {
    position: fixed; inset: 0; z-index: 0; pointer-events: none;
    background: linear-gradient(145deg, #dce6f0 0%, #e8eef4 50%, #dfe8f2 100%);
    overflow: hidden;
}
.demo-bg::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 70% 50% at 15% 25%, rgba(129,154,171,.35) 0%, transparent 60%),
        radial-gradient(ellipse 55% 45% at 85% 75%, rgba(173,149,109,.22) 0%, transparent 60%),
        radial-gradient(ellipse 35% 35% at 50% 5%, rgba(129,154,171,.2) 0%, transparent 50%);
    animation: bgMeshMove 14s ease-in-out infinite alternate;
}
@keyframes bgMeshMove {
    0% { opacity: .7; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.05); }
}
.demo-bg::after {
    content: '';
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(129,154,171,.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(129,154,171,.12) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, black 0%, transparent 100%);
}

/* Floating 3D Orbs */
.demo-orb {
    position: absolute; border-radius: 50%;
    filter: blur(60px); pointer-events: none;
    animation: orbFloat 10s ease-in-out infinite;
}
.demo-orb-1 {
    width: 500px; height: 500px; top: -120px; left: -120px;
    background: radial-gradient(circle, rgba(129,154,171,.4) 0%, transparent 70%);
    animation-duration: 12s;
}
.demo-orb-2 {
    width: 380px; height: 380px; bottom: 80px; right: -100px;
    background: radial-gradient(circle, rgba(173,149,109,.3) 0%, transparent 70%);
    animation-duration: 9s; animation-delay: -3s;
}
.demo-orb-3 {
    width: 250px; height: 250px; top: 50%; left: 50%;
    background: radial-gradient(circle, rgba(129,154,171,.25) 0%, transparent 70%);
    animation-duration: 15s; animation-delay: -7s;
}
@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 15px) scale(0.97); }
}

/* Particle Canvas */
#demoCanvas {
    position: absolute; inset: 0;
    pointer-events: none; z-index: 0; opacity: .5;
}

/* ============================================================
   DEMO HEADER – Glassmorphism Dark
   ============================================================ */
.demo-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 32px;
    background: rgba(255,255,255,0.75);
    backdrop-filter: blur(24px) saturate(200%);
    -webkit-backdrop-filter: blur(24px) saturate(200%);
    border-bottom: 1px solid rgba(129,154,171,0.3);
    position: sticky; top: 0; z-index: 100;
    box-shadow: 0 4px 24px rgba(129,154,171,0.15), 0 1px 0 rgba(129,154,171,0.12);
}
/* Top shimmer line */
.demo-header::after {
    content: '';
    position: absolute; bottom: 0; left: 15%; right: 15%; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(129,154,171,0.3), rgba(173,149,109,0.2), transparent);
    pointer-events: none;
}

.demo-back {
    display: flex; align-items: center; gap: 8px;
    color: #4a6070; text-decoration: none;
    font-size: .88rem; font-weight: 500;
    padding: 8px 16px; border-radius: 100px;
    border: 1px solid rgba(129,154,171,.35);
    background: rgba(255,255,255,.7);
    transition: all .3s ease;
    position: relative; overflow: hidden;
}
.demo-back::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(129,154,171,.1), transparent);
    opacity: 0; transition: opacity .3s;
}
.demo-back:hover {
    color: #1a2540;
    background: rgba(255,255,255,.95);
    border-color: rgba(129,154,171,.6);
    transform: translateX(-3px);
    box-shadow: 0 4px 15px rgba(129,154,171,.2);
}
.demo-back:hover::before { opacity: 1; }

.demo-powered {
    display: flex; align-items: center; gap: 8px;
    font-size: .85rem; color: rgba(42,62,80,.6);
}
.demo-powered strong { color: #1a2540; font-weight: 600; }

.demo-badge-demo {
    background: linear-gradient(135deg, rgba(173,149,109,.3), rgba(173,149,109,.1));
    border: 1px solid rgba(173,149,109,.5);
    color: #d4b87a;
    padding: 6px 16px; border-radius: 100px;
    font-size: .72rem; font-weight: 800;
    letter-spacing: .1em; text-transform: uppercase;
    animation: demoBadgePulse 3s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(173,149,109,.15);
}
@keyframes demoBadgePulse {
    0%,100% { box-shadow: 0 0 0 0 rgba(173,149,109,0), 0 0 20px rgba(173,149,109,.1); }
    50% { box-shadow: 0 0 0 6px rgba(173,149,109,0), 0 0 30px rgba(173,149,109,.25); }
}

/* ============================================================
   DEMO WRAPPER + LAYOUT
   ============================================================ */
.demo-wrapper {
    display: flex; gap: 40px; align-items: flex-start;
    max-width: 1060px; margin: 50px auto 120px;
    padding: 0 24px;
    position: relative; z-index: 1;
}

/* ============================================================
   PHONE FRAME – Ultra Premium 3D
   ============================================================ */
.demo-phone-frame {
    flex-shrink: 0;
    width: 365px;
    background: linear-gradient(145deg, #1e2e42, #152234);
    border-radius: 56px;
    padding: 22px;
    position: relative; z-index: 1;
    box-shadow:
        0 70px 140px rgba(0,0,0,0.65),
        0 25px 50px rgba(0,0,0,0.4),
        inset 0 1px 0 rgba(255,255,255,0.09),
        inset 0 -1px 0 rgba(0,0,0,0.35),
        0 0 0 1.5px rgba(129,154,171,0.22),
        0 0 100px rgba(129,154,171,0.1),
        0 0 200px rgba(173,149,109,0.05);
    transform: perspective(1400px) rotateY(-5deg) rotateX(2deg);
    animation: phoneIdleFloat 7s ease-in-out infinite;
    transition: transform .5s cubic-bezier(.34,1.2,.64,1), box-shadow .5s ease;
}
.demo-phone-frame:hover {
    transform: perspective(1400px) rotateY(0deg) rotateX(0deg) scale(1.015);
    box-shadow:
        0 90px 170px rgba(0,0,0,0.7),
        0 35px 70px rgba(0,0,0,0.45),
        inset 0 1px 0 rgba(255,255,255,0.12),
        0 0 0 1.5px rgba(129,154,171,0.4),
        0 0 120px rgba(129,154,171,0.18),
        0 0 60px rgba(173,149,109,0.1);
}
@keyframes phoneIdleFloat {
    0%,100% { transform: perspective(1400px) rotateY(-5deg) rotateX(2deg) translateY(0px); }
    50% { transform: perspective(1400px) rotateY(-5deg) rotateX(2deg) translateY(-14px); }
}

/* Phone glass reflection */
.demo-phone-frame::before {
    content: '';
    position: absolute; inset: 0; border-radius: 56px;
    background: linear-gradient(135deg,
        rgba(255,255,255,0.09) 0%,
        rgba(255,255,255,0.03) 30%,
        transparent 60%,
        rgba(255,255,255,0.02) 100%);
    pointer-events: none; z-index: 10;
}

/* Side power button */
.demo-phone-frame::after {
    content: '';
    position: absolute;
    right: -3.5px; top: 110px;
    width: 3.5px; height: 65px;
    background: linear-gradient(180deg, rgba(129,154,171,.35), rgba(129,154,171,.15));
    border-radius: 0 4px 4px 0;
    box-shadow: 0 85px 0 rgba(129,154,171,.2), 0 115px 0 rgba(129,154,171,.15);
}

.demo-phone-notch {
    width: 115px; height: 28px;
    background: #0c1622;
    border-radius: 0 0 20px 20px;
    margin: 0 auto 14px;
    display: flex; align-items: center; justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.03);
}
.demo-phone-notch::before {
    content: '';
    width: 40px; height: 5px; border-radius: 3px;
    background: rgba(255,255,255,0.06);
}
.demo-phone-notch::after {
    content: '';
    width: 9px; height: 9px; border-radius: 50%;
    background: radial-gradient(circle, #1c2a3c, #0e1a2a);
    border: 1px solid rgba(129,154,171,0.25);
    box-shadow: inset 0 0 5px rgba(129,154,171,0.1);
}

.demo-phone-screen {
    background: linear-gradient(180deg, #f0f5fa 0%, #e8f0f7 100%);
    border-radius: 40px;
    overflow: hidden;
    min-height: 650px;
    position: relative;
    border: 1px solid rgba(129,154,171,0.1);
    box-shadow: inset 0 0 30px rgba(0,0,0,0.3);
}

/* ============================================================
   SCREENS
   ============================================================ */
.demo-screen {
    display: none;
    min-height: 650px;
    flex-direction: column;
    animation: screenSlideIn .4s cubic-bezier(.34,1.2,.64,1);
}
.demo-screen.active { display: flex; }

@keyframes screenSlideIn {
    from { opacity: 0; transform: translateX(24px) scale(0.97); }
    to { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes screenSlideBack {
    from { opacity: 0; transform: translateX(-24px) scale(0.97); }
    to { opacity: 1; transform: translateX(0) scale(1); }
}

/* ============================================================
   SCREEN HEADER
   ============================================================ */
.screen-header {
    padding: 18px 20px 12px;
    background: rgba(255,255,255,0.9);
    border-bottom: 1px solid rgba(129,154,171,0.25);
    display: flex; align-items: center; gap: 12px;
    backdrop-filter: blur(10px);
}
.progress-bar {
    flex: 1; height: 3px;
    background: rgba(129,154,171,0.2);
    border-radius: 3px; overflow: hidden;
}
.progress-bar .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-light), var(--accent));
    border-radius: 3px; transition: width .7s cubic-bezier(.34,1.2,.64,1);
    box-shadow: 0 0 10px rgba(129,154,171,0.5), 0 0 20px rgba(129,154,171,0.2);
}
.step-info {
    font-size: .72rem; color: rgba(42,62,80,.5);
    white-space: nowrap; font-weight: 600; letter-spacing: .03em;
}
.back-btn {
    background: rgba(129,154,171,.12);
    border: 1px solid rgba(129,154,171,.3);
    cursor: pointer;
    color: #4a6070; padding: 6px 10px;
    font-size: .9rem; border-radius: 10px;
    transition: all .25s ease; flex-shrink: 0;
}
.back-btn:hover {
    color: #1a2540;
    background: rgba(129,154,171,.25);
    border-color: rgba(129,154,171,.5);
    transform: translateX(-2px);
}

/* ============================================================
   SCREEN CONTENT
   ============================================================ */
.screen-content {
    padding: 20px; display: flex; flex-direction: column; gap: 12px; flex: 1;
}
.screen-content h3 {
    font-size: 1.1rem; font-weight: 800; color: #1a2540;
    letter-spacing: -.02em;
}
.screen-content > p { font-size: .83rem; color: rgba(42,62,80,.7); }

/* ============================================================
   WELCOME SCREEN – Cinematic Dark
   ============================================================ */
.screen-welcome {
    display: flex; flex-direction: column; height: 100%;
}
.hotel-hero-img {
    height: 195px;
    background: linear-gradient(135deg, #2a3e58 0%, #344f72 50%, #2c4460 100%);
    display: flex; align-items: center; justify-content: center;
    font-size: 4.5rem;
    position: relative; overflow: hidden;
}
.hotel-hero-img::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 30% 40%, rgba(129,154,171,.18) 0%, transparent 60%),
        radial-gradient(ellipse 60% 80% at 80% 80%, rgba(173,149,109,.12) 0%, transparent 60%);
    animation: heroImgShimmer 5s ease-in-out infinite alternate;
}
@keyframes heroImgShimmer {
    0% { opacity: .5; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.08); }
}
.hotel-hero-img::after {
    content: '';
    position: absolute; bottom: 0; left: 0; right: 0; height: 70px;
    background: linear-gradient(to top, #f0f5fa, transparent);
}

/* Scan line effect on hero image */
.hotel-hero-img .scan-line {
    position: absolute; top: 0; left: 0; right: 0;
    height: 2px; background: rgba(129,154,171,0.15);
    animation: scanDown 4s linear infinite;
    z-index: 2;
}
@keyframes scanDown {
    0% { top: 0; opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

.welcome-content {
    padding: 24px 20px; flex: 1; display: flex; flex-direction: column; gap: 8px;
    background: linear-gradient(180deg, #f0f5fa 0%, #e8f0f7 100%);
}
.hotel-logo-placeholder-big {
    width: 58px; height: 58px;
    background: rgba(129,154,171,.1);
    border: 1px solid rgba(129,154,171,.25);
    border-radius: 18px; display: flex; align-items: center;
    justify-content: center; font-size: 1.8rem; margin-bottom: 8px;
    box-shadow: 0 4px 25px rgba(129,154,171,.15), 0 0 0 1px rgba(255,255,255,.04);
    animation: logoGlow 4s ease-in-out infinite;
}
@keyframes logoGlow {
    0%,100% { box-shadow: 0 4px 25px rgba(129,154,171,.15), 0 0 0 1px rgba(255,255,255,.04); }
    50% { box-shadow: 0 4px 35px rgba(129,154,171,.3), 0 0 0 1px rgba(255,255,255,.06); }
}
.welcome-content h2 {
    font-size: 1.4rem; font-weight: 900; color: #1a2540;
    letter-spacing: -.03em;
}
.welcome-content h3 {
    font-size: 1rem; color: var(--primary-dark); font-weight: 600;
}
.welcome-content p {
    font-size: .83rem; color: rgba(42,62,80,.7); line-height: 1.5;
}
.welcome-tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 4px 0; }
.welcome-tags span {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(129,154,171,.15);
    border: 1px solid rgba(129,154,171,.3);
    border-radius: 100px;
    padding: 5px 12px; font-size: .75rem;
    color: #3a5265; font-weight: 500;
    transition: all .3s ease;
}
.welcome-tags span:hover {
    background: rgba(129,154,171,.28);
    border-color: rgba(129,154,171,.5);
    color: #1a2540;
}
.welcome-tags i { color: var(--accent); }

/* ============================================================
   ARRIVAL OPTIONS GRID – 3D Cards
   ============================================================ */
.options-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.option-card {
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    padding: 18px 12px;
    border: 1.5px solid rgba(129,154,171,.3);
    border-radius: 18px;
    background: rgba(255,255,255,.8);
    cursor: pointer; font-size: .85rem; font-weight: 600; color: #2c3e50;
    transition: all .35s cubic-bezier(.34,1.56,.64,1); font-family: var(--font);
    position: relative; overflow: hidden;
    transform-style: preserve-3d;
    box-shadow: 0 2px 12px rgba(129,154,171,.15);
}
.option-card::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(129,154,171,.12), rgba(173,149,109,.06));
    opacity: 0; transition: opacity .3s ease;
}
.option-card::after {
    content: '';
    position: absolute; top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.06), transparent);
    transition: left .5s ease;
}
.option-card:hover {
    border-color: var(--primary);
    background: rgba(255,255,255,.98);
    color: #1a2540;
    transform: translateY(-5px) scale(1.04);
    box-shadow:
        0 15px 40px rgba(129,154,171,.3),
        0 0 0 2px rgba(129,154,171,.2),
        inset 0 1px 0 rgba(255,255,255,.9);
}
.option-card:hover::before { opacity: 1; }
.option-card:hover::after { left: 100%; }

.option-icon {
    width: 54px; height: 54px; border-radius: 15px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; transition: transform .35s cubic-bezier(.34,1.56,.64,1);
    position: relative;
}
.option-card:hover .option-icon { transform: scale(1.15) rotate(6deg) translateZ(10px); }
.option-icon.car   { background: rgba(37,99,235,.18);   color: #93c5fd; box-shadow: 0 4px 15px rgba(37,99,235,.2); }
.option-icon.train { background: rgba(5,150,105,.18);   color: #6ee7b7; box-shadow: 0 4px 15px rgba(5,150,105,.2); }
.option-icon.bike  { background: rgba(173,149,109,.18); color: #d4b87a; box-shadow: 0 4px 15px rgba(173,149,109,.2); }
.option-icon.bus   { background: rgba(109,40,217,.18);  color: #c4b5fd; box-shadow: 0 4px 15px rgba(109,40,217,.2); }

/* ============================================================
   INFO SCREENS
   ============================================================ */
.info-image {
    height: 115px; border-radius: 18px; margin-bottom: 4px;
    display: flex; align-items: center; justify-content: center;
    font-size: 2.5rem; position: relative; overflow: hidden;
}
.info-image::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,.06), transparent);
}
.info-image i { font-size: 2.5rem; position: relative; z-index: 1; }
.car-park   { background: linear-gradient(135deg, rgba(37,99,235,.28), rgba(37,99,235,.1)); border: 1px solid rgba(37,99,235,.22); color: #93c5fd; }
.train-park { background: linear-gradient(135deg, rgba(5,150,105,.28), rgba(5,150,105,.1)); border: 1px solid rgba(5,150,105,.22); color: #6ee7b7; }
.bus-park   { background: linear-gradient(135deg, rgba(109,40,217,.28), rgba(109,40,217,.1)); border: 1px solid rgba(109,40,217,.22); color: #c4b5fd; }
.checkin-img { background: linear-gradient(135deg, rgba(173,149,109,.28), rgba(173,149,109,.1)); border: 1px solid rgba(173,149,109,.32); color: #d4b87a; }

.info-card {
    background: rgba(255,255,255,.85);
    border: 1px solid rgba(129,154,171,.25);
    border-radius: 16px; padding: 14px;
    position: relative; overflow: hidden;
    transition: border-color .3s ease;
    box-shadow: 0 2px 10px rgba(129,154,171,.12);
}
.info-card::before {
    content: ''; position: absolute;
    top: 0; left: 20%; right: 20%; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(129,154,171,.35), transparent);
}
.info-card:hover { border-color: rgba(129,154,171,.45); box-shadow: 0 4px 18px rgba(129,154,171,.2); }

.info-card.highlight-card {
    background: rgba(255,249,240,.9);
    border-color: rgba(173,149,109,.35);
}
.info-card.highlight-card::before {
    background: linear-gradient(90deg, transparent, rgba(173,149,109,.4), transparent);
}
.info-row { display: flex; gap: 10px; margin-bottom: 8px; }
.info-row:last-child { margin-bottom: 0; }
.info-row i { color: var(--primary); flex-shrink: 0; margin-top: 3px; font-size: .88rem; }
.info-row p { font-size: .8rem; color: rgba(42,62,80,.72); line-height: 1.5; }
.info-row p strong { color: #1a2540; }
.code-highlight {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white; padding: 2px 10px; border-radius: 6px;
    font-family: 'Courier New', monospace; font-size: .9rem; font-weight: 800;
    box-shadow: 0 2px 10px rgba(129,154,171,.4);
    animation: codeGlow 3s ease-in-out infinite;
}
@keyframes codeGlow {
    0%,100% { box-shadow: 0 2px 10px rgba(129,154,171,.4); }
    50% { box-shadow: 0 2px 18px rgba(129,154,171,.7); }
}

.map-button {
    display: flex; align-items: center; gap: 8px; justify-content: center;
    background: rgba(129,154,171,.1);
    border: 1px solid rgba(129,154,171,.28);
    color: var(--primary-light);
    padding: 10px; border-radius: 13px; font-weight: 600; font-size: .82rem;
    text-decoration: none; transition: all .3s cubic-bezier(.34,1.56,.64,1);
    position: relative; overflow: hidden;
}
.map-button::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(129,154,171,.12), transparent);
    opacity: 0; transition: opacity .3s;
}
.map-button:hover {
    background: rgba(129,154,171,.2);
    border-color: rgba(129,154,171,.5);
    color: white; transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(129,154,171,.15);
}
.map-button:hover::before { opacity: 1; }

/* ============================================================
   AUDIO PLAYER
   ============================================================ */
.audio-player {
    display: flex; align-items: center; gap: 12px;
    background: rgba(129,154,171,.07);
    border: 1px solid rgba(129,154,171,.18);
    border-radius: 13px; padding: 10px 14px;
    transition: all .3s ease;
}
.audio-player:hover {
    background: rgba(129,154,171,.12);
    border-color: rgba(129,154,171,.3);
}
.audio-btn {
    width: 40px; height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white; border: none; border-radius: 50%;
    cursor: pointer; font-size: .85rem;
    display: flex; align-items: center; justify-content: center;
    transition: all .35s cubic-bezier(.34,1.56,.64,1);
    box-shadow: 0 4px 18px rgba(129,154,171,.4), inset 0 1px 0 rgba(255,255,255,.15);
    flex-shrink: 0;
}
.audio-btn:hover { transform: scale(1.15); box-shadow: 0 8px 25px rgba(129,154,171,.55); }
.audio-player > span { font-size: .8rem; color: rgba(255,255,255,.6); font-weight: 500; }

/* ============================================================
   VIDEO EXPLAINER – 3D Card
   ============================================================ */
.video-explainer {
    display: flex; align-items: center; gap: 12px;
    background: rgba(9,14,25,.8);
    border: 1px solid rgba(129,154,171,.16);
    border-radius: 15px; padding: 12px 14px;
    cursor: pointer; transition: all .35s cubic-bezier(.34,1.56,.64,1);
    position: relative; overflow: hidden;
}
.video-explainer::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(129,154,171,.06), transparent);
    opacity: 0; transition: opacity .3s;
}
.video-explainer:hover {
    background: rgba(129,154,171,.1);
    border-color: rgba(129,154,171,.35);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0,0,0,.35), 0 0 20px rgba(129,154,171,.08);
}
.video-explainer:hover::before { opacity: 1; }
.video-thumbnail {
    width: 58px; height: 42px; border-radius: 9px;
    background: rgba(129,154,171,.1); position: relative;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; flex-shrink: 0;
}
.video-play-icon {
    position: relative; z-index: 1;
    color: white; font-size: 1.4rem;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,.6));
    transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}
.video-explainer:hover .video-play-icon { transform: scale(1.2); }
.video-thumb-bg {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; opacity: .5;
}
.parking-thumb { background: linear-gradient(135deg, rgba(37,99,235,.3), rgba(37,99,235,.1)); }
.keybox-thumb  { background: linear-gradient(135deg, rgba(173,149,109,.3), rgba(173,149,109,.1)); }
.wifi-thumb    { background: linear-gradient(135deg, rgba(5,150,105,.3), rgba(5,150,105,.1)); }

.video-info strong { display: block; font-size: .8rem; color: rgba(255,255,255,.8); margin-bottom: 2px; }
.video-info span   { font-size: .72rem; color: rgba(255,255,255,.4); }

/* ============================================================
   UPSELL SCREENS – Premium Gold
   ============================================================ */
.upsell-badge-big {
    background: linear-gradient(135deg, rgba(173,149,109,.2), rgba(173,149,109,.08));
    border: 1px solid rgba(173,149,109,.5);
    color: #8a6e40;
    padding: 7px 18px; border-radius: 100px; font-size: .78rem; font-weight: 800;
    align-self: center; letter-spacing: .05em;
    box-shadow: 0 4px 20px rgba(173,149,109,.18), 0 0 40px rgba(173,149,109,.06);
    animation: upsellBadgePulse 3s ease-in-out infinite;
}
@keyframes upsellBadgePulse {
    0%,100% { box-shadow: 0 4px 20px rgba(173,149,109,.18); }
    50% { box-shadow: 0 4px 30px rgba(173,149,109,.35); }
}
.upsell-image {
    height: 95px; border-radius: 18px;
    background: linear-gradient(135deg, rgba(173,149,109,.22), rgba(173,149,109,.07));
    border: 1px solid rgba(173,149,109,.25);
    display: flex; align-items: center; justify-content: center;
    font-size: 2.5rem; color: #d4b87a;
    position: relative; overflow: hidden;
}
.upsell-image::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse 80% 80% at 30% 30%, rgba(173,149,109,.18), transparent);
    animation: upsellShimmer 3s ease-in-out infinite alternate;
}
@keyframes upsellShimmer {
    0% { opacity: .5; }
    100% { opacity: 1; }
}
.upsell-image.spa-img {
    background: linear-gradient(135deg, rgba(5,150,105,.22), rgba(5,150,105,.07));
    border-color: rgba(5,150,105,.25); color: #6ee7b7;
}
.upsell-image.spa-img::before {
    background: radial-gradient(ellipse 80% 80% at 30% 30%, rgba(5,150,105,.2), transparent);
}

.upsell-details { display: flex; flex-direction: column; gap: 6px; }
.upsell-feature {
    display: flex; align-items: center; gap: 8px;
    font-size: .8rem; color: rgba(42,62,80,.75);
}
.upsell-feature i { color: var(--success); font-size: .8rem; }

.upsell-price-tag { text-align: center; padding: 4px 0; }
.upsell-price {
    font-size: 2rem; font-weight: 900;
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; display: block;
}
.upsell-unit { font-size: .78rem; color: rgba(42,62,80,.5); }

.upsell-options { display: flex; flex-direction: column; gap: 8px; }
.upsell-option {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 16px;
    border: 1.5px solid rgba(129,154,171,.28);
    border-radius: 13px;
    cursor: pointer; transition: all .3s cubic-bezier(.34,1.56,.64,1);
    background: rgba(255,255,255,.8);
    position: relative; overflow: hidden;
    box-shadow: 0 2px 8px rgba(129,154,171,.1);
}
.upsell-option::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(129,154,171,.1), transparent);
    opacity: 0; transition: opacity .3s;
}
.upsell-option:hover { border-color: rgba(129,154,171,.5); transform: translateX(5px); box-shadow: 0 4px 15px rgba(129,154,171,.08); }
.upsell-option:hover::before { opacity: 1; }
.upsell-option.selected {
    border-color: rgba(129,154,171,.65);
    background: rgba(129,154,171,.12);
    box-shadow: 0 4px 20px rgba(129,154,171,.12);
}
.upsell-option strong { font-size: .83rem; color: #1a2540; }
.upsell-option span {
    font-size: .9rem; font-weight: 800;
    color: var(--accent); flex-shrink: 0;
}

/* ============================================================
   BUTTONS – 3D Premium Glow
   ============================================================ */
.demo-btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white; border: none; border-radius: 15px;
    padding: 15px 20px; font-size: .92rem; font-weight: 700;
    cursor: pointer; width: 100%; font-family: var(--font);
    display: flex; align-items: center; justify-content: center; gap: 8px;
    transition: all .35s cubic-bezier(.34,1.56,.64,1);
    position: relative; overflow: hidden;
    box-shadow:
        0 8px 28px rgba(129,154,171,.35),
        inset 0 1px 0 rgba(255,255,255,.15),
        inset 0 -1px 0 rgba(0,0,0,.1);
}
.demo-btn-primary::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,.18), transparent 60%);
    border-radius: inherit;
}
.demo-btn-primary::after {
    content: ''; position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,.08) 50%, transparent 70%);
    transform: translateX(-100%) rotate(45deg);
    transition: transform .6s ease;
}
.demo-btn-primary:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow:
        0 18px 45px rgba(129,154,171,.5),
        inset 0 1px 0 rgba(255,255,255,.2),
        0 0 30px rgba(129,154,171,.2);
}
.demo-btn-primary:hover::after { transform: translateX(100%) rotate(45deg); }
.demo-btn-primary:active { transform: translateY(-1px); }

.demo-btn-secondary {
    background: rgba(129,154,171,.08);
    color: var(--primary-light);
    border: 1.5px solid rgba(129,154,171,.28); border-radius: 15px;
    padding: 13px 20px; font-size: .88rem; font-weight: 600;
    cursor: pointer; width: 100%; font-family: var(--font);
    display: flex; align-items: center; justify-content: center; gap: 8px;
    text-decoration: none; transition: all .3s cubic-bezier(.34,1.56,.64,1);
    position: relative; overflow: hidden;
}
.demo-btn-secondary::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(129,154,171,.1), transparent);
    opacity: 0; transition: opacity .3s;
}
.demo-btn-secondary:hover {
    background: rgba(129,154,171,.15);
    border-color: rgba(129,154,171,.5);
    color: white; transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(129,154,171,.15);
}
.demo-btn-secondary:hover::before { opacity: 1; }

.demo-btn-secondary-link {
    display: flex; align-items: center; justify-content: center;
    background: rgba(129,154,171,.08);
    color: var(--primary-light);
    border: 1.5px solid rgba(129,154,171,.28); border-radius: 15px;
    padding: 13px 20px; font-size: .88rem; font-weight: 600;
    text-decoration: none; transition: all .3s cubic-bezier(.34,1.56,.64,1);
    position: relative; overflow: hidden;
}
.demo-btn-secondary-link:hover {
    background: rgba(129,154,171,.15);
    color: white; transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(129,154,171,.15);
}

.demo-btn-upsell {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: white; border: none; border-radius: 15px;
    padding: 15px 20px; font-size: .9rem; font-weight: 700;
    cursor: pointer; width: 100%; font-family: var(--font);
    display: flex; align-items: center; justify-content: center; gap: 8px;
    transition: all .35s cubic-bezier(.34,1.56,.64,1);
    box-shadow:
        0 8px 28px rgba(173,149,109,.35),
        inset 0 1px 0 rgba(255,255,255,.15);
    position: relative; overflow: hidden;
}
.demo-btn-upsell::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,.18), transparent 60%);
}
.demo-btn-upsell::after {
    content: ''; position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,.1) 50%, transparent 70%);
    transform: translateX(-100%) rotate(45deg);
    transition: transform .6s ease;
}
.demo-btn-upsell:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 45px rgba(173,149,109,.5), 0 0 30px rgba(173,149,109,.2);
}
.demo-btn-upsell:hover::after { transform: translateX(100%) rotate(45deg); }
.demo-btn-upsell:disabled {
    background: rgba(255,255,255,.07); cursor: not-allowed;
    box-shadow: none; color: rgba(255,255,255,.3);
}

.demo-btn-skip {
    background: none; border: none;
    color: rgba(42,62,80,.45); font-size: .8rem;
    cursor: pointer; font-family: var(--font);
    text-align: center; transition: color .2s ease;
    padding: 4px;
}
.demo-btn-skip:hover { color: rgba(42,62,80,.75); }

/* ============================================================
   WIFI BOX – Neon Green
   ============================================================ */
.wifi-box {
    background: rgba(236,253,245,.9);
    border: 1px solid rgba(5,150,105,.3);
    border-radius: 15px; padding: 14px;
    display: flex; align-items: center; gap: 12px;
    transition: all .3s ease;
    position: relative; overflow: hidden;
    box-shadow: 0 2px 10px rgba(5,150,105,.1);
}
.wifi-box::before {
    content: ''; position: absolute; top: 0; left: 20%; right: 20%; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(5,150,105,.3), transparent);
}
.wifi-box:hover {
    background: rgba(220,253,240,.95);
    border-color: rgba(5,150,105,.5);
    box-shadow: 0 4px 20px rgba(5,150,105,.15);
}
.wifi-box i { color: #059669; font-size: 1.3rem; flex-shrink: 0; }
.wifi-box > div { flex: 1; }
.wifi-box strong { display: block; font-size: .85rem; color: #064e3b; margin-bottom: 4px; }
.wifi-details { display: flex; flex-direction: column; gap: 2px; }
.wifi-details span { font-size: .76rem; color: rgba(6,78,59,.6); }
.wifi-details strong { display: inline; font-weight: 700; color: #065f46; }
.copy-btn {
    background: rgba(5,150,105,.15);
    border: 1px solid rgba(5,150,105,.3);
    color: #059669;
    width: 38px; height: 38px; border-radius: 11px;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: all .3s cubic-bezier(.34,1.56,.64,1); flex-shrink: 0; font-size: .85rem;
}
.copy-btn:hover { background: rgba(5,150,105,.25); color: #064e3b; transform: scale(1.12); box-shadow: 0 4px 15px rgba(5,150,105,.25); }

/* ============================================================
   QUICK INFOS GRID – Glass Cards
   ============================================================ */
.quick-infos { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.quick-info-item {
    display: flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,.8);
    border: 1px solid rgba(129,154,171,.25);
    border-radius: 13px; padding: 10px 12px;
    transition: all .3s cubic-bezier(.34,1.56,.64,1);
    position: relative; overflow: hidden;
    box-shadow: 0 2px 8px rgba(129,154,171,.1);
}
.quick-info-item::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(129,154,171,.08), transparent);
    opacity: 0; transition: opacity .3s;
}
.quick-info-item:hover {
    background: rgba(255,255,255,.97);
    border-color: rgba(129,154,171,.45);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(129,154,171,.2);
}
.quick-info-item:hover::before { opacity: 1; }
.quick-info-item i { color: var(--primary); font-size: .95rem; flex-shrink: 0; position: relative; z-index: 1; }
.quick-info-item div { display: flex; flex-direction: column; position: relative; z-index: 1; }
.quick-info-item strong { font-size: .76rem; font-weight: 700; color: #1a2540; }
.quick-info-item span   { font-size: .69rem; color: rgba(42,62,80,.55); }

/* ============================================================
   FINISH SCREEN – Celebration
   ============================================================ */
.finish-animation { display: flex; justify-content: center; margin-bottom: 16px; position: relative; }
.finish-circle {
    width: 85px; height: 85px;
    background: linear-gradient(135deg, var(--success), #4ade80);
    border-radius: 50%; display: flex; align-items: center;
    justify-content: center; font-size: 2rem; color: white;
    animation: popIn .7s cubic-bezier(.34,1.56,.64,1);
    box-shadow:
        0 0 50px rgba(123,168,144,.45),
        0 0 100px rgba(123,168,144,.15),
        0 10px 35px rgba(0,0,0,.35);
    position: relative;
}
.finish-circle::before {
    content: '';
    position: absolute; inset: -8px;
    border-radius: 50%;
    border: 1.5px solid rgba(123,168,144,.25);
    animation: rippleOut 2s ease-out infinite;
}
.finish-circle::after {
    content: '';
    position: absolute; inset: -20px;
    border-radius: 50%;
    border: 1px solid rgba(123,168,144,.12);
    animation: rippleOut 2s ease-out infinite .4s;
}
@keyframes rippleOut {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}
@keyframes popIn {
    0% { transform: scale(0) rotate(-30deg); opacity: 0; }
    60% { transform: scale(1.15) rotate(5deg); }
    100% { transform: scale(1) rotate(0deg); opacity: 1; }
}
.screen-content > h3 { text-align: center; }
.screen-content > p  { text-align: center; }
.booked-extras {
    background: rgba(236,253,245,.9);
    border: 1px solid rgba(5,150,105,.3);
    border-radius: 13px; padding: 12px;
    font-size: .82rem; min-height: 30px;
}
.booked-extra-item {
    display: flex; align-items: center; gap: 8px;
    padding: 4px 0; color: #065f46; font-weight: 500;
}
.booked-extra-item i { color: var(--success); }
.finish-info {
    background: rgba(255,255,255,.85);
    border: 1px solid rgba(129,154,171,.25);
    border-radius: 15px; overflow: hidden;
    box-shadow: 0 2px 10px rgba(129,154,171,.12);
}
.finish-row {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(129,154,171,.15);
    transition: background .2s ease;
}
.finish-row:hover { background: rgba(129,154,171,.08); }
.finish-row:last-child { border: none; }
.finish-row i { color: var(--primary); width: 20px; }
.finish-row strong { display: block; font-size: .82rem; color: #1a2540; }
.finish-row span   { font-size: .78rem; color: rgba(42,62,80,.55); }

/* ============================================================
   MODALS – Dark Glassmorphism
   ============================================================ */
.modal-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,.78);
    backdrop-filter: blur(12px);
    display: flex; align-items: center; justify-content: center;
    z-index: 1000; opacity: 0; pointer-events: none;
    transition: opacity .3s ease;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal-box {
    background: linear-gradient(145deg, #ffffff, #f0f5fa);
    border: 1px solid rgba(129,154,171,.3);
    border-radius: 28px; padding: 36px;
    max-width: 420px; width: 92%;
    position: relative;
    box-shadow:
        0 30px 80px rgba(129,154,171,.25),
        0 0 0 1px rgba(255,255,255,.8),
        inset 0 1px 0 rgba(255,255,255,1);
    transform: scale(.88) translateY(30px);
    transition: all .45s cubic-bezier(.34,1.56,.64,1);
}
.modal-overlay.open .modal-box {
    transform: scale(1) translateY(0);
}
.modal-box::before {
    content: ''; position: absolute;
    top: 0; left: 20%; right: 20%; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(129,154,171,.45), transparent);
    border-radius: 1px;
}
.modal-close {
    position: absolute; top: 16px; right: 16px;
    background: rgba(129,154,171,.15);
    border: 1px solid rgba(129,154,171,.3);
    width: 36px; height: 36px; border-radius: 50%;
    cursor: pointer; font-size: .88rem;
    color: rgba(42,62,80,.6);
    display: flex; align-items: center; justify-content: center;
    transition: all .3s cubic-bezier(.34,1.56,.64,1);
}
.modal-close:hover {
    background: rgba(129,154,171,.28);
    color: #1a2540;
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 4px 15px rgba(129,154,171,.2);
}
.modal-box h3 {
    font-size: 1.1rem; font-weight: 800; margin-bottom: 8px;
    color: #1a2540; letter-spacing: -.02em;
}
.modal-box p { font-size: .88rem; color: rgba(42,62,80,.65); margin-bottom: 20px; }
.modal-form { display: flex; flex-direction: column; gap: 12px; }
.modal-input {
    padding: 12px 16px;
    background: #f4f7fa;
    border: 1.5px solid rgba(129,154,171,.3); border-radius: 13px;
    font-family: var(--font); font-size: .9rem;
    color: #1a2540; transition: all .25s ease;
}
.modal-input::placeholder { color: rgba(42,62,80,.4); }
.modal-input:focus {
    outline: none;
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(129,154,171,.15);
}

/* ============================================================
   VIDEO MODAL
   ============================================================ */
.video-modal-box {
    background: linear-gradient(145deg, #ffffff, #f0f5fa);
    border: 1px solid rgba(129,154,171,.3);
    border-radius: 28px; padding: 0;
    max-width: 500px; width: 92%;
    position: relative; overflow: hidden;
    box-shadow: 0 30px 80px rgba(129,154,171,.25), inset 0 1px 0 rgba(255,255,255,1);
    transform: scale(.88) translateY(30px);
    transition: all .45s cubic-bezier(.34,1.56,.64,1);
}
.modal-overlay.open .video-modal-box {
    transform: scale(1) translateY(0);
}
.video-modal-box .modal-close { top: 12px; right: 12px; z-index: 10; }
.video-modal-header {
    padding: 20px 24px 16px;
    border-bottom: 1px solid rgba(129,154,171,.2);
}
.video-modal-header h3 { font-size: 1rem; font-weight: 700; color: #1a2540; }
.video-player-container { padding: 16px 24px; }
.video-player {
    background: rgba(129,154,171,.08);
    border: 1px solid rgba(129,154,171,.25);
    border-radius: 16px; overflow: hidden; min-height: 200px;
    display: flex; align-items: center; justify-content: center;
}
.video-placeholder {
    display: flex; flex-direction: column; align-items: center;
    gap: 16px; padding: 32px;
}
.video-emoji { font-size: 3rem; }
.play-video-btn {
    display: flex; align-items: center; gap: 8px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white; border: none; border-radius: 100px;
    padding: 12px 24px; font-size: .9rem; font-weight: 700;
    cursor: pointer; font-family: var(--font);
    box-shadow: 0 8px 28px rgba(129,154,171,.4), inset 0 1px 0 rgba(255,255,255,.15);
    transition: all .35s cubic-bezier(.34,1.56,.64,1);
}
.play-video-btn:hover { transform: scale(1.06); box-shadow: 0 14px 40px rgba(129,154,171,.55); }
.video-duration { font-size: .8rem; color: rgba(255,255,255,.35); }
.video-playing { width: 100%; padding: 20px; }
.video-progress-container { margin-bottom: 16px; }
.video-progress-bar {
    height: 4px; background: rgba(255,255,255,.1);
    border-radius: 2px; overflow: hidden; margin-bottom: 8px;
}
.video-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-light), var(--accent));
    border-radius: 2px; width: 0%;
    transition: width .1s linear;
    box-shadow: 0 0 8px rgba(129,154,171,.5);
}
.video-time-display {
    display: flex; justify-content: space-between;
    font-size: .72rem; color: rgba(255,255,255,.35);
}
.video-sim-frame {
    text-align: center; padding: 20px;
    background: rgba(129,154,171,.1);
    border-radius: 12px; color: rgba(42,62,80,.6);
    font-size: .85rem;
}
.video-controls { display: flex; gap: 10px; justify-content: center; margin-top: 12px; }
.video-control-btn {
    background: rgba(129,154,171,.15);
    border: 1px solid rgba(129,154,171,.3);
    color: rgba(42,62,80,.7); width: 40px; height: 40px;
    border-radius: 50%; cursor: pointer; font-size: .9rem;
    display: flex; align-items: center; justify-content: center;
    transition: all .3s cubic-bezier(.34,1.56,.64,1);
}
.video-control-btn:hover { background: rgba(129,154,171,.28); color: #1a2540; transform: scale(1.1); }
.video-modal-footer {
    padding: 14px 24px 20px;
    border-top: 1px solid rgba(129,154,171,.2);
    font-size: .8rem; color: rgba(42,62,80,.55);
}

/* ============================================================
   SIDEBAR – Premium Glass Panel
   ============================================================ */
.demo-progress-side {
    width: 240px; flex-shrink: 0;
    background: rgba(255,255,255,.75);
    border: 1px solid rgba(129,154,171,.3);
    border-radius: 28px; padding: 28px 20px;
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    position: sticky; top: 90px;
    box-shadow:
        0 10px 40px rgba(129,154,171,.18),
        0 0 0 1px rgba(255,255,255,.5),
        inset 0 1px 0 rgba(255,255,255,.9);
    z-index: 1;
}
.demo-progress-side::before {
    content: ''; position: absolute;
    top: 0; left: 20%; right: 20%; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(129,154,171,.45), transparent);
}
/* Corner accent */
.demo-progress-side::after {
    content: '';
    position: absolute; top: 12px; right: 12px;
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--primary-light);
    box-shadow: 0 0 10px rgba(129,154,171,.6);
    animation: sidebarDot 3s ease-in-out infinite;
}
@keyframes sidebarDot {
    0%,100% { opacity: .5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.3); }
}

.demo-progress-side h4 {
    font-size: .82rem; font-weight: 700; margin-bottom: 20px;
    color: rgba(42,62,80,.5); text-transform: uppercase;
    letter-spacing: .09em;
}
.progress-steps { display: flex; flex-direction: column; gap: 4px; margin-bottom: 24px; }
.ps-item {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 12px; border-radius: 11px;
    font-size: .8rem; color: rgba(42,62,80,.45);
    transition: all .3s ease; cursor: default;
}
.ps-item.active {
    background: rgba(129,154,171,.18);
    color: var(--primary-dark); font-weight: 600;
    border: 1px solid rgba(129,154,171,.35);
    box-shadow: 0 4px 15px rgba(129,154,171,.12);
}
.ps-item.done { color: #3a8a65; }
.ps-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: rgba(255,255,255,.1); flex-shrink: 0;
    transition: all .3s ease;
}
.ps-item.active .ps-dot {
    background: var(--primary-light);
    box-shadow: 0 0 10px rgba(129,154,171,.6), 0 0 20px rgba(129,154,171,.2);
    animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse {
    0%,100% { box-shadow: 0 0 8px rgba(129,154,171,.6); }
    50% { box-shadow: 0 0 16px rgba(129,154,171,.9), 0 0 30px rgba(129,154,171,.3); }
}
.ps-item.done .ps-dot { background: var(--success); box-shadow: 0 0 8px rgba(123,168,144,.5); }

.demo-cta-sidebar {
    border-top: 1px solid rgba(129,154,171,.2);
    padding-top: 18px;
}
.demo-cta-sidebar p {
    font-size: .78rem; margin-bottom: 12px;
    color: rgba(42,62,80,.6); line-height: 1.4;
}
.btn-sidebar {
    display: block; text-align: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white; border-radius: 13px;
    padding: 11px; font-size: .8rem; font-weight: 700;
    text-decoration: none; transition: all .35s cubic-bezier(.34,1.56,.64,1);
    box-shadow: 0 6px 22px rgba(129,154,171,.3), inset 0 1px 0 rgba(255,255,255,.12);
    position: relative; overflow: hidden;
}
.btn-sidebar::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,.14), transparent);
}
.btn-sidebar:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(129,154,171,.48), 0 0 20px rgba(129,154,171,.15);
    color: white;
}

/* ============================================================
   SCROLLABLE SCREEN CONTENT
   ============================================================ */
.screen-content-scroll {
    padding: 16px 20px 110px;
    display: flex; flex-direction: column; gap: 0; flex: 1; overflow-y: auto;
    scrollbar-width: none;
}
.screen-content-scroll::-webkit-scrollbar { display: none; }
.screen-content-scroll h3 {
    font-size: 1.05rem; font-weight: 800; color: #1a2540;
    margin-bottom: 4px; letter-spacing: -.02em;
}

/* ============================================================
   CATEGORY TILES – 3D Grid
   ============================================================ */
.categories-selected-label {
    font-size: .7rem; font-weight: 700;
    color: rgba(42,62,80,.5);
    text-transform: uppercase; letter-spacing: .09em; margin-bottom: 8px;
}
.categories-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 8px; margin-bottom: 4px;
}
.category-tile {
    position: relative;
    border: 1.5px solid rgba(129,154,171,.28);
    border-radius: 15px; padding: 12px 8px;
    display: flex; flex-direction: column; align-items: center; gap: 5px;
    cursor: pointer; transition: all .35s cubic-bezier(.34,1.56,.64,1);
    background: rgba(255,255,255,.8); text-align: center;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(129,154,171,.1);
}
.category-tile::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(129,154,171,.1), transparent);
    opacity: 0; transition: opacity .3s;
}
.category-tile:hover:not(.selected) {
    border-color: rgba(129,154,171,.38);
    background: rgba(129,154,171,.1);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0,0,0,.25), 0 0 15px rgba(129,154,171,.06);
}
.category-tile:hover:not(.selected)::before { opacity: 1; }
.category-tile.selected {
    border-color: rgba(5,150,105,.5);
    background: rgba(5,150,105,.09);
    box-shadow: 0 4px 20px rgba(5,150,105,.1);
}
.cat-check {
    position: absolute; top: 6px; right: 6px;
    width: 20px; height: 20px; border-radius: 50%;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    display: flex; align-items: center; justify-content: center;
    font-size: .6rem; opacity: 0; transition: all .35s cubic-bezier(.34,1.56,.64,1);
    box-shadow: 0 2px 10px rgba(34,197,94,.45);
}
.category-tile.selected .cat-check { opacity: 1; transform: scale(1); }
.cat-img { font-size: 1.7rem; line-height: 1; transition: transform .35s cubic-bezier(.34,1.56,.64,1); }
.category-tile:hover .cat-img { transform: scale(1.15) rotate(5deg); }
.category-tile.selected .cat-img { filter: drop-shadow(0 2px 8px rgba(5,150,105,.4)); }
.category-tile span {
    font-size: .72rem; font-weight: 600; color: rgba(42,62,80,.75);
    line-height: 1.2; hyphens: auto;
}
.category-tile.selected span { color: rgba(110,231,183,.9); }

.cat-hint-box {
    display: flex; align-items: flex-start; gap: 8px;
    background: rgba(255,255,255,.7);
    border: 1px solid rgba(129,154,171,.25);
    border-radius: 13px; padding: 10px 12px;
    font-size: .73rem; color: rgba(42,62,80,.6);
    line-height: 1.4; margin-top: 12px;
}
.cat-hint-box i { flex-shrink: 0; margin-top: 1px; color: var(--primary-light); }

/* ============================================================
   LANGUAGE LIST
   ============================================================ */
.language-list {
    display: flex; flex-direction: column; gap: 0;
    margin-bottom: 12px;
    border: 1px solid rgba(129,154,171,.3);
    border-radius: 15px; overflow: hidden;
    background: rgba(255,255,255,.8);
    box-shadow: 0 2px 10px rgba(129,154,171,.12);
}
.lang-item {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 16px;
    cursor: pointer; transition: all .25s ease;
    border-bottom: 1px solid rgba(129,154,171,.15);
    position: relative;
}
.lang-item::before {
    content: ''; position: absolute; left: 0; top: 0; bottom: 0;
    width: 0; background: rgba(129,154,171,.08);
    transition: width .3s ease;
}
.lang-item:last-child { border-bottom: none; }
.lang-item:hover { background: rgba(129,154,171,.12); }
.lang-item:hover::before { width: 100%; }
.lang-item.selected-lang {
    background: rgba(173,149,109,.09);
    border-left: 2px solid var(--accent);
}
.lang-flag { font-size: 1.2rem; flex-shrink: 0; position: relative; z-index: 1; }
.lang-name { font-size: .85rem; font-weight: 500; flex: 1; color: #2c3e50; position: relative; z-index: 1; }
.lang-item.selected-lang .lang-name { color: #8a6e40; }
.lang-badge {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: white; font-size: .62rem; font-weight: 800;
    padding: 3px 10px; border-radius: 100px; flex-shrink: 0;
    box-shadow: 0 2px 10px rgba(173,149,109,.32);
    position: relative; z-index: 1;
}

.lang-info-box {
    display: flex; align-items: flex-start; gap: 8px;
    background: rgba(236,253,245,.9);
    border: 1px solid rgba(5,150,105,.3);
    border-radius: 13px; padding: 10px 12px;
    font-size: .73rem; color: #065f46; line-height: 1.4;
}
.lang-info-box i { flex-shrink: 0; margin-top: 1px; }

/* ============================================================
   STICKY PRICE BAR – Premium Frosted
   ============================================================ */
.demo-sticky-bar {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
    background: rgba(255,255,255,.88);
    backdrop-filter: blur(28px) saturate(200%);
    -webkit-backdrop-filter: blur(28px) saturate(200%);
    border-top: 1px solid rgba(129,154,171,.25);
    padding: 14px 32px;
    display: flex; align-items: center; justify-content: space-between;
    box-shadow:
        0 -8px 30px rgba(129,154,171,.18),
        0 -1px 0 rgba(129,154,171,.12);
}
.demo-sticky-bar::before {
    content: '';
    position: absolute; top: 0; left: 15%; right: 15%; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(129,154,171,.25), rgba(173,149,109,.15), transparent);
    pointer-events: none;
}
.sticky-price { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.sticky-promo-tag {
    background: linear-gradient(135deg, rgba(173,149,109,.28), rgba(173,149,109,.1));
    border: 1px solid rgba(173,149,109,.42);
    padding: 5px 14px; border-radius: 100px;
    font-size: .75rem; font-weight: 800; color: #d4b87a;
    letter-spacing: .03em;
    box-shadow: 0 0 20px rgba(173,149,109,.12);
}
.sticky-new-price {
    font-size: 1.5rem; font-weight: 900;
    background: linear-gradient(135deg, #1a2540, #3a5265);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.sticky-label {
    font-size: .75rem; color: rgba(42,62,80,.55); font-weight: 500;
}
.sticky-book-btn {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: white; font-weight: 800;
    padding: 13px 28px; border-radius: 100px;
    text-decoration: none; font-size: .92rem; white-space: nowrap;
    transition: all .35s cubic-bezier(.34,1.56,.64,1);
    border: none; cursor: pointer;
    display: inline-flex; align-items: center; gap: 8px;
    box-shadow:
        0 8px 28px rgba(173,149,109,.42),
        inset 0 1px 0 rgba(255,255,255,.15);
    position: relative; overflow: hidden;
}
.sticky-book-btn::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,.18), transparent 60%);
}
.sticky-book-btn::after {
    content: ''; position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,.1) 50%, transparent 70%);
    transform: translateX(-100%) rotate(45deg);
    transition: transform .6s ease;
}
.sticky-book-btn:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 18px 45px rgba(173,149,109,.58);
    color: white;
}
.sticky-book-btn:hover::after { transform: translateX(100%) rotate(45deg); }

/* ============================================================
   TOAST NOTIFICATIONS – Floating Glass
   ============================================================ */
.toast {
    position: fixed; bottom: 85px; left: 50%; transform: translateX(-50%) translateY(25px);
    background: rgba(255,255,255,.95);
    border: 1px solid rgba(129,154,171,.35);
    color: #1a2540; padding: 12px 24px; border-radius: 100px;
    font-size: .85rem; font-weight: 600;
    z-index: 500; opacity: 0;
    transition: all .45s cubic-bezier(.34,1.56,.64,1);
    backdrop-filter: blur(24px);
    box-shadow:
        0 8px 30px rgba(129,154,171,.25),
        0 0 0 1px rgba(255,255,255,.8),
        inset 0 1px 0 rgba(255,255,255,1);
    white-space: nowrap;
}
.toast.show {
    opacity: 1; transform: translateX(-50%) translateY(0);
}

/* ============================================================
   SCROLLBAR – minimal dark
   ============================================================ */
.demo-phone-screen::-webkit-scrollbar { width: 0; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 820px) {
    .demo-header { padding: 12px 16px; }
    .demo-wrapper {
        flex-direction: column; align-items: center;
        margin: 24px auto 110px;
    }
    .demo-progress-side { width: 100%; max-width: 375px; position: static; }
    .demo-phone-frame {
        width: 100%; max-width: 375px;
        animation: none !important;
        transform: none !important;
    }
    .demo-phone-frame:hover { transform: none !important; }
    .demo-sticky-bar { padding: 10px 16px; gap: 10px; }
    .sticky-new-price { font-size: 1.2rem; }
    .sticky-book-btn { padding: 11px 20px; font-size: .85rem; }
}

@media (max-width: 480px) {
    .demo-powered { display: none; }
    .demo-badge-demo { font-size: .65rem; padding: 5px 12px; }
    .demo-wrapper { padding: 0 12px; }
}
