/* =========================================================
   FRONT PAGE — SECTION ONE
   Fully scoped to .section-one-
   ========================================================= */

.section-one-hero {
    --section-one-primary: #1769ff;
    --section-one-primary-dark: #0b4ed8;
    --section-one-primary-light: #eaf2ff;
    --section-one-text: #101828;
    --section-one-muted: #667085;
    --section-one-border: rgba(16, 24, 40, 0.09);

    position: relative;
    isolation: isolate;
    overflow: hidden;

    width: 100%;
    min-height: 850px;

    display: flex;
    align-items: center;

    padding: 110px 30px 100px;

    background:
        radial-gradient(
            circle at 76% 35%,
            rgba(23, 105, 255, 0.075),
            transparent 28%
        ),
        linear-gradient(
            180deg,
            #ffffff 0%,
            #fbfdff 100%
        );

    color: var(--section-one-text);

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}


/* =========================================================
   BACKGROUND
   ========================================================= */

.section-one-background {
    position: absolute;
    inset: 0;
    z-index: -2;

    pointer-events: none;
}

.section-one-orb {
    position: absolute;

    border-radius: 50%;

    filter: blur(1px);

    pointer-events: none;

    animation:
        section-one-orb-float
        9s
        ease-in-out
        infinite;
}

.section-one-orb-one {
    width: 420px;
    height: 420px;

    top: -170px;
    right: -100px;

    background:
        radial-gradient(
            circle,
            rgba(55, 145, 255, 0.13),
            rgba(55, 145, 255, 0)
        );
}

.section-one-orb-two {
    width: 330px;
    height: 330px;

    bottom: -170px;
    left: -100px;

    background:
        radial-gradient(
            circle,
            rgba(77, 189, 255, 0.09),
            rgba(77, 189, 255, 0)
        );

    animation-delay: -4s;
}

.section-one-grid {
    position: absolute;
    inset: 0;

    opacity: 0.28;

    background-image:
        linear-gradient(
            rgba(23, 105, 255, 0.035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(23, 105, 255, 0.035) 1px,
            transparent 1px
        );

    background-size: 60px 60px;

    mask-image:
        radial-gradient(
            ellipse at center,
            black 0%,
            transparent 72%
        );
}


/* =========================================================
   MAIN CONTAINER
   ========================================================= */

.section-one-container {
    width: min(1240px, 100%);

    margin: 0 auto;

    display: grid;
    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(440px, 0.95fr);

    align-items: center;

    gap: 70px;
}


/* =========================================================
   CONTENT
   ========================================================= */

.section-one-content {
    position: relative;
    z-index: 3;

    max-width: 720px;

    animation:
        section-one-content-enter
        0.9s
        cubic-bezier(.22, 1, .36, 1)
        both;
}

.section-one-badge {
    width: fit-content;

    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 9px 15px;

    margin-bottom: 25px;

    border: 1px solid rgba(23, 105, 255, 0.13);
    border-radius: 100px;

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

    box-shadow:
        0 8px 30px rgba(23, 105, 255, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.section-one-badge:hover {
    transform: translateY(-3px);

    box-shadow:
        0 14px 35px rgba(23, 105, 255, 0.11),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

.section-one-badge-dot {
    position: relative;

    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: var(--section-one-primary);

    box-shadow:
        0 0 0 5px rgba(23, 105, 255, 0.09);
}

.section-one-badge-dot::after {
    content: "";

    position: absolute;
    inset: -5px;

    border-radius: inherit;

    border: 1px solid rgba(23, 105, 255, 0.25);

    animation:
        section-one-pulse
        2.2s
        ease-out
        infinite;
}

.section-one-badge-text {
    color: #31547f;

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

    letter-spacing: 0.01em;
}


/* =========================================================
   HEADING
   ========================================================= */

.section-one-title {
    max-width: 760px;

    margin: 0 0 25px;

    font-size:
        clamp(
            46px,
            5vw,
            72px
        );

    line-height: 1.02;

    letter-spacing: -0.055em;

    font-weight: 800;

    text-wrap: balance;
}

.section-one-title-highlight {
    position: relative;

    display: inline;

    color: var(--section-one-primary);

    background:
        linear-gradient(
            100deg,
            #1769ff 0%,
            #358bff 45%,
            #0b56db 100%
        );

    -webkit-background-clip: text;
    background-clip: text;

    -webkit-text-fill-color: transparent;
}

.section-one-title-highlight::after {
    content: "";

    position: absolute;

    left: 0;
    right: 8%;

    bottom: -7px;

    height: 5px;

    border-radius: 20px;

    background:
        linear-gradient(
            90deg,
            rgba(23, 105, 255, 0.7),
            rgba(23, 105, 255, 0)
        );

    transform-origin: left;

    transform: scaleX(0.65);

    opacity: 0.45;
}


/* =========================================================
   DESCRIPTION
   ========================================================= */

.section-one-description {
    max-width: 690px;

    margin: 0 0 14px;

    color: var(--section-one-muted);

    font-size: 18px;
    line-height: 1.75;

    letter-spacing: -0.01em;
}

.section-one-description strong {
    color: #344054;

    font-weight: 750;
}

.section-one-description-secondary {
    margin-bottom: 31px;
}


/* =========================================================
   BUTTON
   ========================================================= */

.section-one-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 18px;

    margin-bottom: 42px;
}

.section-one-primary-button {
    position: relative;

    isolation: isolate;

    min-height: 58px;

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

    gap: 15px;

    padding: 0 9px 0 23px;

    overflow: hidden;

    border: 0;
    border-radius: 100px;

    background:
        linear-gradient(
            135deg,
            #1769ff 0%,
            #0d5ce8 100%
        );

    color: #ffffff;

    text-decoration: none;

    font-size: 15px;
    font-weight: 750;

    box-shadow:
        0 14px 35px rgba(23, 105, 255, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);

    transition:
        transform 0.3s cubic-bezier(.22, 1, .36, 1),
        box-shadow 0.3s ease;
}

.section-one-primary-button::before {
    content: "";

    position: absolute;
    z-index: -1;

    top: 0;
    left: -120%;

    width: 80%;
    height: 100%;

    transform: skewX(-25deg);

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.25),
            transparent
        );

    transition: left 0.65s ease;
}

.section-one-primary-button:hover {
    transform: translateY(-4px);

    box-shadow:
        0 20px 45px rgba(23, 105, 255, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.section-one-primary-button:hover::before {
    left: 140%;
}

.section-one-primary-button:active {
    transform:
        translateY(-1px)
        scale(0.97);
}

.section-one-button-icon {
    width: 40px;
    height: 40px;

    display: grid;
    place-items: center;

    border-radius: 50%;

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

    transition:
        transform 0.3s ease,
        background 0.3s ease;
}

.section-one-primary-button:hover
.section-one-button-icon {
    transform: translateX(3px);

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

.section-one-button-icon svg {
    width: 18px;
    height: 18px;

    fill: none;
    stroke: currentColor;

    stroke-width: 2;

    stroke-linecap: round;
    stroke-linejoin: round;
}

.section-one-action-note {
    color: #98a2b3;

    font-size: 13px;
    font-weight: 600;
}


/* =========================================================
   TRUST STATS
   ========================================================= */

.section-one-trust-row {
    display: flex;
    align-items: center;

    gap: 25px;
}

.section-one-trust-item {
    display: flex;
    flex-direction: column;

    gap: 3px;
}

.section-one-trust-number {
    color: #101828;

    font-size: 22px;
    line-height: 1;

    font-weight: 800;

    letter-spacing: -0.04em;
}

.section-one-trust-label {
    color: #98a2b3;

    font-size: 11px;
    font-weight: 650;

    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.section-one-trust-divider {
    width: 1px;
    height: 35px;

    background: rgba(16, 24, 40, 0.11);
}


/* =========================================================
   VISUAL AREA
   ========================================================= */

.section-one-visual {
    position: relative;

    min-height: 590px;

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

    perspective: 1200px;

    animation:
        section-one-visual-enter
        1s
        0.15s
        cubic-bezier(.22, 1, .36, 1)
        both;
}

.section-one-visual-glow {
    position: absolute;

    width: 430px;
    height: 430px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(23, 105, 255, 0.13),
            rgba(23, 105, 255, 0)
        );

    filter: blur(12px);

    animation:
        section-one-glow
        6s
        ease-in-out
        infinite;
}


/* =========================================================
   DASHBOARD
   ========================================================= */

.section-one-dashboard {
    position: relative;

    width: min(520px, 100%);

    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 25px;

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

    box-shadow:
        0 45px 90px rgba(16, 24, 40, 0.13),
        0 15px 35px rgba(23, 105, 255, 0.08),
        inset 0 1px 0 #ffffff;

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    transform:
        rotateY(-4deg)
        rotateX(2deg);

    transition:
        transform 0.7s cubic-bezier(.22, 1, .36, 1),
        box-shadow 0.5s ease;
}

.section-one-dashboard::before {
    content: "";

    position: absolute;
    inset: 0;

    border-radius: inherit;

    padding: 1px;

    background:
        linear-gradient(
            135deg,
            rgba(23, 105, 255, 0.3),
            transparent 35%,
            rgba(77, 189, 255, 0.18)
        );

    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);

    -webkit-mask-composite: xor;
    mask-composite: exclude;

    pointer-events: none;
}

.section-one-visual:hover
.section-one-dashboard {
    transform:
        rotateY(0deg)
        rotateX(0deg)
        translateY(-8px);

    box-shadow:
        0 55px 100px rgba(16, 24, 40, 0.16),
        0 20px 45px rgba(23, 105, 255, 0.11),
        inset 0 1px 0 #ffffff;
}


/* =========================================================
   DASHBOARD HEADER
   ========================================================= */

.section-one-dashboard-header {
    height: 58px;

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

    padding: 0 20px;

    border-bottom: 1px solid rgba(16, 24, 40, 0.07);
}

.section-one-dashboard-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-one-brand-mark {
    width: 30px;
    height: 30px;

    display: grid;
    place-items: center;

    border-radius: 9px;

    background:
        linear-gradient(
            135deg,
            #1769ff,
            #4e9bff
        );

    color: white;

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

    box-shadow:
        0 6px 15px rgba(23, 105, 255, 0.2);
}

.section-one-brand-lines {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.section-one-brand-lines span {
    display: block;

    width: 52px;
    height: 5px;

    border-radius: 10px;

    background: #e6ebf2;
}

.section-one-brand-lines span:last-child {
    width: 34px;
}

.section-one-dashboard-dots {
    display: flex;
    gap: 5px;
}

.section-one-dashboard-dots span {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: #d0d5dd;
}


/* =========================================================
   DASHBOARD BODY
   ========================================================= */

.section-one-dashboard-body {
    padding: 30px;
}

.section-one-dashboard-label {
    margin-bottom: 10px;

    color: var(--section-one-primary);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 0.13em;
}

.section-one-dashboard-heading {
    color: #1d2939;

    font-size: 25px;
    line-height: 1.25;

    font-weight: 600;

    letter-spacing: -0.035em;
}

.section-one-dashboard-heading strong {
    color: #101828;

    font-weight: 800;
}


/* =========================================================
   CHART
   ========================================================= */

.section-one-chart {
    position: relative;

    height: 210px;

    margin-top: 28px;

    overflow: hidden;

    border-radius: 16px;

    background:
        linear-gradient(
            180deg,
            rgba(247, 250, 255, 0.8),
            rgba(255, 255, 255, 0.5)
        );
}

.section-one-chart-grid {
    position: absolute;
    inset: 0;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    padding: 22px 0;
}

.section-one-chart-grid span {
    width: 100%;
    height: 1px;

    background: rgba(16, 24, 40, 0.06);
}

.section-one-chart-line {
    position: absolute;
    inset: 10px 0 0;

    width: 100%;
    height: 100%;

    overflow: visible;
}

.section-one-chart-area {
    fill: url("#section-one-chart-fill");

    opacity: 0.13;
}

.section-one-chart-path {
    fill: none;

    stroke: url("#section-one-chart-gradient");

    stroke-width: 4;

    stroke-linecap: round;
    stroke-linejoin: round;

    stroke-dasharray: 800;
    stroke-dashoffset: 800;

    animation:
        section-one-chart-draw
        2s
        0.8s
        cubic-bezier(.22, 1, .36, 1)
        forwards;
}

.section-one-chart-point {
    fill: #ffffff;

    stroke: #1769ff;

    stroke-width: 4;

    filter:
        drop-shadow(
            0 5px 9px
            rgba(23, 105, 255, 0.3)
        );

    animation:
        section-one-point-pop
        0.5s
        2.45s
        cubic-bezier(.22, 1, .36, 1)
        both;
}


/* =========================================================
   MINI STATS
   ========================================================= */

.section-one-dashboard-stats {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 10px;

    margin-top: 17px;
}

.section-one-mini-stat {
    padding: 14px;

    border: 1px solid rgba(16, 24, 40, 0.06);
    border-radius: 12px;

    background: rgba(248, 250, 252, 0.72);

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

.section-one-mini-stat:hover {
    transform: translateY(-4px);

    background: #ffffff;

    border-color: rgba(23, 105, 255, 0.13);
}

.section-one-mini-stat-label {
    display: block;

    margin-bottom: 5px;

    color: #98a2b3;

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 0.08em;
}

.section-one-mini-stat strong {
    color: #344054;

    font-size: 14px;
}


/* =========================================================
   FLOATING CARDS
   ========================================================= */

.section-one-floating-card {
    position: absolute;
    z-index: 5;

    display: flex;
    align-items: center;

    gap: 11px;

    min-width: 185px;

    padding: 13px 15px;

    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 15px;

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

    box-shadow:
        0 20px 40px rgba(16, 24, 40, 0.12);

    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.section-one-floating-card:hover {
    box-shadow:
        0 25px 50px rgba(16, 24, 40, 0.16);
}

.section-one-floating-card-top {
    top: 90px;
    right: -20px;

    animation:
        section-one-floating-top
        5s
        ease-in-out
        infinite;
}

.section-one-floating-card-bottom {
    bottom: 65px;
    left: -35px;

    animation:
        section-one-floating-bottom
        5.5s
        0.7s
        ease-in-out
        infinite;
}

.section-one-floating-icon,
.section-one-floating-check {
    width: 35px;
    height: 35px;

    flex: 0 0 35px;

    display: grid;
    place-items: center;

    border-radius: 10px;

    background: var(--section-one-primary-light);

    color: var(--section-one-primary);

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

.section-one-floating-check {
    background: #eafaf0;
    color: #12b76a;
}

.section-one-floating-card strong {
    display: block;

    color: #344054;

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

.section-one-floating-card small {
    display: block;

    margin-top: 2px;

    color: #98a2b3;

    font-size: 10px;
}


/* =========================================================
   SCROLL INDICATOR
   ========================================================= */

.section-one-scroll-indicator {
    position: absolute;

    bottom: 28px;
    left: 50%;

    transform: translateX(-50%);

    display: flex;
    align-items: center;

    gap: 9px;

    color: #98a2b3;

    font-size: 9px;
    font-weight: 750;

    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.section-one-scroll-line {
    position: relative;

    width: 28px;
    height: 1px;

    overflow: hidden;

    background: #d0d5dd;
}

.section-one-scroll-line::after {
    content: "";

    position: absolute;

    top: 0;
    left: -100%;

    width: 100%;
    height: 100%;

    background: var(--section-one-primary);

    animation:
        section-one-scroll
        2s
        ease-in-out
        infinite;
}


/* =========================================================
   ANIMATIONS
   ========================================================= */

@keyframes section-one-content-enter {
    from {
        opacity: 0;
        transform: translateY(35px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes section-one-visual-enter {
    from {
        opacity: 0;
        transform:
            translateX(45px)
            scale(0.96);
    }

    to {
        opacity: 1;
        transform:
            translateX(0)
            scale(1);
    }
}

@keyframes section-one-orb-float {
    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }

    50% {
        transform: translate3d(0, -18px, 0);
    }
}

@keyframes section-one-glow {
    0%,
    100% {
        transform: scale(0.96);
        opacity: 0.65;
    }

    50% {
        transform: scale(1.08);
        opacity: 1;
    }
}

@keyframes section-one-pulse {
    0% {
        transform: scale(0.8);
        opacity: 0.8;
    }

    70%,
    100% {
        transform: scale(1.45);
        opacity: 0;
    }
}

@keyframes section-one-chart-draw {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes section-one-point-pop {
    from {
        opacity: 0;
        transform: scale(0);
        transform-origin: center;
    }

    to {
        opacity: 1;
        transform: scale(1);
        transform-origin: center;
    }
}

@keyframes section-one-floating-top {
    0%,
    100% {
        transform: translateY(0) rotate(1deg);
    }

    50% {
        transform: translateY(-12px) rotate(0deg);
    }
}

@keyframes section-one-floating-bottom {
    0%,
    100% {
        transform: translateY(0) rotate(-1deg);
    }

    50% {
        transform: translateY(11px) rotate(0deg);
    }
}

@keyframes section-one-scroll {
    0% {
        left: -100%;
    }

    50%,
    100% {
        left: 100%;
    }
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1050px) {

    .section-one-hero {
        padding-top: 90px;
    }

    .section-one-container {
        grid-template-columns: 1fr;

        gap: 60px;
    }

    .section-one-content {
        max-width: 820px;

        margin: 0 auto;

        text-align: center;
    }

    .section-one-badge {
        margin-left: auto;
        margin-right: auto;
    }

    .section-one-title {
        margin-left: auto;
        margin-right: auto;
    }

    .section-one-description {
        margin-left: auto;
        margin-right: auto;
    }

    .section-one-actions {
        justify-content: center;
    }

    .section-one-trust-row {
        justify-content: center;
    }

    .section-one-visual {
        min-height: 560px;
    }

    .section-one-floating-card-top {
        right: 4%;
    }

    .section-one-floating-card-bottom {
        left: 4%;
    }
}


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

@media (max-width: 650px) {

    .section-one-hero {
        min-height: auto;

        padding:
            80px
            18px
            80px;
    }

    .section-one-container {
        gap: 35px;
    }

    .section-one-badge {
        padding: 8px 12px;
    }

    .section-one-badge-text {
        font-size: 11px;
    }

    .section-one-title {
        font-size:
            clamp(
                38px,
                11vw,
                54px
            );

        line-height: 1.05;

        letter-spacing: -0.05em;
    }

    .section-one-title-highlight::after {
        height: 3px;
        bottom: -4px;
    }

    .section-one-description {
        font-size: 16px;
        line-height: 1.65;
    }

    .section-one-actions {
        flex-direction: column;

        gap: 12px;

        margin-bottom: 32px;
    }

    .section-one-primary-button {
        width: 100%;
        max-width: 310px;
    }

    .section-one-action-note {
        font-size: 11px;
    }

    .section-one-trust-row {
        gap: 14px;
    }

    .section-one-trust-divider {
        height: 30px;
    }

    .section-one-trust-number {
        font-size: 18px;
    }

    .section-one-trust-label {
        font-size: 8px;
    }

    .section-one-visual {
        min-height: 430px;
    }

    .section-one-dashboard {
        width: 100%;

        border-radius: 19px;

        transform: none;
    }

    .section-one-dashboard-header {
        height: 50px;

        padding: 0 15px;
    }

    .section-one-dashboard-body {
        padding: 20px;
    }

    .section-one-dashboard-heading {
        font-size: 20px;
    }

    .section-one-chart {
        height: 150px;
    }

    .section-one-dashboard-stats {
        gap: 6px;
    }

    .section-one-mini-stat {
        padding: 10px;
    }

    .section-one-mini-stat strong {
        font-size: 11px;
    }

    .section-one-floating-card {
        min-width: 145px;

        padding: 10px;

        border-radius: 12px;
    }

    .section-one-floating-card-top {
        top: 15px;
        right: -5px;
    }

    .section-one-floating-card-bottom {
        bottom: 20px;
        left: -5px;
    }

    .section-one-floating-card strong {
        font-size: 10px;
    }

    .section-one-floating-card small {
        font-size: 8px;
    }

    .section-one-floating-icon,
    .section-one-floating-check {
        width: 29px;
        height: 29px;

        flex-basis: 29px;

        font-size: 13px;
    }

    .section-one-scroll-indicator {
        display: none;
    }
}


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

@media (max-width: 420px) {

    .section-one-hero {
        padding-left: 15px;
        padding-right: 15px;
    }

    .section-one-trust-row {
        gap: 10px;
    }

    .section-one-trust-divider {
        height: 25px;
    }

    .section-one-trust-number {
        font-size: 16px;
    }

    .section-one-trust-label {
        font-size: 7px;
    }

    .section-one-floating-card-top {
        right: -8px;
    }

    .section-one-floating-card-bottom {
        left: -8px;
    }
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

.section-one-primary-button:focus-visible {
    outline: 3px solid rgba(23, 105, 255, 0.28);
    outline-offset: 5px;
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .section-one-hero *,
    .section-one-hero *::before,
    .section-one-hero *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;

        scroll-behavior: auto !important;

        transition-duration: 0.01ms !important;
    }

    .section-one-dashboard {
        transform: none;
    }
}