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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

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

.section {
    padding: 100px 0;
    scroll-margin-top: 60px;
}

/* ==================== NAV ==================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: background 0.3s, padding 0.3s;
}

.nav.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    padding: 12px 0;
}

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

.nav-logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.nav-cta {
    background: #ffffff;
    color: #0a0a0a;
    padding: 10px 24px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: opacity 0.2s;
}

.nav-cta:hover {
    opacity: 0.85;
}

/* ==================== HERO ==================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.hero-slide.active {
    opacity: 1;
}

/* Placeholder gradient when no images */
.hero-slide:nth-child(1) {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    opacity: 1;
}

.hero-slide:nth-child(2) {
    background: linear-gradient(135deg, #0f3460 0%, #533483 50%, #1a1a2e 100%);
}

.hero-slide:nth-child(3) {
    background: linear-gradient(135deg, #533483 0%, #1a1a2e 50%, #0f3460 100%);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 24px;
}

.hero-logo-badge {
    display: inline-block;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 8px 24px;
    border-radius: 100px;
    margin-bottom: 32px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 40px;
    font-weight: 400;
}

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-block;
    padding: 16px 40px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.2s, opacity 0.2s;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.btn-primary {
    background: #ffffff;
    color: #0a0a0a;
}

/* ==================== ABOUT ==================== */
.about {
    background: #0a0a0a;
}

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

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 40px;
    letter-spacing: -0.5px;
}

.about-text {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 24px;
    line-height: 1.8;
}

.about-highlight {
    color: #ffffff;
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 40px;
}

/* ==================== NUMBERS ==================== */
.numbers {
    background: #111111;
    padding: 80px 0;
}

.numbers-grid {
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
}

.number-card {
    text-align: center;
}

.number-value {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 900;
    display: block;
    letter-spacing: -2px;
    line-height: 1;
}

.number-suffix {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 900;
    letter-spacing: -1px;
}

.number-label {
    display: block;
    margin-top: 12px;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ==================== PERKS ==================== */
.perks {
    background: #0a0a0a;
}

.perks .section-title {
    text-align: center;
    margin-bottom: 60px;
}

.perks-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.perk-card {
    background: #161616;
    border: 1px solid #222222;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: border-color 0.3s, transform 0.3s;
}

.perk-card:hover {
    border-color: #333333;
    transform: translateY(-4px);
}

.perk-icon {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.perk-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.perk-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
}

/* ==================== COMMUNITY ==================== */
.community {
    background: #111111;
}

.community-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.community .section-title {
    margin-bottom: 32px;
}

.community-map {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #222222;
}

.community-map iframe {
    display: block;
}

/* ==================== ROLES ==================== */
.roles {
    background: #0a0a0a;
}

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

.roles-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.role-card {
    display: flex;
    align-items: center;
    background: #161616;
    border: 1px solid #222222;
    border-radius: 12px;
    padding: 24px 28px;
    transition: border-color 0.3s, transform 0.2s;
    gap: 16px;
}

.role-card:hover {
    border-color: #444444;
    transform: translateX(4px);
}

.role-info {
    flex: 1;
}

.role-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.role-company {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
}

.role-location {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

.role-arrow {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.3);
    transition: color 0.3s;
}

.role-card:hover .role-arrow {
    color: #ffffff;
}

/* ==================== FOOTER ==================== */
.footer {
    background: #0a0a0a;
    border-top: 1px solid #1a1a1a;
    padding: 40px 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    font-size: 1.3rem;
    font-weight: 800;
}

.footer-copy {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ==================== ANIMATIONS ==================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .perks-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .section {
        padding: 70px 0;
    }

    .hero {
        min-height: 500px;
    }

    .numbers-grid {
        gap: 40px;
    }

    .perks-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .community-map iframe {
        height: 300px;
    }

    .role-card {
        flex-wrap: wrap;
        gap: 8px;
    }

    .role-location {
        width: 100%;
        font-size: 0.85rem;
    }

    .role-arrow {
        display: none;
    }

    .footer-inner {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .btn {
        padding: 14px 32px;
        font-size: 0.95rem;
    }
}
