/* =========================================================
   ABOUT JUS.VN
   Page-scoped styles for /gioi-thieu/.
   ========================================================= */

html,
body {
    overflow-x: clip !important;
}

.about-page {
    position: relative;
    min-height: 100vh;
    padding-top: 64px;
    color: #cbd5e1;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.about-page::before {
    content: "";
    position: absolute;
    top: 64px;
    left: 50%;
    width: min(920px, 90vw);
    height: 560px;
    pointer-events: none;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.09), transparent 68%);
    transform: translateX(-50%);
    filter: blur(10px);
}

.about-shell {
    position: relative;
    width: min(1180px, calc(100% - 64px));
    margin: 0 auto;
}

.about-hero {
    position: relative;
    padding: 92px 0 112px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.about-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
    gap: clamp(48px, 7vw, 96px);
    align-items: center;
}

.about-eyebrow {
    margin: 0 0 16px;
    color: #f59e0b;
    font-size: 11px;
    font-weight: 750;
    line-height: 1.4;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.about-hero h1 {
    max-width: 760px;
    margin: 0;
    color: #f8fafc;
    font-family: "Source Serif 4", Georgia, serif;
    font-size: clamp(52px, 6.4vw, 78px);
    font-weight: 700;
    line-height: 0.98;
    letter-spacing: -0.048em;
}

.about-hero h1 span {
    color: #f59e0b;
}

.about-lead {
    max-width: 700px;
    margin: 30px 0 0;
    color: #cbd5e1;
    font-size: 18px;
    line-height: 1.72;
}

.about-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.about-button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 11px 18px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.about-button:hover {
    transform: translateY(-1px);
}

.about-button-primary {
    color: #111827;
    background: #f59e0b;
}

.about-button-primary:hover {
    color: #111827;
    background: #fbbf24;
}

.about-button-secondary {
    border-color: rgba(148, 163, 184, 0.24);
    color: #f8fafc;
    background: rgba(255, 255, 255, 0.025);
}

.about-button-secondary:hover {
    border-color: rgba(245, 158, 11, 0.45);
    color: #fbbf24;
    background: rgba(245, 158, 11, 0.06);
}

.about-system-card {
    position: relative;
    padding: 20px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 20px;
    background:
        linear-gradient(145deg, rgba(245, 158, 11, 0.06), transparent 44%),
        rgba(15, 23, 42, 0.5);
    box-shadow: 0 30px 80px rgba(2, 6, 23, 0.25);
    backdrop-filter: blur(14px);
}

.about-system-card::after {
    content: "";
    position: absolute;
    right: -52px;
    bottom: -52px;
    width: 150px;
    height: 150px;
    border: 1px solid rgba(245, 158, 11, 0.18);
    border-radius: 50%;
}

.about-system-head,
.about-system-output {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #94a3b8;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.about-system-head {
    padding: 0 4px 16px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.about-system-head span:first-child {
    color: #fbbf24;
}

.about-system-flow {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 8px 0;
    list-style: none;
}

.about-system-flow li {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    min-height: 58px;
    padding: 10px 4px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.about-system-flow li:last-child {
    border-bottom: 0;
}

.about-system-flow li span {
    color: #f59e0b;
    font-size: 11px;
    font-weight: 750;
    font-variant-numeric: tabular-nums;
}

.about-system-flow li strong {
    color: #e2e8f0;
    font-size: 14px;
    font-weight: 650;
}

.about-system-output {
    position: relative;
    z-index: 1;
    justify-content: flex-start;
    padding: 14px 4px 2px;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.about-system-output span {
    padding: 5px 8px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.025);
}

.about-section {
    padding: 104px 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.about-story-grid {
    display: grid;
    grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr);
    gap: clamp(48px, 8vw, 112px);
    align-items: start;
}

.about-section-heading h2,
.about-cta h2 {
    margin: 0;
    color: #f8fafc;
    font-family: "Source Serif 4", Georgia, serif;
    font-size: clamp(36px, 4.5vw, 54px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.034em;
}

.about-section-heading-wide {
    max-width: 780px;
    margin-bottom: 48px;
}

.about-copy {
    max-width: 720px;
    color: #cbd5e1;
    font-size: 17px;
    line-height: 1.8;
}

.about-copy p {
    margin: 0 0 22px;
}

.about-copy p:last-of-type {
    margin-bottom: 0;
}

.about-note {
    margin-top: 30px;
    padding: 18px 20px;
    border-left: 3px solid #f59e0b;
    border-radius: 0 12px 12px 0;
    color: #e2e8f0;
    background: rgba(245, 158, 11, 0.07);
    font-size: 15px;
    line-height: 1.7;
}

.about-principles {
    background: rgba(15, 23, 42, 0.22);
}

.about-principle-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.about-principle-card {
    min-height: 280px;
    padding: 26px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.018);
    transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.about-principle-card:hover {
    border-color: rgba(245, 158, 11, 0.28);
    background: rgba(245, 158, 11, 0.035);
    transform: translateY(-2px);
}

.about-card-index {
    display: block;
    margin-bottom: 70px;
    color: #f59e0b;
    font-size: 11px;
    font-weight: 750;
    font-variant-numeric: tabular-nums;
}

.about-principle-card h3,
.about-workflow h3,
.about-member-card h3 {
    margin: 0;
    color: #f8fafc;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.015em;
}

.about-principle-card p {
    margin: 14px 0 0;
    color: #94a3b8;
    font-size: 15px;
    line-height: 1.7;
}

.about-workflow {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    border-top: 1px solid rgba(148, 163, 184, 0.14);
    list-style: none;
}

.about-workflow li {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 16px;
    min-height: 166px;
    padding: 28px 28px 30px 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.about-workflow li:nth-child(odd) {
    border-right: 1px solid rgba(148, 163, 184, 0.14);
}

.about-workflow li:nth-child(even) {
    padding-left: 28px;
}

.about-workflow-number {
    color: #f59e0b;
    font-size: 12px;
    font-weight: 750;
    font-variant-numeric: tabular-nums;
}

.about-workflow p {
    margin: 10px 0 0;
    color: #94a3b8;
    font-size: 15px;
    line-height: 1.68;
}

.about-team-section {
    background:
        linear-gradient(180deg, transparent, rgba(245, 158, 11, 0.025) 50%, transparent),
        rgba(15, 23, 42, 0.16);
}

.about-team-intro {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(40px, 8vw, 112px);
    align-items: end;
    margin-bottom: 48px;
}

.about-team-intro > p {
    max-width: 590px;
    margin: 0;
    color: #94a3b8;
    font-size: 16px;
    line-height: 1.75;
}

.about-team-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.about-member-card {
    display: grid;
    grid-template-columns: minmax(180px, 0.72fr) minmax(0, 1.28fr);
    height: 440px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 20px;
    background: rgba(15, 23, 42, 0.45);
    box-shadow: 0 24px 60px rgba(2, 6, 23, 0.2);
}

.about-member-card:only-child {
    grid-column: 1 / -1;
}

.about-member-photo {
    min-height: 0;
    height: 100%;
    overflow: hidden;
    background: #0f172a;
}

.about-member-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 33%;
    filter: saturate(0.82) contrast(1.04);
}

.about-member-content {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    padding: clamp(28px, 5vw, 52px);
}

.about-member-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    color: #f59e0b;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.about-member-meta span:first-child::after {
    content: "";
    display: inline-block;
    width: 26px;
    height: 1px;
    margin-left: 12px;
    vertical-align: middle;
    background: rgba(245, 158, 11, 0.5);
}

.about-member-card h3 {
    font-family: "Source Serif 4", Georgia, serif;
    font-size: clamp(30px, 4vw, 44px);
    letter-spacing: -0.03em;
}

.about-member-content > p {
    max-width: 560px;
    margin: 18px 0 0;
    color: #cbd5e1;
    font-size: 16px;
    line-height: 1.72;
}

.about-member-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 28px;
}

.about-member-links a {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 999px;
    color: #e2e8f0;
    font-size: 13px;
    font-weight: 650;
    text-decoration: none;
    transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.about-member-links a:hover {
    border-color: rgba(245, 158, 11, 0.5);
    color: #fbbf24;
    background: rgba(245, 158, 11, 0.06);
}

.about-cta-section {
    padding: 88px 0 104px;
    border-bottom: 0;
}

.about-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 38px 42px;
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 20px;
    background:
        linear-gradient(100deg, rgba(245, 158, 11, 0.08), transparent 56%),
        rgba(15, 23, 42, 0.45);
}

.about-cta h2 {
    font-size: clamp(32px, 4vw, 46px);
}

.about-cta .about-actions {
    flex: 0 0 auto;
    margin-top: 0;
}

@media (max-width: 980px) {
    .about-hero-grid {
        grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
        gap: 40px;
    }

    .about-principle-grid {
        grid-template-columns: 1fr;
    }

    .about-principle-card {
        min-height: auto;
    }

    .about-card-index {
        margin-bottom: 42px;
    }
}

@media (max-width: 760px) {
    .about-page {
        padding-top: 64px;
    }

    .about-shell {
        width: min(100% - 36px, 1180px);
    }

    .about-hero {
        padding: 64px 0 76px;
    }

    .about-hero-grid,
    .about-story-grid,
    .about-team-intro {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .about-hero h1 {
        font-size: clamp(45px, 13vw, 62px);
    }

    .about-lead {
        font-size: 16.5px;
        line-height: 1.72;
    }

    .about-system-card {
        padding: 16px;
        border-radius: 16px;
    }

    .about-section {
        padding: 76px 0;
    }

    .about-section-heading-wide {
        margin-bottom: 36px;
    }

    .about-copy {
        font-size: 16px;
        line-height: 1.75;
    }

    .about-principle-grid {
        gap: 12px;
    }

    .about-principle-card {
        padding: 22px;
    }

    .about-workflow {
        grid-template-columns: 1fr;
    }

    .about-workflow li,
    .about-workflow li:nth-child(even) {
        min-height: auto;
        padding: 24px 0;
        border-right: 0;
    }

    .about-team-intro {
        margin-bottom: 36px;
    }

    .about-team-grid {
        grid-template-columns: 1fr;
    }

    .about-member-card,
    .about-member-card:only-child {
        grid-column: auto;
        grid-template-columns: 1fr;
        height: auto;
    }

    .about-member-photo {
        min-height: 0;
        height: 420px;
        max-height: none;
    }

    .about-member-content {
        padding: 28px 24px 32px;
    }

    .about-cta {
        align-items: flex-start;
        flex-direction: column;
        padding: 28px 24px;
    }

    .about-cta .about-actions {
        width: 100%;
    }
}

@media (max-width: 460px) {
    .about-actions,
    .about-cta .about-actions {
        flex-direction: column;
    }

    .about-button {
        width: 100%;
    }

    .about-member-photo {
        height: 360px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .about-page * {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
