/* ── about.css  (zHeight Modern Typography Style) ───────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600;9..40,700&display=swap');

:root {
    --zh-bg: #0D0D0F;
    --zh-accent: #6366f1;
    --zh-accent-h: #4f46e5;
    --zh-border: rgba(255, 255, 255, 0.1);
    --zh-text: #ffffff;
    --zh-muted: rgba(255, 255, 255, 0.6);
}

.zh-minimal-page {
    background-color: var(--zh-bg);
    color: var(--zh-text);
    font-family: 'DM Sans', sans-serif;
    min-height: calc(100vh - 140px);
    padding: 100px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Page Badge */
.zh-page-badge {
    display: inline-block;
    background: rgba(99, 102, 241, 0.15);
    color: var(--zh-accent);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.zh-page-badge-contact {
    background: rgba(6, 182, 212, 0.15);
    color: #06b6d4;
    border: 1px solid rgba(6, 182, 212, 0.3);
}

/* Base typography */
.zh-minimal-page h1,
.zh-minimal-page h3 {
    margin: 0;
    font-weight: 600;
    letter-spacing: -0.02em;
}

/* ──────────────── ABOUT HERO ──────────────── */
.zh-hero {
    text-align: center;
    max-width: 800px;
    margin-bottom: 90px;
}

.zh-hero h1 {
    font-size: clamp(3rem, 6vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 24px;
}

.zh-hero p {
    font-size: 1.125rem;
    color: var(--zh-muted);
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 560px;
    margin-inline: auto;
}

/* ──────────────── BUTTONS ──────────────── */
.zh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--zh-accent);
    color: #ffffff;
    padding: 14px 34px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 4px;
    /* subtle modern */
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.zh-btn:hover {
    background-color: var(--zh-accent-h);
}

.zh-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ──────────────── ABOUT FEATURES ──────────────── */
.zh-about-page .zh-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1040px;
    width: 100%;
}

.zh-feature {
    background: transparent;
    border: 1px solid var(--zh-border);
    border-radius: 8px;
    padding: 36px 32px;
    text-align: left;
}

.zh-icon {
    width: 36px;
    height: 36px;
    color: var(--zh-accent);
    margin-bottom: 24px;
}

.feature-svg {
    width: 100%;
    height: 100%;
}

.zh-feature h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.zh-feature p {
    font-size: 0.95rem;
    color: var(--zh-muted);
    line-height: 1.5;
    margin: 0;
}

/* ──────────────── CONTACT PAGE ──────────────── */
.zh-contact-page {
    /* override padding for perfect center */
    padding-top: 80px;
    padding-bottom: 80px;
    justify-content: center;
}

.zh-contact-wrap {
    width: 100%;
    max-width: 680px;
    text-align: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 48px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.zh-contact-title {
    font-size: 3rem;
    margin-bottom: 16px;
}

.zh-contact-subtitle {
    font-size: 1.125rem;
    color: var(--zh-muted);
    margin-bottom: 48px;
}

.zh-success-msg {
    margin-bottom: 40px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 24px;
    border-radius: 8px;
}

.zh-success-msg h3 {
    color: #10b981;
    margin-bottom: 8px;
    font-size: 1.5rem;
}

.zh-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
    text-align: left;
}

.zh-form-section {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--zh-border);
    border-radius: 8px;
    padding: 24px;
}

.zh-form-section-title {
    font-size: 1.125rem;
    color: var(--zh-accent);
    margin: 0 0 20px 0;
    font-weight: 600;
}

.zh-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* Inputs */
.zh-form input,
.zh-form select,
.zh-form textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--zh-border);
    border-radius: 6px;
    color: #ffffff;
    font-size: 1rem;
    padding: 14px 16px;
    font-family: 'DM Sans', sans-serif;
    outline: none;
    transition: all 0.2s;
}

/* Fix select color on dark background */
.zh-form select {
    color: var(--zh-muted);
    cursor: pointer;
    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'%3E%3Cpath fill='%23999' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.zh-form select:focus,
.zh-form select:valid {
    color: #ffffff;
}

.zh-form select option {
    background: var(--zh-bg);
    color: var(--zh-text);
}

.zh-form input::placeholder,
.zh-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.zh-form input:focus,
.zh-form select:focus,
.zh-form textarea:focus {
    border-color: var(--zh-accent);
    background: rgba(99, 102, 241, 0.05);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.zh-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* Contact Meta */
.zh-contact-meta {
    margin-top: 48px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 2;
    text-align: left;
}

.zh-contact-meta strong {
    color: rgba(255, 255, 255, 0.7);
}

/* Form Note */
.zh-form-note {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.4);
    margin: -8px 0 0 0;
    text-align: center;
}

/* Submit Button Specific */
.zh-btn-submit {
    width: 100%;
    padding: 16px 34px;
    font-size: 1.125rem;
    background: linear-gradient(135deg, #0ea5e9, #8b5cf6);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
    transition: all 0.3s ease;
}

.zh-btn-submit:hover:not(:disabled) {
    background: linear-gradient(135deg, #0284c7, #7c3aed);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.6);
    transform: translateY(-2px);
}

/* Utilities */
.zh-hidden {
    display: none !important;
}

.zh-error {
    color: #ef4444;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.zh-spinner {
    width: 17px;
    height: 17px;
    border: 2px solid rgba(255, 255, 255, .3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin .6s linear infinite;
    display: inline-block;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ──────────────── RESPONSIVE ──────────────── */
@media (max-width: 820px) {
    .zh-about-page .zh-features {
        grid-template-columns: 1fr;
    }
    
    .zh-contact-wrap {
        padding: 32px 24px;
    }
}

@media (max-width: 600px) {
    .zh-form-row {
        grid-template-columns: 1fr;
    }

    .zh-hero h1 {
        font-size: 2.5rem;
    }

    .zh-contact-title {
        font-size: 2.5rem;
    }
}