/* ── SECTION ──────────────────────────────── */
.block-aifeatures {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: 24px 0;
}

/* Left purple glow */
.block-aifeatures::before {
  content: '';
  position: absolute;
  width: 55%;
  height: 100%;
  left: 0;
  top: 0;
  background:radial-gradient(
        circle,
        #cb6ce6,
        transparent 80%
    );
  pointer-events: none;
  z-index: 0;
}

/* Right vignette */
.block-aifeatures::after {
  content: '';
  position: absolute;
  width: 40%;
  height: 100%;
  right: 0;
  top: 0;
  background: radial-gradient(ellipse 80% 80% at 100% 50%, rgba(41, 20, 60, 0.5) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ── INNER ────────────────────────────────── */
.block-aifeatures-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0;
  min-height: 100vh;
}

/* ── LEFT ─────────────────────────────────── */
.block-aifeatures-left {
  flex: 0 0 48%;
  padding: 80px 60px 80px 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
}

.block-aifeatures-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: #fff;
}

.block-aifeatures-subtitle {
  margin-top: 28px;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(210,195,240,0.65);
  max-width: 340px;
}

/* Scroll hint */
.block-aifeatures-scroll-hint {
  margin-top: 60px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(180,150,255,0.4);
}
.scroll-line {
  width: 36px;
  height: 1px;
  background: linear-gradient(90deg, rgba(180,150,255,0.4), transparent);
}

/* ── RIGHT ────────────────────────────────── */
.block-aifeatures-right {
  flex: 1 1 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px 64px 80px 48px;
    backdrop-filter: blur(22px) saturate(140%);
    -webkit-backdrop-filter: blur(22px) saturate(140%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 85px 80px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.85), inset 0 -1px 0 rgba(255, 255, 255, 0.08);
}
.block-aifeatures-right::after {
      content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25), inset 0 0 20px rgba(255, 255, 255, 0.08);
    z-index: 1;
}
/* Grid of feature items */
.block-aifeatures-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  width: 100%;
}

/* ── FEATURE ITEM ─────────────────────────── */
.block-aifeatures-item {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 40px 36px;
  border-right: none;
  transition: background 0.3s ease;
  cursor: default;
}


/* Icon wrap */
.block-aifeatures-iconwrap {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s, background 0.3s;
  flex-shrink: 0;
}

.block-aifeatures-iconwrap .material-icons {
  font-size: 24px;
  color: rgba(200,170,255,0.85);
}
.block-aifeatures-iconwrap img.block-aifeatures-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: brightness(0) invert(1) opacity(0.8);
}

/* Text */
.block-aifeatures-item-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}
.block-aifeatures-item-desc {
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(175,160,210,0.6);
  line-height: 1.6;
}
.block-aifeatures-num {
  font-family: 'Syne', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(160,120,255,0.45);
  margin-bottom: 2px;
}

/* ══ RESPONSIVE ═════════════════════════════ */

/* Tablet landscape — compress left */
@media (max-width: 1100px) {
  .block-aifeatures-left {
    flex: 0 0 42%;
    padding: 60px 40px 60px 48px;
  }
  .block-aifeatures-right {
    padding: 60px 40px 60px 36px;
  }
}

/* Tablet portrait — stack */
@media (max-width: 900px) {
  .block-aifeatures {
    min-height: auto;
    padding: 0;
  }

  .block-aifeatures-inner {
    flex-direction: column;
    min-height: auto;
  }

  /* Glow stretches full width when stacked */
  .block-aifeatures::before {
    width: 100%;
    height: 45%;
    background:
      radial-gradient(ellipse 80% 70% at 50% 0%, rgba(178, 50, 220, 0.7) 0%, rgba(106, 20, 160, 0.4) 40%, transparent 75%);
  }
  .block-aifeatures::after { display: none; }

  .block-aifeatures-left {
    flex: none;
    width: 100%;
    min-height: auto;
    padding: 56px 32px 36px;
  }

  .block-aifeatures-right {
    width: 100%;
    min-height: auto;
    border-top-left-radius: 28px;
    border-top-right-radius: 28px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-left: none;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 40px 28px 52px;
  }

  .block-aifeatures-item {
    padding: 28px 16px;
    gap: 14px;
  }

  .block-aifeatures-scroll-hint {
    display: none; /* scroll hint irrelevant when stacked */
  }
}

/* Mobile */
@media (max-width: 576px) {
  .block-aifeatures-left {
    padding: 44px 20px 28px;
  }

  .block-aifeatures-title {
    font-size: 2.4rem;
  }

  .block-aifeatures-subtitle {
    font-size: 0.92rem;
    margin-top: 18px;
    max-width: 100%;
  }

  .block-aifeatures-right {
    padding: 32px 16px 44px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
  }

  .block-aifeatures-item {
    padding: 22px 8px;
    gap: 12px;
  }

  .block-aifeatures-iconwrap {
    width: 42px;
    height: 42px;
    border-radius: 10px;
  }

  .block-aifeatures-item-title {
    font-size: 0.95rem;
  }
}

/* Very small mobile */
@media (max-width: 380px) {
  .block-aifeatures-title { font-size: 2rem; }
  .block-aifeatures-left { padding: 36px 16px 24px; }
}