/* ==========================================================================
   COLLABORATION & ADVISORY ENGAGEMENT SYSTEM (collaboration.css)
   thomascherickal.github.io
   Engagement metrics, collaboration tiers, audience categories, lifecycle steps,
   and executive call-to-action cards.
   ========================================================================== */

.metric-strip {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 1.25rem;
      max-width: 1200px;
      margin: 2.5rem auto 3.5rem;
      padding: 0 1rem;
    }

    .metric-card {
      background: var(--bg-card);
      border: 1.5px solid var(--border-gold);
      border-radius: var(--radius-lg);
      padding: 1.5rem 1.25rem;
      text-align: center;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
      transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    }

    .metric-card:hover {
      transform: translateY(-4px);
      border-color: var(--gold);
      box-shadow: var(--glow-gold);
    }

    .metric-num {
      font-family: var(--font-display);
      font-size: 2.2rem;
      font-weight: 800;
      color: var(--gold);
      line-height: 1.1;
      margin-bottom: 0.35rem;
    }

    .metric-label {
      font-size: 0.86rem;
      color: var(--text-secondary);
      font-family: var(--font-mono);
      letter-spacing: 0.02em;
    }

    .collab-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
      gap: 1.5rem;
      max-width: 1240px;
      margin: 0 auto;
      padding: 0 1rem;
    }

    .collab-card {
      background: var(--bg-card);
      border-radius: var(--radius-lg);
      padding: 2rem 1.75rem;
      display: flex;
      flex-direction: column;
      position: relative;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
      transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
    }

    .collab-card:hover {
      transform: translateY(-5px);
    }

    .border-gold,
    .collab-card.border-gold {
      border: 1.5px solid var(--border-gold);
    }

    .border-gold:hover,
    .collab-card.border-gold:hover {
      border-color: var(--gold);
      box-shadow: var(--glow-gold);
    }

    .border-cyan,
    .collab-card.border-cyan {
      border: 1.5px solid var(--border);
    }

    .border-cyan:hover,
    .collab-card.border-cyan:hover {
      border-color: var(--cyan);
      box-shadow: var(--glow-cyan);
    }

    .border-violet,
    .collab-card.border-violet {
      border: 1.5px solid rgba(165, 180, 252, 0.45);
    }

    .border-violet:hover,
    .collab-card.border-violet:hover {
      border-color: var(--violet);
      box-shadow: var(--glow-violet);
    }

    .border-red,
    .collab-card.border-red {
      border: 1.5px solid rgba(251, 113, 133, 0.45);
    }

    .border-red:hover,
    .collab-card.border-red:hover {
      border-color: var(--red);
      box-shadow: 0 0 24px rgba(251, 113, 133, 0.4);
    }

    .btn-linkedin {
      background: rgba(10, 102, 194, 0.22);
      border: 1.5px solid #0a66c2;
      color: #ffffff !important;
      font-weight: 700;
      transition: all 0.25s ease;
    }

    .btn-linkedin:hover {
      background: #0a66c2 !important;
      box-shadow: 0 0 20px rgba(10, 102, 194, 0.5);
      transform: translateY(-2px);
    }

    .btn-topmate {
      background: rgba(228, 67, 50, 0.15) !important;
      border: 1.5px solid #e44332 !important;
      color: #ffffff !important;
      font-weight: 700;
      transition: all 0.28s ease;
    }

    .btn-topmate:hover {
      background: #e44332 !important;
      border-color: #ff6b5b !important;
      box-shadow: 0 0 24px rgba(228, 67, 50, 0.7), 0 6px 18px rgba(0, 0, 0, 0.5) !important;
      transform: translateY(-2.5px) scale(1.02);
    }

    .btn-pricing-cta {
      background: rgba(255, 255, 255, 0.05) !important;
      border: 1.5px solid var(--border-gold) !important;
      color: var(--text-primary) !important;
      font-weight: 700;
      transition: all 0.28s ease;
    }

    .btn-pricing-cta:hover {
      background: rgba(251, 191, 36, 0.16) !important;
      border-color: var(--gold) !important;
      color: #ffffff !important;
      box-shadow: 0 0 24px rgba(251, 191, 36, 0.7), 0 6px 18px rgba(0, 0, 0, 0.5) !important;
      transform: translateY(-2.5px) scale(1.02);
    }

    /* Top Action Hero Buttons Animations */
    @keyframes heroBtnEntrance {
      0% {
        opacity: 0;
        transform: translateY(16px);
      }

      100% {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @keyframes pulseGlowGold {

      0%,
      100% {
        box-shadow: 0 0 16px rgba(245, 158, 11, 0.4), 0 0 6px #f59e0b, 0 4px 14px rgba(0, 0, 0, 0.6);
        border-color: #f59e0b;
      }

      50% {
        box-shadow: 0 0 30px rgba(251, 191, 36, 0.85), 0 0 12px #fbbf24, 0 6px 20px rgba(245, 158, 11, 0.5);
        border-color: #fbbf24;
      }
    }

    @keyframes pulseGlowAmber {

      0%,
      100% {
        box-shadow: 0 0 12px rgba(251, 191, 36, 0.25), 0 4px 12px rgba(0, 0, 0, 0.5);
        border-color: rgba(251, 191, 36, 0.5);
      }

      50% {
        box-shadow: 0 0 24px rgba(251, 191, 36, 0.65), 0 4px 16px rgba(0, 0, 0, 0.6);
        border-color: rgba(251, 191, 36, 0.9);
      }
    }

    @keyframes pulseGlowCyan {

      0%,
      100% {
        box-shadow: 0 0 12px rgba(56, 189, 248, 0.25), 0 4px 12px rgba(0, 0, 0, 0.5);
        border-color: rgba(56, 189, 248, 0.45);
      }

      50% {
        box-shadow: 0 0 24px rgba(56, 189, 248, 0.75), 0 4px 16px rgba(0, 0, 0, 0.6);
        border-color: rgba(56, 189, 248, 0.9);
      }
    }

    @keyframes btnShineSweep {
      0% {
        left: -120%;
      }

      20%,
      100% {
        left: 140%;
      }
    }

    .top-hero-btn {
      position: relative;
      overflow: hidden;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      border-radius: var(--radius);
      text-decoration: none;
      transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.28s ease, border-color 0.28s ease, background 0.28s ease, color 0.28s ease;
      will-change: transform, box-shadow;
    }

    .top-hero-btn::after {
      content: '';
      position: absolute;
      top: 0;
      left: -120%;
      width: 60%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
      transform: skewX(-20deg);
      pointer-events: none;
      animation: btnShineSweep 6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    }

    .top-hero-btn:hover {
      transform: translateY(-3px) scale(1.02);
    }

    .top-hero-btn:active {
      transform: translateY(0px) scale(0.98);
    }

    .top-hero-btn-1 {
      animation: heroBtnEntrance 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s backwards, pulseGlowGold 3.2s ease-in-out infinite 0.7s;
    }

    .top-hero-btn-1::after {
      animation-delay: 1.5s;
    }

    .top-hero-btn-2 {
      animation: heroBtnEntrance 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.22s backwards, pulseGlowAmber 3.6s ease-in-out infinite 0.85s;
    }

    .top-hero-btn-2::after {
      animation-delay: 3.5s;
    }

    .top-hero-btn-2:hover {
      background: rgba(251, 191, 36, 0.16) !important;
      border-color: var(--gold) !important;
      color: #ffffff !important;
      box-shadow: 0 0 28px rgba(251, 191, 36, 0.8), 0 6px 20px rgba(0, 0, 0, 0.6) !important;
    }

    .top-hero-btn-3 {
      animation: heroBtnEntrance 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.34s backwards, pulseGlowCyan 3.4s ease-in-out infinite 1s;
    }

    .top-hero-btn-3::after {
      animation-delay: 5.5s;
    }

    .top-hero-btn-3:hover {
      background: rgba(56, 189, 248, 0.2) !important;
      border-color: var(--cyan) !important;
      color: #ffffff !important;
      box-shadow: 0 0 28px rgba(56, 189, 248, 0.8), 0 6px 20px rgba(0, 0, 0, 0.6) !important;
    }

    .collab-tag {
      font-family: var(--font-mono);
      font-size: 0.72rem;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      padding: 0.25rem 0.6rem;
      border-radius: 4px;
      display: inline-block;
      width: fit-content;
      margin-bottom: 1rem;
    }

    .tag-gold {
      background: rgba(251, 191, 36, 0.12);
      color: var(--gold);
      border: 1px solid rgba(251, 191, 36, 0.25);
    }

    .tag-cyan {
      background: rgba(56, 189, 248, 0.12);
      color: var(--cyan);
      border: 1px solid rgba(56, 189, 248, 0.25);
    }

    .tag-violet {
      background: rgba(165, 180, 252, 0.12);
      color: var(--violet);
      border: 1px solid rgba(165, 180, 252, 0.25);
    }

    .tag-red {
      background: rgba(251, 113, 133, 0.12);
      color: var(--red);
      border: 1px solid rgba(251, 113, 133, 0.25);
    }

    .collab-icon {
      font-size: 2rem;
      margin-bottom: 0.75rem;
      display: inline-block;
    }

    .collab-title {
      font-size: 1.28rem;
      font-weight: 700;
      margin-bottom: 0.75rem;
      line-height: 1.35;
    }

    .collab-desc {
      font-size: 0.95rem;
      color: var(--text-secondary);
      line-height: 1.68;
      margin-bottom: 1.25rem;
      flex-grow: 1;
    }

    .collab-deliverables {
      border-top: 1px solid rgba(255, 255, 255, 0.08);
      padding-top: 1rem;
      margin-top: auto;
      font-size: 0.86rem;
      color: var(--text-muted);
    }

    .deliverables-title {
      font-family: var(--font-mono);
      font-size: 0.75rem;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      color: var(--cyan);
      margin-bottom: 0.4rem;
    }

    /* Lifecycle Steps */
    .lifecycle-container {
      max-width: 1100px;
      margin: 3.5rem auto;
      padding: 0 1rem;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 1.5rem;
    }

    .step-card {
      background: var(--bg-card);
      border: 1.5px solid var(--border);
      border-radius: var(--radius);
      padding: 1.75rem 1.25rem;
      text-align: center;
      position: relative;
      box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
      transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    }

    .step-card:hover {
      transform: translateY(-4px);
      border-color: var(--gold);
      box-shadow: var(--glow-gold);
    }

    .step-number {
      font-family: var(--font-mono);
      font-size: 1.75rem;
      font-weight: 700;
      color: var(--gold);
      margin-bottom: 0.5rem;
      display: inline-block;
    }

    .step-heading {
      font-size: 1.05rem;
      font-weight: 700;
      color: var(--text-primary);
      margin-bottom: 0.5rem;
    }

    .step-body {
      font-size: 0.86rem;
      color: var(--text-secondary);
      line-height: 1.55;
    }

    /* FAQ accordion styling */
    .faq-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
      gap: 1.5rem;
      max-width: 1100px;
      margin: 2.5rem auto 0;
      padding: 0 1rem;
    }

    @media (max-width: 900px) {
      .faq-grid {
        grid-template-columns: 1fr !important;
      }

      .collab-grid {
        grid-template-columns: 1fr !important;
      }
    }

    @media (max-width: 640px) {
      .faq-card {
        padding: 1.25rem 1rem !important;
      }

      .collab-card {
        padding: 1.5rem 1.15rem !important;
      }
    }

    .faq-card {
      background: var(--bg-card);
      border: 1.5px solid rgba(255, 255, 255, 0.25);
      border-radius: var(--radius);
      padding: 1.5rem 1.5rem;
      box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
      transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    }

    .faq-card:hover {
      border-color: var(--gold);
      box-shadow: var(--glow-gold);
    }

    .faq-question {
      font-size: 1.05rem;
      font-weight: 700;
      color: var(--gold);
      margin-bottom: 0.6rem;
      line-height: 1.4;
    }

    .faq-answer {
      font-size: 0.92rem;
      color: var(--text-secondary);
      line-height: 1.65;
    }

    /* Audience Grid */
    .audience-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 1.5rem;
      max-width: 1160px;
      margin: 2.5rem auto 0;
      padding: 0 1rem;
    }

    .audience-card {
      background: var(--bg-card);
      border: 1.5px solid var(--border-gold);
      border-radius: var(--radius-lg);
      padding: 1.75rem 1.5rem;
      text-align: left;
      box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
      transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    }

    .audience-card:hover {
      transform: translateY(-3px);
      border-color: var(--cyan);
      box-shadow: var(--glow-cyan);
    }

    .role-card {
      border-radius: var(--radius-lg);
      box-shadow: 0 4px 25px rgba(0, 0, 0, 0.5);
    }

    .audience-icon {
      font-size: 2rem;
      margin-bottom: 0.75rem;
    }

    .audience-title {
      font-size: 1.15rem;
      font-weight: 700;
      color: var(--cyan);
      margin-bottom: 0.5rem;
    }

    .audience-desc {
      font-size: 0.9rem;
      color: var(--text-secondary);
      line-height: 1.6;
    }

    .divider {
      height: 1px;
      background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.05) 20%, rgba(255, 255, 255, 0.05) 80%, transparent 100%);
      box-shadow: none;
      margin: 3.5rem clamp(1.5rem, 8vw, 8rem);
      border: none;
      opacity: 0.6;
    }

    @media (max-width: 768px) {
      .divider {
        margin: 2.5rem 1.25rem;
      }
    }

    footer#links,
    footer {
      border-top: none !important;
    }

/* ==========================================================================
   RESPONSIVE DESIGN (collaboration.css)
   ========================================================================== */
@media (max-width: 480px) {
  .collab-card {
    padding: 1.35rem 1.15rem;
  }
  .metric-card {
    padding: 1.15rem 1rem;
  }
  .metric-num {
    font-size: 1.8rem;
  }
}
