/* ============================================================
   © 2026 ZyoraTech. All Rights Reserved.
   ZyoraTech — Careers Page Styles
   Extends css/style.css with careers-specific overrides.
   Brand: Cyan #00d4ff | Purple #7b2fff
   ============================================================ */

:root {
    /* Careers-only variables (extends style.css) */
    --purple-light: #a855f7;
    --bg: var(--bg-primary);
    --bg2: var(--bg-secondary);
    --careers-text: #c8d0e0;
    --careers-text-muted: #6b7a99;
    --careers-border: rgba(255, 255, 255, 0.07);
}

/* === BASE OVERRIDES === */
body {
    background: var(--bg);
    color: var(--careers-text);
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.7;
}

a { color: var(--purple); text-decoration: none; }
a:hover { text-decoration: underline; }

/* === NAVBAR === */
.navbar {
    background: var(--bg2);
    border-bottom: 1px solid var(--careers-border);
    padding: 18px 0;
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: auto;
    display: block;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.navbar .inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: normal;
}

.nav-brand:hover { text-decoration: none; }
.nav-brand .zyora { color: var(--cyan); }
.nav-brand .tech  { color: #fff; }

.topbar-logo {
    height: 38px;
    width: auto;
    -webkit-user-drag: none;
    user-select: none;
    pointer-events: none;
}

.nav-back {
    color: var(--careers-text-muted);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: color 0.2s;
}

.nav-back:hover { color: #fff; text-decoration: none; }

/* === CONTAINER (narrower on careers page) === */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* === SECTION TAG (purple-tinted for careers) === */
.section-tag {
    background: rgba(123, 47, 255, 0.12);
    border: 1px solid rgba(123, 47, 255, 0.3);
    color: var(--purple-light);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 20px;
}

/* === GRADIENT TEXT (cyan → purple) === */
.gradient-text {
    background: linear-gradient(135deg, var(--cyan), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === HERO === */
.careers-hero {
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.careers-hero::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(123, 47, 255, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.careers-hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 18px;
}

.careers-hero p {
    color: #a8b2c8;
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 auto;
}

/* === NO OPENINGS === */
.no-openings-section { padding: 60px 0 80px; }

.no-openings-box {
    background: var(--bg2);
    border: 1px solid var(--careers-border);
    border-radius: 18px;
    max-width: 680px;
    margin: 0 auto;
    padding: 60px 48px;
    text-align: center;
}

.no-openings-icon {
    width: 72px;
    height: 72px;
    background: rgba(123, 47, 255, 0.1);
    border: 1px solid rgba(123, 47, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 1.8rem;
    color: var(--purple-light);
}

.no-openings-box h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 12px;
}

.no-openings-box > p {
    color: #a8b2c8;
    font-size: 0.97rem;
    max-width: 440px;
    margin: 0 auto 28px;
}

.notify-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 400px;
    margin: 0 auto;
}

.notify-form input,
.notify-form select {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 12px 16px;
    color: #fff;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: border-color 0.2s;
    appearance: none;
    -webkit-appearance: none;
}

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

.notify-form input:focus,
.notify-form select:focus { border-color: var(--purple); }

.notify-form select option { background: #0f0f1a; color: #fff; }
.notify-form select.placeholder-selected { color: var(--careers-text-muted); }

.btn-notify {
    width: 100%;
    background: var(--purple);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 13px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

.btn-notify:hover { background: var(--purple-light); transform: translateY(-1px); }

.no-openings-box .notify-note {
    margin-top: 10px;
    font-size: 0.8rem;
    color: var(--careers-text-muted);
}

.notify-success { display: none; margin-top: 16px; color: #4ade80; font-size: 0.9rem; }
.notify-success.show { display: block; }

/* === ROLES === */
.roles-section { padding: 0 0 80px; }

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.section-header p { color: #a8b2c8; max-width: 500px; margin: 0 auto; }

.roles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.role-card {
    background: var(--bg2);
    border: 1px solid var(--careers-border);
    border-radius: 14px;
    padding: 28px 24px;
    transition: border-color 0.2s, transform 0.2s;
}

.role-card:hover {
    border-color: rgba(123, 47, 255, 0.4);
    transform: translateY(-3px);
}

.role-icon {
    width: 46px;
    height: 46px;
    background: rgba(123, 47, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--purple-light);
    font-size: 1.1rem;
    margin-bottom: 14px;
}

.role-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 6px;
}

.role-card p { color: #a8b2c8; font-size: 0.875rem; line-height: 1.6; }

.role-status {
    display: inline-block;
    margin-top: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    background: rgba(107, 117, 153, 0.15);
    color: var(--careers-text-muted);
    border: 1px solid rgba(107, 117, 153, 0.2);
}

/* === WHY JOIN === */
.why-join { padding: 0 0 80px; }

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 18px;
}

.why-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: var(--bg2);
    border: 1px solid var(--careers-border);
    border-radius: 12px;
    padding: 22px 20px;
}

.why-item i { color: var(--purple-light); font-size: 1.1rem; margin-top: 2px; flex-shrink: 0; }
.why-item h4 { font-family: 'Space Grotesk', sans-serif; font-size: 0.95rem; font-weight: 600; color: #fff; margin-bottom: 4px; }
.why-item p  { color: #a8b2c8; font-size: 0.82rem; }

/* === CTA === */
.cta-section { padding: 0 0 100px; text-align: center; }

.cta-box {
    background: linear-gradient(135deg, rgba(123, 47, 255, 0.12), rgba(0, 212, 255, 0.06));
    border: 1px solid rgba(123, 47, 255, 0.25);
    border-radius: 18px;
    padding: 56px 40px;
}

.cta-box h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.cta-box p { color: #a8b2c8; max-width: 480px; margin: 0 auto 28px; }

/* Override style.css .btn-primary for careers page (solid purple, not gradient) */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--purple);
    color: #fff;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.97rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: none;
    transition: background 0.2s, transform 0.1s;
}

.btn-primary:hover {
    background: var(--purple-light);
    transform: translateY(-2px);
    text-decoration: none;
    box-shadow: none;
}

/* === FOOTER === */
.page-footer {
    border-top: 1px solid var(--careers-border);
    padding: 28px 0;
    text-align: center;
}

.page-footer p { color: var(--careers-text-muted); font-size: 0.85rem; }
.page-footer a { color: var(--careers-text-muted); }
.page-footer a:hover { color: #fff; }

/* === CV MODAL === */
.cv-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.78);
    z-index: 500;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.cv-modal-overlay.open { display: flex; }

.cv-modal {
    background: var(--bg2);
    border: 1px solid rgba(123, 47, 255, 0.35);
    border-radius: 20px;
    width: 100%;
    max-width: 520px;
    max-height: 92vh;
    overflow-y: auto;
    padding: 40px 40px 32px;
    position: relative;
}

.cv-modal-close {
    position: absolute;
    top: 14px;
    right: 18px;
    background: none;
    border: none;
    color: var(--careers-text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.cv-modal-close:hover { color: #fff; }

.cv-modal h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}

.cv-modal-subtitle { color: #a8b2c8; font-size: 0.875rem; margin-bottom: 26px; }

.cv-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }

.cv-field label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--careers-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cv-field input,
.cv-field select,
.cv-field textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 11px 14px;
    color: #fff;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: border-color 0.2s;
    width: 100%;
    resize: vertical;
}

.cv-field input::placeholder,
.cv-field textarea::placeholder { color: var(--careers-text-muted); }

.cv-field input:focus,
.cv-field select:focus,
.cv-field textarea:focus { border-color: var(--purple); }

.cv-field select option { background: #0f0f1a; color: #fff; }
.cv-field select.cv-placeholder { color: var(--careers-text-muted); }

.cv-file-label {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1.5px dashed rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    padding: 14px 16px;
    cursor: pointer;
    transition: border-color 0.2s;
    color: var(--careers-text-muted);
    font-size: 0.875rem;
}

.cv-file-label:hover { border-color: var(--purple); color: #fff; }
.cv-file-label i { font-size: 1.1rem; color: var(--purple-light); flex-shrink: 0; }

.cv-file-input { display: none; }
.cv-file-name  { font-size: 0.8rem; margin-top: 5px; }

.btn-submit-cv {
    width: 100%;
    background: var(--purple);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 14px;
    font-size: 0.97rem;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-submit-cv:hover { background: var(--purple-light); transform: translateY(-1px); }
.btn-submit-cv:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.cv-modal-success { display: none; text-align: center; padding: 24px 0 8px; }
.cv-modal-success .success-icon { font-size: 3rem; color: #4ade80; margin-bottom: 16px; }

.cv-modal-success h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 10px;
}

.cv-modal-success p { color: #a8b2c8; font-size: 0.9rem; }

/* === RESPONSIVE === */
@media (max-width: 600px) {
    .no-openings-box { padding: 40px 24px; }
    .cta-box          { padding: 40px 24px; }
    .cv-modal         { padding: 32px 24px 28px; }
}
