:root {
    --bg-color: #f0f7f4;
    /* Soft Mint White */
    --text-color: #2d3436;
    --primary-color: #27ae60;
    /* Leaf Green */
    --secondary-color: #2ecc71;
    /* Emerald */
    --accent-color: #e67e22;
    /* Earth/Soil Orange */
    --death-color: #c0392b;
    /* Fading Red */
    --font-main: 'Nunito', sans-serif;
    --font-mono: 'Fira Code', monospace;
}

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

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

.presentation-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Organic Background */
.organic-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 20%, rgba(39, 174, 96, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(230, 126, 34, 0.1) 0%, transparent 20%);
    z-index: 0;
}

/* Floating Leaves */
.leaf {
    position: absolute;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%2327ae60" opacity="0.2"><path d="M17,8C8,10 5.9,16.17 3.82,21.34L5.71,22L6.66,19.7C8.58,15.06 10.13,10.53 18.88,10.91C18.78,10.03 18.28,8.89 17,8Z"/></svg>') no-repeat center center;
    background-size: contain;
    z-index: 0;
}

.leaf-1 {
    width: 150px;
    height: 150px;
    top: 10%;
    left: 5%;
    animation: float 10s ease-in-out infinite;
}

.leaf-2 {
    width: 100px;
    height: 100px;
    bottom: 15%;
    right: 10%;
    animation: float 12s ease-in-out infinite reverse;
}

.leaf-3 {
    width: 80px;
    height: 80px;
    top: 20%;
    right: 20%;
    animation: float 8s ease-in-out infinite 2s;
}

@keyframes float {

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

    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

/* Slide Styles */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0.0, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    z-index: 1;
    transform: scale(0.95);
}

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

/* Life Circle Styling */
.life-circle {
    background: rgba(255, 255, 255, 0.8);
    border: 8px solid var(--primary-color);
    padding: 4rem;
    border-radius: 50%;
    text-align: center;
    box-shadow: 0 10px 30px rgba(39, 174, 96, 0.2);
    width: 600px;
    height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.life-circle::after {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border-radius: 50%;
    border: 2px dashed var(--accent-color);
    animation: spin 60s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

.seed-icon {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Typography */
h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.section-header h1 {
    font-size: 6rem;
    color: var(--primary-color);
}

h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
    text-align: center;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    display: block;
    width: 50%;
    height: 4px;
    background: var(--accent-color);
    margin: 0.5rem auto 0;
    border-radius: 2px;
}

p {
    font-family: var(--font-main);
    font-size: 1.5rem;
    line-height: 1.6;
    max-width: 900px;
    margin-bottom: 1.5rem;
    color: #555;
    text-align: center;
}

.subtitle {
    font-size: 1.8rem;
    color: var(--accent-color);
    margin-bottom: 3rem;
    font-family: var(--font-mono);
}

/* Code Blocks */
pre {
    background-color: #2c3e50;
    padding: 1.5rem;
    border-radius: 15px;
    border-left: 6px solid var(--primary-color);
    max-width: 1000px;
    width: 100%;
    overflow-x: auto;
    margin-top: 1.5rem;
    font-family: var(--font-mono);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

code {
    font-family: var(--font-mono);
    font-size: 1.3rem;
    color: #ecf0f1;
}

/* Lifecycle Diagram */
.lifecycle-diagram {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
}

.phase {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    width: 250px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-top: 5px solid #ccc;
}

.phase.birth {
    border-color: var(--primary-color);
}

.phase.life {
    border-color: var(--accent-color);
}

.phase.death {
    border-color: var(--death-color);
}

.phase h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.phase-arrow {
    font-size: 2rem;
    color: #ccc;
}

/* Growth Steps */
.growth-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.step {
    background: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-family: var(--font-mono);
    font-size: 1.4rem;
    color: var(--primary-color);
    border: 2px solid var(--bg-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.step:hover {
    transform: scale(1.05);
    border-color: var(--primary-color);
}

/* Comparison */
.comparison {
    display: flex;
    gap: 2rem;
    width: 100%;
    max-width: 1100px;
}

.code-block {
    flex: 1;
}

.code-block h3 {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-color);
}

/* Output Box */
.output-box {
    background: #f8f9fa;
    border: 2px dashed #bdc3c7;
    padding: 1.5rem;
    font-family: var(--font-mono);
    color: #2c3e50;
    margin-top: 1rem;
    border-radius: 8px;
    width: 100%;
    max-width: 800px;
}

/* Components */
.section-number {
    font-size: 12rem;
    font-weight: 800;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.1;
    color: var(--primary-color);
    z-index: -1;
}

/* Controls */
.controls {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    z-index: 10;
    background: white;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.nav-btn {
    background: transparent;
    border: none;
    color: var(--primary-color);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn:hover {
    color: var(--accent-color);
    transform: scale(1.1);
}

.progress-container {
    width: 300px;
    height: 8px;
    background-color: #ecf0f1;
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    width: 0%;
    transition: width 0.3s ease;
}

.slide-number {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    font-family: var(--font-mono);
    color: var(--text-color);
    font-size: 1.2rem;
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2rem;
    }

    p,
    ul {
        font-size: 1.1rem;
    }

    .life-circle {
        width: 90%;
        height: auto;
        padding: 3rem;
        border-radius: 20px;
    }

    .lifecycle-diagram {
        flex-direction: column;
    }

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

    .comparison {
        flex-direction: column;
    }

    .progress-container {
        width: 100px;
    }
}