/* Базовые стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Manrope", sans-serif;
}

body {
    background-color: #141416;
    color: #e2e8f0;
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 60px 0;
    position: relative;
    z-index: 1;
}

/* Фоновое изображение */
.background-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/background.png');
    background-size: cover;
    background-position: center;
    animation: moveBg 100s linear infinite;
    background-repeat: no-repeat;
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
}

@keyframes moveBg {
    0% {
        background-position: center top;
    }
    50% {
        background-position: center bottom;
    }
    100% {
        background-position: center top;
    }
}


/* Шапка */
/* Шапка */
.header {
    padding: 20px 0;
    position: sticky;
    top: 20px;
    z-index: 100;
    border-radius: 0;
    border: 1px solid transparent;
    transition: all 0.4s ease;
    width: 100%;
}

.header-container{
    width: 100%;
    max-width: 100%;
    transition: all .3s;
    padding-inline: 0;
}

.header.floating {
    /*border-radius: 16px;*/
    /*border: 1px solid rgba(81, 237, 255, 0.2);*/
    /*box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);*/
    /*padding: 15px 0;*/
    /*backdrop-filter: blur(10px);*/
    /*-webkit-backdrop-filter: blur(10px);*/
    /*margin: 0 auto;*/
    /*width: calc(100% - 40px);*/
    /*max-width: 1200px;*/
}


.header-content {
    display: flex;

    align-items: center;
    transition: all .3s;
    padding-top: 15px;
    padding-bottom: 15px;
    border: 1px solid transparent;

}
.nav-desktop{
    margin-left: 30px;
}
.header.floating .header-container{
    padding-inline: calc(.25rem * 30);
    width: 100%;
    margin: 0 auto;

}

.header.floating .header-content{
    padding: 15px 25px;
    border-radius: 16px;
    border: 1px solid #333335;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.header.floating .header-content .nav-desktop ul li a{
    font-size: .8rem;
}

.logo h1 {
    color: #51edff;
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 1px;
    transition: all .3s;
    background: linear-gradient(90deg, #51edff, #2ad4ff);
    -webkit-background-clip: text;
    background-clip: text;
    font-family: 'Manrope', sans-serif;
}

.header.floating .logo h1{
    font-size: 1.5rem;
}


.nav-desktop ul {
    display: flex;
    list-style: none;
    gap: 30px;
}


.nav-desktop ul li a {
    text-decoration: none;
    color: #FBFBFC;
    font-weight: 500;
    padding: 0;
    border-radius: 8px;
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    transition: all .3s;
}

.nav-desktop ul li a:hover,
.nav-desktop ul li a.active {
    color: #51edff;
    /*background-color: rgba(81, 237, 255, 0.1);*/
}

.login-btn {
    background-color: white;
    color: #202020;
    border: none;
    padding: 10px 28px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 700;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 85px;
    transition: all 0.3s ease;
    font-family: 'Manrope', sans-serif;
    margin-left: auto;
}

.login-btn:hover {
    background-color: #f1f5f9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #cbd5e1;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Мобильное меню */
.nav-mobile {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.98);
    z-index: 200;
    padding: 30px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.nav-mobile.active {
    display: flex;
}

.nav-mobile ul {
    list-style: none;
    text-align: center;
}

.nav-mobile ul li {
    margin: 20px 0;
}

.nav-mobile ul li a {
    text-decoration: none;
    color: #cbd5e1;
    font-size: 1.4rem;
    font-weight: 500;
    padding: 12px 24px;
    display: block;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.nav-mobile ul li a:hover,
.nav-mobile ul li a.active {
    color: #51edff;
    background-color: rgba(81, 237, 255, 0.1);
}

.close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #cbd5e1;
    font-size: 1.8rem;
    cursor: pointer;
}

/* Герой-секция */
.hero {
    padding: 40px 0 40px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-content h2 {
    font-size: 4.2rem;
    margin-bottom: 0;
    background-clip: text;
    color: #E2E2E2;
    font-weight: 700;
    line-height: 1.2;
    font-family: "Manrope", sans-serif;
}
.hero-content h2 span{
    color: #ACACAC;
}
.cta-btn {
    background:  #51edff;
    color: #0a0a0a;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    width: 190px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin: 50px auto 0;
    font-family: "Manrope", sans-serif;
    letter-spacing: 0.5px;
}

.cta-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(81, 237, 255, 0.6);
}

/* Калькулятор обмена */
.exchange {
    position: relative;
    z-index: 1;
    padding-top: 0;
}

.exchange-wrapper {
    max-width: 850px;
    width: 100%;
    margin: 0 auto;


}

.exchange-box {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    margin-bottom: 30px;
    gap: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid #28282A;
    background-color: rgba(21, 21, 23, 0.6);
    border-radius: 20px;
}

.exchange-section {
    flex: 1;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
}
.exchange-section .balance-info-right{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.exchange-label {
    margin-bottom: 20px;
}

.exchange-label span {
    font-size: 1.1rem;
    color: #94a3b8;
    font-weight: 500;
}

.currency-selector {
    position: relative;
    margin-bottom: 0;
}

.currency-option {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background-color:#1F1F21;
    border-radius: 12px;
    cursor: pointer;
    height: 70px;
    /*border: 1px solid rgba(81, 237, 255, 0.3);*/
    transition: all 0.3s ease;
}

.currency-option:hover {
    background-color: #1F1F21;
    /*border-color: rgba(81, 237, 255, 0.5);*/
}

.currency-icon {
    width: 32px;
    height: 32px;
    margin-right: 12px;
    border-radius: 50%;
}

.currency-option span {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    flex-grow: 1;
}

.currency-option i {
    color: #51edff;
    font-size: 1.2rem;
}

.currency-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #1F1F21;
    border-radius: 12px;
    margin-top: 5px;
    overflow: hidden;
    z-index: 10;
    display: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.input-group{
    display: flex;
    gap: 10px;
}
.input-group .currency-selector{
    width: 100%;
    max-width: 160px;
}
.input-group .amount-input{
    width: 100%;
    max-width: 180px;
}
.currency-dropdown.show {
    display: block;
}

.currency-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.currency-item:hover {
    background-color: rgba(81, 237, 255, 0.1);
}

.currency-item img {
    width: 28px;
    height: 28px;
    margin-right: 12px;
    border-radius: 50%;
}

.currency-item span {
    font-size: 1.1rem;
    font-weight: 500;
    color: #e2e8f0;
}

.amount-input {
    position: relative;
    margin-bottom: 0;
}

.amount-input input {
    width: 100%;
    background-color:#1F1F21;
    border-radius: 12px;
    border: none;
    padding: 15px;
    height: 70px;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    outline: none;
    transition: all 0.3s ease;
    text-align: right;
}

.amount-input input:focus {
    border-color: #51edff;
    box-shadow: 0 0 0 3px rgba(81, 237, 255, 0.2);
}

.currency-symbol {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff;
    pointer-events: none;
}

.balance-info {
    color: #6D6D6D;
    font-size: .8rem;
    margin-top: 10px;
}

.balance-amount {
    color: #e2e8f0;
    font-weight: 600;
}

.exchange-center {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

.exchange-arrow {
    width: 60px;
    height: 60px;
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0a0a0a;
    font-size: 1.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #2A2A2C;
    border-top: 0;
    border-right: 0;
}

.exchange-arrow:hover {
    transform: rotate(180deg);
    /*box-shadow: 0 0 20px rgba(81, 237, 255, 0.7);*/
}

.exchange-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.exchange-rate {
    font-size: .8rem;
    font-weight: 700;
    color: #6D6D6D;
}

.exchange-action-btn {
    background: transparent;
    color: #51edff;
    padding: 18px 50px;
    border-radius: 12px;
    font-size: .8rem;
    width: 250px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #51edff;
    letter-spacing: 0.5px;
    margin: 0 auto;
}

.exchange-action-btn:hover {
    transform: translateY(-3px);
}

/* Преимущества */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #e2e8f0;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    display: none;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #51edff, #2ad4ff);
    border-radius: 2px;
}
.features .section-title{
    text-align: left;
    line-height: 48px;
}
.features .section-title::after{
    display: none;
}
.features-grid {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.feature-card {
    background-color: #161618;
    padding: 25px;
    border-radius: 20px;
    text-align: left;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid #272729;
    width: calc(100%/3 - 20px);
    height: 426px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    overflow: hidden;
}
.feature-card .feature-image{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.feature-card .feature-image img{
    width: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 25px;
    color: #51edff;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #DCDCDF;
    position: relative;
    z-index: 1;
}

.feature-card p {
    color: #606067;
    line-height: 1.7;
    font-size: .9rem;
    position: relative;
    z-index: 1;
}
.feature-card:nth-child(4){
    max-width: calc(100% - 462px);
    width: 100%;
}
.feature-card:nth-child(5){
    max-width: 432px;
    width: 100%;
}
/* Безопасность */
.security {

}

.security-content,
.monitoring {
    text-align: center;
    margin-bottom: 50px;
    padding: 0 20px;
}

.security-content h2,
.monitoring h3 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: #fff;
}

.security-content p,
.monitoring p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    color: #cbd5e1;
    line-height: 1.7;
}

.monitoring h3 {
    color: #fff;
}

/* Торговые пары */
.table-container {
    overflow-x: auto;
    border-radius: 16px;
}
.trading-pairs .section-title{
    text-align: left;
    line-height: 48px;
    margin-bottom: 40px;
}

.pairs-table {
    width: 100%;
    min-width: 1000px;
    border-spacing: 0 20px;
    border-collapse: separate;
}

.pairs-table thead {
    background-color: #141416;
}

.pairs-table th {
    padding: 10px 10px 0;
    text-align: left;
    font-weight: 600;
    color: #535865;
    font-size: .8rem;
}

.pairs-table td {
    padding: 15px 10px;
    color: #BEBEC0;
    font-size: 1rem;
    background: #161618;
    border: 1px solid #262628;
}
.pairs-table td:not(:first-child, :last-child){
    border-left: 0;
    border-right: 0;
}
.pairs-table td:first-child{
    border-right: 0;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}
.pairs-table td:last-child{
    border-left: 0;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}


.pairs-table tr{


}
.pairs-table tbody tr:hover {
    background-color: rgba(81, 237, 255, 0.05);
}

.positive {
    color: #10b981;
    font-weight: 600;
}

.negative {
    color: #ef4444;
    font-weight: 600;
}

.chart-img {
    width: 77px;
    height: 24px;
    display: block;
    margin: 0 auto;
}

/* Иконки в таблице */
.pair-with-icon {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pair-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex-shrink: 0;
}

.trade-btn {
    background-color: #23262F;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    margin: 0 auto;
    width: 120px;
}

.trade-btn:hover {
    background-color: rgba(81, 237, 255, 0.2);
    border-color: #51edff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(81, 237, 255, 0.2);
}

/* Отзывы */
.reviews {
    position: relative;
    overflow: hidden;
}

.reviews-slider {
    position: relative;
    padding: 40px 0 80px;
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-wrapper {
    align-items: stretch;
}

.swiper-slide {
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.review-slide {
    padding: 10px;
    height: 100%;
}

.review-card {
    background-color: #161618;
    border-radius: 20px;
    padding: 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid #232324;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    min-height: 280px;
}

.review-card:hover {
    border: 1px solid #232324;

    transform: translateY(-5px);
    /*box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);*/
}

.review-content {
    flex-grow: 1;
    margin-bottom: 25px;
}

.review-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: #D0D0D0;
    text-align: left;
}

.review-author {
    text-align: left;

}

.author-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #727274;
}

/* Навигация слайдера */
.swiper-button-next,
.swiper-button-prev {
    color: #51edff;
    background-color: rgba(15, 23, 42, 0.8);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(81, 237, 255, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 1.2rem;
    font-weight: 800;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: rgba(81, 237, 255, 0.1);
    transform: scale(1.1);
}

.swiper-button-next {
    right: 10px;
}

.swiper-button-prev {
    left: 10px;
}

.swiper-pagination {
    bottom: 20px !important;
}

.swiper-pagination-bullet {
    background-color: #94a3b8;
    opacity: 0.5;
    width: 10px;
    height: 10px;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background-color: #51edff;
    opacity: 1;
    transform: scale(1.2);
}

/* Градиенты по бокам слайдера */
.swiper-gradient-left,
.swiper-gradient-right {
    position: absolute;
    top: 0;

    height: 100%;
    z-index: 10;
    pointer-events: none;
    width: calc(100%/3 - 14px);
    /*background: rgba(0,0,0, .1);*/
    backdrop-filter: blur(5px);
}
.reviews .reviews-slider{
    padding-bottom: 100px;
}
.swiper-gradient-left {
    left: 0;

}
.swiper-controls{
    position: absolute;
    bottom: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    height: 60px;
}
.reviews .swiper-pagination{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    position: relative;
    width: fit-content!important;
    left: unset!important;
    top: unset!important;
    bottom: unset!important;
    right: unset!important;
    height: fit-content;
}
.reviews .swiper-pagination-bullet{
    width: 24px;
    height: 24px;
    background: #232731;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .6rem;
    opacity: 1;
    margin: 0!important;
    transform: none;
}
.reviews .swiper-button-next svg, .reviews .swiper-button-prev svg{
    display: none;
}
.reviews .swiper-pagination-bullet-active{
    background: #51ECFE;
    color: #232731;
}

.swiper-gradient-right {
    right: 0;
}
.reviews  .swiper-button-prev{
    position: relative;
    left: unset;
    right: unset;
    top: unset;
    bottom: unset;
    width: 24px;
    height: 24px;
    margin-right: 10px;
    margin-top: 0;
    margin-bottom: 0;
    border: none;
    background: transparent;
}
.reviews  .swiper-button-next{
    position: relative;
    left: unset;
    right: unset;
    top: unset;
    bottom: unset;
    width: 24px;
    height: 24px;
    margin-left: 10px;
    margin-top: 0;
    margin-bottom: 0;
    border: none;
    background: transparent;
}
.reviews  .swiper-button-prev:after{
    color: #B5B6B8;
    font-size: 12px;
}
.reviews  .swiper-button-next:after{
    color: #B5B6B8;
    font-size: 12px;
}

/* Призыв к действию */
.cta {
    /*background: linear-gradient(135deg, rgba(81, 237, 255, 0.1), rgba(42, 212, 255, 0.1));*/
    /*border-radius: 20px;*/
    margin: 30px auto;

    /*backdrop-filter: blur(10px);*/
    /*-webkit-backdrop-filter: blur(10px);*/
    position: relative;
    /*border: 1px solid rgba(81, 237, 255, 0.2);*/
}
.cta:before{
    content: '';
    width: 335px;
    height: 2px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: #141C22;
    background: linear-gradient(259deg, rgba(20, 28, 34, 1) 0%, rgba(24, 66, 89, 1) 49%, rgba(20, 28, 34, 1) 100%);
    backdrop-filter: blur(10px);
    background-position: center center;
}
.cta-content {
    padding: 80px 40px;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: #e2e8f0;
    line-height: 1.3;
}

.exchange-start-btn {
    background:#51edff;
    color: #192428;
    margin: 35px auto 0;
    border: none;
    height: 44px;
    width: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.exchange-start-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(81, 237, 255, 0.6);
}

/* Футер */
.footer {
    /*background-color: rgba(15, 23, 42, 0.95);*/
    padding-top: 60px;
    padding-bottom: 80px;
    border-top: 1px solid #213140;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;

}
.footer-effect{
    position: absolute;
    width: 100%;
    height: 500px;
    bottom: 0;
    z-index: -1;
}
.footer-effect:after{
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 40%, rgba(0,200,255,.35), transparent 60%);
    filter: blur(80px);
    opacity: .6;
    height: 500px;
    width: 100%;
    bottom: 0;
    left: 0;
}
.footer-content {
    width: 100%;
}

.footer-logo h3 {
    color: #51edff;
    font-size: 1.8rem;
    margin-bottom: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}
.footer-column ul{
    display: flex;
    gap: 20px;
}
.footer-column p {
    color: #94a3b8;
    font-size: .8rem;
}

.footer-links {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}
.footer-column{
    display: flex;
    gap: 20px;
    align-items: center;
}
.footer-column h4 {
    color: #e2e8f0;
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0;

}

.footer-column ul li a {
    text-decoration: none;
    color: #94a3b8!important;
    transition: color 0.3s ease;
    font-size: .8rem;
}

.footer-column ul li a:hover {
    color: #51edff;
}

.footer-column ul li i {
    margin-right: 10px;
    color: #51edff;
    width: 20px;
    text-align: center;
}

.footer-bottom {
    text-align: center;
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    font-size: 0.95rem;
}

/* Адаптивность */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }

    .exchange-box {
        gap: 20px;
    }
    .header.floating .header-container{
        padding-inline: calc(.25rem * 15);
    }

    .exchange-center {
        /*order: -1;*/
        padding: 20px 0;
    }


    .exchange-arrow {
        transform: rotate(90deg);
    }

    .exchange-arrow:hover {
        transform: rotate(270deg);
    }

    .hero-content h2 {
        font-size: 2.5rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }


}
@media screen and (max-width: 990px){
    .footer-links{
        flex-direction: column;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}
@media screen and (max-width: 900px){
    .header.floating .header-container {
        padding-inline: calc(.25rem * 10);
    }
    .nav-desktop ul {
        gap: 15px;
    }
}
@media (max-width: 768px) {
    .header {
        margin: 0 15px;
        width: calc(100% - 30px);
        top: 15px;
    }
    .login-btn{
        margin-left: 0;
    }


    .header-content{
        justify-content: space-between;
    }
        .nav-desktop {
        display: none;
    }
    .input-group .currency-selector{
        max-width: 100%;
    }
    .input-group .amount-input{
        max-width: 100%;
    }

    .menu-toggle {
        display: block;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .exchange{
        padding-top: 0;
    }
    .exchange-box{
        padding: 20px;
    }

    .currency-symbol {
        font-size: 1.5rem;
    }
    .balance-info{
        justify-content: flex-start;
    }
    .exchange-section .balance-info-right{
        justify-content: space-between;
    }
    .exchange-center{
        padding: 0;
    }
    .exchange-arrow{
        width: 40px;
        height: 40px;
    }
    .exchange-arrow svg{
        width: 20px;
        height: 20px;
    }
    .exchange-summary {
        flex-direction: column;
        gap: 25px;
        align-items: stretch;
    }

    .pairs-table {
        font-size: 0.9rem;
    }

    .pairs-table th,
    .pairs-table td {
        padding: 15px 12px;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }

    .cta-content {
        padding: 60px 30px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        width: 40px;
        height: 40px;
    }

    .swiper-button-next {
        right: 5px;
    }

    .swiper-button-prev {
        left: 5px;
    }

    .swiper-gradient-left,
    .swiper-gradient-right {
        display: none;
    }

    .review-card {
        padding: 30px 25px;
    }

    .review-content p {
        font-size: 1.1rem;
    }
    .feature-card{
        width: 100%;
    }
    .feature-card:nth-child(4), .feature-card:nth-child(5){
       max-width: 100%;
    }
}
@media screen and (max-width: 600px) {
    .exchange-box{
        flex-direction: column;
    }
}



/* Стили для страницы отзывов */
.reviews-grid-section {
    padding: 0;
}
.pagination{
    display: flex;
    list-style: none;

    justify-content: center;
    align-items: center;
    margin-bottom: 80px;
    gap: 10px;
}
.pagination__item{
    width: 25px;
    height: 25px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #23262F;
}
.pagination__item--prev, .pagination__item--next, .pagination__item--more{
    background: transparent;
}
.pagination__item--active{
    background: #51EDFF;
}

.pagination__item a{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: .6rem;
    color: #E1E2E4;
}
.pagination__item--active a, .pagination__item a:hover{
    color: #234A50;
}
.pagination__item:hover{
    background: #51EDFF;
}
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.review-card-tile {
    background: rgb(22,22, 24, .18);
    border-radius: 20px;
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid #242425;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    min-height: 250px;
}
.review-rate{
    width: fit-content;
    background: rgb(99,99, 99, .1);
    border: 1px solid #242425;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 15px;
    border-radius: 10px;
    margin: 0 auto;
    display: flex;
    gap: 20px;
}
.review-rate span{
    color: #51edff;
    font-weight: 500;
}

.review-card-tile:hover {

    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.review-card-tile .review-content {
    flex-grow: 1;
    margin-bottom: 20px;
}

.review-card-tile .review-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: #e2e8f0;
}

.review-card-tile .review-author {
    display: flex;
    justify-content: space-between;
    align-items: center;

}

.review-card-tile .author-name {
    font-size: .8rem;
    font-weight: 600;
    color: #909091;
}

.review-card-tile .review-date {
    font-size: 0.9rem;
    color: #909091;
    display: none;
}

.add-review-section {
    text-align: center;
    background-color: rgba(30, 41, 59, 0.8);
    border-radius: 20px;
    padding: 50px 30px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(81, 237, 255, 0.1);
}

.add-review-section h3 {
    font-size: 2rem;
    color: #51edff;
    margin-bottom: 15px;
}

.add-review-section p {
    font-size: 1.1rem;
    color: #cbd5e1;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.add-review-btn {
    background: linear-gradient(90deg, #51edff, #2ad4ff);
    color: #0a0a0a;
    border: none;
    padding: 16px 40px;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(81, 237, 255, 0.4);
    letter-spacing: 0.5px;
}

.add-review-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(81, 237, 255, 0.6);
}

/* Адаптивность для отзывов */
@media (max-width: 1024px) {
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .review-card-tile {
        min-height: 220px;
    }
}

/* Стили для страницы "О нас" */
.about-content {
    padding: 0 0 60px;
}

.about-grid {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.about-card {
    background-color: #161618;
    padding: 25px;
    border-radius: 20px;
    text-align: left;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid #272729;
    width: calc(100% / 2 - 15px);
    height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    overflow: hidden;
}
.about-card:first-child{
    background-image: url(../images/f4.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: right -100px;
}
.about-card:last-child{
    background-image: url(../images/f6.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: right -70px;
}


.feature-icon{
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(40,40, 40, .2);
    border-radius: 10px;
    border: 1px solid #272729;

}
.about-features .feature-card{
    background: rgb(22,22, 24, .18);
}

.about-card h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #DCDCDF;
    position: relative;
    z-index: 1;
}

.about-card p {
    color: #606067;
    line-height: 1.7;
    font-size: .9rem;
    position: relative;
    z-index: 1;
}

.about-features {
    margin-bottom: 60px;
}
.about-features .feature-card{
    height: auto;
}

.about-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(81, 237, 255, 0.3), transparent);
    margin: 60px 0;
}

/* Офлайн-точки */
.offices-section {
    margin-bottom: 80px;
    margin-top: 120px;
}
.offices-section .section-title{
    text-align: left;
    line-height: 48px;
}
.offices-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.office-card {

    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border-bottom: 13px solid #2B2B2D;
}

.office-card:hover {
    border-color: #51EDFF;

}

.office-header {
    display: flex;
    align-items: center;
    gap: 20px;
}

.office-header h3 {
    font-size: 2rem;
    color: #e2e8f0;
    margin: 0;
}
.office-card:hover .office-header h3{
    color: #51EDFF;
}

.office-country {

    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.office-address {
    flex-grow: 1;
    margin-bottom: 25px;
}

.office-address p {
    font-size: 1.1rem;
    color: #77777D;
    line-height: 1.6;
}

.office-map-btn {
    background-color: rgba(81, 237, 255, 0.1);
    color: #51edff;
    border: 1px solid rgba(81, 237, 255, 0.3);
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.office-map-btn:hover {
    background-color: rgba(81, 237, 255, 0.2);
    border-color: #51edff;
    transform: translateY(-2px);
}

/* Контакты */
.contact-section {
    background: rgb(22,22, 24, .3);
    border-radius: 20px;
    padding: 45px 30px;
    text-align: center;
    max-width: 690px;
    width: 100%;
    margin: 0 auto;
    border: 1px solid #2B2B2D;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.contact-content{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 80px;
}

.contact-content h2 {
    font-size: 2rem;
    color: #fff;
}

.contact-content p {
    font-size: 1.2rem;
    color: #cbd5e1;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-btn {
    background:  #51edff;
    color: #0a0a0a;
    text-decoration: none;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 215px;
    height: 48px;
}

.contact-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(81, 237, 255, 0.6);
    color: #0a0a0a;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #cbd5e1;
    font-size: 1.1rem;
}

.contact-item i {
    color: #51edff;
    font-size: 1.3rem;
}

/* Адаптивность для страницы "О нас" */
@media (max-width: 1024px) {
    .offices-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-card {
        padding: 30px 25px;
    }

    .contact-content h2 {
        font-size: 2rem;
    }

    .contact-content p {
        font-size: 1.1rem;
    }

    .contact-btn {
        padding: 14px 40px;
        font-size: 1.1rem;
    }
    .hero-content h1{
        font-size: 2.5rem!important;
    }
}

@media (max-width: 480px) {
    .office-card {
        padding: 25px 20px;
    }

    .office-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .contact-section {
        padding: 40px 20px;
    }

    .contact-content h2 {
        font-size: 1.8rem;
    }

    .contact-item {
        font-size: 1rem;
    }
}

/* Стили для страницы FAQ */
.faq-section {
    padding: 0 0 60px;
}

/* Категории FAQ */
.faq-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 50px;
    justify-content: center;
}

.faq-category-btn {
    background-color: #3b3a3a6e;
    backdrop-filter: blur(10px);
    color: #cbd5e1;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: .8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.faq-category-btn:hover {
    background-color:#51edff;
    transform: translateY(-2px);
    color: #0a0a0a;

}

.faq-category-btn.active {
    background: #51edff;
    color: #0a0a0a;
    border-color: transparent;
}

/* Аккордеон FAQ */
.faq-accordion {
    max-width: 900px;
    margin: 0 auto 60px;
}

.faq-item {
    background-color: rgba(23, 23, 24, 0.6);
    border-radius: 15px;
    margin-bottom: 15px;
    border: 1px solid #333335;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 1;
    transform: translateY(0);
}

.faq-item:hover {
    background-color: rgba(23, 23, 24, 0.6);
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background-color: rgba(23, 23, 24, 0.6);
}

.faq-question h3 {
    font-size: 1.3rem;
    color: #e2e8f0;
    margin: 0;
    font-weight: 600;
    flex-grow: 1;
    padding-right: 20px;
}

.faq-question i {
    color: #747679;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer p {
    padding: 0 30px 25px;
    margin: 0;
    font-size: 1rem;
    line-height: 1.7;
    color: #A2A3A5;
}



.faq-item.active .faq-question h3 {
    color: #ffffff;
}

/* Контакты в FAQ */
.faq-contact {
    background: linear-gradient(135deg, rgba(81, 237, 255, 0.1), rgba(42, 212, 255, 0.1));
    border-radius: 20px;
    padding: 50px 40px;
    text-align: center;
    border: 1px solid rgba(81, 237, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    max-width: 800px;
    margin: 0 auto;
}

.faq-contact-content h3 {
    font-size: 2rem;
    color: #51edff;
    margin-bottom: 15px;
}

.faq-contact-content p {
    font-size: 1.2rem;
    color: #cbd5e1;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.faq-contact-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.faq-chat-btn, .faq-email-btn {
    padding: 14px 30px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    border: none;
}

.faq-chat-btn {
    background: linear-gradient(90deg, #51edff, #2ad4ff);
    color: #0a0a0a;
    box-shadow: 0 4px 15px rgba(81, 237, 255, 0.3);
}

.faq-email-btn {
    background-color: rgba(30, 41, 59, 0.8);
    color: #51edff;
    border: 1px solid rgba(81, 237, 255, 0.3);
}

.faq-chat-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(81, 237, 255, 0.5);
}

.faq-email-btn:hover {
    background-color: rgba(81, 237, 255, 0.1);
    border-color: #51edff;
    transform: translateY(-3px);
}

/* Адаптивность для страницы FAQ */
@media (max-width: 768px) {
    .faq-categories {
        gap: 10px;
    }

    .faq-category-btn {
        padding: 10px 18px;
        font-size: 0.95rem;
    }

    .faq-question {
        padding: 20px 25px;
    }

    .faq-question h3 {
        font-size: 1.2rem;
    }

    .faq-answer p {
        padding: 0 25px 20px;
        font-size: 1rem;
    }

    .faq-contact {
        padding: 40px 25px;
    }

    .faq-contact-content h3 {
        font-size: 1.8rem;
    }

    .faq-contact-content p {
        font-size: 1.1rem;
    }

    .faq-contact-buttons {
        flex-direction: column;
        align-items: center;
    }

    .faq-chat-btn, .faq-email-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .faq-question {
        padding: 18px 20px;
    }

    .faq-question h3 {
        font-size: 1rem;
    }
    .form-group.half{
        width: 100%;
    }
    .form-row     .form-group{
        width: 100%;
    }

    .form-group{
        width: 100% !important;
    }
    .faq-answer p {
        padding: 0 20px 18px;
    }

    .faq-contact {
        padding: 30px 20px;
    }

    .faq-contact-content h3 {
        font-size: 1.6rem;
    }

    .faq-contact-content p {
        font-size: 1rem;
    }
    body .contact-link, body .hours-time{
        font-size: 1.5rem;
    }
}

/* Стили для страницы контактов */
.contacts-section {
    padding: 0 0 60px;
}

.contacts-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 80px;
}

.contacts-info h2 {
    font-size: 2.2rem;
    color: #51edff;
    margin-bottom: 40px;
}

.contact-cards {

}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: all 0.3s ease;
    margin-bottom: 10px;
}


.contact-icon {
    background: linear-gradient(135deg, rgba(81, 237, 255, 0.1), rgba(42, 212, 255, 0.1));
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.8rem;
    color: #51edff;
}

.contact-details h3 {
    font-size: 1rem;
    color: #85858D;
    font-weight: 600;
}

.contact-details p {
    font-size: 1.2rem;
    color: #51edff;
    margin-bottom: 12px;
    font-weight: 500;
}

.contact-link {
    color: #E4E4E7;
    text-decoration: none;
    font-size: 2rem;
    font-weight: 600;
}


.working-hours h3 {
    font-size: 1rem;
    color: #85858D;
    font-weight: 600;
}


.hours-item {
    margin-bottom: 10px;
}
.hero-content h1{
    font-size: 4rem;
}

.hours-type {
    font-size: 1.1rem;
    color: #cbd5e1;
    font-weight: 500;
}

.hours-time {
    font-size: 2rem;
    color: #E4E4E7;
    font-weight: 600;
}

/* Форма обратной связи */
.contact-form-container {
    background-color: rgba(22, 23, 25, .2);
    border-radius: 20px;
    padding: 15px 30px 35px;
    border: 1px solid #454547;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.contact-form-header h2 {
    font-size: 2.2rem;
    color: #E4E4E7;
    margin-bottom: 15px;
}
.contact-form{
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.contact-form-header p {
    font-size: 1.1rem;
    color: #cbd5e1;
    margin-bottom: 30px;
    line-height: 1.6;
}

.form-group {

    width: calc(100%/2 - 10px);
}
.form-group:nth-child(3){
    width: 100%;
}

.form-group label {
    font-size: 1.1rem;
    color: #e2e8f0;
    margin-bottom: 10px;
    font-weight: 500;
    display: none;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background-color: rgba(22, 23, 25, .2);
    border: 1px solid #454547;
    border-radius: 12px;
    padding: 16px 20px;
    font-size: 1rem;
    color: #fff;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #51edff;
    box-shadow: 0 0 0 3px rgba(81, 237, 255, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #94a3b8;
}

.submit-btn {
    background: linear-gradient(90deg, #51edff, #2ad4ff);
    color: #0a0a0a;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    width: 100%;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(81, 237, 255, 0.6);
}

/* Карта офисов */
.offices-map {
    margin-top: 60px;
}

.offices-map h2 {
    font-size: 2.2rem;
    color: #51edff;
    margin-bottom: 30px;
    text-align: center;
}

.map-placeholder {
    background-color: rgba(30, 41, 59, 0.8);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(81, 237, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    min-height: 400px;
    position: relative;
    overflow: hidden;
}

.map-mock {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.9));
    position: relative;
    border-radius: 10px;
}

.map-point {
    position: absolute;
    cursor: pointer;
    z-index: 2;
}

.point-pulse {
    width: 20px;
    height: 20px;
    background-color: #51edff;
    border-radius: 50%;
    position: relative;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(81, 237, 255, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(81, 237, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(81, 237, 255, 0);
    }
}

.point-label {
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(15, 23, 42, 0.95);
    color: #51edff;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
    border: 1px solid rgba(81, 237, 255, 0.3);
    pointer-events: none;
}

.map-point:hover .point-label {
    opacity: 1;
}

.map-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #94a3b8;
    z-index: 1;
}

.map-text i {
    font-size: 3rem;
    color: rgba(81, 237, 255, 0.3);
    margin-bottom: 20px;
}

.map-text p {
    font-size: 1.2rem;
    max-width: 400px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Адаптивность для страницы контактов */
@media (max-width: 1024px) {
    .contacts-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-card{
        width: 100%;
    }
    .hero{
        padding-top: 40px;
    }
    .contact-content{
        flex-direction: column;
      gap: 40px;
    }
    .about-grid{
        flex-wrap: wrap;
    }
    .contact-cards {
        grid-template-columns: 1fr;
    }

    .contact-form-container {
        padding: 30px 25px;
    }

    .contact-form-header h2,
    .contacts-info h2,
    .offices-map h2 {
        font-size: 2rem;
    }

    .map-placeholder {
        padding: 30px 25px;
        min-height: 350px;
    }

    .hours-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .detail-row{
        position: relative;
    }
    .copy-line{
        position: absolute;
        right: 20px;
        bottom: 20px;
    }
}

@media (max-width: 480px) {
    .copy-line{
        right: 0;
    }
    .contact-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-icon {
        margin-bottom: 15px;
    }

    .contact-form-container {
        padding: 25px 20px;
    }

    .contact-form-header h2,
    .contacts-info h2,
    .offices-map h2 {
        font-size: 1.8rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 14px 18px;
        font-size: 1rem;
    }

    .submit-btn {
        padding: 16px 30px;
        font-size: 1.1rem;
    }

    .map-placeholder {
        padding: 25px 20px;
        min-height: 300px;
    }

    .map-text p {
        font-size: 1.1rem;
    }
}

/* Дополнительные стили для user-menu */
.user-menu {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: auto;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #161618;
    padding: 5px 15px;
    text-decoration: none;
    border-radius: 20px;
    text-align: left;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid #272729;
    transition: all 0.3s ease;

}


.user-avatar, .user-avatar-placeholder {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
}

.user-avatar-placeholder {
    background:  #51edff;
    color: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .8rem;
}

.user-name {
    color: #e2e8f0;
    font-weight: 500;
    font-size: 0.8rem;
}

.logout-icon {
    color: #94a3b8;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.logout-icon:hover {
    color: #ef4444;
}

/* Адаптив */
@media (max-width: 768px) {
    .user-menu {
        display: none; /* В мобильной версии показываем в меню */
    }
}

.logo a {
    text-decoration: none;
}

.logo a:hover {
    text-decoration: none;
}

.login-btn {
    text-decoration: none;
}

.login-btn:hover {
    text-decoration: none;
}

.order-section {
    padding: 0 0 60px;
    min-height: 60vh;
}
.hero-subtitle{
    font-size: 1.5rem;
}
.order-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.order-card {
    background-color: #1616185e;
    border-radius: 20px;
    padding: 40px;
    border: 1px solid #272729;
    backdrop-filter: blur(10px);
    margin-bottom: 30px;
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 0;
}

.order-status-badge {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.status-new {
    background-color: rgba(81, 237, 255, 0.1);
    color: #51edff;
}

.status-processing {
    background-color: rgba(255, 193, 7, 0.1);
    color: #ffc107;
}

.status-completed {
    background-color: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.status-cancelled {
    background-color: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.order-date {
    color: #94a3b8;
    font-size: 0.95rem;
}

.order-exchange-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color:#1F1F21;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
}

.exchange-direction {
    flex: 1;
    text-align: center;
}

.direction-label {
    color: #6D6D6D;
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.direction-amount {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
}

.currency-code {
    font-size: 1.2rem;
    color: #6D6D6D;
    margin-left: 5px;
}

.exchange-arrow-icon {
    padding: 0 30px;
    color: #fff;
    font-size: 2rem;
}

.order-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item {
    background-color: #1F1F21;
    border-radius: 12px;
    padding: 20px;
}

.info-label {
    color: #6D6D6D;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.info-value {
    font-size: 1.2rem;
    font-weight: 600;
    color: #e2e8f0;
}

.order-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.order-action-btn {
    flex: 1;
    padding: 18px 30px;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.order-action-btn.primary {
    background: #51edff;
    color: #0a0a0a;
}

.order-action-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(81, 237, 255, 0.4);
}

.order-action-btn.secondary {
    background-color: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.order-action-btn.secondary:hover {
    background-color: rgba(239, 68, 68, 0.2);
    transform: translateY(-3px);
}

.order-info-message {
    display: flex;
    align-items: center;
    gap: 15px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid #28282A;
    background-color: rgba(21, 21, 23, 0.6);
    border-radius: 20px;
    padding: 20px;
}

.order-info-message i {
    color: #6D6D6D;
    font-size: 1.5rem;
}

.order-info-message p {
    color: #6D6D6D;
    line-height: 1.5;
}

.order-details-card {
    background-color: #1616185e;
    border-radius: 20px;
    padding: 40px;
    border: 1px solid #272729;
    backdrop-filter: blur(10px);
}

.order-details-card h3 {
    font-size: 1.5rem;
    color: #e2e8f0;
    margin-bottom: 10px;
}

.order-details-card p {
    color: #6D6D6D;
    margin-bottom: 25px;
}

.payment-details {
    background-color: rgb(31 ,31 ,33);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
}

.detail-row {
    display: flex;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.detail-row:last-child {
    border-bottom: none;
}
.copy-line{
    background: transparent;
    border: none;
    color: #6D6D6D;
    cursor: pointer;
}

.detail-label {
    width: 120px;
    color: #6D6D6D;
    font-size: 0.95rem;
}

.detail-value {
    flex: 1;
    color: #e2e8f0;
    font-weight: 500;
}

.copy-details-btn {
    width: 100%;
    padding: 15px;
    background: transparent;
    color: #51edff;
    border: 1px solid rgb(81, 237, 255);
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    height: 48px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.copy-details-btn:hover {
    background-color: rgba(81, 237, 255, 1);
    border-color: #51edff;
    transform: translateY(-2px);
    color: #0a0a0a;
}

@media (max-width: 768px) {
    .order-card {
        padding: 30px 20px;
    }

    .order-exchange-box {
        flex-direction: column;
        gap: 5px;
        padding: 20px;
        margin-bottom: 15px;
    }
    .exchange-arrow-icon{
        font-size: 1rem;
    }
    .direction-label{
        margin-bottom: 0;
    }


    .exchange-arrow-icon {
        transform: rotate(90deg);
    }
    .order-info-message p{
        font-size: .8rem;
    }

    .order-info-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-bottom: 15px;
    }

    .order-actions {
        flex-direction: column;
    }

    .order-header {
        flex-direction: row;
        gap: 15px;
        align-items: flex-start;
    }

    .detail-row {
        flex-direction: column;
        gap: 5px;
    }

    .detail-label {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .order-card {
        padding: 25px 15px;
    }

    .direction-amount {
        font-size: 1.4rem;
    }

    .currency-code {
        font-size: 1rem;
    }

    .order-details-card {
        padding: 30px 20px;
    }
        .header {
            margin: 0 10px;
            width: calc(100% - 20px);
            top: 10px;
        }
        .hero{
            padding-top: 20px;
            padding-bottom: 20px;
        }
        .hero-subtitle{
            font-size: 1rem;
        }

        .header.floating {
            padding: 10px 0;
            border-radius: 12px;
        }

        .hero {
            padding: 20px 0 40px;
        }
        section{
            padding-top: 20px;
            padding-bottom: 20px;
        }

        .hero-content h2 {
            font-size: 1.8rem;
        }

        .cta-btn,
        .exchange-action-btn,
        .exchange-start-btn {
            width: 100%;
        }

        .section-title {
            font-size: 1.8rem;
        }

        .feature-card {
            padding: 30px 20px;
        }

        .feature-icon {
            font-size: 3rem;
        }

        .security-content h2,
        .monitoring h3 {
            font-size: 1.8rem;
        }

        .security-content p,
        .monitoring p {
            font-size: 1rem;
        }

        .exchange-box {
            gap: 10px;
        }

        .currency-option {
            padding: 12px 16px;
        }
        .exchange-section .balance-info-right{
            gap: 0;
            justify-content: space-between;
            width: 100%;
        }
        .reviews{
            padding-bottom: 0;
        }

        .header.floating .header-container {
            padding-inline: 0;
        }
        .footer-column:last-child{
            flex-direction: column-reverse;
        }
        .currency-symbol {
            font-size: 1.3rem;
            right: 16px;
        }
        .footer-column ul{
            flex-wrap: wrap;
            justify-content: center;
        }

        .review-card {
            padding: 25px 20px;
        }

        .review-content p {
            font-size: 1rem;
        }

        .cta-content h2 {
            font-size: 1.6rem;
        }

        .cta-content {
            padding: 50px 20px;
        }
    }
    
.user-name {
    display: flex;
    align-items: center;
    gap: 5px;
}

.user-role-badge {
    font-size: 0.8rem;
    background-color: rgba(81, 237, 255, 0.1);
    border-radius: 12px;
    padding: 2px 6px;
    margin-left: 5px;
}