/* =========================================================
   RITHCABS - ABOUT US PAGE
   File: assets/css/about.css
   ========================================================= */


/* =========================================================
   ROOT
   ========================================================= */

:root {
    --about-navy: #06283D;
    --about-navy-dark: #031E30;
    --about-navy-soft: #0B354D;

    --about-yellow: #FFB800;
    --about-yellow-hover: #E9A800;
    --about-yellow-soft: #FFF5D9;

    --about-white: #FFFFFF;
    --about-bg: #F7F9FB;
    --about-bg-soft: #F2F6F8;

    --about-text: #102A3A;
    --about-grey: #61798C;
    --about-light-grey: #E6EDF3;

    --about-shadow:
        0 15px 40px rgba(6, 40, 61, 0.08);

    --about-shadow-hover:
        0 22px 50px rgba(6, 40, 61, 0.14);

    --about-radius: 20px;
}


/* =========================================================
   GENERAL
   ========================================================= */

.about-page {
    width: 100%;
    overflow: hidden;
    background: var(--about-white);
    color: var(--about-text);
    font-family: 'Inter', sans-serif;
}

.about-page *,
.about-page *::before,
.about-page *::after {
    box-sizing: border-box;
}

.about-page .container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

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

.section-label,
.about-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    margin-bottom: 16px;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.8px;
    line-height: 1.4;

    color: var(--about-yellow);
    text-transform: uppercase;
}

.section-label::before,
.about-eyebrow::before {
    content: "";
    display: block;

    width: 28px;
    height: 3px;

    border-radius: 20px;
    background: var(--about-yellow);
}

.section-heading {
    max-width: 700px;
    margin: 0 auto 55px;
    text-align: center;
}

.section-heading .section-label {
    justify-content: center;
}

.section-heading h2 {
    margin: 0 0 16px;

    color: var(--about-navy);

    font-size: clamp(30px, 4vw, 44px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.2px;
}

.section-heading h2 span {
    color: var(--about-yellow);
}

.section-heading p {
    max-width: 620px;
    margin: 0 auto;

    color: var(--about-grey);

    font-size: 16px;
    line-height: 1.8;
}


/* =========================================================
   ABOUT HERO
   ========================================================= */

.about-hero {
    position: relative;

    min-height: 560px;
    display: flex;
    align-items: center;

    padding: 100px 0;

    background:
        radial-gradient(circle at 80% 30%,
            rgba(255, 184, 0, 0.16),
            transparent 35%),
        linear-gradient(120deg,
            #031E30 0%,
            #06283D 55%,
            #0B354D 100%);

    overflow: hidden;
}

.about-hero::before {
    content: "";

    position: absolute;
    top: -180px;
    right: -120px;

    width: 520px;
    height: 520px;

    border: 1px solid rgba(255, 184, 0, 0.13);
    border-radius: 50%;
}

.about-hero::after {
    content: "";

    position: absolute;
    right: 90px;
    bottom: -270px;

    width: 500px;
    height: 500px;

    border: 100px solid rgba(255, 255, 255, 0.025);
    border-radius: 50%;
}

.about-hero .container {
    position: relative;
    z-index: 2;
}

.about-hero-content {
    max-width: 760px;
}

.about-eyebrow {
    color: var(--about-yellow);
}

.about-hero h1 {
    max-width: 760px;

    margin: 0 0 24px;

    color: var(--about-white);

    font-size: clamp(42px, 6vw, 70px);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -2px;
}

.about-hero h1 span {
    display: block;
    color: var(--about-yellow);
}

.about-hero p {
    max-width: 700px;

    margin: 0;

    color: rgba(255, 255, 255, 0.78);

    font-size: 17px;
    line-height: 1.85;
}

.about-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;

    margin-top: 34px;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.btn-about-primary,
.btn-about-secondary,
.btn-about-outline {
    min-height: 52px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    padding: 0 25px;

    border-radius: 12px;

    font-size: 14px;
    font-weight: 700;

    text-decoration: none;

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.btn-about-primary {
    color: var(--about-navy);
    background: var(--about-yellow);

    border: 1px solid var(--about-yellow);

    box-shadow:
        0 12px 25px rgba(255, 184, 0, 0.18);
}

.btn-about-primary:hover {
    color: var(--about-navy);
    background: var(--about-yellow-hover);

    transform: translateY(-2px);

    box-shadow:
        0 16px 30px rgba(255, 184, 0, 0.25);
}

.btn-about-primary span {
    font-size: 19px;
    line-height: 1;
}

.btn-about-secondary {
    color: var(--about-white);

    border: 1px solid rgba(255, 255, 255, 0.35);

    background: rgba(255, 255, 255, 0.06);
}

.btn-about-secondary:hover {
    color: var(--about-navy);
    background: var(--about-white);
    border-color: var(--about-white);

    transform: translateY(-2px);
}

.btn-about-outline {
    color: var(--about-white);

    border: 1px solid rgba(255, 255, 255, 0.45);

    background: transparent;
}

.btn-about-outline:hover {
    color: var(--about-navy);
    background: var(--about-white);
    border-color: var(--about-white);

    transform: translateY(-2px);
}


/* =========================================================
   WHO WE ARE
   ========================================================= */

.about-intro {
    background: var(--about-white);
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);

    align-items: center;

    gap: 80px;
}

.about-content {
    max-width: 680px;
}

.about-content h2 {
    margin: 0 0 24px;

    color: var(--about-navy);

    font-size: clamp(34px, 4vw, 48px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -1.2px;
}

.about-content h2 span {
    color: var(--about-yellow);
}

.about-content p {
    margin: 0 0 18px;

    color: var(--about-grey);

    font-size: 16px;
    line-height: 1.85;
}

.about-content p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   ABOUT HIGHLIGHT CARD
   ========================================================= */

.about-highlight-card {
    position: relative;

    padding: 45px 38px;

    border-radius: 24px;

    background:
        linear-gradient(145deg,
            var(--about-navy),
            var(--about-navy-soft));

    box-shadow:
        0 25px 60px rgba(6, 40, 61, 0.18);

    overflow: hidden;
}

.about-highlight-card::before {
    content: "";

    position: absolute;
    width: 180px;
    height: 180px;

    top: -80px;
    right: -70px;

    border-radius: 50%;

    background: rgba(255, 184, 0, 0.12);
}

.about-highlight-card::after {
    content: "";

    position: absolute;

    width: 90px;
    height: 5px;

    left: 38px;
    bottom: 0;

    background: var(--about-yellow);

    border-radius: 20px 20px 0 0;
}

.highlight-icon {
    width: 70px;
    height: 70px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 28px;

    border-radius: 18px;

    background: var(--about-yellow);

    font-size: 31px;
}

.about-highlight-card h3 {
    margin: 0 0 18px;

    color: var(--about-white);

    font-size: 32px;
    font-weight: 800;
    line-height: 1.15;
}

.about-highlight-card p {
    margin: 0;

    color: rgba(255, 255, 255, 0.7);

    font-size: 15px;
    line-height: 1.75;
}


/* =========================================================
   RITHZON TECHNOLOGIES
   ========================================================= */

.rithzon-section {
    padding: 85px 0;

    background: var(--about-bg);
}

.rithzon-wrapper {
    position: relative;

    max-width: 950px;

    margin: 0 auto;

    padding: 55px 60px;

    text-align: center;

    background: var(--about-white);

    border: 1px solid var(--about-light-grey);
    border-radius: 24px;

    box-shadow: var(--about-shadow);

    overflow: hidden;
}

.rithzon-wrapper::before {
    content: "";

    position: absolute;

    top: 0;
    left: 50%;

    width: 130px;
    height: 5px;

    transform: translateX(-50%);

    border-radius: 0 0 20px 20px;

    background: var(--about-yellow);
}

.rithzon-badge {
    display: inline-flex;

    margin-bottom: 15px;

    padding: 8px 14px;

    color: var(--about-navy);

    background: var(--about-yellow-soft);

    border-radius: 100px;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.rithzon-wrapper h2 {
    margin: 0 0 22px;

    color: var(--about-navy);

    font-size: clamp(30px, 4vw, 42px);
    font-weight: 800;
    letter-spacing: -1px;
}

.rithzon-wrapper h2 span {
    color: var(--about-yellow);
}

.rithzon-wrapper p {
    max-width: 760px;

    margin: 0 auto 15px;

    color: var(--about-grey);

    font-size: 16px;
    line-height: 1.8;
}

.rithzon-wrapper p:last-child {
    margin-bottom: 0;
}

.rithzon-wrapper strong {
    color: var(--about-navy);
}


/* =========================================================
   MISSION / VISION
   ========================================================= */

.mission-section {
    background: var(--about-white);
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 25px;

    max-width: 950px;
    margin: 0 auto;
}

.mission-card {
    position: relative;

    padding: 38px;

    background: var(--about-bg);

    border: 1px solid var(--about-light-grey);
    border-radius: var(--about-radius);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.mission-card:hover {
    transform: translateY(-6px);

    border-color: rgba(255, 184, 0, 0.55);

    box-shadow: var(--about-shadow-hover);
}

.mission-icon {
    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 25px;

    color: var(--about-navy);

    background: var(--about-yellow);

    border-radius: 15px;

    font-size: 27px;
    font-weight: 800;
}

.mission-card h3 {
    margin: 0 0 15px;

    color: var(--about-navy);

    font-size: 22px;
    font-weight: 800;
}

.mission-card p {
    margin: 0;

    color: var(--about-grey);

    font-size: 15px;
    line-height: 1.8;
}


/* =========================================================
   VALUES / WHAT WE STAND FOR
   ========================================================= */

.values-section {
    background: var(--about-bg);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 20px;
}

.value-card {
    min-height: 245px;

    padding: 30px 26px;

    background: var(--about-white);

    border: 1px solid var(--about-light-grey);
    border-radius: 18px;

    box-shadow:
        0 8px 25px rgba(6, 40, 61, 0.04);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.value-card:hover {
    transform: translateY(-7px);

    border-color: rgba(255, 184, 0, 0.55);

    box-shadow: var(--about-shadow-hover);
}

.value-icon {
    width: 54px;
    height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 25px;

    color: var(--about-navy);
    background: var(--about-yellow-soft);

    border-radius: 14px;

    font-size: 23px;
    font-weight: 800;
}

.value-card h3 {
    margin: 0 0 13px;

    color: var(--about-navy);

    font-size: 18px;
    font-weight: 800;
}

.value-card p {
    margin: 0;

    color: var(--about-grey);

    font-size: 14px;
    line-height: 1.75;
}


/* =========================================================
   ECOSYSTEM
   ========================================================= */

.ecosystem-section {
    position: relative;

    padding: 100px 0;

    background:
        radial-gradient(circle at 50% 100%,
            rgba(255, 184, 0, 0.09),
            transparent 40%),
        var(--about-navy);

    overflow: hidden;
}

.ecosystem-section::before {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    top: -300px;
    left: -150px;

    border: 80px solid rgba(255, 255, 255, 0.025);
    border-radius: 50%;
}

.light-heading {
    position: relative;
    z-index: 2;
}

.light-heading h2 {
    color: var(--about-white);
}

.light-heading p {
    color: rgba(255, 255, 255, 0.67);
}

.ecosystem-flow {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 24px;

    max-width: 1050px;

    margin: 0 auto;
}

.ecosystem-card {
    width: 270px;
    min-height: 230px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 30px;

    text-align: center;

    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;

    background: rgba(255, 255, 255, 0.055);

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease;
}

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

    border-color: rgba(255, 184, 0, 0.45);

    background: rgba(255, 255, 255, 0.08);
}

.ecosystem-main {
    border-color: rgba(255, 184, 0, 0.7);

    background: rgba(255, 184, 0, 0.08);
}

.ecosystem-icon {
    width: 65px;
    height: 65px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 22px;

    border-radius: 18px;

    background: var(--about-yellow);

    font-size: 28px;
}

.ecosystem-card h3 {
    margin: 0 0 12px;

    color: var(--about-white);

    font-size: 20px;
    font-weight: 800;
}

.ecosystem-card p {
    margin: 0;

    color: rgba(255, 255, 255, 0.65);

    font-size: 14px;
    line-height: 1.7;
}

.ecosystem-arrow {
    color: var(--about-yellow);

    font-size: 30px;
    font-weight: 700;
}


/* =========================================================
   OUR JOURNEY / PRODUCTS
   ========================================================= */

.journey-section {
    background: var(--about-white);
}

.journey-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 22px;
}

.journey-card {
    position: relative;

    min-height: 330px;

    padding: 34px 30px;

    border: 1px solid var(--about-light-grey);
    border-radius: 20px;

    background: var(--about-bg);

    overflow: hidden;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.journey-card:hover {
    transform: translateY(-6px);

    box-shadow: var(--about-shadow-hover);
}

.active-product {
    background: var(--about-navy);
    border-color: var(--about-navy);
}

.active-product::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 5px;

    background: var(--about-yellow);
}

.product-status {
    display: inline-flex;

    margin-bottom: 35px;

    padding: 7px 11px;

    border-radius: 100px;

    color: var(--about-navy);
    background: var(--about-yellow-soft);

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.1px;
}

.active-product .product-status {
    color: var(--about-navy);
    background: var(--about-yellow);
}

.product-number {
    position: absolute;

    top: 22px;
    right: 25px;

    color: rgba(6, 40, 61, 0.08);

    font-size: 65px;
    font-weight: 900;
    line-height: 1;
}

.active-product .product-number {
    color: rgba(255, 255, 255, 0.07);
}

.journey-card h3 {
    position: relative;

    margin: 0 0 16px;

    color: var(--about-navy);

    font-size: 27px;
    font-weight: 800;
}

.journey-card p {
    position: relative;

    margin: 0;

    color: var(--about-grey);

    font-size: 14px;
    line-height: 1.8;
}

.active-product h3 {
    color: var(--about-yellow);
}

.active-product p {
    color: rgba(255, 255, 255, 0.7);
}

.future-product {
    border-style: dashed;
}

.coming-soon {
    display: inline-flex;

    margin-top: 24px;

    padding: 8px 12px;

    border-radius: 8px;

    color: var(--about-navy);
    background: var(--about-yellow-soft);

    font-size: 11px;
    font-weight: 800;
}


/* =========================================================
   FINAL CTA
   ========================================================= */

.about-cta {
    padding: 75px 0;

    background:
        linear-gradient(120deg,
            #031E30,
            #06283D);
}

.about-cta-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 50px;
}

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

.about-cta-content h2 {
    margin: 0 0 15px;

    color: var(--about-white);

    font-size: clamp(32px, 4vw, 46px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
}

.about-cta-content h2 span {
    color: var(--about-yellow);
}

.about-cta-content p {
    margin: 0;

    color: rgba(255, 255, 255, 0.67);

    font-size: 15px;
    line-height: 1.8;
}

.about-cta-actions {
    flex-shrink: 0;

    display: flex;
    align-items: center;
    gap: 12px;
}


/* =========================================================
   RESPONSIVE - TABLET
   ========================================================= */

@media (max-width: 1024px) {

    .about-section,
    .ecosystem-section {
        padding: 80px 0;
    }

    .about-hero {
        min-height: 500px;
        padding: 85px 0;
    }

    .about-grid {
        grid-template-columns: 1fr 0.7fr;
        gap: 45px;
    }

    .values-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .journey-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .journey-card:last-child {
        grid-column: 1 / -1;
    }

    .ecosystem-flow {
        gap: 15px;
    }

    .ecosystem-card {
        width: 240px;
    }

    .about-cta-wrapper {
        align-items: flex-start;
        flex-direction: column;
    }
}


/* =========================================================
   RESPONSIVE - MOBILE
   ========================================================= */

@media (max-width: 768px) {

    .about-page .container {
        width: min(100% - 30px, 1180px);
    }

    .about-section,
    .ecosystem-section {
        padding: 65px 0;
    }


    /* Hero */

    .about-hero {
        min-height: auto;
        padding: 75px 0;
    }

    .about-hero h1 {
        font-size: 42px;
        letter-spacing: -1.3px;
    }

    .about-hero p {
        font-size: 15px;
    }

    .about-hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .btn-about-primary,
    .btn-about-secondary,
    .btn-about-outline {
        width: 100%;
    }


    /* Intro */

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-highlight-card {
        padding: 35px 30px;
    }


    /* Rithzon */

    .rithzon-section {
        padding: 65px 0;
    }

    .rithzon-wrapper {
        padding: 42px 25px;
    }


    /* Mission */

    .mission-grid {
        grid-template-columns: 1fr;
    }


    /* Values */

    .values-grid {
        grid-template-columns: 1fr;
    }

    .value-card {
        min-height: auto;
    }


    /* Ecosystem */

    .ecosystem-flow {
        flex-direction: column;
    }

    .ecosystem-card {
        width: 100%;
        min-height: 200px;
    }

    .ecosystem-arrow {
        transform: rotate(90deg);
    }


    /* Journey */

    .journey-grid {
        grid-template-columns: 1fr;
    }

    .journey-card:last-child {
        grid-column: auto;
    }


    /* CTA */

    .about-cta {
        padding: 65px 0;
    }

    .about-cta-wrapper {
        gap: 30px;
    }

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

        flex-direction: column;
        align-items: stretch;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .about-page .container {
        width: calc(100% - 24px);
    }

    .about-hero {
        padding: 60px 0;
    }

    .about-hero h1 {
        font-size: 36px;
    }

    .about-content h2 {
        font-size: 33px;
    }

    .section-heading {
        margin-bottom: 40px;
    }

    .section-heading h2 {
        font-size: 31px;
    }

    .mission-card,
    .journey-card {
        padding: 28px 23px;
    }

    .about-highlight-card h3 {
        font-size: 28px;
    }

    .rithzon-wrapper h2 {
        font-size: 30px;
    }

    .about-cta-content h2 {
        font-size: 32px;
    }
}