/* CSS Variables for Brand Colors and Design System */
:root {
    --primary-black: #000000;
    --primary-dark: #1a1a1a;
    --primary-gray: #333333;
    --medium-gray: #666666;
    --light-gray: #f5f5f5;
    --baby-blue: #87CEEB;
    --accent-blue: #5DADE2;
    --yellow: #FFD700;
    --accent-yellow: #FFA500;
    --white: #ffffff;
    
    --font-primary: 'Inter', sans-serif;
    
    --border-radius: 12px;
    --border-radius-large: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 16px 64px rgba(0, 0, 0, 0.25);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--primary-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

p {
    margin-bottom: 1rem;
    color: var(--medium-gray);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 16px;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--baby-blue), var(--accent-blue));
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--primary-black);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--accent-blue);
    border: 2px solid var(--accent-blue);
}

.btn-outline:hover {
    background: var(--accent-blue);
    color: var(--white);
    transform: translateY(-2px);
}

.hero-buttons {
    display: flex;
    flex-direction: column;
}

.hero-buttons .hero-actions {
    display: flex;
    gap: 1rem;
}

.hero-buttons .hero-actions .btn {
    flex: 1;
    text-align: center;
}

.hero-app-btn {
    margin-top: 1rem;
    display: block;
    text-align: center;
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

/* Navigation */
.nav-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: nowrap;
}

.nav-logo {
    width: 36px;
    height: 36px;
    max-width: 36px;
    max-height: 36px;
    flex-shrink: 0;
}

.nav-brand h1 {
    font-size: 1.8rem !important;
    line-height: 1;
    margin: 0;
    white-space: nowrap;
    background: linear-gradient(135deg, var(--baby-blue), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-cta-mobile {
    display: none;
}

.nav-link {
    text-decoration: none;
    color: var(--primary-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--baby-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--baby-blue);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: var(--baby-blue);
}

.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-black);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    margin-bottom: 1.5rem;
}

.text-gradient {
    background: linear-gradient(135deg, var(--baby-blue), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--medium-gray);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Hero Visual — Lottie Logo */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo {
    width: 100%;
    max-width: 480px;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: var(--white);
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--medium-gray);
}

/* Service rows — knight + text side by side */
.service-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
    overflow: hidden;
}

.service-row:last-child {
    margin-bottom: 0;
}

.service-row--reverse {
    direction: rtl;
}

.service-row--reverse > * {
    direction: ltr;
}

.service-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.service-knight {
    width: 100%;
    max-width: 360px;
    height: 350px;
    overflow: hidden;
    filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.12));
    transition: transform 0.3s ease;
}

.service-knight svg {
    width: 100%;
    height: 100%;
}

.service-row:hover .service-knight {
    transform: scale(1.05);
}

.service-row--reverse .service-knight {
    max-width: 540px;
}

.service-info h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.service-info > p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--medium-gray);
    margin-bottom: 1.5rem;
}

.service-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.service-features {
    list-style: none;
    margin: 0 0 2rem 0;
    padding: 0;
}

.service-features li {
    padding: 0.6rem 0;
    color: var(--medium-gray);
    position: relative;
    padding-left: 1.8rem;
    font-size: 1rem;
}

.service-features li::before {
    content: "✓";
    color: var(--accent-blue);
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.1rem;
}

/* About Section */
.about {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.stats-disclaimer {
    font-size: 0.8rem;
    color: var(--medium-gray);
    opacity: 0.7;
    margin-top: 0.5rem;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2.5rem;
    color: var(--baby-blue);
    margin-bottom: 0.5rem;
}

.stat p {
    color: var(--medium-gray);
}

.zone-map {
    height: 450px;
    border-radius: var(--border-radius-large);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 2px solid rgba(0, 0, 0, 0.08);
}

.zone-map .leaflet-container {
    height: 100%;
    width: 100%;
    border-radius: var(--border-radius-large);
}

.zone-map {
    position: relative;
    cursor: pointer;
}

.zone-map-skeleton {
    position: absolute;
    inset: 0;
    z-index: 999;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.75rem;
    border-radius: var(--border-radius-large);
    transition: opacity 0.4s ease;
}

.zone-map-skeleton.loaded {
    opacity: 0;
    pointer-events: none;
}

.zone-map-skeleton-pulse {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid var(--baby-blue);
    border-top-color: var(--accent-blue);
    animation: skeleton-spin 0.8s linear infinite;
}

.zone-map-skeleton span {
    font-size: 0.8rem;
    color: var(--medium-gray);
    font-weight: 500;
}

@keyframes skeleton-spin {
    to { transform: rotate(360deg); }
}

.zone-map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    cursor: pointer;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 1rem;
}

.zone-map-overlay span {
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 8px 20px;
    border-radius: 24px;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: var(--font-primary);
    transition: opacity 0.3s ease;
    white-space: nowrap;
}

.zone-map-overlay:hover span {
    opacity: 0.7;
}

/* Full Page Zone Map Overlay */
.zone-fullmap {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    background: var(--white);
    flex-direction: column;
}

.zone-fullmap.active {
    display: flex;
}

.zone-fullmap-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: var(--white);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    z-index: 10;
}

.zone-fullmap-header h3 {
    font-size: 1.1rem;
    margin: 0;
    color: var(--primary-dark);
}

.zone-fullmap-back {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    background: none;
    border: 2px solid var(--baby-blue);
    color: var(--baby-blue);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: var(--font-primary);
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.zone-fullmap-back:hover {
    background: var(--baby-blue);
    color: var(--white);
}

.zone-fullmap-map {
    flex: 1;
    width: 100%;
}

.zone-fullmap-map .leaflet-container {
    height: 100%;
    width: 100%;
}

.zone-popup-title {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
    font-family: var(--font-primary);
}

.zone-popup-table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--font-primary);
    font-size: 0.85rem;
}

.zone-popup-table th {
    text-align: left;
    padding: 4px 8px 4px 0;
    color: var(--medium-gray);
    font-weight: 600;
    border-bottom: 1px solid #eee;
}

.zone-popup-table td {
    padding: 4px 8px 4px 0;
    border-bottom: 1px solid #f5f5f5;
}

.zone-popup-table td:last-child {
    text-align: right;
    font-weight: 600;
}

.zone-popup-realtime {
    color: var(--baby-blue);
    font-style: italic;
    font-weight: 500;
}

.zone-label {
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    font-family: var(--font-primary);
    white-space: nowrap;
    border: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* Features Section */
.features {
    padding: 80px 0;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature {
    text-align: center;
    padding: 2rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.feature:hover {
    background: var(--light-gray);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Download App Section */
.download-app {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
}

.download-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.download-content h2 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.download-content > p {
    color: var(--medium-gray);
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
}

.download-badges {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.download-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.download-knight {
    width: 100%;
    max-width: 360px;
    height: 250px;
    overflow: hidden;
}

.store-badge {
    display: inline-block;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.9;
}

.store-badge:hover {
    transform: translateY(-3px);
    opacity: 1;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-black), var(--primary-dark));
    color: var(--white);
    text-align: center;
}

.cta h2 {
    margin-bottom: 1rem;
    color: var(--white);
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--light-gray);
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: var(--white);
}

.contact-info-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    text-align: center;
}

.contact-info-row a {
    color: var(--baby-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-row a:hover {
    color: var(--accent-blue);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item h3 {
    color: var(--baby-blue);
    margin-bottom: 0.5rem;
}

.contact-form {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: var(--border-radius-large);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    font-size: 16px;
    background: var(--white);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--baby-blue);
}

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

/* Footer */
.footer {
    background: var(--primary-black);
    color: var(--white);
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    color: var(--baby-blue);
    margin-bottom: 1rem;
}

.footer-column h4 {
    color: var(--baby-blue);
    margin-bottom: 1rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column ul li a {
    color: var(--light-gray);
    text-decoration: none;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--baby-blue);
}

.footer-bottom {
    border-top: 1px solid var(--medium-gray);
    padding-top: 2rem;
    text-align: center;
    color: var(--light-gray);
}

/* Responsive Design */

/* Mobile nav menu (toggled via JS .active class) */
.nav-menu.active {
    display: flex !important;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 1.5rem 2rem;
    gap: 0;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-menu.active .nav-link {
    padding: 0.75rem 0;
    display: block;
    font-size: 1.1rem;
}

.nav-menu.active .btn {
    margin-top: 0.5rem;
    text-align: center;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .nav-cta {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }

    .nav-cta-mobile {
        display: block;
    }

    .nav-cta-mobile .btn {
        width: 100%;
        text-align: center;
    }

    body.nav-open {
        overflow: hidden;
    }
    
    /* Hero */
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-visual {
        order: -1;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-logo {
        max-width: 300px;
        margin: 0 auto;
    }
    
    /* Buttons — touch-friendly */
    .btn {
        padding: 14px 28px;
        font-size: 16px;
        min-height: 48px;
    }
    
    /* Service rows */
    .service-row {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 4rem;
    }
    
    .service-row--reverse {
        direction: ltr;
    }
    
    .service-knight {
        max-width: 260px;
        margin: 0 auto;
    }
    
    .service-row--reverse .service-knight {
        max-width: 340px;
    }
    
    .service-info {
        text-align: left;
    }
    
    .service-info h3 {
        font-size: 1.6rem;
    }
    
    /* About */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat h3 {
        font-size: 2rem;
    }
    
    .zone-map {
        height: 300px;
    }
    
    /* Features */
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    /* Download */
    .download-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .download-badges {
        justify-content: center;
    }

    .download-visual {
        order: -1;
    }

    .download-knight {
        max-width: 280px;
        margin: 0 auto;
    }

    /* Contact */
    .contact-info-row {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    /* CTA */
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .nav-container {
        padding: 0 16px;
        height: 64px;
    }
    
    .nav-brand h1 {
        font-size: 1.5rem;
    }
    
    .hero {
        padding: 90px 0 50px;
        min-height: auto;
    }
    
    .hero-logo {
        max-width: 220px;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    .services,
    .about,
    .features,
    .contact {
        padding: 50px 0;
    }
    
    .cta {
        padding: 50px 0;
    }
    
    .service-knight {
        max-width: 200px;
    }
    
    .service-row--reverse .service-knight {
        max-width: 280px;
    }
    
    .service-info h3 {
        font-size: 1.4rem;
    }
    
    .service-info > p {
        font-size: 1rem;
    }
    
    .service-features li {
        font-size: 0.9rem;
    }
    
    .stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stat h3 {
        font-size: 1.5rem;
    }
    
    .zone-map {
        height: 250px;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
}

/* ── CAREERS SECTION (homepage banner) ── */
.careers-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-black), var(--primary-dark));
}

.careers-banner {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.careers-text h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.careers-text p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* ── CAREERS PAGE ── */
.careers-hero {
    padding: 160px 0 80px;
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
    text-align: center;
}

.careers-hero h1 {
    margin-bottom: 1.5rem;
}

.careers-hero p {
    font-size: 1.15rem;
    line-height: 1.7;
    max-width: 620px;
    margin: 0 auto;
}

.careers-roles {
    padding: 80px 0;
    background: var(--white);
}

.roles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.role-card {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: var(--border-radius-large);
    transition: var(--transition);
    border: 1px solid transparent;
}

.role-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--baby-blue);
}

.role-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.role-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.role-card > p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.role-perks {
    list-style: none;
    padding: 0;
    margin: 0;
}

.role-perks li {
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.9rem;
    color: var(--medium-gray);
}

.role-perks li::before {
    content: "✓";
    color: var(--accent-blue);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.careers-apply {
    padding: 80px 0;
    background: var(--light-gray);
}

.careers-form-wrap {
    max-width: 680px;
    margin: 0 auto;
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-md);
}

.careers-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

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

.careers-form label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.careers-form input,
.careers-form select,
.careers-form textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    font-size: 16px;
    background: var(--white);
    transition: var(--transition);
}

.careers-form input:focus,
.careers-form select:focus,
.careers-form textarea:focus {
    outline: none;
    border-color: var(--baby-blue);
}

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

.careers-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    cursor: pointer;
}

.careers-form .btn {
    width: 100%;
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
    .roles-grid {
        grid-template-columns: 1fr;
    }

    .careers-form .form-row {
        grid-template-columns: 1fr;
    }

    .careers-form-wrap {
        padding: 1.5rem;
    }

    .careers-hero {
        padding: 120px 0 60px;
    }
}

/* Animations and Micro-interactions */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading Animation */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.loading {
    animation: pulse 2s infinite;
}

/* Smooth Scroll Enhancement */
html {
    scroll-behavior: smooth;
}

/* Selection Color */
::selection {
    background: var(--baby-blue);
    color: var(--white);
}

/* Focus States */
a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 2px solid var(--baby-blue);
    outline-offset: 2px;
}
