/* ==========================================================================
   PROPELLER-INSPIRED PREMIUM DESIGN SYSTEM (Mr Das Developers B2B)
   ========================================================================== */
@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=Outfit:wght@200;300;400;500;600;700;800;900&display=swap");

:root {
  /* Dark minimalism colors */
  --bg-dark: #07090e;
  --bg-card: rgba(13, 17, 28, 0.4);
  --bg-card-hover: rgba(22, 29, 46, 0.6);
  --border-glass: rgba(255, 255, 255, 0.05);
  --border-glass-active: rgba(255, 255, 255, 0.2);
  
  --accent-cyan: #50cccc;
  --accent-pink: #ed0f8f;
  --accent-green: #3ddc84;
  --accent-purple: #7f00ff;
  
  --text-primary: #ffffff;
  --text-secondary: #9aa2b1;
  --text-muted: #575e6b;
  
  /* Gradients */
  --grad-pink-cyan: linear-gradient(135deg, #50cccc 0%, #ed0f8f 100%);
  --grad-purple-cyan: linear-gradient(135deg, #7f00ff 0%, #50cccc 100%);
  --grad-text: linear-gradient(135deg, #ffffff 40%, #a5b4fc 100%);
  
  /* Transitions */
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.25s ease;
}

/* ==========================================================================
   BASE & LAYOUT STYLES
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden !important;
  width: 100% !important;
  position: relative !important;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Plus Jakarta Sans", sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
}

main h1, main h2, main h3, main h4, main h5, main h6 {
  font-family: "Outfit", sans-serif !important;
  font-weight: 300 !important;
  letter-spacing: -0.03em !important;
  color: #fff !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Structural Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 5;
}

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

/* ==========================================================================
   CREATIVE DECORATIONS (Grid Lines, Blobs, Spinners)
   ========================================================================== */
/* Vertical Background Grid Guides */
.grid-lines-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  display: flex;
  justify-content: space-between;
}

.grid-line {
  width: 1px;
  height: 100%;
  background: rgba(255, 255, 255, 0.02);
}

/* Neon Blur Blobs */
.neon-blobs-container {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.neon-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.15;
  mix-blend-mode: screen;
}

.neon-blob-pink {
  width: 650px;
  height: 650px;
  background: var(--accent-pink);
  top: -150px;
  right: -100px;
  animation: float-pink 22s infinite alternate ease-in-out;
}

.neon-blob-cyan {
  width: 550px;
  height: 550px;
  background: var(--accent-cyan);
  bottom: 10%;
  left: -200px;
  animation: float-cyan 18s infinite alternate ease-in-out;
}

.neon-blob-purple {
  width: 700px;
  height: 700px;
  background: var(--accent-purple);
  top: 45%;
  right: -250px;
  animation: float-purple 20s infinite alternate ease-in-out;
}

@keyframes float-pink {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(80px, 60px) scale(1.15); }
}

@keyframes float-cyan {
  0% { transform: translate(0, 0) scale(1.1); }
  100% { transform: translate(-60px, -80px) scale(0.9); }
}

@keyframes float-purple {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(70px, -50px) scale(1.1); }
}

/* Spinner Vector lines */
.spinning-svg-wrap {
  position: absolute;
  top: 200px;
  left: 50%;
  transform: translateX(-50%);
  width: 750px;
  height: 750px;
  pointer-events: none;
  z-index: 2;
  opacity: 0.25;
}

.spinning-svg {
  width: 100%;
  height: 100%;
  animation: spin-clockwise 45s linear infinite;
}

@keyframes spin-clockwise {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ==========================================================================
   PROPELLER BUTTONS (Sliding Icons)
   ========================================================================== */
.btn-propeller {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 14px 32px;
  border-radius: 100px;
  font-family: "Outfit", sans-serif;
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  color: #fff;
  overflow: hidden;
  position: relative;
  transition: var(--transition-fast);
}

.btn-propeller-primary {
  background: #fff;
  color: var(--bg-dark);
  border-color: #fff;
  font-weight: 600;
}

.btn-propeller-primary:hover {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-propeller-secondary {
  background: rgba(255, 255, 255, 0.02);
  border-color: var(--border-glass);
}

.btn-propeller-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Arrow Slide Logic */
.arrow-slide-wrap {
  width: 12px;
  height: 12px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
}

.arrow-slide-container {
  display: flex;
  position: absolute;
  left: 0;
  width: 24px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.arrow-slide-container svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  fill: currentColor;
}

.btn-propeller:hover .arrow-slide-container {
  transform: translateX(-12px);
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.mrd-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px;
  z-index: 1000;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
}

.mrd-header.scrolled {
  background: rgba(7, 9, 14, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border-glass);
  height: 80px;
}

.nav-container-mrd {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.mrd-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-family: "Outfit", sans-serif;
  font-size: 24px;
  font-weight: 400;
  color: #fff;
  letter-spacing: -0.03em;
}

.mrd-logo img {
  height: 38px;
  width: auto;
  margin-right: 12px;
  opacity: 0.95;
  filter: brightness(0) invert(1);
}

.mrd-logo-dot {
  color: var(--accent-cyan);
  margin-left: 2px;
}

.nav-links-mrd {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links-mrd a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 14.5px;
  transition: var(--transition-fast);
  font-family: "Outfit", sans-serif;
}

.nav-links-mrd a:hover {
  color: #fff;
}

/* Mobile Toggle Hamburger */
.mrd-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  z-index: 1001;
}

.mrd-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 10px;
  transition: var(--transition-fast);
}

.mrd-hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.mrd-hamburger.active span:nth-child(2) {
  opacity: 0;
}
.mrd-hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Off-canvas sidebar */
.mobile-overlay-mrd {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(7, 9, 14, 0.85);
  backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  z-index: 998;
  transition: var(--transition-fast);
}

.mobile-overlay-mrd.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-sidebar-mrd {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  height: 100vh;
  background: #0d111c;
  border-left: 1px solid var(--border-glass);
  padding: 50px 30px;
  z-index: 999;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(100%);
}

.mobile-sidebar-mrd.active {
  transform: translateX(0);
}

.mobile-nav-links-mrd {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 60px;
}

.mobile-nav-links-mrd a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 20px;
  font-family: "Outfit", sans-serif;
  font-weight: 300;
  transition: var(--transition-fast);
}

.mobile-nav-links-mrd a:hover {
  color: #fff;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-mrd {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 140px;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}

.hero-content-mrd {
  text-align: center;
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  z-index: 5;
}

.hero-badge-mrd {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  padding: 8px 20px;
  border-radius: 100px;
  color: var(--accent-cyan);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 30px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: "Outfit", sans-serif;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
}

.hero-mrd h1 {
  font-size: 78px;
  line-height: 1.05;
  margin-bottom: 30px;
  font-weight: 200; /* Propeller light feel */
}

/* Typing text animation cursors */
.typing-cursor {
  font-weight: 300;
  display: inline-block;
  min-height: 1.2em;
  vertical-align: middle;
  white-space: nowrap;
}

.typing-cursor::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 0.95em;
  background: var(--accent-cyan);
  margin-left: 4px;
  animation: cursor-blink 1s steps(2, start) infinite;
  vertical-align: middle;
}

@keyframes cursor-blink {
  to { visibility: hidden; }
}

.hero-mrd p {
  font-size: 21px;
  font-weight: 300;
  color: var(--text-secondary);
  max-width: 760px;
  margin: 0 auto 50px;
  line-height: 1.6;
}

.hero-actions-mrd {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 80px;
}

/* Trust Indicators Row */
#trustIndicators {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 36px;
  padding: 28px 0;
  border-top: 1px solid var(--border-glass);
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 13.5px;
  font-weight: 500;
  font-family: "Outfit", sans-serif;
}

.trust-item i {
  color: var(--accent-cyan);
  font-size: 16px;
}

/* ==========================================================================
   MARGINAL INDEX SYSTEM
   ========================================================================== */
.section-index-tag {
  font-family: "Outfit", sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.section-index-tag::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
}

/* ==========================================================================
   SECTION HEADER
   ========================================================================== */
.section-header-mrd {
  margin-bottom: 70px;
  position: relative;
  z-index: 2;
  text-align: left; /* Shifted to clean layout */
  max-width: 780px;
}

.section-header-mrd h2 {
  font-size: 48px;
  line-height: 1.15;
  font-weight: 300;
  margin-bottom: 20px;
}

.section-header-mrd p {
  color: var(--text-secondary);
  font-size: 18px;
  font-weight: 300;
}

/* ==========================================================================
   GLASS PANELS & HOVERS
   ========================================================================== */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  transition: var(--transition-smooth);
}

.glass-panel:hover {
  border-color: var(--border-glass-active);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
}

/* ==========================================================================
   WHY PARTNER WITH US (Section 2)
   ========================================================================== */
.why-grid-mrd {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-card-mrd {
  padding: 40px;
  height: 100%;
}

.why-icon-box {
  font-size: 28px;
  color: var(--accent-cyan);
  margin-bottom: 30px;
  display: inline-flex;
}

.why-card-mrd h3 {
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 16px;
}

.why-card-mrd p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.65;
}

/* ==========================================================================
   SERVICES Tab Filter (Section 3)
   ========================================================================== */
.services-tabs-container {
  display: flex;
  gap: 16px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.service-tab-btn {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  padding: 10px 26px;
  border-radius: 100px;
  font-family: "Outfit", sans-serif;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.service-tab-btn:hover,
.service-tab-btn.active {
  background: #fff;
  color: var(--bg-dark);
  border-color: #fff;
  font-weight: 600;
}

.services-grid-mrd {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card-mrd {
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.service-card-top h4 {
  font-size: 20px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 400;
}

.service-card-top h4 i {
  color: var(--accent-cyan);
}

.service-card-top p {
  color: var(--text-secondary);
  font-size: 14.5px;
  margin-bottom: 30px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-tag {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text-secondary);
}

/* ==========================================================================
   PARTNERSHIP MODELS Grid (Section 4)
   ========================================================================== */
.models-grid-mrd {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.model-card-mrd {
  padding: 40px;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.model-card-mrd.featured-model {
  border-color: var(--border-glass-active);
  box-shadow: 0 20px 40px -15px rgba(255, 255, 255, 0.03);
}

.model-card-mrd.featured-model::before {
  content: "Popular Choice";
  position: absolute;
  top: 20px;
  right: -35px;
  background: var(--accent-pink);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 35px;
  transform: rotate(45deg);
  letter-spacing: 0.08em;
  font-family: "Outfit", sans-serif;
}

.model-header-mrd {
  margin-bottom: 30px;
}

.model-icon {
  font-size: 32px;
  color: var(--accent-cyan);
  margin-bottom: 20px;
  display: inline-flex;
}

.model-header-mrd h3 {
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 10px;
}

.model-desc {
  color: var(--text-secondary);
  font-size: 14.5px;
  line-height: 1.6;
}

.model-divider {
  border: 0;
  border-top: 1px solid var(--border-glass);
  margin: 24px 0;
}

.model-meta-item {
  margin-bottom: 20px;
}

.model-meta-label {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
  display: block;
}

.model-meta-value {
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 500;
}

.model-meta-value.price {
  font-size: 19px;
  font-weight: 600;
  color: var(--accent-cyan);
}

.model-benefits-list {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.model-benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--text-secondary);
}

.model-benefits-list li i {
  color: var(--accent-green);
  font-size: 13px;
  margin-top: 4px;
}

/* ==========================================================================
   INTERACTIVE PROCESS TIMELINE (Section 5)
   ========================================================================== */
.process-timeline-layout {
  display: grid;
  grid-template-columns: 4fr 6fr;
  gap: 50px;
  align-items: center;
}

.timeline-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.timeline-step-btn {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  cursor: pointer;
  text-align: left;
  transition: var(--transition-smooth);
}

.timeline-step-btn:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.02);
}

.timeline-step-btn.active {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--border-glass-active);
}

.step-num-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Outfit", sans-serif;
  font-weight: 500;
  font-size: 17px;
  color: var(--text-secondary);
  flex-shrink: 0;
  transition: var(--transition-fast);
}

.timeline-step-btn.active .step-num-circle {
  background: #fff;
  color: var(--bg-dark);
  border-color: transparent;
  font-weight: 700;
}

.timeline-step-btn h4 {
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 4px;
}

.timeline-step-btn p {
  font-size: 13.5px;
  color: var(--text-muted);
  margin: 0;
}

/* Timeline presentation panel */
.timeline-presentation-panel {
  padding: 50px;
  min-height: 440px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.presentation-content {
  display: none;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.presentation-content.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.presentation-badge {
  color: var(--accent-cyan);
  font-family: "Outfit", sans-serif;
  font-weight: 500;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  display: inline-block;
}

.presentation-content h3 {
  font-size: 32px;
  font-weight: 300;
  margin-bottom: 20px;
}

.presentation-content p {
  color: var(--text-secondary);
  font-size: 16px;
  margin-bottom: 36px;
  line-height: 1.7;
}

/* Console details */
.step-visual-mock {
  background: rgba(7, 9, 14, 0.6);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 24px;
  font-family: monospace;
  font-size: 13.5px;
  color: #a7f3d0;
}

.step-visual-mock.agreement-mock { color: #f472b6; }
.step-visual-mock.planning-mock { color: #60a5fa; }
.step-visual-mock.qa-mock { color: #34d399; }
.step-visual-mock.delivery-mock { color: var(--accent-cyan); }

.step-visual-line {
  margin-bottom: 8px;
  display: flex;
  gap: 12px;
}

.step-visual-line span {
  color: var(--text-muted);
}

/* ==========================================================================
   INDUSTRIES SUPPORTED (Section 6)
   ========================================================================== */
.industries-grid-mrd {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.industry-card-mrd {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px;
}

.industry-icon-box {
  font-size: 24px;
  color: var(--accent-cyan);
}

.industry-card-mrd h3 {
  font-size: 18px;
  font-weight: 400;
  margin: 0;
}

/* ==========================================================================
   CASE STUDIES & PROPELLER TRACK RECORD (Section 7)
   ========================================================================== */
.cases-grid-mrd {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.case-card-mrd {
  padding: 44px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.case-badge {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  display: inline-block;
  margin-bottom: 24px;
  align-self: flex-start;
  font-family: "Outfit", sans-serif;
}

.case-card-mrd h3 {
  font-size: 28px;
  font-weight: 300;
  margin-bottom: 24px;
}

.case-details-mrd {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
  flex: 1;
}

.case-detail-block h4 {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-bottom: 6px;
  font-weight: 700;
}

.case-detail-block p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.65;
}

/* Propeller stats style */
.case-metrics-mrd {
  background: rgba(7, 9, 14, 0.4);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.metric-block {
  text-align: left;
}

.metric-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  display: block;
}

.metric-num {
  font-family: "Outfit", sans-serif;
  font-size: 32px;
  font-weight: 300;
  color: #fff;
  display: flex;
  align-items: flex-start;
}

.metric-num sup {
  font-size: 16px;
  margin-left: 2px;
  top: 4px;
  position: relative;
}

.metric-num.positive {
  color: var(--accent-cyan);
}

.metric-num.negative {
  color: var(--accent-pink);
}

/* ==========================================================================
   BENTO STATISTICS (Section 8)
   ========================================================================== */
.stats-grid-mrd {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 70px;
}

.stat-card-mrd {
  padding: 40px 30px;
  text-align: center;
}

.stat-number {
  font-family: "Outfit", sans-serif;
  font-size: 54px;
  font-weight: 200;
  color: #fff;
  line-height: 1;
  margin-bottom: 12px;
}

.stat-card-mrd p {
  color: var(--text-secondary);
  font-size: 14.5px;
  font-weight: 500;
}

.choose-grid-mrd {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.choose-item-mrd {
  display: flex;
  gap: 24px;
  padding: 32px;
}

.choose-icon {
  font-size: 26px;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.choose-text h4 {
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 10px;
}

.choose-text p {
  color: var(--text-secondary);
  font-size: 14.5px;
  margin: 0;
  line-height: 1.65;
}

/* ==========================================================================
   INTERACTIVE PORTAL DEMO
   ========================================================================== */
.portal-tabs-container {
  display: grid;
  grid-template-columns: 3fr 7fr;
  gap: 32px;
  margin-top: 40px;
}

.portal-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.portal-tab-btn {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  text-align: left;
  transition: var(--transition-smooth);
}

.portal-tab-btn:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.02);
}

.portal-tab-btn.active {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--border-glass-active);
}

.portal-tab-btn i {
  font-size: 18px;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.portal-tab-btn.active i {
  color: var(--accent-cyan);
}

.portal-tab-btn span {
  font-family: "Outfit", sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.portal-tab-btn.active span {
  color: #fff;
}

.portal-window {
  min-height: 480px;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.portal-window-header {
  background: rgba(7, 9, 14, 0.95);
  padding: 16px 24px;
  border-bottom: 1px solid var(--border-glass);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.portal-dots-window {
  display: flex;
  gap: 8px;
}

.portal-dot-w {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.portal-dot-red { background: var(--accent-pink); }
.portal-dot-yellow { background: #f59e0b; }
.portal-dot-green { background: var(--accent-green); }

.portal-title-window {
  font-size: 12px;
  font-family: monospace;
  color: var(--text-muted);
}

.portal-tab-content {
  padding: 40px;
  background: rgba(7, 9, 14, 0.2);
  flex: 1;
  display: none;
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.portal-tab-content.active {
  display: block;
  opacity: 1;
  transform: scale(1);
}

/* 1. Dashboard Tab Styles */
.dash-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

.dash-metric-card {
  background: rgba(7, 9, 14, 0.5);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 24px;
}

.dash-metric-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.dash-metric-header span {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.dash-metric-header i {
  color: var(--accent-cyan);
  font-size: 15px;
}

.dash-metric-val {
  font-size: 26px;
  font-weight: 300;
  font-family: "Outfit", sans-serif;
}

.dash-section-title {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 18px;
  display: block;
  font-weight: 700;
}

.dash-projects-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.dash-project-item {
  background: rgba(7, 9, 14, 0.3);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dash-project-info h5 {
  font-size: 15px;
  font-weight: 400;
  margin-bottom: 4px;
}

.dash-project-info p {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
}

.dash-project-status {
  text-align: right;
}

.dash-progress-container {
  width: 140px;
  height: 4px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 6px;
}

.dash-progress-bar {
  height: 100%;
  background: var(--accent-cyan);
  border-radius: 100px;
}

.dash-progress-num {
  font-size: 11px;
  color: var(--text-muted);
}

/* 2. Resource center download items */
.resource-list-mrd {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.resource-item-mrd {
  background: rgba(7, 9, 14, 0.3);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.resource-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.resource-left i {
  font-size: 26px;
  color: var(--accent-cyan);
}

.resource-details h5 {
  font-size: 15px;
  font-weight: 400;
  margin-bottom: 4px;
}

.resource-details p {
  font-size: 12px;
  color: var(--text-secondary);
  margin: 0;
}

.btn-download-mrd {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  color: #fff;
  padding: 8px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
  font-family: "Outfit", sans-serif;
}

.btn-download-mrd:hover {
  background: #fff;
  color: var(--bg-dark);
  border-color: #fff;
}

.download-progress-bar {
  display: none;
  width: 100px;
  height: 4px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
}

.download-progress-fill {
  width: 0%;
  height: 100%;
  background: var(--accent-cyan);
}

/* 3. Calculator tab */
.calc-layout-mrd {
  display: grid;
  grid-template-columns: 11fr 9fr;
  gap: 40px;
  align-items: center;
}

.calc-controls-mrd {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.calc-slider-group {
  margin-bottom: 10px;
}

.calc-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.calc-slider-header label {
  font-size: 13.5px;
  color: var(--text-secondary);
  font-weight: 600;
  font-family: "Outfit", sans-serif;
}

.calc-slider-val {
  font-family: monospace;
  font-size: 15px;
  font-weight: 700;
  color: var(--accent-cyan);
}

.calc-slider {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  outline: none;
  -webkit-appearance: none;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
  transition: transform 0.1s ease;
}

.calc-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.calc-results-mrd {
  background: rgba(7, 9, 14, 0.4);
  border: 1px solid var(--border-glass-active);
  border-radius: 16px;
  padding: 36px;
  text-align: center;
}

.calc-result-title {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.calc-result-num {
  font-family: "Outfit", sans-serif;
  font-size: 44px;
  font-weight: 300;
  color: #fff;
  margin-bottom: 16px;
}

.calc-result-subtext {
  font-size: 12px;
  color: var(--text-muted);
}

/* 4. Partner badge styles */
.badge-portal-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.badge-demo-box {
  background: rgba(7, 9, 14, 0.3);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.partner-badge-demo {
  border: 1px solid var(--border-glass-active);
  border-radius: 12px;
  padding: 24px 30px;
  max-width: 240px;
  width: 100%;
  background: rgba(7, 9, 14, 0.85);
  text-align: center;
  transition: var(--transition-fast);
}

.partner-badge-demo.light-style {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.badge-label-mrd {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 700;
  display: block;
}

.partner-badge-demo.light-style .badge-label-mrd {
  color: #64748b;
}

.badge-logo-mrd {
  font-family: "Outfit", sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #fff;
  margin-top: 6px;
}

.partner-badge-demo.light-style .badge-logo-mrd {
  color: #0f172a;
}

.badge-logo-mrd span {
  color: var(--accent-cyan);
}

.partner-badge-demo.light-style .badge-logo-mrd span {
  color: #0284c7;
}

.badge-title-mrd {
  font-size: 11px;
  color: var(--accent-pink);
  font-weight: 700;
  margin-top: 8px;
  display: block;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.partner-badge-demo.light-style .badge-title-mrd {
  color: #be185d;
}

.badge-style-selectors {
  display: flex;
  gap: 12px;
}

.badge-style-btn {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  padding: 6px 16px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
}

.badge-style-btn.active {
  background: #fff;
  color: var(--bg-dark);
}

.badge-code-box {
  background: rgba(7, 9, 14, 0.5);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.badge-code-box code {
  font-family: monospace;
  font-size: 12px;
  color: #94a3b8;
  word-break: break-all;
  display: block;
  margin-bottom: 24px;
  line-height: 1.5;
}

/* 5. Reporting mockup */
.report-portal-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.report-upload-area {
  border: 2px dashed var(--border-glass);
  border-radius: 12px;
  padding: 40px 24px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-fast);
  background: rgba(7, 9, 14, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.report-upload-area:hover,
.report-upload-area.drag-over {
  border-color: var(--accent-cyan);
  background: rgba(80, 204, 204, 0.03);
}

.report-upload-area i {
  font-size: 36px;
  color: var(--accent-cyan);
}

.report-upload-area p {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
}

.report-preview-box {
  background: #fff;
  border-radius: 12px;
  padding: 28px;
  color: #334155;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  font-family: sans-serif;
}

.report-preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 14px;
  margin-bottom: 18px;
}

.report-preview-logo {
  max-height: 32px;
  font-size: 14px;
  font-weight: 700;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 8px;
}

.report-preview-logo img {
  max-height: 28px;
  width: auto;
}

.report-preview-tag {
  background: #f1f5f9;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  color: #475569;
  letter-spacing: 0.05em;
}

.report-preview-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #0f172a;
}

.report-preview-meta {
  font-size: 11px;
  color: #94a3b8;
  margin-bottom: 18px;
}

.report-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.report-preview-card {
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 6px;
  padding: 12px 8px;
  text-align: center;
}

.report-preview-label {
  font-size: 9px;
  color: #475569;
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}

.report-preview-val {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
}

.report-preview-val.positive {
  color: #16a34a;
}

.report-preview-chart-mock {
  height: 50px;
  background: linear-gradient(180deg, rgba(80, 204, 204, 0.1) 0%, rgba(80, 204, 204, 0) 100%);
  border-bottom: 2px solid var(--accent-cyan);
  border-radius: 4px;
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-list-mrd {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item-mrd {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-glass);
  background: rgba(13, 17, 28, 0.3);
  transition: var(--transition-fast);
}

.faq-item-mrd:hover {
  border-color: rgba(255, 255, 255, 0.1);
}

.faq-item-mrd.active {
  border-color: var(--border-glass-active);
  background: rgba(13, 17, 28, 0.5);
}

.faq-question-mrd {
  padding: 26px 30px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-question-mrd h3 {
  font-size: 18px;
  font-weight: 400;
  margin: 0;
}

.faq-icon-mrd {
  font-size: 13px;
  color: var(--text-secondary);
  transition: transform 0.3s ease;
}

.faq-item-mrd.active .faq-icon-mrd {
  transform: rotate(180deg);
  color: var(--accent-cyan);
}

.faq-answer-mrd {
  padding: 0 30px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item-mrd.active .faq-answer-mrd {
  padding: 0 30px 28px;
  max-height: 300px;
}

.faq-answer-mrd p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.65;
}

/* ==========================================================================
   PARTNER CTA & MULTI-STEP APPLICATION FORM
   ========================================================================== */
.cta-section-mrd {
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.02) 0%, rgba(7, 9, 14, 1) 100%);
  border-top: 1px solid var(--border-glass);
}

.cta-layout-mrd {
  display: grid;
  grid-template-columns: 5fr 5fr;
  gap: 70px;
  align-items: start;
}

.cta-info-side h2 {
  font-size: 54px;
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 28px;
}

.cta-info-side p {
  color: var(--text-secondary);
  font-size: 17px;
  margin-bottom: 50px;
  line-height: 1.7;
}

.contact-channels-mrd {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.contact-channel-card {
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  text-decoration: none;
}

.contact-channel-card i {
  font-size: 26px;
  color: var(--accent-cyan);
}

.contact-channel-details h4 {
  font-size: 15px;
  font-weight: 400;
  margin-bottom: 4px;
}

.contact-channel-details p {
  font-size: 12.5px;
  color: var(--text-secondary);
  margin: 0;
}

/* Onboarding Form Container */
.partner-form-panel {
  padding: 44px;
  border-radius: 20px;
  border: 1px solid var(--border-glass);
  background: rgba(13, 17, 28, 0.3);
}

.form-step-progress {
  display: flex;
  justify-content: space-between;
  margin-bottom: 36px;
  position: relative;
}

.form-step-progress::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  top: 13px;
  left: 0;
  z-index: 1;
}

.progress-bar-line {
  position: absolute;
  height: 1px;
  background: var(--accent-cyan);
  top: 13px;
  left: 0;
  z-index: 2;
  width: 0%;
  transition: var(--transition-smooth);
}

.step-indicator {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #0d111c;
  border: 1.5px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  position: relative;
  z-index: 5;
  transition: var(--transition-fast);
}

.step-indicator.active {
  border-color: #fff;
  color: #fff;
  background: var(--bg-dark);
}

.step-indicator.completed {
  background: #fff;
  border-color: #fff;
  color: var(--bg-dark);
}

.form-step-pane {
  display: none;
}

.form-step-pane.active {
  display: block;
  animation: fade-in-up 0.4s ease forwards;
}

@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.form-step-pane h3 {
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 24px;
}

.form-group-mrd {
  margin-bottom: 24px;
}

.form-group-mrd label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 10px;
  font-family: "Outfit", sans-serif;
  letter-spacing: 0.02em;
}

.form-control-mrd {
  width: 100%;
  background: rgba(7, 9, 14, 0.4);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  padding: 12px 18px;
  color: #fff;
  font-family: inherit;
  font-size: 14.5px;
  outline: none;
  transition: var(--transition-fast);
}

.form-control-mrd:focus {
  border-color: #fff;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* Service select checklist */
.services-checkboxes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.checkbox-card-mrd {
  background: rgba(7, 9, 14, 0.2);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.checkbox-card-mrd:hover {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.15);
}

.checkbox-card-mrd input {
  accent-color: var(--accent-cyan);
}

.checkbox-card-mrd span {
  font-size: 13.5px;
  color: var(--text-secondary);
}

.form-nav-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 36px;
}

/* Success layout */
.form-success-pane {
  text-align: center;
  padding: 30px 0;
  display: none;
}

.form-success-pane i {
  font-size: 54px;
  color: var(--accent-green);
  margin-bottom: 24px;
  display: block;
}

.form-success-pane h3 {
  font-size: 26px;
  font-weight: 300;
  margin-bottom: 16px;
}

.form-success-pane p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer-mrd {
  background: #040508;
  border-top: 1px solid var(--border-glass);
  padding: 80px 0 40px;
  position: relative;
  z-index: 10;
}

.footer-top-mrd {
  display: grid;
  grid-template-columns: 4fr 2fr 2fr 4fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand-side h3 {
  font-size: 24px;
  margin-bottom: 20px;
  font-weight: 400;
}

.footer-brand-side p {
  color: var(--text-secondary);
  font-size: 14.5px;
  line-height: 1.7;
  max-width: 320px;
}

.footer-links-column h4 {
  font-size: 12px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 24px;
  letter-spacing: 0.08em;
  font-weight: 600;
  font-family: "Outfit", sans-serif;
}

.footer-links-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-links-column ul a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14.5px;
  transition: var(--transition-fast);
}

.footer-links-column ul a:hover {
  color: #fff;
}

.footer-newsletter-side h4 {
  font-size: 12px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: 0.08em;
  font-weight: 600;
  font-family: "Outfit", sans-serif;
}

.footer-newsletter-side p {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 20px;
}

.newsletter-form-mrd {
  display: flex;
  gap: 10px;
}

.newsletter-form-mrd input {
  flex: 1;
}

.footer-bottom-mrd {
  padding-top: 40px;
  border-top: 1px solid var(--border-glass);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom-mrd p {
  color: var(--text-muted);
  font-size: 13.5px;
  margin: 0;
}

.footer-legal-links {
  display: flex;
  gap: 24px;
}

.footer-legal-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13.5px;
  transition: var(--transition-fast);
}

.footer-legal-links a:hover {
  color: var(--text-secondary);
}

/* ==========================================================================
   RESPONSIVE DESIGN MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-mrd h1 {
    font-size: 58px;
  }
  .why-grid-mrd,
  .services-grid-mrd,
  .models-grid-mrd,
  .industries-grid-mrd {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top-mrd {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  .portal-tabs-container {
    grid-template-columns: 1fr;
  }
  .portal-nav {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .portal-tab-btn {
    flex: 1 1 calc(33.333% - 12px);
    justify-content: center;
  }
  .spinning-svg-wrap {
    top: 180px;
    width: 600px;
    height: 600px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px !important;
  }
  .section-header-mrd h2 {
    font-size: 32px !important;
  }
  .why-card-mrd,
  .service-card-mrd,
  .model-card-mrd {
    padding: 24px !important;
  }
  .section-padding {
    padding: 80px 0;
  }
  .mrd-hamburger {
    display: flex;
  }
  .nav-links-mrd,
  .mrd-header .btn-propeller {
    display: none;
  }
  .hero-mrd h1 {
    font-size: 42px;
  }
  .hero-mrd p {
    font-size: 17px;
  }
  .hero-actions-mrd {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin: 0 auto 50px;
  }
  .why-grid-mrd,
  .services-grid-mrd,
  .models-grid-mrd,
  .choose-grid-mrd,
  .cases-grid-mrd,
  .industries-grid-mrd {
    grid-template-columns: 1fr;
  }
  .stats-grid-mrd {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-timeline-layout,
  .cta-layout-mrd,
  .calc-layout-mrd,
  .badge-portal-layout,
  .report-portal-layout {
    grid-template-columns: 1fr;
  }
  .timeline-presentation-panel {
    min-height: auto;
    padding: 30px;
  }
  .portal-tab-btn {
    flex: 1 1 calc(50% - 12px);
  }
  .cta-info-side h2 {
    font-size: 36px;
  }
  .contact-channels-mrd {
    grid-template-columns: 1fr;
  }
  .partner-form-panel {
    padding: 30px;
  }
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
  .spinning-svg-wrap {
    top: 140px !important;
    width: 90vw !important;
    height: 90vw !important;
    max-width: 320px !important;
    max-height: 320px !important;
  }
  .neon-blob-pink {
    width: 280px !important;
    height: 280px !important;
    right: -50px !important;
    top: -50px !important;
  }
  .neon-blob-cyan {
    width: 250px !important;
    height: 250px !important;
    left: -50px !important;
  }
  .neon-blob-purple {
    width: 280px !important;
    height: 280px !important;
    right: -50px !important;
  }
}

@media (max-width: 480px) {
  .portal-tab-btn {
    flex: 1 1 100%;
  }
  .stats-grid-mrd {
    grid-template-columns: 1fr;
  }
  .services-checkboxes-grid {
    grid-template-columns: 1fr;
  }
}



/* ==========================================================================
   TEXT NEON GRADIENT & STABILIZED HERO HEADING
   ========================================================================== */
.text-gradient-neon {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-pink) 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  color: transparent !important;
  display: inline;
}

/* Stabilize h1 on mobile to prevent height jumping during typewriter changes */
@media (max-width: 768px) {
  .hero-mrd {
    padding-top: 100px !important;
    padding-bottom: 40px !important;
    min-height: auto !important;
    overflow: visible !important;
  }
  .hero-mrd h1 {
    font-size: 32px !important;
    line-height: 1.25 !important;
  }
  #typewriterText {
    font-size: 24px !important;
    display: inline-block;
    line-height: 1.25 !important;
    white-space: normal !important;
    word-break: break-word !important;
  }
  .dash-metrics-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  #trustIndicators {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
    padding: 18px 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .trust-item {
    font-size: 11.5px !important;
    gap: 6px !important;
    justify-content: center !important;
  }
}
@media (max-width: 480px) {
  .hero-mrd h1 {
    font-size: 26px !important;
  }
  #typewriterText {
    font-size: 19px !important;
    white-space: normal !important;
    word-break: break-word !important;
  }
  #trustIndicators {
    grid-template-columns: 1fr !important;
  }
}

/* Sub-page component layout responsiveness */
@media (max-width: 576px) {
  .dash-project-item,
  .resource-item-mrd {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 16px !important;
  }
  .dash-project-status,
  .btn-download-mrd {
    width: 100% !important;
    text-align: left !important;
  }
  .dash-progress-container {
    width: 100% !important;
  }
}

@media (max-width: 480px) {
  .report-preview-grid {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }
  .case-metrics-mrd {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}

/* ==========================================================================
   PHASE 2: FORM TABS & TESTIMONIALS PREMIUM STYLES
   ========================================================================== */

/* Form Tabs Header Toggle Styles */
.form-tab-header {
  display: flex;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 30px;
  padding: 4px;
  margin-bottom: 30px;
}

.form-tab-toggle {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  padding: 12px 20px;
  border-radius: 26px;
  font-family: "Outfit", sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
}

.form-tab-toggle:hover {
  color: #fff;
}

.form-tab-toggle.active {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-pink) 100%);
  color: #07090e;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(80, 204, 204, 0.25);
}

/* Partner Testimonials Styling */
.testimonials-grid-mrd {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.testimonial-card-mrd {
  padding: 40px;
  border-radius: 20px;
  background: rgba(13, 17, 28, 0.3);
  border: 1px solid var(--border-glass);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card-mrd:hover {
  transform: translateY(-5px);
  border-color: var(--accent-cyan);
  box-shadow: 0 10px 30px -10px rgba(80, 204, 204, 0.15);
}

.testimonial-rating {
  margin-bottom: 20px;
}

.testimonial-rating i {
  color: #ebb12a; /* Gold Stars */
  font-size: 15px;
  margin-right: 4px;
}

.testimonial-quote {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 30px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(80, 204, 204, 0.1);
  border: 1px solid rgba(80, 204, 204, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  font-size: 20px;
}

.testimonial-author h4 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 4px 0;
  color: #fff;
}

.testimonial-author p {
  font-size: 12.5px;
  color: var(--text-secondary);
  margin: 0;
}

@media (max-width: 1024px) {
  .testimonials-grid-mrd {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .testimonials-grid-mrd {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ==========================================================================
   TECH STACK & CREATIVE SUITE (Section 3)
   ========================================================================== */
.tech-stack-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 40px;
}

.tech-group-mrd {
  padding: 40px;
  border-radius: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
}

.tech-group-mrd h3 {
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff !important;
  font-family: "Outfit", sans-serif !important;
}

.tech-group-mrd h3 i {
  color: var(--accent-cyan);
}

.tech-grid-mrd {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tech-item-mrd {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  transition: var(--transition-fast);
  text-align: center;
}

.tech-item-mrd:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border-glass-active);
  transform: translateY(-2px);
}

.tech-item-mrd i {
  font-size: 36px;
  margin-bottom: 12px;
  transition: var(--transition-fast);
}

.tech-item-mrd:hover i {
  transform: scale(1.1);
}

.tech-item-mrd span {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  font-family: "Outfit", sans-serif;
}

/* Responsive Tech Stack */
@media (max-width: 991.98px) {
  .tech-stack-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .tech-grid-mrd {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .tech-group-mrd {
    padding: 24px;
  }
  .tech-item-mrd {
    padding: 16px 12px;
  }
  .tech-item-mrd i {
    font-size: 30px;
  }
}

