/* ==============================================================================
   StarTON Membership 2.0 - Dedicated Premium Stylesheet (.stm-*)
   Theme: Dynamic Modern White Light Theme with Cosmic Midnight Navy & Electric Blue Accents
   ============================================================================== */

:root {
  --stm-navy-dark: #090d16;
  --stm-navy-slate: #0f172a;
  --stm-blue-primary: #0284c7;
  --stm-blue-glow: #38bdf8;
  --stm-border: #e2e8f0;
  --stm-card-bg: #ffffff;
  --stm-bg-light: #f8fafc;
  --stm-text-main: #0f172a;
  --stm-text-muted: #64748b;
  --stm-text-sub: #475569;
}

/* Container & Global Wrappers */
.stm-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.stm-section {
  padding: 64px 0;
  position: relative;
}

.stm-section-alt {
  background: #f8fafc;
  border-top: 1px solid #edf2f7;
  border-bottom: 1px solid #edf2f7;
}

/* Section Header Typography */
.stm-section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 48px;
}

.stm-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  color: #0284c7;
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.stm-section-title {
  font-size: 2.3rem;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.5px;
  line-height: 1.25;
  margin: 0 0 12px;
}

.stm-section-subtitle {
  font-size: 1.05rem;
  color: #64748b;
  line-height: 1.6;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   1. HERO SECTION
   -------------------------------------------------------------------------- */
.stm-hero-section {
  padding: 48px 0 64px;
  background: radial-gradient(circle at 80% 20%, rgba(224, 242, 254, 0.45) 0%, transparent 60%),
              radial-gradient(circle at 20% 80%, rgba(243, 232, 255, 0.35) 0%, transparent 60%);
}

.stm-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
}

.stm-hero-headline {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.15;
  color: #0f172a;
  margin: 0 0 18px;
  letter-spacing: -1px;
}

.stm-hero-headline .highlight {
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 50%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stm-hero-desc {
  font-size: 1.12rem;
  color: #475569;
  line-height: 1.65;
  margin: 0 0 24px;
}

.stm-hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.stm-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 700;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #0f172a;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.stm-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

/* Hero 3D Pass Card */
.stm-pass-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.08), 0 1px 3px rgba(15, 23, 42, 0.05);
  position: relative;
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stm-pass-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 56px rgba(14, 165, 233, 0.14);
}

.stm-pass-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #059669;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 9999px;
  letter-spacing: 0.5px;
}

.stm-pass-img {
  width: 160px;
  height: 160px;
  object-fit: contain;
  margin: 0 auto 18px;
  filter: drop-shadow(0 14px 24px rgba(245, 158, 11, 0.3));
  animation: stmFloat 4s ease-in-out infinite;
}

@keyframes stmFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.stm-pass-title {
  font-size: 1.4rem;
  font-weight: 900;
  color: #0f172a;
  margin: 0 0 6px;
}

.stm-pass-price {
  font-size: 2.4rem;
  font-weight: 900;
  color: #0284c7;
  line-height: 1;
  margin: 10px 0;
}

.stm-pass-tagline {
  font-size: 0.85rem;
  font-weight: 700;
  color: #059669;
  margin-bottom: 20px;
}

.stm-pass-specs {
  display: flex;
  justify-content: center;
  gap: 16px;
  font-size: 0.8rem;
  color: #64748b;
  border-top: 1px solid #f1f5f9;
  padding-top: 16px;
}

/* --------------------------------------------------------------------------
   2. FOUR MEMBERSHIP PLAN CARDS
   -------------------------------------------------------------------------- */
.stm-plans-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.stm-plan-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  transition: all 0.28s ease;
  position: relative;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.04);
}

.stm-plan-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.09);
}

/* Specific Plan Accents */
.stm-plan-card.plan-nebula {
  border-top: 4px solid #0ea5e9;
}
.stm-plan-card.plan-pulsar {
  border-top: 4px solid #2563eb;
}
.stm-plan-card.plan-quasar {
  border-top: 4px solid #8b5cf6;
}
.stm-plan-card.plan-supernova {
  border-top: 4px solid #f59e0b;
}

.stm-plan-level {
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #64748b;
  margin-bottom: 6px;
}

.stm-plan-name {
  font-size: 1.45rem;
  font-weight: 900;
  color: #0f172a;
  margin: 0 0 4px;
}

.stm-plan-sub {
  font-size: 0.82rem;
  font-weight: 700;
  color: #0284c7;
  margin-bottom: 14px;
}

.stm-plan-price-box {
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 18px;
}

.stm-plan-price-val {
  font-size: 1.35rem;
  font-weight: 900;
  color: #0f172a;
}

.stm-plan-price-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
}

.stm-plan-block {
  margin-bottom: 16px;
}

.stm-plan-block-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: #0f172a;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.stm-plan-block-text {
  font-size: 0.85rem;
  color: #475569;
  line-height: 1.5;
  margin: 0;
}

.stm-plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  flex-grow: 1;
}

.stm-plan-features li {
  font-size: 0.82rem;
  color: #334155;
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
}

.stm-plan-features li svg,
.stm-plan-features li .check {
  color: #0284c7;
  font-weight: 900;
  flex-shrink: 0;
}

/* The 4 Custom Gradient Buttons from User Specification */
.stm-plan-btn {
  width: 100%;
  padding: 13px 20px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
  color: #ffffff !important;
}

.stm-plan-btn:hover {
  transform: translateY(-2px);
}

/* Button 1: Sky-Blue / Cyan */
.stm-btn-nebula {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  box-shadow: 0 8px 20px rgba(14, 165, 233, 0.38);
}
.stm-btn-nebula:hover {
  box-shadow: 0 12px 28px rgba(14, 165, 233, 0.48);
}

/* Button 2: Electric / Cobalt Blue */
.stm-btn-pulsar {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.38);
}
.stm-btn-pulsar:hover {
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.48);
}

/* Button 3: Purple / Violet */
.stm-btn-quasar {
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
  box-shadow: 0 8px 20px rgba(139, 92, 246, 0.38);
}
.stm-btn-quasar:hover {
  box-shadow: 0 12px 28px rgba(139, 92, 246, 0.48);
}

/* Button 4: Amber / Gold / Orange */
.stm-btn-supernova {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.38);
}
.stm-btn-supernova:hover {
  box-shadow: 0 12px 28px rgba(245, 158, 11, 0.48);
}

/* --------------------------------------------------------------------------
   3. EIGHT MEMBERSHIP BENEFITS CARDS
   -------------------------------------------------------------------------- */
.stm-benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.stm-benefit-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 24px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
}

.stm-benefit-card:hover {
  transform: translateY(-4px);
  border-color: #0284c7;
  box-shadow: 0 12px 28px rgba(14, 165, 233, 0.1);
}

.stm-benefit-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.stm-benefit-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 8px;
}

.stm-benefit-desc {
  font-size: 0.86rem;
  color: #475569;
  line-height: 1.55;
  margin: 0;
}

/* --------------------------------------------------------------------------
   4. HOW IT WORKS - 7 STEP-BY-STEP CARDS
   -------------------------------------------------------------------------- */
.stm-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.stm-step-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 26px 22px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
  position: relative;
  transition: transform 0.22s ease;
}

.stm-step-card:hover {
  transform: translateY(-3px);
  border-color: #0284c7;
}

.stm-step-num {
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #0284c7;
  background: #e0f2fe;
  padding: 4px 10px;
  border-radius: 8px;
  display: inline-block;
  margin-bottom: 12px;
}

.stm-step-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 10px;
}

.stm-step-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.stm-step-list li {
  font-size: 0.84rem;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 6px;
  position: relative;
  padding-left: 16px;
}

.stm-step-list li::before {
  content: "•";
  color: #0284c7;
  position: absolute;
  left: 0;
  font-weight: 800;
}

/* --------------------------------------------------------------------------
   5. MEMBERSHIP JOURNEY - VISUAL TIMELINE
   -------------------------------------------------------------------------- */
.stm-timeline-wrapper {
  position: relative;
  padding: 20px 0;
}

.stm-timeline-track {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
  position: relative;
}

.stm-timeline-track::before {
  content: "";
  position: absolute;
  top: 36px;
  left: 3%;
  right: 3%;
  height: 3px;
  background: linear-gradient(90deg, #0ea5e9 0%, #2563eb 50%, #8b5cf6 80%, #f59e0b 100%);
  z-index: 1;
}

.stm-timeline-item {
  position: relative;
  z-index: 2;
  text-align: center;
}

.stm-timeline-node {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #0284c7;
  margin: 12px auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 6px 14px rgba(14, 165, 233, 0.25);
  transition: transform 0.25s ease;
}

.stm-timeline-item:hover .stm-timeline-node {
  transform: scale(1.15);
  border-color: #2563eb;
}

.stm-timeline-step-label {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #0284c7;
  margin-bottom: 4px;
}

.stm-timeline-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 4px;
}

.stm-timeline-desc {
  font-size: 0.74rem;
  color: #64748b;
  line-height: 1.35;
}

/* --------------------------------------------------------------------------
   6. COMPARISON MATRIX TABLE
   -------------------------------------------------------------------------- */
.stm-table-wrapper {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.stm-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.stm-table th {
  background: #f8fafc;
  padding: 18px 20px;
  font-size: 0.88rem;
  font-weight: 800;
  color: #0f172a;
  border-bottom: 2px solid #e2e8f0;
}

.stm-table td {
  padding: 16px 20px;
  font-size: 0.86rem;
  color: #475569;
  border-bottom: 1px solid #f1f5f9;
}

.stm-table tr:hover td {
  background: #f8fafc;
}

.stm-check {
  color: #059669;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* --------------------------------------------------------------------------
   7. UPGRADE INFORMATION SECTION
   -------------------------------------------------------------------------- */
.stm-upgrade-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.stm-upgrade-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
}

.stm-upgrade-box h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.stm-upgrade-box p {
  font-size: 0.86rem;
  color: #475569;
  line-height: 1.55;
  margin: 0;
}

/* --------------------------------------------------------------------------
   8. FREQUENTLY ASKED QUESTIONS ACCORDION
   -------------------------------------------------------------------------- */
.stm-faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.stm-faq-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: all 0.22s ease;
}

.stm-faq-item.active {
  border-color: #0284c7;
  box-shadow: 0 6px 18px rgba(14, 165, 233, 0.08);
}

.stm-faq-question {
  width: 100%;
  padding: 18px 22px;
  background: none;
  border: none;
  text-align: left;
  font-size: 1rem;
  font-weight: 800;
  color: #0f172a;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.stm-faq-icon {
  font-size: 1.1rem;
  color: #0284c7;
  transition: transform 0.25s ease;
}

.stm-faq-item.active .stm-faq-icon {
  transform: rotate(45deg);
}

.stm-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 22px;
}

.stm-faq-item.active .stm-faq-answer {
  max-height: 300px;
  padding: 0 22px 18px;
}

.stm-faq-answer p {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

/* --------------------------------------------------------------------------
   9. CALL TO ACTION BANNER
   -------------------------------------------------------------------------- */
.stm-cta-box {
  background: radial-gradient(circle at 10% 20%, #0369a1 0%, #0f172a 100%);
  border-radius: 28px;
  padding: 56px 40px;
  text-align: center;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.2);
}

.stm-cta-title {
  font-size: 2.4rem;
  font-weight: 900;
  margin: 0 0 14px;
}

.stm-cta-desc {
  font-size: 1.1rem;
  color: #e0f2fe;
  max-width: 680px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.stm-cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
}

/* --------------------------------------------------------------------------
   RESPONSIVE QUERIES
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .stm-plans-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stm-benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stm-timeline-track {
    grid-template-columns: repeat(4, 1fr);
    row-gap: 32px;
  }
  .stm-timeline-track::before {
    display: none;
  }
}

@media (max-width: 768px) {
  .stm-hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .stm-hero-headline {
    font-size: 2.2rem;
  }
  .stm-hero-highlights {
    justify-content: center;
  }
  .stm-hero-actions {
    justify-content: center;
  }
  .stm-plans-grid {
    grid-template-columns: 1fr;
  }
  .stm-benefits-grid {
    grid-template-columns: 1fr;
  }
  .stm-timeline-track {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .stm-table-wrapper {
    overflow-x: auto;
  }
  .stm-cta-box {
    padding: 40px 24px;
  }
  .stm-cta-title {
    font-size: 1.8rem;
  }
}
