*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: transparent;
    background: #080a0f;
    font: 500 16px / 22px Mulish, Arial, sans-serif;
    overflow-x: hidden;
    will-change: scroll-position;
}

header{
    width: 100%;
    background-color: #080a0f;
    padding:16px 24px;
    align-items: center;
}

nav
{
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.right-container{
    display: flex;
    gap: 16px;
}

.right-container ul,.left-container .social{
    display: flex;
    gap: 16px;
    align-items: center;
}

.right-container ul li{
    list-style: none;
}   
nav a{
    text-decoration: none;
    border-radius: 12px;
    color: #e6e6e7;
    transition: color .28s ease;
            font-size: 16px;
        line-height: 22px;
}

.container {
    max-width: 1116px;
    margin: 0 auto;
    padding: 0 24px;
  
    align-items: center;
    gap: 40px;
}
.head-container{
    display: flex;
     justify-content: space-between;
     align-items: center;
     gap: 40px;
}
.head-title {
    /* flex: 1; */
    max-width: 600px;
    z-index: 10;
}
.head-banner {
    position: relative;
    flex: 1;
    height: 600px;
}
.container .title{
    font-size: 56px;
    line-height: 62px;
    color: #fff;
    font-weight: 700;
    width: 67%;
}
.container .title span{
    -webkit-text-fill-color: #0000;
    background: linear-gradient(89.75deg, #2350f5 .12%, #7693ff 42.2%, #b781ff 64.43%, #a061f2 99.69%), linear-gradient(91.82deg, #2350f5 1.91%, #9bb0ff 30.49%, #fff 42.97%, #ffeed0 56.43%, #ffba45 86.33%);
    -webkit-background-clip: text;
    background-clip: text;
}
.container .head-title{
        max-width: 600px;
        text-align: start;
    }

    .top-banner img{
     position: absolute;
    left: 0;
    top: 100%;
    transform: translateY(-50%);

    height: 1000px;
    width: auto;
}
    
    .button {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 14px 30px;
    border-radius: 12px;
    background: linear-gradient(144.27deg, #436af3 .71%, #2048e9 104.52%);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    overflow: hidden;
}

/* text always above */
.button .text {
    position: relative;
    z-index: 2;
}

.decor {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.decor-item {
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.15);
    transform: translateX(100%);
}

.decor-item:nth-child(2) {
    background: rgba(255,255,255,0.25);
    transition-delay: 0.1s;
}

.decor-item {
    transition: transform 0.5s ease;
}

.button:hover .decor-item {
    transform: translateX(-100%);
}

.head-banner::before {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);

    width: 500px;
    height: 500px;

    background: radial-gradient(
        circle,
        rgba(67,106,243,0.35) 0%,
        rgba(67,106,243,0.15) 40%,
        transparent 70%
    );
    filter: blur(100px);
    z-index: 0;
}
.cards-wrapper {
    position: absolute;
    left: -188px;
    bottom: 40px;
    width: 250px;
    height: 150px;
    pointer-events: none; 
}
.card {
    position: absolute;
    padding: 16px 26px;
    border-radius: 18px;
    font-weight: 600;
    color: #080a0f;

    background: 
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(135deg, #436af3, #2048e9) border-box;
    border: 2px solid transparent;

    box-shadow: 
        0 20px 40px rgba(0,0,0,0.15),
        0 5px 15px rgba(0,0,0,0.08);

    backdrop-filter: blur(6px);

    transition: transform 0.2s ease;

    /* variables */
    --x: 0px;
    --y: 0px;
    --r: 0deg;

    transform: translate(var(--x), var(--y)) rotate(var(--r));
}
.card.purple {
    top: 20px;
    left: 0;
    --r: -10deg;
}

.card.blue {
    bottom: -20px;
    left: 80px;
    --r: -4deg;
}
.card:hover {
    transform: translateY(-6px) rotate(-4deg) scale(1.02);
}

.card::after {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(135deg, #436af3, #a061f2);
    opacity: 0.2;
    filter: blur(10px);
    z-index: -1;
}

@keyframes float {
    0% { transform: translateY(0px) rotate(var(--r)); }
    50% { transform: translateY(-6px) rotate(var(--r)); }
    100% { transform: translateY(0px) rotate(var(--r)); }
}

.card {
    animation: float 4s ease-in-out infinite;
}


.states-section {
    position: relative;
    width: 100%;
    margin-top: 80px;
}

.states-section svg {
    width: 100%;
    height: 300px;
    display: block;
}

.states-content {
    position: absolute;
    inset: 0;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;

    color: #fff;
    text-align: center;
}
.states-content h4{
    position: absolute;
    left: 80px;
    top: 30px;
}
.states-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.state {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.state-title {
    font-size: 42px;
    font-weight: 700;
    color: #fff;
}

.state-text {
    font-size: 14px;
    color: #c9d6ff;
    margin-top: 23px;
    text-align: center;
}

.state-sep {
    font-size: 20px;
    color: #c9d6ff;
    opacity: 0.8;
}



.features {
    position: relative;
    margin: 0 auto;
    padding: 60px 20px;
    background-color: #fff;
    border-radius: 50px;
}
.features-content{
    max-width: 1116px;
    margin: 0 auto;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 40px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.grid-card {
    background: #f2f3f5;
    border-radius: 24px;
    padding: 30px;
    min-height: 180px;

    display: flex;
    align-items: flex-start;
}

.grid-card.dark {
    background: linear-gradient(180deg, #020817, #0b1220);
    color: #fff;
}

.grid-card.big {
    grid-row: span 2;
}
.geo{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 80px;
    margin-top: 80px;
}
.geo-text
{
    max-width: 600px;
    line-height: 2.5;
}
.map img{
    width: 100%;
    height: auto;
    display: block;
}
.geo-button{
    background-color: #020817;
}
.geo-button:hover{
    background-color: #3674f1;
}
/* section */
.products {
    padding: 80px 0;
    background: #080a0f;
    color: #fff;
    gap: 60px;
}

.product-inner{
    display: flex;
     justify-content: space-between;
     align-items: center;
     gap: 80px;
}

.products-desc{
    width: 100%;
    max-width: 600px;
    line-height: 2.5;
}

/* cards */
.products-title{
    color: #fff;
    white-space: pre-line;
    font-size: 56px;
    line-height: 62px;

}
.products p{
    color: #82848e;
    font-weight: 500;
    margin-top: 12px;
}

.product-cards {
    display: flex;
flex: 0 0 auto;
    flex-direction: column;
    gap: 16px;
}

.p-card {
    padding: 20px;
    border-radius: 16px;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 24px;
}
.p-card-content{
    display: flex;
    align-items: center;

}

.p-card:hover {
        background: #151922;
        transform: translateX(10px);
}
.product-card-text{
    margin-left: 20px;
}
.product-card-image {
    background: #151922;
    width: 70px;
    height: 70px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-card-image img{
    width: 50px;
    height: 50px;
}
.p-card h3{
    font-size: 24px;
    line-height: 30px;
    font-weight: 700;
    color: #fff;
}
.p-card p,footer p,.contacts p{
    color: #82848e;
    font-weight: 500;
    margin: 10px 0 16px;
    font-size: 16px;
    line-height: 22px;

}

.pink { color: #ff4fd8; }
.green {color: #00c27a; }
.yellow { color: #f5c518; }

.p-card.active {
      background: #151922;
    transform: translateX(10px) scale(1.05);
}

/* RIGHT */
.product-right {
   
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
}

.phone {
  width: 220px;
    position: absolute;
    left: 0;
    top: 66%;
    transform: translate(-10%, -50%);
    z-index: 2;
}

.tablet {
    width: 780px;
    max-width: none;
}

.footer-nav{
    display: flex;
    gap: 40px;
}
.footer-nav ul{
    display: flex;
    gap: 16px;

}
.footer-nav ul li{
    list-style: none;
    color: #fff;
}
.footer-nav ul li a,i{
    color: #fff;
    text-decoration: none;
    transition: color .28s ease;
}
.footer-nav{
    border-bottom: 1px solid #2e3138;
    border-top: 1px solid #2e3138;

    line-height: 1.5;
    padding: 30px 0 30px;
}
.contacts{
    display: flex;
    justify-content: space-between;
}

@media (max-width: 900px) {

    .container.head-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .head-title {
        max-width: 100%;
    }

    .head-banner {
        width: 100%;
        height: auto;
        margin-top: 30px;
    }

    .top-banner img {
        position: relative;
        height: 320px;
        transform: none;
        top: 0;
        left: 0;
    }

    .cards-wrapper {
        display: none; 
    }
     .grid {
        grid-template-columns: 1fr;
    }

    .grid-card.big {
        grid-row: span 1;
    }
}
@media (max-width: 768px) {
    .container .title {
        width: 100%;
        font-size: 32px;
        line-height: 40px;
    }
}
@media (max-width: 768px) {
    .container .title {
        width: 100%;
        font-size: 32px;
        line-height: 40px;
    }
     .states-row {
        flex-direction: column;
        gap: 16px;
    }

    .state-sep {
        display: none;
    }

    .states-content h4 {
        position: static;
    }
}

@media (max-width: 900px) {

    .product-inner {
        flex-direction: column;
        text-align: center;
    }

    .product-right {
        margin-top: 40px;
    }

    .phone {
        position: relative;
        transform: none;
        left: 0;
        top: 0;
        width: 160px;
    }

    .tablet {
        width: 300px;
    }
}