/* ─────────────────────────────────────────────
   SCULPTBYTE — MENU / PACKAGES PAGE STYLESHEET
   Extends: css/style.css + css/pages.css
   ───────────────────────────────────────────── */

/* ─────────────────────────────────────────────
   PAGE HERO — MENU VARIANT
   ───────────────────────────────────────────── */
.menu-hero {
  position: relative;
  min-height: 52vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 7rem 4rem 5rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse 90% 70% at 50% -20%, rgba(124,58,237,0.30) 0%, transparent 65%),
    radial-gradient(ellipse 60% 50% at 85% 90%, rgba(6,182,212,0.15) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(16,185,129,0.08) 0%, transparent 60%),
    var(--bg-deep);
}

.menu-hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.6rem, 5.5vw, 4.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.menu-hero > p {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--text-muted);
  max-width: 580px;
  margin-bottom: 2rem;
  line-height: 1.75;
}

/* Floating ambient glow orbs */
.menu-hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  animation: floatGlow 8s ease-in-out infinite alternate;
}
.glow-a { width: 500px; height: 500px; background: rgba(124,58,237,0.18); top: -180px; left: -100px; animation-delay: 0s; }
.glow-b { width: 380px; height: 380px; background: rgba(6,182,212,0.12); bottom: -80px; right: -60px; animation-delay: 3s; }
.glow-c { width: 260px; height: 260px; background: rgba(16,185,129,0.08); top: 50%; left: 55%; animation-delay: 5s; }

@keyframes floatGlow {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(20px, 30px) scale(1.08); }
}

/* Activation-fee note pill */
.billing-note {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent-amber);
  background: rgba(245,158,11,0.09);
  border: 1px solid rgba(245,158,11,0.3);
  border-radius: 100px;
  padding: 0.5rem 1.25rem;
  position: relative;
  z-index: 2;
}

.billing-note strong { font-weight: 700; }

/* ─────────────────────────────────────────────
   PRICING CARDS SECTION
   ───────────────────────────────────────────── */
.menu-pricing-section {
  padding: 5rem 4rem 6rem;
}

.menu-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  max-width: 1240px;
  margin: 0 auto;
  align-items: start;
}

/* ── Individual Card ─────────────────────────── */
.menu-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  display: flex;
  flex-direction: column;
}

.menu-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}

/* Featured / Popular card */
.menu-card-featured {
  border-color: rgba(6,182,212,0.4);
  background: linear-gradient(160deg, rgba(6,182,212,0.06) 0%, var(--bg-card) 50%);
  box-shadow: 0 0 0 1px rgba(6,182,212,0.25), 0 20px 50px rgba(6,182,212,0.12);
  transform: scale(1.025);
}

.menu-card-featured:hover {
  transform: scale(1.025) translateY(-6px);
  box-shadow: 0 0 0 1px rgba(6,182,212,0.35), 0 28px 70px rgba(6,182,212,0.2);
}

/* "Most Popular" badge */
.menu-badge {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  z-index: 2;
  box-shadow: 0 4px 18px rgba(124,58,237,0.4);
}

/* ── Card Top (Coloured Header) ─────────────── */
.menu-card-top {
  padding: 2.25rem 2rem 1.75rem;
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--mc) 8%, transparent);
  position: relative;
}

.menu-card-top::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--mc), transparent);
  opacity: 0.5;
}

/* Plan icon circle */
.menu-plan-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--mc) 18%, transparent);
  border: 1px solid color-mix(in srgb, var(--mc) 40%, transparent);
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  color: var(--mc);
  margin-bottom: 1rem;
  transition: transform 0.3s;
}

.menu-card:hover .menu-plan-icon { transform: scale(1.08) rotate(-4deg); }

.menu-plan-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
}

.menu-plan-tagline {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

/* Price display */
.menu-plan-price {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  margin-bottom: 0.4rem;
}

.price-amount {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--mc);
  line-height: 1;
  letter-spacing: -0.02em;
}

.price-period {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
  padding-bottom: 0.2rem;
}

/* Activation fee note */
.menu-activation {
  font-size: 0.76rem;
  color: var(--text-muted);
  opacity: 0.75;
  margin-top: 0.25rem;
}

/* ── Card Body (Features) ────────────────────── */
.menu-card-body {
  padding: 1.75rem 2rem 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.menu-card-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

/* Feature list */
.menu-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex: 1;
}

.menu-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-primary);
  line-height: 1.5;
}

.menu-features li i {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(16,185,129,0.15);
  border: 1px solid rgba(16,185,129,0.3);
  color: var(--accent-green);
  font-size: 0.6rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Unavailable / greyed features */
.muted-feature {
  opacity: 0.38;
}

.muted-feature i {
  background: rgba(136,136,170,0.1) !important;
  border-color: rgba(136,136,170,0.2) !important;
  color: var(--text-muted) !important;
}

/* Card CTA Button */
.menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.9rem 1.5rem;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--mb);
  background: color-mix(in srgb, var(--mb) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--mb) 35%, transparent);
  transition: background 0.3s, border-color 0.3s, transform 0.25s, box-shadow 0.3s;
  cursor: pointer;
  margin-top: auto;
}

.menu-btn:hover {
  background: color-mix(in srgb, var(--mb) 22%, transparent);
  border-color: color-mix(in srgb, var(--mb) 60%, transparent);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--mb) 30%, transparent);
}

/* Featured plan button — solid gradient */
.menu-btn-featured {
  color: #fff;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
  border-color: transparent;
  box-shadow: 0 6px 28px rgba(124,58,237,0.35);
}

.menu-btn-featured:hover {
  opacity: 0.9;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
  border-color: transparent;
  box-shadow: 0 10px 36px rgba(124,58,237,0.5);
  transform: translateY(-2px);
}

/* ─────────────────────────────────────────────
   FULL COMPARISON TABLE
   ───────────────────────────────────────────── */
.comparison-section {
  padding: 5rem 4rem 6rem;
  background: var(--bg-dark);
}

.comparison-wrap {
  max-width: 1100px;
  margin: 0 auto;
  overflow-x: auto;
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

/* Scrollbar styling for table overflow */
.comparison-wrap::-webkit-scrollbar { height: 6px; }
.comparison-wrap::-webkit-scrollbar-track { background: var(--bg-card); }
.comparison-wrap::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

.comparison-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-size: 0.875rem;
}

/* Table head */
.comparison-table thead tr {
  background: var(--bg-card2);
}

.comparison-table thead th {
  padding: 1.4rem 1.5rem;
  text-align: center;
  font-family: 'Space Grotesk', sans-serif;
  border-bottom: 1px solid var(--border);
}

.comparison-table thead th.feature-col {
  text-align: left;
  width: 34%;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Featured column header */
.th-featured {
  background: rgba(6,182,212,0.06);
  border-left: 1px solid rgba(6,182,212,0.25);
  border-right: 1px solid rgba(6,182,212,0.25);
}

.th-plan {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
}

.th-price {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Table body rows */
.comparison-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}

.comparison-table tbody tr:not(.section-row):not(.cta-row):hover {
  background: rgba(255,255,255,0.025);
}

.comparison-table tbody td {
  padding: 0.95rem 1.5rem;
  text-align: center;
  color: var(--text-muted);
  vertical-align: middle;
}

.comparison-table tbody td:first-child {
  text-align: left;
  color: var(--text-primary);
  font-weight: 500;
}

/* Section header rows */
.section-row td {
  padding: 0.7rem 1.5rem !important;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-purple) !important;
  background: rgba(124,58,237,0.06);
  border-bottom: 1px solid rgba(124,58,237,0.15) !important;
  text-align: left !important;
}

.section-row td i {
  margin-right: 0.5rem;
}

/* Featured column body */
.td-featured {
  background: rgba(6,182,212,0.04);
  border-left: 1px solid rgba(6,182,212,0.15);
  border-right: 1px solid rgba(6,182,212,0.15);
  font-weight: 600;
  color: var(--text-primary);
}

/* Check / Cross icons */
.check {
  color: var(--accent-green);
  font-size: 0.95rem;
  filter: drop-shadow(0 0 6px rgba(16,185,129,0.4));
}

.cross {
  color: rgba(136,136,170,0.35);
  font-size: 0.85rem;
}

/* CTA row (bottom of table) */
.cta-row td {
  padding: 1.5rem 1.25rem !important;
  background: var(--bg-card2);
  border-top: 1px solid var(--border);
}

.btn-plan {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.5rem;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  transition: background 0.25s, border-color 0.25s, transform 0.2s;
  white-space: nowrap;
}

.btn-plan:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

.featured-btn {
  color: #fff;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
  border-color: transparent;
  box-shadow: 0 4px 20px rgba(124,58,237,0.35);
}

.featured-btn:hover {
  opacity: 0.92;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(124,58,237,0.5);
}

/* ─────────────────────────────────────────────
   ADD-ONS SECTION
   ───────────────────────────────────────────── */
.addons-section {
  padding: 5rem 4rem 6rem;
}

.addons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.addon-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.addon-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, color-mix(in srgb, var(--ai) 10%, transparent) 0%, transparent 70%);
  pointer-events: none;
  transition: opacity 0.3s;
  opacity: 0;
}

.addon-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3), 0 0 0 1px color-mix(in srgb, var(--ai) 30%, transparent);
  border-color: color-mix(in srgb, var(--ai) 40%, transparent);
}

.addon-card:hover::before { opacity: 1; }

/* Addon icon */
.addon-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: color-mix(in srgb, var(--ai) 15%, transparent);
  border: 1px solid color-mix(in srgb, var(--ai) 35%, transparent);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  color: var(--ai);
  margin-bottom: 0.25rem;
  transition: transform 0.3s;
}

.addon-card:hover .addon-icon {
  transform: scale(1.1) rotate(-5deg);
}

.addon-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.addon-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.addon-price {
  margin-top: auto;
  font-size: 0.82rem;
  color: var(--text-muted);
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  width: 100%;
  text-align: center;
}

.addon-price strong {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* ─────────────────────────────────────────────
   PRICING FAQ SECTION
   ───────────────────────────────────────────── */
.menu-faq-section {
  padding: 5rem 4rem 6rem;
  background: var(--bg-dark);
}

.menu-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.menu-faq-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.menu-faq-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.25);
}

.menu-faq-card > i {
  font-size: 1.75rem;
}

.menu-faq-card h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

.menu-faq-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ─────────────────────────────────────────────
   RESPONSIVE — TABLET (≤ 1024px)
   ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .menu-pricing-section,
  .comparison-section,
  .addons-section,
  .menu-faq-section {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }

  .menu-pricing-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  /* Enterprise card spans full width on tablet */
  .menu-pricing-grid .menu-card:last-child {
    grid-column: 1 / -1;
    max-width: 520px;
    margin: 0 auto;
    width: 100%;
  }

  .menu-card-featured {
    transform: none;
  }

  .menu-card-featured:hover {
    transform: translateY(-6px);
  }

  .addons-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ─────────────────────────────────────────────
   RESPONSIVE — MOBILE (≤ 768px)
   ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .menu-hero {
    padding: 7rem 1.5rem 4rem;
    min-height: 48vh;
  }

  .menu-hero h1 {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .menu-pricing-section,
  .comparison-section,
  .addons-section,
  .menu-faq-section {
    padding: 4rem 1.25rem 4rem;
  }

  .menu-pricing-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .menu-pricing-grid .menu-card:last-child {
    grid-column: auto;
    max-width: none;
  }

  .menu-card-featured {
    transform: none;
    order: -1; /* Bump featured card to top on mobile */
  }

  .comparison-table {
    font-size: 0.8rem;
  }

  .comparison-table thead th,
  .comparison-table tbody td {
    padding: 0.8rem 0.9rem;
  }

  .addons-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .addon-card {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
  }

  .addon-icon {
    flex-shrink: 0;
    margin-bottom: 0;
  }

  .addon-card > div:not(.addon-icon) {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    flex: 1;
  }

  .addon-price {
    border-top: none;
    padding-top: 0;
    text-align: left;
    width: auto;
  }

  .menu-faq-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* CTA banner mobile spacing */
  section.cta-banner[style] {
    margin: 0 1.25rem 3rem !important;
  }
}

/* ─────────────────────────────────────────────
   RESPONSIVE — SMALL MOBILE (≤ 480px)
   ───────────────────────────────────────────── */
@media (max-width: 480px) {
  .menu-hero {
    padding: 6rem 1rem 3.5rem;
  }

  .menu-card-top {
    padding: 1.75rem 1.25rem 1.5rem;
  }

  .menu-card-body {
    padding: 1.5rem 1.25rem 1.5rem;
  }

  .price-amount {
    font-size: 2.6rem;
  }

  .billing-note {
    font-size: 0.78rem;
    padding: 0.45rem 1rem;
    text-align: center;
  }
}
