/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4F46E5;
    --primary-dark: #4338CA;
    --secondary-color: #7C3AED;
    --accent-color: #06B6D4;
    --text-primary: #1F2937;
    --text-secondary: #6B7280;
    --bg-light: #F9FAFB;
    --bg-white: #FFFFFF;
    --border-color: #E5E7EB;
    --success-color: #10B981;
    --warning-color: #F59E0B;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-primary);
    background: #0F172A;
    overflow: hidden;
    line-height: 1.6;
}

/* Deck Container */
.deck-container {
    width: 100vw;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

/* Slides Container */
.slides {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease, transform 0.6s ease;
    transform: translateX(100px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 60px;
}

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

.slide.prev {
    transform: translateX(-100px);
}

/* Slide Content */
.slide-content {
    max-width: 1200px;
    width: 100%;
    animation: slideIn 0.8s ease;
}

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

/* Title Slide */
.title-slide {
    text-align: center;
}

.mega-title {
    font-size: 120px;
    font-weight: 900;
    color: white;
    margin-bottom: 20px;
    letter-spacing: -2px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    font-family: 'Jost', sans-serif;
}

.subtitle {
    font-size: 48px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 16px;
}

.tagline {
    font-size: 32px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 60px;
}

.company-info {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.7);
}

/* Generic Slide Title */
.slide-title {
    font-size: 56px;
    font-weight: 800;
    color: white;
    margin-bottom: 50px;
    text-align: center;
    font-family: 'Jost', sans-serif;
}

/* Problem Slide */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.problem-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-5px);
}

.problem-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.problem-card h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.problem-card p {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Solution Slide */
.solution-hero {
    background: rgba(255, 255, 255, 0.95);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.solution-text h3 {
    font-size: 42px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.big-text {
    font-size: 24px;
    color: var(--text-primary);
    margin-bottom: 40px;
    font-weight: 500;
    line-height: 1.5;
}

.solution-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.solution-features li {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.feature-icon {
    font-size: 40px;
    flex-shrink: 0;
}

.solution-features strong {
    font-size: 22px;
    color: var(--text-primary);
    display: block;
    margin-bottom: 8px;
}

.solution-features p {
    font-size: 18px;
    color: var(--text-secondary);
}

/* Workflow Slide */
.workflow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.95);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    gap: 20px;
}

.workflow-step {
    flex: 1;
    text-align: center;
}

.step-number {
    width: 70px;
    height: 70px;
    background: var(--gradient-1);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 800;
    margin: 0 auto 20px;
    box-shadow: 0 5px 15px rgba(79, 70, 229, 0.3);
}

.workflow-step h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.workflow-step p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.workflow-arrow {
    font-size: 40px;
    color: var(--primary-color);
    font-weight: 700;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 35px;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.feature-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.feature-emoji {
    font-size: 36px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.feature-card p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Market Opportunity */
.market-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 50px;
    gap: 30px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    flex: 1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.stat-number {
    font-size: 64px;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-family: 'Jost', sans-serif;
}

.stat-label {
    font-size: 18px;
    color: var(--text-secondary);
    font-weight: 600;
}

.market-narrative {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.market-narrative h3 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 25px;
}

.market-reasons {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.market-reasons li {
    font-size: 18px;
    color: var(--text-secondary);
    padding-left: 30px;
    position: relative;
}

.market-reasons li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 24px;
}

.market-reasons strong {
    color: var(--text-primary);
}

/* Technology Stack */
.tech-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    align-items: start;
}

.tech-architecture {
    background: rgba(255, 255, 255, 0.95);
    padding: 25px 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.tech-layer {
    margin-bottom: 15px;
}

.tech-layer:last-child {
    margin-bottom: 0;
}

.tech-layer h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.tech-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-badge {
    background: var(--gradient-1);
    color: white;
    padding: 6px 14px;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(79, 70, 229, 0.3);
}

.tech-advantages {
    background: rgba(255, 255, 255, 0.95);
    padding: 25px 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.tech-advantages h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.tech-advantages ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tech-advantages li {
    font-size: 15px;
    color: var(--text-secondary);
    padding-left: 22px;
    position: relative;
    line-height: 1.4;
}

.tech-advantages li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: 700;
    font-size: 16px;
}

.tech-advantages strong {
    color: var(--text-primary);
}

/* Pricing */
.pricing-tiers {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 25px 20px;
    border-radius: 16px;
    flex: 1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    transition: transform 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-card.featured {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: scale(1.02);
}

.pricing-card.featured h3,
.pricing-card.featured .price,
.pricing-card.featured li {
    color: white;
}

.popular-badge {
    position: absolute;
    top: -12px;
    right: 15px;
    background: var(--warning-color);
    color: white;
    padding: 6px 16px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 700;
}

.pricing-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.price {
    font-size: 38px;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 18px;
    font-family: 'Jost', sans-serif;
}

.price span {
    font-size: 16px;
    font-weight: 500;
}

.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pricing-features li {
    font-size: 14px;
    color: var(--text-secondary);
    padding-left: 20px;
    position: relative;
}

.pricing-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: 700;
    font-size: 14px;
}

.pricing-card.featured .pricing-features li::before {
    color: rgba(255, 255, 255, 0.9);
}

.revenue-model {
    background: rgba(255, 255, 255, 0.95);
    padding: 20px 25px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.revenue-model h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.revenue-model p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

/* Traction & Roadmap */
.traction-roadmap-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    align-items: start;
}

.traction-section {
    background: rgba(255, 255, 255, 0.95);
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.traction-section h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.status-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.status-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.status-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.status-item h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.status-item p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.roadmap-section {
    background: rgba(255, 255, 255, 0.95);
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.roadmap-section h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.roadmap-timeline {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.roadmap-item {
    display: flex;
    gap: 15px;
    position: relative;
}

.roadmap-item:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 17px;
    top: 38px;
    bottom: -15px;
    width: 2px;
    background: var(--border-color);
}

.timeline-dot {
    width: 36px;
    height: 36px;
    background: var(--gradient-1);
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(79, 70, 229, 0.3);
}

.timeline-content h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.timeline-content ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.timeline-content li {
    font-size: 13px;
    color: var(--text-secondary);
    padding-left: 18px;
    position: relative;
    line-height: 1.4;
}

.timeline-content li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 13px;
}

/* CTA Slide */
.cta-slide {
    text-align: center;
}

.cta-content {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.cta-text {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-weight: 500;
}

/* Demos Section */
.demos-section {
    background: linear-gradient(135deg, #f0f4ff 0%, #e8edff 100%);
    padding: 25px;
    border-radius: 16px;
    margin-bottom: 35px;
    border: 2px solid var(--primary-color);
}

.demos-section h3 {
    font-size: 24px;
    color: var(--text-primary);
    margin-bottom: 18px;
    font-weight: 700;
}

.demo-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.demo-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: white;
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.2);
}

.demo-link:hover {
    background: var(--gradient-1);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.4);
}

.demo-icon {
    font-size: 20px;
}

.cta-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.cta-option {
    padding: 20px;
    border: 2px solid var(--border-color);
    border-radius: 14px;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.cta-option:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.cta-option h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.cta-option p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 18px;
}

.cta-button {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-button.primary {
    background: var(--gradient-1);
    color: white;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
}

.cta-button.secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.cta-button.secondary:hover {
    background: var(--primary-color);
    color: white;
}

.contact-info {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid var(--border-color);
}

.contact-info p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.contact-info strong {
    color: var(--text-primary);
}

/* Navigation Buttons */
.slide-nav {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    z-index: 100;
}

.nav-btn {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.nav-btn:hover {
    background: white;
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

.nav-btn:disabled:hover {
    transform: scale(1);
}

.nav-btn svg {
    color: var(--primary-color);
}

/* Progress Bar */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 100;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-1);
    transition: width 0.3s ease;
}

/* Slide Counter */
.slide-counter {
    position: fixed;
    top: 30px;
    right: 40px;
    background: rgba(255, 255, 255, 0.95);
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    z-index: 100;
}

/* Keyboard Shortcuts Hint */
.keyboard-hint {
    position: fixed;
    bottom: 30px;
    left: 40px;
    background: rgba(255, 255, 255, 0.9);
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    color: var(--text-secondary);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .mega-title {
        font-size: 80px;
    }

    .subtitle {
        font-size: 36px;
    }

    .tagline {
        font-size: 24px;
    }

    .slide-title {
        font-size: 42px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-tiers {
        flex-direction: column;
    }

    .pricing-card.featured {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .slide {
        padding: 40px 20px;
    }

    .mega-title {
        font-size: 48px;
    }

    .subtitle {
        font-size: 24px;
    }

    .tagline {
        font-size: 18px;
    }

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

    .problem-grid,
    .features-grid,
    .status-grid,
    .cta-options {
        grid-template-columns: 1fr;
    }

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

    .workflow {
        flex-direction: column;
    }

    .workflow-arrow {
        transform: rotate(90deg);
    }

    .nav-btn {
        width: 50px;
        height: 50px;
    }

    .slide-counter {
        top: 20px;
        right: 20px;
        font-size: 14px;
        padding: 8px 16px;
    }
}

/* Print Styles */
@media print {
    .slide {
        page-break-after: always;
        position: relative;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .slide-nav,
    .progress-bar,
    .slide-counter {
        display: none;
    }
}
