@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;700;800&display=swap');

:root {
    color-scheme: light;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-background);
}

body.nav-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

p,
ul,
h1,
h2,
h3 {
    margin-top: 0;
}

ul {
    margin-bottom: 0;
    padding-left: 1.25rem;
}

img {
    display: block;
    max-width: 100%;
}

main {
    display: block;
}

.site-shell {
    min-height: 100vh;
}

.container {
    width: min(calc(100% - var(--container-gutter)), var(--container-width));
    margin-inline: auto;
}

.section {
    padding-block: var(--section-space);
}

.eyebrow,
.card__eyebrow {
    margin-bottom: 0.75rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-primary);
}

.lead {
    max-width: 42rem;
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--color-text-muted);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    min-height: var(--header-height);
    border-bottom: 1px solid var(--color-border);
    background: rgb(var(--color-surface-rgb) / 0.96);
    backdrop-filter: blur(14px);
}

.site-header__inner {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1.4rem;
    min-height: var(--header-height);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    justify-self: start;
}

.brand__logo {
    width: auto;
    height: 2rem;
    object-fit: contain;
    flex-shrink: 0;
}

.brand__text {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
    font-family: var(--font-heading);
}

.brand__name,
.brand__accent {
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
}

.brand__name {
    font-size: 1.25rem;
    color: var(--color-text);
}

.brand__accent {
    font-size: 1.25rem;
    color: var(--color-primary);
}

.site-header__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.25rem;
    justify-self: end;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.6rem;
}

.site-nav__link {
    padding-block: 0.35rem;
    font-size: 0.96rem;
    font-weight: 700;
    color: var(--color-text);
    transition:
        color var(--transition-base),
        transform var(--transition-base);
}

.site-nav__link:hover,
.site-nav__link:focus-visible,
.site-nav__link.is-active {
    color: var(--color-primary);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 0.35rem;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border: 0;
    border-radius: 999px;
    background: rgb(var(--color-primary-rgb) / 0.08);
    cursor: pointer;
}

.nav-toggle span {
    width: 1.2rem;
    height: 2px;
    border-radius: 999px;
    background: var(--color-primary-strong);
    transition: transform var(--transition-base), opacity var(--transition-base);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(0.45rem) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-0.45rem) rotate(-45deg);
}

.site-nav__cta {
    display: none;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.8rem;
    padding: 0.95rem 1.45rem;
    border: 1px solid transparent;
    border-radius: 0.9rem;
    font-size: 0.98rem;
    font-weight: 800;
    transition:
        transform var(--transition-base),
        background var(--transition-base),
        color var(--transition-base),
        border-color var(--transition-base),
        box-shadow var(--transition-base);
}

.button:hover,
.button:focus-visible {
    transform: translateY(-2px);
}

.button--primary {
    color: #ffffff;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-strong));
    box-shadow: var(--shadow-card);
}

.button--outline {
    border-color: var(--color-primary);
    background: var(--color-surface);
    color: var(--color-primary);
}

.button--accent {
    color: #ffffff;
    background: linear-gradient(135deg, var(--color-accent), #ff9a3b);
    box-shadow: 0 18px 40px rgb(var(--color-accent-rgb) / 0.26);
}

.header-cta {
    min-height: 2rem;
    padding: 0.6rem 1.2rem;
    white-space: nowrap;
}

.hero {
    padding-block: clamp(3.5rem, 6vw, 5rem);
    background: var(--color-surface-alt);
    border-bottom: 1px solid var(--color-border);
}

.hero__grid,
.contact-grid {
    display: grid;
    gap: clamp(2rem, 4vw, 3.5rem);
}

.hero__grid {
    grid-template-columns: minmax(0, 0.96fr) minmax(22rem, 1.04fr);
    align-items: center;
}

.hero__content {
    max-width: 37rem;
}

.hero__headline,
.section-heading h1,
.section-heading h2 {
    font-family: var(--font-heading);
    letter-spacing: -0.05em;
}

.hero__headline {
    margin-bottom: 1.6rem;
    font-size: clamp(2.65rem, 5vw, 4.55rem);
    line-height: 1.08;
}

.hero__highlight {
    color: var(--color-accent);
}

.section-heading h2 {
    font-size: clamp(1.8rem, 4vw, 3rem);
}

.section-heading h1 {
    font-size: clamp(2.2rem, 4.6vw, 3.5rem);
    line-height: 1.12;
}

.hero__copy {
    max-width: 35rem;
    font-size: clamp(1.22rem, 2vw, 1.52rem);
    line-height: 1.6;
    color: var(--color-text);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2.5rem;
}

.hero-visual {
    position: relative;
    width: 100%;
    padding: 1.25rem 1.2rem 3.25rem 1.2rem;
}

.hero-visual__frame {
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.hero-visual__image {
    display: block;
    width: 100%;
    min-height: 26rem;
    object-fit: cover;
    box-shadow: 0 32px 90px rgb(var(--color-primary-rgb) / 0.18);
}

.hero-float-card {
    position: absolute;
    z-index: 2;
    --float-base-transform: translate3d(0, 0, 0);
    --float-x: 0.45rem;
    --float-y: 0.35rem;
    border: 1px solid rgb(255 255 255 / 0.32);
    border-radius: 1.35rem;
    background: linear-gradient(180deg, rgb(255 255 255 / 0.44) 0%, rgb(255 255 255 / 0.24) 100%);
    box-shadow: 0 20px 50px rgb(23 41 88 / 0.12);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    will-change: transform;
    animation: hero-float-orbit 8s ease-in-out infinite;
}

.hero-float-card__eyebrow,
.hero-float-card__subtitle,
.hero-float-card__title,
.hero-float-card__meta,
.hero-float-card__foot {
    margin: 0;
}

.hero-float-card__eyebrow {
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: rgb(255 255 255 / 0.84);
}

.hero-float-card__title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.12;
    color: #1a2235;
}

.hero-float-card__subtitle {
    margin-top: 0.2rem;
    font-size: 0.82rem;
    color: rgb(255 255 255 / 0.78);
}

.hero-float-card__content {
    min-width: 0;
}

.hero-float-card--top-left {
    top: 0;
    left: 0;
    display: flex;
    gap: 0.85rem;
    width: min(100%, 13.5rem);
    padding: 0.9rem 1rem;
    animation-duration: 7.8s;
}

.hero-float-card--presence .hero-float-card__icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 0.85rem;
    background: linear-gradient(135deg, rgb(45 88 240 / 0.92), rgb(78 124 255 / 0.8));
    box-shadow: 0 14px 28px rgb(45 88 240 / 0.14);
    flex-shrink: 0;
}

.hero-float-card__icon {
    width: 1.25rem;
    height: 1.25rem;
}

.hero-float-card--presence .hero-float-card__title {
    margin-top: 0.08rem;
    font-size: 1.08rem;
}

.hero-float-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 0.8rem;
    font-size: 0.74rem;
    color: rgb(255 255 255 / 0.8);
}

.hero-float-card__meta strong,
.hero-float-card__foot strong {
    color: #2558d8;
}

.hero-float-card__progress {
    display: block;
    height: 0.28rem;
    margin-top: 0.45rem;
    border-radius: 999px;
    background: rgb(232 238 248 / 0.58);
    overflow: hidden;
}

.hero-float-card__progress-bar {
    display: block;
    width: 92%;
    height: 100%;
    background: linear-gradient(90deg, #2558d8, #4e7cff);
}

.hero-float-card--right {
    top: 34%;
    right: -1.75rem;
    width: min(100%, 15.25rem);
    padding: 1rem 1rem 0.9rem;
    --float-x: 0.55rem;
    --float-y: 0.4rem;
    animation-duration: 9.2s;
    animation-delay: -2.4s;
}

.hero-float-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.65rem;
}

.hero-float-card__badge {
    position: relative;
    padding-right: 0.8rem;
    font-size: 0.74rem;
    font-weight: 800;
    color: #ff6b5b;
}

.hero-float-card__badge::after {
    content: "";
    position: absolute;
    top: 0.28rem;
    right: 0;
    width: 0.38rem;
    height: 0.38rem;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(-45deg);
}

.hero-float-card__chart {
    height: 5.4rem;
    margin-top: 0.8rem;
    border-radius: 1rem;
    background: linear-gradient(180deg, rgb(240 244 250 / 0.5) 0%, rgb(233 239 248 / 0.28) 100%);
    overflow: hidden;
}

.hero-float-card__chart svg {
    width: 100%;
    height: 100%;
}

.hero-float-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 0.75rem;
    font-size: 0.74rem;
    color: rgb(255 255 255 / 0.8);
}

.hero-float-card__danger-bar {
    display: block;
    width: 3rem;
    height: 0.28rem;
    margin-top: 0.5rem;
    border-radius: 999px;
    background: linear-gradient(90deg, rgb(216 35 35 / 0.9), rgb(255 94 94 / 0.7));
}

.hero-float-card--bottom {
    left: 50%;
    bottom: 0;
    display: flex;
    align-items: center;
    gap: 0.95rem;
    width: min(100%, 17.8rem);
    padding: 0.95rem 1.2rem;
    --float-base-transform: translateX(-50%);
    --float-x: 0.38rem;
    --float-y: 0.3rem;
    animation-duration: 8.6s;
    animation-delay: -1.4s;
}

.hero-float-card__status-dot {
    width: 0.95rem;
    height: 0.95rem;
    border-radius: 50%;
    background: #35cb63;
    box-shadow: 0 0 0 0.28rem rgb(53 203 99 / 0.18);
    flex-shrink: 0;
}

.hero-float-card--balance .hero-float-card__eyebrow {
    color: rgb(255 255 255 / 0.84);
}

.hero-float-card--balance .hero-float-card__title {
    margin-top: 0.1rem;
    font-size: 1rem;
}

.hero-float-card__amount {
    padding-left: 1rem;
    margin-left: auto;
    border-left: 1px solid rgb(231 237 247 / 0.55);
    font-size: 1.3rem;
    font-weight: 800;
    line-height: 1.15;
    color: #2558d8;
}

@keyframes hero-float-orbit {
    0% {
        transform: var(--float-base-transform) translate3d(0, 0, 0);
    }

    25% {
        transform: var(--float-base-transform) translate3d(var(--float-x), calc(var(--float-y) * -1), 0);
    }

    50% {
        transform: var(--float-base-transform) translate3d(calc(var(--float-x) * 0.4), calc(var(--float-y) * 1.05), 0);
    }

    75% {
        transform: var(--float-base-transform) translate3d(calc(var(--float-x) * -1), calc(var(--float-y) * 0.15), 0);
    }

    100% {
        transform: var(--float-base-transform) translate3d(0, 0, 0);
    }
}

.cards-grid,
.contact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards-grid {
    display: grid;
    gap: 1.25rem;
}

.card {
    height: 100%;
    padding: 1.6rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: rgb(var(--color-surface-rgb) / 0.94);
    box-shadow: var(--shadow-soft);
}

.card--accent {
    background:
        linear-gradient(180deg, rgb(var(--color-surface-rgb) / 0.98), rgb(var(--color-primary-rgb) / 0.08)),
        var(--color-surface);
}

.card h2,
.card h3 {
    margin-bottom: 0.8rem;
    font-family: var(--font-heading);
}

.card p,
.feature-list li,
.site-footer__text,
.site-footer__contact,
.site-footer__copy {
    color: var(--color-text-muted);
    line-height: 1.7;
}

.feature-list li + li {
    margin-top: 0.8rem;
}

.section-heading {
    margin-bottom: 2rem;
}

.site-footer {
    padding-block: 2rem;
    border-top: 1px solid var(--color-border);
    background: rgb(var(--color-surface-rgb) / 0.96);
}

.site-footer__inner {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    align-items: start;
}

.site-footer__brand {
    margin-bottom: 0.4rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--color-text);
}

.site-footer__contact {
    display: grid;
    gap: 0.35rem;
}

.site-footer__copy {
    text-align: right;
}

@media (max-width: 1100px) {
    .site-header__inner {
        grid-template-columns: auto 1fr auto;
        gap: 1rem;
    }

    .site-header__actions {
        justify-self: stretch;
    }

    .header-cta {
        display: none;
    }

    .nav-toggle {
        display: inline-flex;
        justify-self: end;
    }

    .site-nav {
        position: absolute;
        top: calc(100% + 0.75rem);
        right: 0;
        left: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
        gap: 0.35rem;
        border: 1px solid var(--color-border);
        border-radius: var(--radius-md);
        background: rgb(var(--color-surface-rgb) / 0.99);
        box-shadow: var(--shadow-soft);
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav__link {
        padding: 0.8rem 0.95rem;
        border-radius: var(--radius-sm);
    }

    .site-nav__cta {
        display: inline-flex;
        margin-top: 0.45rem;
    }

    .hero__grid,
    .cards-grid,
    .contact-grid,
    .site-footer__inner {
        grid-template-columns: 1fr;
    }

    .hero__content {
        max-width: 100%;
    }

    .hero-visual {
        order: -1;
        max-width: 42rem;
        margin-inline: auto;
    }

    .site-footer__copy {
        text-align: left;
    }
}

@media (max-width: 640px) {
    .brand__name,
    .brand__accent {
        font-size: 1rem;
    }

    .container {
        width: min(calc(100% - var(--container-gutter-mobile)), var(--container-width));
    }

    .hero {
        padding-block: 2.5rem 3.25rem;
    }

    .hero__actions {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .hero-visual__image {
        min-height: 21.5rem;
    }

    .hero-visual {
        padding: 0.9rem 0.35rem 2.8rem 0.35rem;
    }

    .hero-float-card--top-left {
        width: 9.8rem;
        padding: 0.7rem 0.75rem;
    }

    .hero-float-card--presence .hero-float-card__icon-box {
        width: 2.2rem;
        height: 2.2rem;
    }

    .hero-float-card__icon {
        width: 1rem;
        height: 1rem;
    }

    .hero-float-card__title {
        font-size: 0.88rem;
    }

    .hero-float-card__subtitle,
    .hero-float-card__meta,
    .hero-float-card__foot,
    .hero-float-card__eyebrow {
        font-size: 0.62rem;
    }

    .hero-float-card--right {
        top: 39%;
        width: 10.9rem;
        padding: 0.75rem;
    }

    .hero-float-card__chart {
        height: 4rem;
    }

    .hero-float-card__danger-bar {
        width: 2rem;
    }

    .hero-float-card--bottom {
        width: 12.5rem;
        gap: 0.65rem;
        padding: 0.75rem 0.8rem;
    }

    .hero-float-card__status-dot {
        width: 0.75rem;
        height: 0.75rem;
    }

    .hero-float-card__amount {
        padding-left: 0.7rem;
        font-size: 0.94rem;
    }

    .card {
        padding: 1.25rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-float-card {
        animation: none;
    }
}
