/* sections/plan.css */
/* Plan section — dark, centered, orb aurora background, includes list, CTA button */

/* ============================================================
   KEYFRAMES
   ============================================================ */

@keyframes planSheen {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes planShine {
  0% {
    left: -60%;
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    left: 120%;
    opacity: 0;
  }
}

@keyframes orbFloat {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-20px) scale(1.05);
  }
}

/* ============================================================
   SECTION
   ============================================================ */

.plan {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  text-align: center;
  padding: var(--space-32) 6vw;
  background-color: var(--color-dark-section);
  color: var(--color-text-muted);
}

/* ============================================================
   AURORA — blurred orbs behind content
   ============================================================ */

.plan__aurora {
  position: absolute;
  inset: -20%;
  z-index: 0;
  filter: blur(30px);
  opacity: 0.85;
  pointer-events: none;
}

.plan__orb {
  position: absolute;
  border-radius: var(--border-radius-full);
}

.plan__orb--a {
  width: 45%;
  height: 45%;
  top: 10%;
  left: 5%;
  background: radial-gradient(circle, rgba(232, 148, 103, 0.35) 0%, transparent 70%);
  animation: orbFloat 8s ease-in-out infinite;
}

.plan__orb--b {
  width: 50%;
  height: 50%;
  top: 30%;
  right: 0%;
  background: radial-gradient(circle, rgba(154, 214, 175, 0.2) 0%, transparent 70%);
  animation: orbFloat 10s ease-in-out infinite reverse;
}

.plan__orb--c {
  width: 40%;
  height: 40%;
  bottom: 5%;
  left: 25%;
  background: radial-gradient(circle, rgba(232, 148, 103, 0.2) 0%, transparent 70%);
  animation: orbFloat 12s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .plan__orb {
    animation: none !important;
  }
}

/* ============================================================
   GRAIN OVERLAY
   ============================================================ */

.plan__grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.5;
  background:
    linear-gradient(
      rgba(68, 46, 28, 0.6),
      transparent 30%,
      transparent 70%,
      rgba(68, 46, 28, 0.7)
    ),
    radial-gradient(
      120% 120% at 50% 0%,
      transparent 55%,
      rgba(68, 46, 28, 0.8)
    );
}

/* ============================================================
   INNER — content wrapper
   ============================================================ */

.plan__inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
}

/* ============================================================
   KICKER
   ============================================================ */

.plan__kicker {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--font-size-xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(232, 148, 103, 0.85);
  margin-bottom: var(--space-6);
}

/* ============================================================
   TITLE
   ============================================================ */

.plan__title {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-light);
  font-size: clamp(var(--font-size-4xl), 6vw, var(--font-size-6xl));
  line-height: 0.98;
  letter-spacing: -0.01em;
  color: var(--color-text-muted);
  margin: 0 0 var(--space-8);
}

.plan__title em {
  font-style: italic;
  color: var(--color-text-primary);
}

/* ============================================================
   SUBTITLE
   ============================================================ */

.plan__sub {
  font-family: var(--font-body);
  font-size: clamp(var(--font-size-base), 1.3vw, var(--font-size-lg));
  line-height: 1.6;
  color: rgba(255, 252, 242, 0.8);
  max-width: 56ch;
  margin: 0 auto var(--space-12);
}

/* ============================================================
   INCLUDES LIST
   ============================================================ */

.plan__includes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  margin: 0 0 var(--space-12);
  padding: 0;
  gap: 12px 14px;
}

.plan__includes li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 20px;
  font-family: var(--font-body);
  font-size: var(--font-size-sm);
  letter-spacing: 0.01em;
  color: var(--color-text-muted);
  border-radius: var(--border-radius-full);
  border: 1px solid rgba(232, 148, 103, 0.32);
  background: rgba(255, 252, 242, 0.05);
  backdrop-filter: blur(1px);
  transition:
    transform var(--transition-base),
    border-color var(--transition-base),
    background var(--transition-base);
}

.plan__includes li:hover {
  transform: translateY(-2px);
  border-color: rgba(232, 148, 103, 0.6);
  background: rgba(255, 252, 242, 0.08);
}

.plan__includes li svg {
  flex-shrink: 0;
  color: var(--color-text-primary);
}

.plan__includes li:nth-child(1) { animation-delay: 0ms; }
.plan__includes li:nth-child(2) { animation-delay: 120ms; }
.plan__includes li:nth-child(3) { animation-delay: 240ms; }
.plan__includes li:nth-child(4) { animation-delay: 360ms; }
.plan__includes li:nth-child(5) { animation-delay: 480ms; }

/* ============================================================
   CTA WRAPPER
   ============================================================ */

.plan__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}

/* ============================================================
   CTA BUTTON
   ============================================================ */

.plan__btn {
  position: relative;
  appearance: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 19px 38px;
  border: none;
  border-radius: var(--border-radius-full);
  overflow: hidden;
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-dark-section);
  background: linear-gradient(
    100deg,
    var(--color-text-primary) 0%,
    #c88a5a 50%,
    var(--color-text-primary) 100%
  );
  background-size: 200% 100%;
  box-shadow:
    rgba(232, 148, 103, 0.7) 0px 6px 40px -12px,
    rgba(255, 252, 242, 0.2) 0px 0px 0px 1px inset;
  transition:
    transform var(--transition-base),
    gap var(--transition-base),
    box-shadow 0.3s ease;
  animation: planSheen 6s ease-in-out infinite;
  min-height: 56px;
}

.plan__btn:hover {
  transform: translateY(-2px);
  gap: 20px;
  box-shadow:
    rgba(232, 148, 103, 0.9) 0px 8px 42px -12px,
    rgba(255, 252, 242, 0.25) 0px 0px 0px 1px inset;
}

.plan__btn:active {
  transform: translateY(0);
}

.plan__btn:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

/* ============================================================
   BUTTON SHINE SWEEP
   ============================================================ */

.plan__btn-shine {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 40%;
  transform: skewX(-18deg);
  background: linear-gradient(
    100deg,
    transparent,
    rgba(255, 255, 255, 0.7),
    transparent
  );
  pointer-events: none;
  animation: planShine 4.5s ease-in-out infinite;
}

/* ============================================================
   CTA NOTE
   ============================================================ */

.plan__cta-note {
  font-family: var(--font-body);
  font-size: var(--font-size-xs);
  letter-spacing: 0.08em;
  color: rgba(255, 252, 242, 0.5);
  text-transform: none;
}

/* ============================================================
   PREFERS REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  .plan__btn,
  .plan__btn-shine,
  .plan__includes li {
    animation: none !important;
    transition: none !important;
  }
}