/* ============================================================
   AI Accounts — Hub & Detail Pages
   Design: clean minimal product-card style (Iranicard-inspired)
   Colors: #2aabe2 (sky), #4356a3 (indigo)
   ============================================================ */

/* ─── Base ───────────────────────────────────────────────── */
.ai-page {
  direction: rtl;
  font-family: inherit;
  color: #1e293b;
}

.ai-hub-page {
  background: #f4f5fb;
  min-height: 100vh;
  padding-bottom: 80px;
}

/* ─── Hero band — white background ──────────────────────── */
.ai-hero-band {
  background: #fff;
  padding: 56px 0 52px;
  border-bottom: 1px solid #edf0f7;
}

.ai-hero-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 48px;
  align-items: center;
}

.ai-hero__title {
  margin: 0 0 10px;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 900;
  color: #0f172a;
  line-height: 1.28;
  letter-spacing: -.01em;
}

.ai-hero__eyebrow {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #2aabe2;
  margin: 0 0 18px;
}

.ai-hero__subtitle {
  margin: 0 0 18px;
  font-size: 14.5px;
  color: #475569;
  line-height: 1.9;
}

.ai-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.ai-hero__actions .adsl-btn-item,
.ai-detail-hero__cta .adsl-btn-item {
  min-width: 160px;
  height: 44px;
  padding: 0 20px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  transition: opacity .18s, transform .18s;
}

.ai-hero__actions .adsl-btn-item:hover,
.ai-detail-hero__cta .adsl-btn-item:hover {
  opacity: .92;
  transform: translateY(-1px);
}

.ai-hero__actions .cta-btn.outline {
  min-height: 44px;
  padding: 0 20px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Catalog sections — breathing room before benefits */
.ai-catalog-wrap {
  padding-bottom: 72px;
}

.ai-section:last-child {
  padding-bottom: 8px;
}

.ai-hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-hero__visual img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(42,171,226,.18);
}

/* ─── Trust badges ───────────────────────────────────────── */
.ai-trust {
  max-width: 1140px;
  margin: 32px auto 0;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.ai-trust__item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid #e8ecf3;
  border-radius: 14px;
  padding: 16px 18px;
  transition: box-shadow .2s, transform .2s;
}

.ai-trust__item:hover {
  box-shadow: 0 6px 20px rgba(42,171,226,.1);
  transform: translateY(-2px);
}

.ai-trust__icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #e0f2fe, #dbeafe);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ai-trust__icon-wrap svg {
  width: 20px;
  height: 20px;
  color: #2aabe2;
}

.ai-trust__label {
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.5;
}

/* ─── Sticky toolbar ──────────────────────────────────────── */
.ai-toolbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(244,245,251,.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #e2e8f0;
}

.ai-toolbar__inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.ai-search {
  position: relative;
  flex: 0 0 260px;
}

.ai-search__icon {
  position: absolute;
  right: 11px;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  color: #94a3b8;
  pointer-events: none;
}

.ai-search__input {
  width: 100%;
  height: 38px;
  padding: 0 34px 0 12px;
  border: 1.5px solid #dde3ed;
  border-radius: 10px;
  font-size: 13px;
  font-family: inherit;
  background: #fff;
  color: #1e293b;
  outline: none;
  transition: border-color .2s;
}

.ai-search__input::placeholder { color: #94a3b8; }
.ai-search__input:focus { border-color: #2aabe2; }

.ai-nav {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  flex: 1;
}
.ai-nav::-webkit-scrollbar { display: none; }

.ai-nav__link {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 13px;
  border-radius: 8px;
  background: transparent;
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: all .15s;
}

.ai-nav__link:hover { background: #e8edf5; color: #4356a3; }
.ai-nav__link.is-active { background: #eff1fb; color: #4356a3; border-color: #c7ceee; font-weight: 700; }

/* ─── Section ────────────────────────────────────────────── */
.ai-section {
  max-width: 1140px;
  margin: 0 auto;
  padding: 40px 24px 0;
}

.ai-section.is-empty { display: none; }

.ai-section__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.ai-section-title {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ai-section-title::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 20px;
  background: linear-gradient(180deg, #2aabe2, #4356a3);
  border-radius: 3px;
  flex-shrink: 0;
}

.ai-section__count {
  margin-right: auto;
  font-size: 12px;
  color: #94a3b8;
  font-weight: 600;
}

/* ─── Card grid ──────────────────────────────────────────── */
.ai-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* ─── THE Card — Large logo, minimal text ─────────────────── */
.ai-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 32px 20px 22px;
  border-radius: 16px;
  background: #fff;
  border: 1.5px solid transparent;
  text-decoration: none;
  color: inherit;
  min-height: 190px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  box-shadow: 0 2px 8px rgba(15,23,42,.05);
  overflow: hidden;
}

.ai-card--link:hover {
  transform: translateY(-4px);
  border-color: #c7d8f4;
  box-shadow: 0 12px 32px rgba(42,171,226,.12), 0 2px 8px rgba(15,23,42,.06);
}

/* Logo area — full prominence, no colored background */
.ai-card__icon-wrap {
  width: 100%;
  max-width: 180px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.ai-card__icon {
  max-width: 160px;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  transition: transform .2s;
}

.ai-card--link:hover .ai-card__icon {
  transform: scale(1.04);
}

.ai-card__title {
  margin: 0;
  font-size: 12.5px;
  font-weight: 600;
  color: #94a3b8;
  line-height: 1.4;
  text-align: center;
}

.ai-card--link:hover .ai-card__title { color: #4356a3; }

/* ─── Badge ──────────────────────────────────────────────── */
.ai-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  letter-spacing: .03em;
}

.ai-badge--shared    { background: #fef9c3; color: #854d0e; border: 1px solid #fde68a; }
.ai-badge--exclusive { background: #ede9fe; color: #5b21b6; border: 1px solid #ddd6fe; }

/* ─── Buttons ────────────────────────────────────────────── */
.ai-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 24px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}

.ai-btn--primary {
  background: linear-gradient(135deg, #1e3566 0%, #2aabe2 100%);
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(42,171,226,.3);
}
.ai-btn--primary:hover { filter: brightness(1.08); box-shadow: 0 6px 20px rgba(42,171,226,.42); transform: translateY(-1px); }

.ai-btn--ghost {
  background: rgba(255,255,255,.1);
  color: #fff !important;
  border-color: rgba(255,255,255,.25);
}
.ai-btn--ghost:hover { background: rgba(255,255,255,.2); color: #fff !important; }

.ai-btn--outline {
  background: transparent;
  border-color: #1e3566;
  color: #1e3566 !important;
}
.ai-btn--outline:hover { background: #f0f4ff; }

/* Outline variant on dark bg */
.ai-cta-band .ai-btn--outline,
.ai-detail-hero-band .ai-btn--outline {
  border-color: rgba(255,255,255,.5);
  color: #fff !important;
}
.ai-cta-band .ai-btn--outline:hover,
.ai-detail-hero-band .ai-btn--outline:hover {
  background: rgba(255,255,255,.15);
}

/* ─── Show-more per section ──────────────────────────────── */
.ai-show-more-wrap {
  text-align: center;
  margin-top: 20px;
  padding-bottom: 8px;
}

.ai-show-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1.5px solid #dde3ed;
  background: #fff;
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: border-color .2s, color .2s, box-shadow .2s;
}

.ai-show-more-btn:hover {
  border-color: #2aabe2;
  color: #2aabe2;
  box-shadow: 0 3px 10px rgba(42,171,226,.12);
}

.ai-show-more-btn svg {
  transition: transform .3s;
}

.ai-show-more-btn.is-expanded svg {
  transform: rotate(180deg);
}

/* ─── Benefits — screenshot-3 style ──────────────────────── */
.ai-benefits-section {
  background: #fff;
  padding: 64px 0;
  border-top: 1px solid #edf0f7;
}

.ai-benefits-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.ai-benefits-header {
  text-align: right;
  margin-bottom: 12px;
}

.ai-benefits-header h2 {
  font-size: 26px;
  font-weight: 900;
  color: #0f172a;
  margin: 0 0 14px;
}

.ai-benefits-header p {
  color: #64748b;
  font-size: 14.5px;
  line-height: 1.85;
  margin: 0 0 36px;
  max-width: 760px;
}

.ai-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid #edf0f7;
  padding-top: 36px;
}

.ai-benefit {
  padding: 0 32px 0 32px;
  border-left: 1px solid #edf0f7;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ai-benefit:last-child { border-left: none; }
.ai-benefit:first-child { padding-right: 0; }

.ai-benefit__icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 2px solid #2aabe2;
  background: #f0f9ff;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  transition: background .2s;
}

.ai-benefit:hover .ai-benefit__icon {
  background: #2aabe2;
}

.ai-benefit:hover .ai-benefit__icon svg {
  color: #fff;
}

.ai-benefit__icon svg { width: 22px; height: 22px; color: #2aabe2; transition: color .2s; }

.ai-benefit__title {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
}

.ai-benefit__body {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.85;
  color: #64748b;
}

/* steps section removed per user request */

/* ─── FAQ ────────────────────────────────────────────────── */
.ai-faq-section {
  padding: 60px 0;
  background: #fff;
  border-top: 1px solid #edf0f7;
}

.ai-faq-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

.ai-faq-header { text-align: center; margin-bottom: 32px; }
.ai-faq-header h2 { font-size: 24px; font-weight: 900; color: #0f172a; margin: 0; }

.ai-faq__list { display: flex; flex-direction: column; gap: 10px; }

.ai-faq__item {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .2s;
}

.ai-faq__item[open] { border-color: #93c5fd; background: #fff; }

.ai-faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  padding: 16px 20px;
  font-weight: 700;
  font-size: 14px;
  color: #1e293b;
  list-style: none;
  gap: 12px;
}

.ai-faq__q::-webkit-details-marker { display: none; }

.ai-faq__q::after {
  content: '';
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #e8edf5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center/14px no-repeat;
  flex-shrink: 0;
  transition: transform .2s, background-color .2s;
}

.ai-faq__item[open] .ai-faq__q::after {
  transform: rotate(180deg);
  background-color: #dbeafe;
}

.ai-faq__a {
  padding: 0 20px 16px;
  font-size: 14px;
  line-height: 1.9;
  color: #64748b;
}

/* ─── CTA band ───────────────────────────────────────────── */
.ai-cta-band {
  background: linear-gradient(135deg, #0f172a 0%, #1e3566 50%, #1a2c6b 100%);
  padding: 56px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.ai-cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 500px 250px at 50% 100%, rgba(42,171,226,.12), transparent);
  pointer-events: none;
}

.ai-cta-band__inner { position: relative; z-index: 1; }
.ai-cta-band__title { margin: 0 0 10px; font-size: 26px; font-weight: 900; color: #fff; }
.ai-cta-band__desc  { margin: 0 0 24px; color: #94a3b8; font-size: 15px; }

/* ─── Loading / empty ─────────────────────────────────────── */
.ai-loading, .ai-empty {
  text-align: center;
  padding: 80px 24px;
}

.ai-loading__spinner {
  width: 38px; height: 38px;
  margin: 0 auto 14px;
  border: 3px solid #e2e8f0;
  border-top-color: #2aabe2;
  border-radius: 50%;
  animation: ai-spin .75s linear infinite;
}

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

.ai-card.is-hidden { display: none !important; }

/* ─── Stats bar ──────────────────────────────────────────── */
.ai-stats {
  background: #fff;
  border-bottom: 1px solid #e8ecf3;
}

.ai-stats__inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: center;
}

.ai-stat {
  padding: 18px 32px;
  text-align: center;
  border-left: 1px solid #f1f5f9;
  flex: 1;
  max-width: 200px;
}

.ai-stat:last-child { border-left: none; }
.ai-stat__num   { display: block; font-size: 26px; font-weight: 900; color: #2aabe2; line-height: 1; margin-bottom: 4px; }
.ai-stat__label { font-size: 12px; color: #64748b; font-weight: 600; }

/* ════════════════════════════════════════════════════════════
   DETAIL PAGE
   ════════════════════════════════════════════════════════════ */
.ai-detail-page {
  background: #fff;
  padding-bottom: 64px;
}

.ai-breadcrumb {
  padding: 16px 24px 0;
  max-width: 1140px;
  margin: 0 auto;
}

.ai-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0; padding: 0;
  font-size: 13px;
}

.ai-breadcrumb li { display: flex; align-items: center; color: #94a3b8; }
.ai-breadcrumb a  { color: #2aabe2; text-decoration: none; }
.ai-breadcrumb a:hover { text-decoration: underline; }
.ai-breadcrumb li + li::before { content: '›'; margin: 0 8px; color: #cbd5e1; font-size: 16px; }

/* Detail hero */
.ai-detail-hero-band {
  background: linear-gradient(135deg, #0f172a, #1e3566, #1a2c6b);
  padding: 36px 0 44px;
  position: relative;
  overflow: hidden;
}

.ai-detail-hero-band::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 450px 280px at 80% 50%, rgba(42,171,226,.12), transparent);
  pointer-events: none;
}

.ai-detail-hero {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 36px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.ai-detail-hero__content { color: #fff; }

.ai-detail-hero__title {
  margin: 10px 0 8px;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 900;
  color: #fff !important;
  line-height: 1.25;
}

.ai-detail-hero__subtitle {
  margin: 0 0 14px;
  color: #e2e8f0 !important;
  font-size: 15px;
  font-style: italic;
}

.ai-detail-hero__intro {
  font-size: 15px;
  line-height: 1.9;
  color: #fff !important;
}

.ai-detail-hero__intro p { margin: 0 0 10px; color: #fff !important; }
.ai-detail-hero__intro p:last-child { margin: 0; }

.ai-detail-hero__features {
  margin-top: 16px;
  font-size: 14px;
  color: #e2e8f0 !important;
}

.ai-detail-hero__features ul {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.ai-detail-hero__features li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff !important;
}

.ai-detail-hero__features li::before {
  content: '';
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 1.5px solid #fff;
  flex-shrink: 0;
  background: rgba(255,255,255,.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center/12px no-repeat;
}

.ai-detail-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.ai-btn-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 10px;
  border: 2px solid rgba(255,255,255,.45);
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background .18s;
}

.ai-btn-back:hover {
  background: rgba(255,255,255,.12);
  color: #fff !important;
}

.ai-detail-hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.ai-detail-logo-card {
  background: rgba(255,255,255,.08);
  border: 1.5px solid rgba(255,255,255,.14);
  border-radius: 22px;
  padding: 28px;
  text-align: center;
  backdrop-filter: blur(10px);
}

.ai-detail-logo-card img {
  width: 130px;
  height: 130px;
  object-fit: contain;
  border-radius: 18px;
  background: #fff;
  padding: 14px;
}

/* Detail body */
.ai-detail-body {
  max-width: 1140px;
  margin: 0 auto;
  padding: 44px 24px 0;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 36px;
  align-items: start;
}

.ai-detail-sidebar { position: sticky; top: 76px; }

.ai-sidebar-card {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 18px;
  padding: 22px;
}

.ai-sidebar-card__title {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e2e8f0;
}

.ai-detail-related {
  max-width: 1140px;
  margin: 44px auto 0;
  padding: 0 24px;
}

.ai-detail-related h2 {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ai-detail-related h2::before {
  content: '';
  display: inline-block;
  width: 4px; height: 18px;
  background: linear-gradient(180deg, #2aabe2, #4356a3);
  border-radius: 3px;
}

.ai-detail-faq { margin-top: 36px; }

.ai-detail-faq .ai-section-title {
  font-size: 18px;
  margin-bottom: 18px;
}

/* ─── Table ──────────────────────────────────────────────── */
.ai-table-wrap {
  overflow-x: auto;
  border-radius: 14px;
  border: 1.5px solid #e2e8f0;
}

.ai-table { width: 100%; border-collapse: collapse; font-size: 14px; }

.ai-table thead th {
  background: linear-gradient(135deg, #4356a3, #2aabe2);
  color: #fff;
  padding: 13px 16px;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
}

.ai-table thead th:first-child { border-radius: 0 12px 0 0; }
.ai-table thead th:last-child  { border-radius: 12px 0 0 0; }

.ai-table tbody tr:nth-child(even) td { background: #f8fafc; }

.ai-table tbody td {
  padding: 12px 16px;
  text-align: center;
  border-bottom: 1px solid #f1f5f9;
  color: #475569;
}

.ai-table tbody td:first-child { font-weight: 700; color: #1e293b; text-align: right; }
.ai-table tbody tr:last-child td { border-bottom: none; }

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 1100px) {
  .ai-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
  .ai-trust { grid-template-columns: repeat(2, 1fr); }
  .ai-benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .ai-detail-body { grid-template-columns: 1fr; }
  .ai-detail-sidebar { position: static; }
}

@media (max-width: 900px) {
  .ai-hero-inner { grid-template-columns: 1fr; }
  .ai-hero__visual { order: -1; }
  .ai-hero__visual img { height: 240px; max-width: 100%; }
  .ai-hero__actions { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 768px) {
  .ai-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .ai-benefits-grid { grid-template-columns: 1fr; }
  .ai-benefit { border-left: none; border-bottom: 1px solid #edf0f7; padding: 0 0 24px; margin-bottom: 24px; }
  .ai-benefit:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
  .ai-detail-hero { grid-template-columns: 1fr; }
  .ai-detail-hero__visual { display: none; }
}

@media (max-width: 580px) {
  .ai-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .ai-trust { grid-template-columns: 1fr; }
  .ai-toolbar__inner { height: auto; padding: 10px 16px; flex-wrap: wrap; }
  .ai-search { flex: 1 1 100%; }
  .ai-nav { flex: 1 1 100%; }
  .ai-stats__inner { flex-wrap: wrap; }
  .ai-stat { flex: 1 0 40%; border-left: none; border-bottom: 1px solid #f1f5f9; }
}

@media (max-width: 360px) {
  .ai-card { padding: 24px 12px 18px; min-height: 165px; }
  .ai-card__icon-wrap { height: 72px; max-width: 140px; }
  .ai-card__icon { max-height: 60px; }
}
