/* about.css - Styles for the About Us page */

/* --- Page Hero Banner --- */
.about-hero {
    background: var(--gradient-main);
    padding: 80px 0 72px;
    color: var(--bg-white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    pointer-events: none;
}

.about-hero::after {
    content: '';
    position: absolute;
    bottom: -140px;
    left: -80px;
    width: 560px;
    height: 560px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    pointer-events: none;
}

.about-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.25);
    padding: 6px 20px;
    border-radius: var(--radius-pill);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.about-hero h1 {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
}

.about-hero p {
    font-size: 18px;
    opacity: 0.9;
    max-width: 640px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.about-hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.about-hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.about-hero-stat strong {
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -1px;
}

.about-hero-stat span {
    font-size: 13px;
    opacity: 0.8;
    font-weight: 500;
}

/* --- Mission Section --- */
.about-mission {
    padding: 100px 0;
    background: var(--bg-white);
}

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

.mission-text .section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(217, 77, 136, 0.08);
    color: var(--brand-pink);
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}

.mission-text h2 {
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.2;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.mission-text p {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 16px;
}

.mission-pillars {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 32px;
}

.mission-pillar {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px;
    background: var(--bg-light);
    border-radius: var(--radius-card);
    border: 1px solid var(--divider);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.mission-pillar:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.mission-pillar-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--gradient-main);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    flex-shrink: 0;
}

.mission-pillar-body h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.mission-pillar-body p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.65;
    margin: 0;
}

/* Mission visual */
.mission-visual {
    position: relative;
}

.mission-visual-card {
    background: var(--gradient-main);
    border-radius: 24px;
    padding: 48px 40px;
    color: white;
    position: relative;
    overflow: hidden;
}

.mission-visual-card::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
}

.mission-visual-card::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -40px;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
}

.mission-vc-icon {
    width: 64px;
    height: 64px;
    background: rgba(255,255,255,0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.mission-visual-card h3 {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
    position: relative;
    z-index: 1;
}

.mission-visual-card p {
    font-size: 15px;
    line-height: 1.75;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.mission-vc-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
    position: relative;
    z-index: 1;
}

.mission-vc-tag {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    padding: 5px 14px;
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 600;
}

/* --- Values Section --- */
.about-values {
    padding: 100px 0;
    background: var(--bg-light);
}

.about-values .section-header {
    text-align: center;
    margin-bottom: 64px;
}

.about-values .section-header h2 {
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -1px;
    margin-bottom: 14px;
}

.about-values .section-header p {
    font-size: 17px;
    color: var(--text-gray);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

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

.value-card {
    background: var(--bg-white);
    border-radius: var(--radius-card);
    padding: 36px 32px;
    border: 1px solid var(--divider);
    transition: box-shadow 0.35s ease, transform 0.35s ease;
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-main);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.value-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

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

.value-icon {
    width: 56px;
    height: 56px;
    background: rgba(217, 77, 136, 0.08);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--brand-pink);
    margin-bottom: 24px;
    transition: background 0.3s ease;
}

.value-card:hover .value-icon {
    background: var(--gradient-main);
    color: white;
}

.value-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.value-card p {
    font-size: 14.5px;
    color: var(--text-gray);
    line-height: 1.75;
}

/* --- Project Timeline --- */
.about-timeline {
    padding: 100px 0;
    background: var(--bg-white);
}

.about-timeline .section-header {
    text-align: center;
    margin-bottom: 64px;
}

.about-timeline .section-header h2 {
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -1px;
    margin-bottom: 14px;
}

.about-timeline .section-header p {
    font-size: 17px;
    color: var(--text-gray);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.7;
}

.timeline-track {
    position: relative;
    max-width: 760px;
    margin: 0 auto;
}

.timeline-track::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--divider);
    transform: translateX(-50%);
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
    position: relative;
    align-items: start;
}

.timeline-item.left .timeline-content {
    grid-column: 1;
    text-align: right;
}

.timeline-item.right .timeline-content {
    grid-column: 2;
    text-align: left;
}

.timeline-content {
    padding: 28px 32px;
    background: var(--bg-light);
    border-radius: var(--radius-card);
    border: 1px solid var(--divider);
    transition: box-shadow 0.3s ease;
}

.timeline-content:hover {
    box-shadow: var(--shadow-hover);
}

.timeline-year {
    display: inline-block;
    background: var(--gradient-main);
    color: white;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: var(--radius-pill);
    margin-bottom: 10px;
}

.timeline-content h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.timeline-content p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.7;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 28px;
    width: 14px;
    height: 14px;
    background: var(--gradient-main);
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 0 4px var(--bg-white), 0 0 0 6px var(--divider);
    z-index: 1;
}

/* --- Tech Stack Section --- */
.about-tech {
    padding: 100px 0;
    background: var(--bg-light);
}

.about-tech .section-header {
    text-align: center;
    margin-bottom: 64px;
}

.about-tech .section-header h2 {
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -1px;
    margin-bottom: 14px;
}

.about-tech .section-header p {
    font-size: 17px;
    color: var(--text-gray);
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.7;
}

.tech-bento {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
}

.tech-cell {
    background: var(--bg-white);
    border-radius: var(--radius-card);
    border: 1px solid var(--divider);
    padding: 32px 28px;
    transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.tech-cell:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
}

.tech-cell.tc4  { grid-column: span 4; }
.tech-cell.tc6  { grid-column: span 6; }
.tech-cell.tc8  { grid-column: span 8; }
.tech-cell.tc12 { grid-column: span 12; }
.tech-cell.tc-hl { background: var(--gradient-main); color: white; }

.tech-cell-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(217, 77, 136, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--brand-pink);
    margin-bottom: 16px;
}

.tech-cell.tc-hl .tech-cell-icon {
    background: rgba(255,255,255,0.2);
    color: white;
}

.tech-cell h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.tech-cell.tc-hl h4 {
    color: white;
}

.tech-cell p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.7;
}

.tech-cell.tc-hl p {
    color: rgba(255,255,255,0.85);
}

.tech-badge {
    display: inline-block;
    background: rgba(217, 77, 136, 0.08);
    color: var(--brand-pink);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    margin-top: 10px;
}

.tech-cell.tc-hl .tech-badge {
    background: rgba(255,255,255,0.2);
    color: white;
}

/* --- Open Source CTA --- */
.about-oss {
    padding: 100px 0;
    background: var(--bg-white);
}

.about-oss-inner {
    background: var(--gradient-main);
    border-radius: 28px;
    padding: 72px 80px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 48px;
    align-items: center;
    position: relative;
    overflow: hidden;
    color: white;
}

.about-oss-inner::before {
    content: '';
    position: absolute;
    top: -80px;
    right: 120px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    pointer-events: none;
}

.about-oss-inner::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -60px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    pointer-events: none;
}

.oss-text {
    position: relative;
    z-index: 1;
}

.oss-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.oss-text h2 {
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.oss-text p {
    font-size: 16px;
    opacity: 0.9;
    line-height: 1.75;
    max-width: 520px;
}

.oss-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.oss-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-white);
    color: var(--brand-pink);
    padding: 14px 28px;
    border-radius: var(--radius-pill);
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.oss-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.oss-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.15);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 14px 28px;
    border-radius: var(--radius-pill);
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    transition: background 0.3s ease, transform 0.3s ease;
}

.oss-btn-secondary:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-2px);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .about-mission-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tech-bento {
        grid-template-columns: repeat(6, 1fr);
    }

    .tech-cell.tc4  { grid-column: span 3; }
    .tech-cell.tc6  { grid-column: span 6; }
    .tech-cell.tc8  { grid-column: span 6; }
    .tech-cell.tc12 { grid-column: span 6; }

    .about-oss-inner {
        grid-template-columns: 1fr;
        padding: 48px 40px;
        gap: 32px;
    }

    .oss-actions {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .about-hero {
        padding: 60px 0 52px;
    }

    .about-hero h1 {
        font-size: 32px;
    }

    .about-hero p {
        font-size: 16px;
    }

    .about-hero-stats {
        gap: 32px;
    }

    .about-hero-stat strong {
        font-size: 26px;
    }

    .about-mission,
    .about-values,
    .about-timeline,
    .about-tech,
    .about-oss {
        padding: 64px 0;
    }

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

    .tech-bento {
        grid-template-columns: 1fr;
    }

    .tech-cell.tc4,
    .tech-cell.tc6,
    .tech-cell.tc8,
    .tech-cell.tc12 {
        grid-column: span 1;
    }

    .timeline-track::before {
        left: 20px;
        transform: none;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        padding-left: 48px;
        gap: 0;
    }

    .timeline-item.left .timeline-content,
    .timeline-item.right .timeline-content {
        grid-column: 1;
        text-align: left;
    }

    .timeline-dot {
        left: 20px;
    }

    .about-oss-inner {
        padding: 40px 24px;
        border-radius: 20px;
    }

    .oss-actions {
        flex-direction: column;
    }

    .mission-pillar {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .about-hero-stats {
        flex-direction: column;
        gap: 24px;
    }
}
