:root {
    --primary: #0a1628;
    --secondary: #1a3a5c;
    --accent: #00d4aa;
    --accent-glow: rgba(0, 212, 170, 0.3);
    --accent-secondary: #00a8ff;
    --text: #e8f4f8;
    --text-muted: #8ba3b8;
    --surface: rgba(26, 58, 92, 0.4);
    --gradient-1: linear-gradient(135deg, #00d4aa 0%, #00a8ff 100%);
    --gradient-2: linear-gradient(135deg, #0a1628 0%, #1a3a5c 50%, #0a1628 100%);
}

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

html {
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
}

body {
    font-family: 'Sora', sans-serif;
    background: var(--primary);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Fixed mitochondria background image */
.bg-mito-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background-image: url('assets/mitochondria-render-horizontal.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.2;
}

/* Animated background */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.mitochondria {
    position: absolute;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    opacity: 0.1;
    animation: float 20s infinite ease-in-out;
}

.mitochondria::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 10%;
    right: 10%;
    bottom: 20%;
    border: 2px solid currentColor;
    border-radius: inherit;
}

.mitochondria:nth-child(1) {
    width: 200px;
    height: 80px;
    top: 10%;
    left: 5%;
    background: var(--accent);
    animation-delay: 0s;
}

.mitochondria:nth-child(2) {
    width: 150px;
    height: 60px;
    top: 60%;
    right: 10%;
    background: var(--accent-secondary);
    animation-delay: -5s;
}

.mitochondria:nth-child(3) {
    width: 180px;
    height: 70px;
    bottom: 20%;
    left: 15%;
    background: var(--accent);
    animation-delay: -10s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-30px) rotate(5deg);
    }

    50% {
        transform: translateY(0) rotate(0deg);
    }

    75% {
        transform: translateY(30px) rotate(-5deg);
    }
}

/* Navigation */
.nav {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.nav-dot:hover,
.nav-dot.active {
    background: var(--accent);
    transform: scale(1.3);
    box-shadow: 0 0 20px var(--accent-glow);
}

/* Slide container */
.slide {
    min-height: 100vh;
    padding: 60px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
    scroll-snap-align: start;
}

.slide-content {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

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

/* Typography */
h1 {
    font-family: 'DM Serif Display', serif;
    font-size: 4.5rem;
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 3rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: var(--text);
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.subtitle {
    font-size: 1.4rem;
    color: var(--text-muted);
    max-width: 800px;
    margin-bottom: 2rem;
}

.tagline {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
}

/* Cards and containers */
.card {
    background: var(--surface);
    border: 1px solid rgba(0, 212, 170, 0.2);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.card:hover {
    border-color: var(--accent);
    box-shadow: 0 0 40px rgba(0, 212, 170, 0.1);
    transform: translateY(-5px);
}

.grid {
    display: grid;
    gap: 2rem;
}

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

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

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

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

/* Stats */
.stat {
    text-align: center;
    padding: 2rem;
}

.stat-value {
    font-family: 'DM Serif Display', serif;
    font-size: 3.5rem;
    color: var(--accent);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* List styles */
.feature-list {
    list-style: none;
}

.feature-list li {
    padding: 1rem 0;
    padding-left: 2rem;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 3rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient-1);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -3rem;
    top: 0.5rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent);
    border: 3px solid var(--primary);
}

.timeline-date {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

/* Highlight box */
.highlight-box {
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.15) 0%, rgba(0, 168, 255, 0.15) 100%);
    border-left: 4px solid var(--accent);
    padding: 1.5rem 2rem;
    border-radius: 0 12px 12px 0;
    margin: 2rem 0;
}

/* Table styles */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.data-table th,
.data-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.data-table th {
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.data-table tr:hover td {
    background: rgba(0, 212, 170, 0.05);
}

/* Badge */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge-success {
    background: rgba(0, 212, 170, 0.2);
    color: var(--accent);
}

.badge-warning {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

.badge-info {
    background: rgba(0, 168, 255, 0.2);
    color: var(--accent-secondary);
}

/* CTA Button */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--gradient-1);
    border: none;
    border-radius: 50px;
    color: var(--primary);
    font-family: 'Sora', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px var(--accent-glow);
}

/* Logo */
.logo {
    font-family: 'DM Serif Display', serif;
    font-size: 1.5rem;
    color: var(--text);
    position: fixed;
    top: 30px;
    left: 40px;
    z-index: 1000;
}

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

/* Slide counter */
.slide-counter {
    position: fixed;
    bottom: 30px;
    left: 40px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    color: var(--text-muted);
    z-index: 1000;
}

.slide-counter .current {
    color: var(--accent);
    font-size: 1.5rem;
}

/* Progress bar */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--gradient-1);
    z-index: 1001;
    transition: width 0.3s ease;
}

/* Title slide specific */
.title-slide {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.title-slide h1 {
    font-size: 5.5rem;
    margin-bottom: 0.5rem;
}

.title-slide .company-name {
    font-family: 'Sora', sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 8px;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 2rem;
}

/* Two column layout */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* Icon container */
.icon-box {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.2) 0%, rgba(0, 168, 255, 0.2) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Pillar cards */
.pillar {
    position: relative;
    overflow: hidden;
}

.pillar::after {
    content: attr(data-letter);
    position: absolute;
    right: -10px;
    bottom: -20px;
    font-family: 'DM Serif Display', serif;
    font-size: 8rem;
    color: rgba(0, 212, 170, 0.1);
    line-height: 1;
}

/* Competitor table */
.competitor-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr 2fr;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    align-items: center;
}

.competitor-row.header {
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

/* Ask slide */
.ask-amount {
    font-family: 'DM Serif Display', serif;
    font-size: 6rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

/* Responsive */
@media (max-width: 1200px) {
    .slide {
        padding: 40px;
    }

    h1 {
        font-size: 3.5rem;
    }

    h2 {
        font-size: 2.5rem;
    }

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

    .two-col {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }

    h1 {
        font-size: 2.5rem;
    }

    .title-slide h1 {
        font-size: 3rem;
    }

    .grid-2,
    .grid-3,
    .grid-4,
    .grid-5 {
        grid-template-columns: 1fr;
    }

    .stat-value {
        font-size: 2.5rem;
    }

    .ask-amount {
        font-size: 3.5rem;
    }
}