* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    overflow-x: hidden;
    background: #f5f5f5;
}

.vertical-slider {
    position: relative;
    width: 100%;
}

/* Navigation Dots */
.slider-navigation {
    position: fixed;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #4d6fff;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.nav-dot:hover {
    background: rgba(77, 111, 255, 0.5);
    transform: scale(1.2);
}

.nav-dot.active {
    background: #4d6fff;
    border-color: #4d6fff;
}

/* Slider Sections */
.slider-section {
    position: sticky;
    top: 0;
    width: 100%;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    transition: opacity 0.3s ease;
    will-change: opacity;
    background: #ffffff;
}

/* Main Layout */
.ct-div-block.floating-media-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    max-width: 1400px;
    width: 100%;
    align-items: center;
}

.media-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
}

.text-content {
    padding: 40px;
}

.text-content h2 {
    font-family: 'Gelica', sans-serif;
    font-size: 40px;
    font-weight: 400;
    color: #000;
    margin-bottom: 24px;
    line-height: 1.2;
}

.text-content p {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    color: #000;
    line-height: 1.2;
}
.vslider-list {
      list-style: none;
      padding-left: 10px;
      margin: 0;
    }

.vslider-item {
      display: flex;
      align-items: flex-start;
      gap: 8px;
      margin-bottom: 10px;
    }

.vslider-item::before {
      content: "\2b";
      font-size: 24px;
      line-height: 0.7;
      color: #4d6fff; /* контрастний колір для перевірки */
      margin-top: 2px; /* підганяє по вертикалі */
    }
    
    .vslider-item-2 {
      display: flex;
      align-items: flex-start;
      gap: 8px;
      margin-bottom: 10px;
    }

.vslider-item-2::before {
      content: "\2b";
      font-size: 24px;
      line-height: 0.7;
      color: #69dbf2; /* контрастний колір для перевірки */
      margin-top: 2px; /* підганяє по вертикалі */
    }
    
    .vslider-item-3 {
      display: flex;
      align-items: flex-start;
      gap: 8px;
      margin-bottom: 10px;
    }

.vslider-item-3::before {
      content: "\2b";
      font-size: 24px;
      line-height: 0.7;
      color: #814DFF; /* контрастний колір для перевірки */
      margin-top: 2px; /* підганяє по вертикалі */
    }
    
    .vslider-item-4 {
      display: flex;
      align-items: flex-start;
      gap: 8px;
      margin-bottom: 10px;
    }

    .vslider-item-4::before {
      content: "\2b";
      font-size: 24px;
      line-height: 0.7;
      color: #F8A958; /* контрастний колір для перевірки */
      margin-top: 2px; /* підганяє по вертикалі */
    }
    
    .vslider-item-5 {
      display: flex;
      align-items: flex-start;
      gap: 8px;
      margin-bottom: 10px;
    }

.vslider-item-5::before {
      content: "\2b";
      font-size: 24px;
      line-height: 0.7;
      color: #BC5CB2; /* контрастний колір для перевірки */
      margin-top: 2px; /* підганяє по вертикалі */
    }



/* Image Stack */
.image-stack {
    position: relative;
    width: 600px;
    height: 500px;
}

.image-stack.single {
    width: 600px;
    height: 500px;
}

.floating-img {
    position: absolute;
    border-radius: 0px;
    box-shadow: none;
    object-fit: cover;
}

.img-top {
    width: 300px;
    height: 380px;
    top: 0;
    right: 0;
    z-index: 2;
}

.img-bottom {
    width: 280px;
    height: 360px;
    bottom: 0;
    left: 0;
    z-index: 1;
}

.img-main {
    width: 100%;
    height: 100%;
    position: relative;
}

/* UI Overlays */
.ui-overlay {
    position: absolute;
    z-index: 10;
}

/* Customer Card */
.customer-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    width: 340px;
    position: absolute;
    right: -60px;
    top: 50%;
    transform: translateY(-50%);
}

.customer-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.customer-header h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
}

.subtitle {
    font-size: 0.875rem;
    color: #999;
}

.customer-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.detail-row .label {
    font-size: 0.875rem;
    color: #666;
}

.detail-row .value {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1a1a1a;
}

/* Business Rules Card */
.business-rules-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    width: 480px;
    position: absolute;
    right: -80px;
    top: 50%;
    transform: translateY(-50%);
}

.card-header h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #666;
    margin-bottom: 16px;
}

.search-bar {
    margin-bottom: 16px;
}

.search-bar input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.875rem;
}

.templates-section h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.templates-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.template-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.template-card:hover {
    border-color: #4A90E2;
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.1);
}

.template-card .icon {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 8px;
}

.template-card h6 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.template-card p {
    font-size: 0.75rem;
    color: #666;
    line-height: 1.4;
}

/* Timeline Card */
.timeline-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    width: 380px;
    position: absolute;
    right: -60px;
    top: 50%;
    transform: translateY(-50%);
}

.timeline-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}

.timeline-header h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
}

.timeline-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.timeline-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.timeline-item:hover {
    background: #f9f9f9;
}

.timeline-item .icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.item-content {
    flex: 1;
}

.item-content h5 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.item-content p {
    font-size: 18px;
    color: #666;
    margin-bottom: 4px;
}

.item-content .date {
    font-size: 0.75rem;
    color: #999;
}

.timeline-item .status {
    font-size: 0.75rem;
    color: #4CAF50;
    font-weight: 600;
    flex-shrink: 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .ct-div-block.floating-media-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .media-content {
        min-height: unset;
    }
    
    .image-stack {
        width: 500px;
        height: auto;
    }
    
    .image-stack.single {
        width: 500px;
        height: auto;
    }
    
    .text-content h2 {
        font-size: 2.5rem;
    }

    .slider-section {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .slider-navigation {
        right: 20px;
    }

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

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

    .slider-section {
        padding: 20px;
    }

    .image-stack {
        width: 100%;
        height: auto;
    }
    
    .image-stack.single {
        width: 100%;
        height: auto;
    }
    
    .ct-div-block.floating-media-cards {
        gap: 20px;
    }
    
    .media-content {
        min-height: unset;
    }

    .customer-card,
    .business-rules-card,
    .timeline-card {
        position: relative;
        right: 0;
        transform: none;
        margin-top: 20px;
    }
}
