/* 
  PROMO PRESENTATION CSS
  Aesthetic: Premium B2B SaaS "Industrial Polish"
  Layout: Strict Flexbox to prevent overlaps
*/

:root {
    --bg-dark: #0f172a;               /* Deep slate / midnight */
    --bg-accent: #1e293b;             /* Slightly lighter slate for depth */
    --primary: #ea580c;               /* Brand Orange */
    --primary-glow: rgba(234, 88, 12, 0.4);
    --text-main: #f8fafc;
    --text-muted: #cbd5e1;
    --danger: #ef4444;
    --success: #22c55e;
    --font-heading: 'Inter', system-ui, -apple-system, sans-serif;
}

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

body {
    background-color: var(--bg-dark); /* Seamless Stage bounding box instead of black */
    color: var(--text-main);
    font-family: var(--font-heading);
    overflow: hidden; /* Hide scrollbars, stage is dynamically scaled */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

#stage {
    width: 1920px;
    height: 1080px;
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
    transform-origin: center;
    /* Soft premium vignette drop shadow */
    box-shadow: 0 0 100px rgba(0,0,0,0.8) inset;
}

/* Base Scene Styles
   Strict Flexbox removes all absolute positioning overlap risks
*/
.scene {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
}

.scene.active {
    opacity: 1;
    visibility: visible;
}

/* Typographic Defaults */
h1 { font-size: 8rem; font-weight: 800; }
h2 { font-size: 6rem; font-weight: 700; color: var(--text-muted); }
.text-giant { font-size: 8rem; font-weight: 800; }
.text-large { font-size: 6rem; font-weight: 700; }
.text-medium { font-size: 4rem; font-weight: 500; color: var(--text-muted); }

/* Animation Utils */
.anim-fade-up {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.anim-fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   SCENE 1: The Problem
========================================= */
#scene1 {
    background: radial-gradient(circle at 50% 30%, var(--bg-accent) 0%, var(--bg-dark) 100%);
}

.phone-icon-block {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(234, 88, 12, 0.1);
    box-shadow: 0 0 80px var(--primary-glow);
}

.lost-revenue {
    color: var(--danger);
}


/* =========================================
   SCENE 2: The Solution
========================================= */
.avatar-block {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, var(--primary), #c2410c);
    border-radius: 50%;
    box-shadow: 0 20px 80px var(--primary-glow);
    color: white;
}


/* =========================================
   SCENE 3: The Benefit
========================================= */
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    width: 70%;
}

.calendar-slot {
    background: rgba(255, 255, 255, 0.05);
    height: 140px;
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    font-weight: 600;
    color: var(--text-muted);
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

.calendar-slot.booked {
    background: rgba(34, 197, 94, 0.15);
    border-color: var(--success);
    color: var(--success);
    box-shadow: 0 0 30px rgba(34, 197, 94, 0.2);
}

.profit-text {
    color: var(--success);
}


/* =========================================
   SCENE 4: CTA
========================================= */
#scene4 {
    background: radial-gradient(circle at center, var(--bg-accent) 0%, var(--bg-dark) 100%);
}

.logo-container {
    margin-bottom: 2rem;
}

.url-text {
    color: var(--primary);
    letter-spacing: 2px;
}


/* Controls */
#controls {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    border-radius: 50px;
    z-index: 1000;
    border: 1px solid rgba(255,255,255,0.1);
}

button {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-size: 1rem;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
}

button:hover {
    background: var(--primary);
}