/* =======================================================================
   AI mobile: интерактивные «баблы» раскрываются внутри себя
   (интерфейс в едином стиле с blockchainMobile.css)
   ======================================================================= */
@media (max-width: 719px) {


  .ai-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 52px 0px 12px 12px;  /* те же отступы, что и .blockchain-header */
  background: transparent;
  border-bottom: 1.5px solid #2c1431;
  box-sizing: border-box;
  margin: 0 auto 0 auto;
  width: 100%;
}


.ai-title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.35rem;          /* как .blockchain-header h2 */
  font-weight: 800;
  line-height: 1.18;
  color: #fff;
  margin: 0 0 19px 0;
  letter-spacing: 0.01em;
  max-width: 960px;
}

.ai-subtitle {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.09rem;
  font-weight: 300;
  line-height: 1.43;
  color: #fff;
  opacity: 0.97;
  margin: 0;
  max-width: 700px;
}
  /* ОТСТУПЫ СЕКЦИИ — если у тебя отдельная секция */
  #ai.section { padding: 0 4vw; color: #fff; }

  /* details = один «бабл» */
  .ai-feature {
    margin: 0 0 12px 0;
    background: linear-gradient(180deg, rgba(42,0,65,0.82) 0%, rgba(154,34,117,0.82) 100%);
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(0,0,0,0.14);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    overflow: hidden;
  }

  /* summary = заголовок бабла */
  .ai-feature > summary {
    list-style: none;
    cursor: pointer;
    padding: 12px 14px 12px 36px;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.3;
    position: relative;
    background: rgba(0,0,0,0.23);
    color: #ffe98a;
    border-radius: 4px;
    display: flex;
    align-items: center;
    outline: none;
    gap: 10px;
    user-select: none;
    transition: background .18s;
  }
  .ai-feature > summary::-webkit-details-marker { display: none; }

  .ai-feature > summary .ai-dot {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #ffe98a;
    box-shadow: 0 0 8px 2px #ffe98a44;
  }

  /* раскрывающийся текст */
  .ai-feature-desc {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding: 0 14px 0 36px;
    font: 400 .95rem/1.45 'Montserrat', sans-serif;
    background: none;
    transition: max-height .35s, opacity .35s;
    box-sizing: border-box;
  }

  /* когда details открыт */
  .ai-feature[open] .ai-feature-desc {
    max-height: 900px;
    opacity: 1;
    padding: 12px 14px 16px 36px;
  }

  /* подчёркиваем активный заголовок */
  .ai-feature[open] > summary {
    background: rgba(255,233,138,.11);
    color: #ffe98a;
    box-shadow: inset 0 0 0 2px #ffe98a30;
    filter: brightness(1.12);
  }

  /* тайтлы и акценты */
  .ai-feature-title { color: #fff; font-weight: 700;}
  .ai-accent { color: #ffe98a; font-weight: 800; }
}
