/* ============================================
   About Page Styles - about.css
   ============================================ */

/* ============================================
   Header & Navigation (Solid background variant)
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.3s ease;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo-mark {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.logo-subtext {
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-top: 2px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--teal);
}

.nav-cta {
    background-color: var(--teal);
    color: var(--white) !important;
    padding: 10px 20px;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.nav-cta:hover {
    background-color: var(--teal-dark);
}

/* Theme Toggle - Minimal */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 6px;
    border: none;
    border-radius: 50%;
    background: transparent;
    opacity: 0.5;
    transition: opacity 0.2s ease;
}

.theme-toggle:hover {
    opacity: 1;
}

.theme-toggle-icon {
    width: 18px;
    height: 18px;
    fill: var(--text-secondary);
    transition: fill 0.2s ease;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: transparent;
    border: none;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* ============================================
   Page Header
   ============================================ */
.page-header {
    padding: 160px 48px 80px;
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.page-header-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.page-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 16px;
}

.page-title {
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.page-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 640px;
    line-height: 1.6;
}

/* ============================================
   Content Sections
   ============================================ */
.section {
    padding: 80px 48px;
}

.section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.section-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

/* Mission Section */
.mission {
    background-color: var(--bg-primary);
}

.mission-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.mission-text p {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.7;
}

.mission-text p:last-child {
    margin-bottom: 0;
}

.mission-values {
    display: grid;
    gap: 24px;
}

.value-item {
    background-color: var(--bg-secondary);
    padding: 28px;
    border-left: 3px solid var(--teal);
}

.value-item h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.value-item p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Team Section */
.team {
    background-color: var(--bg-secondary);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
    margin-top: 48px;
}

.team-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 40px;
}

.team-name {
    font-size: 42px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.team-role {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 13px;
    color: var(--teal);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.team-accent {
    width: 32px;
    height: 2px;
    background-color: var(--teal);
    margin-bottom: 16px;
}

.team-bio {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Methodology Section */
.methodology {
    background-color: var(--bg-primary);
}

.methodology-intro {
    max-width: 720px;
    margin-bottom: 48px;
}

.methodology-intro p {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.methodology-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.methodology-item {
    text-align: center;
    padding: 40px 24px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-primary);
}

.methodology-number {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 48px;
    font-weight: 500;
    color: var(--teal);
    margin-bottom: 16px;
}

.methodology-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.methodology-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background-color: var(--black);
    padding: 80px 48px;
    text-align: center;
}

.cta-inner {
    max-width: 640px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 600;
    color: var(--white);
    margin-bottom: 16px;
}

.cta-text {
    font-size: 17px;
    color: var(--steel);
    margin-bottom: 32px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 500;
    font-family: 'Barlow', sans-serif;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary {
    background-color: var(--teal);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--teal-light);
}

/* ============================================
   Responsive Design
   ============================================ */

/* Tablet Landscape (768px - 1024px) */
@media (max-width: 1024px) {
    .header {
        padding: 16px 32px;
    }

    .methodology-grid {
        grid-template-columns: 1fr;
    }

    .page-title {
        font-size: 40px;
    }

    .section {
        padding: 80px 32px;
    }
}

/* Tablet Portrait (768px and below) */
@media (max-width: 768px) {
    .header {
        padding: 14px 20px;
    }

    .header .logo-subtext {
        display: none;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        bottom: 0;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background: var(--charcoal);
        padding: 24px;
        z-index: 999;
    }

    [data-theme="dark"] .nav-links {
        background: var(--white);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 16px 0;
        font-size: 20px;
        color: var(--white);
        border-bottom: none;
    }

    [data-theme="dark"] .nav-links a {
        color: var(--black);
    }

    .nav-links a:hover {
        color: var(--teal-light);
    }

    .mobile-menu-toggle {
        display: flex;
        z-index: 1000;
    }

    .section,
    .page-header {
        padding: 64px 20px;
    }

    .page-header {
        padding-top: 120px;
    }

    .page-title {
        font-size: 32px;
    }

    .page-subtitle {
        font-size: 16px;
    }

    .mission-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

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

/* Large Mobile (600px and below) */
@media (max-width: 600px) {
    .page-title {
        font-size: 28px;
    }

    .mission-text {
        font-size: 15px;
    }

    .methodology-item h3 {
        font-size: 18px;
    }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
    .header {
        padding: 12px 16px;
    }

    .logo-mark {
        font-size: 28px;
    }

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

    .page-header {
        padding-top: 100px;
    }

    .page-title {
        font-size: 26px;
    }

    .team-avatar {
        width: 100px;
        height: 100px;
    }

    .team-name {
        font-size: 20px;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .team-card:hover {
        transform: none;
    }

    .nav-links a {
        padding: 14px 0;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* Print Styles */
@media print {
    .header,
    .theme-toggle,
    .mobile-menu-toggle,
    .footer {
        display: none !important;
    }

    .page-header {
        padding-top: 20px;
    }

    .section {
        padding: 20px;
        break-inside: avoid;
    }
}
