@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Orbitron:wght@600;800;900&family=Rajdhani:wght@500;600;700&display=swap');

:root {
    --bg-dark: #050b16;
    --bg-card: rgba(10, 20, 44, 0.85);
    --bg-card-border: rgba(0, 229, 255, 0.28);
    --bg-card-hover: rgba(14, 28, 60, 0.98);
    --accent-cyan: #00e5ff;
    --accent-cyan-glow: rgba(0, 229, 255, 0.45);
    --accent-blue: #0088ff;
    --accent-red: #ff4d4d;
    --accent-red-glow: rgba(255, 77, 77, 0.45);
    --text-primary: #ffffff;
    --text-secondary: #a0aec0;
    --text-muted: #64748b;
    --font-heading: 'Orbitron', 'Rajdhani', sans-serif;
    --font-subheading: 'Rajdhani', sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --shadow-neon-cyan: 0 0 35px rgba(0, 229, 255, 0.32);
    --shadow-neon-red: 0 0 35px rgba(255, 77, 77, 0.32);
    --transition-fast: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html, body {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
}

/* Background Cyber Grid Pattern */
.bg-grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 229, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 229, 255, 0.035) 1px, transparent 1px);
    background-size: 36px 36px;
    pointer-events: none;
    z-index: 0;
}

.bg-glow-orb {
    position: absolute;
    width: 900px;
    height: 900px;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.09) 0%, rgba(5, 11, 22, 0) 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
    filter: blur(70px);
}

/* FULL SCREEN PRESENTATION CONTAINER */
.presentation-app {
    position: relative;
    z-index: 1;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.presentation-stage-wrapper {
    width: 100vw;
    height: 100vh;
    position: relative;
}

.presentation-stage {
    position: relative;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at center, #0a1738 0%, #050b16 100%);
    box-shadow: inset 0 0 80px rgba(0, 229, 255, 0.08);
    overflow: hidden;
}

/* Outer Border Accents for Fullscreen Depth */
.presentation-stage::before {
    content: '';
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(0, 229, 255, 0.18);
    border-radius: 20px;
    pointer-events: none;
    z-index: 50;
}

/* Header Brand */
.top-header {
    position: absolute;
    top: 25px;
    left: 45px;
    right: 45px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 100;
}

.brand-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(5, 11, 22, 0.9);
    backdrop-filter: blur(14px);
    border: 1px solid var(--bg-card-border);
    padding: 8px 24px;
    border-radius: 30px;
}

.brand-icon {
    width: 22px;
    height: 22px;
    fill: var(--accent-cyan);
    filter: drop-shadow(0 0 8px var(--accent-cyan));
}

.brand-title {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #ffffff;
}

.slide-counter-badge {
    background: rgba(5, 11, 22, 0.9);
    backdrop-filter: blur(14px);
    border: 1px solid var(--bg-card-border);
    color: var(--accent-cyan);
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 800;
    padding: 8px 20px;
    border-radius: 30px;
    letter-spacing: 1px;
}

/* Slide Viewport */
.slides-viewport {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.98);
    transition: opacity var(--transition-normal), transform var(--transition-normal), visibility var(--transition-normal);
    padding: 80px 85px 60px 85px;
    display: flex;
    flex-direction: column;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    z-index: 10;
}

/* Header & Typography */
.slide-header {
    margin-bottom: 28px;
    position: relative;
}

.slide-title {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 800;
    color: var(--accent-cyan);
    text-shadow: 0 0 30px rgba(0, 229, 255, 0.5);
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.slide-subtitle {
    font-family: var(--font-body);
    font-size: 21px;
    color: #cbd5e1;
    font-weight: 400;
    line-height: 1.4;
}

.slide-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    position: relative;
    height: calc(100% - 110px);
}

/* UNIVERSAL INTERACTIVE CARD COMPONENT WITH FULL STRETCH & INVERTED HOVER STATES */
.interactive-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--bg-card-border);
    border-radius: var(--radius-md);
    padding: 32px 34px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45);
    transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.interactive-card:hover {
    transform: translateY(-6px) scale(1.015);
    background: var(--bg-card-hover);
    border-color: var(--accent-cyan);
    box-shadow: var(--shadow-neon-cyan), 0 16px 40px rgba(0, 0, 0, 0.6);
    z-index: 10;
}

/* CYAN CARD HOVER INVERSION */
.interactive-card:hover .card-main-heading {
    color: #ffffff !important;
    text-shadow: 0 0 12px rgba(0, 229, 255, 0.6);
}

.interactive-card:hover .card-overlay-badge {
    background: var(--accent-cyan) !important;
    border-color: var(--accent-cyan) !important;
    color: #050b16 !important;
    box-shadow: 0 0 15px var(--accent-cyan);
    font-weight: 900;
}

/* RED CARD HOVER INVERSION */
.interactive-card.red-hover:hover {
    border-color: var(--accent-red) !important;
    box-shadow: var(--shadow-neon-red), 0 16px 40px rgba(0, 0, 0, 0.6) !important;
    background: rgba(36, 14, 24, 0.98) !important;
}

.interactive-card.red-hover:hover .card-main-heading {
    color: #ffffff !important;
    text-shadow: 0 0 15px rgba(255, 77, 77, 0.8) !important;
}

.interactive-card.red-hover:hover .card-overlay-badge {
    background: var(--accent-red) !important;
    border-color: var(--accent-red) !important;
    color: #ffffff !important;
    box-shadow: 0 0 15px var(--accent-red) !important;
    font-weight: 900;
}

.interactive-card.red-hover:hover .item-desc-text,
.interactive-card.red-hover:hover .step-desc,
.interactive-card.red-hover:hover p {
    color: #f8fafc !important;
}

/* OVERLAPPING OVERLAY BADGE */
.card-overlay-badge {
    position: absolute;
    top: -15px;
    left: 28px;
    background: rgba(5, 11, 22, 0.95);
    border: 1px solid var(--accent-cyan);
    color: var(--accent-cyan);
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 800;
    padding: 5px 14px;
    border-radius: 14px;
    box-shadow: 0 0 14px rgba(0, 229, 255, 0.3);
    letter-spacing: 0.8px;
    transition: var(--transition-fast);
    z-index: 5;
}

.card-main-heading {
    font-family: var(--font-subheading);
    font-size: 26px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
    transition: var(--transition-fast);
}

/* SLIDE 1: HERO OPEN FULLSCREEN */
.slide-1-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    position: relative;
}

.hero-box-card {
    background: rgba(10, 20, 44, 0.88);
    border: 2px solid var(--bg-card-border);
    border-radius: 30px;
    padding: 70px 100px;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-neon-cyan);
    transition: var(--transition-normal);
    position: relative;
    max-width: 1100px;
    width: 100%;
    text-align: center;
}

.hero-box-card:hover {
    transform: scale(1.02);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 60px rgba(0, 229, 255, 0.5);
}

.hero-floating-badge {
    position: absolute;
    background: rgba(5, 11, 22, 0.95);
    border: 1px solid var(--accent-cyan);
    color: var(--accent-cyan);
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 800;
    padding: 7px 18px;
    border-radius: 20px;
    box-shadow: 0 0 16px rgba(0, 229, 255, 0.3);
    z-index: 20;
}

.badge-top-left { top: -16px; left: 40px; }
.badge-top-right { top: -16px; right: 40px; }
.badge-bottom-center { bottom: -16px; left: 50%; transform: translateX(-50%); }

.hero-logo-visual {
    margin-top: -10px;
    margin-bottom: 20px;
}

.ekg-safe-svg {
    width: 260px;
    height: 115px;
    filter: drop-shadow(0 0 25px var(--accent-cyan));
}

.hero-title-text {
    font-family: var(--font-heading);
    font-size: 104px;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 3px;
    margin-top: -10px;
    margin-bottom: 14px;
    text-shadow: 0 0 45px rgba(255, 255, 255, 0.4);
}

.hero-subtitle-text {
    font-family: var(--font-subheading);
    font-size: 30px;
    font-weight: 600;
    color: var(--accent-cyan);
    text-shadow: 0 0 25px rgba(0, 229, 255, 0.5);
    line-height: 1.35;
}

/* SLIDE 2: PARADOX FULLSCREEN */
.slide-2-container {
    display: grid;
    grid-template-columns: 1fr 130px 1fr;
    gap: 25px;
    align-items: stretch;
    height: 100%;
}

.feature-item-box {
    display: flex;
    gap: 18px;
    align-items: center;
    background: rgba(255, 255, 255, 0.035);
    padding: 22px 24px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.07);
    margin-top: 16px;
    transition: var(--transition-fast);
    flex: 1;
}

.item-icon-orb {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: -8px;
    box-shadow: 0 0 18px rgba(0, 0, 0, 0.5);
    transition: var(--transition-fast);
}

.cyan-orb { background: rgba(0, 229, 255, 0.16); border: 1px solid var(--accent-cyan); color: var(--accent-cyan); }
.red-orb { background: rgba(255, 77, 77, 0.16); border: 1px solid var(--accent-red); color: var(--accent-red); }

.feature-item-box:hover {
    background: rgba(0, 229, 255, 0.1);
    border-color: var(--accent-cyan);
    transform: translateX(8px);
}

.red-hover .feature-item-box:hover {
    background: rgba(255, 77, 77, 0.12);
    border-color: var(--accent-red);
}

.item-desc-text {
    font-size: 17px;
    line-height: 1.5;
    color: #cbd5e1;
}

.item-desc-text strong {
    color: #ffffff;
    font-weight: 700;
}

.friction-central-widget {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-left: -15px;
    margin-right: -15px;
    z-index: 10;
}

.friction-svg-icon {
    width: 115px;
    height: 210px;
    filter: drop-shadow(0 0 25px var(--accent-cyan));
    transition: var(--transition-fast);
}

.friction-central-widget:hover .friction-svg-icon {
    filter: drop-shadow(0 0 45px var(--accent-cyan)) drop-shadow(0 0 45px var(--accent-red));
    transform: scale(1.12);
}

/* SLIDE 3: DIGITAL CASH ENVELOPE FULLSCREEN */
.slide-3-flow-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-bottom: 28px;
    position: relative;
    flex: 1;
}

.curved-timeline-svg {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 60px;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 0;
    filter: drop-shadow(0 0 12px var(--accent-cyan));
}

.process-step-card {
    position: relative;
    z-index: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 32px 24px;
}

.process-step-card.highlighted-white {
    background: rgba(255, 255, 255, 0.96);
    color: #050b16;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 45px var(--accent-cyan);
}

.process-step-card.highlighted-white .card-main-heading { color: #050b16 !important; }
.process-step-card.highlighted-white .step-desc { color: #1e293b !important; font-weight: 500; }

.process-step-card.highlighted-white:hover {
    background: #ffffff !important;
    box-shadow: 0 0 55px var(--accent-cyan) !important;
}

.process-icon-box {
    width: 64px;
    height: 64px;
    margin-bottom: 14px;
}

.step-desc {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.45;
    margin-top: 10px;
}

.pillars-flex-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.pillar-interactive-badge {
    display: flex;
    align-items: center;
    gap: 18px;
    background: rgba(10, 20, 44, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    padding: 22px 26px;
    transition: var(--transition-fast);
}

.pillar-interactive-badge:hover {
    background: rgba(14, 28, 60, 0.98);
    border-color: var(--accent-cyan);
    box-shadow: var(--shadow-neon-cyan);
    transform: translateY(-4px);
}

.pillar-icon-svg {
    width: 36px;
    height: 36px;
    color: var(--accent-cyan);
    flex-shrink: 0;
}

.pillar-text-content {
    font-size: 16px;
    line-height: 1.45;
    color: #cbd5e1;
}

/* SLIDE 4: BODYGUARD 2x2 FULLSCREEN */
.slide-4-grid-2x2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 24px;
    height: 100%;
}

.widget-demo-container {
    margin-top: 16px;
    padding: 16px 20px;
    background: rgba(5, 11, 22, 0.75);
    border-radius: var(--radius-sm);
    border: 1px dashed rgba(0, 229, 255, 0.28);
    transition: var(--transition-fast);
}

.speedbump-sim-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.sim-timer-pill {
    background: rgba(255, 77, 77, 0.2);
    border: 1px solid var(--accent-red);
    color: var(--accent-red);
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 800;
    padding: 7px 16px;
    border-radius: 8px;
    box-shadow: 0 0 14px rgba(255, 77, 77, 0.3);
}

.trigger-sim-btn {
    background: rgba(0, 229, 255, 0.15);
    border: 1px solid var(--accent-cyan);
    color: var(--accent-cyan);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    padding: 9px 18px;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.trigger-sim-btn:hover {
    background: var(--accent-cyan);
    color: #050b16;
    box-shadow: 0 0 20px var(--accent-cyan);
}

.voice-wave-container {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 12px;
}

.glowing-voice-orb {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-cyan) 0%, var(--accent-blue) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 25px var(--accent-cyan);
}

.audio-bars-wrapper {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 28px;
}

.audio-bar {
    width: 5px;
    background: var(--accent-cyan);
    border-radius: 3px;
    animation: barPulse 1.2s infinite ease-in-out;
}

.audio-bar:nth-child(1) { height: 12px; animation-delay: 0.1s; }
.audio-bar:nth-child(2) { height: 24px; animation-delay: 0.3s; }
.audio-bar:nth-child(3) { height: 16px; animation-delay: 0.2s; }
.audio-bar:nth-child(4) { height: 28px; animation-delay: 0.4s; }
.audio-bar:nth-child(5) { height: 14px; animation-delay: 0.15s; }

@keyframes barPulse {
    0%, 100% { transform: scaleY(0.4); opacity: 0.6; }
    50% { transform: scaleY(1); opacity: 1; }
}

/* SLIDE 5: ARCHITECTURE SINGLE HORIZONTAL ROW FULLSCREEN */
.arch-diagram-stage {
    display: grid;
    grid-template-columns: minmax(220px, 260px) 120px 1fr 120px minmax(220px, 260px);
    gap: 16px;
    align-items: stretch;
    height: 100%;
    width: 100%;
}

.arch-node-card {
    text-align: center;
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.edge-node-featured {
    border: 2px solid var(--accent-cyan);
    box-shadow: 0 0 50px var(--accent-cyan-glow);
    background: rgba(10, 20, 44, 0.95);
}

.arch-bullet-list {
    text-align: left;
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.arch-bullet-item {
    font-size: 15.5px;
    line-height: 1.5;
    color: #e2e8f0;
    position: relative;
    padding-left: 22px;
}

.arch-bullet-item::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-cyan);
    font-size: 22px;
}

.flow-connector-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    z-index: 10;
}

.dashed-line-connector {
    width: 100%;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--accent-cyan) 0 8px, transparent 8px 14px);
}

.lock-pill-badge {
    background: rgba(5, 11, 22, 0.95);
    border: 1px solid var(--accent-cyan);
    padding: 7px 14px;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 800;
    color: var(--accent-cyan);
    letter-spacing: 0.6px;
    box-shadow: 0 0 16px rgba(0, 229, 255, 0.3);
    text-align: center;
    white-space: nowrap;
}

/* SLIDE 6: GTM FULLSCREEN */
.gtm-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    height: 100%;
}

.gtm-phase-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 34px 28px;
}

.gtm-phase-header {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 22px;
}

.gtm-phase-icon {
    width: 48px;
    height: 48px;
    color: var(--accent-cyan);
    flex-shrink: 0;
}

.gtm-phase-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 18px;
    flex: 1;
    justify-content: space-around;
}

.gtm-phase-bullets li {
    font-size: 16px;
    color: #cbd5e1;
    line-height: 1.5;
    position: relative;
    padding-left: 22px;
}

.gtm-phase-bullets li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-cyan);
    font-size: 22px;
}
