:root {
    --primary: #2563EB;
    --secondary: #7C3AED;
    --primary-invert: #fff;
    --secondary-invert: #fff;

    --gradient-primary: linear-gradient(135deg, #2563EB, #7C3AED);
    --gradient-secondary: linear-gradient(135deg, #1e1b4b, #312e81);

    --Green: #10b981;
    --Yellow: #f59e0b;
    --Blue: #06b6d4;
    --Purple: #8b5cf6;

    --text-primary: #1e293b;
    --text-secondary: #64748b;

    --elements-roundness: 10px;

    --space-between-blocks: 5rem;
    --space-between-blocks-small-screens: 3rem;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

html {
    scroll-behavior: smooth;
}

@media only screen and (min-width: 992px) {
    .container {
        max-width: 1200px !important;
    }
}

.space-between-blocks {
    padding-top: var(--space-between-blocks-small-screens);
    padding-bottom: var(--space-between-blocks-small-screens);
}

@media (min-width: 992px) {
    .space-between-blocks {
        padding-top: var(--space-between-blocks);
        padding-bottom: var(--space-between-blocks);
    }
}

/* =================== BUTTONS =================== */

button {
    color: inherit;
    padding: 0;
    background: none;
    border: none;
}

button:focus {
    outline: none;
    box-shadow: none;
}

.btn {
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.85rem 2rem;
    border: none;
    border-radius: var(--elements-roundness);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    letter-spacing: 0.01em;
}

.btn,
.btn:hover,
.btn:focus {
    outline: none;
}

.btn:hover,
.btn:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn-primary,
.btn-primary:hover,
.btn-primary:focus {
    background: var(--gradient-primary);
    color: var(--primary-invert);
}

.btn-primary:hover {
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.4);
}

.btn-secondary,
.btn-secondary:hover,
.btn-secondary:focus {
    background: white;
    color: var(--text-primary);
    border: 2px solid #e2e8f0;
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-primary--outline,
.btn-primary--outline:hover,
.btn-primary--outline:focus {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-primary--outline:hover {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
}

.btn-sm {
    padding: 0.7rem 1.4rem;
    font-size: 0.85rem;
}

.highlight { color: var(--primary); }
.highlight--green { color: var(--Green); }
.highlight--yellow { color: var(--Yellow); }
.highlight--blue { color: var(--Blue); }
.highlight--purple { color: var(--Purple); }

/* =================== SECTION HEADERS =================== */

.block__header {
    margin-bottom: 3rem;
}

.block__title {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.block__title--big {
    font-weight: 800;
    font-size: 2rem;
    letter-spacing: -0.02em;
}

@media (min-width: 992px) {
    .block__title {
        font-size: 2.5rem;
    }

    .block__title--big {
        font-size: 3rem;
        line-height: 1.2;
    }

    .block__header {
        margin-bottom: 4rem;
    }
}

.block__paragraph {
    font-weight: 400;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.block__paragraph--big {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-secondary);
}

@media (min-width: 992px) {
    .block__paragraph--big {
        font-size: 1.25rem;
        line-height: 1.7;
    }
}

.section-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 1.2rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(124, 58, 237, 0.1));
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

/* =================== ICONS =================== */

.fr-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    height: 3rem;
    width: 3rem;
    border-radius: 12px;
    color: var(--primary);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(124, 58, 237, 0.1));
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.fr-icon--medium {
    font-size: 1.5rem;
    height: 3.5rem;
    width: 3.5rem;
}

.fr-icon--large {
    font-size: 1.4rem;
    height: 3.5rem;
    width: 3.5rem;
}

@media (min-width: 992px) {
    .fr-icon--large {
        height: 4rem;
        width: 4rem;
        font-size: 1.8rem;
    }
}

/* =================== HERO SECTION =================== */

.hero {
    --hero-nav-height: 80px;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow: hidden;
    background: linear-gradient(135deg, #f0f4ff 0%, #e8e0ff 50%, #f5f0ff 100%);
}

/* Hero video background mode */
.hero--video-bg {
    background: #0a0a1a;
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-video-bg__iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 177.78vh; /* 16:9 ratio to cover full height */
    min-width: 100%;
    height: 100vh;
    min-height: 100%;
    transform: translate(-50%, -50%);
    border: 0;
    pointer-events: none;
}

.hero-video-bg__video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-video-bg__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 10, 30, 0.7) 0%, rgba(37, 99, 235, 0.5) 50%, rgba(124, 58, 237, 0.5) 100%);
    z-index: 1;
}

.hero--video-bg .hero__content {
    z-index: 2;
}

.hero--video-bg::before,
.hero--video-bg::after {
    display: none;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -15%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-nav {
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 1200px;
    height: var(--hero-nav-height);
    display: flex;
    align-items: center;
    z-index: 10;
    padding: 0 1rem;
}

.hero-nav__item {
    margin: auto;
    font-size: 0.95rem;
}

@media (min-width: 992px) {
    .hero-nav__item {
        margin: 0 0.8rem;
    }
}

@media (min-width: 992px) {
    .nav--lg-side {
        flex-direction: row-reverse;
    }
}

.hero-nav__logo {
    height: 45px;
    transition: all 0.3s ease;
}

.hero-nav__link {
    color: var(--text-primary);
    opacity: 0.8;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.hero-nav__link:focus,
.hero-nav__link:hover {
    color: var(--primary);
    text-decoration: none;
    opacity: 1;
}

/* Mobile menu */
.ft-menu {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 2000;
    animation-name: fadeOut;
    animation-duration: 0.3s;
    animation-fill-mode: both;
}

@media (print), (prefers-reduced-motion: reduce) {
    .ft-menu {
        animation-duration: 1ms !important;
        transition-duration: 1ms !important;
        animation-iteration-count: 1 !important;
    }
}

.ft-menu .hero-nav__item {
    width: 100%;
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
}

@media (min-width: 992px) {
    .ft-menu .hero-nav__item {
        width: auto;
        margin-top: 0;
        margin-bottom: 0;
    }
}

.ft-menu--js-show {
    animation-name: fadeIn;
    animation-duration: 0.3s;
}

.ft-menu::before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    background: rgba(30, 27, 75, 0.9);
    backdrop-filter: blur(10px);
    z-index: -1;
}

@media (min-width: 992px) {
    .ft-menu {
        animation-name: none;
        position: static;
        z-index: auto;
    }

    .ft-menu::before {
        content: none;
    }
}

.ft-menu__slider {
    color: var(--text-primary);
    background: white;
    width: 80%;
    height: 100%;
    overflow: hidden;
    transform: translateX(-100%);
    transition: 0.4s transform cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 4px 0 30px rgba(0, 0, 0, 0.1);
}

@media (min-width: 992px) {
    .ft-menu__slider {
        background: transparent;
        width: auto;
        height: auto;
        transform: none;
        display: flex;
        align-items: center;
        box-shadow: none;
    }
}

.ft-menu--js-show .ft-menu__slider {
    transform: translateX(0);
}

.ft-menu__close-btn {
    color: white;
    position: absolute;
    right: 0;
    top: 0;
    font-size: 2rem;
    margin: 1rem;
    transform: translateX(100%);
    transition: 0.4s transform;
}

@media (min-width: 992px) {
    .ft-menu__close-btn {
        display: none;
    }
}

.ft-menu--js-show .ft-menu__close-btn {
    transform: translateX(0);
}

.ft-menu__close-btn:focus,
.ft-menu__close-btn:hover {
    color: white;
}

@keyframes fadeIn {
    from { visibility: hidden; opacity: 0; }
    to { visibility: visible; opacity: 1; }
}

@keyframes fadeOut {
    from { visibility: visible; opacity: 1; }
    to { visibility: hidden; opacity: 0; }
}

.fixed-nav-container {
    height: var(--hero-nav-height);
}

.hero-nav--is-sticky {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: var(--text-primary);
    position: fixed !important;
    left: 0;
    right: 0;
    margin: auto;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    padding: 0.8rem 1.5rem !important;
    height: 70px;
    transition: 0.3s all cubic-bezier(0.4, 0, 0.2, 1);
    animation-duration: 0.6s;
    animation-fill-mode: both;
    animation-name: slideInDown;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

@media (min-width: 992px) {
    .hero-nav--is-sticky {
        height: 70px;
        border-radius: 0;
        padding: 0.8rem 2rem !important;
        max-width: 100%;
    }
}

.ft-menu__slider {
    color: var(--text-primary);
}

.hero-nav--is-sticky .ft-menu__slider {
    color: var(--text-primary);
}

.hero-nav--is-sticky .btn-primary {
    background: var(--gradient-primary);
    color: var(--primary-invert);
}

@keyframes slideInDown {
    from {
        transform: translate3d(0, -100%, 0);
        visibility: visible;
    }
    to {
        transform: translate3d(0, 0, 0);
    }
}

.ft-menu__slider .hero-nav__item {
    font-size: 1rem;
    padding: 0 0.8rem;
}

@media (min-width: 992px) {
    .ft-menu__slider .hero-nav__item {
        padding: 0;
    }
}

.hero-nav__link {
    display: flex;
    align-items: center;
    outline: 0 !important;
}

.ft-menu__slider {
    overflow-x: hidden;
    overflow-y: auto;
}

@media (min-width: 992px) {
    .ft-menu__slider {
        overflow: visible;
    }
}

/* Dropdown */
.hero-nav__item--with-dropdown {
    position: relative;
    cursor: pointer;
}

@media (min-width: 992px) {
    .hero-nav__item--with-dropdown::before {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        height: 176%;
    }
}

.hero-nav__dropdown {
    position: static;
    width: 100%;
    height: auto;
    font-size: 0.9rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    transition: 0.3s all;
    color: var(--text-primary);
    text-align: initial;
    cursor: auto;
}

@media (min-width: 992px) {
    .hero-nav__dropdown {
        position: absolute;
        top: 176%;
        left: 0;
        margin-top: 0;
        border-radius: 12px;
        border-top: none;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
        background-color: #fff;
        z-index: 2;
        max-height: 0;
        padding: 1.5rem 2rem;
        overflow: visible;
        transition: 0.3s all;
    }
}

.dropdown--important {
    position: absolute;
    width: auto !important;
    top: 176%;
    left: 0;
    border-radius: 12px;
    border-top: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    background-color: #fff;
    z-index: 2;
    max-height: 0;
    padding: 1.5rem 2rem;
    overflow: visible;
    transition: 0.3s all;
}

@media (min-width: 992px) {
    .dropdown--of-1-columns { width: 300px; }
    .dropdown--of-2-columns { width: 600px; }
    .dropdown--language-selector { width: 250px; }
}

.hero-nav__item--show-dropdown .hero-nav__dropdown {
    margin-top: 1rem;
    visibility: visible;
    opacity: 1;
    max-height: 9999px;
    padding-top: 1rem;
}

@media (min-width: 992px) {
    .hero-nav__item--show-dropdown .hero-nav__dropdown {
        margin-top: 0;
        padding: 1.5rem 2rem;
    }
}

.hero-nav__item-chevron {
    transition: 0.3s all;
}

.hero-nav__item--show-dropdown .hero-nav__item-chevron {
    transform: rotate(180deg);
}

.hero-nav__item--dropdown-left .hero-nav__dropdown { transform: translateX(-15px) !important; }
.hero-nav__item--dropdown-left .hero-nav__dropdown::before { left: 15%; right: auto; }
.hero-nav__item--dropdown-right .hero-nav__dropdown { transform: translateX(15px) !important; left: auto; right: 0; }
.hero-nav__item--dropdown-right .hero-nav__dropdown::before { left: auto; right: 15%; }

@media (min-width: 992px) {
    .hero-nav__item--lg-dropdown-left .hero-nav__dropdown { transform: translateX(-15px) !important; left: 0; right: auto; }
    .hero-nav__item--lg-dropdown-left .hero-nav__dropdown::before { left: 15%; right: auto; }
    .hero-nav__item--lg-dropdown-right .hero-nav__dropdown { transform: translateX(15px) !important; left: auto; right: 0; }
    .hero-nav__item--lg-dropdown-right .hero-nav__dropdown::before { left: auto; right: 15%; }
}

.dropdown--important::before,
.hero-nav__dropdown::before {
    display: none;
}

@media (min-width: 992px) {
    .hero-nav__dropdown::before {
        content: '';
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 0 8px 8px 8px;
        border-color: transparent transparent #fff transparent;
        position: absolute;
        top: -8px;
        left: 0;
        right: 0;
        margin: auto;
        display: block;
    }
}

.dropdown__title {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.8rem;
    display: block;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.dropdown__link {
    display: flex;
    align-items: flex-start;
    position: relative;
    cursor: pointer;
    margin-bottom: 0.8rem;
    color: inherit;
    text-decoration: none;
    padding: 0.5rem;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.dropdown__link:focus,
.dropdown__link:hover {
    color: inherit;
    text-decoration: none;
    background: rgba(37, 99, 235, 0.05);
}

.dropdown__icon {
    width: 36px;
    height: 36px;
    background: var(--gradient-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 13px;
    flex-shrink: 0;
}

.dropdown__item { max-width: 250px; }

.dropdown__item-title {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.5;
}

.dropdown__item-title::before { display: none; }

.dropdown__item-description {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 0.2rem;
    margin-bottom: 0;
}

/* Hero body */
.hero__row {
    height: 350px;
    position: static;
}

@media (min-width: 992px) {
    .hero__row {
        height: 100%;
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        margin: 0;
    }
}

.hero__image-column {
    height: 100%;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.hero__content {
    text-align: initial;
}

.hero__body {
    padding-top: 2rem;
    padding-bottom: 3rem;
    position: relative;
    z-index: 1;
}

@media (min-width: 992px) {
    .hero__body {
        padding-top: 5rem;
        padding-bottom: 8rem;
    }
}

.hero__title {
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.15;
    background: linear-gradient(135deg, #2563EB, #7C3AED);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__paragraph {
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.8;
    color: var(--text-secondary);
}

@media (min-width: 576px) {
    .hero__title {
        font-size: 2.8rem;
        line-height: 1.15;
    }
    .hero__paragraph {
        width: 85%;
    }
}

@media (min-width: 768px) {
    .hero__title { font-size: 3.2rem; }
}

@media (min-width: 992px) {
    .hero__title {
        font-size: 3.8rem;
        line-height: 1.15;
    }
    .hero__paragraph {
        font-size: 1.25rem;
        width: 85%;
    }
}

@media (min-width: 1200px) {
    .hero__title {
        font-size: 4rem;
        line-height: 1.15;
    }
}

.hero__btns-container {
    margin-left: -0.5rem;
    margin-right: -0.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero__btn {
    border-radius: 12px !important;
    padding: 1rem 2rem !important;
    font-size: 1rem !important;
}

/* Trust badges */
.hero__trust {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.hero__trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.hero__trust-icon {
    width: 20px;
    height: 20px;
    color: var(--Green);
}

/* Floating shapes */
.hero__shape {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.hero__shape--1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(124, 58, 237, 0.05));
    top: 10%;
    right: 5%;
    animation: float 8s ease-in-out infinite;
}

.hero__shape--2 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.08), rgba(37, 99, 235, 0.04));
    bottom: 20%;
    left: 5%;
    animation: float 6s ease-in-out infinite reverse;
}

.hero__shape--3 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.06), rgba(37, 99, 235, 0.04));
    top: 50%;
    right: 30%;
    animation: float 10s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* =================== FEATURES =================== */

.block-1 {
    background: #fff;
    color: var(--text-primary);
}

.card-1 {
    height: 100%;
    padding: 2rem;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #f1f5f9;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-1:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
    border-color: transparent;
}

.card-1:hover .fr-icon {
    background: var(--gradient-primary);
    color: white;
}

.card-1__title {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.card-1__paragraph {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.mb-2-1rem {
    margin-bottom: 1.5rem;
}

/* =================== INDUSTRIES =================== */

.block-2 {
    background: #f8fafc;
    color: var(--text-primary);
    position: relative;
    z-index: 0;
}

.block-2-card {
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 16px;
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
}

@media (min-width: 992px) {
    .block-2-card { padding: 2rem; }
}

.block-2-card__title {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.4;
}

@media (min-width: 992px) {
    .block-2-card__title { font-size: 1.3rem; }
}

.block-2-card__paragraph {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
}

.block-2-card {
    display: none !important;
}

.block-2-card:first-child {
    display: flex !important;
}

@media (min-width: 992px) {
    .block-2-card:first-child,
    .block-2-card:nth-child(2),
    .block-2-card:nth-child(3) {
        display: flex !important;
    }
}

.splide__track {
    overflow: visible !important;
}

.block-2 {
    overflow-y: hidden;
}

.block-2 .splide__track .splide__slide {
    height: auto !important;
    display: flex !important;
}

.block-2 {
    position: relative;
}

@media (min-width: 992px) {
    .block-2::after,
    .block-2::before {
        content: '';
        position: absolute;
        right: 0;
        left: 0;
        width: 100%;
        height: var(--space-between-blocks);
        background: #f8fafc;
        z-index: 1;
    }
    .block-2::before { top: 0; }
    .block-2::after { bottom: 0; }
}

.block-2__splide {
    overflow: hidden;
    position: relative;
}

@media (min-width: 992px) {
    .block-2__splide {
        overflow: visible;
        position: static;
    }
}

.splide__arrows { display: none; }

.block-2__custom-arrows.splide__arrows { display: block; }

.block-2__splide::after,
.block-2__splide::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    width: calc(100% + 2rem);
    margin: 0 -1rem;
    height: 2rem;
    z-index: 1;
}

@media (min-width: 992px) {
    .block-2__splide::after,
    .block-2__splide::before { height: 9rem; }
}

.block-2__splide::before {
    top: 0;
    background: linear-gradient(to bottom, #f8fafc 0, transparent 100%);
}

.block-2__splide::after {
    bottom: 0;
    background: linear-gradient(to top, #f8fafc 0, transparent 100%);
}

.block-2__splide-btn {
    position: absolute;
    right: 0;
    left: 0;
    margin: auto;
    bottom: 34px;
    width: 50px;
    height: 2rem;
    border-radius: 10rem;
    color: white;
    background: var(--gradient-primary);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    transform: rotate(90deg);
    z-index: 2;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

@media (min-width: 992px) {
    .block-2__splide-btn { right: 22%; left: auto; }
}

.block-2__splide-btn:focus,
.block-2__splide-btn:hover {
    background: var(--gradient-primary);
    color: white;
    transform: rotate(90deg) scale(1.1);
}

.splide__slide.is-active .fr-icon {
    background: var(--gradient-primary);
    color: white;
}

.block-2-card__title { position: relative; }

.block-2-card__title::before {
    content: '';
    position: absolute;
    bottom: 1px;
    right: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: 0.3s;
    border-radius: 3px;
}

.splide__slide.is-active .block-2-card__title::before {
    opacity: 1;
}

.block-2__svg-shapes { display: none; }

@media (min-width: 1400px) {
    .block-2__splide::after,
    .block-2__splide::before { max-width: 89%; margin: auto; }
    .block-2__splide-btn { right: 25%; }
}

/* =================== STATISTICS =================== */

.block-38 {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #1e1b4b 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.block-38::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.2), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.block-38 .block__title--big {
    color: white;
}

.block-38 .block__paragraph--big {
    color: rgba(255, 255, 255, 0.7);
}

.block__pre-title {
    color: var(--Blue);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.stats {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    color: white;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    --stats-li-border-color: rgba(255, 255, 255, 0.1);
}

.stats__li {
    border-bottom: 1px solid var(--stats-li-border-color);
    padding: 2rem 0 !important;
}

.stats__li:last-child { border-bottom: none; }

.stats__li {
    border-right: 1px solid var(--stats-li-border-color);
}

.stats__li:nth-child(3),
.stats__li:nth-child(4) { border-bottom: none; }

.stats__li:nth-child(even) { border-right: none; }

@media (min-width: 992px) {
    .stats__li {
        border-bottom: none;
        border-right: 1px solid var(--stats-li-border-color) !important;
        padding: 2.5rem 0 !important;
    }
    .stats__li:last-child { border-right: none !important; }
}

.stats__number {
    font-size: 2.8rem;
    font-weight: 900;
    background: linear-gradient(135deg, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stats__text {
    width: 80%;
    margin: auto;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.5rem;
}

@media (min-width: 992px) {
    .stats__text { width: 80%; }
}

/* =================== CTA =================== */

.block-29 {
    background: var(--gradient-primary);
    color: white;
    position: relative;
    overflow: hidden;
    padding: 3rem 2rem;
}

.block-29::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

@media (min-width: 992px) {
    .block-29 {
        border-radius: 20px;
        padding: 4rem 3rem;
    }
}

.block-29__title {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.block-29__paragraph {
    font-size: 1.05rem;
    line-height: 1.7;
    opacity: 0.85;
}

.block-29__paragraph,
.block-29__title {
    text-align: center;
}

@media (min-width: 992px) {
    .block-29__title { font-size: 2.5rem; }
    .block-29__paragraph,
    .block-29__title { text-align: initial; }
    .block-29__paragraph { width: 90%; }
}

.block-29 .btn-secondary,
.block-29 .btn-secondary:hover,
.block-29 .btn-secondary:focus {
    background: white;
    color: var(--primary);
    border: none;
    font-weight: 700;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.block-29 .btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

/* =================== FOOTER =================== */

.block-44 {
    background: #0f172a;
    color: #cbd5e1;
    font-size: 0.95rem;
    text-align: center;
    padding-top: 4rem;
}

@media (min-width: 992px) {
    .block-44 { text-align: initial; }
}

.block-44__divider {
    margin: 2rem 0;
    border-color: rgba(255, 255, 255, 0.08);
}

.block-44__extra-links {
    justify-content: center;
}

@media (min-width: 768px) {
    .block-44__extra-links { justify-content: flex-start; }
}

.block-44__link {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.block-44__link:focus,
.block-44__link:hover {
    color: white;
    background: var(--gradient-primary);
    border-color: transparent;
    text-decoration: none;
}

.block-41__copyrights {
    color: #64748b;
    line-height: 1.7;
    font-size: 0.85rem;
}

.footer-brand__logo {
    height: 40px;
    margin-bottom: 1rem;
}

.footer-brand__tagline {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 300px;
}

.footer__heading {
    color: white;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 1.2rem;
    letter-spacing: 0.02em;
}

.footer__link {
    color: #94a3b8;
    text-decoration: none;
    display: block;
    padding: 0.3rem 0;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer__link:hover {
    color: white;
    text-decoration: none;
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem 0;
    margin-top: 2rem;
}

/* =================== CONTACT =================== */

.block-27 {
    --space-between-blocks: 1rem;
    --elements-roundness: 10px;
    background: white;
    color: var(--text-primary);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.block-27__row { height: 300px; }

@media (min-width: 992px) {
    .block-27__row {
        position: absolute;
        top: 0; left: 0; right: 0; bottom: 0;
        z-index: -1;
        height: 100%;
    }
}

.block-27__image-column {
    height: 100%;
    background-position: center;
    background-size: cover;
}

.contact-form__title {
    font-size: 2.2rem;
    font-weight: 800;
}

.contact-form__paragraph {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.contact-form__input {
    color: var(--text-primary);
    font-size: 0.95rem;
    padding: 0.9rem 1.2rem;
    border-radius: 10px;
    border: 2px solid #e2e8f0;
    background: #fff;
    width: 100%;
    margin-bottom: 0.75rem;
    transition: border-color 0.3s ease;
}

textarea.contact-form__input {
    height: 130px;
    resize: none;
}

.contact-form__input:focus {
    border-color: var(--primary);
    outline: 0;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.btn--loading {
    opacity: 1;
    cursor: progress;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn--loading::after,
.btn--loading::before {
    content: '';
    position: absolute;
    left: 0; top: 0; right: 0; bottom: 0;
}

.btn--loading::before {
    background: var(--primary);
    width: 100%;
    height: 100%;
    z-index: 1;
}

@keyframes spin {
    0% { transform: rotate(0); }
    100% { transform: rotate(360deg); }
}

.btn--loading::after {
    margin: auto;
    border: 2px solid transparent;
    border-radius: 50%;
    border-top: 2px solid white;
    width: 1.5rem;
    height: 1.5rem;
    animation: spin 0.5s linear infinite;
    z-index: 2;
}

/* =================== TESTIMONIALS =================== */

.block-20 {
    background: #f8fafc;
    color: var(--text-primary);
}

.testimonial-card-1 {
    border-radius: 20px;
    position: relative;
    padding: 2rem;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #f1f5f9;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.testimonial-card-1:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

@media (min-width: 992px) {
    .testimonial-card-1 {
        height: 100%;
        margin-bottom: 0;
    }
}

.testimonial-card-1__paragraph {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.testimonial-card-1__quote-symbol {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--gradient-primary);
    color: white;
    font-size: 1.1rem;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.block-20-person {
    text-align: left;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f1f5f9;
    transform: none;
    margin-bottom: 0;
}

.block-20-person__avatar {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    object-fit: cover;
    border: none;
    padding: 0;
}

.block-20-person__rating {
    font-size: 0.7rem;
    color: #f59e0b;
}

.block-20-person__name {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
}

.block-20-person__info {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-decoration: none;
}

@media (min-width: 1400px) {
    #block__container { max-width: 100%; }
}

/* =================== FAQ =================== */

.block-39 {
    background: white;
    color: var(--text-primary);
}

.content-block {
    text-align: initial;
    margin-bottom: 0;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-top: 0.75rem;
}

.content-block:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.08);
}

.content-block.active {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.03), rgba(124, 58, 237, 0.03));
}

@media (min-width: 992px) {
    .content-block { width: 100%; }
}

.content-block__title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0;
    line-height: 1.5;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.content-block__title::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--primary);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.content-block.active .content-block__title::after {
    content: '-';
}

.content-block__paragraph {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 0;
    margin-top: 0;
}

.content-block.active .content-block__paragraph {
    max-height: 500px;
    margin-top: 1rem;
}

@media (min-width: 992px) {
    .content-block__title { font-size: 1.1rem; }
}

/* =================== PAGE/BLOG =================== */

.article-block {
    background: white;
    color: var(--text-primary);
}

.article-block__title {
    font-size: 2.1rem;
    font-weight: 800;
    line-height: 1.4;
}

.article-block__info {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

.article-block__author {
    color: inherit;
    position: relative;
    padding-right: 13px;
    margin-right: 13px;
}

.article-block__author:focus,
.article-block__author:hover {
    color: var(--primary);
    text-decoration: underline;
}

.article-block__author::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    height: 90%;
    margin: auto;
    width: 3px;
    transform: rotate(10deg);
    background: var(--gradient-primary);
    border-radius: 3px;
}

.article-block__header-img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.article h2, .article h3, .article h4, .article h5, .article h6 {
    font-weight: 700;
    line-height: 1.4;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}

.article-container__title {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.4;
    margin: 0;
}

.article {
    padding: 0 1.5rem;
}

.article p {
    line-height: 2;
    margin-bottom: 1rem;
}

@media (min-width: 992px) {
    .article { padding-left: 3rem; padding-right: 3rem; }
}

.article img, .article video { width: 100%; border-radius: 12px; }

pre {
    background: #1e293b;
    color: #e2e8f0;
    padding: 1.5rem;
    border-radius: 12px;
    font-size: 0.9rem;
}

ol, ul { line-height: 2; }

blockquote {
    margin: 0 0 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(124, 58, 237, 0.05));
    font-style: italic;
    margin-top: 2rem;
    border-left: 4px solid var(--primary);
    border-radius: 0 12px 12px 0;
}

.h-100 {
    height: 100% !important;
}

/* =================== SCROLL ANIMATIONS =================== */

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll.delay-1 { transition-delay: 0.1s; }
.animate-on-scroll.delay-2 { transition-delay: 0.2s; }
.animate-on-scroll.delay-3 { transition-delay: 0.3s; }
.animate-on-scroll.delay-4 { transition-delay: 0.4s; }

/* =================== UTILITIES =================== */

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* =================== GLOBAL VIDEO BACKGROUND =================== */

.global-video-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.global-video-bg video,
.global-video-bg iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: 177.78vh;
    height: 100vh;
    transform: translate(-50%, -50%);
    border: 0;
    pointer-events: none;
    object-fit: cover;
}

.global-video-bg__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--video-overlay-bg, linear-gradient(135deg, rgba(10, 10, 30, 0.65) 0%, rgba(37, 99, 235, 0.4) 50%, rgba(124, 58, 237, 0.4) 100%));
}

body:has(.global-video-bg) {
    background: transparent !important;
}

/* Hero section */
body:has(.global-video-bg) .hero {
    background: transparent !important;
}

body:has(.global-video-bg) .hero::before,
body:has(.global-video-bg) .hero::after {
    display: none !important;
}

body:has(.global-video-bg) .hero__shape {
    display: none !important;
}

body:has(.global-video-bg) .hero__title {
    color: var(--video-hero-title-color, #fff) !important;
    text-shadow: 0 2px 15px rgba(0,0,0,0.3);
    -webkit-text-fill-color: var(--video-hero-title-color, #fff) !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
}

body:has(.global-video-bg) .hero__paragraph,
body:has(.global-video-bg) .hero__paragraph * {
    color: var(--video-hero-text-color, #fff) !important;
    text-shadow: 0 1px 8px rgba(0,0,0,0.2);
}

body:has(.global-video-bg) .hero__trust-item {
    color: var(--video-hero-text-color, rgba(255,255,255,0.85)) !important;
}

body:has(.global-video-bg) .hero__trust-icon {
    color: var(--video-hero-text-color, #fff) !important;
    stroke: var(--video-hero-text-color, #fff) !important;
}

body:has(.global-video-bg) .section-badge {
    background: rgba(255,255,255,0.15) !important;
    color: #fff !important;
    backdrop-filter: blur(10px);
}

/* Navbar colors when video is active */
body:has(.global-video-bg) .hero-nav__link {
    color: var(--video-navbar-link-color, #1e293b) !important;
}

body:has(.global-video-bg) .hero-nav__link:hover {
    opacity: 0.8;
}

/* Dark navbar */
.navbar--dark-bg .hero-nav__link {
    color: #fff !important;
}

.navbar--glass-bg .hero-nav__link {
    color: #fff !important;
}

body:has(.global-video-bg) .hero__image-column {
    display: none !important;
}

body:has(.global-video-bg) .hero__body {
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
}

body:has(.global-video-bg) .hero__btns-container {
    justify-content: center;
}

body:has(.global-video-bg) .hero__trust {
    justify-content: center;
}

body:has(.global-video-bg) .btn-primary--outline {
    color: #fff !important;
    border-color: rgba(255,255,255,0.5) !important;
}

/* All light/white sections -> semi-transparent white */
body:has(.global-video-bg) [class*="block-"],
body:has(.global-video-bg) .article-block,
body:has(.global-video-bg) .space-between-blocks {
    background: rgba(255, 255, 255, var(--video-sections-opacity, 0.88)) !important;
    backdrop-filter: blur(var(--video-blur, 12px));
    -webkit-backdrop-filter: blur(var(--video-blur, 12px));
}

/* Dark sections -> semi-transparent dark */
body:has(.global-video-bg) .block-44,
body:has(.global-video-bg) .block-38,
body:has(.global-video-bg) .block-29,
body:has(.global-video-bg) .cta-section,
body:has(.global-video-bg) .footer {
    background: rgba(15, 15, 35, var(--video-dark-sections-opacity, 0.88)) !important;
    backdrop-filter: blur(var(--video-blur, 12px));
    -webkit-backdrop-filter: blur(var(--video-blur, 12px));
}

/* Footer */
body:has(.global-video-bg) footer,
body:has(.global-video-bg) .site-footer {
    background: rgba(15, 15, 35, var(--video-dark-sections-opacity, 0.88)) !important;
    backdrop-filter: blur(var(--video-blur, 12px));
    -webkit-backdrop-filter: blur(var(--video-blur, 12px));
}

/* Navbar */
body:has(.global-video-bg) .navbar,
body:has(.global-video-bg) .navbar-container {
    background: rgba(255, 255, 255, var(--video-navbar-opacity, 0.9)) !important;
    backdrop-filter: blur(var(--video-blur, 12px));
    -webkit-backdrop-filter: blur(var(--video-blur, 12px));
}

/* Contact page form & blocks */
body:has(.global-video-bg) .block-27 {
    background: rgba(255, 255, 255, var(--video-sections-opacity, 0.88)) !important;
    backdrop-filter: blur(var(--video-blur, 12px));
    -webkit-backdrop-filter: blur(var(--video-blur, 12px));
}

body:has(.global-video-bg) .contact-form__input {
    background: rgba(255, 255, 255, 0.95) !important;
}

/* Statistics/dark gradient sections */
body:has(.global-video-bg) .statistics-section {
    background: rgba(30, 27, 75, var(--video-dark-sections-opacity, 0.88)) !important;
    backdrop-filter: blur(var(--video-blur, 12px));
    -webkit-backdrop-filter: blur(var(--video-blur, 12px));
}

/* Cards inside sections */
body:has(.global-video-bg) .card,
body:has(.global-video-bg) .feature-card,
body:has(.global-video-bg) .industry-card,
body:has(.global-video-bg) .testimonial-card,
body:has(.global-video-bg) .faq-item {
    background: rgba(255, 255, 255, 0.95) !important;
}

/* =================== VIDEO BACKGROUND SECTION =================== */

.video-bg-section {
    position: relative;
    width: 100%;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.video-bg-iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120vw;
    height: 120vh;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    border: 0;
    pointer-events: none;
}

.video-bg-native {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.video-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.75) 0%, rgba(124, 58, 237, 0.75) 100%);
    z-index: 1;
}

.video-bg-content {
    position: relative;
    z-index: 2;
    padding: 5rem 0;
    width: 100%;
}

.video-bg-title {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    margin-top: 1rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.video-bg-desc {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 650px;
    margin: 1rem auto 0;
    line-height: 1.8;
    text-shadow: 0 1px 4px rgba(0,0,0,0.15);
}

@media (max-width: 768px) {
    .video-bg-section {
        min-height: 50vh;
    }
    .video-bg-title {
        font-size: 2rem;
    }
    .video-bg-desc {
        font-size: 1rem;
    }
    .video-bg-content {
        padding: 3rem 0;
    }
}
