@charset "UTF-8"; /*# The coding page CSS */
/**
 * =============================================================================
 * @encoding UTF-8 123
 * @author [Zerohold](//zerohold.sd1.su)
 * @project [SD1](//sd1.su)
 * @summary SD1 AI - стили для проекта ai.sd1.su
 * @created 2013-10
 * @modified 2025-12
 *
 * @file D:/kz/kz-controls/sd1.su/cdn.sd1.su/css/domain/sdc-sd1-ai.css
 * @link https://cdn.sd1.su/css/domain/sdc-sd1-ai.css
 *
 * @remarks
 * - Запрещается использовать табуляторы.
 * - Запрещено размещать `inline` комментарии в одной строке с кодом.
 *
 * @example
 * <link rel="stylesheet" href="https://cdn.sd1.su/css/domain/sdc-sd1-ai.css">
 * =============================================================================
 */

/* --- ОСНОВНЫЕ ПАРАМЕТРЫ */

/* Custom Colors */
:root
{
/*  --color-primary: rgb(232, 82, 45); */
  --color-secondary: rgb(49, 38, 81);
  --color-accent-green: rgb(120, 164, 35);
  --color-accent-red: rgb(176, 38, 38);
  --color-accent-teal: rgb(23, 105, 106);
  --color-muted: rgb(131, 130, 154);
  --color-light-bg1: rgb(242, 250, 227);
  --color-light-bg2: rgb(219, 233, 234);
  --color-light-bg3: rgb(243, 244, 248);
  --footer-text-color: rgb(100, 116, 139);
  --header-logo: url("data:image/svg+xml;charset=UTF-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><rect width='512' height='512' fill='%23b02626'/><path fill='%23FFFFFF' d='M 46 350 L 146 40 L 246 40 L 346 350 L 266 350 L 250 280 L 142 280 L 126 350 Z M 196 120 L 226 220 L 166 220 Z M 380 40 L 460 40 L 460 350 L 380 350 Z'/><path transform='translate(128, 296) scale(0.5)' fill='%23000000' fill-rule='evenodd' d='M 232 142 L 127 142 L 82 187 L 82 232 L 127 277 L 187 277 L 187 322 L 82 322 L 82 367 L 187 367 L 232 322 L 232 277 L 187 232 L 127 232 L 127 187 L 232 187 Z M 280 142 L 385 142 L 430 187 L 430 322 L 385 367 L 280 367 L 280 142 Z M 325 187 L 385 187 L 385 322 L 325 322 Z'/></svg>");
}


/* Header styles (compatible with old .sticky) */
.header-buttons
{
  display: flex;
  align-items: center;
  gap: 10px;
}

.br
{
  display: block;
}

.header-a
{
  display: inline-block;
  margin: 5px;
  border-radius: 0.5rem;

  font-weight: 700;
  color: rgb(255, 255, 255);
  text-decoration: none;
  text-align: center;
  line-height: 1.1;

  background-color: var(--color-accent-red);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);

  cursor: pointer;
  transition: transform 0.3s ease, background-color 0.3s ease;

  padding: 0.75rem 1.5rem;
}

.br-mobile
{

  /* На планшетах может и в одну строку влезть, но если нет - сработает перенос */
  display: inline;
  padding-left: 5px;
}

.header-a:hover
{
  background-color: var(--color-accent-red);
  transform: scale(1.05);
  color: rgb(255, 255, 255);
}


.header-dropdown-container
{
  display: inline-block;
}


.header-dropdown-menu
{
  display: block;
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: 10px;
  background-color: rgb(255, 255, 255);
  min-width: 200px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
  border-radius: 0.5rem;
  overflow: hidden;
  z-index: 10000; /* Max z-index */
  border: 1px solid rgb(229, 231, 235);
  transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
  transform-origin: top right;
}

.header-dropdown-menu.hidden
{
  display: none;
  visibility: hidden;
  opacity: 0;
  transform: scale(0.95);
  pointer-events: none;
}

.header-dropdown-menu:not(.hidden)
{
  display: block;
  visibility: visible;
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.header-dropdown-list
{
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-dropdown-list li
{
  margin: 0;
  padding: 0;
  border-bottom: 1px solid rgb(243, 244, 246);
}

.header-dropdown-list li:last-child
{
  border-bottom: none;
}

.header-dropdown-item
{
  display: block;
  padding: 10px 15px;
  color: var(--color-secondary);
  text-decoration: none;
  transition: background-color 0.2s;
  font-size: 0.95rem;
}

.header-dropdown-item:hover
{
  background-color: rgb(243, 244, 246);
  color: var(--color-accent-red);
}


.text-accent-green
{
  color: var(--color-accent-green);
}

.text-accent-red
{
  color: var(--color-accent-red);
}

.text-accent-teal
{
  color: var(--color-accent-teal);
}


.bg-light-1
{
  background-color: var(--color-light-bg1);
}

.bg-light-2
{
  background-color: var(--color-light-bg2);
}

.bg-light-3
{
  background-color: var(--color-light-bg3);
}

.gradient-bg
{
  background-color: var(--color-light-bg3);
}

@keyframes gradientBG
{
  0%
  {
    background-position: 0 50%;
  }
  50%
  {
    background-position: 100% 50%;
  }
  100%
  {
    background-position: 0 50%;
  }
}

.bg-hero-gradient
{
  /* Градиентный фон: теплый персик, лаванда, небесно-голубой и мята */
  background-image:
    radial-gradient(circle at 102% -2%, rgb(253, 237, 226) 7%, transparent 40%),
    radial-gradient(circle at 7% 81%, rgba(236, 230, 249, 0.6) 16%, transparent 53%),
    radial-gradient(circle at 39% 52%, rgba(229, 243, 250, 0.5) 6%, transparent 68%),
    radial-gradient(circle at 11% 29%, rgb(232, 247, 237) 8%, transparent 74%),
    radial-gradient(circle at 90% 50%, rgb(252, 248, 227) 2%, transparent 85%);
}

@keyframes fadeIn
{
  from
  {
    opacity: 0;
    transform: scale(0.95);
  }
  to
  {
    opacity: 1;
    transform: scale(1);
  }
}

/* Utility for animation */
.fade-in
{
  animation: fadeIn 0.8s ease-out forwards;
}

.price-table th
{
  background-color: var(--color-secondary);
  color: rgb(255, 255, 255);
  padding: 12px 15px;
  text-align: left;
}

.price-table td
{
  border: 1px solid rgb(226, 232, 240);
  padding: 10px 15px;
}

.price-table tbody tr:nth-child(odd)
{
  background-color: rgb(255, 255, 255);
}

.price-table tbody tr:nth-child(even)
{
  background-color: var(--color-light-bg3);
}

.price-table .highlight
{
  font-weight: bold;
  color: var(--color-accent-teal);
}

.price-table .official-price
{
  color: var(--color-muted);
}

.price-table .reseller-price
{
  color: var(--color-accent-red);
}

.price-table .right-td
{
  text-align: right;
}

.code-block
{
  background-color: rgb(45, 55, 72);
  color: rgb(226, 232, 240);
  padding: 1.5rem;
  border-radius: .5rem;
  font-family: "Courier New", Courier, monospace;
  overflow-x: auto;
  white-space: pre;
  font-size: 0.9em;
}

.icon-lg
{
  font-size: 2rem;
  margin-bottom: .5rem;
}

.icon-md
{
  font-size: 1.5rem;
  margin-right: .5rem;
  vertical-align: middle;
}

.icon-inline
{
  display: inline-block;
  vertical-align: middle;
  margin-right: 0.3rem;
  width: 1.2em;
  height: 1.2em;
}

.floating
{
  animation: float 3s ease-in-out infinite;
}

header h3
{
  display: inline;
  vertical-align: top;
}

@keyframes float
{
  0%
  {
    transform: scale(1);
  }
  50%
  {
    transform: scale(1.15);
  }
  100%
  {
    transform: scale(1);
  }
}

th.sorted-asc::after
{
  content: " ↑";
  color: rgb(255, 0, 0);
}

th.sorted-desc::after
{
  content: " ↓";
  color: rgb(255, 0, 0);
}

@media (prefers-reduced-motion: reduce)
{
  html
  {
    scroll-behavior: auto;
  }
}

/* --- НОВЫЕ СТИЛИ (вынесены из inline) --- */

/* AI Icons */
.ai-icon
{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 1em;
  height: 1em;
  padding: 0.15em;
  margin: 10px;

  background-color: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-sizing: border-box;

  vertical-align: middle;
}

.ai-icon svg
{
  width: 100%;
  height: 100%;
  display: block;
}


/* Animation Delays */
.anim-delay-0
{
  animation-delay: 0s;
}

.anim-delay-500
{
  animation-delay: 0.3s;
}

.anim-delay-1000
{
  animation-delay: 0.6s;
}


.h1
{
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 700;
  text-align: center;
  color: var(--color-secondary);
  margin-bottom: 3rem;
}

@media (min-width: 768px)
{
  .h1
  {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }
}

.btn-action
{
  margin: 5px;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-action:hover
{
  transform: scale(1.05);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
}

.section-spacing
{
  margin-bottom: 20px;
}

.gallery-image
{
  display: inline-block;
  margin: 5px;
}

.correction-preview-img
{
  max-height: 200px;
  width: auto;
}

.yandex-pixel
{
  position: absolute;
  left: -9999px;
}

/* --- TAILWIND UTILITY REPLACEMENTS --- */

/* Colors */
.bg-gray-50
{
  background-color: rgb(249, 250, 251);
}

.bg-white
{
  background-color: rgb(255, 255, 255);
}

.bg-gray-800
{
  background-color: rgb(31, 41, 55);
}

.bg-yellow-100
{
  background-color: rgb(254, 243, 199);
}

.text-white
{
  color: rgb(255, 255, 255);
}

.text-gray-300
{
  color: rgb(209, 213, 219);
}

.text-gray-600
{
  color: rgb(75, 85, 99);
}

.text-blue-600
{
  color: rgb(37, 99, 235);
}

.text-yellow-500
{
  color: rgb(234, 179, 8);
}

.text-yellow-700
{
  color: rgb(161, 98, 7);
}

.text-green-500
{
  color: rgb(34, 197, 94);
}

.hover\:text-primary:hover
{
  color: var(--color-primary);
}

/* Typography */
.font-sans
{
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

.font-bold
{
  font-weight: 700;
}

.font-semibold
{
  font-weight: 600;
}

.leading-tight
{
  line-height: 1.25;
}

.hover\:underline:hover
{
  text-decoration: underline;
}

.no-underline
{
  text-decoration: none;
}

.text-lg
{
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.text-xl
{
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.text-2xl
{
  font-size: 1.5rem;
  line-height: 2rem;
}

.text-3xl
{
  font-size: 1.875rem;
  line-height: 2.25rem;
}

.text-4xl
{
  font-size: 2.25rem;
  line-height: 2.5rem;
}

.text-5xl
{
  font-size: 3rem;
  line-height: 1;
}

@media (min-width: 768px)
{
  .md\:text-xl
  {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }

  .md\:text-3xl
  {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }

  .md\:text-4xl
  {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }

  .md\:text-6xl
  {
    font-size: 3.75rem;
    line-height: 1;
  }
}

/* Layout & Flexbox/Grid */
.mx-auto
{
  margin-left: auto;
  margin-right: auto;
}

.flex
{
  display: flex;
}

.flex-col
{
  flex-direction: column;
}

.flex-wrap
{
  flex-wrap: wrap;
}

.items-center
{
  align-items: center;
}

.justify-center
{
  justify-content: center;
}

.justify-around
{
  justify-content: space-around;
}

.grid
{
  display: grid;
}

.grid-cols-1
{
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.hidden
{
  display: none;
}

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

@media (min-width: 768px)
{
  .md\:flex-row
  {
    flex-direction: row;
  }

  .md\:grid-cols-3
  {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .md\:block
  {
    display: block;
  }
}

/* Spacing */
.p-6
{
  padding: 1.5rem;
}

.py-3
{
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.py-10
{
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.py-16
{
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.px-6
{
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.px-8
{
  padding-left: 2rem;
  padding-right: 2rem;
}

.mt-2
{
  margin-top: 0.5rem;
}

.mb-6
{
  margin-top: 1.5rem;
}

.mt-8
{
  margin-top: 2rem;
}

.mt-10
{
  margin-top: 2.5rem;
}

.mt-16
{
  margin-top: 4rem;
}

.mr-2
{
  margin-right: 0.5rem;
}

.mr-3
{
  margin-right: 0.75rem;
}

.space-y-4 > :not([hidden]) ~ :not([hidden])
{
  --tw-space-y-reverse: 0;
  margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1rem * var(--tw-space-y-reverse));
}

.space-y-8 > :not([hidden]) ~ :not([hidden])
{
  --tw-space-y-reverse: 0;
  margin-top: calc(2rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(2rem * var(--tw-space-y-reverse));
}

@media (min-width: 768px)
{
  .md\:py-10
  {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .md\:space-y-0 > :not([hidden]) ~ :not([hidden])
  {
    margin-top: 0;
    margin-bottom: 0;
  }

  .md\:space-x-8 > :not([hidden]) ~ :not([hidden])
  {
    --tw-space-x-reverse: 0;
    margin-right: calc(2rem * var(--tw-space-x-reverse));
    margin-left: calc(2rem * calc(1 - var(--tw-space-x-reverse)));
  }
}

/* Sizing */
.w-16
{
  width: 4rem;
}

.h-16
{
  height: 4rem;
}

.max-w-xs
{
  max-width: 20rem;
}

.max-w-xl
{
  max-width: 36rem;
}

.max-w-3xl
{
  max-width: 48rem;
}

.max-w-4xl
{
  max-width: 56rem;
}

/* Code block fix */
.bg-gray-800 pre, .bg-gray-800 code
{
  background-color: transparent !important;
  color: inherit !important;
  border: 0 !important;
  padding: 0;
  margin: 0;
}

/* Icons (FontAwesome polyfill if needed) */
[class^="icon-"], [class*=" icon-"]
{
  display: inline-block;
  width: 1.25em;
  height: 1.25em;
  vertical-align: -0.125em;
}

/* Missing Utility Classes */
.text-gray-400
{
  color: rgb(156, 163, 175);
}

.text-gray-500
{
  color: rgb(107, 114, 128);
}

.text-sm
{
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.text-xs
{
  font-size: 0.75rem;
  line-height: 1rem;
}

.border-t
{
  border-top-width: 1px;
  border-style: solid;
}

.border-gray-600
{
  border-color: rgb(75, 85, 99);
}

.border-gray-700
{
  border-color: rgb(55, 65, 81);
}

.hover\:text-white:hover
{
  color: rgb(255, 255, 255);
}

@media (min-width: 768px)
{
  .md\:text-left
  {
    text-align: left;
  }

  .md\:text-right
  {
    text-align: right;
  }

  .md\:items-end
  {
    align-items: flex-end;
  }

  .md\:mb-0
  {
    margin-bottom: 0;
  }
}

.justify-between
{
  justify-content: space-between;
}

/* Group Hover Support */
.group:hover .group-hover\:text-white
{
  color: rgb(255, 255, 255);
}

@media (min-width: 640px)
{
  .sm\:flex-row
  {
    flex-direction: row;
  }

  .sm\:space-y-0 > :not([hidden]) ~ :not([hidden])
  {
    margin-top: 0;
    margin-bottom: 0;
  }

  .sm\:space-x-8 > :not([hidden]) ~ :not([hidden])
  {
    --tw-space-x-reverse: 0;
    margin-right: calc(2rem * var(--tw-space-x-reverse));
    margin-left: calc(2rem * calc(1 - var(--tw-space-x-reverse)));
  }
}

/* --- REVIEWS SECTION --- */

.review-card
{
  background-color: rgb(255, 255, 255);
  border-radius: 1rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  padding: 2.5rem;
  border-left: 5px solid var(--color-accent-red);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  /* max-w-4xl */
  max-width: 64rem;
  margin: 0 auto;
}

@media (min-width: 768px)
{
  .review-card
  {
    flex-direction: row;
    align-items: flex-start;
  }
}

.review-avatar
{
  width: 128px;
  height: 128px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
  background-color: rgb(229, 231, 235);
}

.review-content
{
  flex: 1;
  text-align: left;
}

.review-link
{
  color: var(--color-primary);
  font-weight: 700;
  text-decoration: none;
  transition: color 0.3s ease, border-bottom-color 0.3s ease;
  border-bottom: 1px dashed transparent;
}

.review-link:hover
{
  color: var(--color-accent-red);
  text-decoration: none;
  border-bottom-color: var(--color-accent-red);
}

.review-btn
{
  display: inline-block;
  background-color: var(--color-accent-red);
  color: rgb(255, 255, 255);
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.review-btn:hover
{
  background-color: var(--color-accent-red);
  transform: scale(1.05);
  color: rgb(255, 255, 255);
}

/* --- FOOTER CREATIVE 2026 (AI-Driven Design) --- */

.footer-creative
{
  background-image: radial-gradient(circle at 50% 0%, rgb(58, 58, 74) 0%, rgb(15, 16, 22) 100%);
  color: rgb(226, 232, 240);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

/* Quantum Glow Effect */
.footer-creative::before
{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-image: linear-gradient(90deg, transparent, var(--color-primary), transparent);
  opacity: 0.5;
}

.footer-section-title
{
  color: var(--color-light-bg3);
  /*
  font-size: 1.5rem;
  font-weight: 700;
  background-image: linear-gradient(to right, rgb(255, 255, 255), rgb(148, 163, 184));
  margin-bottom: 1.5rem;
  letter-spacing: -0.025em;
  */
}

.footer-link-group
{
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 300px;
}

.footer-link-item
{
  display: flex;
  align-items: center;
  color: rgb(148, 163, 184);
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.02);
}

.footer-link-item:hover
{
  background-color: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: rgb(255, 255, 255);
  transform: scale(1.02);
  /* Primary glow */
  box-shadow: 0 0 15px rgba(232, 82, 45, 0.15);
}

.footer-link-icon
{
  margin-right: 12px;
  width: 20px;
  height: 20px;
  color: var(--color-primary);
  transition: transform 0.3s ease;
}

.footer-link-item:hover .footer-link-icon
{
  transform: scale(1.1);
  filter: drop-shadow(0 0 5px var(--color-primary));
}

.footer-description
{
  color: rgb(100, 116, 139);
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-copyright
{
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 3rem;
  padding-top: 2rem;
  text-align: center;
  font-size: 0.875rem;
}

.footer-copyright,
.footer-copyright p
{
  color: var(--footer-text-color);
}

.footer-seo-text
{
  margin-top: 1rem;
  font-size: 0.75rem;
  color: rgb(51, 65, 85);
  text-align: center;
}


.limits-container
{
  max-width: 800px;
  margin: 40px auto;
  background-color: rgb(255, 255, 255);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, .08);
}

.rpm-list
{
  list-style: none;
  padding: 0;
  margin: 0;
}

.rpm-list li
{
  padding: 12px 0;
  border-bottom: 1px solid rgb(224, 224, 224);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.rpm-list li:last-child
{
  border-bottom: none;
}

.rpm-list .condition
{
  margin-right: 10px;
}

.rpm-list .rpm-value
{
  font-weight: bold;
  min-width: 70px;
  text-align: right;
}


/* --- ИНТЕГРАЦИИ (БЛОКИ ССЫЛОК) --- */

.link-block-list
{
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.link-block-list li
{
  margin-bottom: 20px;
}

.link-block
{
  display: block;
  background-color: var(--color-light-bg3);
  padding: 25px;
  border-radius: 8px;
  text-decoration: none !important;
  color: var(--color-secondary);
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

.link-block:hover
{
  background-color: rgb(255, 255, 255);
  border-color: var(--color-primary);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.link-block__header
{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.link-block__title
{
  font-size: 20px;
  font-weight: bold;
  margin: 0;
  color: var(--color-secondary);
}

.link-block:hover .link-block__title
{
  color: var(--color-primary);
}

.link-block__badge
{
  font-size: 13px;
  background-color: rgb(255, 255, 255);
  padding: 4px 10px;
  border-radius: 15px;
  color: var(--color-muted);
  border: 1px solid rgb(224, 224, 224);
}

.link-block__desc
{
  margin: 0;
  color: var(--color-muted);
  line-height: 1.5;
}

.link-block:hover .link-block__desc
{
  color: var(--color-secondary);
}

.section-header
{
  font-size: 28px;
  font-weight: bold;
  color: var(--color-secondary);
  margin-bottom: 20px;
  border-bottom: 2px solid rgb(226, 232, 240);
  padding-bottom: 10px;
}

/* --- DOCUMENTATION TABLES --- */

.doc-table-wrapper
{
  overflow-x: auto;
  margin-bottom: 1.5rem;
  padding: 0 1px;
}

.doc-table
{
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  line-height: 1.5;
}

.doc-table th
{
  background-color: var(--color-light-bg3);
  color: var(--color-secondary);
  font-weight: 700;
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 2px solid rgb(226, 232, 240);
  white-space: nowrap;
}

.doc-table td
{
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgb(226, 232, 240);
  vertical-align: top;
  color: var(--color-secondary);
}

.doc-table tr:hover td
{
  background-color: rgb(249, 250, 251);
}

.doc-table code
{
  background-color: rgb(241, 245, 249);
  color: rgb(15, 23, 42);
  padding: 0.2rem 0.4rem;
  border-radius: 0.25rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.875em;
}

/* --- Cards Animation --- */

.card-anim
{
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-anim:hover
{
  /* Увеличение масштаба (scale) */
  transform: scale(1.05);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* --- SLOGAN BLOCK --- */

.slogan-block
{
  margin-bottom: 2rem;
  padding: 1rem 2rem;
  border-radius: 0.5rem;

  font-weight: bold;
  color: var(--color-accent-red);
  background-color: var(--color-light-bg3);

  animation: pulse-red 1s infinite;
}

@keyframes pulse-red
{
  0%
  {
    box-shadow: 0 0 0 0 rgba(176, 38, 38, 0.4);
  }
  70%
  {
    box-shadow: 0 0 0 10px rgba(176, 38, 38, 0);
  }
  100%
  {
    box-shadow: 0 0 0 0 rgba(176, 38, 38, 0);
  }
}

/* --- STATS CARDS --- */
.stat-card
{
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.stat-card--primary
{
  background-color: rgb(255, 241, 239);
  border-top: 4px solid var(--color-primary);
}

.stat-card--teal
{
  background-color: var(--color-light-bg2);
  border-top: 4px solid var(--color-accent-teal);
}

.stat-card--green
{
  background-color: var(--color-light-bg1);
  border-top: 4px solid var(--color-accent-green);
}

/* --- API Key Settings Block --- */

.api-key-container
{
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.api-key-container .form-input
{
  width: 100%;
}

.api-key-container .api-key-btn
{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0;
  border-radius: 0.5rem;

  font-size: 0.875rem;
  color: rgb(255, 255, 255);
  text-decoration: none;
  text-align: center;
}

.api-key-btn:hover
{
  color: var(--text-inverse) !important;
}

@media (min-width: 640px)
{
  .api-key-container
  {
    flex-direction: row;
  }

  .api-key-container .form-input
  {
    width: 70%;
  }

  .api-key-container .api-key-btn
  {
    width: 30%;
  }
}

/* --- WORK SCHEME STEPS --- */

.step-circle
{
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
}


.cards-grid-50
{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

/* --- WORK SCHEME LAYOUT --- */

.work-scheme-container
{
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
  align-items: center;
}

.work-scheme-step
{
  width: 100%;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px)
{
  .work-scheme-container
  {
    flex-direction: row;
    align-items: flex-start;
    flex-wrap: nowrap;
    gap: 15px;
  }

  .work-scheme-step
  {
    flex: 1;
    max-width: none;
    padding: 0 10px;
  }
}

.work-scheme-arrow
{
  display: none;
  font-size: 2.25rem; /* text-4xl */
  line-height: 2.5rem;
  color: var(--color-muted);
}

@media (min-width: 768px)
{
  .work-scheme-arrow
  {
    display: block;
  }
}