/* macOS Terminal Style */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Terminal style */
html {
    background-color: #1e1e1e;
    min-height: 100vh;
}

body {
    font-family: 'SF Mono', 'Monaco', 'Menlo', 'Inconsolata', monospace;
    font-size: 14px;
    line-height: 1.5;
    background-color: #1e1e1e;
    color: #c7c7c7;
    min-height: 100vh;
}

/* Navigation */
nav {
    padding: 0;
    border: none;
}

.nav-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 1.5rem 1.5rem 1rem 1.5rem;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.nav-link {
    color: #6bdfff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #fff;
    text-decoration: underline;
}

.nav-link::before {
    content: './';
    color: #888;
}

/* Main content */
main {
    max-width: 800px;
    margin: 0 auto;
    padding: 1.5rem;
    flex: 1;
}

/* ASCII Art - already terminal style */
.ascii-art {
    text-align: left;
    margin: 2rem 0;
    font-size: 0.7rem;
    line-height: 1.1;
    color: #28c840;
}

.ascii-art pre {
    display: inline-block;
    font-family: inherit;
}

/* Content sections */
.content {
    margin-top: 1.5rem;
}

h1 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #fff;
}

h1::before {
    content: '# ';
    color: #888;
}

h2 {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    font-weight: normal;
    color: #aaa;
}

h3 {
    font-size: 1.1rem;
    margin: 2rem 0 1rem 0;
    font-weight: bold;
    color: #febc2e;
}

h3::before {
    content: '## ';
    color: #888;
}

p {
    margin-bottom: 1rem;
    max-width: 680px;
}

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

hr {
    border: none;
    border-top: 1px dashed #444;
    margin: 2rem 0;
}

/* CTA */
.cta {
    margin-top: 1.5rem;
}

.button {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    border: 1px solid #6bdfff;
    color: #6bdfff;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-top: 1rem;
    border-radius: 4px;
}

.button::before {
    content: '> ';
    color: #888;
}

.button:hover {
    background-color: #6bdfff;
    color: #1e1e1e;
}

/* Links */
a {
    color: #6bdfff;
    transition: color 0.2s ease;
}

a:hover {
    color: #fff;
}

/* Form styles */
form {
    margin-top: 1.5rem;
}

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

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: normal;
    color: #febc2e;
}

label::before {
    content: '? ';
    color: #28c840;
}

.field-description {
    font-size: 0.85rem;
    color: #888;
    margin-top: 0.3rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
textarea,
select {
    width: 100%;
    padding: 0.7rem;
    font-family: 'SF Mono', 'Monaco', 'Menlo', 'Inconsolata', monospace;
    font-size: 14px;
    border: 1px solid #444;
    background-color: #0d0d0d;
    color: #c7c7c7;
    border-radius: 4px;
    transition: border-color 0.2s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #6bdfff;
}

input::placeholder,
textarea::placeholder {
    color: #555;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

select {
    cursor: pointer;
}

select option {
    background-color: #1e1e1e;
    color: #c7c7c7;
}

input[type="submit"],
button[type="submit"],
button {
    padding: 0.6rem 1.5rem;
    font-family: 'SF Mono', 'Monaco', 'Menlo', 'Inconsolata', monospace;
    font-size: 14px;
    border: 1px solid #28c840;
    background-color: transparent;
    color: #28c840;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 4px;
}

input[type="submit"]:hover,
button[type="submit"]:hover,
button:hover {
    background-color: #28c840;
    color: #1e1e1e;
}

/* Radio buttons */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 0.5rem;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #c7c7c7;
}

.radio-option::before {
    content: '○ ';
    color: #888;
    margin-left: 0;
}

input[type="radio"] {
    accent-color: #28c840;
}

input[type="radio"]:checked + label,
.radio-option:has(input:checked) {
    color: #28c840;
}

/* Availability Box */
.availability-box {
    border: 1px solid #28c840;
    padding: 1.2rem;
    margin: 1.5rem 0;
    border-radius: 4px;
    background-color: rgba(40, 200, 64, 0.05);
}

.availability-box h3 {
    margin-top: 0;
    color: #28c840;
}

.availability-box h3::before {
    content: '✓ ';
    color: #28c840;
}

.availability-box p:last-child,
.availability-box ul {
    margin-bottom: 0;
}

/* Lists */
ul, ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

li {
    margin-bottom: 0.3rem;
}

li::marker {
    color: #888;
}

/* Testimonials */
.testimonial {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px dashed #444;
}

.testimonial:last-child {
    border-bottom: none;
}

.testimonial-author {
    font-weight: bold;
    margin-bottom: 0.8rem;
    color: #6bdfff;
}

.testimonial-author::before {
    content: '— ';
    color: #888;
}

.testimonial-text {
    font-style: normal;
    color: #aaa;
    padding-left: 1rem;
    border-left: 2px solid #444;
}

/* Wizard styles */
.wizard-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    position: relative;
    padding: 0 0.5rem;
}

.wizard-progress::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #444;
    transform: translateY(-50%);
}

.wizard-step {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    border: 1px solid #444;
    background-color: #1e1e1e;
    color: #888;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    position: relative;
    z-index: 1;
}

.wizard-step.active {
    border-color: #6bdfff;
    color: #6bdfff;
    font-weight: bold;
}

.wizard-step.completed {
    border-color: #28c840;
    background-color: #28c840;
    color: #1e1e1e;
}

.wizard-panel {
    display: none;
}

.wizard-panel.active {
    display: block;
}

.wizard-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    gap: 1rem;
}

.wizard-nav button {
    padding: 0.6rem 1.5rem;
}

.wizard-nav button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    border-color: #444;
    color: #444;
}

.wizard-nav button:disabled:hover {
    background-color: transparent;
    color: #444;
}

.wizard-nav .btn-next,
.wizard-nav .btn-submit {
    margin-left: auto;
}

/* Checkbox styling */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-top: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.3rem;
    accent-color: #28c840;
}

.checkbox-group label {
    margin-bottom: 0;
}

.checkbox-group label::before {
    content: '';
}

/* Password gate */
.password-gate {
    max-width: 400px;
}

.hidden {
    display: none !important;
}

/* Terminal cursor blink for active inputs */
input:focus,
textarea:focus {
    caret-color: #28c840;
}

/* Form messages */
.form-message {
    padding: 1rem;
    border-radius: 4px;
    margin-top: 1rem;
}

.form-message.success {
    border: 1px solid #28c840;
    color: #28c840;
    background-color: rgba(40, 200, 64, 0.1);
}

.form-message.error {
    border: 1px solid #ff5f57;
    color: #ff5f57;
    background-color: rgba(255, 95, 87, 0.1);
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #1e1e1e;
}

::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Responsive */
@media (max-width: 768px) {
    body {
        font-size: 13px;
    }

    .nav-container {
        flex-direction: column;
        gap: 0.8rem;
        padding: 1rem;
    }

    main {
        padding: 1rem;
    }

    h1 {
        font-size: 1.2rem;
    }

    .ascii-art {
        font-size: 0.5rem;
        overflow-x: auto;
    }

    .wizard-step {
        width: 1.5rem;
        height: 1.5rem;
        font-size: 0.7rem;
    }

    .wizard-nav {
        flex-direction: column;
    }

    .wizard-nav .btn-next,
    .wizard-nav .btn-submit {
        margin-left: 0;
    }
}

/* Remove day/night theme classes - terminal is always dark */
html.day body,
html.night body {
    background-color: #1e1e1e;
    color: #c7c7c7;
}
