/* ==================================================
Page: About
Theme: Forex Rebate / Trading Cost Platform
Version: 2026 Production UI
================================================== */

.page-about{
    --accent-glow: rgba(56,151,230,0.12);
}

/* =========================
GLOBAL OVERRIDES
========================= */

.page-about{
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: var(--bg);
}

/* =========================
HERO SECTION (Trust + Authority)
========================= */

.page-about .hero{
    padding: 110px 0 90px;
    background: linear-gradient(135deg, #f8fafc, #eef6ff);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* soft glow background */
.page-about .hero::before{
    content: "";
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, var(--accent-glow), transparent 65%);
    z-index: 0;
}

.page-about .hero h1{
    font-size: 44px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #0f172a;
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}

.page-about .hero p{
    max-width: 780px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.9;
    color: #475569;
    position: relative;
    z-index: 1;
}

/* =========================
SECTION SYSTEM
========================= */

.page-about .section{
    padding: 80px 0;
    scroll-margin-top: 100px;
}

.page-about .section-title{
    font-size: 32px;
    font-weight: 800;
    text-align: center;
    color: #0f172a;
    margin-bottom: 50px;
    letter-spacing: -0.3px;
}

.page-about .section-desc{
    text-align: center;
    max-width: 720px;
    margin: 0 auto 40px;
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.7;
}

/* =========================
CONTENT BLOCK (Trust Text)
========================= */

.page-about .entry-content{
    max-width: 880px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.95;
    color: #334155;
}

.page-about .entry-content p{
    margin-bottom: 18px;
}

.page-about .entry-content strong{
    color: #0f172a;
    font-weight: 700;
}

.page-about .entry-content ul,
.page-about .entry-content ol{
    margin: 18px 0;
    padding-left: 22px;
}

.page-about .entry-content li{
    margin-bottom: 10px;
}

/* =========================
CARD SYSTEM (Core UX Component)
========================= */

.page-about .card{
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px;
    box-shadow: 0 4px 18px rgba(15,23,42,0.04);
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

/* hover lift */
.page-about .card:hover{
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(56,151,230,0.14);
    border-color: rgba(56,151,230,0.25);
}

/* top accent line */
.page-about .card::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), #60a5fa);
    opacity: 0;
    transition: 0.25s ease;
}

.page-about .card:hover::before{
    opacity: 1;
}

.page-about .card-title{
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #0f172a;
}

.page-about .card p{
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-light);
}

/* =========================
GRID SYSTEM (Spacing Optimization)
========================= */

.page-about .grid{
    gap: 26px;
}

@media (max-width: 768px){
    .page-about .grid{
        gap: 18px;
    }
}

/* =========================
BACKGROUND SECTION (Contrast Layer)
========================= */

.page-about .section.bg-light{
    background: linear-gradient(180deg, #f8fafc, #ffffff);
}

/* enhance readability block */
.page-about .section.bg-light .entry-content{
    background: #fff;
    padding: 30px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: 0 6px 20px rgba(15,23,42,0.04);
}

/* =========================
PRINCIPLES (EEAT TRUST SIGNAL)
========================= */

.page-about .entry-content ol li{
    padding-left: 4px;
}

/* highlight principle keywords */
.page-about .entry-content ol strong{
    color: var(--primary);
}

/* =========================
CTA SECTION (Conversion Engine)
========================= */

.page-about .section:last-of-type{
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #fff;
    padding: 100px 0;
}

.page-about .section:last-of-type h2{
    color: #fff;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 16px;
}

.page-about .section:last-of-type .section-desc{
    color: rgba(255,255,255,0.72);
}

/* CTA buttons */
.page-about .btn-primary{
    background: var(--primary);
    border-radius: 12px;
    padding: 12px 26px;
    font-weight: 600;
    transition: all 0.25s ease;
}

.page-about .btn-primary:hover{
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.page-about .btn-outline{
    border: 1px solid rgba(255,255,255,0.4);
    color: #fff;
    background: transparent;
    transition: all 0.25s ease;
}

.page-about .btn-outline:hover{
    background: #fff;
    color: #0f172a;
}

/* =========================
TYPOGRAPHY REFINEMENT
========================= */

.page-about h1,
.page-about h2,
.page-about h3{
    letter-spacing: -0.3px;
}

.page-about p{
    word-break: break-word;
}

/* =========================
MOTION & MICRO INTERACTION
========================= */

.page-about .section{
    transition: opacity 0.3s ease;
}

/* =========================
RESPONSIVE (MOBILE FIRST FIX)
========================= */

@media (max-width: 1024px){

    .page-about .hero h1{
        font-size: 36px;
    }

    .page-about .section-title{
        font-size: 28px;
    }
}

@media (max-width: 768px){

    .page-about .hero{
        padding: 80px 20px;
    }

    .page-about .hero h1{
        font-size: 30px;
    }

    .page-about .section{
        padding: 60px 0;
    }

    .page-about .section:last-of-type{
        padding: 70px 20px;
    }
}

/* =========================
ACCESSIBILITY IMPROVEMENTS
========================= */

.page-about a:focus,
.page-about button:focus{
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

/* ==========================================
About CTA Section
========================================== */

.about-cta{
    padding: 90px 0;
    background: linear-gradient(135deg,#0f172a 0%,#1e3a8a 100%);
    position: relative;
    overflow: hidden;
}

/* 背景光晕 */

.about-cta::before{
    content:"";
    position:absolute;
    width:520px;
    height:520px;
    left:-180px;
    top:-180px;
    border-radius:50%;
    background:rgba(255,255,255,.04);
}

.about-cta::after{
    content:"";
    position:absolute;
    width:420px;
    height:420px;
    right:-120px;
    bottom:-120px;
    border-radius:50%;
    background:rgba(56,151,230,.12);
}

.about-cta .container{
    position:relative;
    z-index:2;
}

.about-cta h2{
    color:#fff;
    font-size:38px;
    font-weight:700;
    margin-bottom:18px;
}

.about-cta .section-desc{
    max-width:700px;
    margin:0 auto 40px;
    color:rgba(255,255,255,.82);
    font-size:17px;
    line-height:1.8;
}

/* =========================
Buttons
========================= */

.about-cta-buttons{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:18px;
    flex-wrap:wrap;
}

.about-cta .btn{
    min-width:240px;
    height:54px;
    border-radius:12px;
    font-size:15px;
    font-weight:600;
    transition:all .25s ease;
}

.about-cta .btn-primary{
    background:#3897e6;
    color:#fff;
    border:none;
    box-shadow:0 12px 30px rgba(56,151,230,.28);
}

.about-cta .btn-primary:hover{
    background:#2f86d2;
    transform:translateY(-3px);
    box-shadow:0 18px 36px rgba(56,151,230,.38);
}

.about-cta .btn-outline{
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.25);
    color:#fff;
    backdrop-filter:blur(10px);
}

.about-cta .btn-outline:hover{
    background:#fff;
    color:#0f172a;
    border-color:#fff;
    transform:translateY(-3px);
}

/* =========================
Responsive
========================= */

@media (max-width:768px){

    .about-cta{
        padding:70px 20px;
    }

    .about-cta h2{
        font-size:30px;
    }

    .about-cta .section-desc{
        font-size:15px;
        margin-bottom:30px;
    }

    .about-cta-buttons{
        flex-direction:column;
        gap:15px;
    }

    .about-cta .btn{
        width:100%;
        max-width:340px;
    }

}