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

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

:root {
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;
    --gray-950: #0a0a0a;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    background: var(--gray-950);
    color: var(--gray-100);
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.deck-container {
    height: 100vh;
    position: relative;
}

/* Passcode Gate Styles */
.passcode-gate {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #0a0a0a;
    position: relative;
}

.passcode-gate::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
}

.gate-content {
    text-align: center;
    z-index: 2;
    max-width: 400px;
    padding: 0 20px;
}

.gate-logo {
    font-size: 2rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
    letter-spacing: -0.05em;
}

.gate-subtitle {
    font-size: 0.875rem;
    color: #666;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 3rem;
}

.passcode-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.passcode-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #222;
    border-radius: 2px;
    padding: 16px 20px;
    color: #fff;
    font-size: 15px;
    text-align: center;
    letter-spacing: 0.2em;
    transition: all 0.3s ease;
}

.passcode-input::placeholder {
    color: #555;
    letter-spacing: normal;
}

.passcode-input:focus {
    outline: none;
    border-color: #444;
    background: rgba(255, 255, 255, 0.08);
}

.access-btn {
    background: #fff;
    border: none;
    border-radius: 2px;
    padding: 16px 32px;
    color: #000;
    font-size: 14px;
    cursor: pointer;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.access-btn:hover {
    background: #f0f0f0;
    transform: translateY(-1px);
}

.access-btn:disabled {
    background: #333;
    color: #666;
    cursor: not-allowed;
    transform: none;
}

.error-message {
    color: #ff6b6b;
    font-size: 13px;
    opacity: 0;
    transition: opacity 0.3s ease;
    margin-top: 0.5rem;
}

.error-message.show {
    opacity: 1;
}

.slide {
    width: 100vw;
    height: 100vh;
    padding: 140px 120px;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    background: var(--gray-950);
}

.slide.active {
    display: flex;
}

.slide h1 {
    font-size: clamp(3.5rem, 6vw, 6.5rem);
    font-weight: 300;
    line-height: 1;
    margin-bottom: 4rem;
    color: var(--gray-50);
    letter-spacing: -0.05em;
    max-width: 1000px;
}

.slide h2 {
    font-size: clamp(2.8rem, 4.5vw, 4.5rem);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 3rem;
    color: var(--gray-100);
    letter-spacing: -0.04em;
    max-width: 900px;
}

.slide h3 {
    font-size: clamp(1.6rem, 2.2vw, 2.2rem);
    font-weight: 500;
    margin-bottom: 2rem;
    color: var(--gray-200);
    letter-spacing: -0.02em;
}

.slide p {
    font-size: clamp(1.2rem, 1.6vw, 1.6rem);
    line-height: 1.5;
    margin-bottom: 2rem;
    color: var(--gray-400);
    max-width: 800px;
    font-weight: 400;
}

.slide .large-text {
    font-size: clamp(1.5rem, 2.2vw, 2.2rem);
    color: var(--gray-300);
    font-weight: 400;
    line-height: 1.4;
    max-width: 1200px;
}

.slide .accent-text {
    color: var(--gray-50);
    font-weight: 500;
}

/* Ultra-minimal navigation */
.nav-controls {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0;
    z-index: 1000;
    background: var(--gray-900);
    border-radius: 6px;
    padding: 2px;
}

.nav-btn {
    background: transparent;
    border: none;
    color: var(--gray-500);
    padding: 16px 24px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 15px;
    font-weight: 500;
    font-family: inherit;
    width: 150px;
    text-align: center;
    position: relative;
}

.nav-btn:first-child::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10%;
    bottom: 10%;
    width: 2px;
    background: var(--gray-700);
}

.nav-btn:hover {
    background: var(--gray-800);
    color: var(--gray-200);
}

.slide-counter {
    position: fixed;
    top: 80px;
    right: 80px;
    font-size: 15px;
    color: var(--gray-600);
    z-index: 1000;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

/* Clean content boxes */
.content-box {
    background: var(--gray-900);
    border: 1px solid var(--gray-800);
    border-radius: 16px;
    padding: 32px 40px;
    margin: 2rem 0;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.content-box.centered-text {
    min-height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.content-box.centered-text p {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

/* Sophisticated demo layout */
.demo-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    width: 100%;
    max-width: 1400px;
    margin-top: 2rem;
}

.demo-panel {
    background: var(--gray-900);
    border: 1px solid var(--gray-800);
    border-radius: 20px;
    padding: 56px;
}

.demo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    padding: 20px;
    border-radius: 0 0 8px 8px;
    text-align: center;
}

.demo-text {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    opacity: 0.9;
}

.demo-cta {
    text-align: center;
    margin-top: 40px;
}

.demo-link {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    padding: 20px 40px;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.demo-link:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

.demo-link-text {
    display: block;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.demo-link-subtitle {
    display: block;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    font-weight: 400;
}

.panel-label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 32px;
    text-align: center;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.text-output {
    font-family: 'SF Mono', Monaco, 'Inconsolata', 'Roboto Mono', monospace;
    font-size: 14px;
    line-height: 1.7;
    color: var(--gray-400);
    text-align: left;
    background: var(--gray-800);
    padding: 32px;
    border-radius: 12px;
    font-weight: 400;
}

.enhanced-ui {
    text-align: left;
}

.insight-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 32px;
}

.insight-card {
    background: var(--gray-800);
    border: 1px solid var(--gray-700);
    border-radius: 12px;
    padding: 28px;
    text-align: center;
}

.insight-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--gray-100);
    margin-bottom: 8px;
    font-variant-numeric: tabular-nums;
}

.insight-label {
    font-size: 12px;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.action-items {
    background: var(--gray-800);
    border: 1px solid var(--gray-700);
    border-radius: 12px;
    padding: 28px;
}

.action-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    font-size: 15px;
    color: var(--gray-200);
    border-bottom: 1px solid var(--gray-700);
}

.action-item:last-child {
    border-bottom: none;
}

.action-checkbox {
    margin-right: 16px;
    transform: scale(1.1);
}

/* Clean metrics grid */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px;
    width: 100%;
    max-width: 1200px;
    margin-top: 5rem;
}

.metric-card {
    text-align: center;
    padding: 48px 32px;
}

.metric-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--gray-50);
    margin-bottom: 20px;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.metric-description {
    font-size: 16px;
    color: var(--gray-500);
    line-height: 1.4;
    font-weight: 500;
}

/* Elegant market visualization */
.market-visual {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    width: 100%;
    max-width: 1100px;
    margin-top: 5rem;
}

.market-segment {
    text-align: center;
    padding: 32px 24px;
    background: var(--gray-900);
    border: 1px solid var(--gray-800);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    height: 200px;
}

.market-size {
    font-size: 2rem;
    font-weight: 600;
    color: var(--gray-50);
    margin-bottom: 20px;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    letter-spacing: 0.05em;
}

.market-label {
    font-size: 18px;
    color: var(--gray-300);
    margin-bottom: 24px;
    font-weight: 500;
    line-height: 1.3;
}

.market-growth {
    font-size: 14px;
    color: var(--gray-600);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    line-height: normal;
}

/* Platform evolution */
.platform-evolution {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1500px;
    margin-top: 5rem;
    gap: 40px;
}

.evolution-stage {
    flex: 1;
    text-align: center;
    padding: 48px 12px;
    background: var(--gray-900);
    border: 1px solid var(--gray-800);
    border-radius: 16px;
    position: relative;
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.evolution-stage:not(:last-child)::after {
    content: '→';
    position: absolute;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: var(--gray-700);
    font-weight: 300;
    z-index: 10;
}

.stage-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--gray-100);
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.stage-description {
    font-size: 18px;
    color: var(--gray-500);
    line-height: 1.4;
    margin-bottom: 20px;
}

.stage-revenue {
    font-size: 24px;
    font-weight: 700;
    color: var(--gray-200);
    font-variant-numeric: tabular-nums;
}

/* Minimal animations */
.slide-enter {
    animation: slideIn 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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





/* Responsive refinements */
@media (max-width: 1200px) {
    .slide {
        padding: 100px 80px;
    }
    
    .demo-split {
        gap: 60px;
    }
    
    .market-visual {
        gap: 40px;
    }
    
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .slide {
        padding: 80px 40px;
    }
    
    .demo-split,
    .platform-evolution {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .market-visual {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}
