/* Amilma platforms page: product promo tiles, browser frames and calm motion */
.plt {
    --plt-ink: #10213d;
    --plt-muted: #526681;
    --plt-blue: #0865df;
    --plt-red: #c7223b;
    --plt-line: #dfe7f1;
    --plt-soft: #f5f8fc;
    overflow-x: clip;
    color: var(--plt-ink);
    font-family: var(--primary-font, "Manrope", sans-serif);
    background: #fff;
}

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

.plt a {
    text-decoration: none;
}

.plt img {
    display: block;
    max-width: 100%;
    height: auto;
}

.plt-wrap {
    width: min(1240px, calc(100% - 48px));
    margin-inline: auto;
}

.plt-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    color: var(--plt-red);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .13em;
    line-height: 1.3;
    text-transform: uppercase;
}

.plt-eyebrow::before {
    content: "";
    flex: none;
    width: 26px;
    height: 3px;
    border-radius: 2px;
    background: currentColor;
}

/* Hero */
.plt-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(72px, 9vw, 120px) 0 clamp(64px, 8vw, 104px);
    background:
        radial-gradient(55% 60% at 88% 8%, rgba(8, 101, 223, .16), transparent 70%),
        radial-gradient(40% 50% at 4% 96%, rgba(199, 34, 59, .10), transparent 70%),
        linear-gradient(180deg, #ffffff 0%, var(--plt-soft) 100%);
}

.plt-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: clamp(40px, 5vw, 80px);
    align-items: center;
}

.plt-hero h1 {
    margin: 0;
    font-size: clamp(42px, 4.9vw, 70px);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -.04em;
    color: var(--plt-ink);
    text-wrap: balance;
}

.plt-hero h1 span,
.plt-section-head h2 span {
    color: var(--plt-blue);
}

.plt-lead {
    max-width: 580px;
    margin: 26px 0 0;
    color: var(--plt-muted);
    font-size: 18px;
    line-height: 1.7;
}

.plt-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 36px;
}

.plt-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 54px;
    padding: 0 24px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition: transform .3s ease, box-shadow .3s ease, background-color .3s ease, border-color .3s ease, color .3s ease;
}

.plt-btn span {
    display: inline-block;
    transition: transform .3s ease;
}

.plt-btn:hover span {
    transform: translateX(4px);
}

.plt-btn-primary {
    background: var(--plt-blue);
    color: #fff;
    box-shadow: 0 14px 30px rgba(8, 101, 223, .28);
}

.plt-btn-primary:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(8, 101, 223, .36);
}

.plt-btn-outline {
    border: 1px solid #c4d3e6;
    background: rgba(255, 255, 255, .72);
    color: var(--plt-ink);
}

.plt-btn-outline:hover {
    border-color: var(--plt-blue);
    color: var(--plt-blue);
}

/* Hero collage: three floating captures of the live platforms */
.plt-collage {
    position: relative;
    min-height: 540px;
}

.plt-float {
    position: absolute;
    margin: 0;
    overflow: hidden;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 34px 70px rgba(16, 33, 61, .20), 0 2px 8px rgba(16, 33, 61, .08);
    animation: plt-fade .9s ease both, plt-bob 8s ease-in-out infinite;
}

.plt-float img {
    width: 100%;
}

.plt-float-1 {
    z-index: 2;
    top: 0;
    left: 0;
    width: 72%;
    animation-delay: 0s, 0s;
}

.plt-float-2 {
    z-index: 3;
    top: 28%;
    right: 0;
    width: 60%;
    animation-delay: .2s, -2.5s;
}

.plt-float-3 {
    z-index: 1;
    bottom: 0;
    left: 12%;
    width: 54%;
    animation-delay: .4s, -4.5s;
}

/* Hero entrance */
.plt-hero .plt-eyebrow,
.plt-hero h1,
.plt-hero .plt-lead,
.plt-hero .plt-actions {
    animation: plt-rise .9s cubic-bezier(.2, .7, .2, 1) both;
}

.plt-hero h1 {
    animation-delay: .08s;
}

.plt-hero .plt-lead {
    animation-delay: .16s;
}

.plt-hero .plt-actions {
    animation-delay: .24s;
}

/* Platform list */
.plt-list {
    padding: clamp(72px, 9vw, 120px) 0;
    background: var(--plt-soft);
}

.plt-section-head {
    max-width: 780px;
}

.plt-section-head h2,
.plt-cta h2 {
    margin: 0;
    font-size: clamp(36px, 4.2vw, 56px);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -.035em;
    color: var(--plt-ink);
    text-wrap: balance;
}

.plt-section-head p:not(.plt-eyebrow) {
    margin: 18px 0 0;
    color: var(--plt-muted);
    font-size: 17px;
    line-height: 1.65;
}

.plt-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 24px;
    margin-top: 56px;
}

.plt-card {
    --plt-accent: #22f60f;
    position: relative;
    z-index: 0;
    display: flex;
    flex-direction: column;
    min-height: 640px;
    padding: clamp(28px, 3.6vw, 52px);
    overflow: hidden;
    border-radius: 32px;
    color: #fff;
    box-shadow: 0 24px 60px rgba(8, 22, 46, .16);
    transition: translate .5s cubic-bezier(.2, .7, .2, 1), box-shadow .5s ease;
}

.plt-card:hover {
    translate: 0 -6px;
    box-shadow: 0 36px 80px rgba(8, 22, 46, .24);
}

.plt-card-wide {
    grid-column: span 12;
    flex-direction: row;
    align-items: flex-end;
    min-height: 580px;
}

.plt-card-half {
    grid-column: span 6;
}

.plt-card-reviews {
    --plt-accent: #22f60f;
    background:
        radial-gradient(90% 80% at 100% 0%, rgba(34, 246, 15, .22), transparent 60%),
        linear-gradient(160deg, #0a0d0b 0%, #101712 60%, #13231a 100%);
}

.plt-card-shop {
    --plt-accent: #15a34a;
    color: #0c2016;
    background:
        radial-gradient(90% 70% at 100% 0%, rgba(21, 163, 74, .18), transparent 60%),
        linear-gradient(160deg, #f6fbf7 0%, #e7f6ec 100%);
}

.plt-card-gta {
    --plt-accent: #ffb81c;
    background:
        radial-gradient(90% 70% at 100% 0%, rgba(255, 184, 28, .22), transparent 60%),
        linear-gradient(160deg, #170b33 0%, #2b1556 60%, #1d1140 100%);
}

.plt-card-copy {
    position: relative;
    z-index: 2;
    max-width: 480px;
    margin-bottom: 40px;
}

.plt-card-kicker {
    margin: 0 0 14px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .13em;
    line-height: 1.3;
    text-transform: uppercase;
    opacity: .8;
}

.plt-card h3 {
    margin: 0;
    font-size: clamp(32px, 3.2vw, 46px);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -.03em;
    color: inherit;
}

.plt-card-text {
    margin: 18px 0 0;
    font-size: 17px;
    line-height: 1.62;
    opacity: .86;
}

.plt-points {
    display: grid;
    gap: 10px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.plt-points li {
    position: relative;
    padding-left: 24px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
}

.plt-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .42em;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--plt-accent);
}

.plt-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    min-height: 50px;
    margin-top: 28px;
    padding: 0 22px;
    border-radius: 999px;
    background: var(--plt-accent);
    color: #0a0d0b;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition: transform .3s ease, box-shadow .3s ease;
}

.plt-card-cta span {
    display: inline-block;
    transition: transform .3s ease;
}

.plt-card-cta:hover {
    color: #0a0d0b;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, .2);
}

.plt-card-cta:hover span {
    transform: translate(2px, -2px);
}

.plt-card-shop .plt-card-cta {
    background: #0c2016;
    color: #fff;
}

.plt-card-shop .plt-card-cta:hover {
    color: #fff;
}

.plt-card-gta .plt-card-cta {
    color: #170b33;
}

/* Screenshots: browser window that bleeds off the bottom edge of each tile */
.plt-shot {
    position: relative;
    z-index: 1;
    display: block;
    margin: auto -12% -90px 0;
}

.plt-card-wide .plt-shot {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0 -64px -96px 0;
}

@media (min-width: 1100px) {
    .plt-card-wide .plt-card-copy {
        flex: 0 1 470px;
        max-width: 470px;
        margin-bottom: 0;
    }

    .plt-card-wide .plt-shot {
        margin: 0 -64px -96px 40px;
    }
}

.plt-frame {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 30px 60px rgba(0, 0, 0, .32);
}

.plt-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .34) 50%, transparent 62%);
    transform: translateX(-100%);
    transition: transform 1s ease;
    pointer-events: none;
}

.plt-card:hover .plt-frame::after {
    transform: translateX(100%);
}

.plt-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 14px;
    background: #edf1f6;
    border-bottom: 1px solid #d9e1ec;
}

.plt-bar i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #cdd6e3;
}

.plt-bar b {
    margin-left: 12px;
    padding: 4px 14px;
    border-radius: 999px;
    background: #fff;
    color: #5b6b82;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
}

.plt-frame img {
    width: 100%;
    transition: scale .8s cubic-bezier(.2, .7, .2, 1);
}

.plt-card:hover .plt-frame img {
    scale: 1.03;
}

/* Principles */
.plt-principles {
    padding: clamp(72px, 9vw, 116px) 0;
    background: #fff;
}

.plt-section-head-center {
    margin-inline: auto;
    text-align: center;
}

.plt-section-head-center .plt-eyebrow {
    justify-content: center;
}

.plt-principle-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 56px;
}

.plt-principle-grid article {
    padding: 34px 32px;
    border: 1px solid var(--plt-line);
    border-radius: 26px;
    background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
    transition: translate .4s ease, box-shadow .4s ease, border-color .4s ease;
}

.plt-principle-grid article:hover {
    translate: 0 -6px;
    border-color: #c4d7ef;
    box-shadow: 0 24px 50px rgba(16, 33, 61, .10);
}

.plt-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-bottom: 26px;
    border-radius: 14px;
    background: rgba(8, 101, 223, .1);
    color: var(--plt-blue);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .04em;
}

.plt-principle-grid h3 {
    margin: 0;
    color: var(--plt-ink);
    font-size: 23px;
    font-weight: 800;
    letter-spacing: -.02em;
}

.plt-principle-grid p {
    margin: 12px 0 0;
    color: var(--plt-muted);
    font-size: 15.5px;
    line-height: 1.68;
}

/* Closing call to action */
.plt-cta {
    padding: 0 0 clamp(72px, 9vw, 120px);
    background: #fff;
}

.plt-cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
    padding: clamp(36px, 5vw, 66px);
    overflow: hidden;
    border-radius: 36px;
    background:
        radial-gradient(60% 120% at 100% 0%, rgba(8, 101, 223, .6), transparent 62%),
        radial-gradient(55% 110% at 0% 100%, rgba(199, 34, 59, .5), transparent 62%),
        #10213d;
}

.plt-cta .plt-eyebrow {
    color: #ff9aaa;
}

.plt-cta h2 {
    color: #fff;
}

.plt-cta p:not(.plt-eyebrow) {
    max-width: 560px;
    margin: 16px 0 0;
    color: rgba(255, 255, 255, .8);
    font-size: 17px;
    line-height: 1.6;
}

.plt-cta-actions {
    display: flex;
    flex: none;
    flex-wrap: wrap;
    gap: 12px;
}

.plt-btn-white {
    background: #fff;
    color: var(--plt-ink);
}

.plt-btn-white:hover {
    color: var(--plt-blue);
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(0, 0, 0, .2);
}

.plt-btn-ghost {
    border: 1px solid rgba(255, 255, 255, .34);
    color: #fff;
}

.plt-btn-ghost:hover {
    border-color: #fff;
    color: #fff;
}

/* Entrance and scroll motion (scroll-driven where supported; content stays visible otherwise) */
@keyframes plt-fade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes plt-bob {
    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }

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

@keyframes plt-rise {
    from {
        opacity: 0;
        transform: translate3d(0, 26px, 0);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@supports (animation-timeline: view()) {
    .plt-section-head,
    .plt-card,
    .plt-principle-grid article,
    .plt-cta-box {
        animation: plt-rise linear both;
        animation-timeline: view();
        animation-range: entry 0% cover 34%;
    }
}

/* Responsive */
@media (max-width: 1099.98px) {
    .plt-hero-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .plt-collage {
        width: 100%;
        max-width: 680px;
        min-height: 460px;
        margin-inline: auto;
    }

    .plt-card-half {
        grid-column: span 12;
    }

    .plt-card-wide {
        flex-direction: column;
        align-items: stretch;
        min-height: 0;
    }

    .plt-shot,
    .plt-card-wide .plt-shot {
        margin: auto -4% -90px 0;
    }

    .plt-principle-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 767.98px) {
    .plt-wrap {
        width: calc(100% - 32px);
    }

    .plt-hero h1 {
        font-size: 44px;
    }

    .plt-lead {
        font-size: 16.5px;
    }

    .plt-collage {
        display: none;
    }

    .plt-card {
        min-height: 0;
        padding: 28px 24px;
        border-radius: 26px;
    }

    .plt-card h3 {
        font-size: 36px;
    }

    .plt-shot,
    .plt-card-wide .plt-shot {
        margin: auto -24px -48px 0;
    }

    .plt-principle-grid article {
        padding: 28px 24px;
    }

    .plt-cta-box {
        flex-direction: column;
        align-items: flex-start;
        border-radius: 28px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .plt *,
    .plt *::before,
    .plt *::after {
        animation: none !important;
        transition: none !important;
    }

    .plt-card:hover,
    .plt-principle-grid article:hover {
        translate: none !important;
    }

    .plt-card:hover .plt-frame img {
        scale: none !important;
    }
}
