/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a1a;
    --text-primary: #e0e0e0;
    --text-secondary: #a0a0a0;
    --accent: #4a9eff;
    --divider: #333;
    --problem-number: #666;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    font-size: 18px;
    padding: 0;
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
header {
    padding: 3rem 2rem 2rem;
    text-align: center;
    border-bottom: 1px solid var(--divider);
}

header h1 {
    font-size: 3rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    color: var(--text-primary);
    margin: 0;
}

/* Main content */
main {
    flex: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 2rem;
    width: 100%;
}

/* Intro section */
.intro {
    text-align: center;
    margin-bottom: 4rem;
}

.intro h2 {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-top: 0.5rem;
}

/* Problems section */
.problems {
    margin-bottom: 5rem;
}

.problem {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem 0;
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.problem:nth-child(1) { animation-delay: 0.1s; }
.problem:nth-child(2) { animation-delay: 0.2s; }
.problem:nth-child(3) { animation-delay: 0.3s; }
.problem:nth-child(4) { animation-delay: 0.4s; }
.problem:nth-child(5) { animation-delay: 0.5s; }
.problem:nth-child(6) { animation-delay: 0.6s; }
.problem:nth-child(7) { animation-delay: 0.7s; }
.problem:nth-child(8) { animation-delay: 0.8s; }
.problem:nth-child(9) { animation-delay: 0.9s; }
.problem:nth-child(10) { animation-delay: 1.0s; }

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

.problem-number {
    font-size: 3rem;
    font-weight: 200;
    color: var(--problem-number);
    min-width: 60px;
    text-align: right;
    line-height: 1;
    flex-shrink: 0;
}

.problem-content {
    flex: 1;
}

.problem-content h3 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: var(--text-primary);
    line-height: 1.4;
}

.problem-content p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.image-metaphor {
    font-style: italic;
    color: var(--text-secondary);
    opacity: 0.8;
    margin-top: 1rem;
    padding-left: 1rem;
    border-left: 2px solid var(--divider);
}

/* Divider */
.divider {
    text-align: center;
    color: var(--divider);
    font-size: 1.5rem;
    margin: 2rem 0;
    letter-spacing: 0.5em;
}

/* Why not 42 section */
.why-not-42 {
    margin-top: 5rem;
    padding: 3rem 2rem;
    background-color: var(--bg-secondary);
    border-radius: 8px;
    border: 1px solid var(--divider);
}

.why-not-42 h2 {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.why-not-42 p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.why-not-42 ul {
    list-style: none;
    margin-top: 1.5rem;
    padding-left: 0;
}

.why-not-42 li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    font-size: 1.05rem;
    position: relative;
    padding-left: 1.5rem;
}

.why-not-42 li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 1.2rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid var(--divider);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

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

    main {
        padding: 2rem 1rem;
    }

    .intro h2 {
        font-size: 1.5rem;
    }

    .problem {
        flex-direction: column;
        gap: 1rem;
    }

    .problem-number {
        text-align: left;
        font-size: 2.5rem;
        min-width: auto;
    }

    .problem-content h3 {
        font-size: 1.3rem;
    }

    .why-not-42 {
        padding: 2rem 1.5rem;
    }

    .why-not-42 h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    header {
        padding: 2rem 1rem 1.5rem;
    }

    header h1 {
        font-size: 1.5rem;
    }

    .intro h2 {
        font-size: 1.3rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .problem-content p,
    .why-not-42 p,
    .why-not-42 li {
        font-size: 1rem;
    }
}

/* Print styles */
@media print {
    body {
        background: white;
        color: black;
    }

    .problem {
        page-break-inside: avoid;
    }
}
