/* === Кнопки общего назначения === */
.btn {
  color: #fff;
  font-size: 14px;
  line-height: 1.2;
  font-weight: normal;
  padding: 8px 15px;
  text-align: center;
  justify-content: center;
  border-radius: 8px;
}

/* === Кнопка "Регистрация" === */
.header__button-register {
  background-color: transparent;
  background-image: linear-gradient(0deg, transparent 0%, transparent 100%);
  cursor: pointer;
  transition: all 0.1s;
}

.header__button-register:hover {
  background-color: #2a2f4b;
  background-image: linear-gradient(0deg, transparent 0%, transparent 100%);
}

/* === Кнопка "Войти" === */
.header__button-login {
  background-color: #51bdd0;
  cursor: pointer;
  transition: all 0.1s;
}

.header__button-login:hover {
  background-color: #2a2f4b;
  background-image: linear-gradient(70deg, #31bc69 -8%, #089e4e 96%);
}

/* === Таблица === */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 0em 0;
  font-size: 1rem;
  background-color: #fff;
}

/* Заголовки таблицы */
thead th {
  background-color: #fff;
  color: #333;
  font-weight: 400;
  font-size: 12px;
  text-align: left;
  padding: 12px 15px;
  border: 1px solid #dddddd4c;
  white-space: nowrap;
}

/* Ячейки таблицы */
td {
  padding: 12px 15px;
  border: 1px solid #dddddd4c;
  white-space: nowrap;
}

/* Зебра */
tbody tr:nth-child(even) {
  background-color: #fff;
}

/* === Адаптивность таблицы === */
@media (max-width: 600px) {
  table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  thead, tbody, th, td, tr {
    white-space: nowrap;
  }
}

/* === Отзывы === */

.review-scroll {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 10px;
  scroll-behavior: smooth;
}

.review {
  flex: 0 0 calc(50% - 15px);
  scroll-snap-align: start;
  background: #f0f0f0;
  border-radius: 8px;
  padding: 15px;
  box-sizing: border-box;
  min-height: 120px;
}

.review h4 {
  margin: 0 0 10px;
  color: #005598;
}

.review p {
  margin: 0;
}

/* Адаптивность: по одному на мобиле */
@media (max-width: 600px) {
  .review {
    flex: 0 0 100%;
  }
}

/* Убираем горизонтальный скроллбар на WebKit */
.review-scroll::-webkit-scrollbar {
  display: none;
}


/* === faq === */

.faq-full {
  width: 100%;
  max-width: 100%;
  padding-top: 40px;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

.faq-item {
  border-radius: 12px;
  background: #F0F0F0;
  margin-bottom: 12px;
  overflow: hidden;
  transition: 0.3s;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 20px;
  font-size: 16px;
  text-align: left;
  color: #000;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question .arrow {
  width: 20px;
  height: 20px;
  fill: #000;
  transform: rotate(0deg);
  transition: transform 0.3s ease;
}

.faq-item.active .arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  font-size: 15px;
  color: #000;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 20px 16px;
}

               * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: linear-gradient(135deg, #0f172a, #1e293b, #334155);
            background-size: 400% 400%;
            animation: gradientShift 15s ease infinite;
            color: #333;
            line-height: 1.6;
            overflow-x: hidden;
        }

        @keyframes gradientShift {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }

        @keyframes floatUp {
            0% { opacity: 0; transform: translateY(50px); }
            100% { opacity: 1; transform: translateY(0); }
        }

        @keyframes pulseGlow {
            0%, 100% { box-shadow: 0 5px 20px rgba(59, 130, 246, 0.3); }
            50% { box-shadow: 0 10px 40px rgba(59, 130, 246, 0.6); }
        }

        @keyframes slideInLeft {
            0% { transform: translateX(-100px); opacity: 0; }
            100% { transform: translateX(0); opacity: 1; }
        }

        @keyframes slideInRight {
            0% { transform: translateX(100px); opacity: 0; }
            100% { transform: translateX(0); opacity: 1; }
        }

        .container {
            margin: 0 auto;
            padding: 20px;
        }

        .hero-section {
            background: linear-gradient(135deg, rgba(37, 99, 235, 0.95), rgba(59, 130, 246, 0.95));
            color: white;
            padding: 80px 20px;
            text-align: center;
            margin-bottom: 40px;
            border-radius: 25px;
            box-shadow: 0 20px 60px rgba(0,0,0,0.3);
            position: relative;
            overflow: hidden;
            animation: floatUp 1s ease-out;
        }

        .hero-section::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
            animation: shine 3s infinite;
        }

        @keyframes shine {
            0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
            100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
        }

        .hero-section h1 {
            font-size: 4rem;
            font-weight: 700;
            margin-bottom: 20px;
            text-shadow: 3px 3px 6px rgba(0,0,0,0.4);
            position: relative;
            z-index: 2;
            background: linear-gradient(45deg, #ffffff, #e2e8f0);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .hero-section p {
            font-size: 1.2rem;
            margin-bottom: 30px;
            max-width: 800px;
            margin-left: auto;
            margin-right: auto;
        }

        .cta-button {
            display: inline-block;
            background: linear-gradient(45deg, #1e40af, #3b82f6, #60a5fa);
            color: white;
            padding: 18px 45px;
            text-decoration: none;
            border-radius: 50px;
            font-weight: 600;
            font-size: 1.1rem;
            transition: all 0.4s ease;
            box-shadow: 0 8px 25px rgba(30, 64, 175, 0.4);
            margin: 10px;
            position: relative;
            overflow: hidden;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .cta-button::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
            transition: left 0.6s;
        }

        .cta-button:hover::before {
            left: 100%;
        }

        .cta-button:hover {
            transform: translateY(-3px) scale(1.05);
            box-shadow: 0 15px 35px rgba(30, 64, 175, 0.6);
            background: linear-gradient(45deg, #1d4ed8, #2563eb, #3b82f6);
        }

        .section {
            background: linear-gradient(145deg, rgba(255,255,255,0.95), rgba(248,250,252,0.95));
            margin: 40px 0;
            padding: 50px;
            border-radius: 25px;
            box-shadow: 0 15px 35px rgba(0,0,0,0.1);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255,255,255,0.2);
            position: relative;
            animation: floatUp 0.8s ease-out;
            transition: transform 0.3s ease;
        }

        .section:hover {
            transform: translateY(-5px);
            box-shadow: 0 25px 50px rgba(0,0,0,0.15);
        }

        .section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, #3b82f6, #8b5cf6, #06b6d4, #10b981);
            border-radius: 25px 25px 0 0;
        }

        .section h2 {
            color: #1e40af;
            font-size: 2.5rem;
            margin-bottom: 25px;
            border-bottom: 3px solid #3b82f6;
            padding-bottom: 10px;
        }

        .section h3 {
            color: #1e40af;
            font-size: 1.8rem;
            margin: 25px 0 15px 0;
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 25px;
            margin: 30px 0;
        }

        .feature-card {
            background: linear-gradient(145deg, #ffffff, #f1f5f9);
            padding: 30px;
            border-radius: 20px;
            border: 1px solid rgba(59, 130, 246, 0.2);
            transition: all 0.4s ease;
            position: relative;
            overflow: hidden;
            animation: slideInLeft 0.6s ease-out;
        }

        .feature-card:nth-child(even) {
            animation: slideInRight 0.6s ease-out;
        }

        .feature-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 4px;
            height: 100%;
            background: linear-gradient(180deg, #3b82f6, #8b5cf6);
            transition: width 0.3s ease;
        }

        .feature-card:hover::before {
            width: 100%;
            opacity: 0.05;
        }

        .feature-card:hover {
            transform: translateY(-8px) scale(1.02);
            box-shadow: 0 20px 40px rgba(59, 130, 246, 0.2);
            border-color: #3b82f6;
        }

        .feature-card h4 {
            color: #1e40af;
            font-size: 1.3rem;
            margin-bottom: 10px;
        }

        .info-table {
            width: 100%;
            border-collapse: collapse;
            margin: 25px 0;
            background: linear-gradient(145deg, #ffffff, #f8fafc);
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }

        .table-container {
            overflow-x: auto;
            margin: 25px 0;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            position: relative;
        }

        .table-container::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, #3b82f6, #8b5cf6, #06b6d4);
        }

        .info-table th {
            background: linear-gradient(135deg, #1e40af, #3b82f6, #6366f1);
            color: white;
            padding: 20px 15px;
            text-align: left;
            font-weight: 600;
            white-space: nowrap;
            position: relative;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .info-table td {
            padding: 18px 15px;
            border-bottom: 1px solid rgba(226, 232, 240, 0.5);
            white-space: nowrap;
            transition: all 0.3s ease;
            position: relative;
        }

        .info-table tr:nth-child(even) {
            background: linear-gradient(90deg, rgba(248, 250, 252, 0.5), rgba(241, 245, 249, 0.5));
        }

        .info-table tr:hover {
            background: linear-gradient(90deg, rgba(59, 130, 246, 0.08), rgba(147, 197, 253, 0.08));
            transform: scale(1.01);
        }

        .info-table tr:hover td {
            color: #1e40af;
            font-weight: 500;
        }

        .image-container {
            text-align: center;
            margin: 40px auto;
            display: flex;
            justify-content: center;
            align-items: center;
            position: relative;
        }

        .image-container::before {
            content: '';
            position: absolute;
            top: -10px;
            left: -10px;
            right: -10px;
            bottom: -10px;
            background: linear-gradient(45deg, #3b82f6, #8b5cf6, #06b6d4, #10b981);
            border-radius: 20px;
            opacity: 0;
            transition: opacity 0.3s ease;
            z-index: -1;
        }

        .image-container:hover::before {
            opacity: 0.3;
        }

        .lazy-image {
            max-width: 100%;
            height: auto;
            border-radius: 20px;
            box-shadow: 0 15px 35px rgba(0,0,0,0.2);
            cursor: pointer;
            transition: all 0.4s ease;
            display: block;
            margin: 0 auto;
            position: relative;
            z-index: 1;
        }

        .lazy-image:hover {
            transform: scale(1.05) rotateY(5deg);
            box-shadow: 0 25px 50px rgba(0,0,0,0.3);
        }

        .highlight-box {
            background: linear-gradient(145deg, #fef3c7, #fde68a, #f59e0b);
            border: 2px solid transparent;
            background-clip: padding-box;
            padding: 30px;
            border-radius: 20px;
            margin: 30px 0;
            position: relative;
            overflow: hidden;
            animation: pulseGlow 3s infinite;
        }

        .highlight-box::before {
            content: '';
            position: absolute;
            top: -2px;
            left: -2px;
            right: -2px;
            bottom: -2px;
            background: linear-gradient(45deg, #f59e0b, #f97316, #ea580c);
            border-radius: 20px;
            z-index: -1;
        }

        .highlight-box::after {
            content: '✨';
            position: absolute;
            top: 15px;
            right: 20px;
            font-size: 1.5rem;
            animation: bounce 2s infinite;
        }

        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
            40% { transform: translateY(-10px); }
            60% { transform: translateY(-5px); }
        }

        .button-center {
            text-align: center;
            margin: 30px 0;
            position: relative;
        }

        .button-center::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 0;
            right: 0;
            height: 2px;
            background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.3), transparent);
            transform: translateY(-50%);
            z-index: -1;
        }

        .list-item {
            background: linear-gradient(145deg, #ffffff, #f1f5f9);
            padding: 20px;
            margin: 15px 0;
            border-radius: 15px;
            border-left: 4px solid transparent;
            background-clip: padding-box;
            position: relative;
            transition: all 0.4s ease;
            overflow: hidden;
        }

        .list-item::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            bottom: 0;
            width: 4px;
            background: linear-gradient(180deg, #3b82f6, #8b5cf6, #06b6d4);
            transition: width 0.3s ease;
        }

        .list-item::after {
            content: '';
            position: absolute;
            top: 50%;
            right: 20px;
            width: 8px;
            height: 8px;
            background: #3b82f6;
            border-radius: 50%;
            transform: translateY(-50%) scale(0);
            transition: transform 0.3s ease;
        }

        .list-item:hover {
            transform: translateX(10px);
            box-shadow: 0 10px 30px rgba(59, 130, 246, 0.15);
            background: linear-gradient(145deg, #ffffff, #f8fafc);
        }

        .list-item:hover::before {
            width: 6px;
        }

        .list-item:hover::after {
            transform: translateY(-50%) scale(1);
        }

        @media (max-width: 768px) {
            .hero-section h1 {
                font-size: 2.8rem;
            }
            
            .section {
                padding: 30px 20px;
                margin: 20px 0;
            }
            
            .features-grid {
                grid-template-columns: 1fr;
            }

            .info-table th,
            .info-table td {
                padding: 12px 10px;
                font-size: 0.9rem;
            }

            .cta-button {
                padding: 15px 30px;
                font-size: 1rem;
                margin: 8px;
            }

            .feature-card {
                padding: 20px;
            }

            .list-item {
                padding: 15px;
                margin: 10px 0;
            }

            .hero-section {
                padding: 60px 20px;
            }
        }