:root {
    --body-bg: var(--gray-50);
}

body {
    position: relative;
    overflow-x: hidden;
}

.index-container-content {
    margin-top: 4rem;
    margin-bottom: 4rem;
}

.index-container {
    width: 100%;
    padding: 0 0 4rem 0;
}

@media (min-width: 992px) {
    .index-container-content {
        margin-top: 6rem;
    }

    .index-container {
        padding: 0 0 2rem 0;
    }
}

.index-images {
    width: 100%;
    height: 600px;
    position: relative;
    perspective: 1200px;
    transform: translate(6rem, -3rem);
}

.index-image {
    width: auto;
    max-height: 560px;
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 30px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, .12);
    transition:
            transform 1.1s cubic-bezier(.4, 0, .2, 1),
            opacity .8s ease,
            filter .8s ease;
    will-change: transform, opacity;
}

/* Front */
.index-image[data-position="0"] {
    z-index: 4;
    opacity: 1;
    filter: brightness(1);
    transform:
            translate(-50%, -50%)
            translateX(-40px)
            translateZ(100px)
            rotate(-2deg)
            scale(1);
}

/* Moving towards right/back */
.index-image[data-position="1"] {
    z-index: 3;
    opacity: .9;
    filter: brightness(.97);
    transform:
            translate(-50%, -50%)
            translateX(150px)
            translateY(-25px)
            translateZ(-100px)
            rotate(5deg)
            scale(.88);
}

/* Furthest behind */
.index-image[data-position="2"] {
    z-index: 1;
    opacity: .35;
    filter: brightness(.92);
    transform:
            translate(-50%, -50%)
            translateX(30px)
            translateY(-10px)
            translateZ(-250px)
            rotate(1deg)
            scale(.78);
}

/* Moving from left/back towards front */
.index-image[data-position="3"] {
    z-index: 2;
    opacity: .85;
    filter: brightness(.96);
    transform:
            translate(-50%, -50%)
            translateX(-180px)
            translateY(20px)
            translateZ(-80px)
            rotate(-6deg)
            scale(.88);
}

@media (prefers-reduced-motion: reduce) {
    .index-image {
        transition: none;
    }
}

.index-header {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--black);
}

@media (min-width: 768px) {
    .index-header {
        font-size: 3rem;
    }
}

@media (min-width: 1200px) {
    .index-header {
        font-size: 4rem;
    }
}

.index-input {
    padding: 1.5rem 1rem;
}

.index-feature {
    padding:.5rem;
    line-height: 2.5rem;
    font-weight: 500;
    transition: background .6s;
    border-radius: 100px;
}

.index-feature a {
    color: var(--gray-800);
    text-decoration: none;
    transition: color .6s;
}

.index-feature:hover a {
    color: var(--primary-600);
}

.index-widget-icon-biolink { background: #eff6ff; color: #3b82f6; }
.index-widget-icon-link { background: #f0fdfa; color: #14b8a6; }
.index-widget-icon-file { background: #ecfdf5; color: #10b981; }
.index-widget-icon-vcard { background: #ecfeff; color: #06b6d4; }
.index-widget-icon-event { background: #eef2ff; color: #6366f1; }
.index-widget-icon-static { background: #fdf4ff; color: #c026d3; }
.index-widget-icon-qr { background: #fff7ed; color: #f97316; }
.index-widget-icon-tools { background: #fef2f2; color: #ef4444; }
.index-widget-icon-analytics { background: #faf5ff; color: #a855f7; }

[data-theme-style="dark"] .index-widget-icon-biolink { background: #172033; color: #60a5fa; }
[data-theme-style="dark"] .index-widget-icon-link { background: #142724; color: #2dd4bf; }
[data-theme-style="dark"] .index-widget-icon-file { background: #142820; color: #34d399; }
[data-theme-style="dark"] .index-widget-icon-vcard { background: #14282c; color: #22d3ee; }
[data-theme-style="dark"] .index-widget-icon-event { background: #1d2035; color: #818cf8; }
[data-theme-style="dark"] .index-widget-icon-static { background: #2b1b2d; color: #e879f9; }
[data-theme-style="dark"] .index-widget-icon-qr { background: #2c2119; color: #fb923c; }
[data-theme-style="dark"] .index-widget-icon-tools { background: #2d1c1c; color: #f87171; }
[data-theme-style="dark"] .index-widget-icon-analytics { background: #261c30; color: #c084fc; }

.index-button {
    padding: 1.2rem 2.2rem;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    transition: all .3s ease-in-out;
}

.index-button:hover {
    filter: saturate(0) contrast(2);
}

.index-button-white, .index-button-white:hover {
    color: white;
}

.index-card-image {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    box-shadow: 10px 10px 0 #ebf5ff;
    border: 1px solid var(--gray-300);
    transition: all .3s ease-in-out;
}

[data-theme-style="dark"] .index-card-image {
    box-shadow: 10px 10px 0 var(--gray-200);
}

.index-card-image:hover {
    box-shadow: 0 0 0 var(--gray-300);
}

.index-fade {
    position: absolute;
    background: linear-gradient(0deg, var(--body-bg), hsla(0, 0%, 100%, 0)) !important;
    bottom: 0;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1;
}

/* Index testimonial */
.index-testimonial-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    /*transform: translate(-50%, -70%);*/
    border: 3px solid var(--gray-200);
    background: var(--white);
    /*position: absolute;*/
    /*left: 50%;*/
}

.index-testimonial-card {
    border: 5px solid var(--primary-50);
}

/* Index FAQ */
.index-faq svg,
.index-faq i[class*="fa-"] {
    transition: all .15s;
    color: var(--primary-800);
}

/* Timeline */
.index-timeline {
    position: relative;
}

.index-timeline::before {
    content: '';
    position: absolute;
    border-left: 2px solid var(--primary-100);
    height: 100%;
    left: calc(57px / 2);
}

/* Index call to action */
.index-cta {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svgjs="http://svgjs.dev/svgjs" viewBox="0 0 1920 1080" width="1920" height="1080"><defs><linearGradient gradientTransform="rotate(0, 0.5, 0.5)" x1="50%" y1="0%" x2="50%" y2="100%" id="ffflux-gradient"><stop stop-color="%230063ef" stop-opacity="1" offset="0%"></stop><stop stop-color="%23aa02b4" stop-opacity="1" offset="100%"></stop></linearGradient><filter id="ffflux-filter" x="-20%" y="-20%" width="140%" height="140%" filterUnits="objectBoundingBox" primitiveUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feTurbulence type="fractalNoise" baseFrequency="0.005 0.003" numOctaves="1" seed="131" stitchTiles="stitch" x="0%" y="0%" width="100%" height="100%" result="turbulence"></feTurbulence><feGaussianBlur stdDeviation="20 0" x="0%" y="0%" width="100%" height="100%" in="turbulence" edgeMode="duplicate" result="blur"></feGaussianBlur><feBlend mode="color-dodge" x="0%" y="0%" width="100%" height="100%" in="SourceGraphic" in2="blur" result="blend"></feBlend></filter></defs><rect width="1920" height="1080" fill="url(%23ffflux-gradient)" filter="url(%23ffflux-filter)"></rect></svg>');
    background-repeat: no-repeat;
    background-size: cover;
    color: white !important;
    filter: brightness(1) hue-rotate(0deg);
    transition: filter .3s ease-in-out;
}

.index-cta:hover {
    filter: brightness(1.2) hue-rotate(20deg);
}

.index-cta a.btn {
    color: var(--gray-800);
    background: var(--white);
    border-color: var(--white);
    padding: 1.1rem 4rem;
    font-size: 1.15rem;
    font-weight: 500;
}

.index-cta a.btn:hover {
    background: var(--gray-100);
    border-color: var(--gray-100);
}

[data-theme-style="dark"] .index-cta a.btn {
    background: var(--light);
    border-color: var(--light);
}

/* Gradient text */
.text-gradient-primary {
    background: linear-gradient(135deg, var(--gradient-one), var(--gradient-two));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Inverse colors animation */
.inverse-colors-animation {
    transition: 0.35s;
}

.inverse-colors-animation:hover {
    filter: invert(100%) hue-rotate(180deg) saturate(0.9) brightness(1.05);
}

/* Index background */
.index-container {
    position: relative;
    z-index: 1;
}

.index-container-content {
    position: relative;
    z-index: 1;
}

.index-background-blurs {
    position: absolute;
    inset: 0 0 auto;
    height: 850px;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.index-background-blur {
    position: absolute;
    border-radius: 50%;
    filter: blur(110px);
}

/* Soft blue entering from top-left */
.index-background-blur-one {
    width: 380px;
    height: 380px;
    top: -180px;
    left: -120px;
    background: #68a7ff;
    opacity: .18;
}

/* Pink behind/right of screenshots */
.index-background-blur-two {
    width: 580px;
    height: 520px;
    top: -40px;
    right: -230px;
    background: #ff9cac;
    opacity: .27;
}

/* Purple crossing the middle */
.index-background-blur-three {
    width: 400px;
    height: 360px;
    top: 270px;
    left: 42%;
    background: #bd9cff;
    opacity: .18;
}

/* Teal lower-right */
.index-background-blur-four {
    width: 420px;
    height: 380px;
    top: 400px;
    right: -100px;
    background: #77dfd2;
    opacity: .15;
}

/* Warm glow coming in from left */
.index-background-blur-five {
    width: 360px;
    height: 320px;
    top: 300px;
    left: -140px;
    background: #ffc58f;
    opacity: .17;
}

/* Small pink/purple area between text + images */
.index-background-blur-six {
    width: 300px;
    height: 300px;
    top: 80px;
    left: 38%;
    background: #e49cff;
    opacity: .13;
}


/* Dark mode */

[data-theme-style="dark"] .index-background-blur-one {
    background: #1769e8;
    opacity: .2;
}

[data-theme-style="dark"] .index-background-blur-two {
    background: #8b3cf6;
    opacity: .25;
}

[data-theme-style="dark"] .index-background-blur-three {
    background: #d946ef;
    opacity: .16;
}

[data-theme-style="dark"] .index-background-blur-four {
    background: #06b6d4;
    opacity: .12;
}

[data-theme-style="dark"] .index-background-blur-five {
    background: #f97316;
    opacity: .1;
}

[data-theme-style="dark"] .index-background-blur-six {
    background: #ec4899;
    opacity: .13;
}

.index-icon-container {
    background: var(--primary-50);
    width: 35px;
    height: 35px;
    min-width: 35px;
    min-height: 35px;
    color: var(--primary);
    font-size: .8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .3s ease-in-out;
    border-radius: calc(2 * var(--border-radius));
}

.index-counter-wrapper {
    background: linear-gradient(11deg, var(--primary-900) -5.83%, var(--gray-900) 59.73%);
    box-shadow: 10px 10px 0 var(--primary-100);
    color: white;
}

[data-theme-style="dark"] .index-counter-wrapper {
    background: linear-gradient(11deg, var(--primary-300) -5.83%, var(--gray-100) 59.73%);
}
