/* ================================================================ */
/* NEW ABOUT US PAGE DESIGN SYSTEM                                  */
/* ================================================================ */

:root {
    --brand-primary: #16cba7;
    --brand-dark: #0f172a;
    --brand-gray: #4b5563;
    --brand-light: #f8fafc;
    --brand-white: #ffffff;
    --section-spacing: 120px;
    --section-spacing-mobile: 80px;
}

/* Base resets or specific overrides for About page */
.about-page-main {
    overflow-x: hidden;
}

/* ================================================================ */
/* KEY PILLARS (The 3 paragraphs in old design)                     */
/* ================================================================ */

.pillars-section {
    padding: 80px 0;
    background-color: var(--brand-white);
    border-bottom: 1px solid #e2e8f0;
}

.pillars-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.pillar-card {
    background: var(--brand-white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
    transition: transform 0.3s ease;
}

.pillar-card:hover {
    transform: translateY(-5px);
}

.pillar-icon {
    font-size: 32px;
    color: var(--brand-primary);
    margin-bottom: 20px;
}

.pillar-card p {
    font-size: 17px;
    line-height: 1.7;
    color: var(--brand-gray);
    margin: 0;
}

.pillar-card strong {
    color: var(--brand-dark);
    display: block;
    margin-bottom: 12px;
    font-size: 20px;
}

/* ================================================================ */
/* CORE PHILOSOPHY / STORY                                          */
/* ================================================================ */

.story-section {
    padding: var(--section-spacing) 0;
    background: var(--brand-white);
}

.story-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.story-visual {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.story-visual img {
    width: 100%;
    display: block;
}

.story-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: var(--brand-primary);
    color: var(--brand-dark);
    padding: 24px;
    border-radius: 16px;
    font-weight: 800;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.badge-number {
    display: block;
    font-size: 32px;
}

.badge-text {
    font-size: 14px;
    text-transform: uppercase;
}

.story-content h2 {
    font-size: clamp(32px, 3.5vw, 44px);
    line-height: 1.2;
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 32px;
}

.story-content p {
    font-size: 18px;
    line-height: 1.7;
    color: var(--brand-gray);
    margin-bottom: 24px;
}

/* ================================================================ */
/* OPERATIONS DRIVERS (Conditions part)                             */
/* ================================================================ */

.conditions-section {
    padding: var(--section-spacing) 0;
    background-color: var(--brand-dark);
    color: var(--brand-white);
}

.conditions-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 64px;
    padding: 0 24px;
}

.conditions-header h2 {
    font-size: 40px;
    margin-bottom: 24px;
}

.conditions-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.cond-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.cond-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--brand-primary);
}

.cond-item h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.4;
    color: var(--brand-white);
}

.cond-item p {
    font-size: 15px;
    color: #94a3b8;
    line-height: 1.6;
}

/* ================================================================ */
/* ARCHITECTURE SECTION                                             */
/* ================================================================ */

.arch-section {
    padding: var(--section-spacing) 0;
    background: var(--brand-white);
}

.arch-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.arch-text h2 {
    font-size: 40px;
    margin-bottom: 32px;
}

.arch-text p {
    font-size: 17px;
    line-height: 1.7;
    color: var(--brand-gray);
    margin-bottom: 24px;
}

.arch-text ul {
    list-style: none;
    padding: 0;
}

.arch-text li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 20px;
    font-size: 16px;
    color: var(--brand-dark);
    font-weight: 500;
}

.arch-text li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--brand-primary);
}

/* ARCH VISUAL */
.arch-visual-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.v-box {
    padding: 30px;
    border-radius: 16px;
    border: 1px solid #f1f5f9;
}

.v-box-top { background: #f8fafc; }
.v-box-mid { background: #ffffff; border: 1px dashed #cbd5e1; }
.v-box-core {
    background: var(--brand-dark);
    color: var(--brand-white);
    border: none;
    position: relative;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.v-box-core h3 { color: var(--brand-primary); margin-bottom: 15px; }
.v-box h3 { font-size: 18px; margin-bottom: 8px; }

.domains-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.domain-pill {
    background: #f1f5f9;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
}

/* ================================================================ */
/* CORE BELIEFS SECTION                                             */
/* ================================================================ */

.principles-section {
    padding: var(--section-spacing) 0;
    background-color: var(--brand-dark);
    position: relative;
    color: var(--brand-white);
}

.principles-header {
    text-align: center;
    margin-bottom: 64px;
}

.principles-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.principle-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 48px 40px;
    border-radius: 24px;
    position: relative;
    transition: all 0.3s ease;
}

.principle-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(22, 203, 167, 0.3);
    transform: translateY(-5px);
}

.p-icon {
    width: 60px;
    height: 60px;
    background: rgba(22, 203, 167, 0.1);
    color: var(--brand-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 32px;
}

.principle-card p {
    font-size: 20px;
    line-height: 1.5;
    font-weight: 400;
    color: #e2e8f0;
    margin: 0;
}

.principle-card p strong {
    color: var(--brand-white);
    font-weight: 700;
}

/* ================================================================ */
/* WHY RAMP VS TRADITIONAL                                          */
/* ================================================================ */

.comparison-section {
    padding: var(--section-spacing) 0;
    background-color: #f8fafc;
}

.comp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.comp-header {
    max-width: 700px;
    margin-bottom: 64px;
}

.comp-header h2 {
    font-size: clamp(32px, 4vw, 48px);
    color: var(--brand-dark);
    line-height: 1.2;
    margin-bottom: 24px;
}

.comp-header p {
    font-size: 18px;
    color: var(--brand-gray);
    line-height: 1.7;
}

.comp-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 32px;
}

.comp-card {
    padding: 48px;
    border-radius: 24px;
}

.comp-card.traditional {
    background: var(--brand-white);
    border: 1px solid #e2e8f0;
}

.comp-card.ramp {
    background: var(--brand-dark);
    color: var(--brand-white);
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
}

.comp-badge {
    position: absolute;
    top: -15px;
    right: 48px;
    background: var(--brand-primary);
    color: var(--brand-dark);
    padding: 8px 16px;
    border-radius: 99px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.comp-card h3 {
    font-size: 24px;
    margin-bottom: 32px;
}

.comp-card.ramp h3 {
    color: var(--brand-primary);
}

.comp-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comp-list li {
    position: relative;
    padding-left: 40px;
    margin-bottom: 24px;
    font-size: 17px;
    line-height: 1.6;
}

.comp-list li:last-child {
    margin-bottom: 0;
}

.comp-card.traditional .comp-list li {
    color: #64748b;
}

.comp-card.traditional .comp-list li::before {
    content: '\f00d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #cbd5e1;
    font-size: 20px;
}

.comp-card.ramp .comp-list li {
    color: #f1f5f9;
}

.comp-card.ramp .comp-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--brand-primary);
    font-size: 20px;
}

.infra-box {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.infra-box p {
    font-size: 18px;
    font-weight: 600;
    color: var(--brand-primary);
    margin: 0;
}

/* ================================================================ */
/* TRUST ECOSYSTEM BANNER                                           */
/* ================================================================ */

.ecosystem-banner-wrapper {
    padding: 60px 24px;
    background: var(--brand-white);
}

.ecosystem-banner {
    max-width: 1200px;
    margin: 0 auto;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 32px;
    padding: 80px 40px;
    position: relative;
    overflow: hidden;
}

.ecosystem-banner.eco-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: center;
    text-align: left;
    padding: 80px 60px;
}

.ecosystem-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at center, rgba(22, 203, 167, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.eco-left h2 {
    color: var(--brand-white);
    font-size: clamp(32px, 3.5vw, 44px);
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
}

.eco-left p {
    color: #94a3b8;
    font-size: 18px;
    max-width: 700px;
    margin: 0;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.eco-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
}

.eco-stat {
    font-size: 72px;
    font-weight: 900;
    color: var(--brand-white);
    margin-bottom: 12px;
    line-height: 1;
}

/* ================================================================ */
/* EXPERTISE FOUNDATION                                             */
/* ================================================================ */

.expertise-section {
    padding: var(--section-spacing) 0;
    background: var(--brand-white);
}

.expertise-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
}

.expertise-left h2 {
    font-size: clamp(36px, 4vw, 52px);
    line-height: 1.1;
    color: var(--brand-dark);
    margin-top: 16px;
}

.expertise-right {
    font-size: 20px;
    line-height: 1.7;
    color: #334155;
}

.expertise-right p {
    margin-bottom: 24px;
}

.expertise-highlight {
    margin-top: 48px;
    padding: 32px 40px;
    background: #f8fafc;
    border-left: 6px solid var(--brand-primary);
    border-radius: 0 16px 16px 0;
}

.expertise-highlight p {
    font-size: 22px;
    font-weight: 600;
    color: var(--brand-dark);
    margin: 0;
}

/* ================================================================ */
/* LOOKING AHEAD & CLOSING                                          */
/* ================================================================ */

.closing-section {
    padding: 140px 0;
    background-color: var(--brand-dark);
    color: var(--brand-white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.closing-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(22, 203, 167, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.closing-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.closing-container h2 {
    font-size: 48px;
    margin-bottom: 32px;
}

.closing-container p {
    font-size: 20px;
    line-height: 1.7;
    color: #94a3b8;
    margin-bottom: 80px;
}

.brand-finale {
    display: inline-block;
    padding-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.final-logo {
    font-size: 40px;
    font-weight: 900;
    letter-spacing: -1px;
    color: var(--brand-white);
    margin-bottom: 12px;
}

.final-tagline {
    font-size: 16px;
    font-weight: 600;
    color: var(--brand-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ================================================================ */
/* RESPONSIVE OVERRIDES                                             */
/* ================================================================ */

@media (max-width: 900px) {
    .story-grid, .arch-container, .comp-grid, .expertise-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .ecosystem-banner.eco-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 48px;
        padding: 60px 30px;
    }

    .eco-right {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 40px;
    }

    .eco-left p {
        margin: 0 auto;
    }

    .closing-container h2 {
        font-size: 36px;
    }
}
