/* =====================================================
   Analog Signalworks - Careers Page Styles
   Extends landing.css with careers-specific styling
   ===================================================== */

/* =====================================================
   Hero Section
   ===================================================== */

[data-theme="light"] .careers-hero::before {
    opacity: 0.5;
}

.careers-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 70px;
    background: var(--bg-secondary);
    text-align: center;
}

/* Circuit-board SVG pattern + orange radial glows */
.careers-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cg fill='none' stroke='%23FF6519' stroke-width='0.5' opacity='0.12'%3E%3Crect x='10' y='10' width='60' height='60' rx='2'/%3E%3Cline x1='10' y1='40' x2='0' y2='40'/%3E%3Cline x1='70' y1='40' x2='80' y2='40'/%3E%3Cline x1='40' y1='10' x2='40' y2='0'/%3E%3Cline x1='40' y1='70' x2='40' y2='80'/%3E%3Ccircle cx='10' cy='10' r='2.5' fill='%23FF6519' opacity='0.5'/%3E%3Ccircle cx='70' cy='10' r='2.5' fill='%23FF6519' opacity='0.5'/%3E%3Ccircle cx='10' cy='70' r='2.5' fill='%23FF6519' opacity='0.5'/%3E%3Ccircle cx='70' cy='70' r='2.5' fill='%23FF6519' opacity='0.5'/%3E%3Ccircle cx='40' cy='40' r='3' fill='%23FF6519' opacity='0.3'/%3E%3Cline x1='10' y1='10' x2='25' y2='10'/%3E%3Cline x1='55' y1='10' x2='70' y2='10'/%3E%3Cline x1='10' y1='70' x2='25' y2='70'/%3E%3Cline x1='55' y1='70' x2='70' y2='70'/%3E%3Cline x1='10' y1='10' x2='10' y2='25'/%3E%3Cline x1='10' y1='55' x2='10' y2='70'/%3E%3Cline x1='70' y1='10' x2='70' y2='25'/%3E%3Cline x1='70' y1='55' x2='70' y2='70'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 80px 80px;
    pointer-events: none;
    z-index: 0;
}

/* Orange ambient glows on top of pattern */
.careers-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 60%, rgba(255, 101, 25, 0.10) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 40%, rgba(255, 101, 25, 0.07) 0%, transparent 45%);
    pointer-events: none;
    z-index: 0;
}

.careers-hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    padding: 2rem;
    padding-top: 0;
    padding-bottom: 3rem;
}

.careers-hero-eyebrow {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 1.5rem;
    filter: brightness(1.65);
}

.careers-hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.careers-hero p {
    font-size: 1.1rem;
    color: var(--text-primary);
    opacity: 0.95;
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto;
}

/* =====================================================
   Main Content Section
   ===================================================== */

.careers-section {
    padding: var(--section-padding);
    background: var(--bg-primary);
}

.careers-container {
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

@media (max-width: 768px) {
    .careers-hero {
        padding-top: 80px;
    }

    .careers-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* =====================================================
   Copy Column
   ===================================================== */

.careers-copy h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.careers-copy p {
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 1rem;
}

.careers-copy p:last-child {
    margin-bottom: 0;
}

.careers-highlight {
    color: var(--primary);
    font-weight: 600;
}

.careers-criteria {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.careers-criteria li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.careers-criteria li svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: var(--primary);
    margin-top: 2px;
}

.careers-criteria li span {
    flex: 1;
}

/* =====================================================
   Signup Card
   NOTE: Must be a <div> — glow-effect does NOT work on <a> tags
   ===================================================== */

.careers-signup-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
}

.careers-signup-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.careers-signup-card > p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.careers-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.careers-form input[type="email"] {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: var(--font-family);
    transition: border-color var(--transition-fast);
    box-sizing: border-box;
}

.careers-form input[type="email"]:focus {
    outline: none;
    border-color: var(--primary);
}

.careers-form input[type="email"]::placeholder {
    color: var(--text-muted);
}

.careers-form .btn {
    width: 100%;
    justify-content: center;
}

.careers-form-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
    margin: 0;
}
