/* undo.sh - neubrutalism raw edges */
* { margin: 0; padding: 0; box-sizing: border-box; border-radius: 0; }

body {
    background: #FFFFFF;
    color: #000000;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1.6;
}

/* Section Headings */
.section-heading {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 2rem;
    color: #000000;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.prompt-motif {
    color: #FFE500;
    margin-right: 0.25rem;
}

/* Dividers */
.section-divider {
    border-top: 4px solid #000000;
    margin: 0 2rem;
}

/* ============================
   HERO
   ============================ */
.hero {
    padding: 5rem 2rem 4rem;
}

.hero-inner {
    max-width: 700px;
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 3.5rem;
    color: #000000;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
    border-bottom: 4px solid #000000;
    display: inline-block;
    padding-bottom: 0.25rem;
}

.hero-tagline {
    font-size: 1.1rem;
    color: #333333;
    margin-bottom: 1.5rem;
    max-width: 500px;
}

/* Terminal blocks */
.terminal-preview,
.code-example,
.install-code,
.simulator-terminal {
    border: 3px solid #000000;
    box-shadow: 4px 4px 0px #000000;
    margin-bottom: 1.5rem;
}

.term-header {
    background: #333333;
    padding: 0.5rem 0.75rem;
    display: flex;
    gap: 6px;
}

.term-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #555;
    display: inline-block;
}

.term-body {
    background: #333333;
    padding: 1rem;
}

.term-line {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875rem;
    color: #5CFF5C;
    margin-bottom: 0.25rem;
}

.term-prompt {
    color: #FFE500;
    margin-right: 0.5rem;
}

.term-output {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875rem;
    color: #C0C0C0;
    margin-bottom: 0.125rem;
}

.term-output.success {
    color: #5CFF5C;
}

.term-output.danger {
    color: #FF5C5C;
}

/* Buttons */
.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    padding: 0.75rem 2rem;
    border: 3px solid #000000;
    text-decoration: none;
    box-shadow: 4px 4px 0px #000000;
    cursor: pointer;
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.btn:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px #000000;
}

.btn:active {
    transform: translate(4px, 4px);
    box-shadow: 0px 0px 0px #000000;
}

.btn-install {
    background: #FFE500;
    color: #000000;
}

.btn-docs {
    background: #FFFFFF;
    color: #000000;
}

.btn-run {
    background: #5CFF5C;
    color: #000000;
    margin-top: 0.5rem;
}

/* ============================
   FEATURES
   ============================ */
.features {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    border: 3px solid #000000;
    padding: 1rem;
    box-shadow: 4px 4px 0px #000000;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.feature-item:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px #000000;
}

.check-icon {
    font-size: 1.5rem;
    font-weight: 700;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.check-yellow {
    background: #FFE500;
    color: #000000;
}

.check-green {
    background: #5CFF5C;
    color: #000000;
}

.feature-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.feature-desc {
    font-size: 0.9rem;
    color: #333333;
}

/* ============================
   COMPARISON TABLE
   ============================ */
.compare {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    border: 3px solid #000000;
}

.compare-table th,
.compare-table td {
    border: 3px solid #000000;
    padding: 0.75rem 1rem;
    text-align: center;
    font-size: 0.9rem;
}

.compare-table th {
    background: #FFE500;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
}

.compare-table td:first-child {
    text-align: left;
    font-weight: 500;
}

.yes {
    color: #000000;
    font-weight: 700;
    background: #5CFF5C;
}

.no {
    color: #000000;
    font-weight: 700;
    background: #FF5C5C;
}

.meh {
    color: #000000;
    font-weight: 700;
    background: #FFE500;
}

/* ============================
   INTERACTIVE SIMULATOR
   ============================ */
.simulator {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.simulator-intro {
    font-size: 1rem;
    color: #333333;
    margin-bottom: 1.5rem;
}

.simulator-controls {
    margin-bottom: 1rem;
}

.scenario-buttons {
    display: flex;
    gap: 0;
}

.scenario-btn {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 0.85rem;
    padding: 0.5rem 1.5rem;
    border: 3px solid #000000;
    background: #F0F0F0;
    color: #000000;
    cursor: pointer;
    border-right: none;
    transition: background 0.1s ease;
}

.scenario-btn:last-child {
    border-right: 3px solid #000000;
}

.scenario-btn.active {
    background: #FFE500;
}

.scenario-btn:hover:not(.active) {
    background: #E0E0E0;
}

.sim-step {
    opacity: 0;
    transform: translateY(4px);
    animation: simFadeIn 0.3s ease forwards;
}

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

/* ============================
   INSTALL SECTION
   ============================ */
.install {
    max-width: 600px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.install-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 0;
}

.tab {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 0.85rem;
    padding: 0.5rem 1.5rem;
    border: 3px solid #000000;
    background: #F0F0F0;
    color: #000000;
    cursor: pointer;
    border-bottom: none;
    transition: background 0.1s ease;
}

.tab.active {
    background: #FFE500;
}

.tab:hover:not(.active) {
    background: #E0E0E0;
}

/* ============================
   TESTIMONIALS
   ============================ */
.testimonials {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.testimonial-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.testimonial-card {
    border: 3px solid #000000;
    padding: 1.5rem;
    box-shadow: 4px 4px 0px #000000;
    background: #F0F0F0;
    position: relative;
}

.big-quote {
    font-family: Georgia, serif;
    font-size: 4rem;
    color: #FFE500;
    line-height: 1;
    position: absolute;
    top: 0.25rem;
    left: 0.75rem;
}

.testimonial-text {
    font-size: 0.95rem;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
}

.testimonial-author {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    color: #333333;
}

/* GitHub Stats */
.github-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.stat-item {
    border: 3px solid #000000;
    padding: 1rem 1.5rem;
    box-shadow: 4px 4px 0px #000000;
    text-align: center;
    background: #FFFFFF;
}

.stat-number {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 1.5rem;
    color: #000000;
}

.stat-label {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: #333333;
    margin-top: 0.25rem;
}

/* ============================
   FOOTER
   ============================ */
.footer {
    border-top: 4px solid #000000;
    padding: 3rem 2rem;
    text-align: center;
}

.footer-inner {
    max-width: 600px;
    margin: 0 auto;
}

.footer-tagline {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 0.75rem;
}

.flink {
    font-size: 0.9rem;
    color: #4A90FF;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    transition: border-color 0.15s ease;
}

.flink:hover {
    border-bottom-color: #4A90FF;
}

.footer-copy {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: #333333;
}

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 640px) {
    .testimonial-cards {
        grid-template-columns: 1fr;
    }
    .hero-buttons {
        flex-direction: column;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .github-stats {
        flex-direction: column;
        align-items: center;
    }
    .scenario-buttons {
        flex-wrap: wrap;
    }
}

/* ============================
   ANIMATIONS
   ============================ */
.fade-in {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Typing cursor for simulator */
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.typing-cursor {
    display: inline-block;
    width: 8px;
    height: 14px;
    background: #5CFF5C;
    margin-left: 2px;
    animation: blink 0.8s step-end infinite;
    vertical-align: middle;
}
