/* ═══════════════════════════════════════════════════════════
   MEGDESK — Premium luxury touch
   Wavy orange sections · section code rain · rounded UI
   ═══════════════════════════════════════════════════════════ */

:root {
  --lux-radius-sm: 16px;
  --lux-radius-md: 22px;
  --lux-radius-lg: 28px;
  --lux-radius-xl: 36px;
  --lux-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 14px 40px rgba(26, 10, 46, 0.1),
    0 4px 14px rgba(232, 117, 26, 0.06);
  --lux-shadow-hover:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 22px 56px rgba(26, 10, 46, 0.14),
    0 8px 24px rgba(232, 117, 26, 0.1);
}

/* ── Orange sections: wavy edges (not straight lines) ── */
.orange-section-fx {
  position: relative !important;
  overflow: hidden !important;
  border: none !important;
}

/* Gradient wave ribbon between orange sections and neighbors */
.section-edge-bridge {
  display: block;
  width: 100%;
  height: clamp(44px, 5.5vw, 68px);
  margin: clamp(-22px, -2.75vw, -34px) 0;
  padding: 0;
  line-height: 0;
  pointer-events: none;
  position: relative;
  z-index: 12;
  overflow: visible;
  background: transparent !important;
}

.section-edge-bridge--ribbon {
  filter: drop-shadow(0 2px 8px rgba(232, 117, 26, 0.22));
}

.section-edge-bridge svg {
  width: 100%;
  height: 100%;
  display: block;
  margin: 0;
  vertical-align: middle;
}

/* Soft inner shimmer only — no straight edge caps */
.orange-waves {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.orange-wave {
  display: none;
}

.orange-section-fx::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    radial-gradient(ellipse 70% 55% at 20% 15%, rgba(255, 255, 255, 0.18) 0%, transparent 58%),
    radial-gradient(ellipse 60% 50% at 82% 78%, rgba(255, 255, 255, 0.12) 0%, transparent 55%);
  animation: orangeMeshPulse 14s ease-in-out infinite;
}

@keyframes orangeMeshPulse {
  0%, 100% { opacity: 0.75; }
  50% { opacity: 1; }
}

/* ── Section code — light edge whisper (not heavy grid) ── */
.section-code-rain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
  opacity: 0.55;
  clip-path: inset(64px 0 64px 0);
  -webkit-clip-path: inset(64px 0 64px 0);
}

.section-code-col {
  position: absolute;
  top: 0;
  bottom: 0;
  width: min(160px, 18vw);
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  padding: 1.5rem 0.75rem;
  overflow: hidden;
  will-change: transform;
}

.section-code-col--left {
  left: 0;
  animation: sectionCodeScroll 52s linear infinite;
}

.section-code-col--right {
  right: 0;
  animation: sectionCodeScroll 64s linear infinite reverse;
}

@keyframes sectionCodeScroll {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

.section-code-line {
  font-family: 'JetBrains Mono', Consolas, monospace;
  font-size: 0.5rem;
  line-height: 1.6;
  white-space: nowrap;
  padding: 0;
  border: none;
  background: none;
  border-radius: 0;
  color: rgba(26, 10, 46, 0.13);
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.section-code-line .c-kw  { color: rgba(42, 22, 84, 0.18); }
.section-code-line .c-fn  { color: rgba(232, 117, 26, 0.2); }
.section-code-line .c-str { color: rgba(196, 95, 10, 0.18); }
.section-code-line .c-cm  { color: rgba(61, 42, 85, 0.14); }
.section-code-line .c-num { color: rgba(196, 95, 10, 0.17); }
.section-code-line .c-ok  { color: rgba(42, 22, 84, 0.16); }

.section-code-line.typing::after {
  content: '|';
  color: rgba(232, 117, 26, 0.25);
  animation: codeCursor 1s step-end infinite;
  margin-left: 1px;
}

/* CTA — light side terminals only */

.cta-software {
  display: none !important;
}

.cta-terminals {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr minmax(280px, 640px) 1fr;
  align-items: center;
  padding: 0 2rem;
  gap: 1.5rem;
}

.cta-terminal {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  max-width: 260px;
}

.cta-terminal--right {
  margin-left: auto;
}

.cta-terminal-line {
  font-family: 'JetBrains Mono', Consolas, monospace;
  font-size: 0.58rem;
  padding: 0.35rem 0 0.35rem 0.65rem;
  border-left: 2px solid rgba(245, 200, 66, 0.35);
  border-radius: 0;
  background: none;
  color: rgba(26, 10, 46, 0.28);
  animation: ctaTermIn 6s ease infinite;
  opacity: 0;
  transform: translateX(8px);
}

.cta-terminal--right .cta-terminal-line {
  transform: translateX(-12px);
}

.cta-terminal-line:nth-child(1) { animation-delay: 0s; }
.cta-terminal-line:nth-child(2) { animation-delay: 0.8s; }
.cta-terminal-line:nth-child(3) { animation-delay: 1.6s; }
.cta-terminal-line:nth-child(4) { animation-delay: 2.4s; }
.cta-terminal-line:nth-child(5) { animation-delay: 3.2s; }
.cta-terminal-line:nth-child(6) { animation-delay: 4s; }

.cta-terminal-line--ok {
  border-left-color: rgba(42, 22, 84, 0.28);
  color: rgba(42, 22, 84, 0.34);
}

@keyframes ctaTermIn {
  0%, 8%, 100% { opacity: 0; transform: translateX(8px); }
  16%, 84% { opacity: 1; transform: translateX(0); }
}

.cta-terminal--right .cta-terminal-line {
  animation-name: ctaTermInRight;
}

@keyframes ctaTermInRight {
  0%, 8%, 100% { opacity: 0; transform: translateX(-8px); }
  16%, 84% { opacity: 1; transform: translateX(0); }
}

.cta-content {
  position: relative;
  z-index: 3 !important;
  border-radius: var(--lux-radius-xl) !important;
  padding: 3.25rem 3rem !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 32px 90px rgba(26, 10, 46, 0.22) !important;
}

/* Keep content above decorative layers */
.orange-section-fx .wrap,
.orange-section-fx .global-grid,
.orange-section-fx .cta-content,
.orange-section-fx .deploy-pipeline {
  position: relative;
  z-index: 3;
}

.orange-section-fx .dark-aurora,
.orange-section-fx .cta-aurora {
  z-index: 2;
}

.process-visual.orange-section-fx {
  overflow: hidden !important;
}


/* ══ Rounded cards & buttons — site-wide luxury ══ */
.btn,
button.btn,
.nav-cta,
.floating-cta,
.faq-q,
input,
textarea,
select {
  border-radius: 100px !important;
}

.hero-actions .btn-primary,
.hero-actions .btn-secondary {
  border-radius: 100px !important;
}

.menu-btn {
  border-radius: 12px !important;
}

.value-card,
.pillar,
.lux-card,
.service-card,
.team-card,
.bento-cell,
.quote-card,
.cred-card,
.stat-item,
.timeline-step,
.global-stat,
.form-panel,
.contact-copy,
.hero-feat,
.kpi-card,
.faq-item,
.highlight-item,
.partner-logo,
.deploy-stage,
.app-window,
.float-card,
.software-stage,
.code-terminal,
.card-ui,
.soft-preview,
.process-visual,
.edu-card,
.location-map,
.mumbai-viz,
.about-copy,
.services-grid .service-card {
  border-radius: var(--lux-radius-md) !important;
}

.lux-card,
.pillar,
.value-card,
.service-card,
.team-card,
.bento-cell,
.quote-card,
.cred-card,
.timeline-step,
.global-stat,
.form-panel,
.hero-feat {
  box-shadow: var(--lux-shadow) !important;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.lux-card:hover,
.pillar:hover,
.value-card:hover,
.service-card:hover,
.team-card:hover,
.bento-cell:hover,
.quote-card:hover,
.cred-card:hover,
.timeline-step:hover {
  box-shadow: var(--lux-shadow-hover) !important;
}

.btn-primary,
.btn-light,
.nav-cta {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 10px 32px rgba(232, 117, 26, 0.32) !important;
}

.btn-primary:hover,
.btn-light:hover,
.nav-cta:hover {
  transform: translateY(-3px) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 16px 44px rgba(232, 117, 26, 0.42) !important;
}

.form-field input,
.form-field textarea,
.form-field select {
  border-radius: var(--lux-radius-sm) !important;
}

.tech-icon-box {
  border-radius: var(--lux-radius-md) !important;
}

.header .nav {
  border-radius: 100px !important;
}

/* Premium gold rim on key cards */
.lux-card,
#expertise .pillar,
.value-card,
.service-card {
  border: 1px solid rgba(245, 200, 66, 0.22) !important;
}

@media (max-width: 900px) {
  .section-code-rain,
  .cta-terminals {
    display: none;
  }
}

.lux-divider {
  display: none !important;
}

/* ══ Trust ticker — wavy luxury strip (not flat box) ══ */
.trust-strip {
  position: relative !important;
  border: none !important;
  padding: 1.5rem 0 1.65rem !important;
  background:
    linear-gradient(180deg, #0a0510 0%, #12081f 50%, #0a0510 100%) !important;
  overflow: hidden !important;
}

.trust-track span {
  color: rgba(245, 200, 66, 0.72) !important;
  letter-spacing: 0.18em !important;
}

.trust-track span::before {
  color: #e8751a !important;
}

/* Hero ticker — curved glass ribbon */
.hero-ticker {
  height: auto !important;
  min-height: 46px !important;
  background: rgba(8, 4, 15, 0.55) !important;
  border: none !important;
  border-radius: 28px 28px 0 0 !important;
  left: 2rem !important;
  right: 2rem !important;
  width: auto !important;
  backdrop-filter: blur(14px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(14px) saturate(160%) !important;
  box-shadow: inset 0 1px 0 rgba(245, 200, 66, 0.2), 0 -8px 32px rgba(26, 10, 46, 0.15) !important;
  overflow: hidden !important;
}

.hero-ticker::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #e8751a, #f5c842, #e8751a);
  background-size: 200% 100%;
  animation: heroTickerGlow 6s linear infinite;
}

@keyframes heroTickerGlow {
  0% { background-position: 0% 0; }
  100% { background-position: 200% 0; }
}

.hero-ticker-track {
  color: rgba(245, 200, 66, 0.65) !important;
  padding: 0.85rem 0 !important;
}

/* Partners strip — premium curved dark band */
.partners-strip {
  position: relative !important;
  border: none !important;
  padding: 3.5rem 2rem !important;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(232, 117, 26, 0.08) 0%, transparent 55%),
    linear-gradient(180deg, #08040f 0%, #12081f 55%, #08040f 100%) !important;
  overflow: hidden !important;
}

.partners-label {
  color: rgba(245, 200, 66, 0.55) !important;
  letter-spacing: 0.32em !important;
}

.partners-row {
  gap: 1.25rem 1.5rem !important;
}

.partner-logo {
  padding: 0.85rem 1.65rem !important;
  border-radius: 100px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(245, 200, 66, 0.18) !important;
  color: rgba(255, 255, 255, 0.42) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
  transition: all 0.35s ease !important;
}

.partner-logo:hover {
  color: #f5c842 !important;
  border-color: rgba(245, 200, 66, 0.45) !important;
  background: rgba(232, 117, 26, 0.12) !important;
  transform: translateY(-3px) !important;
}

/* Footer — wavy top, no straight gold line */
.footer {
  position: relative !important;
  border: none !important;
  border-top: none !important;
  border-image: none !important;
  box-shadow: none !important;
  padding: 4.5rem 0 2.5rem !important;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(232, 117, 26, 0.1) 0%, transparent 58%),
    linear-gradient(180deg, #0a0510 0%, #1a0a2e 45%, #08040f 100%) !important;
  overflow: hidden !important;
}

.footer > .wrap {
  position: relative;
  z-index: 2;
  padding: 0 2rem !important;
  border-radius: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.footer-top {
  border-bottom: 1px solid rgba(245, 200, 66, 0.1) !important;
  border-radius: 0 !important;
}

.footer-bar {
  padding-top: 1.5rem !important;
}

.footer-brand img {
  border-radius: 0 !important;
}

/* Kill straight section borders site-wide */
section,
.trust-strip,
.stats-strip,
.partners-strip,
.industries-band,
.tech-band,
.credentials,
.faq-section,
.contact,
.about,
.testimonials,
.values-band,
.bento-showcase,
.services-section,
.leadership,
#expertise {
  border-top: none !important;
  border-bottom: none !important;
}

/* Orange sections — wave overlap, no extra straight gaps */
.methodology,
.section--dark,
.global-band,
.cta-banner {
  padding-top: 4.5rem !important;
  padding-bottom: 4.5rem !important;
  margin-top: 0 !important;
}

/* Same-tone sections blend without divider boxes */
.methodology + .section--dark,
.section--dark + .services-section,
.stats-strip + .trust-strip,
.trust-strip + .bento-showcase {
  margin-top: 0 !important;
}

.process-visual {
  border-radius: var(--lux-radius-md) !important;
  overflow: hidden !important;
  margin: 2rem 0 !important;
}

/* Stats strip — see FINAL STABILIZE block at end of file */

/* ══ CONTACT — high contrast (fix invisible light-on-light) ══ */
.contact {
  background: #ffffff !important;
}

.contact-copy {
  background: linear-gradient(145deg, #1a0a2e 0%, #2a1654 55%, #1a0a2e 100%) !important;
  border: 1px solid rgba(245, 200, 66, 0.28) !important;
  box-shadow: 0 24px 64px rgba(26, 10, 46, 0.28) !important;
  color: #ffffff !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

.contact-copy .overline {
  color: #f5c842 !important;
  -webkit-text-fill-color: #f5c842 !important;
  font-weight: 700 !important;
  letter-spacing: 0.14em !important;
}

.contact-copy h2 {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.contact-copy .accent-italic {
  color: #f5c842 !important;
  -webkit-text-fill-color: #f5c842 !important;
}

.contact-copy > p {
  color: rgba(255, 255, 255, 0.82) !important;
}

.contact-list {
  gap: 1.65rem !important;
}

.contact-row .row-label {
  color: #f5c842 !important;
  -webkit-text-fill-color: #f5c842 !important;
  font-weight: 700 !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.14em !important;
}

.contact-row p,
.contact-row a {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-size: 1.08rem !important;
  font-weight: 500 !important;
  text-decoration: none !important;
}

.contact-row a:hover {
  color: #f5c842 !important;
  -webkit-text-fill-color: #f5c842 !important;
}

.form-panel {
  background: #ffffff !important;
  border: 1px solid rgba(245, 200, 66, 0.25) !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

.form-field label {
  color: #1a0a2e !important;
  font-weight: 600 !important;
}

.form-field input,
.form-field textarea {
  color: #1a0a2e !important;
  background: #faf8fc !important;
  border: 1px solid rgba(42, 22, 84, 0.15) !important;
}

/* ══ Megdesk chat bot (replaces Book Consultation) ══ */
.megbot {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 400;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.85rem;
}

.megbot-toggle {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.9rem 1.45rem;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  background: linear-gradient(135deg, #2a1654 0%, #1a0a2e 100%);
  color: #ffffff;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 12px 40px rgba(26, 10, 46, 0.35), inset 0 1px 0 rgba(245, 200, 66, 0.25);
  border: 1px solid rgba(245, 200, 66, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.megbot-toggle:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 48px rgba(26, 10, 46, 0.42), inset 0 1px 0 rgba(245, 200, 66, 0.35);
}

.megbot-toggle-icon {
  font-size: 1.15rem;
  line-height: 1;
}

.megbot-panel {
  width: min(360px, calc(100vw - 2rem));
  max-height: 480px;
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(245, 200, 66, 0.3);
  box-shadow: 0 24px 64px rgba(26, 10, 46, 0.28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.96);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  pointer-events: none;
}

.megbot-panel.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.megbot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.15rem;
  background: linear-gradient(135deg, #1a0a2e, #2a1654);
  color: #fff;
}

.megbot-header-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.megbot-header strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
}

.megbot-header small {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.65);
}

.megbot-avatar {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  background: linear-gradient(135deg, #f5c842, #e8751a);
  color: #1a0a2e;
}

.megbot-close {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.megbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 220px;
  max-height: 300px;
  background: #faf8fc;
}

.megbot-msg {
  max-width: 88%;
  padding: 0.75rem 0.95rem;
  border-radius: 16px;
  font-size: 0.82rem;
  line-height: 1.55;
}

.megbot-msg--bot {
  align-self: flex-start;
  background: #ffffff;
  color: #1a0a2e;
  border: 1px solid rgba(42, 22, 84, 0.1);
  border-bottom-left-radius: 4px;
}

.megbot-msg--user {
  align-self: flex-end;
  background: linear-gradient(135deg, #2a1654, #1a0a2e);
  color: #ffffff;
  border-bottom-right-radius: 4px;
}

.megbot-input {
  display: flex;
  gap: 0.5rem;
  padding: 0.85rem;
  border-top: 1px solid rgba(42, 22, 84, 0.08);
  background: #fff;
}

.megbot-input input {
  flex: 1;
  border: 1px solid rgba(42, 22, 84, 0.15);
  border-radius: 100px;
  padding: 0.65rem 1rem;
  font-size: 0.82rem;
  font-family: inherit;
  color: #1a0a2e;
  background: #faf8fc;
}

.megbot-input button {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, #e8751a, #f5c842);
  color: #1a0a2e;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
}

.floating-cta {
  display: none !important;
}

@media (max-width: 900px) {
  .megbot {
    bottom: 1rem;
    right: 1rem;
  }

  .megbot-toggle-label {
    display: none;
  }

  .megbot-toggle {
    width: 56px;
    height: 56px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .orange-section-fx::after,
  .section-code-col,
  .cta-terminal-line,
  .hero-ticker::before {
    animation: none !important;
  }

  .cta-terminal-line {
    opacity: 0.65 !important;
    transform: none !important;
  }

  .megbot-panel {
    transition: none !important;
  }
}

/* ═══════════════════════════════════════════════════════════
   FINAL STABILIZE — visibility, contrast, no broken bridges
   ═══════════════════════════════════════════════════════════ */

.section-edge-bridge,
.section-code-rain,
.cta-terminals {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
}

.orange-section-fx::after {
  opacity: 0.45 !important;
  animation: none !important;
}

/* Stats — large gold numbers, no icon boxes */
.stats-strip {
  background: linear-gradient(180deg, #1a0a2e 0%, #12081f 100%) !important;
  padding: 3.5rem 0 4rem !important;
}

.stats-row {
  gap: 0.5rem 1.5rem !important;
  padding-bottom: 0 !important;
}

.stat-item {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 1.5rem 0.75rem !important;
}

.stat-item::before {
  display: none !important;
}

.stat-item:hover {
  transform: none !important;
  box-shadow: none !important;
}

.stat-icon {
  display: none !important;
}

.stats-strip .stat-value {
  font-size: clamp(2.75rem, 5.5vw, 4.25rem) !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  margin-bottom: 0.5rem !important;
  background: linear-gradient(120deg, #f5c842 0%, #e8751a 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: #f5c842 !important;
  -webkit-text-fill-color: transparent !important;
}

.stats-strip .stat-value span {
  background: inherit !important;
  -webkit-background-clip: inherit !important;
  background-clip: inherit !important;
  color: inherit !important;
  -webkit-text-fill-color: transparent !important;
}

.stats-strip .stat-caption {
  color: rgba(255, 255, 255, 0.62) !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.16em !important;
  margin-top: 0.65rem !important;
}

/* Hero KPI cards — black text, not green */
.kpi-card span {
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  -webkit-text-fill-color: #1a0a2e !important;
  color: #1a0a2e !important;
}

.kpi-card small {
  color: #1a0a2e !important;
}

/* Hero feature pills — readable, larger, no icons */
.hero-feat {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 0.4rem !important;
  padding: 1.4rem 1.35rem !important;
  background: rgba(255, 255, 255, 0.94) !important;
  border: 1px solid rgba(42, 22, 84, 0.1) !important;
  border-radius: 18px !important;
  box-shadow: 0 10px 32px rgba(26, 10, 46, 0.14) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.hero-feat-icon {
  display: none !important;
}

.hero-feat strong {
  color: #1a0a2e !important;
  -webkit-text-fill-color: #1a0a2e !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
  text-shadow: none !important;
  margin-bottom: 0 !important;
}

.hero-feat span {
  color: #2a1654 !important;
  -webkit-text-fill-color: #2a1654 !important;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  line-height: 1.45 !important;
}

/* Trust ticker — clean dark band */
.trust-strip {
  padding: 1.35rem 0 1.5rem !important;
  background: #0a0510 !important;
  border: none !important;
}

.trust-track span {
  color: rgba(245, 200, 66, 0.78) !important;
}

/* Footer — full bleed, no inner box card */
.footer > .wrap {
  padding: 0 2rem !important;
  border-radius: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.footer-top {
  border-bottom: 1px solid rgba(245, 200, 66, 0.12) !important;
}

.footer-col h5 {
  color: #f5c842 !important;
}

.footer-about p,
.footer-col a {
  color: rgba(255, 255, 255, 0.65) !important;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.55) !important;
}

/* ═══════════════════════════════════════════════════════════
   FINAL SITE POLISH — logos, readability, layout stability
   ═══════════════════════════════════════════════════════════ */

/* MEG logo — native purple mark, pill curve matching header nav */
.header .logo {
  gap: 0 !important;
  align-items: center !important;
  display: inline-flex !important;
  flex-shrink: 0 !important;
  line-height: 0 !important;
  border-radius: 100px !important;
  overflow: hidden !important;
}

.header .logo img {
  width: auto !important;
  height: 46px !important;
  max-width: min(190px, 38vw) !important;
  border-radius: 0 !important;
  object-fit: contain !important;
  background: none !important;
  padding: 0 !important;
  box-shadow: none !important;
  display: block !important;
}

.logo span,
.footer-brand span {
  display: none !important;
}

.footer-brand {
  gap: 0 !important;
  align-items: flex-start !important;
  margin-bottom: 0.5rem !important;
}

.footer-brand img {
  width: auto !important;
  height: 64px !important;
  max-width: 240px !important;
  border-radius: 0 !important;
  object-fit: contain !important;
  background: none !important;
  padding: 0 !important;
  box-shadow: none !important;
  display: block !important;
}

/* About section logo */
.about-logo-card {
  padding: 2rem 1.75rem !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.about-logo-card img {
  width: min(240px, 80%) !important;
  height: auto !important;
  margin: 0 auto 1.25rem !important;
  display: block !important;
  border-radius: 0 !important;
  object-fit: contain !important;
  background: none !important;
  padding: 0 !important;
  box-shadow: none !important;
}

.about-logo-card blockquote {
  font-size: 1.15rem !important;
  color: #1a0a2e !important;
  -webkit-text-fill-color: #1a0a2e !important;
  background: none !important;
}

/* Stats — all values visible on dark strip */
.stats-strip {
  background: linear-gradient(180deg, #1a0a2e 0%, #12081f 100%) !important;
}

.stats-strip .stat-value,
.stats-strip .stat-value span {
  background: linear-gradient(120deg, #f5c842 0%, #e8751a 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: #f5c842 !important;
}

.stats-strip .stat-caption {
  color: rgba(255, 255, 255, 0.68) !important;
}

/* Bento ML card — no overlap */
.bento--tall .bento-ui.bento-ml-net {
  inset: 2.5rem 1.25rem 9rem !important;
}

.bento--tall .bento-title {
  background: #ffffff !important;
  z-index: 4 !important;
}

/* Contact — always readable */
.contact-row p,
.contact-row a {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* Partners strip label */
.partners-label {
  color: rgba(245, 200, 66, 0.72) !important;
}

/* Mobile — keep logo readable */
@media (max-width: 1024px) {
  .header .logo img {
    height: 40px !important;
    max-width: 165px !important;
  }
}

@media (max-width: 640px) {
  .header .logo img {
    height: 36px !important;
    max-width: 145px !important;
  }

  .footer-brand img {
    height: 48px !important;
    max-width: 200px !important;
  }

  .about-logo-card img {
    width: min(200px, 90%) !important;
  }
}
