@font-face {
    font-family: 'Madani Arabic';
    src: url('../home/fonts/MadaniArabic-Thin.ttf') format('truetype');
    font-weight: 100;
}

@font-face {
    font-family: 'Madani Arabic';
    src: url('../home/fonts/MadaniArabic-ExtraLight.ttf') format('truetype');
    font-weight: 200;
}

@font-face {
    font-family: 'Madani Arabic';
    src: url('../home/fonts/MadaniArabic-Light.ttf') format('truetype');
    font-weight: 300;
}

@font-face {
    font-family: 'Madani Arabic';
    src: url('../home/fonts/MadaniArabic-Regular.ttf') format('truetype');
    font-weight: 400;
}

@font-face {
    font-family: 'Madani Arabic';
    src: url('../home/fonts/MadaniArabic-Medium.ttf') format('truetype');
    font-weight: 500;
}

@font-face {
    font-family: 'Madani Arabic';
    src: url('../home/fonts/MadaniArabic-SemiBold.ttf') format('truetype');
    font-weight: 600;
}

@font-face {
    font-family: 'Madani Arabic';
    src: url('../home/fonts/MadaniArabic-Bold.ttf') format('truetype');
    font-weight: 700;
}

@font-face {
    font-family: 'Madani Arabic';
    src: url('../home/fonts/MadaniArabic-ExtraBold.ttf') format('truetype');
    font-weight: 800;
}

@font-face {
    font-family: 'Madani Arabic';
    src: url('../home/fonts/MadaniArabic-Black.ttf') format('truetype');
    font-weight: 900;
}

* {
    font-family: 'Madani Arabic', sans-serif;
}

.container {
    width: 100%;
    margin-inline: auto;
    padding-inline: 16px;
}

.inner-container {
    width: 100%;
    margin-inline: auto;
    padding-inline: 16px;
}

@media (min-width: 768px) {
    .container,
    .inner-container {
        padding-inline: 24px;
    }
}

@media (min-width: 1280px) {
    .container {
        max-width: 1328px !important;
        padding-inline: 0;
    }

    .inner-container {
        max-width: 1216px !important;
        padding-inline: 0;
    }
}

@media (min-width: 1536px) {
    .container {
        max-width: 1328px !important;
        margin-inline: auto;
    }

    .inner-container {
        max-width: 1216px !important;
        margin-inline: auto;
    }
}

button,
input {
    outline: unset;
}

/* ─── Animations ─── */

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Navbar */
#main-nav {
    --nav-py: 1.5rem;
    position: sticky;
    top: 0;
    z-index: 200;
    transition: background-color 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease, backdrop-filter 0.35s ease;
}

/* Page dim behind navbar while any dropdown is open (Figma: rgba(0,0,0,0.2)) */
.nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 150;
    background: rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

body:has(.nav-mega.is-open) .nav-backdrop,
body:has(.nav-mega:hover) .nav-backdrop,
body:has(.nav-mega:focus-within) .nav-backdrop {
    opacity: 1;
    visibility: visible;
}

#main-nav.nav-scrolled {
    --nav-py: 1rem;
    background-color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 24px rgba(106, 25, 255, 0.08);
    padding-block: 1rem;
}

#main-nav .logo img {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#main-nav .logo:hover img {
    transform: scale(1.05) rotate(-2deg);
}

/* Hero */
.hero-orbs {
    pointer-events: none;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.45;
    animation: orb-float 8s ease-in-out infinite;
}

.hero-orb--1 {
    width: 180px;
    height: 180px;
    background: #6A19FF;
    top: 15%;
    inset-inline-start: 8%;
    animation-delay: 0s;
}

.hero-orb--2 {
    width: 120px;
    height: 120px;
    background: #CFB7FF;
    bottom: 20%;
    inset-inline-end: 12%;
    animation-delay: -2.5s;
}

.hero-orb--3 {
    width: 90px;
    height: 90px;
    background: #F79009;
    top: 35%;
    inset-inline-end: 25%;
    animation-delay: -4s;
    opacity: 0.3;
}

@keyframes orb-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(20px, -25px) scale(1.08); }
    66% { transform: translate(-15px, 15px) scale(0.95); }
}

.hero-content > * {
    opacity: 0;
    transform: translateY(28px);
}

.hero-content.is-loaded > * {
    animation: hero-fade-up 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-content.is-loaded > .hero-badge { animation-delay: 0s; }
.hero-content.is-loaded > ul { animation-delay: 0.15s; }
.hero-content.is-loaded > h1 { animation-delay: 0.3s; }
.hero-content.is-loaded > p:nth-of-type(1) { animation-delay: 0.45s; }
.hero-content.is-loaded > div { animation-delay: 0.6s; }
.hero-content.is-loaded > p:nth-of-type(2) { animation-delay: 0.75s; }

/* Solutions hero — Figma 808:9875 / Rectangle 2 808:9877 */
.solutions-hero {
    background:
        radial-gradient(ellipse 90% 55% at 50% 100%, rgba(106, 25, 255, 0.14) 0%, transparent 65%),
        linear-gradient(180deg, #f7f6fb 0%, #f3f1ff 48%, #efeaff 100%);
    min-height: 800px;
}

.solutions-hero__plate {
    position: absolute;
    inset: 0;
    background-image: url('../solutions/hero-noise.png');
    background-size: cover;
    background-position: center top;
    opacity: 0.35;
    mix-blend-mode: soft-light;
    pointer-events: none;
    z-index: 0;
}

.solutions-hero__glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(48px);
    animation: solutions-glow-breathe 7s ease-in-out infinite;
}

.solutions-hero__glow--1 {
    width: min(1270px, 110%);
    height: 280px;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(106, 25, 255, 0.28);
}

.solutions-hero__glow--2 {
    width: min(900px, 80%);
    height: 320px;
    bottom: -120px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(168, 85, 247, 0.22);
    animation-delay: -2.5s;
}

@keyframes solutions-glow-breathe {
    0%, 100% { opacity: 0.7; transform: translateX(-50%) scale(1); }
    50% { opacity: 1; transform: translateX(-50%) scale(1.06); }
}

.solutions-hero__frame {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    width: 100%;
    z-index: 1;
    opacity: 0.9;
}

.solutions-hero__badge {
    width: fit-content;
    margin-inline: auto;
    margin-bottom: 16px;
    padding: 4px 8px 4px 4px;
    gap: 4px;
    background: #f3f1ff;
    border: 1px solid #d6cfff;
    color: #6819fa;
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
}

.solutions-hero__mock {
    margin-top: -8px;
}

.solutions-hero .dashboard-preview {
    filter: drop-shadow(0 24px 60px rgba(106, 25, 255, 0.16));
}

@media (max-width: 900px) {
    .solutions-hero {
        min-height: 0;
    }

    .solutions-hero .hero-content {
        padding-top: 48px;
    }

    .solutions-hero .hero-content h1 {
        font-size: 36px;
        line-height: 1.35;
        letter-spacing: -0.6px;
    }

    .solutions-hero .hero-content > div {
        flex-wrap: wrap;
    }
}

@keyframes hero-fade-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-icon-float {
    animation: icon-bob 3s ease-in-out infinite;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.hero-icon-float:nth-child(1) { animation-delay: 0s; }
.hero-icon-float:nth-child(2) { animation-delay: 0.4s; }
.hero-icon-float:nth-child(3) { animation-delay: 0.8s; }

.hero-icon-float:hover {
    transform: scale(1.15) translateY(-4px);
    box-shadow: 0 8px 24px rgba(106, 25, 255, 0.25);
}

@keyframes icon-bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.lightning-bolt {
    animation: lightning-zap 2.2s ease-in-out infinite;
    transform-origin: center;
}

@keyframes lightning-zap {
    0%, 100% { transform: scale(1) rotate(0deg); filter: drop-shadow(0 0 0 transparent); }
    15% { transform: scale(1.2) rotate(-8deg); filter: drop-shadow(0 0 8px rgba(104, 25, 250, 0.6)); }
    30% { transform: scale(1) rotate(4deg); }
    45% { transform: scale(1.15) rotate(-4deg); filter: drop-shadow(0 0 12px rgba(104, 25, 250, 0.8)); }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(106, 25, 255, 0.15);
    font-size: 13px;
    color: #6A19FF;
    margin-bottom: 12px;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #6A19FF;
    animation: pulse-dot 1.5s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-left.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-right.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.92) translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-scale.is-visible {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.reveal-stagger > * {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.25s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.35s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.45s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.55s; }
.reveal-stagger.is-visible > *:nth-child(7) { transition-delay: 0.65s; }
.reveal-stagger.is-visible > *:nth-child(8) { transition-delay: 0.75s; }

.reveal-stagger.is-visible > * {
    opacity: 1;
    transform: translateY(0);
}

/* Stats counter */
.stat-counter {
    display: inline-block;
    transition: transform 0.3s ease;
}

.stat-item:hover .stat-counter {
    transform: scale(1.05);
}

/* Cards */

.card-hover img {
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.card-hover:hover img {
    transform: scale(1.03);
}

/* Buttons */
.btn-animate,
.btn-outline-animate {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-animate {
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-animate::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.25) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.btn-animate:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(106, 25, 255, 0.3);
}

.btn-animate:hover::after {
    transform: translateX(100%);
}

.btn-animate:active {
    transform: translateY(0);
}

.btn-outline-animate {
    transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.btn-outline-animate:hover {
    transform: translateY(-2px);
    border-color: #6A19FF;
    background-color: rgba(106, 25, 255, 0.04);
}

/* ── Mega menu: لمن صُممت؟ / المصادر / انفنيتي ── */
.nav-mega {
    position: static;
    display: flex;
    align-items: center;
}

.nav-mega__trigger {
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 0;
    font: inherit;
}

.nav-mega__chevron {
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.nav-mega.is-open .nav-mega__chevron,
.nav-mega:hover .nav-mega__chevron,
.nav-mega:focus-within .nav-mega__chevron {
    transform: rotate(180deg);
}

.nav-mega.is-open .nav-mega__trigger,
.nav-mega:hover .nav-mega__trigger {
    font-weight: 600;
}

/* Panels pin to #main-nav bottom + 5px (sticky nav = containing block) */
.nav-mega__panel {
    position: absolute;
    top: calc(100% + 5px);
    left: 50%;
    width: 720px;
    max-width: min(720px, calc(100vw - 32px));
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    box-shadow:
        0 12px 16px -4px rgba(10, 13, 18, 0.08),
        0 4px 6px -2px rgba(10, 13, 18, 0.03),
        0 2px 2px -1px rgba(10, 13, 18, 0.04);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, 4px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 300;
    overflow: hidden;
}

.nav-mega.is-open .nav-mega__panel,
.nav-mega:hover .nav-mega__panel,
.nav-mega:focus-within .nav-mega__panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.nav-mega__inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    padding: 8px;
}

/* ── List dropdown: المصادر / انفنيتي (Figma 2:19472 / 2:19533) ── */
.nav-mega--list .nav-mega__panel--list {
    width: 240px;
    left: auto;
    right: 0;
    transform: translate(0, 4px);
}

.nav-mega--list.is-open .nav-mega__panel--list,
.nav-mega--list:hover .nav-mega__panel--list,
.nav-mega--list:focus-within .nav-mega__panel--list {
    transform: translate(0, 0);
}

.nav-drop {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 8px;
}

.nav-drop__item {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    color: #181d27;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    transition: background-color 0.2s ease;
}

.nav-drop__item span {
    flex: 1;
    text-align: right;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nav-drop__item img {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.nav-drop__item:hover,
.nav-drop__item:focus-visible {
    background: #fafafa;
    outline: none;
}

@media (max-width: 900px) {
    .nav-mega--list .nav-mega__panel--list {
        width: min(240px, calc(100vw - 24px));
        left: auto;
        right: 0;
    }
}

.nav-mega__item {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: stretch;
    padding: 16px 12px;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.nav-mega__item:hover {
    background: #fafafa;
}

.nav-mega__media {
    width: 100%;
    height: 140px;
    border-radius: 12px;
    overflow: hidden;
    background: #f8f8f8;
}

.nav-mega__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.nav-mega__text {
    text-align: right;
}

.nav-mega__text h5 {
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    color: #181d27;
    margin-bottom: 4px;
}

.nav-mega__text p {
    font-size: 14px;
    line-height: 20px;
    font-weight: 300;
    color: #535862;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 900px) {
    .nav-mega__panel {
        width: min(720px, calc(100vw - 24px));
        left: 50%;
    }

    .nav-mega__inner {
        grid-template-columns: 1fr;
        max-height: 70vh;
        overflow-y: auto;
    }

    .nav-mega__media {
        height: 120px;
    }
}

/* Dashboard preview float */
.dashboard-preview {
    animation: dashboard-float 6s ease-in-out infinite;
}

@keyframes dashboard-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* Avatar stack wave */
.avatar-wave li {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.avatar-wave:hover li:nth-child(1) { transform: translateY(-6px); transition-delay: 0s; }
.avatar-wave:hover li:nth-child(2) { transform: translateY(-10px); transition-delay: 0.05s; }
.avatar-wave:hover li:nth-child(3) { transform: translateY(-14px); transition-delay: 0.1s; }
.avatar-wave:hover li:nth-child(4) { transform: translateY(-10px); transition-delay: 0.15s; }
.avatar-wave:hover li:nth-child(5) { transform: translateY(-6px); transition-delay: 0.2s; }
.avatar-wave:hover li:nth-child(6) { transform: translateY(-4px); transition-delay: 0.25s; }
.avatar-wave:hover li:nth-child(7) { transform: translateY(-8px); transition-delay: 0.3s; }

/* Video cards */
.video-player {
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}

.video-player:hover {
    transform: scale(1.02);
    box-shadow: 0 16px 40px rgba(106, 25, 255, 0.15);
}

.video-play-btn {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}

.video-player:hover .video-play-btn {
    transform: scale(1.1);
}

/* CTA banner pulse */
.cta-banner {
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: -50%;
    background: radial-gradient(circle, rgba(106, 25, 255, 0.08) 0%, transparent 70%);
    animation: cta-glow 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes cta-glow {
    0%, 100% { transform: translate(0, 0); opacity: 0.5; }
    50% { transform: translate(5%, -5%); opacity: 1; }
}

/* Fun confetti dots in hero */
.hero-confetti {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    pointer-events: none;
    animation: confetti-fall linear infinite;
}

@keyframes confetti-fall {
    0% { transform: translateY(-10px) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(100vh) rotate(720deg); opacity: 0; }
}

/* About cards slide */
.about-card {
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.about-card:hover {
    transform: translateX(-6px);
    box-shadow: 0 12px 32px rgba(106, 25, 255, 0.1);
    border-color: rgba(106, 25, 255, 0.25);
}

.about-card:hover i {
    animation: icon-spin 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes icon-spin {
    from { transform: rotate(0deg) scale(1); }
    to { transform: rotate(360deg) scale(1.1); }
}

/* Nav links underline */
#main-nav ul li a {
    position: relative;
    transition: color 0.25s ease;
}

#main-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    inset-inline: 0;
    height: 2px;
    background: #6A19FF;
    transform: scaleX(0);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    border-radius: 2px;
}

#main-nav ul li a:hover {
    color: #6A19FF;
}

#main-nav ul li a:hover::after {
    transform: scaleX(1);
}
/* Features page */
.features-hero {
    background:
        radial-gradient(ellipse 90% 55% at 50% 100%, rgba(106, 25, 255, 0.14) 0%, transparent 65%),
        linear-gradient(180deg, #f7f6fb 0%, #f3f1ff 48%, #efeaff 100%);
    min-height: 800px;
}

.features-hero__plate {
    display: none;
}

.features-hero__grid {
    position: absolute;
    inset: 0;
    background-image: url('../features/hero-grid.svg');
    background-size: cover;
    background-position: center top;
    opacity: 0.55;
    pointer-events: none;
    z-index: 0;
}

.features-hero__glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(48px);
    animation: features-glow-breathe 7s ease-in-out infinite;
}

.features-hero__glow--1 {
    width: min(1270px, 110%);
    height: 280px;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(106, 25, 255, 0.28);
}

.features-hero__glow--2 {
    width: min(900px, 80%);
    height: 320px;
    bottom: -120px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(168, 85, 247, 0.22);
    animation-delay: -2.5s;
}

@keyframes features-glow-breathe {
    0%, 100% { opacity: 0.7; transform: translateX(-50%) scale(1); }
    50% { opacity: 1; transform: translateX(-50%) scale(1.06); }
}

.features-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    width: fit-content;
    margin-inline: auto;
    margin-bottom: 16px;
    padding: 4px 8px 4px 4px;
    background: #f3f1ff;
    border: 1px solid #d6cfff;
    color: #6819fa;
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    border-radius: 9999px;
}

.features-hero__mock {
    margin-top: -8px;
}

.features-hero .dashboard-preview {
    filter: drop-shadow(0 24px 60px rgba(106, 25, 255, 0.16));
}

.features-section-soft {
    background: linear-gradient(180deg, #fafafa 0%, #f7f6fb 100%);
}

.features-section-shot {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.features-cta {
    background: linear-gradient(135deg, #8855FF 0%, #6A19FF 100%);
}

.features-cta.cta-banner::before {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
}

.features-integrations {
    min-height: 420px;
}

.features-integrations__icons {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.features-integrations__icon {
    position: absolute;
    width: 72px;
    height: 72px;
    object-fit: contain;
    border-radius: 16px;
    animation: features-icon-float 4.5s ease-in-out infinite;
    filter: drop-shadow(0 8px 20px rgba(16, 24, 40, 0.08));
}

.features-integrations__icon--1 { top: 12%; right: 8%; animation-delay: 0s; }
.features-integrations__icon--2 { top: 8%; right: 22%; animation-delay: -0.4s; width: 64px; height: 64px; }
.features-integrations__icon--3 { top: 18%; right: 36%; animation-delay: -0.8s; }
.features-integrations__icon--4 { top: 6%; left: 50%; transform: translateX(-50%); animation-delay: -1.2s; width: 68px; height: 68px; }
.features-integrations__icon--5 { top: 18%; left: 36%; animation-delay: -1.6s; }
.features-integrations__icon--6 { top: 8%; left: 22%; animation-delay: -2s; width: 64px; height: 64px; }
.features-integrations__icon--7 { top: 12%; left: 8%; animation-delay: -2.4s; }
.features-integrations__icon--8 { top: 42%; right: 4%; animation-delay: -0.6s; width: 56px; height: 56px; }
.features-integrations__icon--9 { top: 42%; left: 4%; animation-delay: -1.8s; width: 56px; height: 56px; }
.features-integrations__icon--10 { top: 48%; left: 50%; transform: translateX(-50%); animation-delay: -2.8s; width: 60px; height: 60px; opacity: 0.9; }

@keyframes features-icon-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.features-integrations__icon--4,
.features-integrations__icon--10 {
    animation-name: features-icon-float-center;
}

@keyframes features-icon-float-center {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

@media (max-width: 900px) {
    .features-hero {
        min-height: 0;
    }

    .features-hero .hero-content {
        padding-top: 48px;
    }

    .features-hero .hero-content h1 {
        font-size: 36px;
        line-height: 1.35;
        letter-spacing: -0.6px;
    }

    .features-hero .hero-content > div {
        flex-wrap: wrap;
    }

    .features-integrations__icon {
        width: 44px;
        height: 44px;
    }

    .features-integrations__icon--2,
    .features-integrations__icon--6 {
        width: 40px;
        height: 40px;
    }

    .features-integrations {
        min-height: 360px;
    }
}

/* Home page hero (reference home.html) */
@media (max-width: 1100px) {
    body > header.container {
        height: auto !important;
        min-height: 0;
        max-height: none !important;
    }

    body > header.container > .overflow-hidden {
        height: auto;
        min-height: 520px;
    }

    body > header.container video,
    body > header.container > .overflow-hidden > img.absolute {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    body > header.container .hero-content {
        position: relative;
        height: auto;
        min-height: 520px;
        justify-content: flex-start;
        padding: 48px 24px 100px;
        z-index: 99;
    }

    body > header.container .hero-content h1 {
        font-size: 40px;
        line-height: 1.35;
    }

    body > header.container .hero-content h1 .lightning-bolt {
        width: 28px;
        height: 28px;
        inset-inline-end: -1.5rem;
    }

    body > header.container .hero-content > p:first-of-type {
        margin-bottom: 32px !important;
    }

    body > header.container .hero-content > p:last-of-type {
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }

    main > section:first-child .inner-container {
        margin-top: -100px;
    }
}

@media (max-width: 768px) {
    body > header.container {
        height: auto !important;
        max-height: none !important;
        min-height: 0;
        padding-inline: 12px;
    }

    body > header.container > .overflow-hidden {
        border-radius: 16px;
        min-height: 0;
        height: auto;
    }

    body > header.container .hero-content {
        position: relative;
        height: auto;
        min-height: 0;
        justify-content: flex-start;
        align-items: center;
        padding: 28px 16px 72px;
    }

    body > header.container .hero-content h1 {
        font-size: 26px;
        line-height: 1.4;
        margin-bottom: 12px !important;
    }

    body > header.container .hero-content h1 br {
        display: none;
    }

    body > header.container .hero-content h1 .lightning-bolt {
        display: none;
    }

    body > header.container .hero-content > p:first-of-type {
        font-size: 14px;
        margin-bottom: 20px !important;
        padding-inline: 4px;
    }

    body > header.container .hero-content > div {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        margin-bottom: 12px;
    }

    body > header.container .hero-content > div a {
        width: 100%;
        text-align: center;
    }

    body > header.container .hero-content > p:last-of-type {
        font-size: 13px;
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
        line-height: 20px !important;
    }

    body > header.container .hero-orbs {
        display: none;
    }

    body > header.container video,
    body > header.container > .overflow-hidden > img.absolute {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        min-height: 100%;
        object-fit: cover;
        object-position: center top;
    }

    main > section:first-child .inner-container {
        margin-top: -48px;
        margin-bottom: 48px;
    }

    main > section:first-child .dashboard-preview {
        padding: 12px;
        border-radius: 14px;
        animation: none;
    }

    main .grid.grid-cols-4 {
        grid-template-columns: 1fr 1fr;
    }

    main .grid.grid-cols-3,
    main .grid.grid-cols-2 {
        grid-template-columns: 1fr;
    }

    main .grid.grid-cols-3 .!-translate-y-\[40px\],
    main .grid.grid-cols-3 [class*="translate-y"] {
        transform: none !important;
    }

    main .grid.grid-cols-4.gap-6,
    .features-core-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .features-cta h3 {
        font-size: 32px;
        line-height: 1.35;
    }

    .features-integrations__icons {
        opacity: 0.45;
    }

    .features-integrations__icon--8,
    .features-integrations__icon--9,
    .features-integrations__icon--10 {
        display: none;
    }
}
@media (max-width: 768px) {
    .features-stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
}

@media (max-width: 520px) {
    .features-stats-grid {
        grid-template-columns: 1fr;
    }
}
/* Pricing page — Figma 2374:25135 (hero plate + overlapping cards) */
.pricing-group {
    position: relative;
}

.pricing-hero {
    background:
        linear-gradient(90deg, rgba(243, 241, 255, 0.3) 0%, rgba(243, 241, 255, 0.3) 100%),
        #ffffff;
    border-radius: 0 0 24px 24px;
    box-shadow:
        0 20px 24px -4px rgba(10, 13, 18, 0.08),
        0 8px 8px -4px rgba(10, 13, 18, 0.03),
        0 3px 3px -1.5px rgba(10, 13, 18, 0.04);
    position: relative;
    overflow: hidden;
    /* Extra bottom room so cards can sit inside the plate (Figma y≈614 / h=898) */
    padding-bottom: 300px;
    min-height: 520px;
}

.pricing-hero__bg {
    position: absolute;
    left: 50%;
    top: -8%;
    width: 155%;
    max-width: none;
    height: 120%;
    transform: translateX(-50%);
    object-fit: cover;
    pointer-events: none;
    z-index: 0;
    opacity: 0.95;
}

.pricing-hero__glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    filter: blur(90px);
    animation: features-glow-breathe 8s ease-in-out infinite;
}

.pricing-hero__glow--side-start {
    width: min(560px, 58%);
    height: 460px;
    top: 8%;
    inset-inline-start: -14%;
    background: rgba(106, 25, 255, 0.24);
}

.pricing-hero__glow--side-end {
    width: min(560px, 58%);
    height: 460px;
    top: 8%;
    inset-inline-end: -14%;
    background: rgba(136, 85, 255, 0.22);
    animation-delay: -3s;
}

.pricing-hero__glow--center {
    width: min(720px, 72%);
    height: 260px;
    top: -90px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(106, 25, 255, 0.1);
    animation-delay: -1.5s;
}

.pricing-hero__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin-inline: auto;
    padding: 4px 8px 4px 4px;
    background: #f3f1ff;
    border: 1px solid #d6cfff;
    color: #6819fa;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    border-radius: 9999px;
}

/* Pull cards up into the hero plate (Figma absolute top: 614px) */
.pricing-plans {
    position: relative;
    z-index: 4;
    margin-top: -280px;
    padding-bottom: 8px;
}

.pricing-tabs {
    box-shadow: 0 1px 2px rgba(10, 13, 18, 0.05);
}

.pricing-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    color: #717680;
    transition: color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.pricing-tab:hover { color: #414651; }

.pricing-tab.is-active {
    background: #6819fa;
    color: #fff;
    box-shadow: 0 1px 3px rgba(10, 13, 18, 0.1), 0 1px 2px -1px rgba(10, 13, 18, 0.1);
}

.pricing-card {
    position: relative;
    background: #fff;
    border: 1px solid #d5d7da;
    border-radius: 10px;
    box-shadow:
        0 12px 16px -4px rgba(10, 13, 18, 0.08),
        0 4px 6px -2px rgba(10, 13, 18, 0.03),
        0 2px 2px -1px rgba(10, 13, 18, 0.04);
    overflow: visible;
}

.pricing-card__header {
    position: relative;
    padding: 32px 32px 20px;
    text-align: center;
    overflow: hidden;
    border-radius: 10px 10px 0 0;
}

.pricing-card__body { padding: 8px 24px 24px; }

.pricing-card__footer {
    width: 100%;
    max-width: 277px;
    margin-inline: auto;
}

.pricing-card__mark {
    height: 32px;
    width: 63px;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

.pricing-card__glow-deco {
    position: absolute;
    inset: -12% -5% auto;
    width: 110%;
    height: 160%;
    object-fit: cover;
    pointer-events: none;
    opacity: 0.85;
    z-index: 0;
}

.pricing-card__item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #535862;
    font-size: 14px;
    font-weight: 300;
    line-height: 20px;
    width: 100%;
}

.pricing-card__item span {
    flex: 1;
    text-align: end;
}

.pricing-check-img {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    object-fit: contain;
}

.pricing-card--featured { z-index: 1; }
.pricing-card--featured .pricing-card__header { padding-top: 40px; }

.pricing-card--start .pricing-card__header {
    background: radial-gradient(ellipse 80% 70% at 50% 0%, rgba(4, 179, 100, 0.14) 0%, transparent 70%);
}
.pricing-card--gold .pricing-card__header {
    background: radial-gradient(ellipse 90% 80% at 50% 0%, rgba(253, 176, 34, 0.2) 0%, transparent 72%);
}
.pricing-card--pro .pricing-card__header {
    background: radial-gradient(ellipse 80% 70% at 50% 0%, rgba(106, 25, 255, 0.16) 0%, transparent 70%);
}

.pricing-card__ribbon {
    position: absolute;
    top: -9px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 2px 6px 2px 8px;
    border-radius: 9999px;
    background: #fffaeb;
    border: 1px solid #fedf89;
    color: #b54708;
    font-size: 12px;
    line-height: 18px;
    font-weight: 400;
    white-space: nowrap;
    box-shadow: 0 1px 1.5px rgba(10, 13, 18, 0.1), 0 1px 1px rgba(10, 13, 18, 0.1);
}

.pricing-card-float { animation: pricing-card-float 5.5s ease-in-out infinite; }
@keyframes pricing-card-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.pricing-badge {
    padding: 2px 6px 2px 8px;
    border-radius: 9999px;
    font-size: 12px;
    line-height: 18px;
    font-weight: 500;
}
.pricing-badge--success { background: #ecfdf3; border: 1px solid #abefc6; color: #067647; }
.pricing-badge--warning { background: #fffaeb; border: 1px solid #fedf89; color: #b54708; }
.pricing-badge--brand { background: #f3f1ff; border: 1px solid #d6cfff; color: #6819fa; }

.pricing-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
}
.pricing-card__cta--outline {
    background: #fff;
    color: #6a19ff;
    border: 1px solid #6a19ff;
    box-shadow: 0 1px 1px rgba(10, 13, 18, 0.05);
}
.pricing-card__cta--solid {
    background: #6a19ff;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 1px 2px rgba(10, 13, 18, 0.05);
}
.pricing-card__note {
    font-size: 12px;
    line-height: 18px;
    font-weight: 300;
    color: #535862;
}
.pricing-trust strong { font-weight: 500; }
.pricing-compare {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 12px;
}
.pricing-feat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.pricing-feat-icon img { width: 24px; height: 24px; object-fit: contain; }
.pricing-feat-card { transition: transform 0.25s ease, box-shadow 0.25s ease; }
.pricing-feat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(16, 24, 40, 0.08);
}
.pricing-cta { background: linear-gradient(180deg, #8855ff 50%, #6a19ff 96.67%); }
.pricing-cta__glow { opacity: 0.55; }
.pricing-cta__zap {
    position: absolute;
    top: 8px;
    inset-inline-start: -44px;
    width: 36px;
    height: 36px;
}

.solution-accordion-item[data-open="true"] .pricing-faq-icon__plus { opacity: 0; visibility: hidden; }
.solution-accordion-item[data-open="false"] .pricing-faq-icon__minus,
.solution-accordion-item:not([data-open="true"]) .pricing-faq-icon__minus { opacity: 0; visibility: hidden; }
.solution-accordion-item[data-open="true"] .pricing-faq-icon__minus { opacity: 1; visibility: visible; }
.solution-accordion-item[data-open="false"] .pricing-faq-icon__plus,
.solution-accordion-item:not([data-open="true"]) .pricing-faq-icon__plus { opacity: 1; visibility: visible; }

@media (max-width: 1024px) {
    .pricing-cards-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin-inline: auto;
    }
    .pricing-card-float { animation: none; }
    .pricing-card--featured { order: -1; }
}

@media (max-width: 900px) {
    .pricing-hero {
        min-height: 0;
        padding-bottom: 120px;
        border-radius: 0 0 16px 16px;
    }
    .pricing-plans { margin-top: -80px; }
    .pricing-hero .hero-content {
        padding-top: 56px !important;
        gap: 24px !important;
    }
    .pricing-hero .hero-content h1 {
        font-size: 36px;
        line-height: 1.35;
        letter-spacing: -0.6px;
    }
    .pricing-hero .hero-content p { font-size: 16px; line-height: 26px; }
    .pricing-tabs { flex-wrap: wrap; justify-content: center; max-width: 100%; }
    .pricing-cta__zap { left: -28px; width: 28px; height: 28px; }
}

@media (max-width: 768px) {
    .pricing-feat-grid { grid-template-columns: 1fr; }
    .pricing-cta h3, .cta-banner h3 { font-size: 28px; line-height: 1.35; }
    .pricing-cta { padding-inline: 24px !important; padding-block: 40px !important; }
}

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

/* ═══════════════════════════════════════════
   Mobile / small screens ONLY
   Desktop (≥1024) stays exactly as designed
   ═══════════════════════════════════════════ */

.nav-mobile-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 1px solid #d5d7da;
    background: #fff;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
}

.nav-mobile-toggle__bars {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 18px;
}

.nav-mobile-toggle__bars i {
    display: block;
    height: 2px;
    width: 100%;
    border-radius: 2px;
    background: #181d27;
    transition: transform 0.25s ease, opacity 0.2s ease;
}

#main-nav.is-mobile-open .nav-mobile-toggle__bars i:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
#main-nav.is-mobile-open .nav-mobile-toggle__bars i:nth-child(2) {
    opacity: 0;
}
#main-nav.is-mobile-open .nav-mobile-toggle__bars i:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile-panel {
    display: none;
}

@media (max-width: 1023px) {
    .nav-desktop-links {
        display: none !important;
    }

    .nav-lang,
    .nav-cta-desktop {
        display: none !important;
    }

    .nav-mobile-toggle {
        display: inline-flex;
    }

    #main-nav {
        padding-block: 1rem;
    }

    #main-nav .logo img {
        max-height: 32px;
        width: auto;
    }

    .nav-mobile-panel {
        display: none;
        position: absolute;
        inset-inline: 0;
        top: 100%;
        background: #fff;
        border-top: 1px solid #e9eaeb;
        box-shadow: 0 16px 40px rgba(16, 24, 40, 0.12);
        max-height: min(78vh, 640px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        z-index: 250;
    }

    #main-nav.is-mobile-open .nav-mobile-panel,
    .nav-mobile-panel:not([hidden]) {
        display: block;
    }

    .nav-mobile-panel__inner {
        display: flex;
        flex-direction: column;
        gap: 4px;
        padding: 12px 16px 24px;
    }

    .nav-mobile-link,
    .nav-mobile-acc > summary {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 14px 12px;
        border-radius: 10px;
        color: #181d27;
        font-size: 15px;
        line-height: 22px;
        font-weight: 400;
        text-decoration: none;
        list-style: none;
        cursor: pointer;
    }

    .nav-mobile-link:hover,
    .nav-mobile-acc > summary:hover {
        background: #fafafa;
    }

    .nav-mobile-acc > summary::-webkit-details-marker {
        display: none;
    }

    .nav-mobile-acc > summary::after {
        content: '';
        width: 8px;
        height: 8px;
        border-inline-end: 1.5px solid #a4a7ae;
        border-bottom: 1.5px solid #a4a7ae;
        transform: rotate(45deg);
        transition: transform 0.2s ease;
        margin-inline-start: 8px;
        flex-shrink: 0;
    }

    .nav-mobile-acc[open] > summary::after {
        transform: rotate(225deg);
    }

    .nav-mobile-acc__body {
        display: flex;
        flex-direction: column;
        gap: 2px;
        padding: 0 8px 8px 20px;
    }

    .nav-mobile-acc__body a {
        display: block;
        padding: 10px 12px;
        border-radius: 8px;
        color: #414651;
        font-size: 14px;
        line-height: 20px;
        text-decoration: none;
    }

    .nav-mobile-acc__body a:hover {
        background: #f5f5f5;
        color: #6a19ff;
    }

    .nav-mobile-cta {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: 12px;
        padding-top: 16px;
        border-top: 1px solid #e9eaeb;
    }

    body.nav-mobile-lock {
        overflow: hidden;
    }

    /* Soften mega hover on touch devices when somehow visible */
    .nav-backdrop {
        display: none !important;
    }
}

@media (max-width: 768px) {
    html {
        overflow-x: hidden;
    }

    body {
        overflow-x: hidden;
    }

    .container,
    .inner-container {
        padding-inline: 16px;
    }

    /* Stats */
    main .grid.grid-cols-4 .stat-item {
        padding: 16px 12px;
    }

    main .grid.grid-cols-4 .stat-counter {
        font-size: 32px !important;
        line-height: 40px !important;
        margin-bottom: 12px !important;
    }

    main .grid.grid-cols-4 .stat-item p {
        font-size: 14px !important;
        line-height: 22px !important;
    }

    main .grid.grid-cols-4 .stat-item br {
        display: none;
    }

    /* Section headings */
    main h2.text-\[14px\],
    main h3.text-\[14px\],
    main .text-\[14px\].text-primary,
    main .text-\[14px\].text-\[\#0086C9\],
    main .text-\[14px\].text-\[\#00B8AF\] {
        font-size: 13px !important;
    }

    main h3.text-\[30px\],
    main h4.text-\[30px\],
    main .text-\[30px\] {
        font-size: 22px !important;
        line-height: 32px !important;
    }

    main h5.text-\[24px\],
    main h6.text-\[24px\],
    main .text-\[24px\] {
        font-size: 18px !important;
        line-height: 28px !important;
    }

    /* Soften large section paddings / gaps from Tailwind utilities */
    main .mb-\[80px\] {
        margin-bottom: 48px !important;
    }

    main .p-\[80px\] {
        padding: 32px 16px !important;
    }

    main .p-\[64px\],
    main .cta-banner.p-\[64px\] {
        padding: 40px 20px !important;
    }

    main .gap-\[48px\],
    main .gap-\[80px\],
    main .gap-\[96px\] {
        gap: 24px !important;
    }

    main .p-\[54px\] {
        padding: 24px 16px !important;
    }

    /* Features block */
    main .inner-container.border.bg-\[\#FAFAFA\] {
        border-radius: 12px !important;
    }

    /* Videos */
    main .video-player {
        height: 280px !important;
    }

    main .video-player:hover {
        transform: none;
    }

    /* How it works — force single column already via grid-cols-3 rule */
    main section.relative > img.absolute {
        opacity: 0.35;
        object-fit: cover;
        min-height: 100%;
    }

    /* CTA */
    .cta-banner h3,
    .cta-banner .text-\[48px\] {
        font-size: 28px !important;
        line-height: 1.35 !important;
    }

    .cta-banner .text-\[24px\] {
        font-size: 16px !important;
        line-height: 24px !important;
    }

    .cta-banner .lightning-bolt {
        display: none;
    }

    .cta-banner .flex.items-center.justify-center.gap-4 {
        flex-direction: column;
        width: 100%;
    }

    .cta-banner .flex.items-center.justify-center.gap-4 > a {
        width: 100%;
        max-width: 280px;
    }

    /* Footer */
    footer.inner-container > .flex.items-center.justify-between {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        margin-bottom: 40px !important;
        text-align: center;
    }

    footer.inner-container form.flex {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    footer.inner-container form input {
        width: 100% !important;
    }

    footer.inner-container .grid.grid-cols-12 {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
        margin-bottom: 40px !important;
    }

    footer.inner-container .col-span-4,
    footer.inner-container .col-span-8 {
        grid-column: span 1 / span 1 !important;
    }

    footer.inner-container .col-span-8.grid.grid-cols-4 {
        grid-template-columns: 1fr 1fr !important;
        gap: 24px !important;
    }

    footer.inner-container > .flex.justify-between.items-center.py-8 {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    footer.inner-container .flex.items-center.gap-8 {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }

    /* Accordion copy spacing */
    #solutions-accordion .ps-\[52px\] {
        padding-inline-start: 0 !important;
        padding-top: 8px;
    }

    #solutions-accordion .accordion-wrapper {
        padding: 16px !important;
    }
}

@media (max-width: 480px) {
    main .grid.grid-cols-4 {
        grid-template-columns: 1fr !important;
    }

    footer.inner-container .col-span-8.grid.grid-cols-4 {
        grid-template-columns: 1fr !important;
    }

    body > header.container .hero-content {
        padding: 24px 14px 56px;
    }

    body > header.container .hero-content h1 {
        font-size: 22px;
    }

    main .video-player {
        height: 220px !important;
    }

    .cta-banner {
        border-radius: 12px !important;
    }
}

/* Back to top */
.back-to-top {
    position: fixed;
    inset-inline-end: 20px;
    bottom: 24px;
    z-index: 180;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 12px;
    background: #6a19ff;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(106, 25, 255, 0.35);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease, background-color 0.2s ease;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #5810e0;
}

.back-to-top:active {
    transform: translateY(1px);
}

@media (max-width: 768px) {
    .back-to-top {
        width: 44px;
        height: 44px;
        inset-inline-end: 14px;
        bottom: 18px;
        border-radius: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .back-to-top {
        transition: none;
    }
}
