/* Custom Styles for AzbukaPay */

/* Предлоги и короткие фразы не переносятся по одному слову */
.nobr { white-space: nowrap; }

:root {
    --primary-blue: #3b7cff;
    --primary-blue-dark: #234a99;
    --text-dark: #37464f;
    --text-gray: #475569;
    --white: #ffffff;
    --shadow: 0px 4px 15px 0px rgba(0, 0, 0, 0.08);
}

/* Fonts */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/Montserrat-Regular.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/Montserrat-Medium.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/Montserrat-SemiBold.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'Gilroy';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/Gilroy-Regular.woff2?v=3') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'Gilroy';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/Gilroy-Medium.woff2?v=3') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'Gilroy';
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/Gilroy-Semibold.woff2?v=4') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'Gilroy';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/Gilroy-Bold.woff2?v=3') format('woff2');
    font-display: swap;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
    position: relative;
}

/* Header Navigation */
.header-nav {
    position: fixed;
    top: 20px;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 60px;
}

.header-nav .navbar {
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: 11px 20px;
    max-width: 1322px;
    margin: 0 auto;
}

/* Container max-width */
.container {
    max-width: 1322px;
}

/* Logo */
.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    width: 47.266px;
    height: 48.999px;
    background: linear-gradient(136.09deg, var(--primary-blue) 1.941%, var(--primary-blue-dark) 98.507%);
    border-radius: 8.436px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.logo-subtract {
    width: 38.782px;
    height: 36.114px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: contain;
    display: block;
}

.logo-subtract svg {
    width: 100%;
    height: 100%;
    display: block;
}

.logo-subtract svg path {
    fill: white;
}

.logo-text {
    font-family: 'Gilroy', 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 700;
    font-size: 31.433px;
    background: linear-gradient(169.38deg, var(--primary-blue) 1.941%, var(--primary-blue-dark) 98.507%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: normal;
}

/* Navigation Links */
.navbar-nav .nav-link {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-gray);
    padding: 2px 4px;
    margin: 0 12px;
    line-height: 1.74;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-blue);
}

/* Auth Buttons */
.btn-login {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.74;
    color: transparent;
    background: linear-gradient(147.62deg, var(--primary-blue) 1.941%, var(--primary-blue-dark) 98.507%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    padding: 12px 30px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.btn-register {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.74;
    color: transparent;
    background: linear-gradient(166.46deg, var(--primary-blue) 1.941%, var(--primary-blue-dark) 98.507%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    padding: 12px 30px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid var(--primary-blue);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 140px 0 100px;
    background: var(--white);
    overflow: visible;
}

.hero-title {
    font-family: 'Gilroy', 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 600;
    font-size: 64px;
    line-height: 1.1;
    color: var(--text-dark);
    margin-bottom: 15.823px;
    text-align: center;
}

.gradient-text {
    background: linear-gradient(173.13deg, var(--primary-blue) 1.941%, var(--primary-blue-dark) 98.507%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.74;
    color: var(--text-dark);
    max-width: 623px;
    margin: 0 auto 37px;
    text-align: center;
    padding: 0 20px;
}

.highlight-blue {
    font-weight: 600;
    color: var(--primary-blue);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0 20px;
}

.btn-primary-gradient {
    background: linear-gradient(165.22deg, var(--primary-blue) 1.941%, var(--primary-blue-dark) 98.507%);
    color: var(--white);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.74;
    padding: 12px 30px;
    border-radius: 8px;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 124, 255, 0.3);
    color: var(--white);
}

.btn-outline-gradient {
    border: 1px solid var(--primary-blue);
    background: transparent;
    color: transparent;
    background: linear-gradient(173.92deg, var(--primary-blue) 1.941%, var(--primary-blue-dark) 98.507%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.74;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-outline-gradient:hover {
    background: linear-gradient(165.22deg, var(--primary-blue) 1.941%, var(--primary-blue-dark) 98.507%);
    -webkit-text-fill-color: var(--white);
    color: var(--white);
    transform: translateY(-2px);
}

/* Decorative Coins */
.coin-left {
    position: absolute;
    left: -44px;
    top: 368px;
    width: 381.179px;
    height: 381.179px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.coin-left .coin-image {
    width: 312.136px;
    height: 312.136px;
    transform: rotate(345.286deg);
    object-fit: cover;
}

.coin-right {
    position: absolute;
    right: calc(4.67% - 9px);
    top: 94px;
    width: 256.118px;
    height: 256.118px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 0;
}

.coin-right .coin-image {
    width: 221.438px;
    height: 221.438px;
    transform: rotate(9.87deg);
    object-fit: cover;
}

/* Features Section */
.features-section {
    padding: 60px 0;
    position: relative;
    z-index: 2;
}

.features-cards {
    display: flex;
    gap: 14px;
    justify-content: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    align-items: stretch;
}

.feature-card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow);
    height: 86px;
    width: 364px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 25px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    width: 19.135px;
    height: 19.135px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon img,
.feature-icon svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.feature-icon svg path,
.feature-icon svg g path {
    stroke: url(#gradient) !important;
}

.feature-icon svg {
    filter: drop-shadow(0 0 0 transparent);
}

.feature-text {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--text-dark);
    margin: 0;
    white-space: nowrap;
}

.features-footer {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.74;
    color: var(--text-dark);
    text-align: center;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1400px) {
    .coin-left {
        left: -100px;
    }
    
    .coin-right {
        right: calc(-7% - 9px);
        z-index: 0;
    }
}

@media (max-width: 1200px) {
    .header-nav {
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 48px;
    }
}

@media (max-width: 992px) {
    .header-nav .navbar {
        padding: 15px 20px;
    }
    
    .logo-text {
        font-size: 24px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-description {
        font-size: 14px;
        padding: 0 20px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        padding: 0 20px;
    }
    
    .btn-primary-gradient,
    .btn-outline-gradient {
        width: 100%;
    }
    
    .features-cards {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }
    
    .feature-card {
        width: 100%;
        max-width: 100%;
    }
    
    /* Hide desktop auth buttons on tablet */
    .d-flex.align-items-center.gap-3 {
        display: none !important;
    }
}

/* Mobile Header Actions */
.mobile-header-actions {
    display: none;
    align-items: center;
    gap: 8px;
}

.mobile-login-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.mobile-login-btn:hover {
    background: #e2e8f0;
}

.mobile-login-btn img {
    width: 24px;
    height: 24px;
}


/* Why AzbukaPay Section */
.why-section {
    padding: 80px 0;
    background: var(--white);
    position: relative;
}

.why-container {
    max-width: 1322px;
}

.why-slider-wrapper {
    position: relative;
}

.why-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    align-items: start;
}

.why-row > [class*="col-"] {
    margin: 0;
    padding: 0;
    width: 100%;
}

/* Scroll Progress Indicator */
.why-scroll-indicator {
    display: none;
    width: calc(100% - 30px);
    height: 4px;
    background: #e2e8f0;
    border-radius: 2px;
    margin: 20px 15px 0;
    overflow: hidden;
}

.why-scroll-progress {
    height: 100%;
    background: linear-gradient(165.22deg, var(--primary-blue) 1.941%, var(--primary-blue-dark) 98.507%);
    border-radius: 2px;
    width: 0%;
    transition: width 0.1s ease;
}

@media (max-width: 992px) {
    .why-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

.why-header {
    margin-bottom: 40px;
}

.why-title {
    font-family: 'Gilroy', 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 600;
    font-size: 40px;
    line-height: normal;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.why-subtitle {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.74;
    color: var(--text-dark);
    max-width: 800px;
    margin: 0 auto;
}

.why-card {
    background: #f2f6ff;
    border-radius: 8px;
    padding: 0;
    height: 164px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    width: 100%;
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 25px rgba(0, 0, 0, 0.12);
}

.why-card-icon {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.why-card-icon img,
.why-card-icon svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.why-card:not(.why-card-image) .why-card-icon {
    right: 24px;
    top: 24px;
    width: 25px;
    height: 25px;
}

.why-card-image .why-card-icon {
    display: none;
}

.why-card-title {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--text-dark);
    margin: 0;
    position: absolute;
    top: 43px;
    left: 24px;
    transform: translateY(-50%);
    max-width: calc(100% - 80px);
    white-space: pre-wrap;
}

.why-card:nth-of-type(2) .why-card-title,
.col-md-4:nth-of-type(2) .why-card-title {
    top: 33.5px;
}

.why-card-description {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--text-dark);
    margin: 0;
    position: absolute;
    bottom: 58px;
    left: 24px;
    transform: translateY(100%);
    max-width: calc(100% - 48px);
    white-space: pre-wrap;
}

.why-card-large .why-card-description {
    transform: none;
    bottom: auto;
}

/* Card with Image (Credit Card) */
.why-card-image {
    background: linear-gradient(154.05deg, var(--primary-blue) 1.941%, var(--primary-blue-dark) 98.507%);
    padding: 0;
    overflow: hidden;
    height: 164px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
}

.why-card-image .card-image {
    position: absolute;
    left: 5px;
    top: 42px;
    width: 100%;
    max-width: 308px;
    height: 205px;
    object-fit: cover;
    object-position: 50% 50%;
    pointer-events: none;
    z-index: 1;
}

/* Large Card */
.why-card-large-wrapper {
    position: relative;
    height: 164px;
    overflow: visible;
}

.why-card-large {
    background: #f2f6ff;
    border-radius: 8px;
    padding: 0;
    height: calc(164px + 40px + 164px);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    width: 100%;
    z-index: 1;
}

.why-card-large:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 25px rgba(0, 0, 0, 0.12);
}

.why-card-large .why-card-title {
    position: absolute;
    top: 43px;
    left: 24px;
    transform: translateY(-50%);
    margin: 0;
    max-width: 193px;
    white-space: pre-wrap;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--text-dark);
    padding: 0;
}

.why-card-large .why-card-description {
    position: absolute;
    top: 86px;
    left: 24px;
    margin: 0;
    padding: 0;
    max-width: 215px;
    white-space: pre-wrap;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--text-dark);
    bottom: auto;
}

.why-card-large-image {
    position: absolute;
    left: 167px;
    top: 235px;
    width: 143px;
    height: 96px;
    z-index: 1;
}

.why-card-large-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
}

/* Responsive for Why Section */
@media (max-width: 992px) {
    .why-card-large {
        height: 164px;
    }
    
    .why-card-large .why-card-title {
        top: 43px;
        font-size: 14px;
    }
    
    .why-card-large .why-card-description {
        font-size: 16px;
        bottom: 24px;
    }
    
    .why-card-large-image {
        display: none;
    }
}

@media (max-width: 992px) {
    .why-section {
        padding: 60px 0;
    }
    
    .why-title {
        font-size: 32px;
    }
    
    .why-subtitle {
        font-size: 16px;
        padding: 0 20px;
    }
    
    .why-content {
        gap: 19px;
    }
    
    .why-grid {
        gap: 19px;
    }
    
    .why-card {
        width: 100%;
        height: auto;
        min-height: 164px;
        padding: 24px;
    }
    
    .why-card-title {
        position: static;
        transform: none;
        margin-bottom: 12px;
        max-width: 100%;
    }
    
    .why-card-description {
        position: static;
        margin-top: 8px;
        max-width: 100%;
    }
    
    .why-card-icon {
        position: static;
        margin-bottom: 12px;
        align-self: flex-start;
    }
    
    .why-card-image {
        height: auto;
        min-height: 200px;
        padding: 20px;
    }
    
    .why-card-image .card-image {
        position: relative;
        left: 0;
        top: 0;
        width: 100%;
        height: auto;
        max-height: 300px;
        object-fit: contain;
    }
    
    .why-card-large {
        width: 100%;
        height: auto;
        min-height: 300px;
        padding: 24px;
    }
    
    .why-card-large .why-card-title {
        position: static;
        transform: none;
        margin-bottom: 12px;
    }
    
    .why-card-large .why-card-description {
        position: static;
        margin-bottom: 20px;
    }
    
    .why-card-large-image {
        position: relative;
        margin-top: 20px;
        width: 143px;
        height: 96px;
    }
}


/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-section > .container,
.features-section,
.why-section,
.connection-section,
.business-section {
    animation: fadeInUp 0.8s ease-out;
}

/* Business Categories Section */
.business-section {
    padding: 80px 0;
    background: var(--white);
    position: relative;
}

/* Business Slider Wrapper */
.business-slider-wrapper {
    position: relative;
}

/* Business Scroll Progress Indicator */
.business-scroll-indicator {
    display: none;
    width: calc(100% - 30px);
    height: 4px;
    background: #e2e8f0;
    border-radius: 2px;
    margin: 20px 15px 0;
    overflow: hidden;
}

.business-scroll-progress {
    height: 100%;
    background: linear-gradient(165.22deg, var(--primary-blue) 1.941%, var(--primary-blue-dark) 98.507%);
    border-radius: 2px;
    width: 0%;
    transition: width 0.1s ease;
}

.business-container {
    max-width: 1322px;
}

.business-header {
    margin-bottom: 40px;
}

.business-title {
    font-family: 'Gilroy', 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 600;
    font-size: 40px;
    line-height: normal;
    color: #0f172a;
    margin-bottom: 12px;
}

.business-subtitle {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.74;
    color: #475569;
    max-width: 800px;
    margin: 0 auto;
}

.business-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: start;
}

.business-row > [class*="col-"] {
    margin: 0;
    padding: 0;
    width: 100%;
}

.business-card {
    background: #f2f6ff;
    border-radius: 8px;
    padding: 0;
    height: 145px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    width: 100%;
}

.business-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 25px rgba(0, 0, 0, 0.12);
}

.business-card-shadow {
    box-shadow: 0px 2px 6.1px 0px rgba(0, 0, 0, 0.1);
}

.business-card-active {
    background: linear-gradient(162.5deg, var(--primary-blue) 1.941%, var(--primary-blue-dark) 98.507%);
    height: 145px;
}

.business-card-title {
    position: absolute;
    left: 24px;
    top: 32px;
    transform: translateY(-50%);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-dark);
    margin: 0;
    white-space: nowrap;
    z-index: 2;
}

.business-card-2 .business-card-title,
.business-card-3 .business-card-title {
    top: 44px;
}

.business-card-3 .business-card-title {
    white-space: pre-wrap;
    max-width: 241px;
}

.business-card-title-active {
    color: var(--white);
}

.business-card-subtitle {
    position: absolute;
    left: 24px;
    top: 53px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--white);
    margin: 0;
    white-space: pre-wrap;
    max-width: 312px;
    z-index: 2;
}

.business-card-icon {
    position: absolute;
    left: 312px;
    top: 24px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.business-card-icon img,
.business-card-icon svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.business-card-image {
    position: absolute;
    z-index: 1;
    pointer-events: none;
}

.business-card-1 .business-card-image {
    left: 193px;
    top: 48px;
    width: 234px;
    height: 156px;
}

.business-card-2 .business-card-image {
    left: 250px;
    top: 63px;
    width: 165px;
    height: 110px;
}

.business-card-3 .business-card-image {
    left: 251px;
    top: 50px;
    width: 144px;
    height: 144px;
}

.business-card-4 .business-card-image {
    left: 185px;
    top: 37px;
    width: 267px;
    height: 178px;
}

.business-card-5 .business-card-image {
    left: 240px;
    top: 26px;
    width: 169px;
    height: 169px;
}

.business-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
}

.business-card-6-content {
    position: absolute;
    left: 24px;
    top: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 312px;
    z-index: 2;
}

.business-card-6 .business-card-title-active {
    position: static;
    transform: none;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--white);
    margin: 0;
    white-space: pre-wrap;
}

.business-card-6 .business-card-subtitle {
    position: static;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    color: var(--white);
    margin: 0;
    white-space: pre-wrap;
}

.business-card-6 .business-card-image,
.business-card-image-active {
    left: 291px;
    top: 73px;
    width: 120px;
    height: 108px;
    position: absolute;
    z-index: 1;
    overflow: visible;
}

.business-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
    display: block;
}

.business-vector-image {
    position: absolute;
    left: 46.34px;
    top: 8.35px;
    width: 23.34px;
    height: 10.595px;
    object-fit: contain;
    z-index: 2;
    display: block;
}

/* Responsive for Business Section */
@media (max-width: 992px) {
    .business-row {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* Connection Steps Section */
.connection-section {
    padding: 80px 0;
    background: var(--white);
    position: relative;
}

.connection-container {
    max-width: 1322px;
}

.connection-header {
    margin-bottom: 40px;
}

.connection-title {
    font-family: 'Gilroy', 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 600;
    font-size: 40px;
    line-height: normal;
    color: #0f172a;
    margin-bottom: 12px;
}

.connection-subtitle {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.74;
    color: #475569;
    max-width: 800px;
    margin: 0 auto;
}

.connection-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    align-items: start;
}

.connection-row > [class*="col-"] {
    margin: 0;
    padding: 0;
    width: 100%;
}

.connection-card {
    background: #f2f6ff;
    border-radius: 8px;
    padding: 0;
    height: 302px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    width: 100%;
}

.connection-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 25px rgba(0, 0, 0, 0.12);
}

.connection-card-active {
    background: linear-gradient(138.86deg, var(--primary-blue) 1.941%, var(--primary-blue-dark) 98.507%);
    height: 302px;
}

.connection-number {
    position: absolute;
    top: 0;
    left: 44px;
    transform: translateX(-50%);
    font-family: 'Gilroy', 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 600;
    font-size: 128px;
    line-height: normal;
    background: linear-gradient(108.22deg, var(--primary-blue) 1.941%, var(--primary-blue-dark) 98.507%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    z-index: 1;
}

.connection-card-2 .connection-number {
    left: 54px;
    background: linear-gradient(115deg, var(--primary-blue) 1.941%, var(--primary-blue-dark) 98.507%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.connection-card-3 .connection-number {
    left: 55px;
    background: linear-gradient(115.65deg, var(--primary-blue) 1.941%, var(--primary-blue-dark) 98.507%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.connection-number-active {
    color: #e8efff;
    -webkit-text-fill-color: #e8efff;
    background: none;
    left: 57.5px;
}

.connection-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.connection-card-1 .connection-icon {
    left: 268px;
    right: auto;
}

.connection-card-2 .connection-icon {
    left: 268px;
    right: auto;
}

.connection-card-3 .connection-icon {
    left: 267px;
    right: auto;
    top: 22px;
}

.connection-card-active .connection-icon {
    left: 269px;
    right: auto;
}

.connection-icon img,
.connection-icon svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.connection-content {
    position: absolute;
    left: 20px;
    top: calc(50% + 98.5px);
    transform: translateY(-50%);
    width: calc(100% - 40px);
    max-width: 280px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.connection-card-2 .connection-content {
    left: 17px;
    max-width: 283px;
}

.connection-card-3 .connection-content {
    top: calc(50% + 81px);
    max-width: 279px;
}

.connection-card-active .connection-content {
    max-width: 281px;
}

.connection-card-title {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--text-dark);
    margin: 0;
    white-space: pre-wrap;
}

.connection-card-title-active {
    color: var(--white);
}

.connection-card-description {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--text-dark);
    margin: 0;
    white-space: pre-wrap;
}

.connection-card-description-active {
    color: #e8efff;
}

.btn-connection {
    background: linear-gradient(165.37deg, var(--primary-blue) 1.941%, var(--primary-blue-dark) 98.507%);
    color: var(--white);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.74;
    padding: 12px 30px;
    border-radius: 8px;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-connection:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 124, 255, 0.3);
    color: var(--white);
}

/* Connection Slider Wrapper */
.connection-slider-wrapper {
    position: relative;
}

/* Connection Scroll Progress Indicator */
.connection-scroll-indicator {
    display: none;
    width: calc(100% - 30px);
    height: 4px;
    background: #e2e8f0;
    border-radius: 2px;
    margin: 20px 15px 0;
    overflow: hidden;
}

.connection-scroll-progress {
    height: 100%;
    background: linear-gradient(165.22deg, var(--primary-blue) 1.941%, var(--primary-blue-dark) 98.507%);
    border-radius: 2px;
    width: 0%;
    transition: width 0.1s ease;
}

/* Responsive for Connection Section */
@media (max-width: 992px) {
    .connection-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .connection-card {
        height: auto;
        min-height: 302px;
    }
    
    .connection-content {
        position: static;
        transform: none;
        margin-top: 120px;
        padding: 20px;
    }
}


/* Tariff Section */
.tariff-section {
    padding: 80px 0;
    background: var(--white);
}

.tariff-container {
    max-width: 1322px;
    padding: 0 60px;
}

.tariff-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 90px;
}

/* Left Column: Content */
.tariff-content {
    flex: 0 0 577px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.tariff-header {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tariff-title {
    font-family: 'Gilroy', 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 600;
    font-size: 40px;
    line-height: normal;
    color: #0f172a;
    margin: 0;
    width: 577px;
}

.tariff-subtitle {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.74;
    color: var(--text-gray);
    margin: 0;
    width: 477px;
}

.tariff-filters {
    display: flex;
    gap: 90px;
    align-items: flex-start;
}

.tariff-filter-group {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.tariff-filter-group:first-child {
    width: 245px;
}

.tariff-filter-group:last-child {
    width: 148px;
}

.tariff-filter-title {
    font-family: 'Gilroy', 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 600;
    font-size: 24px;
    line-height: normal;
    color: #0f172a;
    margin: 0;
}

.tariff-filter-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tariff-filter-btn {
    border: 2px solid rgba(59, 124, 255, 0.4);
    border-radius: 8px;
    padding: 12px 30px;
    background: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.74;
    color: var(--primary-blue);
    cursor: pointer;
    text-align: center;
    width: 100%;
    white-space: nowrap;
}

.tariff-filter-btn:hover {
    border-color: var(--primary-blue);
}

/* Right Column: Card */
.tariff-card {
    flex: 0 0 650px;
    background: #f2f6ff;
    border-radius: 8px;
    height: 519px;
    position: relative;
    overflow: hidden;
    padding: 40px;
}

.tariff-card-title {
    font-family: 'Gilroy', 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 600;
    font-size: 32px;
    line-height: 1.2;
    color: #0f172a;
    margin: 0;
    position: absolute;
    left: 40px;
    top: 40px;
    width: 342px;
}

.tariff-card-value {
    font-family: 'Gilroy', 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 600;
    font-size: 120px;
    line-height: normal;
    color: var(--primary-blue);
    position: absolute;
    left: 40px;
    top: 199px;
    margin: 0;
}

.tariff-card-description {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.74;
    color: var(--text-gray);
    margin: 0;
    position: absolute;
    left: 43px;
    top: 359px;
    width: 477px;
}

.tariff-card-btn {
    position: absolute;
    left: 50%;
    top: 427px;
    transform: translateX(-50%);
    width: 570px;
    padding: 12px 30px;
    background: linear-gradient(175.16deg, var(--primary-blue) 1.941%, var(--primary-blue-dark) 98.507%);
    border: none;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.74;
    color: var(--white);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tariff-card-btn:hover {
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0px 8px 25px rgba(59, 124, 255, 0.3);
}

.tariff-card-image {
    position: absolute;
    left: 361px;
    top: -54px;
    width: 359px;
    height: 359px;
    z-index: 1;
}

.tariff-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
    pointer-events: none;
}

/* Responsive for Tariff Section */
@media (max-width: 1200px) {
    .tariff-wrapper {
        flex-direction: column;
        gap: 40px;
    }
    
    .tariff-content {
        flex: 1;
        width: 100%;
    }
    
    .tariff-title {
        width: 100%;
    }
    
    .tariff-subtitle {
        width: 100%;
    }
    
    .tariff-card {
        flex: 1;
        width: 100%;
        max-width: 650px;
    }
}


/* CTA Section */
.cta-section {
    padding: 60px 0;
    background: var(--white);
}

.cta-container {
    max-width: 1322px;
    padding: 0 60px;
}

.cta-block {
    position: relative;
    width: 1320px;
    min-height: 468px;
    background: linear-gradient(163.984deg, var(--primary-blue) 1.941%, var(--primary-blue-dark) 98.507%);
    border-radius: 8px;
    overflow: hidden;
    padding: 40px 60px;
}

.cta-content {
    position: absolute;
    left: 60px;
    top: 40px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 388px;
    width: 1200px;
}

.cta-header {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-bottom: 28px;
}

.cta-title {
    font-family: 'Gilroy', 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 600;
    font-size: 40px;
    line-height: 1.2;
    color: var(--white);
    margin: 0;
    width: 1063px;
    white-space: pre-wrap;
}

.cta-subtitle {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    color: #e8efff;
    margin: 0;
}

.cta-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
    width: 416px;
}

.cta-form-fields {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cta-input {
    background: var(--white);
    border: none;
    border-radius: 4px;
    padding: 10px 16px;
    height: 53px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.74;
    color: var(--text-gray);
    box-shadow: 0px 2px 6.1px 0px rgba(0, 0, 0, 0.1);
    outline: none;
    transition: box-shadow 0.3s ease;
}

.cta-input:focus {
    box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.15);
}

.cta-input::placeholder {
    color: var(--text-gray);
}

.cta-form-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    color: #fff;
}

.cta-form-consent-input {
    flex-shrink: 0;
    margin-top: 2px;
    width: 18px;
    height: 18px;
    accent-color: var(--primary-blue);
}

.cta-form-consent-link {
    color: #fff;
    text-decoration: underline;
}

.cta-form-consent-link:hover {
    color: rgba(255, 255, 255, 0.85);
}

.pd-consent-body {
    font-size: 14px;
    line-height: 1.5;
}

.pd-consent-body p {
    margin-bottom: 1em;
}

.pd-consent-body p:last-child {
    margin-bottom: 0;
}

.cta-btn {
    background-color: #FFFFFF;
    border: none;
    border-radius: 8px;
    padding: 12px 30px;
    height: 48px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.cta-btn span {
    background-image: linear-gradient(172.09deg, rgba(59, 124, 255, 1) 1.941%, rgba(35, 74, 153, 1) 98.507%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.cta-btn:hover {
    background-color: transparent;
    background-image: linear-gradient(172.09deg, rgba(59, 124, 255, 1) 1.941%, rgba(35, 74, 153, 1) 98.507%);
}

.cta-btn:hover span {
    -webkit-text-fill-color: #FFFFFF;
    color: #FFFFFF;
    background-image: none;
}

.cta-image-wrapper {
    position: absolute;
    left: calc(50% + 368px);
    top: calc(50% + 148px);
    transform: translate(-50%, -50%);
    width: 516px;
    height: 347px;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.cta-card-image {
    position: absolute;
    width: 118.6%;
    height: 177.81%;
    left: -9.11%;
    top: -33.43%;
    object-fit: cover;
    object-position: 50% 50%;
}

/* Responsive for CTA Section */
@media (max-width: 1400px) {
    .cta-block {
        width: 100%;
        max-width: 1320px;
    }
    
    .cta-content {
        width: 100%;
        max-width: 1063px;
    }
    
    .cta-title {
        width: 100%;
    }
    
    .cta-image-wrapper {
        display: none;
    }
}

@media (max-width: 992px) {
    .cta-section {
        padding: 40px 0;
    }
    
    .cta-container {
        padding: 0 15px;
    }
    
    .cta-block {
        height: auto;
        min-height: 460px;
        padding: 30px 20px;
    }
    
    .cta-content {
        width: 100%;
    }
    
    .cta-title {
        font-size: 32px;
    }
    
    .cta-form {
        width: 100%;
        max-width: 416px;
    }
}


/* Platform Section */
.platform-section {
    padding: 80px 0;
    background: var(--white);
}

.platform-container {
    max-width: 1322px;
    padding: 0 60px;
}

.platform-header {
    margin-bottom: 40px;
}

.platform-title {
    font-family: 'Gilroy', 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 600;
    font-size: 32px;
    line-height: normal;
    color: #0f172a;
    margin: 0 0 14px 0;
    max-width: 1063px;
    margin-left: auto;
    margin-right: auto;
}

.platform-subtitle {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.74;
    color: var(--text-gray);
    margin: 0;
}

.platform-cards {
    display: flex;
    gap: 24px;
    justify-content: center;
    align-items: flex-start;
    max-width: 1320px;
    margin: 0 auto;
}

.platform-card {
    flex: 0 0 648px;
    height: 201px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    padding: 40px 30px;
}

.platform-card-light {
    background: #f2f6ff;
}

.platform-card-blue {
    background: linear-gradient(163.93deg, var(--primary-blue) 1.941%, var(--primary-blue-dark) 98.507%);
}

.platform-card-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 312px;
}

.platform-card-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--text-dark);
    margin: 0;
}

.platform-card-title-white {
    color: #f2f6ff;
}

.platform-card-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--text-dark);
}

.platform-card-list li {
    margin-bottom: 0;
    padding-left: 0;
}

.platform-card-list li::before {
    content: '•';
    margin-right: 8px;
    color: var(--text-dark);
}

.platform-card-text {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
    color: #f2f6ff;
    margin: 0;
}

.platform-card-image {
    position: absolute;
    left: 365px;
    top: -41px;
    width: 283px;
    height: 283px;
    z-index: 1;
    pointer-events: none;
}

.platform-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
}

/* Responsive for Platform Section */
@media (max-width: 1400px) {
    .platform-cards {
        flex-wrap: wrap;
    }
    
    .platform-card {
        flex: 1;
        min-width: 300px;
        max-width: 648px;
    }
}


/* Footer */
.footer {
    background: #e8efff;
    padding: 51px 0;
    position: relative;
}

.footer-container {
    max-width: 1322px;
    padding: 0 60px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    position: relative;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 203px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8.36px;
    margin-bottom: 40px;
    position: relative;
    padding-left: 0;
}

.footer-logo-icon {
    width: 94.095px;
    height: 97.546px;
    border-radius: 16.794px;
    background: linear-gradient(136.09deg, rgba(19, 156, 237, 1) 2.3505%, rgba(21, 114, 220, 1) 96.59%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
}

.footer-logo-subtract {
    width: 77.207px;
    height: 71.895px;
    object-fit: contain;
}

.footer-logo-text {
    font-family: 'Gilroy', 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 700;
    font-size: 62.577px;
    line-height: normal;
    color: transparent;
    background-image: linear-gradient(167.66deg, rgba(20, 154, 236, 1) 0%, rgba(21, 115, 221, 1) 96.957%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    margin-left: 8.36px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 20px;
}

.footer-contact-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--text-dark);
    margin: 0 0 12px 0;
}

.footer-copyright {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.74;
    color: var(--text-gray);
    margin: 0;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 203px;
}

.footer-column-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--text-dark);
    margin: 0;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links li {
    margin: 0;
    padding: 0;
}

.footer-link {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    margin: 0;
}

.footer-link:hover {
    color: var(--primary-blue);
}

/* Responsive for Footer */
@media (max-width: 992px) {
    .footer-content {
        flex-wrap: wrap;
        gap: 30px;
    }
    
    .footer-left {
        width: 100%;
        max-width: 100%;
    }
    
    .footer-column {
        flex: 1;
        min-width: 200px;
    }
}
