/* ==========================================================================
   ABOUT US PAGE STYLES - SWEET TASK (CYBERPUNK GLASSMORPHISM)
   Mobile-First & Ultra-Responsive (Desktop down to 320px Tiny Screens)
   ========================================================================== */

.about-main-layout,
.about-main-layout *,
.about-main-layout *::before,
.about-main-layout *::after {
    box-sizing: border-box !important;
}

/* Main Layout Wrapper */
.about-main-layout,
.main-content.about-main-layout {
    min-height: calc(100vh - 80px);
    padding-top: 6.5rem !important;
    padding-bottom: 3.5rem !important;
    background: radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.14) 0%, rgba(6, 11, 24, 0) 65%), #060b18;
    color: var(--text-primary, #f1f5f9);
    position: relative;
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
}

.about-page-container {
    max-width: 1120px;
    width: 100% !important;
    margin: 0 auto;
    padding: 0 1.25rem;
    position: relative;
    z-index: 2;
    overflow-x: hidden !important;
}

/* 1. HERO BANNER */
.about-hero {
    text-align: center;
    padding: 3rem 2rem 2.25rem;
    margin-bottom: 2.25rem;
    background: var(--gradient-header, linear-gradient(135deg, rgba(15, 32, 67, 0.95) 0%, rgba(10, 20, 42, 0.97) 60%, rgba(6, 11, 24, 0.98) 100%));
    border: 1px solid var(--border-cyber-subtle, rgba(37, 99, 235, 0.28));
    border-radius: 24px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.55), 0 0 35px rgba(37, 99, 235, 0.15);
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.about-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(37, 99, 235, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.35);
    color: #38bdf8;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.2);
}

.about-hero-title {
    font-size: 2.65rem;
    font-weight: 900;
    color: #ffffff;
    margin: 0 0 1rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.about-hero-title .highlight {
    background: linear-gradient(135deg, #38bdf8 0%, #3b82f6 50%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 35px rgba(56, 189, 248, 0.35);
}

.about-hero-desc {
    font-size: 1.08rem;
    color: var(--text-secondary, #94a3b8);
    max-width: 760px;
    margin: 0 auto 1.75rem;
    line-height: 1.65;
}

/* Hero Stats Row */
.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    max-width: 900px;
    margin: 0 auto;
}

.about-stat-card {
    background: rgba(6, 14, 34, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 14px 10px;
    text-align: center;
    transition: all 0.25s ease;
}

.about-stat-card:hover {
    border-color: rgba(56, 189, 248, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.about-stat-num {
    font-size: 1.45rem;
    font-weight: 900;
    color: #ffffff;
    background: linear-gradient(135deg, #38bdf8, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
    margin-bottom: 4px;
}

.about-stat-label {
    font-size: 0.74rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 2. MISSION & VISION SECTION */
.about-mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2.25rem;
}

.about-glass-card {
    background: var(--gradient-header, linear-gradient(135deg, rgba(15, 32, 67, 0.95) 0%, rgba(10, 20, 42, 0.97) 60%, rgba(6, 11, 24, 0.98) 100%));
    border: 1px solid var(--border-cyber-subtle, rgba(37, 99, 235, 0.28));
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.about-glass-card:hover {
    border-color: rgba(56, 189, 248, 0.45);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 30px rgba(56, 189, 248, 0.15);
    transform: translateY(-3px);
}

.about-card-badge-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 1.25rem;
}

.icon-mission {
    background: rgba(37, 99, 235, 0.2);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.4);
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.2);
}

.icon-vision {
    background: rgba(168, 85, 247, 0.2);
    color: #c084fc;
    border: 1px solid rgba(168, 85, 247, 0.4);
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.2);
}

.about-card-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 10px;
    letter-spacing: -0.01em;
}

.about-card-text {
    font-size: 0.95rem;
    color: #cbd5e1;
    line-height: 1.65;
    margin: 0;
}

/* 3. FOUR CORE PILLARS */
.about-section-header {
    text-align: center;
    margin-bottom: 1.75rem;
}

.about-section-tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    color: #f59e0b;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.about-section-title {
    font-size: 1.85rem;
    font-weight: 900;
    color: #ffffff;
    margin: 0 0 8px;
}

.about-section-desc {
    font-size: 0.95rem;
    color: #94a3b8;
    max-width: 620px;
    margin: 0 auto;
}

.about-pillars-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-bottom: 2.25rem;
}

.about-pillar-card {
    background: rgba(11, 21, 46, 0.85);
    border: 1px solid rgba(37, 99, 235, 0.22);
    border-radius: 18px;
    padding: 1.6rem;
    backdrop-filter: blur(14px);
    transition: all 0.25s ease;
}

.about-pillar-card:hover {
    border-color: rgba(56, 189, 248, 0.4);
    background: rgba(15, 29, 64, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.about-pillar-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.about-pillar-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.icon-pillar-1 { background: rgba(16, 185, 129, 0.15); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.3); }
.icon-pillar-2 { background: rgba(245, 158, 11, 0.15); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.3); }
.icon-pillar-3 { background: rgba(59, 130, 246, 0.15); color: #60a5fa; border: 1px solid rgba(59, 130, 246, 0.3); }
.icon-pillar-4 { background: rgba(236, 72, 153, 0.15); color: #f472b6; border: 1px solid rgba(236, 72, 153, 0.3); }

.about-pillar-title {
    font-size: 1.12rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.about-pillar-text {
    font-size: 0.88rem;
    color: #cbd5e1;
    line-height: 1.55;
    margin: 0;
}

/* 4. WORKFLOW / HOW IT WORKS */
.about-workflow-card {
    background: var(--gradient-header, linear-gradient(135deg, rgba(15, 32, 67, 0.95) 0%, rgba(10, 20, 42, 0.97) 60%, rgba(6, 11, 24, 0.98) 100%));
    border: 1px solid var(--border-cyber-subtle, rgba(37, 99, 235, 0.28));
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2.25rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.about-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
    position: relative;
}

.about-step-item {
    background: rgba(6, 14, 34, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.5rem 1.25rem;
    position: relative;
    text-align: center;
}

.about-step-num {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0284c7, #38bdf8);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.5);
}

.about-step-icon {
    font-size: 1.75rem;
    color: #38bdf8;
    margin-bottom: 12px;
    margin-top: 6px;
}

.about-step-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px;
}

.about-step-desc {
    font-size: 0.84rem;
    color: #94a3b8;
    line-height: 1.5;
    margin: 0;
}

/* 5. TRUST & COMPLIANCE FOOTER CARD */
.about-trust-banner {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.4) 0%, rgba(15, 23, 42, 0.8) 100%);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.about-trust-content {
    max-width: 650px;
}

.about-trust-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 6px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-trust-text {
    font-size: 0.88rem;
    color: #cbd5e1;
    line-height: 1.55;
    margin: 0 0 12px;
}

.about-trust-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.about-trust-meta-item {
    font-size: 0.82rem;
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.about-trust-meta-item strong {
    color: #38bdf8;
}

.about-trust-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-about-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-about-primary {
    background: linear-gradient(135deg, #0284c7 0%, #38bdf8 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(56, 189, 248, 0.35);
}

.btn-about-primary:hover {
    box-shadow: 0 6px 22px rgba(56, 189, 248, 0.55);
    transform: translateY(-2px);
    color: #ffffff;
}

.btn-about-outline {
    background: rgba(6, 14, 34, 0.6);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    color: #cbd5e1;
}

.btn-about-outline:hover {
    border-color: #38bdf8;
    color: #ffffff;
    background: rgba(37, 99, 235, 0.15);
    transform: translateY(-2px);
}

/* ==========================================================================
   RESPONSIVE DESIGN (Matching terms.css precision)
   ========================================================================== */

/* Tablet & Medium Screens (768px - 991px) */
@media (max-width: 991px) {
    .about-main-layout,
    .main-content.about-main-layout {
        padding-top: 6.5rem !important;
        padding-bottom: 2.5rem !important;
    }

    .about-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .about-mission-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .about-pillars-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .about-steps-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .about-hero {
        padding: 1.75rem 1.5rem;
        border-radius: 18px;
        margin-bottom: 1rem;
        margin-top: 0.5rem;
    }

    .about-hero-title {
        font-size: 1.75rem;
    }

    .about-trust-banner {
        flex-direction: column;
        align-items: flex-start;
    }

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

    .btn-about-action {
        flex: 1;
        justify-content: center;
    }
}

/* Standard Mobile (480px - 767px) - Matching terms.css spacing and compact typography */
@media (max-width: 767px) {
    .about-main-layout,
    .main-content.about-main-layout {
        padding-top: 6.25rem !important;
        padding-bottom: 2rem !important;
    }

    .about-page-container {
        padding: 0 0.85rem;
    }

    .about-hero {
        padding: 1.25rem 1.1rem;
        border-radius: 15px;
        margin-bottom: 0.85rem;
        margin-top: 0.75rem;
    }

    .about-hero-badge {
        font-size: 0.68rem;
        padding: 3px 9px;
        margin-bottom: 0.65rem;
    }

    .about-hero-title {
        font-size: 1.38rem;
        margin-bottom: 0.5rem;
    }

    .about-hero-desc {
        font-size: 0.82rem;
        line-height: 1.5;
        margin-bottom: 0.85rem;
    }

    .about-stat-card {
        padding: 10px 8px;
    }

    .about-stat-num {
        font-size: 1.2rem;
    }

    .about-stat-label {
        font-size: 0.70rem;
    }

    .about-glass-card,
    .about-workflow-card,
    .about-trust-banner {
        padding: 1.25rem 1rem;
        border-radius: 15px;
    }

    .about-card-title {
        font-size: 1.12rem;
    }

    .about-card-text {
        font-size: 0.84rem;
        line-height: 1.5;
    }

    .about-section-title {
        font-size: 1.35rem;
    }

    .about-section-desc {
        font-size: 0.85rem;
    }

    .about-pillar-card {
        padding: 1.25rem 1rem;
    }

    .about-pillar-title {
        font-size: 1.05rem;
    }

    .about-pillar-text {
        font-size: 0.82rem;
    }
}

/* Small / Tiny Mobile (320px - 479px) - Ultra-Compact text & perfect header gap matching terms.css */
@media (max-width: 479px) {
    .about-main-layout,
    .main-content.about-main-layout {
        padding-top: 6.0rem !important;
        padding-bottom: 2rem !important;
    }

    .about-page-container {
        padding: 0 0.65rem !important;
    }

    .about-hero {
        padding: 1rem 0.85rem;
        border-radius: 13px;
        margin-top: 0.75rem;
        margin-bottom: 0.85rem;
    }

    .about-hero-badge {
        font-size: 0.64rem;
        padding: 2px 7px;
        margin-bottom: 0.5rem;
    }

    .about-hero-title {
        font-size: 1.22rem;
        margin-bottom: 0.4rem;
    }

    .about-hero-desc {
        font-size: 0.76rem;
        line-height: 1.45;
        margin-bottom: 0.75rem;
    }

    .about-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }

    .about-stat-card {
        padding: 8px 5px;
        border-radius: 10px;
    }

    .about-stat-num {
        font-size: 1.05rem;
    }

    .about-stat-label {
        font-size: 0.62rem;
    }

    .about-mission-grid {
        gap: 0.75rem;
        margin-bottom: 1.25rem;
    }

    .about-glass-card,
    .about-workflow-card,
    .about-trust-banner {
        padding: 0.95rem 0.75rem;
        border-radius: 12px;
        margin-bottom: 0.85rem;
    }

    .about-card-badge-icon {
        width: 32px;
        height: 32px;
        font-size: 0.95rem;
        margin-bottom: 0.65rem;
        border-radius: 9px;
    }

    .about-card-title {
        font-size: 0.98rem;
        margin-bottom: 6px;
    }

    .about-card-text {
        font-size: 0.76rem;
        line-height: 1.45;
    }

    .about-section-header {
        margin-bottom: 1rem;
    }

    .about-section-tag {
        font-size: 0.68rem;
        letter-spacing: 0.5px;
    }

    .about-section-title {
        font-size: 1.15rem;
        margin-bottom: 4px;
    }

    .about-section-desc {
        font-size: 0.76rem;
    }

    .about-pillars-grid {
        gap: 0.65rem;
        margin-bottom: 1.25rem;
    }

    .about-pillar-card {
        padding: 0.85rem 0.75rem;
        border-radius: 11px;
    }

    .about-pillar-top {
        gap: 8px;
        margin-bottom: 6px;
    }

    .about-pillar-icon {
        width: 28px;
        height: 28px;
        font-size: 0.85rem;
        border-radius: 8px;
    }

    .about-pillar-title {
        font-size: 0.90rem;
    }

    .about-pillar-text {
        font-size: 0.74rem;
        line-height: 1.4;
    }

    .about-steps-grid {
        gap: 0.85rem;
        margin-top: 1rem;
    }

    .about-step-item {
        padding: 1rem 0.75rem;
        border-radius: 11px;
    }

    .about-step-num {
        width: 22px;
        height: 22px;
        font-size: 0.68rem;
        top: -11px;
    }

    .about-step-icon {
        font-size: 1.25rem;
        margin-bottom: 6px;
        margin-top: 2px;
    }

    .about-step-title {
        font-size: 0.88rem;
        margin-bottom: 4px;
    }

    .about-step-desc {
        font-size: 0.72rem;
        line-height: 1.4;
    }

    .about-trust-banner {
        gap: 0.85rem;
    }

    .about-trust-title {
        font-size: 1.02rem;
        margin-bottom: 4px;
    }

    .about-trust-text {
        font-size: 0.75rem;
        line-height: 1.45;
        margin-bottom: 8px;
    }

    .about-trust-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .about-trust-meta-item {
        font-size: 0.72rem;
    }

    .about-trust-actions {
        flex-direction: column;
        width: 100%;
        gap: 6px;
    }

    .btn-about-action {
        width: 100%;
        font-size: 0.76rem;
        padding: 8px 12px;
        border-radius: 9px;
        justify-content: center;
    }
}

/* Extra Small / Folded (under 360px) */
@media (max-width: 359px) {
    .about-main-layout,
    .main-content.about-main-layout {
        padding-top: 5.75rem !important;
        padding-bottom: 1.75rem !important;
    }

    .about-hero {
        margin-top: 0.65rem;
        padding: 0.85rem 0.7rem;
    }

    .about-hero-title {
        font-size: 1.15rem;
    }

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

    .about-card-title,
    .about-pillar-title,
    .about-step-title {
        font-size: 0.88rem;
    }

    .about-card-text,
    .about-pillar-text,
    .about-step-desc {
        font-size: 0.72rem;
    }
}
