/* --- Page Specific: About Us --- */

/* Distinct Page Hero */
.page-hero {
    min-height: 100vh;
    padding: 15vh 5vw 5vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: radial-gradient(circle at 70% 30%, #1a222e 0%, var(--bg-color) 70%);
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.hero-subtitle {
    font-size: 1rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--accent-secondary);
    margin-bottom: 2rem;
    display: block;
    opacity: 0;
    animation: fadeIn 1s 0.5s forwards;
}

.header-text {
    text-align: left;
}

.page-hero h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 1.1;
    max-width: 900px;
    margin-bottom: 2rem;
    background: none;
    /* Reset gradient */
    -webkit-text-fill-color: var(--text-primary);
    opacity: 0;
    animation: slideUp 1s 0.8s forwards;
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.6;
    opacity: 0;
    animation: slideUp 1s 1s forwards;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Sections */
.about-section {
    padding: 15vh 5vw;
    background: var(--bg-color);
}

.origin-section {
    padding: 15vh 5vw;
    background: #0f131a; /* Subtle secondary depth */
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.team-section {
    padding: 15vh 5vw;
    background: var(--bg-color);
    position: relative;
}

.team-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(102, 252, 241, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(102, 252, 241, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

.community-section {
    padding: 15vh 5vw;
    background: linear-gradient(to bottom, #0f131a, var(--bg-color));
}

.section-label {
    color: var(--accent-primary);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    display: block;
}

/* Split Layout */
.split-layout {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 900px) {
    .split-layout {
        flex-direction: row;
        gap: 8rem;
    }

    .split-layout.reverse {
        flex-direction: row-reverse;
    }

    .text-block,
    .image-block {
        flex: 1;
        width: 100%;
    }
}

/* Image Block Hover Effect */
.image-block img {
    transition: transform 0.5s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.image-block:hover img {
    transform: scale(1.02);
    border-color: var(--accent-primary) !important;
    box-shadow: 0 0 20px rgba(102, 252, 241, 0.2);
    cursor: pointer;
}

.story-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.text-link {
    color: var(--accent-primary);
    text-decoration: none;
    position: relative;
    padding-bottom: 2px;
    transition: color 0.3s ease;
}

.text-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-primary);
    transition: width 0.3s ease;
}

.text-link:hover::after {
    width: 100%;
}

/* Abstract Box */
.abstract-box {
    width: 100%;
    aspect-ratio: 1/1;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.big-char {
    font-size: 15rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.02);
    user-select: none;
}

/* Centered Text */
.centered-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.centered-text h3 {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.team-card {
    background: var(--surface-color);
    padding: 2rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    cursor: default;
}

.team-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.member-role {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-secondary);
    margin-bottom: 0.5rem;
}

.member-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.member-line {
    width: 20px;
    height: 2px;
    background: var(--accent-primary);
    transition: width 0.3s ease;
}

.team-card:hover .member-line {
    width: 100%;
}

/* MESHED Box */
.meshed-box {
    width: 100%;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #1a1a1a 0%, #2c3e50 100%);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.meshed-box span {
    font-size: 5rem;
    font-weight: 700;
    color: var(--accent-primary);
}

.btn-outline {
    display: inline-block;
    padding: 1rem 2rem;
    border: 1px solid var(--accent-primary);
    color: var(--accent-primary);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2rem;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--accent-primary);
    color: var(--bg-color);
}