/* Основной контейнер для секции */
.hero-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    height: 100vh;
    background-color: #f8f9fa;
    overflow: hidden;
    position: relative;
    padding-top: 80px;
}

/* Видео фон */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
	object-position: center right;
	transition: opacity 1s ease; 
	-webkit-object-fit: cover;
	will-change: opacity, transform;
    -webkit-backface-visibility: hidden;
}

/* Стили для фонового изображения в секции hero */
.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 1s ease, opacity 1s ease;
}

/* Добавляю градиент поверх изображения для лучшей читаемости текста */
.hero-background::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Контент секции */
.hero-content {
  color: #1d1d1f;
  z-index: 5;
  text-align: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  justify-content: space-between;
  height: 100%;
}

/* Заполнитель для создания пространства между заголовком и кнопкой */
.hero-spacer {
    flex-grow: 1;
    min-height: 40px;
}

/* Специальные стили только для кнопки в hero-секции */
.hero-cta {
    margin-bottom: 40px;
    z-index: 10;
    width: 100%;
    text-align: center;
}

/* График инвестиций в hero секции */
.hero-chart-container {
  position: absolute;
  bottom: -40%;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.15);
  z-index: 5;
  background-color: white;
}

.hero-chart-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.hero-chart-container:hover .hero-chart-image {
    transform: scale(1.02);
}

.title-container {
    max-width: 800px;
    margin: 60px auto;
    position: relative;
    z-index: 10;
}

.title-container .title {
    font-size: 56px;
    font-weight: 600;
    margin: 0;
    line-height: 1.1;
    letter-spacing: -0.015em;
}

.title-container .subtitle {
    font-size: 24px;
    font-weight: 400;
    margin-top: 10px;
    line-height: 1.2;
    letter-spacing: -0.008em;
}

.scrolling-questions {
    overflow: hidden;
    white-space: nowrap;
    width: 100vw; /* Устанавливает ширину на весь экран */
    bottom: 0;
}
/* Весь текст в строке */
.fade-in-text {
  display: inline-block;
  /* Чтобы при первой загрузке, если нужно, элемент был скрыт */
  opacity: 0;
  transform: translateY(-20px);
}

/* "Упасть" сверху */
@keyframes appearFromTop {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* "Уйти" вниз */
@keyframes disappearDown {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(20px);
  }
}

/* Класс для анимации появления сверху */
.appear-from-top {
  animation: appearFromTop 0.5s forwards ease;
}

/* Класс для анимации исчезновения вниз */
.disappear-down {
  animation: disappearDown 0.5s forwards ease;
}

.scrolling-content {
    display: inline-flex;
    animation: scroll-left 30s linear infinite;
}

@keyframes scroll-left {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%); /* Двигает контент на всю ширину */
    }
}

.btn-primary {
    background-color: #0071e3;
    border-color: #0071e3;
    color: #fff;
    padding: 12px 30px;
    font-weight: 600;
    font-size: 17px;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.25);
    text-align: center;
}

.btn-primary:hover {
    background-color: #0069d9;
    border-color: #0062cc;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 123, 255, 0.35);
}

.header-content {
    margin: 0 auto; /* Центрирование */
    text-align: left; /* Выравнивание текста слева */
    box-sizing: border-box; /* Учитываем padding в ширине */
	margin-bottom: 80px;
}

/* Популярные вопросы */
.featured-questions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.question-icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

.question-text {
    color: #ffffff;
    font-size: 1rem;
    text-decoration: none;
}

.question-text:hover {
    color: #ddd; /* Цвет при наведении */
}
.question-item {
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 12px;
	color: #333;
    text-align: center;
    margin-bottom: 10px;
	font-weight: 300;
	display: inline-block;
	transition: transform 0.3s ease;
}
.question-item:hover {
	transform: translateY(-5px); /* Приподнимаем карточку при наведении */
}
#questions .question-item {
	max-width: 300px;
	min-height: 2.4rem; /* Минимальная высота для двух строк текста */
    line-height: 1.2;
    white-space: normal;
    overflow-wrap: break-word;
}
/* Стили для контейнера с видео или изображением ассистента */
.assistant-media {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* Стили для информации об ассистенте */
#assistant-carousel .assistant-info {
    flex: 1;
    text-align: left;
}

/* Круглое видео */
.assistant-slider-video {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 50%; 
	border: 1px solid #ddd;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.assistant-avatar-index {
    object-fit: cover;
    width: 100%;
    border-radius: 50%;
	border: 1px solid #ddd;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	display: none;
}

.carousel-control-prev-icon {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="currentColor" class="bi bi-chevron-left" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0"/></svg>');
}

.carousel-control-next-icon {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-chevron-right" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708"/></svg>');
}
/* Сдвигаем стрелки к краям слайдера */
#assistant-carousel .carousel-control-prev,
#assistant-carousel .carousel-control-next {
    width: 5%; /* Сужаем ширину кнопок навигации */
}

#assistant-carousel .carousel-control-prev-icon,
#assistant-carousel .carousel-control-next-icon {
    background-size: 100%, 100%;
}

/* Сдвигаем стрелки еще ближе к краям */
#assistant-carousel .carousel-control-prev {
    left: -5%; /* Сдвигаем влево */
}

#assistant-carousel .carousel-control-next {
    right: -8%; /* Сдвигаем вправо */
}
.icon:hover {
    transform: rotate(15deg); /* Поворот на 15 градусов */
}
#how-richys-helps, #team, #cta-section {
    background: linear-gradient(145deg, #f8fbff, #ffffff, #f0f7ff, #f8fbff);
    animation: gradientAnimation 10s ease infinite;
    background-size: 200% 200%; 
}
#how-richys-helps {
	border-radius: 30px;
}
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1080;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.3s ease;
}
.cookie-consent.hidden {
    opacity: 0;
    visibility: hidden;
}
.hidden {
    display: none !important;
}
.table-comparison {
  border-collapse: separate;
  border-spacing: 0;
vertical-align: middle;
}

.table-comparison .highlight-col {
  background-color: #deeeff; 
}
.table-comparison th.highlight-col {
  background-color: #b3d4ff; 
}

.plan-card svg {
  transition: transform 0.3s ease, color 0.3s ease;
}

.plan-card:hover svg {
  transform: scale(1.1);
  color: var(--bs-primary);
}

/* Родительский контейнер чата */
#global-chat-container {
  display: flex;
  flex-direction: column; 
  max-height: 100vh; 
  overflow: hidden; 
  min-height: 400px;
}

/* Блок, в котором отображаются сообщения */
#global-chat-window {
  flex: 1 1 auto;
  overflow-y: auto; 
  min-height: 0; 
  background-color: white;
}
/* Контейнер для иконки */
.chat-icon-container {
  position: fixed;   
  bottom: 20px;     
  right: 20px;    
  width: 50px;     
  height: 50px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  background-color: transparent;
  display: flex;
  z-index: 1060;
}

/* Сама иконка (SVG) */
.chat-icon-container > svg {
  position: relative;
  z-index: 2;      
  width: 28px;      
  height: 28px;
  fill: #fff;
}

/* Центрирование псевдоэлементов */
.chat-icon-container::before,
.chat-icon-container::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
}

.chat-icon-container::before {
  width: 44px; /* Совпадает с размером аватара */
  height: 44px; /* Совпадает с размером аватара */
  background-color: #0071e3; /* Фон кнопки */
  z-index: 0; /* Уменьшаем z-index, чтобы был ниже avatar-wrapper */
}

.chat-icon-container::after {
  width: 60px; /* Чуть больше фонового круга */
  height: 60px;
  border: 2px solid #0071e3; /* Цвет границы */
  opacity: 0.6;
  z-index: 0;
  transform: translate(-50%, -50%);
  animation: pulse-scale 1.5s infinite;
}

/* Стили для аватара в кнопке чата (дублируем из mobile.css для единообразия) */
.chat-avatar-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden; 
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #0071e3;
  box-shadow: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5; 
  border: 2px solid #0071e3;
}

.chat-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}

.chat-avatar-wrapper svg {
  width: 24px;
  height: 24px;
  fill: white;
}

/* Анимация «пульса» */
@keyframes pulse-scale {
  0% {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0.6;
  }
  70% {
    transform: translate(-50%, -50%) scale(1.3);
    opacity: 0;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0;
  }
}

/* Старая анимация для обратной совместимости */
@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0.6;
  }
  70% {
    transform: translate(-50%, -50%) scale(1.3);
    opacity: 0;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0;
  }
}

.tooltip-container {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.tooltip-text {
  display: none;
  width: 200px;
  background-color: #000;
  color: #fff;
  border-radius: 12px;
  padding: 8px;
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 100%;
  transform: translateX(0);
  opacity: 0;
  transition: opacity 0.3s;
  font-size: 0.9em;
  font-weight: 400;
  will-change: opacity, transform;
  pointer-events: none;
}

.tooltip-container:hover .tooltip-text {
  display: block;
  opacity: 0.8;
}
.tooltip-container.disabled-tooltip {
  opacity: 0.5;
}

.dots {
  display: flex;
}

.dot {
  fill: #0071e3;
  animation: typingBounce 1.5s infinite ease-in-out;
  transform-origin: center;
}

.dot:nth-child(1) {
  animation-delay: 0s;
}

.dot:nth-child(2) {
  animation-delay: 0.2s;
}

.dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typingBounce {
  0% {
    transform: translateY(0);
    opacity: 0.3;
  }
  50% {
    transform: translateY(-5px);
    opacity: 1;
  }
  100% {
    transform: translateY(0);
    opacity: 0.3;
  }
}

/* Добавляем новые стили для лендинга в минималистичном стиле Cursor */

/* Hero Section */
.hero-section {
    padding: 120px 0 100px;
    overflow: hidden;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    margin-top: 2.5rem;
    display: flex;
    justify-content: center;
    z-index: 10;
}

.cta-button .btn-primary {
    background-color: #0071e3;
    border-color: #0071e3;
    color: #fff;
    font-size: 17px;
    font-weight: 400;
    padding: 12px 22px;
    border-radius: 980px;
    transition: all 0.3s ease;
}

.cta-button .btn-primary:hover {
    background-color: #0077ed;
    border-color: #0077ed;
    transform: scale(1.03);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.features-row {
    margin-top: 40px;
}

.feature-item {
    padding: 30px 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 10px;
    margin-bottom: 30px;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.feature-icon {
    margin-bottom: 20px;
}

.feature-icon img {
    height: 60px;
    margin-bottom: 15px;
}

.feature-item h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.feature-item p {
    font-size: 1rem;
    opacity: 0.85;
}

/* Demo Section */
.demo-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.demo-section .section-title {
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.demo-section .text-primary {
    color: #0071e3 !important;
}

.demo-section .section-description {
    font-weight: 400;
    color: #1d1d1f;
    max-width: 90%;
}

.demo-features {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.demo-features li {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-weight: 500;
}

.highlight-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 15px;
    background-color: #0071e3;
}

.feature-text {
    display: inline-block;
}

.demo-section .btn-primary {
    background-color: #0071e3;
    border-color: #0071e3;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 113, 227, 0.2);
}

.demo-section .btn-primary:hover {
    background-color: #0077ed;
    border-color: #0077ed;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 113, 227, 0.3);
}

.video-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    transition: transform 0.5s ease;
}

.video-wrapper:hover {
    transform: translateY(-10px);
}

.demo-video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    object-fit: cover;
}

@media (max-width: 991px) {
    .demo-section {
        padding: 60px 0;
    }
    
    .demo-section .section-title {
        font-size: 2.5rem;
    }
    
    .demo-section .section-description {
        font-size: 1.2rem;
    }
    
    .demo-features {
        margin: 20px 0;
    }
}

@media (max-width: 767px) {
    .demo-section .section-title {
        font-size: 2rem;
    }
    
    .demo-video-container {
        margin-top: 40px;
    }
}

/* Calculator Preview */
.calculator-preview {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    overflow: hidden;
    max-width: 100%;
}

.calc-interface {
    padding: 0;
}

.calc-header {
    background-color: #f8f9fa;
    padding: 15px 20px;
    border-bottom: 1px solid #e1e4e8;
}

.calc-header h4 {
    margin: 0;
    font-size: 1.2rem;
}

.calc-result {
    padding: 20px;
    min-height: 200px;
}

.welcome-message {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
    font-style: italic;
}

.calculating {
    text-align: center;
    padding: 30px 0;
}

.spinner {
    display: inline-block;
    width: 30px;
    height: 30px;
    border: 3px solid rgba(0,0,0,0.1);
    border-radius: 50%;
    border-top-color: #0071e3;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.calc-result-box {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
}

.result-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.result-item:last-child {
    border-bottom: none;
}

.result-label {
    font-weight: 500;
    color: #495057;
}

.result-value {
    font-weight: 700;
    color: #212529;
}

/* AI Advice */
.ai-advice {
    padding: 0 20px 20px;
    border-top: 1px solid #e1e4e8;
}

.ai-thinking {
    text-align: center;
    padding: 15px 0;
    color: #6c757d;
}

.ai-animation .dots {
    display: inline-flex;
    align-items: center;
    height: 20px;
}

.ai-response {
    display: flex;
    padding: 15px 0;
}

.ai-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    flex-shrink: 0;
}

.ai-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ai-message {
    flex: 1;
    background-color: #f0f7ff;
    padding: 15px;
    border-radius: 0 12px 12px 12px;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Benefits Section */
.benefits-section {
    padding: 100px 0;
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
}

.benefits-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 70%, rgba(0, 123, 255, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 0;
}

.section-subtitle {
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 1.15rem;
    opacity: 0.8;
    line-height: 1.6;
}

.benefits-row {
    margin-top: 40px;
}

.benefit-item {
    text-align: center;
    padding: 25px 15px;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
}

.benefit-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #0071e3;
    color: white;
    font-weight: 700;
    margin: 0 auto 15px;
}

.benefit-item h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.benefit-item p {
    font-size: 0.95rem;
    opacity: 0.75;
    line-height: 1.5;
}

/* Testimonials Section */
.testimonials-section {
    padding: 90px 0;
    background-color: #fff;
}

.testimonial-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    padding: 25px;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.1);
}

.testimonial-content {
    margin-bottom: 20px;
    font-style: italic;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.author-info p {
    margin: 5px 0 0;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Pricing Section */
.pricing-section {
    padding: 90px 0;
    background-color: #f8f9fa;
}

.pricing-cards {
    margin-top: 40px;
}

.pricing-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 30px;
    height: 100%;
}

.pricing-card.featured {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    position: relative;
    z-index: 2;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.1);
}

.pricing-card.featured:hover {
    transform: translateY(-5px) scale(1.05);
}

.pricing-header {
    padding: 25px 20px;
    text-align: center;
    border-bottom: 1px solid #e1e4e8;
}

.pricing-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0071e3;
}

.currency {
    font-size: 1.4rem;
    position: relative;
    top: -0.5rem;
}

.period {
    font-size: 1rem;
    color: #6c757d;
    font-weight: normal;
}

.pricing-features {
    padding: 25px 20px;
}

.pricing-features ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pricing-features li {
    padding: 8px 0;
    position: relative;
    padding-left: 25px;
}

.pricing-features li:before {
    content: "✓";
    color: #0071e3;
    position: absolute;
    left: 0;
}

.pricing-footer {
    padding: 0 20px 25px;
}

/* CTA Section */
.cta-section {
    padding: 70px 0;
    background-color: #fff;
}

.cta-title {
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.cta-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.8;
}

/* Стили для блоков советников в стиле Points forts */
.advisors-highlights {
    padding: 6rem 0;
    background-color: #f5f5f7;
    overflow: hidden;
    position: relative;
}

.advisors-highlights::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 20%, rgba(0, 123, 255, 0.05), transparent 60%);
    z-index: 0;
}

.advisor-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    z-index: 1;
}

.advisor-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2.5rem;
}

.advisor-nav-button {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: #1d1d1f;
    cursor: pointer;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background-color: rgba(0, 0, 0, 0.05);
}

.advisor-nav-button:hover {
    color: #0071e3;
    background-color: rgba(0, 0, 0, 0.1);
    transform: scale(1.05);
}

.scroll-indicator {
    display: flex;
    gap: 8px;
    margin: 0 2rem;
}

.scroll-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #d1d1d6;
    transition: all 0.3s ease;
    cursor: pointer;
}

.scroll-dot.active {
    background-color: #1d1d1f;
    width: 24px;
    border-radius: 12px;
}

.advisor-items-wrapper {
    position: relative;
    width: 100%;
    height: 550px;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

.advisor-item {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
    transform: translateX(5%);
    pointer-events: none;
}

.advisor-item.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.advisor-media-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: linear-gradient(135deg, #000 0%, #333 100%);
}

/* Стили для медиа-контейнера ассистента с горизонтальным видео */
.assistant-media {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* Стили для видео ассистента */
.advisor-video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
}

/* Стили специально для горизонтальных видео */
.horizontal-video {
    object-position: center center;
    display: block;
}

/* Темный оверлей для улучшения читаемости текста на видео */
.advisor-media-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 40%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 3;
    pointer-events: none;
}

/* Позиционирование контента на видео */
.advisor-content {
    position: absolute;
    bottom: 60px;
    left: 60px;
    color: #ffffff;
    z-index: 4;
    max-width: 60%;
}

/* Медиа-запросы для адаптивности на разных экранах */
@media (max-width: 991px) {
    .advisor-content {
        bottom: 40px;
        left: 40px;
        max-width: 70%;
    }
}

@media (max-width: 767px) {
    .advisor-content {
        bottom: 30px;
        left: 30px;
        max-width: 80%;
    }
}

@media (max-width: 576px) {
    .advisor-content {
        bottom: 20px;
        left: 20px;
        max-width: 90%;
    }
    
    .horizontal-video {
        object-position: center center;
    }
}

.advisor-label {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 500;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.advisor-name {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.02em;
}

.advisor-description {
    font-size: 1.3rem;
    font-weight: 400;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    line-height: 1.5;
    margin-bottom: 5px;
    color: white;
}

.advisor-features {
    margin-top: 4rem;
}

.advisor-feature {
    text-align: center;
    padding: 2rem 1rem;
    transition: transform 0.3s ease;
}

.advisor-feature:hover {
    transform: translateY(-5px);
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: linear-gradient(135deg, #007bff, #83bbf6);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  border: 2px solid rgba(0, 123, 255, 0.1);
}

.feature-icon:hover {
  color: #007bff;
  border-color: rgba(42, 127, 255, 0.1);
  transform: translateY(-5px);
}
.advisor-feature h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #1d1d1f;
}

.advisor-feature p {
    color: #86868b;
    font-size: 1rem;
    line-height: 1.5;
}

/* Медиа запросы для адаптивности */
@media (max-width: 992px) {
    .advisor-content {
        max-width: 70%;
    }
    
    .advisor-name {
        font-size: 2rem;
    }
    
    .advisor-description {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .advisor-items-wrapper {
        height: 400px;
    }
    
    .advisor-content {
        left: 20px;
        bottom: 20px;
        max-width: 80%;
    }
    
    .advisor-name {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .advisor-items-wrapper {
        height: 350px;
    }
    
    .advisor-content {
        left: 15px;
        bottom: 15px;
        max-width: 90%;
    }
    
    .advisor-name {
        font-size: 1.5rem;
    }
    
    .advisor-description {
        font-size: 0.9rem;
    }
}

/* Секция с инвестициями */
.investment-chart-section {
    padding: 120px 0;
    background: linear-gradient(180deg, #f5f5f7 0%, #fff 100%);
    text-align: center;
}

.chart-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.chart-image {
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
}

.chart-image:hover {
    transform: scale(1.02);
}

.investment-title {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 24px;
    color: #1d1d1f;
    letter-spacing: -0.015em;
    line-height: 1.1;
}

.investment-description {
    font-size: 24px;
    font-weight: 400;
    color: #86868b;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.4;
}

/* Дополнительные стили для адаптивности */
@media (max-width: 991.98px) {
    .investment-title {
        font-size: 36px;
        margin-bottom: 20px;
    }
    
    .investment-description {
        font-size: 20px;
        margin-bottom: 25px;
    }

}

@media (max-width: 767.98px) {
    .investment-title {
        font-size: 30px;
        margin-bottom: 16px;
    }
    
    .investment-description {
        font-size: 18px;
        margin-bottom: 20px;
    }
    
}

@media (max-width: 575.98px) {
    .investment-title {
        font-size: 26px;
    }
    
    .investment-description {
        font-size: 16px;
    }
}

/* Удаляю дублирующие стили */

/* Удаляю устаревшие стили для заголовков демо-секции */
.demo-section .section-title,
.demo-section .section-description,
.section-title,
.section-subtitle,
.hero-title,
.hero-subtitle,
.title-container .title,
.title-container .subtitle {
    /* Эти стили теперь заменяются на унифицированные .investment-title и .investment-description */
}

/* Удаляю избыточные стили для кнопок */
.demo-section .btn-primary,
.cta-button .btn-primary {
    /* Эти стили теперь заменяются на унифицированный .btn-primary */
}

/* Стили для карточек в секции "Make decisions 5x faster" в стиле Apple */
.decision-card {
    position: relative;
    background-color: #fff;
    border-radius: 16px;
    padding: 35px 25px;
    height: 100%;
    transition: transform 0.3s ease;
    box-shadow: none;
    border: 1px solid #eaeaea;
    overflow: hidden;
}

.decision-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 0;
    background-color: #007bff;
    transition: height 0.3s ease;
}

.decision-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 123, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.decision-card:hover::before {
    height: 100%;
}

/* Более минималистичные стили для всего сайта */
.highlight-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 15px;
    background-color: #007bff;
}

.blog-card {
    box-shadow: none;
    border: 1px solid #eaeaea;
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 123, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.blog-card::before {
    width: 5px;
    height: 0;
    left: 0;
    right: auto;
    background-color: #007bff;
}

.blog-card:hover::before {
    height: 100%;
}

/* Восстановим основные стили для decision-icon, которые были потеряны */
.decision-icon {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    margin: 0 auto 25px 0; /* Убираем auto справа, выравниваем по левому краю */
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f7ff;
    color: #007bff;
    font-size: 2rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 123, 255, 0.1);
}

.decision-card:hover .decision-icon {
    transform: translateY(-5px);
    background-color: #007bff;
    color: #fff;
    border-color: #007bff;
}
/* Восстановим стили для заголовков и текста в карточках */
.decision-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1d1d1f;
    letter-spacing: -0.01em;
    text-align: left; /* Выравниваем заголовки по левому краю */
}

.decision-text {
    color: #86868b;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 0;
    text-align: left; /* Выравниваем текст по левому краю */
}

/* Адаптивность для карточек */
@media (max-width: 991.98px) {
    .decision-card {
        padding: 30px 20px;
    }
    
    .decision-icon {
        width: 60px;
        height: 60px;
        font-size: 1.6rem;
        margin-bottom: 20px;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }
    
    .decision-title {
        font-size: 1.25rem;
    }
}

@media (max-width: 767.98px) {
    .benefits-section {
        padding: 70px 0;
    }
    
    .decision-icon {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }
    
    .feature-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
}

/* Восстанавливаем стили для блог-карточек */
.blog-card {
    position: relative;
    background-color: #fff;
    border-radius: 16px;
    height: 100%;
    transition: transform 0.3s ease;
    box-shadow: none;
    border: 1px solid #eaeaea;
    overflow: hidden;
}

.blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 0;
    background-color: #007bff;
    transition: height 0.3s ease;
    z-index: 2;
}

.card-img-blog {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    height: 180px;
}

.card-img-blog img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .card-img-blog img {
    transform: scale(1.03);
}

.blog-card .card-body {
    padding: 20px;
    position: relative;
}

.blog-card .card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1d1d1f;
    letter-spacing: -0.01em;
    transition: color 0.3s ease;
}

.blog-card .card-title a {
    color: #1d1d1f;
    text-decoration: none;
}

.blog-card:hover .card-title a {
    color: #007bff;
}

.blog-card .card-text {
    color: #86868b;
    font-size: 0.9rem;
    line-height: 1.4;
}

.category-badge {
    display: inline-block;
    background-color: #f5f5f7;
    color: #007bff;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
    margin-top: 5px;
}

.category-badge:hover {
    background-color: #007bff;
    color: white;
}

.blog-tag {
    display: inline-block;
    background-color: #f5f5f7;
    color: #555;
    padding: 3px 8px;
    border-radius: 8px;
    font-size: 0.75rem;
    margin-right: 5px;
    margin-bottom: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.blog-tag:hover {
    background-color: #007bff;
    color: white;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
}

#featured-blog {
    padding-top: 80px;
    padding-bottom: 100px;
    position: relative;
    overflow: hidden;
}

#featured-blog::before {
    content: '';
    position: absolute;
    bottom: -5%;
    left: -10%;
    width: 50%;
    height: 70%;
    background: radial-gradient(circle, rgba(0, 123, 255, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 0;
    transform: rotate(-15deg);
}

/* Обновление для advisors-highlights */
.advisors-highlights::before {
    background: radial-gradient(circle at 70% 20%, rgba(0, 123, 255, 0.05), transparent 60%);
}

/* Более плоский градиент для секций */
#how-richys-helps, #team, #cta-section {
    background: linear-gradient(145deg, #f8fbff, #ffffff, #f0f7ff, #f8fbff);
    animation: gradientAnimation 10s ease infinite;
    background-size: 200% 200%; 
}

/* Более мягкая анимация градиента */
@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Медиа-запросы для мобильных устройств */
@media (max-width: 991px) {
    .hero-container {
        padding-top: 60px;
        height: auto;
        min-height: 100vh;
    }
    
    .title-container .title {
        font-size: 48px;
    }
    
    .hero-chart-container {
        position: relative;
        bottom: auto;
        width: 90%;
        margin-top: 0;
        border-radius: 16px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    }
}

@media (max-width: 767px) {
    .hero-container {
        padding-top: 40px;
    }
    
    .title-container .title {
        font-size: 38px;
    }
    
    .investment-description {
        font-size: 18px;
    }
    
    .hero-chart-container {
        width: 95%;
        margin-top: 0;
    }
    
    .hero-cta {
        margin-bottom: 0;
        margin-top: 20px;
    }
}

@media (max-width: 576px) {
    .hero-container {
        padding: 30px 15px 50px;
    }
    
    .title-container .title {
        font-size: 32px;
    }
    
    .investment-description {
        font-size: 16px;
    }
    
    .hero-chart-container {
        width: 100%;
        margin-top: 0;
        border-radius: 12px;
    }
    
    .hero-cta {
        margin-bottom: 25px;
    }
}

/* Улучшения для карточек калькуляторов */
#featured-blog .blog-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eaeaea;
    border-radius: 16px;
    background-color: #fff;
}

#featured-blog .blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 123, 255, 0.2);
}

#featured-blog .card-img-blog {
    height: 180px;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
}

#featured-blog .card-img-blog img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

#featured-blog .blog-card:hover .card-img-blog img {
    transform: scale(1.05);
}

/* Стили для кнопки в карточке */
#featured-blog .btn-outline-primary {
    border-color: #007bff;
    color: #007bff;
    border-radius: 50px;
    padding: 8px 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

#featured-blog .btn-outline-primary:hover {
    background-color: #007bff;
    color: white;
    transform: translateX(5px);
}

/* Стили для бейджей категорий */
#featured-blog .category-badge {
    background-color: rgba(0, 123, 255, 0.1);
    color: #007bff;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 500;
    display: inline-block;
}

/* Стили для индикатора дополнительных калькуляторов */
.more-tools-indicator {
    position: relative;
}

.dots-indicator {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.dots-indicator .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #d1d1d6;
    transition: all 0.3s ease;
    display: inline-block;
}

.dots-indicator .dot.active {
    background-color: #007bff;
    width: 24px;
    border-radius: 12px;
}

/* Кнопка просмотра всех калькуляторов */
.more-tools-indicator .btn-outline-primary {
    border-color: #007bff;
    color: #007bff;
    border-radius: 50px;
    padding: 10px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.more-tools-indicator .btn-outline-primary:hover {
    background-color: #007bff;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.2);
}

/* Анимированные точки индикатора */
@keyframes dotPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

.dots-indicator .dot:nth-child(1) {
    animation: dotPulse 2s infinite 0s;
}

.dots-indicator .dot:nth-child(2) {
    animation: dotPulse 2s infinite 0.25s;
}

.dots-indicator .dot:nth-child(3) {
    animation: dotPulse 2s infinite 0.5s;
}
.btn-outline-secondary {
    border-color: #e2e6ea;
    color: #6c757d;
    background-color: white;
    border-radius: 50px;
    padding: 12px 30px;
    font-size: 17px;
    transition: all 0.3s ease;
}

.btn-outline-secondary:hover {
    background-color: #f8f9fa;
    border-color: #6c757d;
    color: #495057;
    transform: translateY(-2px);
}
/* Поповер Driver */
.driver-popover {
    border: 0 !important;
    border-radius: 1.25rem !important; /* rounded-4 */
    box-shadow: 0 12px 32px rgba(0,0,0,.15);
    padding: 20px !important;
  }
  .driver-popover:has(.onboarding-intro) {
    max-width: 480px !important;
}
  .driver-popover-title {
    font-family: 'Lato', sans-serif !important;
    font-size: 1.125rem; /* ~h5 */
    font-weight: 700;
    margin-bottom: .25rem;
    box-shadow: none;
    background-color: transparent;
    padding: 0 !important;
  }
  .driver-popover-description {
    font-family: 'Lato', sans-serif !important;
    font-size: 1rem;
    font-weight: 400;
    padding: 10px 0 !important;
    margin-bottom: .25rem;
    box-shadow: none;
  }
  .driver-popover-footer {
    display: flex;
    gap: .5rem;
  }
  .driver-popover-footer button {
    background: none !important;
    border: none !important;   
    color: #007bff !important;
  }
  /* Driver.js: центр стрелки для любых align-классов и всех сторон */
  .driver-popover-arrow[class*="driver-popover-arrow-side-left"],
  .driver-popover-arrow[class*="driver-popover-arrow-side-right"] {
    top: 50% !important;
    bottom: auto !important; /* перекрываем .driver.css: bottom:15px */
  }
  .driver-popover-arrow[class*="driver-popover-arrow-side-top"],
  .driver-popover-arrow[class*="driver-popover-arrow-side-bottom"] {
    left: 50% !important;
    right: auto !important; /* перекрываем .driver.css: right:15px */
  }

  .ai-badge {
    background: linear-gradient(135deg, #007bff 0%, #9b59b6 100%);
    color: white;
    font-size: 0.8rem;
  }