/* ========================================
   CSS Variables & Base Styles
======================================== */
:root {
    --bg-primary: #09090b;
    --bg-secondary: #0f0f12;
    --bg-tertiary: #18181b;
    --bg-card: rgba(24, 24, 27, 0.5);
    --bg-card-hover: rgba(39, 39, 42, 0.5);

    --text-primary: #fafafa;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;

    --accent-primary: #a855f7;
    --accent-secondary: #7c3aed;
    --accent-tertiary: #c084fc;
    --accent-glow: rgba(168, 85, 247, 0.35);

    --border-color: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);

    --font-primary: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* ========================================
   Background Effects
======================================== */
.noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.025;
    pointer-events: none;
    z-index: 1000;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

.grid-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(168, 85, 247, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(168, 85, 247, 0.03) 1px, transparent 1px);
    background-size: 80px 80px;
    pointer-events: none;
    z-index: 0;
    mask-image: radial-gradient(ellipse 80% 50% at 50% 0%, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 50% at 50% 0%, black 40%, transparent 100%);
}

.gradient-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.3;
    pointer-events: none;
    z-index: 0;
}

.gradient-orb-1 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, var(--accent-primary) 0%, transparent 70%);
    top: -300px;
    right: -200px;
    animation: float 25s ease-in-out infinite;
}

.gradient-orb-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-secondary) 0%, transparent 70%);
    bottom: -200px;
    left: -200px;
    animation: float 30s ease-in-out infinite reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(40px, -40px) scale(1.05);
    }

    50% {
        transform: translate(-30px, 30px) scale(0.95);
    }

    75% {
        transform: translate(30px, 20px) scale(1.02);
    }
}

/* ========================================
   Navigation
======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 0;
    backdrop-filter: blur(20px);
    background: rgba(9, 9, 11, 0.85);
    border-bottom: 1px solid var(--border-color);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.2rem;
    letter-spacing: -0.02em;
}

.logo-icon {
    font-size: 1.4rem;
    color: var(--accent-primary);
    filter: drop-shadow(0 0 8px var(--accent-glow));
}

.logo-img {
    width: 28px;
    height: 28px;
    max-width: 28px;
    max-height: 28px;
    object-fit: contain;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    gap: 6px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-weight: 500;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
    border: 1px solid transparent;
}

.nav-link:hover {
    color: var(--text-primary);
    background: var(--bg-tertiary);
}

.nav-link.active {
    color: var(--text-primary);
    background: var(--bg-tertiary);
    border-color: var(--border-hover);
}

/* ========================================
   Hero Section
======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 80px;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 900px;
    text-align: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 48px;
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
    letter-spacing: 0.02em;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
    box-shadow: 0 0 12px var(--accent-glow);
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.15);
    }
}

.hero-title {
    font-size: clamp(4.5rem, 16vw, 12rem);
    font-weight: 700;
    line-height: 0.85;
    letter-spacing: -0.05em;
    margin-bottom: 40px;
}

.title-line {
    display: block;
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.title-line:nth-child(1) {
    animation-delay: 0.1s;
}

.title-line:nth-child(2) {
    animation-delay: 0.2s;
}

.title-accent {
    background: linear-gradient(135deg, var(--accent-tertiary) 0%, var(--accent-primary) 50%, var(--accent-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 40px var(--accent-glow));
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto 56px;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.3s;
    opacity: 0;
    font-weight: 400;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   Buttons
======================================== */
.cta-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 80px;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.4s;
    opacity: 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: var(--radius-full);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-base);
    cursor: pointer;
    border: none;
    font-family: inherit;
    letter-spacing: -0.01em;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: white;
    box-shadow: 0 4px 24px var(--accent-glow), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 40px var(--accent-glow), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn-arrow {
    transition: transform var(--transition-fast);
}

.btn:hover .btn-arrow {
    transform: translateX(4px);
}

/* ========================================
   Capabilities Section
======================================== */
.capabilities {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 0;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.5s;
    opacity: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 8px;
    backdrop-filter: blur(10px);
}

.capability-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 28px;
    border-radius: var(--radius-lg);
    transition: background var(--transition-fast);
}

.capability-item:hover {
    background: var(--bg-card-hover);
}

.capability-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.15) 0%, rgba(124, 58, 237, 0.1) 100%);
    border-radius: var(--radius-md);
    color: var(--accent-tertiary);
    flex-shrink: 0;
}

.capability-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: left;
}

.capability-label {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.capability-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.capability-divider {
    width: 1px;
    background: var(--border-color);
    align-self: stretch;
    margin: 12px 0;
}

/* ========================================
   Footer
======================================== */
.footer {
    position: relative;
    z-index: 1;
    padding: 24px;
    border-top: 1px solid var(--border-color);
    background: rgba(9, 9, 11, 0.5);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo {
    width: 24px;
    height: 24px;
    max-width: 24px;
    max-height: 24px;
    object-fit: contain;
    flex-shrink: 0;
}

.footer-text {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color var(--transition-fast);
}

.footer-link:hover {
    color: var(--text-primary);
}

/* ========================================
   Jobs Page - Header
======================================== */
.page-header {
    padding: 160px 24px 60px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.page-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    margin-bottom: 16px;
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.page-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.1s;
    opacity: 0;
}

/* ========================================
   Jobs Navigation
======================================== */
.jobs-nav-section {
    position: relative;
    z-index: 1;
    padding: 0 24px 48px;
}

.jobs-nav-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.jobs-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
    backdrop-filter: blur(10px);
}

.jobs-nav-item:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    color: var(--text-primary);
}

.jobs-nav-item.active {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.15) 0%, rgba(124, 58, 237, 0.1) 100%);
    border-color: rgba(168, 85, 247, 0.3);
    color: var(--text-primary);
}

.jobs-nav-icon {
    display: flex;
    align-items: center;
    color: var(--accent-primary);
}

.jobs-nav-count {
    padding: 2px 10px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.jobs-nav-item.active .jobs-nav-count {
    background: rgba(168, 85, 247, 0.25);
}

/* ========================================
   Jobs Section & Category
======================================== */
.jobs-section {
    position: relative;
    z-index: 1;
    padding: 40px 24px 80px;
}

.jobs-container {
    max-width: 900px;
    margin: 0 auto;
}

.category-header {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.category-title {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.category-title::before {
    content: '';
    width: 4px;
    height: 28px;
    background: linear-gradient(180deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    border-radius: 2px;
}

.category-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-left: 16px;
}

/* ========================================
   Job Card
======================================== */
.job-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 48px;
    backdrop-filter: blur(20px);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.3s;
    opacity: 0;
}

.job-card+.job-card {
    margin-top: 32px;
}

.job-header {
    margin-bottom: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border-color);
}

.job-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.job-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(168, 85, 247, 0.15);
    color: var(--accent-tertiary);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 500;
}

.job-badge-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-secondary);
}

.job-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.job-meta {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.job-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.job-meta-item svg {
    color: var(--text-muted);
}

/* ========================================
   Job Content
======================================== */
.job-content h2 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 40px 0 20px;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.job-content h2:first-child {
    margin-top: 0;
}

.job-content h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 28px 0 16px;
    color: var(--text-primary);
}

.job-content p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.8;
}

.job-content ul {
    list-style: none;
    margin-bottom: 24px;
}

.job-content li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    color: var(--text-secondary);
    line-height: 1.75;
}

.job-content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 5px;
    height: 5px;
    background: var(--accent-primary);
    border-radius: 50%;
}

.job-content li ul {
    margin-top: 12px;
    margin-bottom: 0;
}

.job-content li li::before {
    background: var(--text-muted);
    width: 4px;
    height: 4px;
}

.job-content strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* ========================================
   Job CTA
======================================== */
.job-cta {
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.job-cta h2 {
    margin-top: 0 !important;
}

.email-link {
    color: var(--accent-tertiary);
    text-decoration: none;
    font-weight: 500;
    transition: opacity var(--transition-fast);
    border-bottom: 1px solid transparent;
}

.email-link:hover {
    border-bottom-color: var(--accent-tertiary);
}

/* ========================================
   Responsive Design
======================================== */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 16px;
    }

    .logo-text {
        display: none;
    }

    .logo-img {
        width: 24px;
        height: 24px;
        max-width: 24px;
        max-height: 24px;
    }

    .footer-logo {
        width: 20px;
        height: 20px;
        max-width: 20px;
        max-height: 20px;
    }

    .footer-brand {
        justify-content: center;
    }

    .hero {
        padding: 100px 16px 60px;
    }

    .hero-title {
        font-size: clamp(3.5rem, 14vw, 7rem);
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 48px;
    }

    .cta-group {
        margin-bottom: 56px;
    }

    .capabilities {
        flex-direction: column;
        gap: 0;
        padding: 4px;
    }

    .capability-divider {
        width: 100%;
        height: 1px;
        margin: 0;
    }

    .capability-item {
        padding: 16px 20px;
    }

    .job-card {
        padding: 32px 24px;
    }

    .job-title {
        font-size: 1.5rem;
    }

    .job-meta {
        gap: 16px;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .jobs-nav-container {
        flex-direction: column;
        align-items: stretch;
    }

    .jobs-nav-item {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .nav-link {
        padding: 8px 14px;
        font-size: 0.85rem;
    }

    .logo-img {
        width: 22px;
        height: 22px;
        max-width: 22px;
        max-height: 22px;
    }

    .btn {
        padding: 14px 24px;
        width: 100%;
        justify-content: center;
    }

    .page-header {
        padding: 140px 16px 48px;
    }

    .category-header {
        margin-bottom: 24px;
    }

    .category-title {
        font-size: 1.5rem;
    }
}