/* ==========================================================================
   QUODE.SPACE - SPACE-BASED WEB DESIGN & INTERACTIVE MOTION
   Adapted from the design language and architecture of cbwebsitedesign.co.uk
   ========================================================================== */

:root {
  --color-black: #121417;
  --color-black-pure: #090a0c;
  --color-white: #fafafa;
  --color-whiter: #ffffff;
  --color-gray-light: #e6e8eb;
  --color-gray: #9d9d9b;
  --color-gray-dark: #1b1e22;
  --color-orange: #fe802d;
  --color-red: #fe0048;
  --color-purple: #ac0bd9;
  --color-cyan: #00f2fe;
  --color-blue: #4facfe;
  --color-deep-space: #07090c;
  
  --cbd-gradient: linear-gradient(60deg, #fe802d, #fe0048, #ac0bd9);
  --space-gradient: linear-gradient(120deg, #00f2fe 0%, #4facfe 40%, #ac0bd9 100%);
  --accent-glow: radial-gradient(circle at 50% 50%, rgba(172, 11, 217, 0.18) 0%, transparent 60%);
  
  --border-round: 0.85rem;
  --border-pill: 9999px;
  --font-main: 'Space Grotesk', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', monospace;
  
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.1);
  --shadow-deep: 0 20px 60px rgba(0, 0, 0, 0.25);
  --shadow-glow: 0 0 35px rgba(172, 11, 217, 0.25);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  background-color: var(--color-white);
  color: var(--color-black);
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

img, svg {
  user-select: none;
  max-width: 100%;
  display: block;
}

/* Containers matching CB Layout */
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  max-width: 1320px;
}

.container-wide {
  width: calc(100% - 3rem);
  max-width: 1680px;
  margin: 0 auto;
}

@media (min-width: 992px) {
  .container-wide { width: calc(100% - 5rem); }
}

@media (min-width: 1400px) {
  .container-wide { width: calc(100% - 8rem); }
}

.section {
  position: relative;
  z-index: 1;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

@media (min-width: 992px) {
  .section {
    padding-top: 6.5rem;
    padding-bottom: 6.5rem;
  }
}

.section.padded {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.section.inverted {
  background-color: var(--color-black);
  color: var(--color-white);
}

.section.pt-0 { padding-top: 0; }
.section.pb-0 { padding-bottom: 0; }

/* Subtitle Pill Component (Direct signature from CB design) */
.subtitle-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: var(--border-pill);
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.08);
  margin-bottom: 1.5rem;
  width: fit-content;
}

.inverted .subtitle-pill {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--color-white);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-orange);
  box-shadow: 0 0 10px var(--color-orange);
  animation: pulseGlow 2s infinite ease-in-out;
}

.pulse-dot.cyan {
  background: var(--color-cyan);
  box-shadow: 0 0 10px var(--color-cyan);
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.6; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.2); }
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              height 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#header::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(250, 250, 250, 0.75);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transform: scaleY(0);
  transform-origin: center top;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: -1;
}

body.scrolled #header::before {
  transform: scaleY(1);
}

body.scrolled.scrolling-down #header {
  transform: translateY(-100%);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100px;
  transition: height 0.35s ease;
}

body.scrolled .header-container {
  height: 75px;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.brand-logo {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.brand-logo .dot {
  color: var(--color-purple);
  background: var(--cbd-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-domain {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-gray);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.04);
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2.2rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
  font-size: 0.8rem;
}

@media (max-width: 991px) {
  .nav-menu { display: none; }
}

.nav-menu li a {
  position: relative;
  padding: 0.5rem 0;
}

.nav-menu li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--cbd-gradient);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-menu li a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

/* Button Styles (Matching CB's rounded pill CTA) */
.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--border-pill);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn-primary {
  background: var(--color-black);
  color: var(--color-white);
}

.btn-primary:hover {
  background: var(--color-purple);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.btn-gradient {
  background: var(--cbd-gradient);
  color: var(--color-white);
}

.btn-gradient:hover {
  box-shadow: 0 4px 25px rgba(254, 0, 72, 0.4);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border-color: rgba(0, 0, 0, 0.15);
  color: var(--color-black);
}

.inverted .btn-outline {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--color-white);
}

.btn-outline:hover {
  background: rgba(0, 0, 0, 0.05);
  border-color: var(--color-black);
}

.inverted .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-white);
}

/* Menu Toggle Button */
.menu-toggle {
  width: 36px;
  height: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background-color: var(--color-black);
  transition: transform 0.3s ease, width 0.3s ease;
}

.menu-toggle span:nth-child(1) { width: 100%; }
.menu-toggle span:nth-child(2) { width: 65%; }
.menu-toggle span:nth-child(3) { width: 85%; }

.menu-toggle:hover span {
  width: 100%;
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}
.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
  width: 100%;
  transform: translateY(-10px) rotate(-45deg);
}

/* Fullscreen Menu Overlay */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 450;
  background: rgba(18, 20, 23, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
}

body.navigation-open .menu-overlay {
  opacity: 1;
  visibility: visible;
}

.menu-modal-card {
  width: 90%;
  max-width: 980px;
  background: #151717;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-round);
  padding: 3.5rem;
  color: var(--color-white);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-deep);
}

.menu-modal-card::before {
  content: "";
  position: absolute;
  bottom: -20%;
  right: -20%;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(172, 11, 217, 0.35) 0%, transparent 70%);
  pointer-events: none;
}

.modal-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  position: relative;
  z-index: 2;
}

@media (max-width: 768px) {
  .modal-grid { grid-template-columns: 1fr; gap: 2rem; }
  .menu-modal-card { padding: 2rem; }
}

.modal-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.modal-nav-list a {
  font-size: clamp(1.5rem, 2.8vw, 2.5rem);
  font-weight: 700;
  color: #888e98;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}

.modal-nav-list a:hover {
  color: #fff;
  transform: translateX(12px);
}

.modal-info-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  padding-left: 2rem;
}

@media (max-width: 768px) {
  .modal-info-col { border-left: none; padding-left: 0; }
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 100px;
  padding-bottom: 2rem;
  background-color: var(--color-white);
}

.hero-canvas-bg,
canvas.hero-bg,
canvas#heroFluidCanvas {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 1 !important;
  pointer-events: auto !important;
  display: block !important;
}

.hero-content {
  position: relative !important;
  z-index: 2 !important;
  max-width: 960px;
  margin: auto auto !important;
  text-align: center;
  pointer-events: none;
}

.hero-content a,
.hero-content button,
.hero-content .btn-pill,
.hero-content .subtitle-pill,
.hero-content .trust-bar,
.hero-content .trust-item {
  pointer-events: auto;
}

.hero-h1 {
  font-size: clamp(2rem, 4.2vw, 4.2rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.hero-h1.hero-headline-oneline {
  text-transform: uppercase;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .hero-h1.hero-headline-oneline {
    white-space: normal;
    font-size: clamp(1.8rem, 5.5vw, 2.6rem);
  }
}

.hero-sublead {
  font-size: clamp(1.2rem, 1.8vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #2b313a;
  margin-bottom: 1.5rem;
}

.hero-h1 .gradient-text,
.hero-sublead .gradient-text {
  background: var(--cbd-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-p {
  font-size: clamp(1.05rem, 1.4vw, 1.35rem);
  color: #555c66;
  max-width: 760px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

/* Hero Trust Ribbon (Exact CB Layout Pattern) */
.hero-trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #4b525d;
}

.trust-item .rating-stars {
  color: #ff9900;
  letter-spacing: 2px;
}

.trust-badge-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.8rem;
  color: var(--color-black);
}

/* ==========================================================================
   CLIENT MARQUEE - JAXA, ESA, SINGULARORBIT
   ========================================================================== */
.client-section {
  padding: 3rem 0;
  background: #f4f5f7;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.client-section-title {
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  font-weight: 700;
  text-transform: uppercase;
  color: #88909b;
  margin-bottom: 1.75rem;
}

.client-logos-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
}

.client-logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
  height: 52px;
}

.client-logo-card:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: translateY(-2px);
}

/* ==========================================================================
   VALUE PROPOSITION (THREE-LEFT-TEXT-RIGHT STYLE)
   ========================================================================== */
.three-left-text-right {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 991px) {
  .three-left-text-right {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.interactive-mockup-frame {
  position: relative;
  background: #0f1115;
  border-radius: var(--border-round);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-deep);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.mockup-header-bar {
  height: 36px;
  background: #171a20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  padding: 0 1rem;
  gap: 0.5rem;
}

.mockup-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #333942;
}

.mockup-dot:nth-child(1) { background: #ff5f56; }
.mockup-dot:nth-child(2) { background: #ffbd2e; }
.mockup-dot:nth-child(3) { background: #27c93f; }

.mockup-canvas {
  width: 100%;
  height: calc(100% - 36px);
}

.intro-lead-h2 {
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.intro-p {
  font-size: 1.05rem;
  color: #555c66;
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

.intro-features-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.intro-feat-num {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-purple);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.intro-feat-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #333942;
}

/* ==========================================================================
   FEATURED MISSIONS / WORK TILES (INVERTED DARK PADDED SECTION)
   ========================================================================== */
.work-tiles-section {
  background: var(--color-black);
  color: var(--color-white);
  border-radius: var(--border-round);
  position: relative;
  overflow: hidden;
  margin: 1.5rem auto;
  padding: 5rem 3rem;
}

.work-tiles-section::before {
  content: "";
  position: absolute;
  top: -10%;
  left: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(254, 128, 45, 0.22) 0%, transparent 60%);
  pointer-events: none;
}

.work-tiles-section::after {
  content: "";
  position: absolute;
  bottom: -10%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(172, 11, 217, 0.25) 0%, transparent 60%);
  pointer-events: none;
}

.work-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3.5rem;
  position: relative;
  z-index: 2;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  position: relative;
  z-index: 2;
}

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

.project-card {
  background: #171a1e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-round);
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.project-thumb-box {
  width: 100%;
  aspect-ratio: 16 / 10;
  position: relative;
  overflow: hidden;
  background: #0d0f12;
}

.project-thumb-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.project-card:hover .project-thumb-box img {
  transform: scale(1.05);
}

.project-badge-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--border-pill);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.project-details {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-client-name {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-orange);
  margin-bottom: 0.5rem;
}

.project-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.project-summary {
  font-size: 0.95rem;
  color: #9aa1ad;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.project-metrics-row {
  display: flex;
  gap: 1.5rem;
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-val {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-white);
}

.metric-label {
  font-size: 0.75rem;
  color: #7b8390;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ==========================================================================
   SERVICES INTERACTIVE SCROLLER / TABS
   ========================================================================== */
.services-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 4rem;
  align-items: start;
}

@media (max-width: 991px) {
  .services-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.services-sidebar {
  position: sticky;
  top: 120px;
}

.service-nav-tab {
  display: block;
  width: 100%;
  text-align: left;
  padding: 1.25rem 1.5rem;
  border-radius: var(--border-round);
  background: transparent;
  border: 1px solid transparent;
  font-size: 1.1rem;
  font-weight: 700;
  color: #6c7582;
  cursor: pointer;
  transition: all 0.25s ease;
  margin-bottom: 0.5rem;
}

.service-nav-tab:hover {
  background: rgba(0, 0, 0, 0.03);
  color: var(--color-black);
}

.service-nav-tab.active {
  background: var(--color-black);
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}

.service-card-group {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.service-feature-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--border-round);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.service-card-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.service-card-desc {
  font-size: 1rem;
  color: #555c66;
  margin-bottom: 1.5rem;
  line-height: 1.65;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.service-tag {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.8rem;
  border-radius: var(--border-pill);
  background: #f0f2f5;
  color: #3f4753;
}

/* ==========================================================================
   WHAT MAKES US DIFFERENT (FEATURES CARDS GRID)
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3.5rem;
}

.feat-item-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--border-round);
  padding: 2.5rem 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feat-item-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 4px;
  background: var(--cbd-gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feat-item-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.feat-item-card:hover::before {
  opacity: 1;
}

.feat-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(254, 128, 45, 0.1);
  color: var(--color-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.feat-item-card:nth-child(2) .feat-icon-box {
  background: rgba(172, 11, 217, 0.1);
  color: var(--color-purple);
}

.feat-item-card:nth-child(3) .feat-icon-box {
  background: rgba(0, 242, 254, 0.1);
  color: #00bcd4;
}

.feat-item-card:nth-child(4) .feat-icon-box {
  background: rgba(254, 0, 72, 0.1);
  color: var(--color-red);
}

.feat-card-h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.feat-card-p {
  font-size: 0.95rem;
  color: #606873;
  line-height: 1.6;
}

/* ==========================================================================
   OUR PROCESS TIMELINE SCROLLER
   ========================================================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
  margin-top: 3.5rem;
}

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

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

.process-step-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--border-round);
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
}

.step-number {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--color-purple);
  margin-bottom: 1.25rem;
}

.step-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.step-desc {
  font-size: 0.92rem;
  color: #5d6571;
  line-height: 1.6;
}

/* ==========================================================================
   INTERACTIVE MISSION COST ESTIMATOR / CALCULATOR
   ========================================================================== */
.calculator-card {
  background: #14171a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-round);
  padding: 3.5rem;
  color: var(--color-white);
  box-shadow: var(--shadow-deep);
  position: relative;
  overflow: hidden;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3.5rem;
  margin-top: 2rem;
}

@media (max-width: 850px) {
  .calc-grid { grid-template-columns: 1fr; gap: 2rem; }
  .calculator-card { padding: 2rem; }
}

.calc-group {
  margin-bottom: 2rem;
}

.calc-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #adb5c2;
  margin-bottom: 0.85rem;
}

.calc-options-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.calc-btn-option {
  padding: 0.65rem 1.25rem;
  border-radius: var(--border-pill);
  background: #1f2328;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--color-white);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.calc-btn-option:hover {
  border-color: rgba(255, 255, 255, 0.3);
}

.calc-btn-option.selected {
  background: var(--cbd-gradient);
  border-color: transparent;
  box-shadow: 0 4px 20px rgba(254, 0, 72, 0.35);
}

.calc-summary-panel {
  background: #1b1f24;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-round);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.calc-price-display {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--color-white);
  line-height: 1;
  margin: 1rem 0 0.5rem;
}

.calc-timeline-display {
  font-size: 0.95rem;
  color: #9aa1ad;
  margin-bottom: 2rem;
}

/* ==========================================================================
   FAQS ACCORDION
   ========================================================================== */
.faqs-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
}

@media (max-width: 900px) {
  .faqs-layout { grid-template-columns: 1fr; gap: 2rem; }
}

.faq-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding: 1.5rem 0;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  gap: 1rem;
}

.faq-icon-arrow {
  font-size: 1.25rem;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon-arrow {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  font-size: 0.98rem;
  color: #5a626f;
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-top: 1rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: var(--color-deep-space);
  color: var(--color-white);
  padding: 5rem 0 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

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

@media (max-width: 600px) {
  .footer-top-grid { grid-template-columns: 1fr; gap: 2rem; }
}

.footer-col-title {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  font-weight: 700;
  text-transform: uppercase;
  color: #7d8592;
  margin-bottom: 1.25rem;
}

.footer-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav-links a {
  color: #a4abb7;
  font-size: 0.95rem;
}

.footer-nav-links a:hover {
  color: #ffffff;
}

.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  color: #727a87;
  flex-wrap: wrap;
  gap: 1rem;
}
