/* ===================================
   RESET & BASE STYLES
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-bg: #0f0f0f;
    --secondary-bg: #1a1a1a;
    --card-bg: rgba(30, 30, 30, 0.8);
    --accent-green: #76FF9F;
    --accent-green-dark: #5ee083;
    --text-primary: #ffffff;
    --text-secondary: #b4b4b4;
    --text-muted: #808080;
    --border-color: #2a2a2a;
    --glow-green: 0 0 20px rgba(118, 255, 159, 0.4);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--primary-bg);
    background-image: url('../assets/images/background.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 15, 15, 0.3);
    z-index: -1;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===================================
   NAVIGATION
   =================================== */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 15, 15, 0.3);
    backdrop-filter: blur(20px);

}

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 45px;
    width: auto;
    transition: var(--transition-smooth);
}

.logo:hover img {
    transform: scale(1.05);
}

.logo-accent {
    color: var(--accent-green);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

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

.nav-link:hover,
.nav-link.active {
    color: var(--accent-green);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-green);
    box-shadow: var(--glow-green);
}

.btn-primary {
    padding: 0.75rem 2rem;
    background: var(--accent-green);
    color: #000000;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.875rem;
}

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

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-image: url('../assets/images/hero-background.png');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.hero-content {
    text-align: center;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: clamp(3.5rem, 12vw, 7rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--text-primary);
}

.hero-title-green {
    color: var(--accent-green);
    display: inline-block;
    font-weight: 800;
}

.hero-title-underline {
    position: relative;
    display: inline-block;
}

.hero-title-underline::after {
    width: 3em;
    border-radius: 2em;
    content: '';
    position: absolute;
    bottom: 0.1em;
    left: 0;
    right: 0;
    height: 0.15em;
    background: var(--accent-green);
    z-index: -1;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.35rem);
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
    letter-spacing: 0.02em;
    line-height: 1.7;
    opacity: 0.9;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease-out 0.3s backwards;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.875rem 1.75rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.02em;
}

.hero-btn svg {
    transition: transform 0.3s ease;
}

.hero-btn:hover svg {
    transform: translateX(3px);
}

.hero-btn-primary {
    background: var(--accent-green);
    color: #000;
    box-shadow: 0 4px 20px rgba(118, 255, 159, 0.25);
}

.hero-btn-primary:hover {
    background: var(--accent-green-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(118, 255, 159, 0.4);
}

.hero-btn-primary:active {
    transform: translateY(-1px);
}

.hero-btn-secondary {
    background: rgba(88, 101, 242, 0.15);
    color: #5865F2;
    border: 1px solid rgba(88, 101, 242, 0.3);
    backdrop-filter: blur(10px);
}

.hero-btn-secondary:hover {
    background: rgba(88, 101, 242, 0.25);
    border-color: #5865F2;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(88, 101, 242, 0.3);
}

.hero-btn-secondary:active {
    transform: translateY(-1px);
}

/* Button ripple effect */
.hero-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.hero-btn:active::before {
    width: 300px;
    height: 300px;
}

.hero-scroll-hint {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: var(--text-muted);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid var(--accent-green);
    border-bottom: 2px solid var(--accent-green);
    transform: rotate(45deg);
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom,
        rgba(15, 15, 15, 0.8) 0%,
        rgba(15, 15, 15, 0.9) 50%,
        rgba(15, 15, 15, 1) 100%
    );
    pointer-events: none;
    z-index: 1;
}

/* ===================================
   JOBS SECTION
   =================================== */
.jobs-section {
    min-height: 100vh;
    height: 100vh;
    padding: 6rem 2rem;
    background: var(--primary-bg);
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

/* Jobs Header */
.jobs-header {
    text-align: center;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease-out;
    flex-shrink: 0;
}

.jobs-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.text-accent {
    color: var(--accent-green);
    position: relative;
    display: inline-block;
}

.jobs-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 300;
    opacity: 0.9;
}

/* Jobs Grid */
.jobs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    flex-shrink: 0;
}

/* Job Card */
.job-card {
    position: relative;
    height: 320px;
    border-radius: 24px;
    overflow: hidden;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.job-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, var(--accent-green), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.job-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: var(--accent-green);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(118, 255, 159, 0.2);
}

.job-card:hover::before {
    opacity: 1;
}

/* Background Image */
.job-card-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.job-card-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.4) blur(0px);
}

.job-card:hover .job-card-bg img {
    transform: scale(1.15);
    filter: brightness(0.8) blur(2px);
}

/* Overlay Gradient */
.job-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(15, 15, 15, 0.3) 0%,
        rgba(15, 15, 15, 0.7) 60%,
        rgba(15, 15, 15, 0.95) 100%
    );
    transition: background 0.4s ease;
    z-index: 1;
}

.job-card:hover .job-card-overlay {
    background: linear-gradient(
        180deg,
        rgba(15, 15, 15, 0.1) 0%,
        rgba(15, 15, 15, 0.6) 50%,
        rgba(15, 15, 15, 0.98) 100%
    );
}

/* Card Content */
.job-card-content {
    position: relative;
    height: 100%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.job-card:hover .job-card-content {
    padding: 2.5rem;
}

/* Job Icon */
.job-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(118, 255, 159, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(118, 255, 159, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.job-icon svg {
    width: 28px;
    height: 28px;
    color: var(--accent-green);
    transition: all 0.4s ease;
}

.job-card:hover .job-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--accent-green);
    border-color: var(--accent-green);
    box-shadow: 0 8px 24px rgba(118, 255, 159, 0.3);
}

.job-card:hover .job-icon svg {
    color: #000000;
    transform: scale(1.1);
}

/* Job Title */
.job-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
    transition: all 0.4s ease;
}

.job-card:hover .job-title {
    color: var(--accent-green);
    transform: translateX(4px);
}

/* Job Description */
.job-description {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-secondary);
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    margin-bottom: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.job-card:hover .job-description {
    opacity: 1;
    max-height: 100px;
    margin-bottom: 1.25rem;
}

/* Call to Action */
.job-cta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-green);
    font-weight: 600;
    font-size: 0.95rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.job-cta svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.job-card:hover .job-cta {
    opacity: 1;
    transform: translateY(0);
}

.job-card:hover .job-cta svg {
    transform: translateX(4px);
}

/* Shine Effect */
.job-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(118, 255, 159, 0.1) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    z-index: 3;
    pointer-events: none;
    transition: left 0.6s ease;
}

.job-card:hover .job-shine {
    left: 100%;
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    padding: 3rem 0;
    background: var(--secondary-bg);
    border-top: 1px solid var(--border-color);
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer p {
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--accent-green);
}

/* ===================================
   ANIMATIONS
   =================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* ===================================
   RESPONSIVE
   =================================== */
/* Large Tablets and Small Laptops */
@media (max-width: 1200px) {
    .jobs-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }

    .job-card {
        height: 360px;
    }
}

/* Tablets */
@media (max-width: 900px) {
    .jobs-section {
        padding: 4rem 1.5rem;
    }

    .jobs-header {
        margin-bottom: 3rem;
    }

    .jobs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .job-card {
        height: 340px;
    }
}

/* Mobile Landscape */
@media (max-width: 768px) {
    .nav-container {
        padding: 1rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .hero {
        height: 80vh;
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero-title br {
        display: block;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .hero-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .jobs-section {
        padding: 3rem 1rem;
    }

    .jobs-header {
        margin-bottom: 2.5rem;
    }

    .jobs-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .job-card {
        height: 320px;
    }

    .job-card:hover {
        transform: translateY(-8px) scale(1.01);
    }

    /* Always show description on mobile */
    .job-description {
        opacity: 1;
        max-height: 100px;
        margin-bottom: 1rem;
    }

    .job-cta {
        opacity: 1;
        transform: translateY(0);
    }

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

/* Mobile Portrait */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .nav-link:not(.btn-primary) {
        display: none;
    }

    .jobs-section {
        padding: 2.5rem 1rem;
    }

    .jobs-title {
        font-size: 2rem;
    }

    .jobs-subtitle {
        font-size: 1rem;
    }

    .job-card {
        height: 300px;
    }

    .job-card-content {
        padding: 1.5rem;
    }

    .job-card:hover .job-card-content {
        padding: 1.75rem;
    }

    .job-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 1.25rem;
    }

    .job-icon svg {
        width: 24px;
        height: 24px;
    }

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

    .job-description {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }
}

/* ===================================
   CUSTOM CURSOR - NEON GLOW STYLE
   =================================== */
* {
    cursor: none !important;
}

.cursor-dot {
    width: 12px;
    height: 12px;
    background: var(--accent-green);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 10000;
    transition: width 0.3s ease, height 0.3s ease, opacity 0.2s ease;
    box-shadow:
        0 0 10px var(--accent-green),
        0 0 20px var(--accent-green),
        0 0 30px rgba(118, 255, 159, 0.5);
    animation: pulse 2s ease-in-out infinite;
}

.cursor-outline {
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(118, 255, 159, 0.15) 0%, rgba(118, 255, 159, 0.05) 50%, transparent 100%);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.6;
    backdrop-filter: blur(3px);
}

/* Pulse animation for dot */
@keyframes pulse {
    0%, 100% {
        box-shadow:
            0 0 10px var(--accent-green),
            0 0 20px var(--accent-green),
            0 0 30px rgba(118, 255, 159, 0.5);
    }
    50% {
        box-shadow:
            0 0 15px var(--accent-green),
            0 0 30px var(--accent-green),
            0 0 45px rgba(118, 255, 159, 0.7);
    }
}

/* Cursor hover states - Dramatic neon effect */
body.cursor-hover .cursor-dot {
    width: 6px;
    height: 6px;
    background: #fff;
    box-shadow:
        0 0 15px #fff,
        0 0 30px #fff,
        0 0 45px rgba(255, 255, 255, 0.8);
}

body.cursor-hover .cursor-outline {
    width: 90px;
    height: 90px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.08) 50%, transparent 100%);
    opacity: 0.8;
}

/* Cursor click state - Ripple effect */
body.cursor-click .cursor-dot {
    width: 8px;
    height: 8px;
    animation: clickPulse 0.4s ease-out;
}

body.cursor-click .cursor-outline {
    animation: ripple 0.6s ease-out;
}

@keyframes clickPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(0.5);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* Hide cursor on mobile/tablet */
@media (max-width: 1024px) {
    * {
        cursor: auto !important;
    }

    .cursor-dot,
    .cursor-outline {
        display: none;
    }
}
