/* ============================
   Partners Page — Vercel-Inspired
   ============================ */

/* ---- Hero ---- */
.pa-hero {
  position: relative;
  padding: 180px 24px 100px;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  overflow: hidden;
}
.pa-headline {
  font-size: clamp(40px, 6.5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.08;
  color: #fff;
  margin-bottom: 20px;
}
.pa-subhead {
  font-size: 17px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  max-width: 540px;
  margin: 0 auto 36px;
}
.pa-hero-btns {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---- Floating "+" Particles ---- */
.pa-hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.pa-particle {
  position: absolute;
  font-size: 18px;
  font-weight: 300;
  color: rgba(255,255,255,0.06);
  animation: pa-float linear infinite;
  will-change: transform, opacity;
}
.pa-particle:nth-child(1)  { left: 8%;  top: 15%; animation-duration: 14s; animation-delay: 0s;   font-size: 22px; }
.pa-particle:nth-child(2)  { left: 20%; top: 60%; animation-duration: 18s; animation-delay: -3s;  font-size: 16px; }
.pa-particle:nth-child(3)  { left: 35%; top: 25%; animation-duration: 16s; animation-delay: -7s;  font-size: 20px; }
.pa-particle:nth-child(4)  { left: 50%; top: 70%; animation-duration: 20s; animation-delay: -2s;  font-size: 14px; }
.pa-particle:nth-child(5)  { left: 65%; top: 20%; animation-duration: 15s; animation-delay: -5s;  font-size: 24px; }
.pa-particle:nth-child(6)  { left: 80%; top: 55%; animation-duration: 17s; animation-delay: -8s;  font-size: 18px; }
.pa-particle:nth-child(7)  { left: 12%; top: 80%; animation-duration: 19s; animation-delay: -4s;  font-size: 15px; }
.pa-particle:nth-child(8)  { left: 42%; top: 10%; animation-duration: 13s; animation-delay: -6s;  font-size: 20px; }
.pa-particle:nth-child(9)  { left: 72%; top: 75%; animation-duration: 21s; animation-delay: -1s;  font-size: 16px; }
.pa-particle:nth-child(10) { left: 90%; top: 30%; animation-duration: 16s; animation-delay: -9s;  font-size: 22px; }
.pa-particle:nth-child(11) { left: 55%; top: 45%; animation-duration: 18s; animation-delay: -11s; font-size: 14px; }
.pa-particle:nth-child(12) { left: 28%; top: 50%; animation-duration: 22s; animation-delay: -13s; font-size: 18px; }

@keyframes pa-float {
  0%   { transform: translateY(0) rotate(0deg);   opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateY(-120px) rotate(180deg); opacity: 0; }
}

/* ---- Buttons ---- */
.pa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  white-space: nowrap;
}
.pa-btn span { transition: transform 0.25s; }
.pa-btn:hover span { transform: translateX(3px); }
.pa-btn-solid {
  background: #f5f5f5;
  border: 1px solid #f5f5f5;
  color: #0c130f;
}
.pa-btn-solid:hover {
  background: #fff;
  border-color: #fff;
  box-shadow: 0 0 20px rgba(255,255,255,0.1);
  transform: translateY(-1px);
}
.pa-btn-ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.8);
}
.pa-btn-ghost:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.25);
  color: #fff;
}
.pa-btn-lg {
  padding: 14px 32px;
  font-size: 15px;
}

/* ---- Sections ---- */
.pa-section {
  padding: 80px 24px;
  max-width: 1080px;
  margin: 0 auto;
}
.pa-section--divider {
  border-top: 1px solid rgba(255,255,255,0.06);
}
.pa-section-header {
  text-align: center;
  margin-bottom: 56px;
}
.pa-section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: #fff;
}

/* ---- Why Partner — Value Cards ---- */
.pa-value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.pa-value-card {
  padding: 36px 28px;
  background: #141414;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  transition: border-color 0.35s, transform 0.35s, box-shadow 0.35s;
}
.pa-value-card:hover {
  border-color: rgba(255,255,255,0.12);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}
.pa-value-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: rgba(255,255,255,0.5);
}
.pa-value-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.pa-value-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
}

/* ---- Why Deck — Feature Cards ---- */
.pa-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.pa-feature-card {
  padding: 36px 28px;
  background: #141414;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  transition: border-color 0.35s, transform 0.35s, box-shadow 0.35s;
}
.pa-feature-card:hover {
  border-color: rgba(255,255,255,0.12);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}
.pa-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: rgba(255,255,255,0.5);
}
.pa-feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.pa-feature-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
}

/* ---- Ways to Partner — Large Cards ---- */
.pa-partner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.pa-partner-card {
  background: #141414;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.4s, transform 0.4s, box-shadow 0.4s;
  position: relative;
}
.pa-partner-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: radial-gradient(ellipse at 50% 0%, rgba(255,255,255,0.03) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.pa-partner-card:hover {
  border-color: rgba(255,255,255,0.16);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.35);
}
.pa-partner-card:hover::before {
  opacity: 1;
}
.pa-partner-card-inner {
  padding: 48px 36px;
  position: relative;
}
.pa-partner-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  margin-bottom: 20px;
}
.pa-partner-card h3 {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}
.pa-partner-card p {
  font-size: 15px;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 400px;
}

/* ---- Steps ---- */
.pa-steps-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  max-width: 860px;
  margin: 0 auto;
}
.pa-step {
  flex: 1;
  text-align: center;
  padding: 0 24px;
}
.pa-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.03) 100%);
  border: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 20px;
  position: relative;
}
.pa-step-num::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,255,255,0.08), transparent);
  z-index: -1;
  filter: blur(8px);
}
.pa-step h3 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.pa-step p {
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  line-height: 1.65;
}
.pa-step-divider {
  width: 60px;
  height: 1px;
  background: rgba(255,255,255,0.08);
  flex-shrink: 0;
  margin-top: 24px;
}

/* ---- Bottom CTA ---- */
.pa-cta {
  padding: 100px 24px 120px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.pa-cta-inner {
  max-width: 540px;
  margin: 0 auto;
}
.pa-cta h2 {
  font-size: clamp(28px, 4.5vw, 42px);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: #fff;
  margin-bottom: 14px;
}
.pa-cta p {
  font-size: 16px;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  margin-bottom: 32px;
}

/* ============================
   Responsive
   ============================ */
@media (max-width: 1024px) {
  .pa-value-grid,
  .pa-feature-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .pa-hero { padding: 140px 16px 72px; }
  .pa-headline { font-size: clamp(32px, 8vw, 44px); }
  .pa-section { padding: 60px 16px; }
  .pa-section-header { margin-bottom: 36px; }

  .pa-value-grid,
  .pa-feature-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }

  .pa-partner-grid { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }

  .pa-steps-grid {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }
  .pa-step { padding: 0; max-width: 300px; }
  .pa-step-divider {
    width: 1px;
    height: 32px;
    margin-top: 0;
  }

  .pa-cta { padding: 72px 16px 96px; }
}

@media (max-width: 480px) {
  .pa-hero { padding: 120px 14px 56px; }
  .pa-subhead { font-size: 15px; }
  .pa-hero-btns { flex-direction: column; align-items: center; }
  .pa-partner-card-inner { padding: 32px 24px; }
  .pa-partner-card h3 { font-size: 20px; }
  .pa-cta { padding: 56px 14px 80px; }
}
