/* M & M Industries LLC — Neon Pulse Theme: Purple & Cyan */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@300;400;500;600;700;800&family=Rajdhani:wght@400;500;600;700&display=swap');

:root {
  /* ── Color Palette ── */
  --bg:            #08031a;
  --bg-2:          #0d0520;
  --bg-3:          #110628;
  --card:          rgba(13, 5, 32, 0.85);
  --card-solid:    #110628;
  --navy:          #0d0520;          /* backward compat alias */
  --charcoal:      #110628;          /* backward compat */
  --charcoal-light:#17093a;          /* backward compat */

  --purple:        #7b00d4;
  --purple-mid:    #9333ea;
  --purple-light:  #a855f7;
  --cyan:          #00c8ff;
  --cyan-mid:      #0ea5e9;
  --cyan-light:    #22d3ee;

  /* Gradient shorthands */
  --grad-purple:   linear-gradient(135deg, #7b00d4, #a855f7);
  --grad-cyan:     linear-gradient(135deg, #00c8ff, #22d3ee);
  --grad-main:     linear-gradient(135deg, #7b00d4 0%, #a855f7 50%, #00c8ff 100%);

  /* Legacy gold → purple alias so old refs still render */
  --gold:          #a855f7;
  --gold-light:    #c084fc;
  --gold-dark:     #7b00d4;
  --border:        rgba(168, 85, 247, 0.22);

  --white: #ffffff;
  --gray-100: #f1f5f9;
  --gray-200: #f1f5f9;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
}

/* ─── RESET ──────────────────────────────────────────────── */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background-color: var(--bg);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ─── GLOBAL BACKGROUND LAYER ────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  /* Subtle purple grid */
  background-image:
    linear-gradient(rgba(123, 0, 212, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(123, 0, 212, 0.07) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridDrift 20s linear infinite;
  pointer-events: none;
}

@keyframes gridDrift {
  0%   { background-position: 0 0; }
  100% { background-position: 60px 60px; }
}

/* ─── GLOWING ORBS ───────────────────────────────────────── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 55% 65% at -5% 40%, rgba(123, 0, 212, 0.22) 0%, transparent 65%),
    radial-gradient(ellipse 50% 60% at 105% 60%, rgba(0, 200, 255, 0.18) 0%, transparent 65%);
  pointer-events: none;
  animation: orbPulse 8s ease-in-out infinite alternate;
}

@keyframes orbPulse {
  0%   { opacity: 0.7; }
  100% { opacity: 1; }
}

/* All real content sits above the background layers */
nav, main, section, footer, .hero, .page-hero,
.cert-banner, .cert-strip, .packages-section,
.how-works-section, .faq-section {
  position: relative;
  z-index: 1;
}

/* ─── TYPOGRAPHY ─────────────────────────────────────────── */
h1, h2, h3 {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.display-font { font-family: 'Bebas Neue', sans-serif; letter-spacing: 0.05em; }

.gold       { color: var(--purple-light); }
.gold-text  { color: var(--purple-light); }

/* ─── NAVIGATION ─────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(8, 3, 26, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(168, 85, 247, 0.25);
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo-icon {
  width: 42px;
  height: 42px;
  background: var(--grad-main);
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  box-shadow: 0 0 18px rgba(168, 85, 247, 0.5);
}

.nav-logo-icon span {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem;
  color: #fff;
  font-weight: 900;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-logo-main {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
  letter-spacing: 0.05em;
}

.nav-logo-sub {
  font-size: 0.65rem;
  color: var(--cyan);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--gray-300);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s ease;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--purple-light);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 1px;
  background: var(--grad-main);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

.nav-cta {
  background: var(--grad-main) !important;
  color: #fff !important;
  padding: 0.5rem 1.25rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  transition: box-shadow 0.2s ease, transform 0.1s ease !important;
  box-shadow: 0 0 20px rgba(123, 0, 212, 0.4) !important;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
  box-shadow: 0 0 32px rgba(0, 200, 255, 0.5) !important;
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s ease;
}

/* ─── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--grad-main);
  color: #fff;
  box-shadow: 0 0 20px rgba(123, 0, 212, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(0, 200, 255, 0.5), 0 0 20px rgba(123, 0, 212, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(168, 85, 247, 0.6);
}

.btn-outline:hover {
  background: rgba(168, 85, 247, 0.12);
  border-color: var(--purple-light);
  box-shadow: 0 0 24px rgba(168, 85, 247, 0.35);
  transform: translateY(-2px);
}

.btn-gold-outline {
  background: transparent;
  color: var(--purple-light);
  border: 2px solid rgba(168, 85, 247, 0.5);
}

.btn-gold-outline:hover {
  background: rgba(168, 85, 247, 0.1);
  border-color: var(--purple-light);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
  transform: translateY(-2px);
}

/* ─── SECTIONS ───────────────────────────────────────────── */
section { padding: 5rem 2rem; }

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--cyan);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.section-label::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--grad-main);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.section-subtitle {
  color: var(--gray-300);
  font-size: 1.1rem;
  max-width: 600px;
  line-height: 1.7;
}

/* ─── DIVIDERS ───────────────────────────────────────────── */
.gold-line {
  width: 64px;
  height: 3px;
  background: var(--grad-main);
  margin: 1.5rem 0;
}

/* ─── CARDS ──────────────────────────────────────────────── */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 2rem;
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(8px);
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-main);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(168, 85, 247, 0.5);
  box-shadow: 0 0 40px rgba(123, 0, 212, 0.2), 0 20px 40px rgba(0, 0, 0, 0.4);
}

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

/* ─── FOOTER ─────────────────────────────────────────────── */
footer {
  background: rgba(4, 1, 14, 0.98);
  border-top: 1px solid rgba(168, 85, 247, 0.2);
  padding: 3rem 2rem 2rem;
  position: relative;
  z-index: 1;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.footer-bottom {
  max-width: 1200px;
  margin: 1.5rem auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--gray-400);
  font-size: 0.8rem;
}

.footer-col h4 {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--purple-light);
  margin-bottom: 1rem;
}

.footer-col a {
  display: block;
  color: var(--gray-400);
  text-decoration: none;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  transition: color 0.2s ease;
}

.footer-col a:hover { color: var(--cyan); }

.footer-desc {
  color: var(--gray-400);
  font-size: 0.875rem;
  line-height: 1.7;
  margin-top: 0.75rem;
}

/* ─── BADGES ─────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border: 1px solid rgba(168, 85, 247, 0.3);
  color: var(--purple-light);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(123, 0, 212, 0.08);
}

/* ─── ANIMATIONS ─────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.animate-fade-up { animation: fadeUp 0.7s ease forwards; }
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }

.fade-in-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── GRID HELPERS ───────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ─── MOBILE NAV ─────────────────────────────────────────── */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: rgba(8, 3, 26, 0.99);
  padding: 1.5rem 2rem;
  border-top: 1px solid rgba(168, 85, 247, 0.2);
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  color: var(--gray-300);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: color 0.2s ease;
}

.mobile-menu a:hover { color: var(--purple-light); }

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  section { padding: 3.5rem 1.25rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ─── TABLE ──────────────────────────────────────────────── */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.data-table th {
  text-align: left;
  padding: 0.75rem 1rem;
  background: rgba(123, 0, 212, 0.15);
  color: var(--purple-light);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
}

.data-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  color: var(--gray-300);
}

.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: rgba(168, 85, 247, 0.05); color: var(--white); }

/* ─── STAT BOXES ─────────────────────────────────────────── */
.stat-box {
  text-align: center;
  padding: 2rem;
  border: 1px solid var(--border);
  background: rgba(123, 0, 212, 0.05);
}

.stat-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3.5rem;
  color: var(--purple-light);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-300);
  margin-top: 0.5rem;
}

/* ─── PAGE HERO ──────────────────────────────────────────── */
.page-hero {
  padding: 10rem 2rem 5rem;
  background: linear-gradient(135deg, var(--bg) 0%, var(--bg-3) 100%);
  border-bottom: 1px solid rgba(168, 85, 247, 0.2);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 50%, rgba(123, 0, 212, 0.15) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(0, 200, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

/* ─── NEON GLOW UTILITIES ────────────────────────────────── */
.neon-purple { box-shadow: 0 0 20px rgba(168, 85, 247, 0.4); }
.neon-cyan   { box-shadow: 0 0 20px rgba(0, 200, 255, 0.4); }

/* Pulsing dot */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}

@keyframes scrollPulse {
  0%   { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50%  { opacity: 1; transform: scaleY(1); }
  100% { opacity: 0; transform: scaleY(1); transform-origin: bottom; }
}
