:root {
    --green-dark: #172114;
    --green-mid: #213219;
    --green-light: #5cae19;
    --green-accent: #5ce619;
    --text-light: #fff;
    --text-muted: #a6c694;
    --card-bg: #213219;
    --card-border: #456633;
    --button-bg: #fff;
    --button-text: #172114;
    --button-radius: 8px;
    --modal-bg: rgba(23, 33, 20, 0.95);
}
body {
    margin: 0 2rem;
    background: var(--green-dark);
    color: var(--text-light);
    font-family: "Inter", Arial, sans-serif;
    line-height: 1.6;
}
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    height: 5rem;
    border-bottom: 1px solid var(--card-border);
    background: var(--green-dark);
}
nav {
    display: flex;
    gap: 3rem;
    align-items: center;
}
nav a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
}
p {
    color: var(--text-muted);
}
.logo {
    height: 2rem;
}
a:link {
    text-decoration: none;
}
.cta {
    background: var(--button-bg);
    color: var(--button-text);
    border-radius: var(--button-radius);
    margin-top: 1rem;
    padding: 0 1.5rem;
    height: 48px;
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    text-decoration: none;
}
header > a.cta {
    margin-top: 0;
}
.cta:hover {
    background: #baff6b;
}
main {
    max-width: 960px;
    margin: 0 auto;
    padding: 3rem 0 0 0;
}
.hero,
.oracle-right {
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.4) 100%),
        url("../images/background-min.png");
    background-size: cover;
    border-radius: 8px;
    padding: 4rem 3rem 3rem 3rem;
    margin-bottom: 3rem;
    min-height: 480px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
}
.hero h1 {
    font-family: "JetBrains Mono", monospace;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 3.815rem;
    margin: 0 0 2rem 0;
    letter-spacing: 0.02rem;
    line-height: 4rem;
}
.hero p {
    font-size: 1.25rem;
    margin: 0 0 2rem 0;
    color: var(--text-light);
}
.hero .cta {
    width: fit-content;
}
section {
    margin-bottom: 4rem;
}
.section-title {
    font-family: "JetBrains Mono", monospace;
    font-size: 2rem;
    letter-spacing: 0.02rem;
    margin-bottom: 2rem;
    font-weight: bold;
}
.cards {
    display: flex;
    gap: 12px;
}
.card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    padding: 1rem 1rem 1.5rem 1rem;
    flex: 1 1 0;
    max-width: 277px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.card-title {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}
.card-desc {
    color: var(--text-muted);
}
.rate-amount {
    color: var(--text-light);
}
.contact-form {
    background: var(--card-bg);
    border-radius: 8px;
    padding: 1rem;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    border-radius: 8px;
    border: none;
    margin-bottom: 1rem;
    background: #304526;
    color: var(--text-light);
    box-sizing: border-box;
    font-family: "JetBrains Mono", monospace;
}
.contact-form textarea {
    resize: none;
    height: 8em;
}

footer {
    background: var(--green-dark);
    color: var(--text-muted);
    padding: 3rem 0 1rem 0;
    text-align: center;
    font-size: 0.95rem;
}

.footer-content {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 2rem;
}

.newsletter p {
    color: var(--text-muted);
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 100%;
    margin: 0;
    align-items: flex-start;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid var(--card-border);
    background: var(--green-mid);
    color: var(--text-light);
    font-size: 1rem;
    font-family: "JetBrains Mono", monospace;
    box-sizing: border-box;
}

.newsletter-form input::placeholder {
    color: var(--text-muted);
}

.newsletter-form .cta {
    margin-top: 0;
    white-space: nowrap;
}

.footer-copyright {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--card-border);
}
.columns {
    display: flex;
    gap: 3rem;
    align-items: stretch;
}
.col {
    flex: 1 1 0;
    min-width: 0;
}
.oracle-image {
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.4) 100%),
        url("../images/design-oracle-77.jpg") center;
}

.newsletter-image {
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.4) 100%),
        url("../images/newsletter.png") center;
}

.oracle-image,
.newsletter-image {
    background-size: cover;
    border-radius: 8px;
    min-height: 100%;
    padding: 0;
    margin: 0;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--modal-bg);
    z-index: 1000;
    overflow-y: auto;
}

.modal-content {
    position: relative;
    background: var(--green-mid);
    margin: 4rem auto;
    padding: 3rem;
    border-radius: 1rem;
    max-width: 600px;
    border: 1px solid var(--card-border);
}

.close-modal {
    position: absolute;
    right: 1.5rem;
    top: 0.5rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-muted);
}

.close-modal:hover {
    color: var(--text-light);
}

.modal-step {
    animation: fadeIn 0.3s ease-out;
}

.modal-step h2 {
    font-family: "JetBrains Mono", monospace;
    font-size: 2rem;
    letter-spacing: 0.02rem;
    margin-bottom: 2rem;
    font-weight: bold;
    margin-top: 0;
    color: var(--text-light);
}

.modal-step p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

#assessmentForm {
    margin: 0 2rem 0 0;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid var(--card-border);
    background: var(--green-dark);
    color: var(--text-light);
    font-size: 1rem;
    font-family: "JetBrains Mono", monospace;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2 4L6 8L10 4' stroke='%23a6c694' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
}

.form-group textarea {
    resize: none;
    min-height: 10rem;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--card-border);
    border-top: 4px solid var(--green-light);
    border-radius: 50%;
    margin: 24px auto;
    animation: spin 1s linear infinite;
}

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

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

.pdf-export {
    background: #fff !important;
    color: #000 !important;
}

@media (max-width: 800px) {
    nav {
        display: none;
    }
    .columns,
    .cards {
        flex-direction: column;
        align-items: stretch;
        gap: 32px;
    }
    header {
        padding: 0;
    }
    .col,
    .card {
        max-width: 100%;
    }
    .oracle-image {
        min-height: 300px;
    }
    .modal-content {
        margin: 2rem;
        padding: 2rem;
    }
    .hero h1 {
        font-size: 2rem;
        line-height: 2rem;
    }
    .hero-ctas {
        flex-direction: column;
    }

    .hero-ctas .cta {
        width: 100%;
        justify-content: center;
    }

    .newsletter-form {
        flex-direction: column;
        max-width: 100%;
    }

    .newsletter-form input {
        width: 100%;
    }

    .newsletter-form .cta {
        width: 100%;
        justify-content: center;
    }
}

.pdf-export {
    padding: 0 24px;
    line-height: 1.6;
    color: #000;
    font-size: 12pt;
}

.pdf-export h1,
.pdf-export h2 {
    color: #000;
    margin-top: 24px;
    margin-bottom: 12px;
    font-family: "JetBrains Mono", monospace;
}

.pdf-export p {
    color: #000;
    margin: 12px 0;
    font-size: 12pt;
}

.pdf-export ul {
    color: #000;
    padding-left: 24px;
    margin: 12px 0;
    font-size: 12pt;
}

.pdf-export li {
    color: #000;
    margin-bottom: 12px;
    font-size: 12pt;
}

.pdf-export .section-title {
    color: #000;
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 12px;
    font-family: "JetBrains Mono", monospace;
}

/* Newsletter Page Styles */
.newsletter-subscribe-content {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.newsletter-subscribe-content p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.back-issues-list {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    padding: 2rem;
}

.back-issues-list p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.issues-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.issues-list li {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--card-border);
}

.issues-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.issues-list a {
    display: block;
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.2s;
}

.issues-list a:hover {
    color: var(--green-light);
}

.issues-list a strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-family: "JetBrains Mono", monospace;
}

.issue-description {
    display: block;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}
