/* ============================================
   Dark Pages (Contact, Diagnostics)
   ============================================ */

body.dark-page {
    background-color: var(--color-black);
    color: #E4E4E7;
}

/* Header */
.dark-header {
    padding: 24px 0;
    text-align: center;
}

.dark-header .logo { color: white; }
.dark-header .logo > span { color: var(--color-green); }

/* Contact Page */
.contact-hero { padding: 30px 0 50px; text-align: center; max-width: 600px; margin: 0 auto; }
.contact-hero h1 { font-size: clamp(2.25rem, 4vw, 3rem); color: white; margin-bottom: 20px; }
.contact-hero p { font-size: 1.15rem; color: var(--color-text-light); }

.contact-page-container { max-width: 600px; margin: 0 auto; padding: 0 24px; }

.form-card {
    background: var(--color-card-dark);
    padding: 40px;
    border-radius: var(--radius-lg);
    margin-bottom: 60px;
    border: 1px solid var(--color-border-dark);
}

.direct-contact {
    text-align: center;
    margin-top: 40px;
    border-top: 1px solid var(--color-border-dark);
    padding-top: 40px;
}

.contact-link {
    color: var(--color-green);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color var(--transition-fast);
}
.contact-link:hover { color: #22c55e; }

/* Diagnostics Page */
.diag-hero { padding: 30px 0 60px; text-align: center; }
.diag-hero h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); color: white; margin-bottom: 20px; }
.diag-hero p { font-size: 1.15rem; color: var(--color-text-light); max-width: 600px; margin: 0 auto; }

.option-card {
    background: var(--color-card-dark);
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-dark);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all var(--transition-base);
}

.option-card:hover {
    border-color: rgba(74, 222, 128, 0.3);
    transform: translateY(-4px);
}

.option-card h3 { color: white; font-size: 1.2rem; margin-bottom: 12px; }

.option-list { list-style: none; margin: 20px 0; padding: 0; }
.option-list li {
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: #D4D4D8;
    display: flex;
    gap: 10px;
    align-items: start;
}

/* Form Section (white area on diagnostics) */
.form-section {
    background: white;
    color: var(--color-text-heading);
    padding: 80px 0;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.contact-form { max-width: 480px; margin: 0 auto; }

/* Common Form Styles */
.form-group { margin-bottom: 24px; }

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: white;
    font-size: 0.9rem;
}

.form-section .form-label { color: var(--color-text-heading); }

.form-input, .form-textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    background: var(--color-black);
    border: 1px solid var(--color-border-dark);
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    color: white;
    -webkit-appearance: none;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-section .form-input {
    border-color: var(--color-border);
    color: var(--color-text-heading);
    background: white;
}

.form-input:focus, .form-textarea:focus {
    border-color: var(--color-green);
    outline: none;
    box-shadow: 0 0 0 3px var(--color-green-dim);
}

.form-textarea { height: 120px; resize: vertical; }

.btn-submit {
    background: var(--color-green);
    color: #fff;
    width: 100%;
    padding: 16px;
    border-radius: var(--radius-sm);
    border: none;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-base);
    font-family: inherit;
}

.btn-submit:hover {
    background: #22c55e;
    transform: translateY(-2px);
    box-shadow: var(--shadow-green);
}

/* Mobile */
@media (max-width: 768px) {
    .diag-hero h1 { font-size: 2.25rem; }
    .contact-hero h1 { font-size: 2.25rem; }
    .form-section { padding: 50px 0; }
    .form-card { padding: 24px; margin-bottom: 40px; }
    .option-card { padding: 24px; }
    .direct-contact { margin-top: 30px; padding-top: 30px; }
    .dark-header { padding: 20px 0; }
    .diag-hero { padding: 20px 0 50px; }
    .contact-hero { padding: 20px 0 40px; }
}
