/* =============================================================
   MEGA PAYMENTS — Shared Theme
   Used by every inner page (about, pricing, industries, equipment,
   faqs, getting-started). The splash + homepage live in
   mega-rocket-intro.html (self-contained, not affected by this file).
   ============================================================= */

:root {
  --navy-deep:   #050B1A;
  --navy:        #0A1A2F;
  --navy-2:      #122545;
  --mega-blue:   #2E5BFF;
  --mega-blue-2: #4A6FE3;
  --mega-cyan:   #6FB3FF;
  --flame-1:     #FFD23F;
  --flame-2:     #FF8A1F;
  --flame-3:     #FF3D1F;
  --display:     'Audiowide', sans-serif;
  --body:        'Manrope', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  width: 100%;
  font-family: var(--body);
  color: white;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(ellipse at 80% -10%, rgba(46,91,255,0.16), transparent 55%),
    radial-gradient(ellipse at -20% 60%, rgba(111,179,255,0.10), transparent 55%),
    radial-gradient(ellipse at 50% 110%, rgba(46,91,255,0.08), transparent 60%),
    linear-gradient(180deg, #050B1A 0%, #0A1A2F 50%, #050B1A 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

/* Starfield baked into body */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 12% 18%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 31% 71%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 47% 33%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 66% 88%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 78% 12%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 89% 44%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 4% 86%, #cfe0ff 50%, transparent 51%),
    radial-gradient(1px 1px at 52% 60%, #cfe0ff 50%, transparent 51%);
  background-size: 1100px 900px;
  opacity: 0.28;
  pointer-events: none;
  z-index: 0;
}

/* ============== NAV ============== */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 56px;
  background: rgba(5, 11, 26, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo-img {
  height: 34px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.96;
}
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}
.nav-links a.active { color: var(--mega-cyan); }
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -6px; left: 50%;
  width: 0; height: 1px;
  background: var(--mega-cyan);
  transition: width 0.25s ease, left 0.25s ease;
}
.nav-links a:hover { color: var(--mega-cyan); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; left: 0; }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.nav-login {
  background: transparent;
  color: rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 9px 18px;
  border-radius: 999px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}
.nav-login:hover { border-color: var(--mega-cyan); color: var(--mega-cyan); }
.nav-cta {
  background: var(--mega-blue);
  color: white;
  border: none;
  padding: 10px 22px;
  border-radius: 999px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 8px 28px rgba(46,91,255,0.35);
  text-decoration: none;
  display: inline-block;
}
.nav-cta:hover {
  background: var(--mega-blue-2);
  transform: translateY(-1px);
  box-shadow: 0 12px 36px rgba(46,91,255,0.5);
}

/* ============== MOBILE NAV TOGGLE (hamburger) ============== */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: 4px;
  z-index: 50;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle span + span { margin-top: 5px; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(2, 5, 14, 0.55);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  z-index: 44;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.nav-backdrop.open { display: block; opacity: 1; }

/* ============== PAGE HERO (smaller than homepage hero) ============== */
.page-hero {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
  padding: 80px 56px 50px;
  text-align: center;
}
.page-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--mega-cyan);
  text-transform: uppercase;
  padding: 8px 16px;
  border: 1px solid rgba(111,179,255,0.3);
  border-radius: 999px;
  background: rgba(46,91,255,0.07);
  margin-bottom: 26px;
}
.page-hero .eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--mega-cyan);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--mega-cyan);
  animation: ping 2s ease-in-out infinite;
}
@keyframes ping { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }
.page-hero h1 {
  font-family: var(--body);
  font-weight: 800;
  font-size: clamp(40px, 5.6vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: white;
  margin-bottom: 22px;
}
.page-hero h1 span {
  background: linear-gradient(135deg, var(--mega-cyan) 0%, var(--mega-blue) 60%, var(--mega-blue-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-hero p {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255,255,255,0.7);
  max-width: 680px;
  margin: 0 auto;
}

/* ============== SECTION ============== */
.section {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: 80px 56px;
  z-index: 2;
}
.section-head { text-align: center; margin-bottom: 56px; }
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--mega-cyan);
  text-transform: uppercase;
  padding: 8px 16px;
  border: 1px solid rgba(111,179,255,0.3);
  border-radius: 999px;
  background: rgba(46,91,255,0.07);
  margin-bottom: 22px;
}
.section-eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--mega-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--mega-cyan);
  animation: ping 2.2s ease-in-out infinite;
}
.section-title {
  font-family: var(--body);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: white;
  margin-bottom: 14px;
}
.section-title span {
  background: linear-gradient(135deg, var(--mega-cyan), var(--mega-blue), var(--mega-blue-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-sub {
  font-size: 16.5px;
  line-height: 1.65;
  color: rgba(255,255,255,0.65);
  max-width: 640px;
  margin: 0 auto;
}

/* ============== BUTTONS ============== */
.btn-primary, .btn-ghost {
  font-family: var(--body);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  padding: 16px 28px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
  text-decoration: none;
  display: inline-block;
}
.btn-primary {
  background: var(--mega-blue);
  color: white;
  box-shadow: 0 10px 32px rgba(46,91,255,0.4);
}
.btn-primary:hover {
  background: var(--mega-blue-2);
  transform: translateY(-2px);
  box-shadow: 0 16px 44px rgba(46,91,255,0.55);
}
.btn-ghost {
  background: transparent;
  color: white;
  border: 1px solid rgba(255,255,255,0.22);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.45);
}

/* ============== CARDS / TILES ============== */
.card-base {
  background: linear-gradient(165deg, rgba(46,91,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 32px 28px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.card-base:hover {
  transform: translateY(-4px);
  border-color: rgba(111,179,255,0.4);
}

/* ============== CTA BANNER ============== */
.cta-banner-wrap { max-width: 1240px; margin: 0 auto; padding: 60px 56px 80px; position: relative; z-index: 2; }
.cta-banner {
  position: relative;
  padding: 70px 60px;
  text-align: center;
  background:
    radial-gradient(ellipse at top, rgba(46,91,255,0.28), transparent 60%),
    linear-gradient(135deg, rgba(46,91,255,0.12), rgba(74,111,227,0.04));
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid rgba(111,179,255,0.22);
}
.cta-banner::before {
  content: "";
  position: absolute;
  top: -60%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(46,91,255,0.35), transparent 65%);
  filter: blur(40px);
  pointer-events: none;
}
.cta-rocket {
  position: relative;
  z-index: 1;
  margin: 0 auto 24px;
  width: 56px;
  animation: hoverFloat 3.5s ease-in-out infinite;
  filter: drop-shadow(0 8px 24px rgba(46,91,255,0.6));
}
@keyframes hoverFloat {
  0%,100% { transform: translateY(0) rotate(-2deg); }
  50%     { transform: translateY(-12px) rotate(2deg); }
}
.cta-banner h2 {
  position: relative;
  font-family: var(--body);
  font-weight: 800;
  font-size: clamp(28px, 4.4vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: white;
  margin-bottom: 14px;
}
.cta-banner h2 span {
  background: linear-gradient(135deg, var(--mega-cyan), var(--mega-blue-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cta-banner > p {
  position: relative;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255,255,255,0.72);
  max-width: 580px;
  margin: 0 auto 30px;
}
.cta-actions {
  position: relative;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.cta-trust {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-trust .trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.55);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.cta-trust svg { color: var(--mega-cyan); }

/* ============== FOOTER ============== */
footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 60px 56px 32px;
  max-width: 1240px;
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand img {
  height: 38px;
  filter: brightness(0) invert(1);
  opacity: 0.95;
  margin-bottom: 18px;
}
.footer-brand > p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.55);
  max-width: 320px;
  margin-bottom: 22px;
}
.footer-contact {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255,255,255,0.7);
}
.footer-contact strong {
  display: block;
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  margin-top: 12px;
  margin-bottom: 2px;
  font-weight: 400;
}
.footer-contact a { color: var(--mega-cyan); text-decoration: none; }
.footer-col h5 {
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col a {
  display: block;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  text-decoration: none;
  margin-bottom: 12px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--mega-cyan); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 12.5px;
  color: rgba(255,255,255,0.4);
}
.footer-bottom .legal { display: flex; gap: 24px; }
.footer-bottom .legal a { color: rgba(255,255,255,0.4); text-decoration: none; }
.footer-bottom .legal a:hover { color: var(--mega-cyan); }

/* ============== FAQ ACCORDION ============== */
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.faq-item.open {
  border-color: rgba(111,179,255,0.3);
  background: rgba(46,91,255,0.05);
}
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 26px;
  cursor: pointer;
  user-select: none;
  font-family: var(--body);
  font-weight: 700;
  font-size: 16px;
  color: white;
}
.faq-chevron {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(46,91,255,0.18);
  border: 1px solid rgba(111,179,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mega-cyan);
  transition: all 0.3s ease;
  flex-shrink: 0;
  margin-left: 20px;
}
.faq-item.open .faq-chevron { transform: rotate(45deg); background: var(--mega-blue); color: white; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 26px;
  color: rgba(255,255,255,0.75);
  font-size: 15px;
  line-height: 1.7;
}
.faq-item.open .faq-a { max-height: 500px; padding: 0 26px 24px; }

/* ============== RESPONSIVE ============== */
@media (max-width: 880px) {
  .nav { padding: 16px 24px; -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(5, 11, 26, 0.96); }
  .nav-toggle { display: block; }
  .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: min(80vw, 320px);
    padding: 92px 28px 32px;
    background: rgba(5, 11, 26, 0.98);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-left: 1px solid rgba(255,255,255,0.08);
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 45;
    overflow-y: auto;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 16px; }
  .nav-links a::after { display: none; }
  .nav-login { display: none; }
  .page-hero { padding: 50px 24px 30px; }
  .section { padding: 50px 24px; }
  .cta-banner-wrap { padding: 30px 24px 60px; }
  .cta-banner { padding: 50px 28px; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn-primary, .cta-actions .btn-ghost { width: 100%; }
  footer { padding: 48px 24px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: span 2; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
