/* xθ — Integration Detail Page Shared Styles */

.int-detail, .ind-detail { padding: 6rem 2rem 4rem; max-width: 1000px; margin: 0 auto; position: relative; }

.int-detail > canvas#bg, .ind-detail > canvas#bg {
  position: absolute; top: 0; left: 0; width: 100vw; height: 600px;
  margin-left: calc(-50vw + 50%);
  z-index: 0; opacity: 0.35; pointer-events: none;
  mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}

.int-back, .int-hero-split, .int-section, .int-bottom-cta {
  position: relative; z-index: 1;
}

.int-hero-split { margin-bottom: 6rem; }

.int-back {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.85rem; color: rgba(255,255,255,0.35);
  text-decoration: none; margin-bottom: 2.5rem; transition: color 0.3s;
}
.int-back:hover { color: rgba(255,255,255,0.7); }

/* Hero */
.int-hero-split {
  display: flex; align-items: center; gap: 4rem; margin-bottom: 5rem;
}
.int-hero-left { flex: 1; }
.int-hero-right {
  flex-shrink: 0; width: 240px; height: 240px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 24px; position: relative; overflow: hidden;
}
.int-hero-right::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 60% 40%, var(--brand-glow, rgba(255,255,255,0.05)) 0%, transparent 70%);
}
.int-hero-right img, .int-hero-right svg { position: relative; z-index: 1; }

.int-hero-badge {
  font-size: 0.7rem; font-weight: 400; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(255,255,255,0.3);
  margin-bottom: 1rem;
}

.int-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 400; line-height: 1.15; color: #fff; margin-bottom: 1.2rem;
}
.int-hero-title em { font-style: italic; font-weight: 500; }
.int-hero-title .brand-color { color: var(--brand-color, #fff); }

.int-hero-desc {
  font-size: 0.95rem; font-weight: 300; color: rgba(255,255,255,0.45);
  line-height: 1.7; margin-bottom: 2rem; max-width: 500px;
}

.int-hero-cta {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.8rem; background: #fff; color: #000;
  font-family: 'Outfit', sans-serif; font-size: 0.9rem; font-weight: 500;
  border-radius: 8px; text-decoration: none; transition: background 0.3s;
}
.int-hero-cta:hover { background: rgba(255,255,255,0.85); color: #000; }

/* Section titles */
.int-section { margin-bottom: 4rem; }
.int-section-label {
  font-size: 0.7rem; font-weight: 400; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(255,255,255,0.25); margin-bottom: 1.5rem;
}
.int-section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem; font-weight: 400; color: #fff; margin-bottom: 2rem;
}
.int-section-title em { font-style: italic; font-weight: 500; }

/* Problem/Solution cards */
.int-cards {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}
.int-card-item {
  padding: 1.5rem; border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px; background: rgba(255,255,255,0.02);
  transition: border-color 0.3s;
}
.int-card-item:hover { border-color: rgba(255,255,255,0.12); }

.int-card-num {
  font-size: 0.65rem; font-weight: 500; letter-spacing: 0.08em;
  color: rgba(255,255,255,0.2); margin-bottom: 0.6rem;
}
.int-card-item h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem; font-weight: 500; color: rgba(255,255,255,0.85);
  margin-bottom: 0.4rem;
}
.int-card-item p {
  font-size: 0.85rem; font-weight: 300; color: rgba(255,255,255,0.4);
  line-height: 1.6;
}

/* Use cases */
.int-usecases { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.int-usecase {
  padding: 1.5rem; border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px; background: rgba(255,255,255,0.02);
  transition: border-color 0.3s;
}
.int-usecase:hover { border-color: var(--brand-color, rgba(255,255,255,0.15)); }

.int-usecase-tag {
  display: inline-block; font-size: 0.6rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--brand-color, rgba(255,255,255,0.5));
  background: var(--brand-glow, rgba(255,255,255,0.05));
  padding: 0.25rem 0.6rem; border-radius: 4px; margin-bottom: 0.8rem;
}
.int-usecase h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem; font-weight: 500; color: rgba(255,255,255,0.85);
  margin-bottom: 0.4rem;
}
.int-usecase p {
  font-size: 0.85rem; font-weight: 300; color: rgba(255,255,255,0.4);
  line-height: 1.6;
}

/* Bottom CTA */
.int-bottom-cta {
  text-align: center; padding: 3rem 2rem;
  border: 1px solid rgba(255,255,255,0.06); border-radius: 16px;
  background: rgba(255,255,255,0.02);
}
.int-bottom-cta h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem; font-weight: 400; color: #fff; margin-bottom: 0.8rem;
}
.int-bottom-cta p {
  font-size: 0.9rem; font-weight: 300; color: rgba(255,255,255,0.4);
  margin-bottom: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
  .int-hero-split { flex-direction: column; gap: 2rem; text-align: center; }
  .int-hero-right { width: 180px; height: 180px; margin: 0 auto; }
  .int-hero-desc { margin: 0 auto 2rem; }
  .int-cards, .int-usecases { grid-template-columns: 1fr; }
}
