/* ======================================================
  COLLABORATION PAGE — SPECIAL ORANGE EDITION
  Premium • Warm • Leadership Tone
  Author: Amit Ku Yadav
  Sections: hero | partners | principles | utilities
====================================================== */


/* ======================================================
   1. PAGE BASE
====================================================== */

body {
  opacity: 0;
  animation: pageEnter 1.2s ease forwards;
}

@keyframes pageEnter {
  to { opacity: 1; }
}

.site-main {
  padding-top: 120px;
  padding-bottom: 120px;
}


/* ======================================================
   2. HERO SECTION (ORANGE PREMIUM)
====================================================== */

.page-intro {
  max-width: 820px;
  margin: 0 auto 100px auto;
  text-align: center;
  position: relative;
}

.page-intro h1 {
  font-size: clamp(2.5rem, 4vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 24px;
  background: linear-gradient(90deg, #ffffff, #FF671F);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.collab-message p {
  font-size: 1.1rem;
  line-height: 1.9;
  opacity: 0.9;
  max-width: 650px;
  margin: 0 auto;
}

/* Orange ambient glow */
.page-intro::before {
  content: "";
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,103,31,0.18), transparent 70%);
  filter: blur(80px);
  z-index: -1;
}


/* ======================================================
   3. CONNECT CARDS
====================================================== */

.connect-card {
  position: relative;
  overflow: hidden;
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s ease,
    border 0.4s ease;
  border: 1px solid rgba(255,255,255,0.06);
}

.connect-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(255,103,31,0.25);
  border: 1px solid rgba(255,103,31,0.5);
}

.connect-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,103,31,0.7),
    transparent
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.connect-card:hover::before {
  opacity: 1;
}


/* ======================================================
   4. PARTNER SECTION
====================================================== */

.collab-library {
  position: relative;
  margin-top: 140px;
}

.collab-library::before {
  content: "";
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 350px;
  background: radial-gradient(
    circle,
    rgba(255,103,31,0.15),
    transparent 70%
  );
  filter: blur(100px);
  z-index: -1;
}

.collab-library-item {
  padding: 30px;
  border-radius: 20px;
  transition: transform 0.3s ease;
}

.collab-library-item:hover {
  transform: translateY(-8px);
}

.collab-meta {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #FF671F;
  margin-bottom: 12px;
}


/* ======================================================
   5. CTA SECTION (POWERFUL ORANGE)
====================================================== */

.collab-cta {
  text-align: center;
  padding: 70px 40px;
  border-radius: 22px;
  margin-top: 140px;
  background: linear-gradient(
    135deg,
    rgba(255,103,31,0.12),
    rgba(0,0,0,0.6)
  );
  border: 1px solid rgba(255,103,31,0.3);
}

.collab-cta h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}

.collab-cta p {
  opacity: 0.9;
  margin-bottom: 30px;
}

/* Orange CTA button */

.cta-button {
  position: relative;
  display: inline-block;
  padding: 14px 34px;
  border-radius: 50px;
  background: #FF671F;
  color: #000;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(255,103,31,0.4);
}


/* ======================================================
   6. AMBIENT BACKGROUND
====================================================== */

body::before {
  content: "";
  position: fixed;
  top: -20%;
  left: -20%;
  width: 140%;
  height: 140%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,103,31,0.05), transparent 40%),
    radial-gradient(circle at 70% 70%, rgba(255,140,0,0.04), transparent 40%);
  animation: ambientMove 18s ease-in-out infinite alternate;
  z-index: -2;
  pointer-events: none;
}

@keyframes ambientMove {
  0% { transform: translate(0,0); }
  50% { transform: translate(-3%, 2%); }
  100% { transform: translate(3%, -2%); }
}


/* ======================================================
   7. RESPONSIVE
====================================================== */

@media (max-width: 1024px) {
  .collab-library-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .site-main {
    padding-top: 90px;
    padding-bottom: 90px;
  }

  .collab-library-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .collab-library-item {
    padding: 22px;
    border-radius: 16px;
  }
}
/* Hero CTA Layout */

.collab-hero .hero-label {
  /* small override: use brand orange for collaboration hero */
  color: var(--brand-orange);
  letter-spacing: 3px;
  margin-bottom: 25px;
}

.accent-orange {
  color: var(--brand-orange);
}

.hero-actions {
  margin-top: 40px;
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-secondary-btn {
  padding: 12px 30px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.3);
  text-decoration: none;
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 1px;
  transition: 0.3s ease;
}

.hero-secondary-btn:hover {
  border-color: #FF671F;
  color: #FF671F;
}
/* ===== Light Mode Fix for Secondary Hero Button ===== */

.theme-light .hero-secondary-btn {
  color: var(--brand-green);
  border-color: rgba(4,106,56,0.4);
  background: rgba(4,106,56,0.05);
}

.theme-light .hero-secondary-btn:hover {
  background: var(--brand-green);
  color: #fff;
  border-color: var(--brand-green);
}
