/* =========================================================================
   WAIS INDONESIA 2026 — OFFICIAL ECOSYSTEM ENHANCED CORE STYLESHEET
   ========================================================================= */

.page-ecosystem {
  background: #060b24;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  font-family: var(--font-inter, 'Inter', sans-serif);
}

/* --- HERO CANVAS BACKGROUND SYSTEMS --- */
.page-ecosystem .pt-grid-bg {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image: radial-gradient(rgba(27,154,214,0.09) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 90% 90% at 50% 40%, black 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 90% at 50% 40%, black 20%, transparent 100%);
}

.page-ecosystem .pt-glow-tl {
  position: fixed; top: -160px; left: -160px; width: 600px; height: 600px;
  border-radius: 50%; pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(167,139,250,0.14) 0%, transparent 70%);
}

.page-ecosystem .pt-glow-br {
  position: fixed; bottom: -160px; right: -160px; width: 560px; height: 560px;
  border-radius: 50%; pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(192,244,60,0.08) 0%, transparent 70%);
}

/* --- DYNAMIC AMBIENT PARTICLES --- */
.page-ecosystem .pt-particle {
  position: fixed; bottom: 0; width: 3px; height: 3px; border-radius: 50%;
  opacity: 0; pointer-events: none; z-index: 0;
  animation: pt-rise linear infinite;
}

@keyframes pt-rise {
  0%   { transform: translateY(0); opacity: 0; }
  10%  { opacity: 0.4; }
  88%  { opacity: 0.1; }
  100% { transform: translateY(-100vh); opacity: 0; }
}

/* --- INTERSECTION ANIMATION HOOKS --- */
.page-ecosystem .pt-reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.page-ecosystem .pt-in { 
  opacity: 1 !important; transform: none !important; 
}

/* --- HERO WRAPPER SPONSORS MATCHER --- */
.page-ecosystem .pt-hero {
  position: relative; z-index: 2;
  max-width: 860px; margin: 0 auto;
  padding: 140px 48px 40px;
  display: flex; flex-direction: column; gap: 22px;
}

.page-ecosystem .pt-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; width: fit-content;
  font-family: var(--font-space, 'Space Grotesk', sans-serif); font-size: 11px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; color: #1b9ad6;
  border: 1px solid rgba(27,154,214,0.35); padding: 6px 20px; border-radius: 100px;
  background: rgba(27,154,214,0.06);
}

.page-ecosystem .pt-eye-dot {
  width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0;
  animation: pt-blink 2s ease-in-out infinite;
}
@keyframes pt-blink { 0%,100%{opacity:1} 50%{opacity:0.25} }

.page-ecosystem .pt-h1 {
  font-family: var(--font-space, 'Space Grotesk', sans-serif);
  font-size: clamp(38px, 5vw, 72px);
  font-weight: 800; color: #fff;
  letter-spacing: -0.03em; line-height: 1.08; margin: 0;
}

.page-ecosystem .pt-grad {
  background: linear-gradient(100deg, #a78bfa 0%, #1b9ad6 50%, #c0f43c 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-ecosystem .pt-sub {
  font-size: 17px; line-height: 1.75;
  color: rgba(255,255,255,0.55); max-width: 780px; margin: 0;
}

/* --- CARDS DISPLAY GRID --- */
.page-ecosystem .partners-section {
  position: relative; z-index: 5;
  padding: 20px 0 100px 0;
}

.page-ecosystem .container {
  width: 90%; max-width: 1280px; margin: 0 auto;
}

.page-ecosystem .partners-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* --- PREMIUM INTERACTION GRID CARDS --- */
.page-ecosystem .partner-card {
  position: relative;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 24px;
  overflow: hidden;
  padding: 48px 32px 40px;
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 380px; box-sizing: border-box;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
}

.page-ecosystem .partner-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.page-ecosystem .pt-card-shine {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
}

.page-ecosystem .pt-card-top-bar {
  position: absolute; top: 0; left: 0; right: 0; height: 4px; z-index: 2;
}

.page-ecosystem .partner-card h3 {
  font-family: var(--font-space, 'Space Grotesk', sans-serif);
  font-size: 1.65rem; font-weight: 700; color: #ffffff;
  margin: 0 0 16px 0; letter-spacing: -0.01em;
}

.page-ecosystem .partner-card .card-p {
  font-size: 0.95rem; line-height: 1.65;
  color: rgba(255, 255, 255, 0.5); margin: 0 0 32px 0;
}

/* --- DYNAMIC REGISTER PILL ACTION BUTTONS --- */
.page-ecosystem .btn-register {
  font-family: var(--font-space, 'Space Grotesk', sans-serif);
  font-size: 13px; font-weight: 700; color: #1a1f4e;
  background: #c0f43c; padding: 12px 24px; border-radius: 100px;
  display: inline-block; white-space: nowrap; letter-spacing: 0.02em;
  text-align: center; border: none; text-decoration: none;
  width: fit-content; z-index: 5; box-sizing: border-box;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.page-ecosystem .btn-register:hover {
  opacity: 0.9; transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(192, 244, 60, 0.3);
}

/* --- SCREEN BREAKPOINT MANAGEMENT RESPONSIVENESS --- */
@media (max-width: 1200px) {
  .page-ecosystem .partners-grid-4 { 
    grid-template-columns: repeat(2, 1fr); gap: 24px;
  }
}

@media (max-width: 900px) {
  .page-ecosystem .pt-hero { padding: 100px 24px 30px; }
  .page-ecosystem .partners-grid-4 { grid-template-columns: 1fr; gap: 20px; }
  .page-ecosystem .partner-card { min-height: unset; padding: 40px 28px; }
  .page-ecosystem .btn-register { width: 100%; }
}