/* =========================================================
   Vaaani — /integrations marketing page
   Hero with orbit of brand-coloured tiles, explore-grid card
   list, three benefit cards, request-an-integration CTA.
   Inherits design tokens + .nav + .btn from style.css.
   ========================================================= */

.ipage {
  background:
    radial-gradient(ellipse 1100px 500px at 50% 0%, rgba(77,105,78,0.06), transparent 65%),
    var(--c-bg);
  padding-top: var(--nav-h);
  padding-bottom: 100px;
}

/* ===== HERO ===== */
.ipage-hero { padding: 80px 0 90px; }
.ipage-hero-grid {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px;
  align-items: center;
}
@media (max-width: 980px) {
  .ipage-hero-grid { grid-template-columns: 1fr; gap: 32px; }
}

.ipage-hero-text .eyebrow {
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.16em;
  color: var(--c-muted-strong); text-transform: uppercase;
  padding: 6px 14px; border: 1px solid rgba(60,83,64,0.18);
  border-radius: 999px; margin-bottom: 28px;
  display: inline-block; background: rgba(255,255,255,0.4);
}
.ipage-title {
  font-size: clamp(40px, 6vw, 78px);
  font-weight: 600; letter-spacing: -0.035em; line-height: 1.04;
  color: #2a3a2b; margin-bottom: 24px;
}
.ipage-title .tonal {
  display: block;
  color: var(--c-muted); font-weight: 400; font-style: italic;
}
.ipage-sub {
  max-width: 560px; margin-bottom: 36px;
  font-size: 17px; line-height: 1.6; color: var(--c-muted-strong);
}
.ipage-cta-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* Orbit panel — six brand-coloured tiles around a centred mark */
.ipage-orbit {
  position: relative; width: 100%; aspect-ratio: 1;
  max-width: 520px; margin: 0 auto;
}
.orbit-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px dashed rgba(77,105,78,0.18);
  pointer-events: none;
}
.orbit-ring-1 { inset: 14%; }
.orbit-ring-2 { inset: 28%; opacity: 0.55; }
.orbit-tile {
  position: absolute;
  width: 64px; height: 64px; border-radius: 16px;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
  left: var(--x); top: var(--y);
  box-shadow: 0 14px 36px rgba(60,83,64,0.12), 0 2px 8px rgba(60,83,64,0.06);
  animation: orbit-bob 5.5s ease-in-out infinite;
}
.orbit-tile svg { width: 30px; height: 30px; }
.orbit-tile.o-telegram { background: #2aabee; animation-delay: 0.0s; }
.orbit-tile.o-whatsapp { background: #25d366; animation-delay: 0.6s; }
.orbit-tile.o-youtube  { background: #ff0000; animation-delay: 1.2s; }
.orbit-tile.o-anki     { background: #2a4f8e; animation-delay: 1.8s; }
.orbit-tile.o-drive    { background: linear-gradient(135deg, #1fa463 0%, #ffc107 60%, #4285f4 100%); animation-delay: 2.4s; }
.orbit-tile.o-photo    { background: #4d694e; animation-delay: 3.0s; }
@keyframes orbit-bob {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-10px); }
}
.orbit-center {
  position: absolute; left: 50%; top: 50%;
  width: 96px; height: 96px; border-radius: 50%;
  background: var(--c-bg);
  border: 1px solid rgba(60,83,64,0.18);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--c-accent);
  transform: translate(-50%, -50%);
  box-shadow: 0 20px 50px rgba(60,83,64,0.10);
}
.orbit-center svg { width: 40px; height: 40px; }
.orbit-center svg circle { fill: currentColor; }

/* ===== SECTION HEADS ===== */
.ipage-section-head { text-align: left; max-width: 720px; margin-bottom: 36px; }
.ipage-section-head h2 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 600; letter-spacing: -0.03em; line-height: 1.08;
  color: #2a3a2b; margin-bottom: 12px;
}
.ipage-section-head p {
  font-size: 16px; color: var(--c-muted-strong); line-height: 1.55;
}

/* ===== EXPLORE GRID ===== */
.ipage-explore { padding: 60px 0 80px; }
.ipage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 1100px) { .ipage-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px)  { .ipage-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px)  { .ipage-grid { grid-template-columns: 1fr; } }

.ipage-card {
  background: #fefaef;
  border: 1px solid rgba(60,83,64,0.10);
  border-radius: 16px;
  padding: 24px 22px 20px;
  transition: border-color .18s, transform .18s, box-shadow .18s;
  display: flex; flex-direction: column; gap: 12px;
}
.ipage-card:hover {
  border-color: rgba(77,105,78,0.35);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(60,83,64,0.06);
}
.ipage-logo {
  width: 48px; height: 48px; border-radius: 11px;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
}
.ipage-logo svg { width: 26px; height: 26px; }
.ipage-logo.telegram { background: #2aabee; }
.ipage-logo.photo    { background: #4d694e; }
.ipage-logo.youtube  { background: #ff0000; }
.ipage-logo.anki     { background: #2a4f8e; }
.ipage-logo.whatsapp { background: #25d366; }
.ipage-logo.drive    { background: linear-gradient(135deg, #1fa463 0%, #ffc107 60%, #4285f4 100%); }
.ipage-logo.discord  { background: #5865f2; }
.ipage-logo.sms      { background: #6a8a6b; }

.ipage-card h3 {
  font-size: 17px; font-weight: 600; letter-spacing: -0.01em;
  color: #2a3a2b; margin: 4px 0 0;
}
.ipage-card p {
  font-size: 13.5px; line-height: 1.55; color: var(--c-muted-strong);
  flex: 1;
}
.ipage-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.08em;
  padding: 4px 10px; border-radius: 999px;
  text-transform: uppercase;
  align-self: flex-start;
}
.ipage-badge .dot {
  width: 6px; height: 6px; border-radius: 50%; background: currentColor;
}
.ipage-badge.live { color: var(--c-accent); background: rgba(77,105,78,0.08); border: 1px solid rgba(77,105,78,0.32); }
.ipage-badge.soon { color: #8a6520; background: rgba(160,106,30,0.06); border: 1px solid rgba(160,106,30,0.28); }

/* ===== WHY ===== */
.ipage-why { padding: 80px 0 60px; }
.ipage-why-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
@media (max-width: 900px) { .ipage-why-grid { grid-template-columns: 1fr; } }
.ipage-why-card {
  background: #fefaef;
  border: 1px solid rgba(60,83,64,0.10);
  border-radius: 18px;
  padding: 32px 28px 24px;
  display: flex; flex-direction: column; gap: 14px;
}
.ipage-why-card h3 {
  font-size: 20px; font-weight: 600; letter-spacing: -0.012em;
  color: #2a3a2b; margin: 0;
}
.ipage-why-card p {
  font-size: 14px; line-height: 1.6; color: var(--c-muted-strong);
}
.ipage-why-art {
  margin-top: auto; height: 110px; border-radius: 12px;
  border: 1px solid rgba(60,83,64,0.08);
  position: relative; overflow: hidden;
}
.ipage-why-art-1 {
  background:
    radial-gradient(circle at 22% 50%, #2aabee 0 22px, transparent 23px),
    radial-gradient(circle at 50% 50%, #25d366 0 22px, transparent 23px),
    radial-gradient(circle at 78% 50%, #5865f2 0 22px, transparent 23px),
    linear-gradient(90deg, rgba(60,83,64,0.04), rgba(60,83,64,0.08));
}
.ipage-why-art-2 {
  background:
    radial-gradient(ellipse 60% 50% at 30% 60%, rgba(77,105,78,0.18), transparent 70%),
    repeating-linear-gradient(90deg, transparent 0 18px, rgba(77,105,78,0.10) 18px 19px),
    linear-gradient(180deg, #fefaef, rgba(77,105,78,0.04));
}
.ipage-why-art-3 {
  background:
    radial-gradient(circle at 30% 60%, #2a4f8e 0 18px, transparent 19px),
    radial-gradient(circle at 50% 60%, #2a4f8e 0 18px, transparent 19px),
    radial-gradient(circle at 70% 60%, #2a4f8e 0 18px, transparent 19px),
    linear-gradient(180deg, #fefaef, rgba(60,83,64,0.04));
}

/* ===== REQUEST CTA ===== */
.ipage-request {
  margin-top: 60px;
  padding: 60px 32px;
}
.ipage-request-inner {
  background:
    radial-gradient(ellipse 700px 300px at 50% 0%, rgba(77,105,78,0.10), transparent 70%),
    #fefaef;
  border: 1px solid rgba(60,83,64,0.10);
  border-radius: 22px;
  padding: 56px 40px;
  text-align: center;
  max-width: 760px; margin: 0 auto;
}
.ipage-request h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 600; letter-spacing: -0.025em;
  color: #2a3a2b; margin-bottom: 12px;
}
.ipage-request p {
  font-size: 16px; line-height: 1.6; color: var(--c-muted-strong);
  max-width: 540px; margin: 0 auto 26px;
}
