/* Bitrix24 page modern 2025 design */

:root {
    --primary-color: #66a5ad;
    /* primary teal */
    --primary-dark: #0a6a6e;
    --secondary-color: #f0f9fa;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    --gradient-primary: linear-gradient(135deg, #66a5ad 0%, #0a6a6e 100%);
    --gradient-soft: linear-gradient(180deg, #f0f9fa 0%, #ffffff 100%);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Global Section Styling */
.section {
    padding: 100px 0;
    overflow: hidden;
}

/* Modern Hero Section */
.bitrix24-hero {
    position: relative;
    padding: 15px 0 15px;
    background: var(--gradient-soft);
    text-align: center;
}

.bitrix24-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}

/* Content Hero Image */
.service-hero {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--glass-shadow);
    transform: perspective(1000px) rotateX(2deg);
    transition: var(--transition);
}

.service-hero:hover {
    transform: perspective(1000px) rotateX(0deg) scale(1.02);
}

.service-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gradient-primary);
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(10, 106, 110, 0.3);
}

/* Modern Features Section */
.service-features h4 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.feature-item-modern {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    height: 100%;
    transition: var(--transition);
    box-shadow: var(--glass-shadow);
}

.feature-item-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.feature-icon-modern {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(10, 106, 110, 0.2);
}

.feature-content-modern h5 {
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.feature-content-modern p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Process Section Modernization */
.service-process {
    margin-top: 60px;
}

.process-step-modern {
    display: flex;
    gap: 25px;
    margin-bottom: 40px;
    position: relative;
}

.step-number-modern {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(10, 106, 110, 0.3);
}

.step-content-modern h5 {
    font-weight: 700;
    margin-bottom: 8px;
}

/* Modern Pricing */
.pricing-card-modern {
    background: white;
    border-radius: 24px;
    padding: 40px;
    height: 100%;
    transition: var(--transition);
    border: 1px solid #e2e8f0;
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card-modern.featured {
    background: var(--text-dark);
    color: white;
    transform: scale(1.05);
    z-index: 2;
    border: none;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.pricing-card-modern.featured .pricing-header h3 {
    color: var(--primary-color);
}

.pricing-header h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.price-modern {
    font-size: 2.22rem;
    font-weight: 800;
    margin: 20px 0;
}

.features-list-modern {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    flex-grow: 1;
}

.features-list-modern li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.features-list-modern i {
    color: var(--primary-color);
}

.btn-pricing {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    font-weight: 700;
    transition: var(--transition);
}

/* Modern Sidebar */
.sidebar-sticky {
    position: sticky;
    top: 100px;
}

.sidebar-box {
    background: white;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--glass-shadow);
    border: 1px solid #f1f5f9;
}

.menu-item-modern {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    border-radius: 12px;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 8px;
    transition: var(--transition);
    background: #f8fafc;
}

.menu-item-modern:hover,
.menu-item-modern.active {
    background: var(--gradient-primary);
    color: white;
    transform: translateX(5px);
}

.menu-item-modern i {
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 991px) {
    .pricing-card-modern.featured {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
        letter-spacing: 0;
        overflow-wrap: break-word;
    }
}

@media (max-width: 380px) {
    .hero-title {
        font-size: 2rem;
    }
}