:root {
    --about-navy: #111d46;
    --about-navy-light: #202b69;
    --about-blue: #5268f7;
    --about-purple: #6957eb;
    --about-text: #111a3b;
    --about-muted: #6f7893;
    --about-background: #f6f7fc;
    --about-border: #e1e5f1;
    --about-white: #ffffff;
}

.about-page {
    overflow: hidden;
    color: var(--about-text);
    background: var(--about-background);
}

.about-container {
    width: min(1200px, calc(100% - 48px));
    margin-inline: auto;
}

/* Hero */

.about-hero {
    position: relative;
    min-height: 430px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--about-white);
    background:
        radial-gradient(
            circle at 18% 40%,
            rgba(95, 89, 244, 0.27),
            transparent 30%
        ),
        linear-gradient(
            120deg,
            var(--about-navy-light),
            var(--about-navy)
        );
}

.about-hero::before,
.about-hero::after {
    position: absolute;
    content: "";
    border-radius: 50%;
    border: 1px solid rgba(121, 136, 255, 0.15);
}

.about-hero::before {
    width: 420px;
    height: 420px;
    top: -210px;
    right: -120px;
}

.about-hero::after {
    width: 340px;
    height: 340px;
    bottom: -220px;
    left: 25%;
}

.about-hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-hero__content {
    max-width: 570px;
}

.about-eyebrow,
.about-section-label,
.about-section-heading > span:first-child {
    display: inline-block;
    margin-bottom: 15px;
    color: #8998ff;
    font-size: 0.92rem;
    font-weight: 800;
}

.about-hero h1 {
    margin: 0;
    font-size: clamp(2.4rem, 4.5vw, 4.2rem);
    line-height: 1.3;
    letter-spacing: -1px;
}

.about-hero h1 span {
    display: block;
}

.about-hero__content > p {
    max-width: 540px;
    margin: 22px 0 0;
    color: #d4d9f1;
    font-size: 1.05rem;
    line-height: 2;
}

.about-year {
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 28px;
    padding: 11px 18px;
    color: #ffffff;
    background: linear-gradient(
        135deg,
        var(--about-blue),
        var(--about-purple)
    );
    border-radius: 12px;
    font-weight: 800;
    box-shadow: 0 12px 30px rgba(82, 104, 247, 0.28);
}

.about-year svg {
    width: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.about-hero__visual {
    position: relative;
    height: 310px;
}

.medical-orbit {
    position: absolute;
    inset: 50% auto auto 50%;
    border: 1px solid rgba(110, 127, 255, 0.32);
    border-radius: 50%;
    transform: translate(-50%, -50%) rotate(-15deg);
}

.medical-orbit--one {
    width: 390px;
    height: 185px;
}

.medical-orbit--two {
    width: 300px;
    height: 285px;
}

.medical-card {
    position: absolute;
    width: 94px;
    height: 94px;
    display: grid;
    place-items: center;
    background: rgba(39, 54, 116, 0.74);
    border: 1px solid rgba(124, 141, 255, 0.42);
    border-radius: 22px;
    box-shadow:
        0 20px 45px rgba(4, 10, 35, 0.25),
        inset 0 0 20px rgba(99, 112, 255, 0.08);
    backdrop-filter: blur(10px);
}

.medical-card svg {
    width: 45px;
    fill: none;
    stroke: #8092ff;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.medical-card--capsule {
    top: 15px;
    left: 60px;
}

.medical-card--bottle {
    top: 84px;
    right: 80px;
}

.medical-card--pharmacy {
    bottom: 10px;
    left: 105px;
}

.medical-chart {
    position: absolute;
    right: 17px;
    bottom: 12px;
    height: 100px;
    display: flex;
    align-items: flex-end;
    gap: 10px;
}

.medical-chart span {
    width: 11px;
    height: var(--height);
    background: linear-gradient(#7184ff, #3e55d8);
    border-radius: 8px 8px 2px 2px;
    box-shadow: 0 0 18px rgba(99, 117, 255, 0.42);
}

/* Story */

.about-story {
    padding: 100px 0 60px;
}

.about-story__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    align-items: center;
}

.about-story__content h2,
.about-section-heading h2 {
    margin: 0;
    font-size: clamp(2rem, 3vw, 2.8rem);
    line-height: 1.4;
}

.about-heading-line {
    display: block;
    width: 42px;
    height: 3px;
    margin-top: 14px;
    background: var(--about-blue);
    border-radius: 10px;
}

.about-story__content p {
    margin: 25px 0 0;
    color: var(--about-muted);
    font-size: 1rem;
    line-height: 2.15;
}

.about-dashboard {
    position: relative;
    min-height: 340px;
    display: grid;
    place-items: center;
}

.about-dashboard::before {
    position: absolute;
    width: 390px;
    height: 260px;
    content: "";
    background: rgba(87, 106, 244, 0.08);
    border-radius: 48% 52% 48% 52%;
    filter: blur(2px);
    transform: rotate(-8deg);
}

.about-dashboard__window {
    position: relative;
    z-index: 1;
    width: min(430px, 88%);
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e2e6f6;
    border-radius: 22px;
    box-shadow: 0 28px 60px rgba(35, 45, 105, 0.15);
    transform: perspective(900px) rotateY(-6deg) rotateX(2deg);
}

.about-dashboard__header {
    height: 40px;
    display: flex;
    align-items: center;
    gap: 7px;
    padding-inline: 17px;
    background: linear-gradient(
        90deg,
        var(--about-purple),
        var(--about-blue)
    );
}

.about-dashboard__header span {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
}

.about-dashboard__body {
    min-height: 240px;
    display: grid;
    grid-template-columns: 70px 1fr;
}

.about-dashboard__sidebar {
    display: flex;
    flex-direction: column;
    gap: 17px;
    padding: 24px 18px;
    background: #f3f5fd;
}

.about-dashboard__sidebar span {
    height: 12px;
    background: #dce1f5;
    border-radius: 5px;
}

.about-dashboard__main {
    padding: 28px;
}

.about-dashboard__chart {
    height: 125px;
    padding: 13px;
    background: #f8f9fe;
    border-radius: 14px;
}

.about-dashboard__chart svg {
    width: 100%;
    height: 100%;
}

.about-dashboard__chart polyline {
    fill: none;
    stroke: var(--about-blue);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.about-dashboard__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 18px;
}

.about-dashboard__stats span {
    height: 48px;
    background: #eef0fb;
    border-radius: 10px;
}

.floating-stat {
    position: absolute;
    z-index: 2;
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    color: var(--about-blue);
    background: #ffffff;
    border: 1px solid #e2e6f6;
    border-radius: 18px;
    box-shadow: 0 16px 35px rgba(35, 45, 105, 0.14);
}

.floating-stat svg {
    width: 30px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.floating-stat--top {
    top: 18px;
    right: 25px;
}

.floating-stat--bottom {
    bottom: 18px;
    left: 22px;
}

/* Timeline */

.about-timeline {
    padding: 65px 0 80px;
}

.about-section-heading {
    text-align: center;
}

.about-section-heading .about-heading-line {
    margin-inline: auto;
}

.timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 70px;
}

.timeline::before {
    position: absolute;
    top: -24px;
    right: calc(16.66% - 5px);
    left: calc(16.66% - 5px);
    height: 2px;
    content: "";
    background: var(--about-blue);
}

.timeline-card {
    position: relative;
    min-height: 250px;
    padding: 42px 28px 30px;
    text-align: center;
    background: #ffffff;
    border: 1px solid var(--about-border);
    border-radius: 18px;
    box-shadow: 0 15px 40px rgba(32, 43, 105, 0.07);
    transition:
        transform 180ms ease,
        box-shadow 180ms ease;
}

.timeline-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 45px rgba(32, 43, 105, 0.12);
}

.timeline-number {
    position: absolute;
    top: -42px;
    right: 50%;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    color: #ffffff;
    background: linear-gradient(
        135deg,
        var(--about-blue),
        var(--about-purple)
    );
    border: 5px solid var(--about-background);
    border-radius: 50%;
    font-weight: 900;
    transform: translateX(50%);
    box-sizing: content-box;
}

.timeline-icon,
.principle__icon {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    margin: 0 auto 22px;
    color: var(--about-blue);
    background: #f0f2ff;
    border-radius: 50%;
}

.timeline-icon svg,
.principle__icon svg {
    width: 30px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.timeline-card h3,
.principle h3 {
    margin: 0;
    font-size: 1.08rem;
}

.timeline-card p,
.principle p {
    margin: 14px 0 0;
    color: var(--about-muted);
    font-size: 0.93rem;
    line-height: 2;
}

/* Principles */

.about-principles {
    padding: 0 0 100px;
}

.principles-panel {
    padding: 48px;
    background: #ffffff;
    border: 1px solid var(--about-border);
    border-radius: 22px;
    box-shadow: 0 18px 45px rgba(32, 43, 105, 0.06);
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
    margin-top: 45px;
}

.principle {
    display: flex;
    align-items: flex-start;
    gap: 17px;
}

.principle__icon {
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    margin: 0;
}

.principle p {
    font-size: 0.88rem;
}

/* Responsive */

@media (max-width: 900px) {
    .about-hero {
        padding: 70px 0;
    }

    .about-hero__inner,
    .about-story__inner {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .about-hero__content {
        max-width: none;
        text-align: center;
    }

    .about-year {
        margin-inline: auto;
    }

    .about-hero__visual {
        width: min(480px, 100%);
        margin-inline: auto;
    }

    .about-story__content {
        order: 1;
    }

    .about-dashboard {
        order: 2;
    }

    .timeline,
    .principles-grid {
        grid-template-columns: 1fr;
    }

    .timeline {
        gap: 55px;
    }

    .timeline::before {
        display: none;
    }

    .principle {
        padding-bottom: 25px;
        border-bottom: 1px solid var(--about-border);
    }

    .principle:last-child {
        padding-bottom: 0;
        border-bottom: 0;
    }
}

@media (max-width: 600px) {
    .about-container {
        width: min(100% - 30px, 1200px);
    }

    .about-hero {
        min-height: auto;
        padding: 60px 0;
    }

    .about-hero h1 {
        font-size: 2.2rem;
    }

    .about-hero__content > p {
        font-size: 0.95rem;
    }

    .about-hero__visual {
        height: 260px;
        transform: scale(0.88);
    }

    .medical-orbit--one {
        width: 320px;
    }

    .about-story {
        padding-top: 70px;
    }

    .about-story__inner {
        gap: 25px;
    }

    .about-dashboard {
        min-height: 285px;
    }

    .floating-stat {
        display: none;
    }

    .timeline-card {
        min-height: auto;
        padding-inline: 22px;
    }

    .principles-panel {
        padding: 36px 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .timeline-card {
        transition: none;
    }
}