:root {
    --primary: #2c5aa0;
    --secondary: #ff6b00;
    --light: #f8f9fa;
    --dark: #212529;
}

/* Custom Color Classes */
.bg-custom-light {
    background-color: var(--light);
}

.text-custom-dark {
    color: var(--dark);
}

.btn-custom-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
}

.btn-custom-primary:hover {
    background-color: #234a8a;
    border-color: #234a8a;
}

body {
    font-family: 'Roboto', sans-serif;
    overflow-x: hidden;
}

.navbar {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar .container {position: relative;}

a.navbar-brand {
    padding: 0;
    position: absolute;
    top: -15px;
    left: 0;
}

.hero-section {
    position: relative;
    color: white;
    padding: 120px 0;
    margin-bottom: 40px;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 0;
}

.hero-section > .container {
    position: relative;
    z-index: 1;
}

.hero-section {
    background-image: url('/wp-content/themes/cargo28/img/online-shopping-china.jpg');
    background-repeat: no-repeat; 
    background-position: center center;
    background-size: cover;
}

.bg-white h4 {
    color: var(--secondary);
}

.btn-primary {
    background-color: var(--secondary);
    border-color: var(--secondary);
}

.btn-outline-light:hover {
    color: var(--primary);
}

.feature-box {
    transition: all 0.3s;
    border-radius: 10px;
    padding: 30px 20px;
    height: 100%;
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.marketplace-logo {
    height: 60px;
    margin: 15px;
    filter: grayscale(100%);
    transition: all 0.3s;
    opacity: 0.7;
}

.marketplace-logo:hover {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.1);
}

.step-icon {
    font-size: 50px;
    color: var(--secondary);
    margin-bottom: 20px;
}

.testimonial-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    margin: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.stat-box {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    margin-bottom: 30px;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--secondary);
}

.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, #1a3a6a 100%);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

.footer {
    background: var(--dark);
    color: white;
    padding: 50px 0 20px;
}

.animate-on-scroll {
    opacity: 0;
}

/* Стили для модальных окон */
.white-popup-block {
    background: #FFF;
    padding: 40px;
    max-width: 600px;
    margin: 40px auto;
    position: relative;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.mfp-bg {
    background: rgba(0, 0, 0, 0.7);
    opacity: 0.8;
}

.mfp-close-btn-in .mfp-close {
    color: #333;
    font-size: 28px;
    top: 8px;
    right: 8px;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    background: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    font-size: 18px;
    color: #666;
}

.close-modal:hover {
    background: #eee;
    color: #333;
}

/* CTA Base Styles */
.cta-block {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.cta-title {
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.cta-title:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--secondary);
}

.cta-button {
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 12px 30px;
    border-radius: 50px;
    transition: all 0.3s;
    text-transform: uppercase;
    font-size: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* WhatsApp specific button */
.btn-whatsapp {
    background: #25D366;
    border-color: #25D366;
}

.btn-whatsapp:hover {
    background: #128C7E;
    border-color: #128C7E;
}

/* Telegram specific button */
.btn-telegram {
    background: #0088cc;
    border-color: #0088cc;
}

.btn-telegram:hover {
    background: #006699;
    border-color: #006699;
}

.cta-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #1a3a6a 100%);
    color: white;
    padding: 60px 20px;
}

.cta-primary .cta-title {
    font-size: 28px;
    color: white;
}

.cta-primary .cta-title:after {
    background: var(--secondary);
}

.cta-primary p {
    font-size: 18px;
    opacity: 0.9;
}

.cta-primary .cta-button {
    min-width: 220px;
    margin: 10px;
}

.cta-contrast {
    background: white;
    padding: 50px 20px;
    border: 1px solid rgba(0,0,0,0.05);
}

.cta-contrast .cta-title {
    font-size: 26px;
    color: var(--primary);
}

.cta-contrast p {
    color: #555;
    font-size: 17px;
}

.cta-contrast .btn-outline-primary {
    border-width: 2px;
}

.cta-final {
    background: linear-gradient(rgba(44, 90, 160, 0.9), rgba(44, 90, 160, 0.9)), 
                url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path fill="rgba(255,255,255,0.05)" d="M0,0 L100,0 L100,100 L0,100 Z"/></svg>');
    color: white;
    padding: 70px 20px;
    position: relative;
}

.cta-final:before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 20px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.05), transparent);
}

.cta-final .cta-title {
    font-size: 30px;
    color: white;
}

.cta-final .cta-button {
    border: 2px solid white;
    background: transparent;
    color: white;
}

.cta-final .cta-button:hover {
    background: white;
    color: var(--primary);
}

/* Floating CTA */
.fixed-bottom {
    z-index: 999;
    animation: fadeInUp 0.5s;
    border-top: 1px solid rgba(0,0,0,0.1);
}

@media (min-width: 992px) {
    .fixed-bottom {
        display: none !important;
    }
}

.floating-cta {
    background: white;
    box-shadow: 0 -5px 25px rgba(0,0,0,0.1);
    padding: 15px;
    transform: translateY(0);
    transition: transform 0.3s;
}

.floating-cta.hidden {
    transform: translateY(100%);
}

.floating-cta h6 {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 3px;
}

.floating-cta .btn {
    padding: 8px 20px;
    font-size: 14px;
    border-radius: 30px;
}

.floating-cta a i {color: #fff!important;}

/* Дополнительные стили для CTA */
.cta-primary .lead {
    font-size: 1.25rem;
    opacity: 0.9;
}

.cta-contrast .form-control-lg {
    padding: 12px 20px;
    border: 2px solid rgba(0,0,0,0.1);
}

.cta-contrast .form-control-lg:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 0.25rem rgba(255,107,0,0.25);
}

.cta-final .border-white-10 {
    border-color: rgba(255,255,255,0.1) !important;
}

/* Анимация появления плавающего CTA */
.floating-cta {
    transition: all 0.3s ease-in-out;
    bottom: -100px;
}

.floating-cta.show {
    bottom: 0;
    left: 0;
    width: 100%;
    position: fixed;
}

/* Иконки в кружках */
.btn-rounded-icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50% !important;
}

.owl-carousel .owl-item .testimonial-card img {width: 60px;}

.owl-dots {text-align: center;}

button.owl-dot {
    width: 10px;
    height: 10px;
    background: transparent !important;
    border-radius: 50%;
    margin: 5px;
    border: 1px solid #aaa!important;
}

button.owl-dot.active,
button.owl-dot:hover {
    background: var(--secondary)!important;
    border-color: transparent!important;
}

/* Стили для внутренних страниц */
.page-header {
    background: linear-gradient(rgba(44, 90, 160, 0.9), rgba(44, 90, 160, 0.9));
    color: white;
    padding: 120px 0 60px;
    margin-bottom: 40px;
}

.breadcrumbs ul li {
    list-style: none;
    display: inline-block;
}

.breadcrumb {
    background-color: transparent;
    padding: 0;
    margin-bottom: 20px;
}

.breadcrumb-item a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
}

.breadcrumbs ul {
    padding-left: 0;
}

.breadcrumbs ul li {
    color: white;
}

.breadcrumb-item+.breadcrumb-item {
    padding-left: 5px;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255,255,255,0.5);
    padding-right: 10px;
}

.content-section {
    padding: 40px 0;
}

.content-section h2 {
    color: var(--primary);
    margin-bottom: 25px;
    font-weight: 700;
}

.content-section h3 {
    color: var(--dark);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.content-section p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.content-section ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.content-section ul li {
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .hero-section {
        padding: 80px 0;
        text-align: center;
    }

    a.navbar-brand {
        right: 0;
        left: auto;
    }
    
    .hero-section h1 {
        font-size: 32px;
    }
    
    .marketplace-logo {
        height: 40px;
    }
    
    .page-header {
        padding: 60px 0 40px;
    }
    
    .content-section {
        padding: 30px 0;
    }
    
    .cta-block {
        margin: 30px auto;
        padding: 40px 15px !important;
    }
    
    .cta-title {
        font-size: 22px !important;
    }
    
    .cta-button {
        padding: 10px 20px;
        font-size: 14px;
        display: block;
        width: 100%;
        margin: 10px 0 !important;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
}

.cta-buttons a, a.cta-button {text-decoration: none; color: #fff;}

ul.list-style-check-circle {
    list-style: none;
    padding-left: 0;
}

ul.list-style-check-circle li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 8px;
}

ul.list-style-check-circle li::before {
  content: "\f058";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: #ff6b00;
  font-size: 1.1em;
}

/* Process Steps */
.work-step {
    background: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.05);
    height: 100%;
    transition: transform 0.3s;
}

.work-step:hover {
    transform: translateY(-5px);
}

.step-number {
    width: 42px;
    height: 42px;
    background: var(--secondary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 4px 8px rgba(255,107,0,0.2);
}

.step-title {
    display: inline-block;
    margin-bottom: 0.5rem;
}

.step-title i {
    color: var(--primary);
    font-size: 1.25rem;
}

.step-title h5 {
    display: inline;
    font-size: 1.1rem;
    margin: 0;
}

/* Остальные стили остаются без изменений */
.timeline-card {
    border-left: 3px solid var(--primary);
}

.timeline-duration {
    font-weight: bold;
    font-size: 1.1rem;
    color: var(--primary);
}

.timeline-title {
    font-size: 0.9rem;
    color: var(--dark);
    opacity: 0.7;
}

@media (max-width: 767.98px) {
    .work-step {
        margin-bottom: 1.5rem;
    }
}

/* Benefits Section */
.benefit-card {
    background-color: var(--light);
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-color: rgba(44, 90, 160, 0.2);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto;
    background-color: rgba(44, 90, 160, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon i {
    font-size: 30px;
    color: var(--primary);
}

.benefit-card h4 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

@media (max-width: 767.98px) {
    .benefit-card {
        margin-bottom: 20px;
    }
    
    .benefit-icon {
        width: 60px;
        height: 60px;
    }
    
    .benefit-icon i {
        font-size: 25px;
    }
}

/* Marketplaces Section */
.marketplace-card {
    display: block;
    text-decoration: none;
    color: var(--dark);
    transition: all 0.3s ease;
    height: 100%;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.03);
}

.marketplace-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: rgba(44, 90, 160, 0.1);
}

.marketplace-logo-wrapper {
    padding: 30px;
    text-align: center;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(44,90,160,0.03) 0%, rgba(255,255,255,1) 100%);
}

.marketplace-logo {
    max-height: 80px;
    max-width: 80%;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    filter: grayscale(100%) contrast(0.8);
    opacity: 0.9;
}

.marketplace-card:hover .marketplace-logo {
    filter: grayscale(0) contrast(1);
    opacity: 1;
    transform: scale(1.1);
}

.marketplace-info {
    padding: 20px;
    text-align: center;
}

.marketplace-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary);
    transition: color 0.3s;
}

.marketplace-divider {
    width: 40px;
    height: 2px;
    background: var(--secondary);
    margin: 0 auto 12px;
    opacity: 0.7;
    transition: all 0.3s;
}

.marketplace-card:hover .marketplace-divider {
    width: 60px;
    opacity: 1;
}

.marketplace-desc {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--dark);
    opacity: 0.8;
    margin-bottom: 0;
    transition: opacity 0.3s;
}

.marketplace-card:hover .marketplace-desc {
    opacity: 1;
}

.divider {
    width: 80px;
    height: 3px;
    background: var(--secondary);
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 991.98px) {
    .marketplace-logo-wrapper {
        height: 140px;
        padding: 20px;
    }
    
    .marketplace-logo {
        max-height: 70px;
    }
    
    .marketplace-info {
        padding: 15px;
    }
}

@media (max-width: 767.98px) {
    .marketplace-logo-wrapper {
        height: 120px;
    }
    
    .marketplace-logo {
        max-height: 60px;
    }
}

/* Кастомные стили для "зафиксированных" floating labels */
.form-floating label {
    transform: none !important;
    position: relative !important;
    opacity: 1 !important;
    font-size: 0.875rem !important;
    color: #6c757d !important;
    padding-left: 0 !important;
    margin-bottom: 0.25rem !important;
    padding-bottom: 0;
}
.form-floating > .form-control {
    padding: 0.5rem 1rem !important;
    height: calc(3.5rem + 2px) !important;
}
.form-floating > textarea.form-control {
    height: auto !important;
    padding-top: 1.5rem !important;
}