/* About (Giới thiệu) — Liquid glass design.
   Tokens copy từ header.css/footer.css/home.css; theo skill liquid-glass-ui.
   Nạp qua @push('styles') + ?v=filemtime. */

.about-page { background: #fff; color: #0f172b; }

/* Bỏ padding-top của các section trên trang này (giữ padding-bottom) → nhịp dọc gọn hơn.
   Scope trong .about-page để KHÔNG ảnh hưởng trang khác dùng chung .py-14 / .lg:py-20. */
.about-page .py-14,
.about-page .lg\:py-20 { padding-top: 0; }

/* ===== Section wash: lõi theme rất nhạt ở giữa, fade về trắng 2 mép
   (điểm chạm section không có đường kẻ). Adaptive theo theme. ===== */
.about-soft {
    background:
        radial-gradient(circle 160px at 12% 52%, rgba(var(--site-primary-rgb), .06), transparent 70%),
        radial-gradient(circle 130px at 88% 36%, rgba(var(--site-primary-rgb), .05), transparent 70%),
        #ffffff;
}

/* ===== Eyebrow badge — liquid glass, kích thước đồng nhất, dài co theo content ===== */
.about-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 32px;
    padding: 0 16px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--site-primary, #3B4FE8);
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 6px 18px rgba(15, 23, 43, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.85);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    backdrop-filter: blur(16px) saturate(160%);
}
.about-badge::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 999px;
    flex: 0 0 auto;
    background: var(--site-primary, #3B4FE8);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .about-badge { background: rgba(255, 255, 255, 0.93); }
}
/* Biến thể trên nền tối (panel trust): frosted tối, chữ trắng đủ tương phản.
   Đặt SAU @supports để thắng fallback nền trắng. */
.about-badge--light {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.about-badge--light::before { background: #fff; }

/* ===== Glass card (mức vừa phải) ===== */
.about-glass {
    position: relative;
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.72);
    box-shadow: 0 8px 24px rgba(15, 23, 43, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.85);
    -webkit-backdrop-filter: blur(16px) saturate(155%);
    backdrop-filter: blur(16px) saturate(155%);
    transition: transform .28s ease, box-shadow .28s ease;
}
.about-glass:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 46px rgba(15, 23, 43, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.92);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .about-glass { background: rgba(255, 255, 255, 0.95); }
}

/* ===== Gradient icon tile (glyph trắng) ===== */
.about-ico {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex: 0 0 auto;
    box-shadow: 0 10px 22px rgba(15, 23, 43, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.35);
    transition: transform .25s ease;
}
.about-ico svg { color: #fff; width: 26px; height: 26px; }
.about-glass:hover .about-ico { transform: scale(1.06) rotate(-3deg); }
.about-ico--primary { background: linear-gradient(135deg, var(--site-primary-light, #5b6bf0), var(--site-primary, #3b4fe8)); }
.about-ico--rose    { background: linear-gradient(135deg, #fb7185, #f43f5e); }
.about-ico--sky     { background: linear-gradient(135deg, #38bdf8, #0ea5e9); }
.about-ico--amber   { background: linear-gradient(135deg, #fbbf24, #f59e0b); }
.about-ico--pink    { background: linear-gradient(135deg, #f472b6, #ec4899); }
.about-ico--violet  { background: linear-gradient(135deg, #a78bfa, #8b5cf6); }
.about-ico--emerald { background: linear-gradient(135deg, #34d399, #10b981); }

/* Small soft tile (hero feature / benefit check) — tint theo theme */
.about-chip-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 12px;
    background: rgba(var(--site-primary-rgb), 0.12);
    color: var(--site-primary, #3B4FE8);
}

/* ===== Hero ===== */
.about-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(1100px 460px at 90% -10%, rgba(var(--site-primary-rgb), 0.16), transparent 60%),
        radial-gradient(820px 420px at 2% 4%, rgba(99, 102, 241, 0.10), transparent 55%),
        linear-gradient(180deg, #eef1fb 0%, #f3f5fd 55%, #ffffff 100%);
}
.about-aurora { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.about-orb { position: absolute; border-radius: 999px; filter: blur(12px); will-change: transform; }
.about-orb--1 {
    width: 320px; height: 320px; top: -40px; right: 6%;
    background: radial-gradient(circle at 32% 30%, rgba(var(--site-primary-rgb), 0.34), transparent 70%);
    animation: about-float 7s ease-in-out infinite;
}
.about-orb--2 {
    width: 260px; height: 260px; bottom: 4%; left: -60px;
    background: radial-gradient(circle at 32% 30%, rgba(16, 185, 129, 0.22), transparent 70%);
    animation: about-float 8.4s ease-in-out infinite .5s;
}
@keyframes about-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* hero feature mini glass — icon TRÁI + khối chữ PHẢI (2 cột rộng nên đủ chỗ);
   mỗi box đúng 2 hàng chữ: tiêu đề (1 dòng) + mô tả (1 dòng). */
.about-hero-feat {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 6px 18px rgba(15, 23, 43, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.85);
    -webkit-backdrop-filter: blur(14px) saturate(155%);
    backdrop-filter: blur(14px) saturate(155%);
    transition: transform .25s ease, box-shadow .25s ease;
}
.about-hero-feat > span:last-child { min-width: 0; }
.about-hero-feat strong { margin-bottom: 2px; line-height: 1.3; }
.about-hero-feat:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(15, 23, 43, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.92);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .about-hero-feat { background: rgba(255, 255, 255, 0.93); }
}

/* ===== Process step ===== */
.about-step { position: relative; }
.about-step__num {
    width: 46px; height: 46px; border-radius: 14px;
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 900; font-size: 15px; color: #fff;
    background: linear-gradient(135deg, var(--site-primary-light, #5b6bf0), var(--site-primary, #3b4fe8));
    box-shadow: 0 10px 22px rgba(var(--site-primary-rgb), 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.35);
    transition: transform .25s ease;
}
.about-glass:hover .about-step__num { transform: scale(1.06) rotate(-3deg); }
@media (min-width: 1024px) {
    .about-step:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 46px;
        right: -15px;
        width: 30px;
        height: 2px;
        background: linear-gradient(90deg, rgba(var(--site-primary-rgb), 0.5), rgba(var(--site-primary-rgb), 0));
        z-index: 1;
    }
}

/* ===== Dark liquid glass — trust panel ===== */
.about-trust {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(130% 180% at 0% 0%, rgba(var(--site-primary-rgb), 0.34), transparent 55%),
        radial-gradient(130% 180% at 100% 120%, rgba(16, 185, 129, 0.16), transparent 55%),
        linear-gradient(135deg, #0f172b 0%, #131a33 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 24px 60px rgba(15, 23, 43, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.about-trust-card {
    border-radius: 16px;
    padding: 20px 18px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
    -webkit-backdrop-filter: blur(10px) saturate(140%);
    backdrop-filter: blur(10px) saturate(140%);
    transition: transform .25s ease, background .25s ease;
}
.about-trust-card:hover { transform: translateY(-4px); background: rgba(255, 255, 255, 0.1); }
.about-trust-ico {
    width: 50px; height: 50px; border-radius: 14px;
    display: inline-flex; align-items: center; justify-content: center; color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
/* Chuẩn hoá glyph trong tile (UX: icon đồng đều, không chỗ to chỗ nhỏ). */
.about-trust-ico svg { width: 24px; height: 24px; }
.about-hero-feat .about-chip-ico svg { width: 22px; height: 22px; }

/* ===== CTA glass (theme primary) ===== */
.about-cta {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: rgba(var(--site-primary-rgb), 0.88);
    border: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow:
        inset 0 1px 2px rgba(255, 255, 255, 0.55),
        inset 0 0 0 1px rgba(255, 255, 255, 0.16),
        0 22px 50px rgba(var(--site-primary-rgb), 0.28),
        0 3px 8px rgba(15, 23, 43, 0.06);
    -webkit-backdrop-filter: blur(20px) saturate(155%);
    backdrop-filter: blur(20px) saturate(155%);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .about-cta { background: var(--site-primary); }
}

/* subtle dot grid overlay (cho hero/trust/cta) */
.about-dotgrid::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.14) 1px, transparent 1px);
    background-size: 18px 18px;
    opacity: .5;
}

/* ===== Reveal + stagger ===== */
.about-reveal { opacity: 0; transform: translate3d(0, 24px, 0); transition: opacity .65s ease, transform .65s cubic-bezier(.2, .8, .2, 1); }
.about-reveal.is-visible { opacity: 1; transform: translate3d(0, 0, 0); }
.about-stagger > * { opacity: 0; transform: translate3d(0, 22px, 0); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .2, 1); }
.about-stagger.is-visible > * { opacity: 1; transform: translate3d(0, 0, 0); }
.about-stagger.is-visible > *:nth-child(1) { transition-delay: .05s; }
.about-stagger.is-visible > *:nth-child(2) { transition-delay: .12s; }
.about-stagger.is-visible > *:nth-child(3) { transition-delay: .19s; }
.about-stagger.is-visible > *:nth-child(4) { transition-delay: .26s; }
.about-stagger.is-visible > *:nth-child(5) { transition-delay: .33s; }
.about-stagger.is-visible > *:nth-child(6) { transition-delay: .40s; }
@media (prefers-reduced-motion: reduce) {
    .about-reveal, .about-stagger > * { opacity: 1 !important; transform: none !important; transition: none !important; }
    .about-orb { animation: none !important; }
}
