@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Space+Grotesk:wght@500;700&display=swap');

:root {
    --bg: #0a0a0a;
    --accent: #f4a100;
    --text: #ffffff;
    --text-sub: rgba(255, 255, 255, 0.85);
    --text-muted: rgba(255, 255, 255, 0.6);
    --border: rgba(255, 255, 255, 0.1);
}

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

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    overflow: hidden; /* Prevent vertical scroll */
}

/* Horizontal Wrapper */
.presentation-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    height: 100vh;
    width: 100vw;
    -ms-overflow-style: none; /* Hide scrollbar Hide on IE/Edge */
    scrollbar-width: none; /* Hide on Firefox */
}

.presentation-container::-webkit-scrollbar {
    display: none; /* Hide on Chrome/Safari */
}

/* Individual Slides */
section.slide {
    flex: 0 0 100vw;
    height: 100vh;
    scroll-snap-align: start;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem;
    position: relative;
    overflow-y: auto; /* Allow internal vertical scroll if needed */
}

.slide-content {
    max-width: 900px;
    width: 100%;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

section.slide.active .slide-content {
    opacity: 1;
    transform: translateY(0);
}

/* Header & Controls */
.fixed-nav {
    position: fixed;
    top: 2rem;
    left: 4rem;
    right: 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    pointer-events: none;
}

.nav-controls {
    position: fixed;
    bottom: 3rem;
    right: 4rem;
    display: flex;
    gap: 1.5rem;
    z-index: 100;
}

.nav-arrow {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: var(--text);
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    pointer-events: auto;
}

.nav-arrow:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #000;
    transform: scale(1.1);
}

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

/* Progress Indicator */
.progress-bar-container {
    position: fixed;
    bottom: 3.5rem;
    left: 4rem;
    width: calc(100% - 15rem);
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    z-index: 100;
}

.progress-bar-fill {
    height: 100%;
    background: var(--accent);
    width: 0%;
    transition: width 0.3s ease;
    box-shadow: 0 0 15px var(--accent);
}

/* Content Styling */
h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: var(--text);
}

h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

p {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--text-sub);
    margin-bottom: 2rem;
}

ul {
    list-style: none;
    margin-bottom: 2rem;
}

ul li {
    font-size: 1.15rem;
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    color: var(--text-muted);
}

ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

/* Media/Graphic Placement */
.slide-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-slide {
    background: radial-gradient(circle at 70% 30%, rgba(244, 161, 0, 0.15) 0%, transparent 50%);
}

.mockup-media {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    border: 1px solid var(--border);
}

/* ROI / Engine Slide Special Handling */
.roi-slide-inner {
    max-width: 1200px !important;
}

/* Logo */
.logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    pointer-events: auto;
}

.logo span {
    color: var(--accent);
}

/* Buttons */
.cta-button {
    display: inline-block;
    background: var(--accent);
    color: #000;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(244, 161, 0, 0.4);
}

@media (max-width: 900px) {
    section.slide { padding: 8rem 2rem 4rem; justify-content: flex-start; }
    .slide-grid { grid-template-columns: 1fr; gap: 2rem; }
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.75rem; }
    .fixed-nav { left: 2rem; right: 2rem; top: 1.5rem; }
    .nav-controls { bottom: 2rem; right: 2rem; }
    .progress-bar-container { left: 2rem; width: calc(100% - 10rem); bottom: 2.5rem; }
}

@media (max-width: 600px) {
    section.slide { padding: 10rem 1.5rem 6rem; }
    .fixed-nav { flex-direction: column; gap: 0.75rem; text-align: center; }
    .logo { font-size: 1.1rem; }
    h1 { font-size: 2rem; }
    p { font-size: 1rem; }
    .nav-arrow { width: 3rem; height: 3rem; }
}
