/* ============================================
   IDEAS PRESENTATION - PREMIUM CSS
   ============================================ */

:root {
    --primary: #d4af37;
    --primary-dark: #b8962e;
    --dark: #0a0a0a;
    --darker: #050505;
    --light: #ffffff;
    --gray: #888888;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --gradient: linear-gradient(135deg, #d4af37 0%, #f4e4bc 50%, #d4af37 100%);
    --gradient-dark: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    --font-display: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background: var(--darker);
    color: var(--light);
    overflow: hidden;
    overflow-x: hidden;
    height: 100vh;
    width: 100vw;
    max-width: 100%;
}

/* ============================================
   ANIMATED BACKGROUND
   ============================================ */
.bg-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.bg-particles::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 20% 80%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
                radial-gradient(ellipse at 80% 20%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
                radial-gradient(ellipse at 50% 50%, rgba(26, 26, 46, 0.9) 0%, var(--darker) 100%);
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.3;
    animation: particleFloat 15s infinite ease-in-out;
}

@keyframes particleFloat {
    0%, 100% { transform: translateY(0) translateX(0); opacity: 0.3; }
    50% { transform: translateY(-100px) translateX(50px); opacity: 0.8; }
}

/* ============================================
   NAVIGATION
   ============================================ */
.ideas-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, transparent 100%);
}

.back-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--light);
    text-decoration: none;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.back-link:hover {
    color: var(--primary);
    transform: translateX(-5px);
}

.back-link i {
    font-size: 12px;
}

.nav-progress {
    flex: 1;
    max-width: 200px;
    height: 2px;
    background: rgba(255,255,255,0.1);
    margin: 0 40px;
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: var(--gradient);
    transition: width 0.5s ease;
}

.slide-counter {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 300;
}

.slide-counter .separator {
    margin: 0 8px;
    color: var(--primary);
}

/* ============================================
   SLIDE INDICATORS
   ============================================ */
.slide-indicators {
    position: fixed;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 1000;
}

.indicator {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator-dot {
    width: 12px;
    height: 12px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    position: relative;
    transition: all 0.3s ease;
}

.indicator-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.indicator.active .indicator-dot {
    border-color: var(--primary);
}

.indicator.active .indicator-dot::after {
    transform: translate(-50%, -50%) scale(1);
}

.indicator-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.5);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.indicator:hover .indicator-label,
.indicator.active .indicator-label {
    opacity: 1;
    transform: translateX(0);
    color: var(--light);
}

/* ============================================
   SLIDES CONTAINER
   ============================================ */
.presentation {
    position: relative;
    height: 100vh;
    width: 100vw;
    max-width: 100%;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    overflow-x: hidden;
    overflow-y: auto;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.slide.exit-up {
    transform: translateY(-100px);
    opacity: 0;
}

.slide.exit-down {
    transform: translateY(100px);
    opacity: 0;
}

.slide-content {
    width: 100%;
    max-width: min(1400px, calc(100vw - 160px));
    padding: 100px 40px;
    position: relative;
    z-index: 1;
    overflow-x: hidden;
}

/* ============================================
   INTRO SLIDE
   ============================================ */
.intro-slide {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.intro-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 40px;
    animation: fadeInDown 0.8s ease backwards;
}

.intro-badge i {
    color: var(--primary);
}

.glitch-text {
    font-family: var(--font-display);
    font-size: clamp(40px, 10vw, 120px);
    font-weight: 700;
    letter-spacing: clamp(5px, 2vw, 20px);
    position: relative;
    animation: glitchText 3s infinite;
    max-width: 100%;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch-text::before {
    color: #ff00ff;
    animation: glitchBefore 3s infinite;
    clip-path: polygon(0 0, 100% 0, 100% 35%, 0 35%);
}

.glitch-text::after {
    color: #00ffff;
    animation: glitchAfter 3s infinite;
    clip-path: polygon(0 65%, 100% 65%, 100% 100%, 0 100%);
}

@keyframes glitchText {
    0%, 90%, 100% { transform: translateX(0); }
    92% { transform: translateX(-5px); }
    94% { transform: translateX(5px); }
    96% { transform: translateX(-3px); }
    98% { transform: translateX(3px); }
}

@keyframes glitchBefore {
    0%, 90%, 100% { transform: translateX(0); }
    92% { transform: translateX(10px); }
    94% { transform: translateX(-10px); }
}

@keyframes glitchAfter {
    0%, 90%, 100% { transform: translateX(0); }
    92% { transform: translateX(-10px); }
    94% { transform: translateX(10px); }
}

.gradient-text {
    font-family: var(--font-display);
    font-size: clamp(30px, 7vw, 90px);
    font-weight: 300;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: clamp(10px, 3vw, 30px);
    animation: fadeInUp 0.8s ease 0.3s backwards;
    max-width: 100%;
}

.intro-subtitle {
    font-size: 18px;
    color: var(--gray);
    margin-top: 20px;
    letter-spacing: 5px;
    text-transform: uppercase;
    animation: fadeInUp 0.8s ease 0.5s backwards;
}

.intro-stats {
    display: flex;
    gap: 60px;
    margin-top: 60px;
    animation: fadeInUp 0.8s ease 0.7s backwards;
}

.intro-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.stat-circle {
    position: relative;
    width: 120px;
    height: 120px;
}

.stat-circle svg {
    transform: rotate(-90deg);
    width: 100%;
    height: 100%;
}

.stat-bg {
    fill: none;
    stroke: rgba(255,255,255,0.1);
    stroke-width: 3;
}

.stat-fill {
    fill: none;
    stroke: var(--primary);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 283;
    stroke-dashoffset: calc(283 - (283 * var(--percent) / 100));
    transition: stroke-dashoffset 1.5s ease;
}

.stat-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 600;
}

.stat-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gray);
}

.scroll-hint {
    position: absolute;
    bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    animation: fadeInUp 0.8s ease 1s backwards;
}

.scroll-hint span {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gray);
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 12px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
    0% { transform: translateX(-50%) translateY(0); opacity: 1; }
    100% { transform: translateX(-50%) translateY(15px); opacity: 0; }
}

/* ============================================
   PROJECT SLIDES
   ============================================ */
.project-slide {
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 40px;
    height: 100%;
}

.project-number {
    display: flex;
    align-items: center;
    gap: 20px;
    position: absolute;
    top: 100px;
    right: 80px;
}

.project-number .num {
    font-family: var(--font-display);
    font-size: 80px;
    font-weight: 300;
    color: rgba(255,255,255,0.1);
    line-height: 1;
}

.project-number .line {
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, var(--primary), transparent);
}

.project-header {
    text-align: center;
    padding-top: 40px;
}

.project-icon {
    width: 100px;
    height: 100px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 36px;
    color: var(--primary);
    position: relative;
}

/* Icon Animations */
.pulse-icon .icon-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary);
    border-radius: 50%;
    animation: pulseRing 2s infinite;
}

.pulse-icon .icon-ring.delay {
    animation-delay: 0.5s;
}

@keyframes pulseRing {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.8); opacity: 0; }
}

.spin-icon .orbit {
    position: absolute;
    width: 140%;
    height: 140%;
    border: 1px dashed rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    animation: orbitSpin 10s linear infinite;
}

.spin-icon .orbit-dot {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
}

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

.float-icon {
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.typing-icon .typing-dots {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
}

.typing-icon .typing-dots span {
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    animation: typingDot 1.4s infinite ease-in-out;
}

.typing-icon .typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-icon .typing-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingDot {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.5; }
    40% { transform: scale(1); opacity: 1; }
}

.radar-icon .radar-sweep {
    position: absolute;
    width: 100%;
    height: 100%;
    background: conic-gradient(from 0deg, transparent, var(--primary), transparent);
    border-radius: 50%;
    animation: radarSweep 2s linear infinite;
    opacity: 0.5;
}

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

.project-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 300;
    margin-bottom: 15px;
}

.title-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
    animation: wordReveal 0.6s ease forwards;
}

.title-word:nth-child(2) {
    animation-delay: 0.15s;
}

.title-word.highlight {
    color: var(--primary);
}

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

.project-tagline {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: var(--gray);
}

.project-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* ============================================
   FEATURE CARDS
   ============================================ */
.feature-cards {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.feature-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    width: 160px;
    transition: all 0.4s ease;
    opacity: 0;
    transform: rotateY(90deg);
    animation: flipIn 0.6s ease forwards;
}

.feature-card:nth-child(2) { animation-delay: 0.15s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }

@keyframes flipIn {
    to {
        opacity: 1;
        transform: rotateY(0);
    }
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.feature-card.featured {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, var(--glass) 100%);
    border-color: var(--primary);
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
}

.card-icon.bronze {
    background: linear-gradient(135deg, #cd7f32, #8b4513);
    color: white;
}

.card-icon.gold {
    background: linear-gradient(135deg, #ffd700, #daa520);
    color: var(--dark);
}

.card-icon.vip {
    background: linear-gradient(135deg, #e5e4e2, #c0c0c0);
    color: var(--dark);
}

.feature-card h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.feature-card .price {
    font-family: var(--font-display);
    font-size: 24px;
    color: var(--primary);
    font-weight: 600;
}

.feature-card .price span {
    font-size: 12px;
    color: var(--gray);
}

.feature-card .desc {
    font-size: 12px;
    color: var(--gray);
    margin-top: 5px;
}

/* ============================================
   ROI DISPLAY
   ============================================ */
.roi-display {
    display: flex;
    justify-content: center;
}

.roi-card {
    padding: 40px;
    border-radius: 24px;
    width: 100%;
    max-width: 400px;
}

.glass {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
}

.roi-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gray);
}

.roi-header i {
    color: var(--primary);
}

.roi-amount {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 30px;
}

.roi-amount .currency {
    font-size: 20px;
    color: var(--gray);
}

.roi-amount .value {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 600;
    color: var(--primary);
}

.roi-bar {
    height: 8px;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 30px;
}

.roi-fill {
    height: 100%;
    width: 0;
    background: var(--gradient);
    border-radius: 4px;
    animation: fillBar 1.5s ease forwards 0.5s;
}

@keyframes fillBar {
    to { width: var(--width); }
}

.roi-details {
    display: flex;
    justify-content: space-between;
}

.roi-details .detail {
    text-align: center;
}

.roi-details .label {
    display: block;
    font-size: 12px;
    color: var(--gray);
    margin-bottom: 5px;
}

.roi-details .val {
    font-weight: 600;
}

.roi-details .highlight .val {
    color: var(--primary);
}

/* ============================================
   ENERGY GRID (Slide 2)
   ============================================ */
.energy-grid {
    grid-template-columns: 1fr 1fr;
}

.building-diagram {
    display: flex;
    flex-direction: column-reverse;
    gap: 10px;
    padding: 30px;
}

.floor {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 30px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    opacity: 0;
    transform: translateX(-30px);
    animation: floorSlideIn 0.5s ease forwards;
}

.floor:nth-child(1) { animation-delay: 0.1s; }
.floor:nth-child(2) { animation-delay: 0.2s; }
.floor:nth-child(3) { animation-delay: 0.3s; }
.floor:nth-child(4) { animation-delay: 0.4s; }

@keyframes floorSlideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.floor-label {
    font-weight: 600;
}

.zone-status {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.zone-status.low {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
}

.zone-status.medium {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

.zone-status.optimal {
    background: rgba(212, 175, 55, 0.2);
    color: var(--primary);
}

.savings-card {
    padding: 40px;
    border-radius: 24px;
}

.savings-card h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
    font-size: 20px;
}

.savings-card h3 i {
    color: #28a745;
}

.savings-range {
    margin-bottom: 30px;
}

.range-bar {
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.range-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #28a745, #20c997);
    border-radius: 20px;
    animation: rangeFill 1.5s ease forwards 0.5s;
}

@keyframes rangeFill {
    to { width: 70%; }
}

.range-min, .range-max {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 600;
    font-size: 14px;
}

.range-min { left: 20px; }
.range-max { right: 20px; }

.range-unit {
    display: block;
    text-align: center;
    margin-top: 10px;
    color: var(--gray);
    font-size: 14px;
}

.savings-scenarios {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.scenario {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255,255,255,0.03);
    border-radius: 12px;
}

.scenario i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass);
    border-radius: 10px;
    color: var(--primary);
}

.scenario span {
    flex: 1;
    color: var(--gray);
}

.scenario strong {
    color: #28a745;
}

/* ============================================
   MAJORDOME GRID (Slide 3)
   ============================================ */
.majordome-grid {
    grid-template-columns: 1fr 1fr;
}

.phone-mockup {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.phone-frame {
    width: 280px;
    height: 560px;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border-radius: 40px;
    padding: 15px;
    position: relative;
    box-shadow: 0 30px 80px rgba(0,0,0,0.5);
    animation: phoneFloat 4s ease-in-out infinite;
}

@keyframes phoneFloat {
    0%, 100% { transform: translateY(0) rotateY(0); }
    50% { transform: translateY(-15px) rotateY(5deg); }
}

.phone-notch {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 25px;
    background: var(--dark);
    border-radius: 15px;
}

.phone-screen {
    height: 100%;
    background: var(--darker);
    border-radius: 30px;
    padding: 50px 20px 20px;
    display: flex;
    flex-direction: column;
}

.app-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.app-logo {
    height: 30px;
}

.app-header span {
    font-size: 12px;
    color: var(--gray);
}

.app-services {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    flex: 1;
}

.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.service-item.active {
    border-color: var(--primary);
    background: rgba(212, 175, 55, 0.1);
}

.service-item i {
    font-size: 24px;
    color: var(--primary);
}

.service-item span {
    font-size: 12px;
}

.app-cta button {
    width: 100%;
    padding: 15px;
    background: var(--gradient);
    border: none;
    border-radius: 12px;
    color: var(--dark);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
}

.qr-scan {
    display: flex;
    align-items: center;
    gap: 15px;
}

.qr-code {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    font-size: 30px;
}

.qr-scan span {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gray);
}

.majordome-benefits {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    opacity: 0;
    transform: translateX(30px);
    animation: benefitSlideIn 0.5s ease forwards;
}

.benefit-item:nth-child(1) { animation-delay: 0.2s; }
.benefit-item:nth-child(2) { animation-delay: 0.4s; }
.benefit-item:nth-child(3) { animation-delay: 0.6s; }

@keyframes benefitSlideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.benefit-icon {
    width: 50px;
    height: 50px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary);
}

.benefit-text h4 {
    margin-bottom: 5px;
}

.benefit-text p {
    font-size: 14px;
    color: var(--gray);
}

.roi-mini {
    padding: 20px 30px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
}

.roi-label {
    font-size: 14px;
    color: var(--gray);
}

.roi-value {
    font-family: var(--font-display);
    font-size: 24px;
    color: var(--primary);
    font-weight: 600;
}

/* ============================================
   CHATBOT GRID (Slide 4)
   ============================================ */
.chatbot-grid {
    grid-template-columns: 1fr 1fr;
}

.chat-demo {
    display: flex;
    justify-content: center;
}

.chat-window {
    width: 100%;
    max-width: 350px;
    border-radius: 24px;
    overflow: hidden;
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(255,255,255,0.05);
    border-bottom: 1px solid var(--glass-border);
}

.chat-avatar {
    width: 45px;
    height: 45px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    font-size: 18px;
    position: relative;
}

.online-dot {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 10px;
    height: 10px;
    background: #28a745;
    border-radius: 50%;
    border: 2px solid var(--dark);
}

.chat-name {
    display: block;
    font-weight: 600;
}

.chat-status {
    font-size: 12px;
    color: #28a745;
}

.chat-messages {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    min-height: 200px;
}

.message {
    max-width: 80%;
    padding: 12px 18px;
    border-radius: 18px;
    font-size: 14px;
    opacity: 0;
    animation: messageIn 0.5s ease forwards;
}

.message:nth-child(1) { animation-delay: 0.3s; }
.message:nth-child(2) { animation-delay: 0.8s; }
.message:nth-child(3) { animation-delay: 1.3s; }

@keyframes messageIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message.bot {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.message.user {
    background: var(--gradient);
    color: var(--dark);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.typing-indicator {
    display: flex;
    gap: 5px;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: typingBounce 1.4s infinite ease-in-out;
}

.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

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

.chatbot-features {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.channel-list {
    display: flex;
    gap: 15px;
}

.channel {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.channel.active {
    border-color: #25D366;
    background: rgba(37, 211, 102, 0.1);
}

.channel.active i {
    color: #25D366;
}

.channel i {
    font-size: 20px;
    color: var(--gray);
}

.channel span {
    font-size: 14px;
}

.language-support {
    padding: 20px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
}

.lang-label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gray);
    margin-bottom: 15px;
}

.languages {
    display: flex;
    gap: 10px;
}

.lang {
    padding: 10px 20px;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    font-size: 14px;
}

.stats-row {
    display: flex;
    gap: 15px;
}

.mini-stat {
    flex: 1;
    padding: 20px;
    border-radius: 16px;
    text-align: center;
}

.mini-stat .value {
    display: block;
    font-family: var(--font-display);
    font-size: 28px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 5px;
}

.mini-stat .label {
    font-size: 12px;
    color: var(--gray);
}

/* ============================================
   ANALYTICS GRID (Slide 5)
   ============================================ */
.analytics-grid {
    grid-template-columns: 1fr 1fr;
}

.heatmap-visual {
    position: relative;
}

.mall-layout {
    height: 400px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.mall-layout::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 30%, rgba(239, 68, 68, 0.3) 0%, transparent 30%),
        radial-gradient(circle at 60% 50%, rgba(251, 191, 36, 0.25) 0%, transparent 25%),
        radial-gradient(circle at 25% 70%, rgba(34, 197, 94, 0.2) 0%, transparent 20%),
        radial-gradient(circle at 75% 35%, rgba(59, 130, 246, 0.15) 0%, transparent 20%);
}

.zone {
    position: absolute;
    padding: 15px 20px;
    background: rgba(0,0,0,0.7);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    opacity: 0;
    animation: zoneAppear 0.5s ease forwards;
}

.zone:nth-child(1) { animation-delay: 0.2s; }
.zone:nth-child(2) { animation-delay: 0.4s; }
.zone:nth-child(3) { animation-delay: 0.6s; }
.zone:nth-child(4) { animation-delay: 0.8s; }

@keyframes zoneAppear {
    to { opacity: 1; }
}

.zone::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    animation: zonePulse 2s infinite;
    z-index: -1;
}

.zone.hot::before {
    background: radial-gradient(circle, rgba(239, 68, 68, 0.4) 0%, transparent 70%);
}

.zone.warm::before {
    background: radial-gradient(circle, rgba(251, 191, 36, 0.4) 0%, transparent 70%);
}

.zone.medium::before {
    background: radial-gradient(circle, rgba(34, 197, 94, 0.4) 0%, transparent 70%);
}

.zone.cool::before {
    background: radial-gradient(circle, rgba(59, 130, 246, 0.4) 0%, transparent 70%);
}

@keyframes zonePulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.3); opacity: 0.8; }
}

.zone-label {
    display: block;
    font-size: 12px;
    color: var(--gray);
    margin-bottom: 5px;
}

.zone-count {
    font-weight: 600;
    color: var(--light);
}

.zone.hot .zone-count { color: #ef4444; }
.zone.warm .zone-count { color: #fbbf24; }
.zone.medium .zone-count { color: #22c55e; }
.zone.cool .zone-count { color: #3b82f6; }

.heatmap-legend {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: var(--gray);
}

.legend-item::before {
    content: '';
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.legend-item.hot::before { background: #ef4444; }
.legend-item.cool::before { background: #3b82f6; }

.analytics-metrics {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.metric-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 25px;
    border-radius: 16px;
}

.metric-card i {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 12px;
    color: var(--primary);
    font-size: 20px;
}

.metric-value {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 600;
    color: var(--primary);
}

.metric-value small {
    font-size: 16px;
}

.metric-label {
    font-size: 12px;
    color: var(--gray);
}

.transform-box {
    padding: 30px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 10px;
}

.transform-arrow {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    font-size: 20px;
    animation: arrowPulse 2s infinite;
}

@keyframes arrowPulse {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(10px); }
}

.transform-before, .transform-after {
    flex: 1;
}

.transform-before .label,
.transform-after .label {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gray);
    margin-bottom: 5px;
}

.transform-before p {
    color: var(--gray);
    text-decoration: line-through;
}

.transform-after p {
    color: var(--primary);
    font-weight: 600;
}

/* ============================================
   NAVIGATION ARROWS
   ============================================ */
.nav-arrows {
    position: fixed;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.nav-arrow {
    width: 50px;
    height: 50px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--light);
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-arrow:hover {
    background: var(--primary);
    color: var(--dark);
    border-color: var(--primary);
}

.nav-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.nav-arrow:disabled:hover {
    background: var(--glass);
    color: var(--light);
}

/* ============================================
   TIMELINE OVERLAY
   ============================================ */
.timeline-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.timeline-overlay.active {
    opacity: 1;
    visibility: visible;
}

.timeline-content {
    padding: 50px;
    border-radius: 30px;
    max-width: 800px;
    width: 90%;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.4s ease;
}

.timeline-overlay.active .timeline-content {
    transform: scale(1);
}

.timeline-content h3 {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
    font-size: 24px;
}

.timeline-content h3 i {
    color: var(--primary);
}

.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), rgba(212, 175, 55, 0.2));
}

.timeline-item {
    position: relative;
    padding-bottom: 30px;
    opacity: 0;
    transform: translateX(-20px);
    animation: timelineSlideIn 0.5s ease forwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }
.timeline-item:nth-child(4) { animation-delay: 0.4s; }
.timeline-item:nth-child(5) { animation-delay: 0.5s; }

@keyframes timelineSlideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.timeline-marker {
    position: absolute;
    left: -23px;
    top: 0;
    width: 16px;
    height: 16px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.2);
}

.timeline-info {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px 20px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
}

.timeline-info .phase {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    min-width: 80px;
}

.timeline-info .project {
    flex: 1;
    font-weight: 600;
}

.timeline-info .roi {
    font-size: 14px;
    color: #28a745;
}

.timeline-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--light);
    cursor: pointer;
    transition: all 0.3s ease;
}

.timeline-close:hover {
    background: var(--primary);
    color: var(--dark);
    border-color: var(--primary);
}

.show-timeline {
    position: fixed;
    bottom: 40px;
    left: 40px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    color: var(--light);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
}

.show-timeline:hover {
    background: var(--primary);
    color: var(--dark);
    border-color: var(--primary);
}

/* ============================================
   UTILITY ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   COUNTER ANIMATION
   ============================================ */
.counter {
    font-variant-numeric: tabular-nums;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1200px) {
    .project-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .feature-cards {
        justify-content: center;
        flex-wrap: wrap;
    }

    .slide-indicators {
        display: none;
    }
}

@media (max-width: 768px) {
    .ideas-nav {
        padding: 0 20px;
    }

    .nav-progress {
        display: none;
    }

    .slide-content {
        padding: 100px 20px;
    }

    .project-number {
        display: none;
    }

    .glitch-text {
        font-size: 40px;
        letter-spacing: 5px;
    }

    .gradient-text {
        font-size: 30px;
        letter-spacing: 10px;
    }

    .intro-stats {
        flex-direction: column;
        gap: 30px;
    }

    .stat-circle {
        width: 100px;
        height: 100px;
    }

    .project-title {
        font-size: 32px;
    }

    .feature-card {
        width: 140px;
        padding: 20px;
    }

    .phone-frame {
        width: 240px;
        height: 480px;
    }

    .nav-arrows {
        right: 20px;
    }

    .nav-arrow {
        width: 45px;
        height: 45px;
    }

    .show-timeline {
        bottom: 20px;
        left: 20px;
        padding: 12px 20px;
    }

    .show-timeline span {
        display: none;
    }

    .channel-list {
        flex-wrap: wrap;
    }

    .stats-row {
        flex-direction: column;
    }

    .mall-layout {
        height: 300px;
    }
}
