:root {
  --background: #ffffff;
  --foreground: 0 0% 10%; /* пример, тёмный текст */
  --accent: #667eea;
  --muted: #f5f5f5;
  --border: 240 3.7% 17.9%;
  --textone: rgb(28, 31, 35);
  --semi-color-primary:rgb(0, 100, 250);
  --semi-color-second: rgba(46, 50, 56, 0.09);
  --boarder:rgb(228, 228, 231);
  --colorzag:rgb(0, 100, 250);
  --colorp:rgb(96, 100, 108);
  --sectitle:linear-gradient(135deg, rgb(0, 100, 250) 100%, #8398f6 50%, rgb(0, 100, 250) 100%);
  --numcol:rgb(6 6 6 / 5%);
  --bortop:rgb(218, 220, 223);
  --backgroundnav: #ffffff;       /* основной цвет */
  --backgroundnav-alpha: 0.05;    /* прозрачность фона */
  --backgroundnav-blur: 10px; 
  --backtop: hsl(240, 33%, 98%);
  --hoverquick:hsl(240, 4%, 77%);
  --headcarder:rgba(0,0,0,0.15);
  --bg900:rgb(255, 255, 255);
  --link: rgb(96, 100, 108);
  --headnew:rgb(242 244 247);
  --modevalue: rgb(17, 24, 39);
  --bline:rgb(218, 220, 223);
  --hovother:rgba(30, 15, 10, 0.2);
  --dropdown-bg: hsl(240, 33%, 98%);
  --gold:rgba(246, 201, 20, 0.9);
  --xs: rgba(255, 255, 255, 0.1);
  --modcont: rgb(239, 241, 245);
  --demback:rgb(96, 100, 108);
  --copybtn:rgba(200, 204, 209, 0.868);
  --backcol:rgba(234, 236, 238, 0.868);

}

[data-theme="dark"] {
  --background: #0a0a0a;
  --foreground: 0 0% 85%;
  --accent: #a78bfa;
  --muted: #1a1a1a;
  --textone: rgb(249, 249, 249);
  --semi-color-primary:rgb(127, 193, 255);
  --semi-color-second:rgba(255, 255, 255, 0.12);
  --boarder:rgba(255, 255, 255, 0.1);
  --colorzag:#fff;
  --colorp:#a0a0a0;
  --sectitle:linear-gradient(135deg, #ffffff 0%, #667eea 50%, rgb(0, 100, 250) 100%);
  --numcol:rgba(255, 255, 255, 0.05);
  --bortop:rgba(255, 255, 255, 0.1);
  --backgroundnav: #0a0a0a;
  --backgroundnav-alpha: 0.05;    /* прозрачность фона */
  --backgroundnav-blur: 10px; 
  --backtop: hsl(240 20% 6%);
  --hoverquick:#141414;
  --headcarder:rgba(17, 24, 39, 0.3);
  --bg900:rgba(17, 24, 39, .3);
  --link: rgb(239, 241, 245);
   --headnew:hsl(240 20% 6%);
   --modevalue:rgb(239, 241, 245);
   --bline:rgb(55 65 81) ;
   --hovother:rgba(30, 15, 10, 0.7);
   --dropdown-bg: rgba(10,10,12,0.92);
   --gold:rgba(253, 230, 139, 0.9);
   --xs: #888686;
   --modcont: #1e1e1e;
   --demback:rgb(96, 100, 108);
   --copybtn:rgba(31, 41, 55, 0.7);
   --backcol:rgb(17, 24, 39);
}

/* Ставим фон на html — это помогает избежать проблем с псевдоэлементами body */
html {
  background-color: var(--background);
  color: hsl(var(--foreground));
  transition: background-color 240ms ease, color 240ms ease;
}

/* body пусть будет прозрачным, фон-эффекты делай через псевдоэлементы */
body {
  background: transparent;
  color: inherit;
  font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  min-height: 100vh;
  line-height: 1.6;
}

body::before,
body::after {
  pointer-events: none;
  mix-blend-mode: normal; /* или попробуй none/screen если нужно эффект */
  background-repeat: no-repeat;
  background-color: transparent;
  /* z-index строго ниже контента, но не перекрывает html background */
}

@keyframes float-particles {
    0% {
        transform: translateY(0px) translateX(0px);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) translateX(50px);
        opacity: 0;
    }
}



@keyframes grid-move {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 50px 50px;
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    100% {
        transform: translateY(-100px);
    }
}

.font_normal {
    font-weight: 400;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(
    255, 255, 255, var(--backgroundnav-alpha)
  ); /* прозрачный белый фон */
  backdrop-filter: blur(var(--backgroundnav-blur));
  -webkit-backdrop-filter: blur(var(--backgroundnav-blur));
    border-bottom: 1px solid var(--bortop);
    z-index: 1000;
    padding: 0;
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0.75rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.nav-brand h1 {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}



.nav-links {
  display: none; /* закрыто по умолчанию */
  gap: 2.5rem;
}

.nav-links.show {
  display: flex; /* открываем только через .show */
}

@media (min-width: 769px) {
  .nav-links {
    display: flex; /* на десктопе всегда видно */
    flex-direction: row;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: hsl(240 20% 6%);
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-search {
    display: none;
  }

  #modelSearchInput {
    display: none;
  }
}

.nav-links a {
    color: var(--semi-color-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding:9px;
}

.rounded-md {
    border-radius:calc(var(--radius) - 2px);
    border-color: hsl(var(--border)/.5);
}

.span a {

    color: #a0a0a0;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.model-name a {
    color: var(--textone);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--colorp);
}


/* Дефолт */
.logo-mobile {
  display: none; /* скрыт на десктопе */
}

.burger {
  display: none; /* по умолчанию скрыт */
  font-size: 1.8rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

/* --- 📱 Мобильная версия --- */
@media (max-width: 768px) {
  .logo-desktop {
    display: none; /* убираем большой логотип */
  }

  .logo-mobile {
    display: block;
    margin: 0 auto; /* центрируем */
  }

  .burger {
    display: block; /* показываем бургер */
    margin-right: auto; /* прижать влево */
  }

  .nav-container {
    justify-content: center; /* чтобы логотип был по центру */
    position: relative;
  }

  .nav-links {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: hsl(240 20% 6%);
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    display: none;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-search {
    display: none;
  }
}


.main-container {
    margin-top: 80px;
    padding: 0 2rem; /* только слева и справа */
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* 
.hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 30vh;
    padding: 3rem 2rem;
    position: relative;
    overflow: hidden;
} */



/* .hero-title::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    currentColor 0%,
    currentColor 40%,
    rgba(255,255,255,0.9) 50%,
    currentColor 60%,
    currentColor 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: sweep-shine 3s linear infinite;
  pointer-events: none;
} */



.bg-gray-900\/30 {
    background-color: var(--bg900);
}

.bg-muted{background-color:hsl(var(--muted))}
.bg-muted\/20{background-color:hsl(var(--muted)/.2)}
.bg-gray-800\/80 {
    background-color: rgba(17, 24, 39, .3);
}
.p-4 {
    padding: 1rem;
}

.mb-3 {
    margin-bottom: .75rem;
}

.bg-gray-50 {
    --tw-bg-opacity: 1;
    /* background-color: rgb(17 24 39 / 0.3); */

}

.rounded-lg {
    border-radius: var(--radius);
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.1rem;
    }
}

.hero-subtitle {
    font-size: 1.55rem;
    color: var(--colorp);
    font-family:'Lato', "Helvetica Neue", Arial, Helvetica, "Microsoft YaHei", sans-serif;
    max-width:500px;
}

.last-updated {
    font-size: 0.75rem;
    color: #666666;
    text-align: center;
    margin-top: 1rem;
    font-weight: 400;
}

@media (max-width: 768px) {
    .last-updated {
        font-size: 0.7rem;
        margin-top: 0.75rem;
    }
}

.hero-stats {
    display: flex;
    gap: 2rem;
}

.stat-card {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 48px rgba(102, 126, 234, 0.2);
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    transition: all 0.6s ease;
}

.stat-label {
    font-size: 0.875rem;
    color: #a0a0a0;
    margin-top: 0.25rem;
}

.hero-visual {
    width: 100%;
    max-width: 900px;
    height: 450px;
    /* background: rgba(255, 255, 255, 0.02); */
    border: none;
    border-radius: 24px;
    padding: 2rem;
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

/* .hero-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 80%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(240, 147, 251, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 40% 40%, rgba(118, 75, 162, 0.05) 0%, transparent 50%);
    animation: float-background 20s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
} */

/* Add gradient overlay to darken bottom
.hero-visual::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.9) 0%, rgba(10, 10, 10, 0) 100%);
    pointer-events: none;
    z-index: 5;
} */

/* Model images positioned randomly on chart */
.model-image {
    position: absolute;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
    z-index: 10;
    transition: transform 0.3s ease;
}

.model-image:hover {
    transform: scale(1.1);
}

.model-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.dashboard-card {
    background: rgba(255, 255, 255, 0.02);
    /* border: 1px solid rgba(255, 255, 255, 0.1); */
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.dashboard-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.1);
}

.dashboard-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

canvas {
    max-height: 400px;
}

.activity-feed {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    transition: background 0.3s ease;
}

.activity-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.activity-dot {
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    flex-shrink: 0;
}

.activity-item span {
    flex: 1;
    color: #ffffff;
}

.activity-item time {
    font-size: 0.875rem;
    color: #a0a0a0;
}


.table-header {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.scroll-hint {
    font-size: 0.75rem;
    color: #a0a0a0;
    font-style: italic;
    text-align: right; /* выравниваем текст вправо */
}


.leaderboard-table td.score,
.leaderboard-table td.context {
    text-align: center;
    color: #a0a0a0;
    /* font-family: 'Courier New', Courier, monospace; */
}


.table-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, #a0a0a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.table-controls {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.search-box input,
.filter-dropdown select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: #ffffff;
    font-size: 0.875rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.search-box input::placeholder {
    color: #a0a0a0;
}

.search-box input:focus,
.filter-dropdown select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.2);
}

.table-container {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    overflow-x: auto; /* горизонтальный скролл */
    -webkit-overflow-scrolling: touch; 
}

.leaderboard-table {
    width: 100%;
    border-collapse: collapse;
    border: 3px solid var(--backtop);
}

/* Заголовки — прозрачные, без окраски, только текст и стрелки */
.leaderboard-table th {
    padding: 0.6rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer; /* для сортировки */
    position: relative;
    color: var(--colorp);
    font-weight: 600;
    user-select: none;
    background: transparent; /* <-- убираем фон */
    transition: background 0.2s;
}

/* Стили стрелки и состояний */
.leaderboard-table th {
  cursor: pointer;
  position: relative;
  user-select: none;
  min-height: 60px;
}

.leaderboard-table th .sort-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 6px; /* отступ между текстом и иконкой */
}

.leaderboard-table th .sort-svg {
  width: 14px;
  height: 14px;
  display: inline-block;
  transition: transform 0.18s ease, opacity 0.18s;
  opacity: 0.85;
  color: currentColor;
}

/* состояние отсортированного столбца */
.leaderboard-table th.sorted-asc,
.leaderboard-table th.sorted-desc {
  color: #ffffff;      /* делаем текст белым */
  font-weight: 600;
}

/* стрелка для сортировки — по умолчанию нейтрально (вертикальная) */
.leaderboard-table th .sort-svg:not(.rotated) {
  transform: rotate(0deg);
}

/* повёрнутая стрелка (например, для desc или asc — управляем из JS) */
.leaderboard-table th .sort-svg.rotated {
  transform: rotate(180deg);
}


/* Стили для ячеек */
.leaderboard-table td {
    padding: 0.5rem 1.5rem;
    text-align: left;
    /* border-bottom: 1px solid rgba(255, 255, 255, 0.5); */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--colorp);
}

/* Первое место — подсветка только для tbody */
.leaderboard-table tbody tr:nth-child(1) {
  background: linear-gradient(to right, rgba(252, 211, 77, 0.15), rgba(252, 211, 77, 0));
  box-shadow: 0 0 8px rgba(252, 211, 77, 0.2);
  color: var(--gold);
}

.leaderboard-table tbody tr:nth-child(1) td:first-child {
  border-left: 4px solid #fcd34d;
  color: var(--gold);
  font-weight: 600;
}

/* Второе место */
.leaderboard-table tbody tr:nth-child(2) {
  background: linear-gradient(to right, rgba(192, 192, 192, 0.1), rgba(192, 192, 192, 0));
}
.leaderboard-table tbody tr:nth-child(2) td:first-child {
  border-left: 4px solid #d4d4d4;
  color: #c0c0c0;
  font-weight: 600;
}

/* Третье место */
.leaderboard-table tbody tr:nth-child(3) {
  background: linear-gradient(to right, rgba(205, 127, 50, 0.1), rgba(205, 127, 50, 0));
  color: rgba(254, 214, 169, 0.9);
}
.leaderboard-table tbody tr:nth-child(3) td:first-child {
  border-left: 4px solid #b87333;
  color: #cd7f32;
  font-weight: 600;
}





.leaderboard-table th {
    /* background: rgba(255, 255, 255, 0.03); */
    font-weight: 600;
    font-size: 0.775rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--colorp);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

/* Для колонок с ценой/вводом-выводом */
.leaderboard-table td.inputtext {
    white-space: nowrap;   /* запрещаем перенос текста */
    text-align: center;    /* если нужно, выравниваем по центру */
}


.leaderboard-table th:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

.leaderboard-table th.sorted::after {
    content: '↑';
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.75rem;
}

.leaderboard-table th.sorted.desc::after {
    content: '↓';
}

.leaderboard-table td {
    font-size: 0.775rem;
}

.leaderboard-table tr {
    transition: all 0.3s ease;
}

.leaderboard-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

/* .tbody {

    background: var(--background);
    color:var(--colort);
    border: 1px hsl(var(--border)/.5);
} */

.rank {
    font-weight: 700;
    color: #667eea;
    width: 60px;
}

.model-name {
    font-weight: 600;
    color: #ffffff;
}

.provider {
    color: #a0a0a0;
}

.score {
    text-align: right;
    font-weight: 500;
}

.score span {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
}

.score.mmlu-col span {
    background: rgba(102, 126, 234, 0.2);
    color: #667eea;
}

.score.gsm8k-col span {
    background: rgba(118, 75, 162, 0.2);
    color: #764ba2;
}

.score.math-col span {
    background: rgba(240, 147, 251, 0.2);
    color: #f093fb;
}

.api-col span {
    color: #7289da;
    text-shadow: 0 0 5px rgba(114, 137, 218, 0.5),
                 0 0 10px rgba(114, 137, 218, 0.4),
                 0 0 20px rgba(114, 137, 218, 0.3);
    /* animation: pulse-glow2 3s ease-in-out infinite; */
    background: none;
}

@keyframes pulse-glow2 {
    0%, 100% {
        text-shadow: 0 0 5px rgba(114, 137, 218, 0.5),
                     0 0 10px rgba(114, 137, 218, 0.4),
                     0 0 20px rgba(114, 137, 218, 0.3);
    }
    50% {
        text-shadow: 0 0 10px rgba(114, 137, 218, 0.8),
                     0 0 20px rgba(114, 137, 218, 0.6),
                     0 0 30px rgba(114, 137, 218, 0.4);
    }
}




.score.humaneval-col span {
    background: rgba(131, 164, 212, 0.2);
    color: #83a4d2;
}

.score.mgsm-col span {
    background: rgba(194, 233, 251, 0.2);
    color: #c2e9fb;
}

.td.yand-col  {
    background: rgba(194, 233, 251, 0.2);
    color: #c2e9fb;
    justify-content: center;
}

.table-footer {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

.pagination {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.page-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.page-btn:hover {
    background: rgba(102, 126, 234, 0.2);
    border-color: #667eea;
}

.page-info {
    color: #a0a0a0;
    font-size: 0.875rem;
}

/* Darken the canvas container */
.animated-chart-container {
    position: relative;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* background: rgba(0, 0, 0, 0.2); */
    border-radius: 16px;
}

#heroChart {
    flex: 1;
    width: 100% !important;
    height: 400px !important;
}

#pricingproviders {
    flex: 1;
    width: 90% !important; 
    height: 300px !important;
}
.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.chart-header h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #ffffff;
}

.chart-period {
    font-size: 0.875rem;
    color: #a0a0a0;
}

.chart-legend {
    display: none;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: #a0a0a0;
    transition: all 0.3s ease;
}

.legend-item:hover {
    transform: translateY(-2px);
    color: #ffffff;
}

.legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.legend-dot.gpt {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.legend-dot.claude {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.legend-dot.gemini {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

/* Animation for numbers */
.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    transition: all 0.6s ease;
}

.stat-card:hover .stat-number {
    transform: scale(1.05);
    color: #667eea;
}

/* New section styles */
.section-title {
    /* font-size: 2.5rem;
    font-weight: 700; */
    text-align: center;
    margin: 2rem 0 3rem;
    background: linear-gradient(135deg, #ffffff 0%, #a0a0a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.benchmarks-section,
.context-analysis-section,
.trends-section {
    margin-bottom: 4rem;
}

.benchmarks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.benchmarks-grid22 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 2rem 0;
}

/* 📱 На телефоне — по одной карточке в ряд */
@media (max-width: 640px) {
  .benchmarks-grid22 {
    grid-template-columns: 1fr;
    gap: 1rem; /* можно чуть меньше отступов на мобильных */
  }
}


.llm-rankings-section {
    margin: 4rem 0;
    padding: 2rem 0;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #a0a0a0;
    margin-bottom: 3rem;
}

.rankings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.ranking-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(20px);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.ranking-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.ranking-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.15);
}

.ranking-card:hover::before {
    transform: scaleX(1);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.category-icon {
    font-size: 2rem;
    filter: drop-shadow(0 0 10px rgba(102, 126, 234, 0.3));
}

.card-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
}

.winner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 16px;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.model-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.model-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.model-info h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.model-info p {
    font-size: 0.9rem;
    color: #a0a0a0;
    margin-bottom: 0.5rem;
}

.score-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 700;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.runner-ups {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.runner-up {
    display: grid;
    grid-template-columns: 30px 1fr auto;
    align-items: center;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.runner-up:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(4px);
}

.runner-up span:first-child {
    font-weight: 700;
    color: #667eea;
}

.runner-up span:nth-child(2) {
    color: #ffffff;
    font-weight: 500;
}

.runner-score {
    font-size: 0.875rem;
    color: #a0a0a0;
    font-weight: 600;
}

/* New feature badges styles - smaller */
.feature-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin: 1rem 0;
    max-width: 1000px;
}

.badge {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.9rem;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid;
  backdrop-filter: blur(10px);
}

@media (max-width: 768px) {
  #costLegend, #qualityLegend {
    display: none !important;
  }
}



.badge.regular {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: #a0a0a0;
}

.badge.regular:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}

.badge.special {
    background: linear-gradient(135deg, rgba(114, 137, 218, 0.2), rgba(114, 137, 218, 0.1));
    border-color: rgba(114, 137, 218, 0.3);
    color: #7289da;
}

.badge.special:hover {
    background: linear-gradient(135deg, rgba(114, 137, 218, 0.3), rgba(114, 137, 218, 0.2));
    border-color: rgba(114, 137, 218, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(114, 137, 218, 0.3);
}

.icon-svg {
    width: 12px;
    height: 12px;
    display: block;
}

.badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-text {
    font-weight: 500;
    letter-spacing: 0.2px;
}

/* Responsive adjustments for badges */
@media (max-width: 768px) {
    .hero-title {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .feature-badges {
        gap: 0.4rem;
        margin: 0.75rem 0;
    }
    
    .badge {
        padding: 0.3rem 0.6rem;
        font-size: 0.7rem;
    }
    
    .badge-icon {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.1rem;
    }
    
    .feature-badges {
        gap: 0.3rem;
        margin: 0.5rem 0;
    }
    
    .badge {
        padding: 0.25rem 0.5rem;
        font-size: 0.65rem;
    }
}

/* Add subtle pulse animation for special badge */
@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(114, 137, 218, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(114, 137, 218, 0.6);
    }
}

.badge.special {
    animation: pulse-glow 3s ease-in-out infinite;
}

.badge.special:hover {
    animation: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    /* Fix benchmark charts for mobile */
    .benchmarks-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem;
        margin: 1rem 0;
    }
    
    .benchmarks-grid .dashboard-card {
        min-height: 400px;
        padding: 1rem;
    }
    
    .benchmarks-grid canvas {
        max-height: 350px;
        width: 100% !important;
        height: 100% !important;
    }
    
    /* Ensure labels are readable */
    .benchmarks-grid .dashboard-card h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    /* Reduce padding for mobile */
    .dashboard-card {
        padding: 1rem;
    }
    
    /* Ensure proper chart container sizing */
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-section {
        padding: 2rem 1rem;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .hero-visual {
        height: 350px;
        padding: 1.5rem;
    }
    
    .chart-legend {
        gap: 1rem;
        justify-content: center;
    }
    
    .legend-item {
        font-size: 0.8rem;
    }
    
    .model-icon {
        font-size: 1.2rem;
    }

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

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.25rem;
    }
    
    .hero-visual {
        height: 300px;
        padding: 1rem;
    }
    
    .chart-legend {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }
    
    .model-icon {
        font-size: 1.2rem;
    }
}

/* Tablet adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-section {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-title {
        font-size: 2.75rem;
    }

    .benchmarks-grid {
        grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    }
}

/* Ensure proper viewport meta tag */
@viewport {
    width: device-width;
    initial-scale: 1;
}

/* Improve touch targets */
button, 
input, 
select {
    min-height: 34px;
}

/* Reduce hover effects on mobile */
@media (hover: none) {
    .dashboard-card:hover,
    .stat-card:hover,
    .ranking-card:hover {
        transform: none;
    }
}

/* Improve readability on small screens */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.25rem;
    }

    .ranking-card {
        padding: 1rem;
    }

    .winner {
        padding: 0.75rem;
    }
}

#heroChart {
  position: relative;
}

.logo-icon {
  height: 20px;
  width: auto;
  display: block;
}

.logo-icon-right {
  height: 34px;
  width: auto;
  display: block;
}



.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-search input {
  padding: 6px 10px;
  border-radius: 30px;
  border: none;
  outline: none;
  background-color: hsl(var(--foreground)/.1);
  color: var(--textone);
  font-size: 14px;
  border-color: rgba(114, 137, 218, 0.5);
  max-width:200px;
}

.nav-search input::placeholder {
  color: #888;

}
/* Контейнер вертикальный */
#providerCheckboxes {
    display: flex;
    flex-direction: column; /* Колонкой */
    gap: 5px;               /* Отступы между чекбоксами */
    max-height: 300px;      /* При желании, чтобы не росло бесконечно */
    overflow-y: auto;       /* Скролл, если много провайдеров */
}

/* Стили для каждой метки */
.custom-checkbox-vertical {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #fff;
    position: relative;
    padding-left: 28px;
    user-select: none;
}

/* Скрываем дефолтный input */
.custom-checkbox-vertical input {
    position: absolute;
    opacity: 0;
    height: 0;
    width: 0;
}

/* Кастомный квадрат чекбокса */
.custom-checkbox-vertical .checkmark {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 18px;
    width: 18px;
    background-color: #444;
    border-radius: 4px;
    transition: all 0.2s;
}

/* Активный чекбокс */
.custom-checkbox-vertical input:checked ~ .checkmark {
    background-color: #4CAF50;
}

/* Галочка */
.custom-checkbox-vertical .checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.custom-checkbox-vertical input:checked ~ .checkmark:after {
    display: block;
}

.custom-checkbox-vertical .checkmark:after {
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Верхняя группа провайдеров */
th.provider-group {
    background-color: rgba(255, 255, 255, 0.05);
    text-align: center;
    font-weight: 600;
    font-size: 0.75rem;
    color: #a0a0a0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Нижние ячейки-провайдеры */
thead tr:nth-child(2) th {
    background-color: rgba(255, 255, 255, 0.03);
    text-align: center;
    font-weight: 500;
    font-size: 0.75rem;
    color: #ffffff;
}
.leaderboard-table td.provider {
    text-align: center;
    vertical-align: middle;
}

.leaderboard-table td.provider svg {
    width: 20px;
    height: 20px;
}

.leaderboard-table td.provider .org-cell {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-start; /* выравниваем содержимое по левому краю */
  text-align: left; /* отменяем центрирование родителя */
  width: 100%;
}



.leaderboard-table td.yand-col, td.cloudru-col, td.mws-col, td.multi-col, td.vision-col, td.mixture-col, td.fine_tuning-col, td.onprem-col, td.func-col {
    text-align: center;
    vertical-align: middle;
    color: var(--colorp);
}




.quick-filters {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.quick-filters .filter-btn {
    padding: 0.3rem 0.75rem;
    border: 1px solid var(--boarder);
    border-radius: 9999px;
    font-size: 0.75rem;
    cursor: pointer;
    background: transparent;
    transition: all 0.2s ease;
    color:var(--textone);
}

.quick-filters .filter-btn:hover {
    /* background: rgba(0,0,0,0.05); */
    box-shadow: 0 0 5px var(--hoverquick);
}




.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding-top:.375rem;
    padding-bottom:.375rem;
    padding-right:.75rem;
    padding-left:.75rem;
    border: 1px solid var(--boarder);
    border-radius: 9999px;
    background: var(--background);
    font-size: 0.775rem;
    cursor: pointer;
    color: var(--textone);
    transition: all 0.2s ease;
    font-family: __Inter_e8ce0c, __Inter_Fallback_e8ce0c, sans-serif;
}

.filter-btn:hover {
    background: var(--hoverquick);
}

.org-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
    border-radius: 50%; 

}



/* Активная кнопка */
.filter-btn.active {
    background: rgb(0, 100, 250); /* зеленый фон */

    color: #fff;
}

/* 
.dropdown { position: absolute; background: white; border: 1px solid #ccc; padding: 8px; border-radius: 4px; z-index: 100; }
.dropdown.hidden { display: none; }
.dropdown div { margin-bottom: 4px; } */


.p-3 {

    padding:.75rem;
}

.px-3 {
    padding-left: .75rem;
    padding-right: .75rem;
}

.text-xs {
    font-size: .75rem;
    line-height: 1rem;
    /* color: var(--xs); */
}
.text-xs a {
    font-size: .75rem;
    line-height: 1rem;
    color: var(--textone);
}

.border-dashed {
    border-style: dashed;
}

.rounded-md {
    border-radius: calc(var(--radius) - 2px);
}

.h-8 {
    height: 2rem;
}



.bg-background\/50 {

    background-color: var(--backtop);
    /* border: 1px solid hsl(240 3.7% 17.9%); */

}

.transition-colors{
    /* background-color: rgba(255, 255, 255, 0.03); */
    color: #ffff;
}



/*.border {
border-width: 1px;
}

.rounded-lg {
border-radius: 0.5rem;
}
*/

.font-medium {
    font-weight: 500;
}

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

.svgfilter {

    width:.875rem;
    height:.875rem;
}

.font-semibold {

    font-size:.75rem;
    color: rgb(156 163 175/1);
    line-height: 1rem;
}

.textmain {

    font-size:14px;
}


/* dropdown rows styled as checkbox list */
.dropdown-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  cursor: pointer;
  gap: 12px;
  border-radius: 8px;
  transition: background .12s ease;
  user-select: none;
}
.dropdown-row:hover {
  background: rgba(255,255,255,0.02);
}

/* left group: checkbox + label */
.dropdown-row .left {
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}

/* custom check svg container */
.chk {
  width:18px;
  height:18px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:4px;
  background: transparent;
  color: #4ade80; /* green tick color */
  flex: 0 0 18px;
}
.chk.selected {
  background: rgba(74, 222, 128, 0.12);
}

/* label */
.dropdown-row .label {
  font-size:13px;
  color: #d1d5db;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* right colored dot */
.dot {
  width:10px;
  height:10px;
  border-radius:50%;
  flex:0 0 auto;
  margin-left:8px;
  box-shadow: 0 1px 0 rgba(0,0,0,0.3) inset;
}

/* when item selected - label highlight */
.dropdown-row.selected .label {
  color: #fff;
  font-weight:600;
}

/* small helper for empty state */
.dropdown-empty {
  padding: 8px;
  color: #9aa4b2;
  font-size: 13px;
}


/* контейнер, чтобы абсолютные иконки позиционировались относительно canvas'а */
.hero-chart-wrap {
  position: relative;
}

/* модельные иконки поверх графика */
.hero-chart-wrap .model-image {
  position: absolute;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 6px 18px rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform .18s ease, opacity .18s ease;
  cursor: pointer;
  will-change: transform, opacity, left, top;
}
.hero-chart-wrap .model-image:hover { transform: scale(1.08); z-index: 20; }


#heroChartWrap { position: relative; }
.model-image {
  position: absolute;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.07);
  transition: transform 160ms ease, opacity 160ms ease;
  transform-origin: center;
  cursor: pointer;
  pointer-events: auto;
  z-index: 12;
}

      
.text-center {
text-align: center;
}
.py-3 {
padding-top: .75rem;
padding-bottom: .75rem;
}
text-foreground\/60 {
color: hsl(var(--foreground)/.6);
}
.border-foreground\/10 {
border-color: hsl(var(--foreground)/.1);
}
.border-t {
border-top-width: 1px;
}

  .nav-link { color: #e6edf3; text-decoration:none; font-weight:600; display:inline-flex; align-items:center; gap:8px; }
  .nav-item { position: relative; display:inline-block; color:var(--accent) }

  .dropdown-toggle { cursor: pointer; user-select: none; }

  .caret { transition: transform .18s ease; color: #9aa4b2; margin-left:4px; }
  .nav-item.open .caret { transform: rotate(180deg); color: #fff; }

  .dropdown-panel {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;               /* можно поставить right:0 чтобы выравнивать справа */
    min-width: 200px;
    background: hsl(240 20% 6%); /* фон панели, подберите ваш */
    border-radius: 10px;
    padding: 8px;
    box-shadow: 0 8px 30px rgba(2,6,23,0.6);
    z-index: 1200;
    display: none; /* скрыта по умолчанию */
  }
  .nav-item.open .dropdown-panel {
    display: block;
  }

  .dropdown-item {
    display:block;
    padding: 8px 10px;
    color: #d1d5db;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
  }
  .dropdown-item:hover, .dropdown-item:focus {
    /* background: rgba(255,255,255,0.03); */
    color: #fff;
    outline: none;
  }

  /* адаптив */
  @media (max-width: 820px) {
    .nav-links { gap: 12px; }
    .dropdown-panel { min-width: 160px; }
  }

/* Небольшие правки для легенды и заголовка */
#chartHeader { margin-bottom: 16px; }

#costLegend > div {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  padding: 6px 0;
}

/* точка для легенды (если рисуешь через JS — эти стили помогут) */
.cost-legend-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex: 0 0 auto;
}

/* текст в легенде — мелкий и в одну строку */
.cost-legend-label {
  font-size: 12px;
  color: #aaa;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* адаптация: на маленьких экранах легенда под графиком */
@media (max-width: 820px) {
  #chartHeader { margin-bottom: 8px; }
  #legendContainerWrap {
    margin-top: 8px !important;
    grid-template-columns: 1fr !important;
    max-height: 200px;
  }
  #chartContainer { min-width: auto; height: 360px; }
}

/* selectPanel scrollbar & item */
#selectPanel #modelsList::-webkit-scrollbar { width: 8px; }
#selectPanel #modelsList::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.06); border-radius:6px; }

/* модельная строка */
.model-row { display:flex; align-items:center; gap:10px; padding:6px 4px; border-radius:8px; cursor:pointer; }
.model-row:hover { background: rgba(255,255,255,0.02); }

/* красивый чекбокс (custom) */
.model-checkbox {
  width:18px; height:18px; border-radius:4px; border:1px solid rgba(255,255,255,0.08);
  display:inline-flex; align-items:center; justify-content:center; background:transparent;
}
.model-checkbox.checked { background: linear-gradient(135deg,#34d399,#10b981); border-color: rgba(52,211,153,0.9); }

.model-label { color:#cbd5e1; font-size:13px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:210px; }


/* Легенда не должна начинаться выше заголовка */
#legendContainerWrap { margin-top: 0 !important; }

/* Скрываем кнопку "Выбрано" по умолчанию (чтобы быть уверенным) */
#selectedSummaryBtn { display: none; }

/* Небольшая корректировка панели */
#selectPanel { right: 0; top: 44px; }

/* Легенда - мелкий шрифт, одна строчка */
.cost-legend-label { font-size: 12px; color: #aaa; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Адаптация под мобайл */
@media (max-width:820px) {
  #legendContainerWrap { grid-template-columns: 1fr !important; margin-top: 8px !important; }
  #chartContainer { height: 360px; }
}

#costEloChart {
  width: 100%;
  height: 500px; /* или больше */
}

/* панель позиционируется прямо под кнопкой (убираем большой margin-top) */
.nav-item.dropdown { position: relative; }

/* панель по умолчанию скрыта, затемнение/переходы */
.nav-item.dropdown .dropdown-panel {
  position: absolute;
  top: 100%;        /* прямо под toggle */
  left: 0;
  /* margin-top: 4px;  маленький отступ — можно 0 */
  display: none;
  opacity: 0;
  transform-origin: top center;
  transition: opacity .16s ease, transform .16s ease;
  pointer-events: none;  /* выключаем когда скрыта */
  z-index: 1200;
}

/* показываем панель когда открыт или hover (hover — доп. эффект) */
.nav-item.dropdown.open .dropdown-panel,
.nav-item.dropdown:hover .dropdown-panel {
  display: block;
  opacity: 1;
  pointer-events: auto;  /* активна для кликов */
}

/* плавный поворот svg-стрелки */
.nav-item.dropdown .dropdown-toggle svg {
  transition: transform .18s ease;
  transform-origin: 50% 50%;
}
.nav-item.dropdown.open .dropdown-toggle svg,
.nav-item.dropdown:hover .dropdown-toggle svg {
  transform: rotate(180deg);
}

/* небольшая хитрость: расширяем hit-area для toggle, чтобы уменьшить шанс вылететь */
.dropdown-toggle {
  position: relative;
  padding: 6px 8px; /* достаточно пространства вокруг стрелки */
}


/* Панель дропдауна: включаем внутренний скролл */
.nav-item.dropdown .dropdown-panel {
  /* позиционирование как у тебя (absolute) */
  position: absolute;
  top: 100%;
  left: 0;

  min-width: 220px; /* при необходимости подправь */
  max-width: 420px;
  box-sizing: border-box;

  max-height: 70vh;  /* не выше 70% окна браузера */
  overflow-y: auto;



  /* ВАЖНО: скролл */
  overflow-y: auto;
  -webkit-overflow-scrolling: touch; /* плавный скролл на iOS */

  /* вид / тень / фон */
  background: var(--dropdown-bg, rgba(10,10,12,0.92)); /* или твой цвет */
  border-radius: 10px;
  padding: 6px;
  border: 1px solid rgba(255,255,255,0.04);
  box-shadow: 0 8px 30px rgba(2,6,23,0.6);

  /* скрытие по умолчанию (как у тебя) */
  display: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity .16s ease, transform .16s ease;
  transform-origin: top center;
  z-index: 1200;
}

/* показываем панель */
.nav-item.dropdown.open .dropdown-panel,
.nav-item.dropdown:hover .dropdown-panel {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

/* внутренний контейнер/элементы — чтобы не ломалось при скролле */
.dropdown-item {
  display: block;
  padding: 8px;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
}

/* optional: стиль для "плавающей" полосы скролла (desktop) */
.nav-item.dropdown .dropdown-panel::-webkit-scrollbar {
  width: 10px;
}
.nav-item.dropdown .dropdown-panel::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.06);
  border-radius: 6px;
}

.nav-search {
  position: relative; /* чтобы dropdown привязался именно к input */
  display: inline-block;
}

/* dropdown — позиционирование под инпутом; убираем right:0 чтобы не растягивался на всё */
.search-dropdown {
  position: absolute;
  top: calc(100% + 6px); /* прямо под input */
  left: 0;
  min-width: 100%;       /* равен ширине input */
  max-height: 400px;
  overflow-y: auto;
  background: var( --dropdown-bg);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(2,6,23,0.6);
  z-index: 9999;
  display: none;
  max-width: 200px;
}

/* включаем отображение */
.search-dropdown.open {
  display: block;
}

/* остальное — как у тебя было */
.search-header {
  font-size: 12px;
  font-weight: 600;
  color: #9aa4b2;
  padding: 8px 12px;
  border-bottom: 1px solid #2a2a2a;
}
.search-item { display:flex; gap:10px; align-items:flex-start; padding:8px 12px; cursor:pointer; text-decoration:none; }
.search-item:hover { background: rgba(255,255,255,0.03); }
.search-item img { width:36px; height:36px; border-radius:6px; 
  /* object-fit:cover; background:#111;  */
  flex-shrink:0; }
.search-item .content { flex:1; min-width:0; }
.search-item .top { display:flex; justify-content:space-between; gap:8px; align-items:flex-start; }
.search-item .name { font-size:13px; font-weight:600; color:var(--textone); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.search-item .org { font-size:12px; color:#9aa4b2; margin-top:4px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.search-item .date { font-size:12px; color:#9aa4b2; white-space:nowrap; flex-shrink:0; }
.search-item .license { margin-top:6px; font-size:11px; color:#7a7a7a; }



.gap-2 {
gap: .5rem;
}
.items-center {
align-items: center;
}
.flex-wrap {
flex-wrap: wrap;
}
.flex {
display: flex;
}
*, :after, :before {
--tw-border-spacing-x: 0;
--tw-border-spacing-y: 0;
--tw-translate-x: 0;
--tw-translate-y: 0;
--tw-rotate: 0;
--tw-skew-x: 0;
--tw-skew-y: 0;
--tw-scale-x: 1;
--tw-scale-y: 1;
--tw-pan-x: ;
--tw-pan-y: ;
--tw-pinch-zoom: ;
--tw-scroll-snap-strictness: proximity;
--tw-gradient-from-position: ;
--tw-gradient-via-position: ;
--tw-gradient-to-position: ;
--tw-ordinal: ;
--tw-slashed-zero: ;
--tw-numeric-figure: ;
--tw-numeric-spacing: ;
--tw-numeric-fraction: ;
--tw-ring-inset: ;
--tw-ring-offset-width: 0px;
--tw-ring-offset-color: #fff;
--tw-ring-color: rgba(59,130,246,.5);
--tw-ring-offset-shadow: 0 0 #0000;
--tw-ring-shadow: 0 0 #0000;
--tw-shadow: 0 0 #0000;
--tw-shadow-colored: 0 0 #0000;
--tw-blur: ;
--tw-brightness: ;
--tw-contrast: ;
--tw-grayscale: ;
--tw-hue-rotate: ;
--tw-invert: ;
--tw-saturate: ;
--tw-sepia: ;
--tw-drop-shadow: ;
--tw-backdrop-blur: ;
--tw-backdrop-brightness: ;
--tw-backdrop-contrast: ;
--tw-backdrop-grayscale: ;
--tw-backdrop-hue-rotate: ;
--tw-backdrop-invert: ;
--tw-backdrop-opacity: ;
--tw-backdrop-saturate: ;
--tw-backdrop-sepia: ;
--tw-contain-size: ;
--tw-contain-layout: ;
--tw-contain-paint: ;
--tw-contain-style: ;
}
*, :after, :before {
box-sizing: border-box;
border: 0 solid #e5e7eb;
}
Таблица стилей агента пользователяaddress, article, aside, div, footer, header, hgroup, main, nav, search, section {
display: block;
}
*, :after, :before {
--tw-border-spacing-x: 0;
--tw-border-spacing-y: 0;
--tw-translate-x: 0;
--tw-translate-y: 0;
--tw-rotate: 0;
--tw-skew-x: 0;
--tw-skew-y: 0;
--tw-scale-x: 1;
--tw-scale-y: 1;
--tw-pan-x: ;
--tw-pan-y: ;
--tw-pinch-zoom: ;
--tw-scroll-snap-strictness: proximity;
--tw-gradient-from-position: ;
--tw-gradient-via-position: ;
--tw-gradient-to-position: ;
--tw-ordinal: ;
--tw-slashed-zero: ;
--tw-numeric-figure: ;
--tw-numeric-spacing: ;
--tw-numeric-fraction: ;
--tw-ring-inset: ;
--tw-ring-offset-width: 0px;
--tw-ring-offset-color: #fff;
--tw-ring-color: rgba(59,130,246,.5);
--tw-ring-offset-shadow: 0 0 #0000;
--tw-ring-shadow: 0 0 #0000;
--tw-shadow: 0 0 #0000;
--tw-shadow-colored: 0 0 #0000;
--tw-blur: ;
--tw-brightness: ;
--tw-contrast: ;
--tw-grayscale: ;
--tw-hue-rotate: ;
--tw-invert: ;
--tw-saturate: ;
--tw-sepia: ;
--tw-drop-shadow: ;
--tw-backdrop-blur: ;
--tw-backdrop-brightness: ;
--tw-backdrop-contrast: ;
--tw-backdrop-grayscale: ;
--tw-backdrop-hue-rotate: ;
--tw-backdrop-invert: ;
--tw-backdrop-opacity: ;
--tw-backdrop-saturate: ;
--tw-backdrop-sepia: ;
--tw-contain-size: ;
--tw-contain-layout: ;
--tw-contain-paint: ;
--tw-contain-style: ;
}
:after, :before {
--tw-content: "";
}
*, :after, :before {
box-sizing: border-box;
border: 0 solid #e5e7eb;
}
*, :after, :before {
--tw-border-spacing-x: 0;
--tw-border-spacing-y: 0;
--tw-translate-x: 0;
--tw-translate-y: 0;
--tw-rotate: 0;
--tw-skew-x: 0;
--tw-skew-y: 0;
--tw-scale-x: 1;
--tw-scale-y: 1;
--tw-pan-x: ;
--tw-pan-y: ;
--tw-pinch-zoom: ;
--tw-scroll-snap-strictness: proximity;
--tw-gradient-from-position: ;
--tw-gradient-via-position: ;
--tw-gradient-to-position: ;
--tw-ordinal: ;
--tw-slashed-zero: ;
--tw-numeric-figure: ;
--tw-numeric-spacing: ;
--tw-numeric-fraction: ;
--tw-ring-inset: ;
--tw-ring-offset-width: 0px;
--tw-ring-offset-color: #fff;
--tw-ring-color: rgba(59,130,246,.5);
--tw-ring-offset-shadow: 0 0 #0000;
--tw-ring-shadow: 0 0 #0000;
--tw-shadow: 0 0 #0000;
--tw-shadow-colored: 0 0 #0000;
--tw-blur: ;
--tw-brightness: ;
--tw-contrast: ;
--tw-grayscale: ;
--tw-hue-rotate: ;
--tw-invert: ;
--tw-saturate: ;
--tw-sepia: ;
--tw-drop-shadow: ;
--tw-backdrop-blur: ;
--tw-backdrop-brightness: ;
--tw-backdrop-contrast: ;
--tw-backdrop-grayscale: ;
--tw-backdrop-hue-rotate: ;
--tw-backdrop-invert: ;
--tw-backdrop-opacity: ;
--tw-backdrop-saturate: ;
--tw-backdrop-sepia: ;
--tw-contain-size: ;
--tw-contain-layout: ;
--tw-contain-paint: ;
--tw-contain-style: ;
}
.transition-colors {
transition-property: color,background-color,border-color,text-decoration-color,fill,stroke;
transition-timing-function: cubic-bezier(.4,0,.2,1);
transition-duration: .15s;
}
.text-sm {
font-size: 16px;
line-height: 1.25rem;
}
.py-1\.5 {
padding-top: .375rem;
padding-bottom: .375rem;
}
.px-3 {
padding-left: .75rem;
padding-right: .75rem;
}
.border-border\/50 {
border-color: var(--boarder);
}
.border {
border-width: 1px;
}
.rounded-full {
border-radius: 9999px;
}
.gap-1\.5 {
gap: .375rem;
}
.items-center {
align-items: center;
}
.inline-flex {
display: inline-flex;
}
[role=button], button {
cursor: pointer;
}
button, input:where([type=button]), input:where([type=reset]), input:where([type=submit]) {
-webkit-appearance: button;
background-color: transparent;
background-image: none;
}
button, select {
text-transform: none;
}
button, input, optgroup, select, textarea {
font-family: inherit;
font-feature-settings: inherit;
font-variation-settings: inherit;
font-size: 100%;
font-weight: inherit;
line-height: inherit;
letter-spacing: inherit;
color: inherit;
margin: 0;
padding: 0;
}
*, :after, :before {
--tw-border-spacing-x: 0;
--tw-border-spacing-y: 0;
--tw-translate-x: 0;
--tw-translate-y: 0;
--tw-rotate: 0;
--tw-skew-x: 0;
--tw-skew-y: 0;
--tw-scale-x: 1;
--tw-scale-y: 1;
--tw-pan-x: ;
--tw-pan-y: ;
--tw-pinch-zoom: ;
--tw-scroll-snap-strictness: proximity;
--tw-gradient-from-position: ;
--tw-gradient-via-position: ;
--tw-gradient-to-position: ;
--tw-ordinal: ;
--tw-slashed-zero: ;
--tw-numeric-figure: ;
--tw-numeric-spacing: ;
--tw-numeric-fraction: ;
--tw-ring-inset: ;
--tw-ring-offset-width: 0px;
--tw-ring-offset-color: #fff;
--tw-ring-color: rgba(59,130,246,.5);
--tw-ring-offset-shadow: 0 0 #0000;
--tw-ring-shadow: 0 0 #0000;
--tw-shadow: 0 0 #0000;
--tw-shadow-colored: 0 0 #0000;
--tw-blur: ;
--tw-brightness: ;
--tw-contrast: ;
--tw-grayscale: ;
--tw-hue-rotate: ;
--tw-invert: ;
--tw-saturate: ;
--tw-sepia: ;
--tw-drop-shadow: ;
--tw-backdrop-blur: ;
--tw-backdrop-brightness: ;
--tw-backdrop-contrast: ;
--tw-backdrop-grayscale: ;
--tw-backdrop-hue-rotate: ;
--tw-backdrop-invert: ;
--tw-backdrop-opacity: ;
--tw-backdrop-saturate: ;
--tw-backdrop-sepia: ;
--tw-contain-size: ;
--tw-contain-layout: ;
--tw-contain-paint: ;
--tw-contain-style: ;
}

.transition-colors {
transition-property: color,background-color,border-color,text-decoration-color,fill,stroke;
transition-timing-function: cubic-bezier(.4,0,.2,1);
transition-duration: .15s;
}
.text-sm {
font-size: .875rem;
line-height: 1.25rem;
}
.py-1\.5 {
padding-top: .375rem;
padding-bottom: .375rem;
}
.px-3 {
padding-left: .75rem;
padding-right: .75rem;
}
.border-border\/50 {
/* border-color: hsl(var(--border)/.5); */
border-radius:10px;
}
.border {
border-width: 1px;
}
.rounded-full {
border-radius: 9999px;
}
.gap-1\.5 {
gap: .375rem;
}
.items-center {
align-items: center;
}
.inline-flex {
display: inline-flex;
}

/* ==== Isolated dropdown namespace: .org-dd-* ==== */
/* большой z-index, явный фон/тень, защита от глобальных hidden */


.hidden {
  display: none;
}

.checkmark {
  color: green;
}

.dropdown-menu {
  position: absolute;   /* важно! */
  top: calc(100% + 6px); /* чуть ниже кнопки */
  left: 0;
  min-width: 140px;
  background-color: hsl(240 20% 6%);
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
  padding: 6px 0;
  z-index: 1000;
  list-style: none;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.dropdown-menu li {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  font-size: 13px;
  color: var(--colorp);
}

.dropdown-menu li:hover {
  background-color: rgba(255,255,255,0.05);
}


.checkmark {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #4ade80;
}



/* Стили для перекрытия ползунков и полосы */
#paramsWrapper .dropdown-menu input[type=range] {
  -webkit-appearance: none;
  background: transparent;
  pointer-events: all;
}
#paramsWrapper .dropdown-menu input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 16px;
  width: 16px;
  border-radius: 50%;
  background: #4ade80;
  cursor: pointer;
  border: none;
  margin-top: -6px; /* центрирование по полосе */
}
#paramsWrapper .dropdown-menu input[type=range]::-webkit-slider-runnable-track {
  height: 4px;
  background: #666;
  border-radius: 2px;
}


.dropdown-wrapper input[type=range] {
  -webkit-appearance: none;
  background: transparent;
  color:var(--textone);
}
.dropdown-wrapper input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 16px;
  width: 16px;
  border-radius: 50%;
  background: #4ade80;
  cursor: pointer;
  border: none;
  margin-top: -6px;
}
.dropdown-wrapper input[type=range]::-webkit-slider-runnable-track {
  height: 4px;
  background: #666;
  border-radius: 2px;
}

#paramsWrapper {
  position: relative; /* чтобы дропдаун позиционировался относительно кнопки */
}

.hidden-column {
  display: none !important;
}


.leaderboard-table th .sort-svg {
  width: 16px;
  height: 16px;
  margin-left: 6px;
  transition: transform 150ms ease;
  opacity: 0.8;
}

/* при rotated — поворачиваем svg на 180deg (или другой угол по дизайну) */
.leaderboard-table th .sort-svg.rotated {
  transform: rotate(180deg);
}

/* можно отдельно задать asc/desc стили, если нужно */
.leaderboard-table th .sort-svg.asc { transform: rotate(0deg); }
.leaderboard-table th .sort-svg.desc { transform: rotate(180deg); }

/* подсветка заголовка: уже делаем header.style.color = '#fff' в JS,
   но можно дать класс для дополнительных стилей */
.leaderboard-table th.sorted { font-weight: 600; }


.org-cell {
  display: flex;
  align-items: center;
  gap: 8px; /* отступ между логотипом и названием */
  justify-content: flex-start; /* элементы слева */
  text-align: left; /* на случай, если родитель перекрывает */
  width: 100%; /* чтобы занимало всю ширину родителя */
}


.org-logo {
  width: 24px;
  height: 24px;
  border-radius: 50%; /* если логотип круглой формы */
  object-fit: cover;
  
}

.org-name {
  font-weight: 500;
  color: var(--textone);
}


@keyframes titleGlow {
    from {
        filter: brightness(1) drop-shadow(0 0 10px rgba(0, 102, 255, 0.2));
    }
    to {
        filter: brightness(1.1) drop-shadow(0 0 20px rgba(0, 102, 255, 0.35));
    }
}

.title-line {
    display: block;
    animation: slideInUp 1s ease-out forwards;
    opacity: 0;
    background: linear-gradient(135deg, var(--text-primary), var(--primary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.info-tooltip {
    position: relative;
    display: inline-block;
    margin-left: 6px;
}

.info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #fff;
    color: #000;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    /* border: 1px solid #ccc; */
    line-height: 1;
}

.tooltip-text {
    visibility: hidden;
    background-color: rgba(0,0,0,0.85);
    color: #fff;
    text-align: center;
    padding: 6px 10px;
    border-radius: 6px;
    position: absolute;
    z-index: 200;
    bottom: 125%; /* над буквой i */
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 12px;
    line-height: 1.4;
    white-space: normal;  /* чтобы текст переносился */
    word-wrap: break-word; /* перенос слов если нужно */
    min-width: 300px;      /* увеличиваем максимальную ширину */
    pointer-events: none;
}


.info-tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}



.hero-canvas-container {
  position: relative;
  width: 100%;
  height: 100%;
}

#heroParticleCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0; /* канвас позади контента */
}

.benefit-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: #9ca3af;
  transition: color 0.3s;
}

/* VseLLM Advantages Section */
.advantages-section {
    /* background: linear-gradient(180deg, rgba(10,10,10,0.02), rgba(255,255,255,0.01)); */
    /* border-top: 1px solid hsl(var(--border)/.3); */
    padding: 2rem 2rem;
    position: relative;
    overflow: hidden;
}

/* Abstract SVG Background */
.advantages-bg-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.6;
    z-index: 0;
    pointer-events: none;
}


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

.table-section{
    /* background: linear-gradient(180deg, rgba(10,10,10,0.02), rgba(255,255,255,0.01)); */
    /* border-top: 1px solid hsl(var(--border)/.3); */
    padding: 2rem 2rem;
    position: relative;
    overflow: hidden;
}

.table-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: 
        radial-gradient(ellipse at 20% 20%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(118, 75, 162, 0.1) 0%, transparent 50%); */
    animation: float-background 15s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

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

.advantages-section .section-title {
    text-align: center;

    font-size: 2.8rem;
    background: var(--sectitle);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: title-shimmer 3s ease-in-out infinite;
}

.table-section .section-title {
    text-align: center;

    font-size: 2.8rem;
    background: var(--sectitle);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: title-shimmer 3s ease-in-out infinite;
}

.path-section .section-title {
    text-align: center;

    font-size: 2.8rem;
    background: var(--sectitle);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: title-shimmer 3s ease-in-out infinite;
}

.creators-section .section-title {
    text-align: center;

    font-size: 2.2rem;
    background: var(--sectitle);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: title-shimmer 3s ease-in-out infinite;
}

@keyframes title-shimmer {
    0%, 100% {
        filter: drop-shadow(0 0 20px rgba(102, 126, 234, 0.3));
    }
    50% {
        filter: drop-shadow(0 0 40px rgba(118, 75, 162, 0.6));
    }
}
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 330px); 
  column-gap: 2.5rem; /* расстояние по ширине между карточками */
  row-gap: 2rem;    /* расстояние по высоте */
  justify-content: center; /* центрируем всю сетку */
  max-width: 100%;
  margin: 0 auto 3rem;
  align-items: stretch;
  perspective: 1500px;
  transform-style: preserve-3d;
}



.advantage-card {
  position: relative;
  padding: 2.2rem 1.8rem;
  border-radius: 20px;
  backdrop-filter: none;
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(59, 130, 246, 0.25);
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  transition: all 0.3s ease-out;
  cursor: default;
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
  /* Абстрактные фоновые градиенты */
  background-image: 
    radial-gradient(circle at 85% 15%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 15% 85%, rgba(67, 56, 202, 0.08) 0%, transparent 50%),
    linear-gradient(135deg,
      rgba(59, 130, 246, 0.10) 0%,
      rgba(37, 99, 235, 0.12) 45%,
      rgba(67, 56, 202, 0.10) 100%);
}

/* Абстрактные декоративные элементы */
.advantage-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  opacity: 0.6;
  transition: all 0.4s ease;
  z-index: 0;
  pointer-events: none;
  filter: blur(20px);
}

.advantage-card::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(67, 56, 202, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  opacity: 0.5;
  transition: all 0.4s ease;
  z-index: 0;
  pointer-events: none;
  filter: blur(15px);
}

/* Абстракции при наведении */
.advantage-card:hover::before {
  opacity: 0.9;
  transform: scale(1.2);
}

.advantage-card:hover::after {
  opacity: 0.8;
  transform: scale(1.15);
}







.advantage-card:hover {
    transform: translateY(-12px) scale(1.02);
    /* liquid glass on hover */
    background-image: 
      radial-gradient(circle at 85% 15%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
      radial-gradient(circle at 15% 85%, rgba(67, 56, 202, 0.15) 0%, transparent 50%),
      linear-gradient(135deg,
        rgba(59, 130, 246, 0.14) 0%,
        rgba(37, 99, 235, 0.18) 45%,
        rgba(67, 56, 202, 0.14) 100%);
    backdrop-filter: none;
    -webkit-backdrop-filter: blur(22px);
    box-shadow:
        0 24px 70px rgba(37, 99, 235, 0.35),
        0 0 0 1px rgba(59, 130, 246, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    border-color: rgba(59, 130, 246, 0.35);
}

/* Стили для иконок удалены, так как иконки больше не используются */

@keyframes particle-float-1 {
    0% {
        transform: translate(0, 0) scale(0);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translate(-30px, -40px) scale(1);
        opacity: 0;
    }
}

@keyframes particle-float-2 {
    0% {
        transform: translate(0, 0) scale(0);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translate(30px, -35px) scale(1);
        opacity: 0;
    }
}

@keyframes icon-float {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-8px) scale(1.05);
    }
}


.advantage-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: glow-pulse 3s ease-in-out infinite;
    z-index: 1;
}

@keyframes glow-pulse {
    0%, 100% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(0.8);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

/* Обертка для заголовка с иконкой */
.advantage-title-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
  width: 100%;
}

.advantage-title-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  stroke: rgb(0, 100, 250);
  transition: transform 0.3s ease;
}

.advantage-card:hover .advantage-title-icon {
  transform: scale(1.1);
}

.advantage-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
  color: var(--colorzag);
  position: relative;
  z-index: 2;
  transition: color 0.3s ease;
  flex: 1;
}

.advantage-card:hover h3 {
  color: var(--colorzag);
}

[data-theme="dark"] .advantage-card:hover h3 {
  color: rgba(255, 255, 255, 0.95);
}

.advantage-card p {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.65;
  color: var(--colorp);
  position: relative;
  z-index: 2;
  transition: color 0.3s ease;
  width: 100%;
  margin: 0;
}

.advantage-card:hover p {
  color: var(--colorp);
}

[data-theme="dark"] .advantage-card:hover p {
  color: rgba(255, 255, 255, 0.8);
}



.advantage-hover-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    transition: all 0.6s ease;
    pointer-events: none;
    z-index: -1;
}

.advantage-card:hover .advantage-hover-effect {
    width: 300px;
    height: 300px;
}

/* Staggered animation for cards */
.advantage-card[data-animate] {
    opacity: 0;
    transform: translateY(50px) rotateX(10deg);
}

.advantage-card[data-animate].animate {
    opacity: 1;
    transform: translateY(0) rotateX(0);
    transition: transform 0.8s cubic-bezier(0.25,0.46,0.45,0.94), opacity 0.8s;
}


.advantage-card[data-animate]:nth-child(1).animate {
    animation-delay: 0.1s;
}

.advantage-card[data-animate]:nth-child(2).animate {
    animation-delay: 0.2s;
}

.advantage-card[data-animate]:nth-child(3).animate {
    animation-delay: 0.3s;
}

.advantage-card[data-animate]:nth-child(4).animate {
    animation-delay: 0.4s;
}

.advantage-card[data-animate]:nth-child(5).animate {
    animation-delay: 0.5s;
}

.advantage-card[data-animate]:nth-child(6).animate {
    animation-delay: 0.6s;
}

@keyframes card-entrance {
    0% {
        opacity: 0;
        transform: translateY(50px) rotateX(10deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotateX(0);
    }
}

/* Enhanced buttons */
.advantages-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.primary-button, .secondary-button {
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
    text-transform: none;
    letter-spacing: normal;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

/* .primary-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    box-shadow: 0 12px 40px rgba(118,75,162,0.4);
}

.primary-button:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 60px rgba(118,75,162,0.6);
} */

.primary-button {
    background: rgb(0, 100, 250);
    color: #ffffff;
}

.primary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 100, 250, 0.3);
}

.secondary-button {
    background: transparent;
    color: rgb(0, 100, 250);
    border: 1px solid rgba(0, 100, 250, 0.3);
}

[data-theme="dark"] .secondary-button {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.secondary-button:hover {
    background: rgba(0, 100, 250, 0.1);
    border-color: rgba(0, 100, 250, 0.5);
    transform: translateY(-2px);
}

[data-theme="dark"] .secondary-button:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
}

.button-shimmer {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}
/* 
.primary-button:hover .button-shimmer {
    opacity: 1;
    transform: rotate(45deg) translate(50%, 50%);
} */

.button-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.8s ease;
}

.secondary-button:hover .button-ripple {
    width: 400px;
    height: 400px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .advantages-section {
        padding: 5rem 1rem;
    }
    
    .advantages-section .section-title {
        font-size: 2.5rem;
        margin-bottom: 3rem;
    }
    
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .advantage-card {
        padding: 2rem;
    }
    
    .advantage-icon {
        font-size: 3rem;
        width: 56px;
        height: 56px;
    }
    
    .advantage-icon-wrapper {
        width: 70px;
        height: 70px;
    }
    
    .advantage-glow {
        width: 100px;
        height: 100px;
    }
    
    .advantages-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .primary-button, .secondary-button {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .advantages-section .section-title {
        font-size: 2rem;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .advantage-card {
        padding: 1.5rem;
    }
    
    .advantage-icon {
        font-size: 2.5rem;
        width: 52px;
        height: 52px;
    }
    
    .advantage-icon-wrapper {
        width: 65px;
        height: 65px;
    }
    
    .advantage-glow {
        width: 90px;
        height: 90px;
    }
    
    .advantage-card h3 {
        font-size: 1.1rem;
    }
    
    .advantage-card p {
        font-size: 0.9rem;
    }
    
    .primary-button, .secondary-button {
        padding: 1rem 2.5rem;
        font-size: 1rem;
    }
}

/* Add floating background animation */
@keyframes float-background {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1) rotate(0deg);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.1) rotate(2deg);
    }
}

.link {
  color: #a5b4fc;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.link:hover {
  color: #c4b5fd;
}

.llm-filter-section {
  margin-top: 6rem;
  text-align: center;
}

.llm-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.llm-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 720px;
  margin: 0 auto 3rem;
  line-height: 1.5;
}

.path-section {
    /* background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%); */
    /* border-top: 1px solid hsl(var(--border)/.3); */
    padding: 2rem 2rem;
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

.path-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 50% 20%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(118, 75, 162, 0.1) 0%, transparent 50%);
    animation: float-background 15s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

.path-section {

  text-align: center;
}

.path-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 3rem;
}

.path-steps {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  position: relative;
  margin-bottom:30px;
}

.path-row {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1100px;
}

.second-row {
  margin-top: -1rem;
  justify-content: center;
}

.path-step {
  position: relative;
  flex: 1;
  min-width: 200px;
  max-width: 250px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--boarder);
  border-radius: 20px;
  padding: 1.5rem 1rem 1rem 1rem;
  backdrop-filter: blur(15px);
  text-align: center; /* иконка и контент по центру */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 1;
  overflow: hidden;
}

.path-step:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(102, 126, 234, 0.15);
}

/* Иконка теперь по центру */
.path-icon {
  font-size: 2.2rem;
  width: 30px;
  height: 30px;
  margin: 0 auto 1.2rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  /* background: linear-gradient(135deg, #667eea, #764ba2); */
  color: white;
  border-radius: 50%;
  /* box-shadow: 0 0 20px rgba(102, 126, 234, 0.3); */
}

/* Контент */
.path-content h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--colorzag);
}

.path-content p {
  color: var(--colorp);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Номер — большой, слева и с fade-away эффектом */
.path-number {
  position: absolute;
  left: -30px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24rem;
  font-weight: 800;
  color: var(--numcol);
  z-index: 0;
  pointer-events: none;
  user-select: none;
}


.path-line {
  width: 3px;
  height: 30px;
  background: linear-gradient(180deg, #667eea, #764ba2, #f093fb);
  border-radius: 2px;
}

.path-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 3rem;
}


.llmarena-section {
  margin-top: 6rem;
  text-align: center;
  padding: 4rem 1rem;
}

.llmarena-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.llmarena-text {
  max-width: 800px;
  margin: 0 auto 3rem auto;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  text-align: left;
}

.llmarena-text a {
  color: #667eea;
  text-decoration: underline;
}

.llmarena-list {
  list-style-type: disc;
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.llmarena-list li {
  margin-bottom: 0.8rem;
}

.llmarena-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.llmarena-buttons .btn {
  padding: 0.85rem 1.8rem;
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn.primary {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
}

.btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.btn.secondary {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
}

.btn.secondary:hover {
  background: rgba(255,255,255,0.08);
}



/* LLM Arena Creators Section */
.creators-section {
    padding: 5rem 2rem;
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

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



.creators-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 3rem;
}

/* Hero Glass Block */
.creators-hero-glass {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(96, 165, 250, 0.03));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 32px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.creators-hero-glass:hover {
    border-color: rgba(96, 165, 250, 0.3);
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.15), 0 0 80px rgba(96, 165, 250, 0.1);
}

.creators-hero-glass::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        rgba(59, 130, 246, 0.15) 60deg,
        transparent 120deg
    );
    animation: hero-spin 8s linear infinite;
    opacity: 0;
    transition: opacity 0.5s;
    filter: blur(40px);
}

.creators-hero-glass:hover::before {
    opacity: 1;
}

@keyframes hero-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.glass-particle-bg {
    position: absolute;
    inset: 0;
    opacity: 0.5;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(96, 165, 250, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(59, 130, 246, 0.2) 0%, transparent 50%);
    animation: particle-float 6s ease-in-out infinite alternate;
    filter: blur(30px);
}

@keyframes particle-float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, -20px); }
}

.hero-glass-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.hero-glass-icon {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-glass-icon svg,
.hero-glass-icon img {
    filter: drop-shadow(0 8px 24px rgba(59, 130, 246, 0.4));
    animation: hero-icon-glow 3s ease-in-out infinite;
}

@keyframes hero-icon-glow {
    0%, 100% { 
        filter: drop-shadow(0 8px 24px rgba(59, 130, 246, 0.4));
        transform: translateY(0px) rotate(0deg);
    }
    50% { 
        filter: drop-shadow(0 12px 36px rgba(96, 165, 250, 0.6));
        transform: translateY(-5px) rotate(2deg);
    }
}

.icon-orbit {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(59, 130, 246, 0.25);
    border-radius: 50%;
    animation: orbit-rotate 12s linear infinite;
    filter: blur(1px);
}

.icon-orbit::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 12px;
    height: 12px;
    background: radial-gradient(circle, #60a5fa, #3b82f6);
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 20px rgba(59, 130, 246, 1), 0 0 40px rgba(59, 130, 246, 0.5);
    filter: blur(2px);
}

.orbit-2 {
    width: 130%;
    height: 130%;
    top: -15%;
    left: -15%;
    animation-duration: 16s;
    animation-direction: reverse;
    border-color: rgba(96, 165, 250, 0.2);
}

@keyframes orbit-rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero-glass-text {
    flex: 1;
}

.hero-lead {
    font-size: 1.1rem;
    color: var(--textone);
    margin: 0 0 0.5rem 0;
    opacity: 0.9;
}

.hero-highlight {
    font-size: 2rem;
    font-weight: 700;
    margin: 0.5rem 0;
    display: inline-block;
}

.hero-highlight a {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 50%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
}

.hero-highlight a::before {
    content: '';
    position: absolute;
    inset: -4px;
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.15), rgba(59, 130, 246, 0.15));
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
    filter: blur(8px);
}

.hero-highlight a:hover::before {
    opacity: 1;
}

.hero-highlight a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #60a5fa, #3b82f6);
    transition: width 0.4s ease;
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.5);
}

.hero-highlight a:hover::after {
    width: 100%;
}

.hero-highlight a:hover {
    text-shadow: 0 0 20px rgba(96, 165, 250, 0.5);
}

.hero-sub {
    font-size: 1rem;
    color: var(--textone);
    opacity: 0.8;
    margin: 0.5rem 0 0 0;
}


.creators-intro22 {
    text-align: center;
    font-size: 1.15rem;
    color: var(--colorp);
    line-height: 1.7;
    max-width: 1000px;
    margin: 0 auto;
}

.creators-intro22 strong {
    color: var(--textone);
    font-weight: 600;
}

/* Premium Expertise Grid */
.expertise-premium-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.expertise-premium-card {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.expertise-premium-card[data-animate].animate {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.expertise-premium-card.card-1 {
    animation-delay: 0.1s;
}

.expertise-premium-card.card-2 {
    animation-delay: 0.2s;
}

.expertise-premium-card.card-3 {
    animation-delay: 0.3s;
}

.card-glass-layer {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(96, 165, 250, 0.04));
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 28px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 380px;
    display: flex;
    flex-direction: column;
}

.expertise-premium-card:hover .card-glass-layer {
    transform: translateY(-8px) rotate(-1deg);
    border-color: rgba(96, 165, 250, 0.4);
    box-shadow: 0 24px 48px rgba(59, 130, 246, 0.25), 0 0 60px rgba(96, 165, 250, 0.15);
}

.card-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.15), transparent);
    transition: left 0.7s ease;
    z-index: 2;
    filter: blur(20px);
}

.expertise-premium-card:hover .card-shine {
    left: 150%;
}

.premium-icon-wrapper {
    width: 88px;
    height: 88px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(96, 165, 250, 0.08));
    border: 1.5px solid rgba(96, 165, 250, 0.25);
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
}

/* Увеличенные иконки для первых двух карточек */
.expertise-premium-card.card-1 .premium-icon-wrapper,
.expertise-premium-card.card-2 .premium-icon-wrapper {
    width: 104px;
    height: 104px;
    margin-bottom: 2rem;
}

.expertise-premium-card.card-1 .premium-icon-wrapper svg,
.expertise-premium-card.card-2 .premium-icon-wrapper svg {
    width: 64px;
    height: 64px;
    transition: all 0.4s ease;
}

.premium-icon-wrapper::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    border-radius: 22px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s;
}

.expertise-premium-card:hover .premium-icon-wrapper {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 0 30px rgba(96, 165, 250, 0.4);
}

.expertise-premium-card:hover .premium-icon-wrapper::before {
    opacity: 0.3;
}

.premium-icon-wrapper svg {
    filter: drop-shadow(0 4px 16px rgba(59, 130, 246, 0.3));
    transition: all 0.4s ease;
    animation: icon-subtle-float 3s ease-in-out infinite;
}

@keyframes icon-subtle-float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg);
    }
    50% { 
        transform: translateY(-3px) rotate(2deg);
    }
}

.expertise-premium-card:hover .premium-icon-wrapper svg {
    animation-play-state: paused;
    filter: drop-shadow(0 8px 28px rgba(96, 165, 250, 0.5));
}

.premium-card-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--colorzag);
    margin-bottom: 0.75rem;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.expertise-premium-card:hover .premium-card-content h3 {
    color: #93c5fd;
}

.premium-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.premium-card-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--textone);
    opacity: 0.85;
}

/* Увеличенные размеры для карточек с меньшим текстом */
.expertise-premium-card.card-1 .premium-card-content h3 {
    font-size: 1.5rem;
    line-height: 1.4;
    margin-bottom: 1.2rem;
}

.expertise-premium-card.card-1 .premium-card-content p {
    font-size: 1.15rem;
    line-height: 1.8;
}

.expertise-premium-card.card-2 .premium-card-content h3 {
    font-size: 1.4rem;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.expertise-premium-card.card-2 .premium-card-content p {
    font-size: 1.1rem;
    line-height: 1.75;
}

/* Bottom Glass Block */
.creators-bottom-glass {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(96, 165, 250, 0.03));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 32px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.creators-bottom-glass:hover {
    border-color: rgba(96, 165, 250, 0.3);
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.15), 0 0 80px rgba(96, 165, 250, 0.1);
}

.creators-bottom-glass::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, #60a5fa 50%, transparent);
    opacity: 0;
    transition: opacity 0.5s;
    filter: blur(3px);
}

.creators-bottom-glass:hover::after {
    opacity: 1;
}

.bottom-glass-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.bottom-icon-set {
    flex-shrink: 0;
    width: 96px;
    height: 96px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(96, 165, 250, 0.06));
    border: 1.5px solid rgba(96, 165, 250, 0.25);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.4s ease;
}

.bottom-icon-set::before {
    content: '';
    position: absolute;
    inset: -8px;
    background: radial-gradient(circle, #60a5fa, #3b82f6);
    border-radius: 28px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s;
    animation: pulse-ring 2.5s ease-in-out infinite;
    filter: blur(12px);
}

@keyframes pulse-ring {
    0%, 100% { 
        transform: scale(1); 
        opacity: 0; 
    }
    50% { 
        transform: scale(1.15); 
        opacity: 0.4; 
    }
}

.creators-bottom-glass:hover .bottom-icon-set {
    transform: scale(1.05) rotate(5deg);
}

.creators-bottom-glass:hover .bottom-icon-set::before {
    animation-play-state: running;
}

.bottom-icon-set svg {
    filter: drop-shadow(0 8px 24px rgba(59, 130, 246, 0.4));
    animation: check-pulse 3s ease-in-out infinite;
}

@keyframes check-pulse {
    0%, 100% { 
        transform: scale(1);
        filter: drop-shadow(0 8px 24px rgba(59, 130, 246, 0.4));
    }
    50% { 
        transform: scale(1.08);
        filter: drop-shadow(0 12px 36px rgba(96, 165, 250, 0.7));
    }
}

.creators-bottom-glass:hover .bottom-icon-set svg {
    animation-play-state: paused;
    transform: scale(1.1);
    filter: drop-shadow(0 16px 48px rgba(96, 165, 250, 0.8));
}

.bottom-glass-text {
    flex: 1;
}

.bottom-glass-text p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--textone);
    margin-bottom: 1rem;
    opacity: 0.9;
}

.bottom-glass-text p:last-child {
    margin-bottom: 0;
}

.highlight-text {
    position: relative;
    padding-left: 1rem;
    border-left: 3px solid #60a5fa;
}

.highlight-text strong {
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}
.creators-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.creators-buttons .primary-button,
.creators-buttons .secondary-button {
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none; /* убираем подчеркивание для <a> */
    display: inline-flex;  /* чтобы паддинги работали корректно */
    justify-content: center;
    align-items: center;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", 
               "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    gap: 8px;
}

.creators-buttons .primary-button {
    background: rgb(0, 100, 250);
    color: #ffffff;
}

.creators-buttons .primary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 100, 250, 0.3);
}

.creators-buttons .secondary-button {
    background: transparent;
    color: rgb(0, 100, 250);
    border: 1px solid rgba(0, 100, 250, 0.3);
}

[data-theme="dark"] .creators-buttons .secondary-button {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.creators-buttons .secondary-button:hover {
    background: rgba(0, 100, 250, 0.1);
    border-color: rgba(0, 100, 250, 0.5);
    transform: translateY(-2px);
}

[data-theme="dark"] .creators-buttons .secondary-button:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
}


/* Responsive adjustments */
@media (max-width: 968px) {
    .expertise-premium-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .creators-section {
        padding: 3rem 1rem;
    }
    
    .creators-section .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .creators-hero-glass,
    .creators-bottom-glass {
        padding: 2rem;
        border-radius: 24px;
    }
    
    .hero-glass-content,
    .bottom-glass-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .hero-glass-icon {
        width: 96px;
        height: 96px;
    }
    
    .hero-highlight {
        font-size: 1.6rem;
    }
    
    .bottom-icon-set {
        width: 80px;
        height: 80px;
    }
    
    .expertise-premium-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .card-glass-layer {
        padding: 2rem;
        min-height: 340px;
    }
    
    .expertise-premium-card.card-1 .premium-card-content h3 {
        font-size: 1.35rem;
    }
    
    .expertise-premium-card.card-1 .premium-card-content p {
        font-size: 1.05rem;
        line-height: 1.7;
    }
    
    .expertise-premium-card.card-2 .premium-card-content h3 {
        font-size: 1.3rem;
    }
    
    .expertise-premium-card.card-2 .premium-card-content p {
        font-size: 1.05rem;
        line-height: 1.7;
    }
    
    .premium-icon-wrapper {
        width: 72px;
        height: 72px;
    }
    
    .expertise-premium-card.card-1 .premium-icon-wrapper,
    .expertise-premium-card.card-2 .premium-icon-wrapper {
        width: 88px;
        height: 88px;
        margin-bottom: 1.5rem;
    }
    
    .expertise-premium-card.card-1 .premium-icon-wrapper svg,
    .expertise-premium-card.card-2 .premium-icon-wrapper svg {
        width: 56px;
        height: 56px;
    }
    
    .premium-card-content h3 {
        font-size: 1.15rem;
    }
    
    .premium-card-content p {
        font-size: 0.95rem;
    }
    
    .creators-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .creators-buttons .primary-button,
    .creators-buttons .secondary-button {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .creators-section {
        padding: 2rem 1rem;
    }
    
    .creators-section .section-title {
        font-size: 1.6rem;
    }
    
    .creators-hero-glass,
    .creators-bottom-glass {
        padding: 1.5rem;
        border-radius: 20px;
    }
    
    .hero-glass-icon {
        width: 72px;
        height: 72px;
    }
    
    .hero-glass-icon svg {
        width: 48px;
        height: 48px;
    }
    
    .hero-lead,
    .hero-sub {
        font-size: 0.95rem;
    }
    
    .hero-highlight {
        font-size: 1.4rem;
    }
    
    .bottom-icon-set {
        width: 64px;
        height: 64px;
    }
    
    .bottom-icon-set svg {
        width: 36px;
        height: 36px;
    }
    
    .bottom-glass-text p {
        font-size: 0.95rem;
    }
    
    .card-glass-layer {
        padding: 1.75rem;
        border-radius: 24px;
        min-height: 300px;
    }
    
    .premium-icon-wrapper {
        width: 64px;
        height: 64px;
    }
    
    .premium-icon-wrapper svg {
        width: 44px;
        height: 44px;
    }
    
    .expertise-premium-card.card-1 .premium-icon-wrapper,
    .expertise-premium-card.card-2 .premium-icon-wrapper {
        width: 80px;
        height: 80px;
        margin-bottom: 1.5rem;
    }
    
    .expertise-premium-card.card-1 .premium-icon-wrapper svg,
    .expertise-premium-card.card-2 .premium-icon-wrapper svg {
        width: 52px;
        height: 52px;
    }
    
    .premium-card-content h3 {
        font-size: 1.05rem;
    }
    
    .premium-card-content p {
        font-size: 0.9rem;
    }
    
    .expertise-premium-card.card-1 .premium-card-content h3 {
        font-size: 1.25rem;
    }
    
    .expertise-premium-card.card-1 .premium-card-content p {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    .expertise-premium-card.card-2 .premium-card-content h3 {
        font-size: 1.2rem;
    }
    
    .expertise-premium-card.card-2 .premium-card-content p {
        font-size: 1rem;
        line-height: 1.7;
    }
}



/* Three Steps Section */
.three-steps-section {
    /* background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%); */
    /* border-top: 1px solid  hsl(var(--border)/.3); */
    padding: 2rem 2rem;
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

.three-steps-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 50% 20%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(118, 75, 162, 0.1) 0%, transparent 50%);
    animation: float-background 15s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

.three-steps-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.three-steps-section .section-title {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 2.8rem;
    background: var(--sectitle);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: title-shimmer 3s ease-in-out infinite;
}

.three-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5rem;
    margin-bottom: 4rem;
}

.three-steps-section .step-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid  hsl(var(--border)/.2);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: left; /* чтобы выравнивание текста стало логичным */
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
}

/* контейнер для номера и заголовка */
.step-header {
    display: flex;
    align-items: center;
    gap: 12px; /* расстояние между номером и заголовком */
    margin-bottom: 1rem;
}



.three-steps-section .step-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.three-steps-section .step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.3);
}

.three-steps-section .step-card:hover::before {
    transform: scaleX(1);
}

.three-steps-section .step-number {
    position: static; /* убираем absolute */
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea, rgb(0, 100, 250) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.4);
    flex-shrink: 0;
}


.three-steps-section .step-icon {
    width: 64px;  /* под SVG */
    height: 64px;
    margin: 0 auto 1.5rem auto;
    filter: drop-shadow(0 0 15px rgba(102, 126, 234, 0.5));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.three-steps-section .step-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--colorzag);
    margin: 0; /* чтобы не было смещения */
}

.bot-link {
    color: #667eea; /* фиолетовый оттенок в теме */
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.bot-link:hover {
    color: #8b9dfc; /* светлее при наведении */
    text-decoration: underline;
}


.three-steps-section .step-card p {
    color: var(--colorp);
    line-height: 1.7;
    font-size: 0.95rem;
}

.code-integration {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    margin: 3rem auto;
    max-width: 600px;
    transition: all 0.3s ease;
}

.code-integration:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 48px rgba(102, 126, 234, 0.2);
}

.code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    /* background: rgba(255, 255, 255, 0.05); */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.code-header span {
    font-weight: 600;
    color: var(--textone);
}

.code-lang {
    font-size: 0.875rem;
    color: #a0a0a0;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
}

.code-block {
    padding: 1.5rem;
    color: #667eea;
    background-color: var(--backcol);
    overflow-x: auto;       /* добавляем горизонтальный скролл */
    border-radius: 12px;    /* чтобы красиво выглядело */
}

.code-block pre {
    margin: 0;
    font-family: 'Fira Code', 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #ffffff;
    white-space: pre;       /* сохраняем переносы, не ломаем код */
}

.code-block code {
    display: block;
    color: #667eea;
    font-weight: 500;
}

/* Дополнительно можно скрыть скроллбар на Webkit */
.code-block::-webkit-scrollbar {
    height: 6px;
}

.code-block::-webkit-scrollbar-thumb {
    background: rgba(102, 126, 234, 0.5);
    border-radius: 3px;
}


.code-footer {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid hsl(var(--border)/.3);
    font-size: 0.875rem;
    color: #a0a0a0;
}

.three-steps-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.three-steps-buttons .primary-button,
.three-steps-buttons .secondary-button {
    padding: 0.3rem 2.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.three-steps-buttons .primary-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
}

.three-steps-buttons .primary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 48px rgba(102, 126, 234, 0.4);
}

.three-steps-buttons .secondary-button {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.three-steps-buttons .secondary-button:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .three-steps-section {
        padding: 3rem 1rem;
    }
    
    .three-steps-section .section-title {
        font-size: 2rem;
        margin-bottom: 3rem;
    }
    
    .three-steps-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 3rem;
    }
    
    .three-steps-section .step-card {
        padding: 2rem;
    }
    
    .three-steps-section .step-icon {
        font-size: 3rem;
    }
    
    .three-steps-section .step-card h3 {
        font-size: 1rem;
    }
    
    .code-integration {
        margin: 2rem 0;
    }
    
    .three-steps-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .three-steps-buttons .primary-button,
    .three-steps-buttons .secondary-button {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .three-steps-section .section-title {
        font-size: 1.75rem;
    }
    
    .three-steps-section .step-card {
        padding: 1.5rem;
    }
    
    .three-steps-section .step-icon {
        font-size: 2.5rem;
    }
    
    .three-steps-section .step-card h3 {
        font-size: 1.1rem;
    }
    
    .three-steps-section .step-card p {
        font-size: 0.9rem;
    }
    
    .code-block pre {
        font-size: 0.8rem;
    }
}


/* New Unified API Hero Section */
.unified-api-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%); */
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.floating-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, rgba(102, 126, 234, 0.6) 0%, transparent 50%),
        radial-gradient(2px 2px at 80% 70%, rgba(240, 147, 251, 0.6) 0%, transparent 50%),
        radial-gradient(1px 1px at 40% 20%, rgba(118, 75, 162, 0.6) 0%, transparent 50%),
        radial-gradient(1px 1px at 60% 80%, rgba(102, 126, 234, 0.4) 0%, transparent 50%),
        radial-gradient(2px 2px at 90% 10%, rgba(240, 147, 251, 0.4) 0%, transparent 50%),
        radial-gradient(1px 1px at 10% 90%, rgba(118, 75, 162, 0.4) 0%, transparent 50%);
    animation: float-particles 25s linear infinite;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 30% 20%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(240, 147, 251, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(118, 75, 162, 0.05) 0%, transparent 60%);
    animation: pulse-gradient 8s ease-in-out infinite alternate;
}

@keyframes float-particles {
    0% {
        transform: translateY(0px) translateX(0px);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(50px);
        opacity: 0;
    }
}

@keyframes pulse-gradient {
    0% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
    100% {
        opacity: 0.4;
        transform: scale(0.95);
    }
}

.unified-api-container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    width: 100%;
    padding: 2rem;
}

.hero-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 80vh;
}

.hero-text-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.unified-api-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    background: linear-gradient(135deg, #ffffff 0%, #667eea 50%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: title-glow 3s ease-in-out infinite alternate;
}

@keyframes title-glow {
    0% {
        filter: drop-shadow(0 0 20px rgba(102, 126, 234, 0.5));
    }
    100% {
        filter: drop-shadow(0 0 40px rgba(118, 75, 162, 0.8));
    }
}

.unified-api-subtitle {
    font-size: 1.1rem;
    color: #a0a0a0;
    line-height: 1.6;
    max-width: 600px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 карточки в ряд */
  gap: 1.5rem;
  margin: 2rem 0;
}

/* Для мобильных делаем 1 колонку */
@media (max-width: 768px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }
}

.benefit-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 16px;
  padding: 1.25rem;
  backdrop-filter: blur(10px);
  transition: all 0.4s ease, transform 0.4s ease;
  cursor: default;
  overflow: hidden;
}

.benefit-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 50px rgba(102, 126, 234, 0.25);
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.benefit-card:hover::before {
  transform: scaleX(1);
}

.benefit-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  box-shadow: 0 5px 20px rgba(102, 126, 234, 0.2);
  transition: all 0.4s ease;
}

.benefit-icon svg {
  width: 70%;
  height: 70%;
}

.benefit-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.benefit-content h3 {
  font-size: 0.8rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
}

.benefit-content p {
  font-size: 0.875rem;
  color: #c0c0c0;
  line-height: 1.5;
  margin: 0;
}

/* Анимация появления карточек при скролле */
.benefit-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.benefit-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Мобильная адаптация */
@media (max-width: 600px) {
  .benefit-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .benefit-icon {
    width: 48px;
    height: 48px;
  }

  .benefit-content h3 {
    font-size: 1rem;
  }

  .benefit-content p {
    font-size: 0.85rem;
  }
}

.steps-timeline {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    transform: translateY(-50%);
    z-index: -1;
}

.timeline-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1px;
}

.timeline-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 1px;
    width: 0%;
    transition: width 2s ease-in-out;
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.5);
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.benefit-content h3 {
    font-size: 0.8rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.benefit-content p {
    font-size: 0.775rem;
    color: #a0a0a0;
    line-height: 1.4;
    margin: 0;
}

/* Для мобильных делаем вертикальную карточку */
@media (max-width: 600px) {
    .benefit-card {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .benefit-icon {
        width: 48px;
        height: 48px;
    }
}


.hero-buttons {
    display: flex;
    justify-content: center; /* Центрируем кнопки */
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}




.cta-primary, .cta-secondary, .cta-tertiary {
    padding: 0.3rem 1.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    border: none;
    position: relative;
    overflow: hidden;
}

.cta-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.3);
}

.cta-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 60px rgba(102, 126, 234, 0.5);
}

.cta-secondary {
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.2));
    color: #fff;
    border: 2px solid rgba(255,255,255,0.2);
}

.cta-secondary:hover {
    transform: translateY(-4px);
    background: linear-gradient(135deg, rgba(102,126,234,0.2), rgba(118,75,162,0.2));
    border-color: rgba(102,126,234,0.3);
}

.cta-tertiary {
    background: transparent;
    color: #a0a0a0;
    border: 2px solid rgba(255,255,255,0.1);
}

.cta-tertiary:hover {
    color: #fff;
    border-color: rgba(118,75,162,0.3);
    transform: translateY(-4px);
}

.button-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
}

.cta-primary:hover .button-glow {
    width: 300px;
    height: 300px;
}
.hero-buttons a {
    text-decoration: none;
}


.hero-visual-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.api-demo {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
}

.code-window {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: blur(20px);
    animation: float-code 6s ease-in-out infinite;
}

@keyframes float-code {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.window-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.window-dots {
    display: flex;
    gap: 0.5rem;
}

.window-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
}

.window-dots span:nth-child(1) {
    background: #ff5f57;
}

.window-dots span:nth-child(2) {
    background: #ffbd2e;
}

.window-dots span:nth-child(3) {
    background: #28ca42;
}

.window-title {
    font-size: 0.875rem;
    color: #a0a0a0;
    margin-left: auto;
}

.code-content {
    padding: 1.5rem;
    font-family: 'Fira Code', 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
}

.code-comment {
    color: #6a9955;
}

.code-keyword {
    color: #569cd6;
}

.code-string {
    color: #ce9178;
}

.supported-models {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.model-badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 0.3rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #ffffff;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    animation: model-badge-glow 4s ease-in-out infinite alternate;
}

.model-badge:nth-child(2n) {
    animation-delay: 0.5s;
}

.model-badge:nth-child(3n) {
    animation-delay: 1s;
}

.model-badge:nth-child(4n) {
    animation-delay: 1.5s;
}

@keyframes model-badge-glow {
    0% {
        box-shadow: 0 0 10px rgba(102, 126, 234, 0.3);
    }
    100% {
        box-shadow: 0 0 20px rgba(118, 75, 162, 0.6);
    }
}

.model-badge:hover {
    transform: translateY(-2px);
    background: rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.3);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .hero-content-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .unified-api-title {
        font-size: 3rem;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .unified-api-hero {
        min-height: auto;
        padding: 4rem 1rem;
    }
    
    .unified-api-title {
        font-size: 2.5rem;
    }
    
    .unified-api-subtitle {
        font-size: 1.25rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .benefit-card {
        padding: 1.25rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-primary, .cta-secondary, .cta-tertiary {
        width: 100%;
        max-width: 300px;
    }
    
    .code-content {
        font-size: 0.8rem;
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .unified-api-title {
        font-size: 2rem;
    }
    
    .unified-api-subtitle {
        font-size: 1.1rem;
    }
    
    .benefit-icon {
        font-size: 2rem;
    }
    
    .benefit-card h3 {
        font-size: 0.9rem;
    }
    
    .benefit-card p {
        font-size: 0.8rem;
    }
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}


/* Стили для кнопки авторизации */
.auth-link {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: white !important;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.auth-link:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  color: white !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Мобильные стили для кнопки авторизации */
@media (max-width: 768px) {
  .auth-link {
    padding: 6px 12px;
    font-size: 0.9rem;
    gap: 4px;
    border-radius: 4px;
    z-index: 1001;
    position: relative;
  }
  
  .auth-link svg {
    width: 14px;
    height: 14px;
  }
  
  .navbar {
    z-index: 1000;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
  }
  
  .nav-container {
    padding: 0.5rem 1rem;
  }
  
  .nav-brand {
    margin-right: 20px;
  }
}


.theme-toggle {
  position: relative;
  width: 60px;
  height: 32px;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
}

.toggle-bg {
  background: var(--toggle-bg, #e4e4e7);
  border-radius: 9999px;
  width: 100%;
  height: 100%;
  position: relative;
  transition: background 0.4s ease;
}

.toggle-circle {
  background: var(--toggle-circle, #ffffff);
  border-radius: 50%;
  width: 26px;
  height: 26px;
  position: absolute;
  top: 3px;
  left: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.icon-sun,
.icon-moon {
  position: absolute;
  transition: all 0.3s ease;
}

/* 🌞 Светлая тема */
[data-theme="light"] .toggle-bg {
  --toggle-bg: #d1d5db;
}
[data-theme="light"] .toggle-circle {
  transform: translateX(0);
}
[data-theme="light"] .icon-sun {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}
[data-theme="light"] .icon-moon {
  opacity: 0;
  transform: rotate(-90deg) scale(0);
}

/* 🌙 Тёмная тема */
[data-theme="dark"] .toggle-bg {
  --toggle-bg: #4b5563;
}
[data-theme="dark"] .toggle-circle {
  transform: translateX(28px);
  --toggle-circle: #1f2937;
}
[data-theme="dark"] .icon-sun {
  opacity: 0;
  transform: rotate(90deg) scale(0);
}
[data-theme="dark"] .icon-moon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}


/* tailwind.css или styles.css */
.h3-card {
  display: flex;
  align-items: center; /* выравниваем иконку и текст по центру */
  gap: 0.5rem; /* расстояние между иконкой и текстом */
  
}




.div-card {

   color: var(--textone);
}



/* Заголовки h4 */
.h4-card {
    font-weight:700;
  color:var(--colorp); /* для светлой темы */
}

.dark .h4-card {
  @apply text-gray-200; /* для тёмной темы */
}

/* Абзацы с описаниями */
.p-card {
  color:var(--colorp);
}

.dark .p-card {
  @apply text-gray-300; /* тёмная тема */
}

/* Выделение ключевых слов */
.p-card span.key {
  color:var(--colorp);
}



.shine-text {
  position: relative;
  display: inline-block;
  font-weight: bold;
  background: linear-gradient(
    90deg,
    currentColor 0%,
    currentColor 40%,
    rgba(255, 255, 255, 0.9) 50%,
    currentColor 60%,
    currentColor 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: sweep-shine 4s linear infinite;
}



@keyframes sweep-shine {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}


.hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1.2rem;
  /* background: radial-gradient(circle at center, #0b0b0f, #050507 80%); */
  color: #fff;
  min-height: 90vh;
  font-family: "Inter", sans-serif;
  
}

/* Заголовок с эффектом shine */
.hero-title {
  font-size: 3.8rem;
  font-weight: 700;
  max-height:30px;
  
  /* background: linear-gradient(90deg, #ffffff 0%, #d0d0d0 40%, rgba(255, 255, 255, 0.8) 50%, #d0d0d0 60%, #ffffff 100%); */
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: var(--semi-color-primary);
  -webkit-text-fill-color: transparent;
  animation: sweep-shine 4s linear infinite;
  font-family: Lato, "Helvetica Neue", Arial, Helvetica, "Microsoft YaHei", sans-serif;
}



/* Поле и кнопка */
.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  width: 100%;
  max-width: 360px;
}

.hero-input {
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid #2e2e2e;
  background-color: #101014;
  color: #fff;
  font-size: 1rem;
  outline: none;
  transition: 0.2s;
}

.hero-input:focus {
  border-color: #4b9fff;
  box-shadow: 0 0 10px rgba(75, 159, 255, 0.3);
}

.hero-button {
  padding: 12px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(90deg, #4b9fff, #8e66ff);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 12px rgba(100, 150, 255, 0.5);
}

/* Иконки */
.hero-providers {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

.providers-title {
  font-size: 1rem;
  font-weight: 100;
  color: var(--colorp);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-icons {
  display: flex;
  flex-wrap: wrap;        /* перенос на новые строки */
  gap: 1rem;              /* можно чуть меньше для мобильных */
  justify-content: center;
  align-items: center;
}

.hero-icons img {
  width: 48px;
  height: 48px;
  max-width: 20vw;        /* не растягиваем больше 20% ширины экрана */
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
  transition: transform 0.3s ease;
  border-radius: 40%;
}

.hero-icons img:hover {
  transform: scale(1.1);
}

/* Адаптация под мобильные */
@media (max-width: 480px) {
  .hero-icons {
    gap: 0.75rem;
  }
  
  .hero-icons img {
    width: 40px;
    height: 40px;
    max-width: 25vw;
  }
}


/* Shine animation */
@keyframes sweep-shine {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Адаптивность */
@media (max-width: 600px) {
  .hero-title {
    font-size: 2rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
}


html:not(.dark) .blur-ball-indigo {
opacity: .25;
}
.blur-ball-indigo {
background: #6366f1;
top: 40px;
left: 50%;
transform: translate(-50%);
opacity: .5;
}
.blur-ball {
position: absolute;
width: 360px;
height: 360px;
border-radius: 50%;
filter: blur(120px);
pointer-events: none;
z-index: -1;
}


/* ===== API line styles ===== */
.api-line {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 5px 14px;
  border-radius: 999px;
  background-color: rgba(46, 50, 56, 0.05);
  border: 1px solid rgba(255,255,255,0.04);
  backdrop-filter: blur(6px);
  color: #e6eef8;
  font-family: 'Lato', "Helvetica Neue", Arial, Helvetica, "Microsoft YaHei", sans-serif;
  font-size: 14px;
  max-width: 448px;
  width: 100%;
  box-sizing: border-box;
  justify-content: center;
  margin-top: 10px;
}


/* левая (статичная) часть */
.api-left {
  display:flex;
  align-items:center;
  gap:8px;
  padding-right: 6px;
  border-right: 1px solid rgba(255,255,255,0.04);
  font-family:Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.api-proto { opacity: .8; font-weight:600; color: #bcd3ff; }
.api-base {  color: var(--textone); font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;}

/* правая (анимированная) часть */
.api-right {
  display:flex;
  align-items:center;
  height: 20px;
  overflow: hidden;
  padding-left: 12px;
  padding-right: 6px;
  min-width: 220px;
  justify-content: flex-start;
}

/* контейнер для анимируемых строк */
.api-anim {
  position: relative;
  display: inline-block;
  height: 20px;
}

/* элемент, который будет входить/выходить */
.api-anim-item {
  position: absolute;
  left: 0;
  top: 0;
  white-space: nowrap;
  transform: translateY(0);
  opacity: 1;
  transition: transform .35s ease, opacity .35s ease;
  color: rgb(0, 100, 250);
  font-weight: 600;
}

/* состояния вход/выход (через JS переключаем классы) */
.api-anim-item.enter {
  transform: translateY(8px);
  opacity: 0;
}
.api-anim-item.enter-active {
  transform: translateY(0);
  opacity: 1;
}
.api-anim-item.leave-active {
  transform: translateY(-8px);
  opacity: 0;
}

/* кнопка копирования */
.api-copy {
  background-color: rgba(46, 50, 56, 0.05);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  color: rgb(118, 120, 123);
  transition: transform .15s ease, background .15s ease;
}
.api-copy:hover { transform: translateY(-2px); background: rgba(255,255,255,0.02); }
.api-copy:active { transform: translateY(0); }

.hero-btn {
    background-color: var(--semi-color-primary);
    padding: 10px 16px;
    border-radius: 0 10px 10px 0 !important; /* верх-право, низ-право */
    height: 40px;
}

.hero-btn-second {
    background-color: var(--semi-color-second);
    padding: 10px 16px;
    height: 40px;
    border-radius: 10px 0 0 10px !important; /* верх-лево, низ-лево */
}

.headcarder {
  background-color:var(--backtop);/* темная тема с прозрачностью, аналог dark:bg-gray-900/30 */
  border-radius: 0.5rem; /* rounded-lg */
  padding: 1rem; /* p-4 */
  font-weight: 500; /* font-medium */
  font-size: 0.875rem; /* text-sm */
  /* border: 1px solid var(--border-color, rgba(0,0,0,0.15)); */
  color: #f9fafb; /* текст для темного фона, при необходимости можно менять под светлую тему */
  /* backdrop-filter: blur(6px); если хочешь эффект полупрозрачности с blur */
  margin-top:30px;
}

.info-icon {
  width: 1rem;        /* w-4 */
  height: 1rem;       /* h-4 */
  flex-shrink: 0;     /* чтобы не сжималась */
  color: #10b981;     /* зеленый (Tailwind emerald-500) */
  margin-right: 0.5rem; /* отступ справа от текста */
}

/* Контейнер */
.provider-model {
  display: flex;
  align-items: center;
  gap: 0.5rem; /* аналог gap-2 */
  color: #e5e7eb; /* text-gray-200 */
  position: relative;
  font-size: 0.875rem;
}

/* Иконка */
.provider-model__icon {
  width: 1.25rem;  /* w-5 */
  height: 1.25rem; /* h-5 */
  border-radius: 0.25rem; /* rounded */
  object-fit: cover;
}

/* Ссылка */
.provider-model__link {
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--link);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease;
}


/* Подсказка */
.provider-model__tooltip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 0.25rem; /* mb-1 */
  padding: 0.25rem 0.5rem; /* px-2 py-1 */
  background: rgba(31, 41, 55, 1); /* bg-gray-800 */
  color: #fff;
  font-size: 0.75rem; /* text-xs */
  border-radius: 0.25rem;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 50;
  max-width: 250px;
}

/* Появление tooltip при hover */
.provider-model:hover .provider-model__tooltip {
  opacity: 1;
}

/* === Общие стили таблицы === */
.data-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;        /* чтобы не было зазоров между ячейками */
  border-radius: 10px;
  overflow: hidden;
  margin-top: 40px;
  font-size: 0.875rem;
  background: var(--background, #fff);
  border: 1px solid rgba(0,0,0,0.1);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  color: var(--textone, #111);
}


/* === Заголовки === */
.data-table__header-row {
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.data-table__header {
  text-align: left;
  padding: 12px 16px;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* === Ячейки === */
.data-table__cell {
  padding: 12px 16px;
  /* border-bottom: 1px solid rgba(0,0,0,0.04); */
  vertical-align: middle;
}

.data-table__cell--model {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* === Иконка модели === */
.data-table__icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  object-fit: cover;
  /* background-color: black; добавляем черный фон */
  /* display: flex;           если внутри SVG нужно центрировать */
  /* align-items: center;
  justify-content: center; */
}

/* === Ссылка на модель === */
.data-table__link {
  color: var(--link, #2563eb);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.data-table__link:hover {
  color: var(--link-hover, #1d4ed8);
}

/* === Hover строк === */
.data-table__row:hover {
  background-color: rgba(0,0,0,0.03);
  transition: background-color 0.2s ease;
}

.back-section {
  margin-top: 2rem; /* mt-8 */
  padding-top: 2rem; /* pt-8 */
  margin-bottom: 50px;
  border-top: 1px solid var(--bline, #e5e7eb);
  transition: border-color 0.3s ease;
}

.back-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.875rem; /* text-sm */
  color: var(--textone, rgba(17, 24, 39, 0.8));
  text-decoration: none;
  transition: color 0.2s ease;
}


/* Контейнер карточки */
.chart-card {
  border-radius: 1rem; /* rounded-xl */
  padding: 1rem;       /* p-4 */
  border: 1px solid var(--border-color, rgba(0,0,0,0.15));
  background: var(--background, #fff);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  margin-top:30px;
}

/* Обёртка для диаграммы */
.chart-wrapper {
  position: relative;
}

/* Холст диаграммы */
.chart-canvas {
  width: 100%;
  height: 360px;
}

/* Легенда */
.chart-legend {
  margin-top: 1rem;
}

/* Элемент легенды (точка + текст) */
.chart-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 13px;
  color: #34d399; /* основной акцент */
}

/* Точка */
.chart-dot {
  width: 4px;
  height: 4px;
  background: #34d399;
  border-radius: 50%;
  display: inline-block;
  vertical-align: middle;
}

/* Подпись */
.chart-label {
  color: #9aa4b2;
  font-weight: 600;
}

.context-label {
  font-weight: 400; /* font-semibold */
  color: var(--semi-color-primary, #818cf8); /* text-indigo-400 */
}

.provider-header {
  position: relative;
  background-color:var(--backtop);/* bg-gray-900/30 */
  padding: 1rem; /* p-4 */
  border-radius: 0.475rem; /* rounded-md */
  
}

.provider-header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem; /* space-x-6 */
}

.provider-header-icon {
  width: 4rem;  /* w-16 */
  height: 4rem; /* h-16 */
  border-radius: 50%; /* rounded-full */
  box-shadow: 0 10px 25px rgba(0,0,0,0.2); /* shadow-lg */
  border: 1px solid rgba(55, 65, 81, 1); /* border-gray-700 */
  object-fit: cover;
  /* background-color: black; 
  display: flex;           
  align-items: center;
  justify-content: center; */
}



.provider-header-title {
  font-size: 2rem; /* text-2xl */
  font-weight: 300; /* font-light */
  color: var(--textone, #f9fafb);
  margin: 0;
}

.provider-header-org {
  color: rgba(156, 163, 175, 1); /* text-gray-400 */
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.25rem 0 0 0;
}

.provider-header-score {
  margin-top: 0.25rem;
  font-weight: 600; /* font-semibold */
  color:rgb(0, 100, 250); /* text-indigo-400 */
}

/* Контейнер для двух карточек */
.modelpage-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

/* Общий стиль карточки */
.modelcard {
  flex: 1;
  background-color: var(--backtop); /* bg-gray-900/30 */
  border-radius: 1rem; /* rounded-xl */
  padding: 1rem; /* p-4 */
  /* border: 1px solid rgba(55, 65, 81, 1); border-gray-700 */
  /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); */
  backdrop-filter: blur(8px);
  color: var(--text-color, #e5e7eb);
}

/* Заголовок карточки */
.modelcard-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
  color: var(--textone, #f9fafb);
  font-size: 0.8rem;
}

/* Иконка */
.modelcard-icon {
  width: 1rem;
  height: 1rem;
  color: rgba(156, 163, 175, 1); /* text-gray-400 */
}

/* Подпись в заголовке */
.modelcard-subtext {
  font-size: 0.75rem;
  color: rgba(156, 163, 175, 1);
  font-weight: 400;
  margin-left: 0.25rem;
}

/* Контент карточки */
.modelcard-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Строки с метками */
.modelcard-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Подпись слева */
.modelcard-label {
  font-weight: 600;
  font-size:0.75rem;
  color: var(--colorp, #f3f4f6);
}

/* Значение справа */
.modelcard-value {
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--modevalue, #d1d5db);
}

.modelcard-features {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  font-size: 0.875rem; /* text-sm */
  font-weight: 500;
  color:var(--textone, #f9fafb);
}
.modelcard-features-status {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-top: 0.5rem;
}

.modelpage-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  color: var(--textone);
}
.modelpage-header-icon {
  width: 1rem;  /* h-4 */
  height: 1rem; /* w-4 */
  color: var(--gray400);
}
.modelpage-header-title {
  font-size: 1.125rem; /* text-lg */
  font-weight: 500;
  color: var(--textone);
}

.modelpage-subtitle {
  margin-bottom: 0.75rem; /* mb-3 */
  font-size: 1rem; /* text-base */
  font-weight: 500; /* font-medium */
  color: var(--textone); /* светлый текст по умолчанию */
}



.other-models-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.15rem; /* mb-1 */
}

.other-models-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(14rem, max-content)); /* ключевое изменение */
  gap: 1rem;
  justify-content: start; /* выравнивание влево */
}

@media (min-width: 768px) {
  .other-models-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.other-model-card {
  position: relative;
  width: 14rem; /* w-56 */
  height: 6rem; /* h-24 */
  overflow: hidden;
  transition: background-color 0.2s;
  background-color: var(--background);
  border-radius: 0.5rem;
}


.other-model-card:hover {
  background-color: var(--hovother);
}


.other-model-accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 0.25rem; /* 1px ~ w-1 */
  height: 100%;
  background-color: var(--semi-color-primary);
}

.other-model-content {
  padding: 0.75rem;
  padding-left: 1rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.other-model-icon-wrap {
  display: flex;
  align-items: center;
  margin-bottom: 0.25rem;
}

.other-model-icon {
  width: 1.5rem; /* немного больше для круга */
  height: 1.5rem;
  object-fit: contain;
  margin-right: 0.5rem;

  /* background-color: black;
  display: flex;
  align-items: center;
  justify-content: center; */

  border-radius: 50%; /* делает фон круглым */
  flex-shrink: 0;     /* чтобы размер не сжимался */
}


.other-model-name {
  font-size: 0.875rem; /* text-sm */
  font-weight: 500;
  line-height: 1.25rem;
  color: var(--textone);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.other-model-links {
  display: flex;
  gap: 0.75rem;
  font-size: 0.75rem; /* text-xs */
  color: #9ca3af; /* gray-400 */
  margin-top: auto;
  padding-top: 0.5rem;
  position: relative;
}

.other-model-link {
  transition: color 0.2s;
  text-decoration: none;
  color: inherit;
}

.other-model-link:hover {
  color: #4b5563; /* gray-600 */
}


.compare-wrap {
  position: relative;
}

.badge-soon {
  position: absolute;
  top: -0.7rem;
  right: -1.7rem;
  background-color: #f97316; /* orange-500 */
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  padding: 0 0.375rem; /* px-1.5 */
  border-radius: 9999px; /* rounded-full */
}

.badge-new {
  position: absolute;
  top: -0.7rem;
  right: -1.7rem;
  background-color: #22c55e; 
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  padding: 0 0.375rem; 
  border-radius: 9999px; 
}

.nav-badge-new {
  position: relative;
  display: inline-block;
  margin-left: 6px;
  top: -1px;
}

.nav-badge-new .badge-new {
  position: static;
  top: auto;
  right: auto;
  font-size: 9px;
  padding: 2px 5px;
}


.provider-text {
  font-size: 0.875rem; /* text-sm */
  color: var(--textone);     /* text-gray-400 */
  margin-bottom: 1.5rem; /* mb-6 */
  font-family: Lato, "Helvetica Neue", Arial, Helvetica, "Microsoft YaHei", sans-serif;
}



.tabs-container {
  display: flex;
  gap: 1.5rem; /* space-x-6 */ /* border-gray-700 */
  margin-bottom: 1.5rem; /* mb-6 */
}

.tab-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem; /* gap-2 */
  padding: 0.5rem 0.75rem; /* py-2 px-3 */
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: #9ca3af; /* text-gray-400 */
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
  font-family: Lato, "Helvetica Neue", Arial, Helvetica, "Microsoft YaHei", sans-serif;
}

.tab-btn:hover {
  color: var(--textone);
}

.tab-btn.active {
  color: var(--textone);
  border-bottom-color: #4b9fff; /* Активная вкладка */
}

.tab-icon {
  width: 0.75rem; /* h-3 w-3 */
  height: 0.75rem;
  transition: color 0.2s ease;
  color: #6b7280; /* text-gray-600 */
}

.tab-label {
  font-size: 0.875rem;
}

.tabs-mobile {
  display: none;
  gap: 0.5rem;
}

.tab-label-xs {
  font-size: 0.75rem;
}

/* Мобильный вид */
@media (max-width: 640px) {
  .tabs-container {
    display: none;
  }
  .tabs-mobile {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
  .tab-btn {
    flex-direction: column;
    align-items: center;
    padding: 0.5rem 0.25rem;
  }
}

.table-wrapper {
  overflow-x: auto;
}

.providers-table {
  width: 100%;
  border-collapse: collapse;
   /* border: 1px solid #2d2d2d; */
  border-radius: 12px;
  font-size: 0.875rem; /* text-sm */
  /* background-color: rgba(255, 255, 255, 0.05); легкий фон */
  /* box-shadow: 0 2px 6px rgba(0,0,0,0.5); */
}

.providers-table th,
.providers-table td {
  padding: 0.5rem 0.75rem; /* px-3 py-2 */
  text-align: left;
}

.providers-table td {
  color: var(--colorp);
}

.providers-table th {
  font-size: 0.75rem; /* text-xs */
  font-weight: 500;
  color: var(--textone); /* текст серый */
  border-bottom: 1px solid var(--bline);
}

.providers-table tbody tr {
  /* border-bottom: 1px solid #1f1f1f; */
  /* background-color: rgba(255,255,255,0.03); */
  transition: background-color 0.2s;
}

.providers-table tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.provider-link {
  color: inherit;
  text-decoration: none;
}

.provider-link:hover {
  text-decoration: underline;
}

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


.model-stats {
  background-color: var(--backtop); /* bg-gray-900/30 */
  border-radius: 12px; /* rounded-lg */
  padding: 1rem; /* p-4 */
  font-weight: 500; /* font-medium */
  font-size: 0.875rem; /* text-sm */
}

.stats-header {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 колонки на маленьких экранах */
  gap: 1rem; /* gap-4 */
  color: #9ca3af; /* text-gray-400 */
}

@media (min-width: 768px) {
  .stats-header {
    grid-template-columns: repeat(5, 1fr); /* md:grid-cols-5 */
  }
}

.stats-values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 0.5rem; /* mt-2 */
}

@media (min-width: 768px) {
  .stats-values {
    grid-template-columns: repeat(5, 1fr);
  }
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 0.5rem; /* gap-2 */
  color: var(--colorp);/* text-gray-200 */
}



.benchmarks-title {
  display: flex;
  align-items: center;
  font-size: 1.125rem; /* text-lg */
  font-weight: 500; /* font-medium */
  color: var(--textone); /* text-gray-200 */
}

.benchmarks-icon {
  width: 1rem; /* w-4 */
  height: 1rem; /* h-4 */
  margin-right: 0.5rem; /* mr-2 */
  color: #3b82f6; /* text-blue-500 */
}

/* Сетка для карточек */
.benchmarks-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem; /* gap-4 */
  margin-bottom: 1.5rem; /* mb-6 */
}

@media (min-width: 768px) {
  .benchmarks-grid {
    grid-template-columns: repeat(2, 1fr); /* md:grid-cols-2 */
  }
}

.benchmark-card {
  background-color: rgba(255, 255, 255, 0.03); /* dark:bg-gray-900/30 */
  border-radius: 12px; /* rounded-lg */
  padding: 1rem; /* p-4 */
}

.benchmark-card-inner {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.benchmark-name {
  font-size: 0.75rem; /* text-xs */
  color: #9ca3af; /* text-gray-400 */
}

.benchmark-value {
  font-size: 1.125rem; /* text-lg */
  font-weight: 600; /* font-semibold */
  color: #ffffff; /* text-white */
}

/* Таблица */
.benchmarks-table-wrapper {
  overflow-x: auto;
  margin-bottom: 1.5rem; /* mb-6 */
  max-width: 500px;
}

.benchmarks-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem; /* text-sm */
  border-radius: 12px; /* rounded-xl */
}

.benchmarks-table thead tr {
  /* border-bottom: 1px solid #374151; border-gray-700 */
  color: #9ca3af; /* text-gray-400 */
  text-align: left;
}

.benchmarks-table th {
  padding: 0.5rem 0.75rem; /* px-3 py-2 */
  font-weight: 500; /* font-medium */
  font-size: 0.75rem; /* text-xs */
  color: var(--colorp); /* text-gray-300 */
}

.benchmarks-table td {
  padding: 0.5rem 0.75rem;
  font-weight: 500;
  font-size: 0.875rem;
}

.benchmarks-table td:first-child {
  color:var(--semi-color-primary); /* text-indigo-400 */
}

.benchmarks-table tbody tr {
  /* border-bottom: 1px solid #1f2937; border-gray-800 */
  transition: background-color 0.2s ease;
}

.benchmarks-table tbody tr:hover {
  background-color: rgba(17, 24, 39, 0.3); /* hover:bg-gray-900/30 */
}

.no-benchmarks {
  color: #d1d5db; /* text-gray-300 */
}



/* Внутренний контейнер графика */
.chart-wrap {
  position: relative;
}

/* Заголовок графика */
.chart-title {
  font-size: 1rem; /* text-md */
  font-weight: 500; /* font-medium */
  color: var(--textone);/* dark:text-gray-200 */
  text-transform: capitalize;
  margin-bottom: 0.5rem; /* mb-2 */
}


/* Grid */
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem; /* gap-6 */
}

@media (min-width: 768px) {
  .grid {
    grid-template-columns: repeat(2, 1fr); /* md:grid-cols-2 */
  }
}

.card {
  background-color: var(--backtop);
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid var(--boarder);
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column; /* карточка по вертикали */
  gap: 1rem;
}



/* Вторая карточка чуть прозрачнее и с другим закруглением */
.card-step2 {
  background-color: var(--backtop);
  border-radius: 1.25rem; /* rounded-2xl */
  gap: 1.5rem; /* gap-6 */
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
}

/* Блок с кружком и текстом */
/* Блок с кружком и текстом */
.blocker {
  display: flex;        /* горизонтально */
  align-items: center;  /* центрируем кружок по высоте текста */
  gap: 1.25rem;
}


.circle {
  flex-shrink: 0;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea, rgb(0, 100, 250) 100%);
  color: white;
  font-weight: bold;
  font-size: 1.125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}
.circle:hover {
  transform: scale(1.1);
}

.text-block {
  display: flex;
  flex-direction: column;
}

.text-block h2,
.text-block p {
  margin: 0; /* убираем стандартные отступы браузера */
}

.highlight {
  color: rgb(129, 140, 248);
  font-weight: 600;
}

.text-block h2 {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--textone);
  margin-bottom: 0.25rem;
}

.text-block p {
  font-weight: 600;
  color: var(--colorp);
}

/* Кнопка */
.btn {
  margin-top: 1rem;
  width: 100%;
  background: linear-gradient(135deg, #667eea, rgb(0, 100, 250) 100%);
  color: white;
  font-weight: 600;
  padding: 0.75rem 0;
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
}

.btn:hover {
  background-color: #16a34a; /* hover-green-600 */
}

/* Плашки с командами */
.commands {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem; /* gap-2 */
  margin-top: 1rem;
}

.copy-btn {
  background-color: var(--copybtn);
  padding: 0.375rem 0.75rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.copy-btn:hover {
  background-color: rgba(31, 41, 55, 0.8);
  box-shadow: 0 4px 6px rgba(0,0,0,0.15);
}

.copy-btn .icon {
  width: 1rem;
  height: 1rem;
  color: rgb(129, 140, 248);
  flex-shrink: 0;
}

.copy-btn .command-text {
  font-family: monospace;
  font-size: 0.875rem; /* text-sm */
  color: var(--textone);
}


.org-filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  font-weight: 500;
  font-size: 12px;
  height: 32px;
  padding: 0 12px;
  border-radius: 6px;
  border: 1px solid var(--boarder); /* аналог border-input */
  background-color: var(--background); /* bg-background */
  color: var(--colorp); /* text-foreground */
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

/* Наведение */
.org-filter-btn:hover {
  background-color: #f9fafb;
}

/* Фокус */
.org-filter-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(147, 197, 253, 0.6); /* focus-visible:ring-ring */
}

/* Неактивное состояние */
.org-filter-btn:disabled {
  opacity: 0.5;
  pointer-events: none;
}

/* Иконка */
.org-filter-icon {
  margin-right: 0.5rem;
  width: 1rem;
  height: 1rem;
  color: var(--textone);
}
/* === Метки диапазона === */
.range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin-bottom: 6px;
}

/* === Слайдер диапазона === */
#rangeTrack {
  position: relative;
  height: 10px;
  background: #4b4a4a;
  border-radius: 5px;
  border: 1px solid #888;
  margin-bottom: 6px;
}

#rangeSelected {
  position: absolute;
  height: 100%;
  background: rgb(74, 77, 237);
  border-radius: 5px;
}

#thumbMin,
#thumbMax {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 3px solid rgb(74, 77, 237);
  background: black;
  top: -5px;
  cursor: pointer;
}

/* === Кнопка "Очистить" === */
.range-reset {
  text-align: right;
}

.reset-btn {
  padding: 1px 8px;
  border: 1px solid #888;
  color: #888;
  border-radius: 10px;
  cursor: pointer;
  font-size: 10px;
  margin-top: 10px;
  background: transparent;
  transition: background-color 0.2s, color 0.2s;
}

.reset-btn:hover {
  background: #f0f0f0;
  color: #555;
}


.context-filter-wrapper {
  display: inline-block;
  position: relative;
}

.context-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 6px;
  background: var(--background);
  border: 1px solid var(--boarder);
  border-radius: 8px;
  padding: 6px 0;
  list-style: none;
  margin: 0;
  width: 180px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  font-size: 13px;
  color: var(--textone);
  z-index: 100;
}

.context-dropdown li {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 6px 10px;
  transition: background-color 0.15s, color 0.15s;
}

.context-dropdown li:hover {
  background-color: rgba(0, 0, 0, 0.04);
}

.context-dropdown li.active .checkmark {
  opacity: 1;
}

.checkmark {
  opacity: 0.25;
  color: #4ade80;
  transition: opacity 0.2s;
}

.context-dropdown li:hover .checkmark {
  opacity: 0.6;
}


.dropdown-wrapper {
  position: relative;
  display: inline-block;
}

/* Меню */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 6px;
  background: var(--background);
  border: 1px solid var(--boarder);
  border-radius: 8px;
  padding: 4px 0;
  list-style: none;
  margin: 0;
  width: 180px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  font-size: 13px;
  color: var(--textone);
  z-index: 100;
  animation: fadeIn 0.15s ease-out;
}

.dropdown-menu li {
  padding: 6px 10px;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}

.dropdown-menu li:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

/* скрытие */
.hidden {
  display: none;
}

/* простая анимация появления */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* Правое выравнивание дропдауна */
.dropdown-wrapper.right-aligned {
  position: relative;
  display: inline-block;
}

/* Меню с выравниванием по правому краю */
.dropdown-menu.right-aligned {
  right: 0;
  left: auto;
  width: 220px;
  max-height: 300px;
  overflow-y: auto;
}

/* Общий стиль меню (если ещё не подключён) */
.dropdown-menu {
  position: absolute;
  top: 100%;
  margin-top: 6px;
  background: var(--background);
  border: 1px solid var(--boarder);
  border-radius: 8px;
  padding: 6px 0;
  list-style: none;
  margin: 0;
  font-size: 13px;
  color: var(--textone);
  z-index: 100;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  animation: fadeIn 0.15s ease-out;
}

.dropdown-menu li {
  padding: 6px 10px;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}

.dropdown-menu li:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.hidden {
  display: none;
}

/* анимация */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.demo-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

/* Контент модалки */
.demo-modal-content {
  background: var(--modcont);
  padding: 2rem;
  border-radius: 12px;
  max-width: 500px;
  width: 90%;
  position: relative;
}

/* Кнопка закрытия */
.demo-modal-close {
  position: absolute;
  top: 10px;
  right: 30px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--textone);
  cursor: pointer;
}

/* Заголовок */
.demo-modal-title {
  color: var(--textone);
  margin-bottom: 1rem;
}

/* Форма */
.demo-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Метки и инпуты */
.demo-form label {
  color: var(--textone);
  display: flex;
  flex-direction: column;
  font-weight: 500;
}

.demo-form input,
.demo-form select,
.demo-form textarea {
  width: 100%;
  padding: 0.5rem;
  border-radius: 6px;
  border: 1px solid #888;
  background: var(--modback);
  color: var(--textone);
  font-size: 1rem;
}

/* Текстarea */
.demo-form textarea {
  resize: vertical;
}

/* Кнопка отправки */
.demo-form .primary-button {
  padding: 0.6rem 2rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 0.5rem;
  color:#fff;
  background:var(--semi-color-primary);
}

/* Опционально: hover эффект */
.demo-form .primary-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,100,250,0.3);
}

.vsllm-integration-card {
  background-color: var(--backtop);
  padding: 1.5rem;
  border-radius: 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  border: 1px solid var(--boarder);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
}

.vsllm-code-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid rgba(55,65,81,0.5);
  padding-bottom: 0.5rem;
}

@media(min-width: 640px) {
  .vsllm-code-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.vsllm-code-title {
  font-size: 1.125rem;
  font-weight: 600;
  text-align: center;
}

@media(min-width: 640px) {
  .vsllm-code-title {
    text-align: left;
  }
}

.vsllm-code-buttons {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.vsllm-code-btn {
  padding: 0.375rem 0.75rem;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  border-radius: 0.5rem 0.5rem 0 0;
  transition: all 0.2s;
  cursor: pointer;
  background: none;
}

.vsllm-selected {
  border-color: #3b82f6;
}

.vsllm-code-block-wrapper {
  position: relative;
}

.vsllm-code-block {
  background: #111827;
  color: rgb(129,140,248);
  padding: 1rem;
  border-radius: 0.5rem;
  overflow-x: auto;
  font-size: 0.875rem;
}

.vsllm-copy-btn {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.375rem 0.75rem;
  background: rgba(31, 41, 55, 0.7);
  color: #fff;
  border-radius: 9999px;
  border-bottom: 2px solid transparent;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s;
}

.vsllm-copy-btn:hover {
  background: rgba(31,41,55,0.8);
}

.vsllm-icon-sm {
  width: 1.25rem;
  height: 1.25rem;
}

.vsllm-integration-footer {
  text-align: center;
  margin-top: 1rem;
}

.vsllm-telegram-btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, rgb(129,140,248), rgb(99,102,241));
  border-radius: 0.5rem;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: all 0.3s;
}

.vsllm-telegram-btn:hover {
  background: linear-gradient(135deg, rgb(99,102,241), rgb(129,140,248));
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}


/* Стили для компактного заголовка */
.compact-header {
  position: sticky;
  top: 100%; /* верх экрана, можно подправить */
  left: 0;
  width: 100%;
  z-index: 30;
  /* background-color: rgba(17, 24, 39, 0.9); bg-gray-900/90 */
  /* backdrop-filter: blur(6px); backdrop-blur-sm */
  box-shadow: 0 4px 6px rgba(0,0,0,0.1); /* shadow-md */
  display: none; /* скрыт по умолчанию */
}

.compact-header-inner {
  max-width: 1120px; /* max-w-7xl */
  display: flex;
  align-items: flex-end;
  gap: 0.5rem; /* gap-2 */
  padding: 0.5rem; /* p-2 */
  height: 3rem; /* h-12 */
  /* margin: 0 auto; <-- убираем */
  justify-content: flex-start; /* прижимаем к левому краю */
}


.compact-header-icon {
  width: 1.5rem; /* w-6 */
  height: 1.5rem; /* h-6 */
  border-radius: 9999px; /* rounded-full */
  border: 1px solid rgb(55, 65, 81); /* border-gray-700 */
  object-fit: cover;
  /* background-color: black; добавляем черный фон */
  /* display: flex;           если внутри SVG нужно центрировать */
  /* align-items: center;
  justify-content: center; */
}

.compact-header-name {
  color:var(--textone);
  font-weight: 600;
  font-size: 0.875rem; /* text-sm */
}

.gradient-text {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="light"] .gradient-text {
  background: linear-gradient(135deg, rgb(0, 100, 250) 0%, #2563eb 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}