/* ==========================================================================
   KHEE KHEE - SECTION 15: YOUR INFLUENCER MARKETING. YOUR PLATFORM. & FINAL CTA
   Ultra-Compact Grand Finale Section:
   Ownership Manifesto, 6 Capabilities Capsule Flow,
   Grand Final Conversion Callout Card with Direct Actions.
   ========================================================================== */

.final-cta-section {
  position: relative;
  padding: 165px 0;
  background: linear-gradient(180deg, #07090E 0%, #0C1224 50%, #07090E 100%);
  border-top: 1px solid var(--color-border);
  overflow: hidden;
}

/* Ambient Radial Glows */
.final-cta-section::before {
  content: "";
  position: absolute;
  top: 25%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 860px;
  height: 480px;
  background: radial-gradient(circle, rgba(26, 47, 160, 0.22) 0%, rgba(56, 189, 248, 0.06) 50%, transparent 75%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.final-cta-container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

/* ==========================================================================
   PART 1: OWNERSHIP MANIFESTO & CAPABILITIES
   ========================================================================== */
.ownership-header {
  text-align: center;
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.ownership-tag {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 2px;
}

.ownership-title {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 3vw, 2.35rem);
  font-weight: 700;
  color: var(--color-text-primary);
  line-height: 1.2;
  margin-bottom: 12px;
}

.ownership-lead {
  font-family: var(--font-body);
  font-size: 1.08rem;
  font-weight: 500;
  color: #CBD5E1;
  line-height: 1.6;
  max-width: 760px;
  margin: 0;
}

.ownership-desc {
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  max-width: 760px;
  margin: 0;
}

/* Capabilities Capsule Flow */
.ownership-capabilities-wrapper {
  max-width: 980px;
  margin: 8px auto 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.capabilities-flow {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 14px;
}

.capability-capsule {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  background: rgba(14, 21, 38, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius-pill);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  color: #E2E8F0;
  line-height: 1.35;
  cursor: default;
  user-select: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.22s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.22s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1),
    color 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.capability-capsule .cap-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent-blue);
  box-shadow: 0 0 6px var(--color-accent-blue);
  flex-shrink: 0;
  transition: transform 0.22s ease, background 0.22s ease;
}

.capability-capsule:hover {
  transform: translateY(-2px) scale(1.02);
  background: rgba(26, 47, 160, 0.28);
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 6px 16px -3px rgba(0, 0, 0, 0.5), 0 0 14px rgba(56, 189, 248, 0.2);
  color: #FFFFFF;
}

.capability-capsule:hover .cap-dot {
  transform: scale(1.4);
  background: #38BDF8;
  box-shadow: 0 0 10px #38BDF8;
}

.capabilities-summary-tag {
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 600;
  color: #94A3B8;
  letter-spacing: 0.02em;
}

/* ==========================================================================
   PART 2: GRAND FINALE CTA CARD
   ========================================================================== */
.grand-cta-wrapper {
  max-width: 980px;
  margin: 12px auto 0 auto;
  width: 100%;
}

.grand-cta-card {
  position: relative;
  background: linear-gradient(135deg, rgba(14, 21, 38, 0.9) 0%, rgba(20, 30, 58, 0.85) 100%);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: var(--border-radius-xl, 24px);
  padding: 52px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.65), 0 0 32px rgba(26, 47, 160, 0.2);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.3s ease,
    box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.grand-cta-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #1A2FA0, #38BDF8, #818CF8, #38BDF8);
}

.grand-cta-card:hover {
  transform: translateY(-3px);
  border-color: rgba(56, 189, 248, 0.55);
  box-shadow: 0 26px 60px -14px rgba(0, 0, 0, 0.75), 0 0 40px rgba(56, 189, 248, 0.16);
}

.grand-cta-title {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 3vw, 2.45rem);
  font-weight: 700;
  color: var(--color-text-primary);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0;
}

.grand-cta-desc {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: #CBD5E1;
  line-height: 1.65;
  max-width: 720px;
  margin: 0;
}

.grand-cta-punchline {
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 700;
  color: #F8FAFC;
  margin: 4px 0 6px 0;
}

.grand-cta-punchline span {
  color: #38BDF8;
}

.grand-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 8px;
}

.grand-cta-actions .btn {
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--border-radius-pill);
}

/* ==========================================================================
   SCROLL REVEAL & INTERACTIVE MOTION
   ========================================================================== */
.final-cta-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.final-cta-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (Mobile Stacking & Sizing Parity)
   ========================================================================== */
@media (max-width: 1024px) {
  .final-cta-section {
    padding: 120px 0;
  }

  .final-cta-container {
    gap: 44px;
  }

  .grand-cta-card {
    padding: 42px 36px;
  }
}

@media (max-width: 768px) {
  .final-cta-section {
    padding: 95px 0;
  }

  .final-cta-container {
    gap: 36px;
  }

  .ownership-title {
    font-size: 1.85rem;
    margin-top: 8px;
  }

  .ownership-lead {
    font-size: 0.95rem;
  }

  .ownership-desc {
    font-size: 0.9rem;
  }

  .capability-capsule {
    padding: 7px 14px;
    font-size: 0.82rem;
  }

  .grand-cta-card {
    padding: 32px 24px;
    gap: 18px;
  }

  .grand-cta-title {
    font-size: 1.6rem;
  }

  .grand-cta-desc {
    font-size: 0.92rem;
  }

  .grand-cta-punchline {
    font-size: 1.05rem;
  }

  .grand-cta-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .grand-cta-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 12px 24px;
  }

  .capabilities-flow {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .final-cta-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .grand-cta-card,
  .capability-capsule {
    transition: none !important;
    transform: none !important;
  }
}