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

body {
    margin: 0;
    padding: 0;
    font-family: 'Raleway', system-ui, sans-serif;
    background: #000;
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ── Banner Close Button ── */
.banner-close {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s ease;
    z-index: 10;
}

.banner-close:hover {
    background: rgba(0, 0, 0, 0.1);
}

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

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
    position: relative;
    z-index: 100;
}

header .logo {
    font-size: 1.5rem;
    font-weight: 900;
    transition: color 0.3s;
}

header .logo:hover {
    color: #facc15;
}

nav {
    display: flex;
    gap: 32px;
}

nav a {
    color: #9ca3af;
    font-weight: 400;
    transition: color 0.3s;
}

nav a:hover,
nav a.active {
    color: #fff;
}

.content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 48px 24px 80px;
}

.content h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: #facc15;
    margin-bottom: 24px;
}

.glass-card {
    background: rgba(17, 24, 39, 0.5);
    backdrop-filter: blur(4px);
    border: 1px solid #1f2937;
    border-radius: 12px;
    padding: 32px;
    transition: box-shadow 0.5s;
}

.glass-card:hover {
    box-shadow: 0 10px 15px -3px rgba(250, 204, 21, 0.1);
}

.glass-card p {
    color: #d1d5db;
    line-height: 1.625;
}

.glass-card p+p {
    margin-top: 24px;
}

/* ── Team Grids ── */
.team-section {
    margin-bottom: 96px;
}

.team-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contributors-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 48px;
}

.profile-card {
    background: rgba(17, 24, 39, 0.5);
    backdrop-filter: blur(4px);
    border: 1px solid #1f2937;
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    transition: box-shadow 0.5s;
    position: relative;
}

.profile-card:hover {
    box-shadow: 0 10px 15px -3px rgba(250, 204, 21, 0.1);
}

.profile-img-container {
    width: 192px;
    height: 192px;
    margin: 0 auto 24px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(250, 204, 21, 0.2);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.profile-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transform: scale(1.1);
    transition: transform 0.5s;
}

.profile-card:hover .profile-img-container img {
    transform: scale(1.25);
}

.profile-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.profile-title {
    color: #facc15;
    margin-bottom: 16px;
}

.profile-bio {
    color: #d1d5db;
    font-size: 0.875rem;
    line-height: 1.625;
    white-space: pre-line;
    text-align: justify;
}

@media (max-width: 768px) {
    .profile-bio {
        text-align: center;
    }

    .team-grid,
    .contributors-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

    nav.desktop-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }
}

/* ── Mobile Menu ── */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 8px;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
}

.mobile-menu-btn:hover {
    color: #facc15;
}

.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 4;
    display: flex;
    flex-direction: column;
    height: calc(100vh - 60px);
}

.mobile-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu nav {
    display: flex;
    flex-direction: column;
    padding: 16px;
    gap: 0;
}

.mobile-menu nav a {
    padding: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 1.25rem;
    color: #d1d5db;
}

.mobile-menu nav a:hover,
.mobile-menu nav a.active {
    color: #facc15;
    background: rgba(255, 255, 255, 0.05);
}

.profile-quote {
    color: #9ca3af;
    font-style: italic;
    margin-top: 16px;
}

.profile-socials {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    gap: 8px;
}

.profile-socials a {
    color: #facc15;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.profile-socials a:hover {
    transform: scale(1.5);
}

.profile-socials svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* ── Values Grid ── */
.values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 32px;
}

.value-card {
    background: rgba(31, 41, 55, 0.3);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(55, 65, 81, 0.5);
    border-radius: 12px;
    padding: 24px;
    transition: box-shadow 0.3s;
}

.value-card:hover {
    box-shadow: 0 10px 15px -3px rgba(250, 204, 21, 0.1);
}

.value-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.value-card p {
    color: #d1d5db;
    line-height: 1.625;
}

/* ── Hero Center ── */
.hero-center {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.bounce-arrow {
    position: absolute;
    bottom: 48px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 1s infinite;
    pointer-events: none;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(-25%);
    }

    50% {
        transform: translateX(-50%) translateY(0);
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.1) 50%, #000 100%);
    pointer-events: none;
    z-index: 1;
}

.hero-center h1 {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.hero-center h1 .accent {
    color: #facc15;
}

.hero-center p {
    font-size: 1.25rem;
    color: #d1d5db;
    margin-bottom: 32px;
}

footer {
    max-width: 1280px;
    margin: 0 auto;
    padding: 48px 24px 32px;
    border-top: 1px solid #1f2937;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 32px;
}

.footer-grid h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-grid p,
.footer-grid li {
    color: #9ca3af;
}

.footer-grid ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-grid a {
    color: #9ca3af;
    transition: color 0.3s;
}

.footer-grid a:hover {
    color: #facc15;
}

.footer-bottom {
    text-align: center;
    color: #6b7280;
    font-size: 0.875rem;
}

.footer-bottom p+p {
    margin-top: 4px;
}

@media (max-width: 768px) {

    .team-grid,
    .contributors-grid,
    .values-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}