/*
Theme Name: ZeneX
Theme URI: https://zenex.local
Author: ZeneX Team
Description: Custom theme for ZeneX fintech platform.
Version: 1.0.0
*/

/* 1. Google Fonts Import (Poppins & Plus Jakarta Sans) */
@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;600;700;800&family=Poppins:wght@300;400;500;600;700&display=swap");

/* 2. Brand Design Tokens (60-30-10 Rule) */
:root {
  /* 60% - Dominant Canvas (Base & Surfaces) */
  --canvas-bg: #fcf7f6;
  --surface-card: #ffffff;
  --surface-border: #e2e8f0;

  /* 30% - Secondary Structure (Brand & Text) */
  --structure-navy-deep: #000066;
  --structure-navy-primary: #001b67;
  --structure-navy-mid: #003399;
  --text-primary: #1a1a1a;
  --text-muted: #5a6578;
  --text-on-dark: #ffffff;

  /* 10% - Accent & Action (CTAs & Badges) */
  --accent-coral: #fc4827;
  --accent-coral-hover: #e03e1e;
  --accent-coral-subtle: rgba(252, 72, 39, 0.1);

  /* Typography & Layout */
  --font-heading: "Mena Grotesk", "Plus Jakarta Sans", sans-serif;
  --font-body: "Poppins", sans-serif;
  --max-width: 1200px;
  --transition: all 0.25s ease-in-out;
}

/* 3. Global Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--canvas-bg);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--structure-navy-deep);
  font-weight: 700;
  line-height: 1.25;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* 4. Layout Utility Classes */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section-padding {
  padding-top: 80px;
  padding-bottom: 80px;
}

/* 5. Brand Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--accent-coral);
  color: var(--text-on-dark);
}

.btn-primary:hover {
  background-color: var(--accent-coral-hover);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--structure-navy-deep);
  color: var(--structure-navy-deep);
}

.btn-outline:hover {
  background-color: var(--accent-coral);
  border-color: var(--accent-coral);
  color: var(--text-on-dark);
}
/* --- Lock Mobile Width & Prevent Horizontal Scrolling --- */
html,
body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}
/* =========================================
   6. HEADER & NAVIGATION (Glassmorphism)
   ========================================= */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  padding: 24px 0;
  z-index: 1000;
  background-color: rgba(252, 247, 246, 0.85); /* Slightly transparent canvas */
  backdrop-filter: blur(12px); /* Premium glass blur effect */
  border-bottom: 1px solid var(--surface-border); /* The crisp separation line */
}

.header-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo {
  max-height: 44px;
  width: auto;
  display: block;
}

.header-nav {
  background-color: var(--surface-card);
  padding: 16px 56px;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

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

.nav-links a {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--structure-navy-deep);
}

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

.btn-pill {
  border-radius: 50px;
  padding: 16px 40px;
  background-color: var(--structure-navy-deep);
  color: var(--text-on-dark);
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  transition: var(--transition);
}

.btn-pill:hover {
  background-color: var(--structure-navy-primary);
  transform: translateY(-2px);
}

/* =========================================
   HOMEPAGE HERO: VIBRANT BLUE & BOTTOM-ANCHORED
========================================= */

.vibrant-blue-bg {
  /* Exact Sunora style: Rich blue at the top, fading to a bright, airy light blue at the bottom */
  background: linear-gradient(180deg, #091133 10%, #144b8f 50%, #285487 90%);
  padding-top: 60px; /* Reduced the massive top space */
  padding-bottom: 0 !important; /* CRITICAL: Locks the image perfectly to the floor */
  position: relative;
  overflow: hidden;
}

/* --- Layout Structure --- */
.hero-container-bottom {
  display: flex;
  align-items: flex-end; /* Locks both the image and text alignment to the bottom */
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  /* REMOVED min-height completely so it never creates massive empty spaces when zooming out! */
}

.hero-content-elevated {
  flex: 0 0 50%;
  max-width: 580px;
  padding-bottom: 80px; /* Reduced from 120px to fix the height issue */
  padding-top: 40px;
}

/* --- Typography --- */
.hero-eyebrow.text-coral {
  display: inline-block;
  color: #fc4827; /* ZeneX Coral pops beautifully on this blue */
  background: rgba(
    255,
    255,
    255,
    0.95
  ); /* A clean white pill behind the text */
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 28px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.hero-title.text-white {
  font-size: 4.2rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.05;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}

.hero-subtitle.text-light-blue {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #e0e7ff; /* Very soft, readable tinted white/blue */
  margin-bottom: 40px;
}

.hero-trust-note {
  font-size: 0.9rem;
  color: #dbeafe;
  margin-top: 24px;
  line-height: 1.5;
  opacity: 0.8;
}

/* --- The Functional Button --- */
.hero-primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #fc4827; /* Coral */
  color: #ffffff !important;
  text-decoration: none;
  padding: 18px 40px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(252, 72, 39, 0.3);
}

.hero-primary-btn:hover {
  background-color: #ffffff;
  color: #1e40af !important; /* Shifts to the dark blue on hover */
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* --- Image Positioning (Anchored to Floor) --- */
.hero-image-anchored {
  flex: 0 0 50%;
  text-align: right;
  margin-bottom: 0;
  line-height: 0; /* Prevents tiny phantom gaps below the image */
}

.hero-image-static {
  display: inline-block;
  max-width: 118%; /* Slightly smaller than before to help with overall height */
  height: auto;
  margin-left: 80px; /* Overhangs slightly on the right for a wide, premium look */
}

/* --- Mobile Responsiveness --- */
@media (max-width: 991px) {
  /* 1. Shift the entire section up */
  .vibrant-blue-bg {
    padding-top: 30px;
  }

  .hero-container-bottom {
    flex-direction: column;
    align-items: flex-start; /* Left-aligns the grid */
    position: relative; /* CRITICAL: Allows the image to anchor to the bottom right */
    padding-top: 0;
    /* Adds space at the bottom so the text doesn't hit the floor, leaving room for the image */
    padding-bottom: 210px;
  }

  /* 2. Left-Align Content & Keep Above Image */
  .hero-content-elevated {
    flex: 0 0 100%;
    max-width: 100%;
    text-align: left; /* All text left-aligned */
    padding-bottom: 0;
    padding-top: 0;
    position: relative;
    z-index: 10; /* Keeps text and buttons clickable ABOVE the image */
  }

  /* 3. Tiny White Pill */
  .hero-eyebrow.text-coral {
    font-size: 0.2rem; /* Shrunk */
    padding: 6px 12px;
    margin-bottom: 14px;
  }

  /* 4. Reduced Headline & Subtitle */
  .hero-title.text-white {
    font-size: 2.7rem; /* Shrunk from 3.2rem */
    margin-bottom: 16px;
  }

  .hero-subtitle.text-light-blue {
    font-size: 1rem;
    margin-bottom: 24px;
    max-width: 90%; /* Keeps text from touching the right edge */
  }

  /* 5. Reduced Waitlist Button */
  .hero-primary-btn {
    padding: 10px 22px; /* Shrunk padding */
    font-size: 0.95rem; /* Shrunk text */
  }

  /* 6. Hide the Trust Note on Mobile */
  .hero-trust-note {
    display: none; /* Invisible on phones, still visible on PC */
  }

  /* 7. Image Overlay Magic (Bottom Right) */
  .hero-image-anchored {
    position: absolute;
    bottom: 0;
    right: -30px; /* Snaps to the right edge */
    width: 90%; /* Scales the image down to fit the corner */
    max-width: 320px;
    z-index: 1; /* Places the image BEHIND the text if they overlap */
    text-align: right;
  }

  .hero-image-static {
    max-width: 100%;
    margin-left: auto; /* Pushes the image fully to the right */
  }
}
/* =========================================
   SECTION 2: CENTRAL PRODUCT SPOTLIGHT
========================================= */

.central-core-section {
  padding: 70px 0 50px 0; /* Massively reduced top and bottom padding */
  /* Starts with a soft tint and fades into pure white to match Section 3 perfectly */
  background: linear-gradient(to bottom, #f0f4f9 0%, #ffffff 100%);
  overflow: hidden;
}

/* --- Headers --- */
.section-header {
  margin-bottom: 50px; /* Sliced down from 80px */
}

.core-title.text-navy {
  font-size: 3.3rem;
  font-weight: 750;
  color: #091133;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.core-subtitle {
  font-size: 1.2rem;
  color: #4a5568;
  max-width: 600px;
  margin: 0 auto;
}

/* --- Widen the 3-Column Grid Layout --- */
.core-layout {
  display: grid;
  /* Increased center from 400px to 580px so your image can scale up */
  grid-template-columns: 1fr 580px 1fr;
  align-items: center;
  gap: 20px; /* Reduced gap to pull things closer */
  max-width: 1200px;
  margin: 0 auto;
}

/* --- The Single Central Showcase --- */
.core-center-showcase {
  position: relative;
  height: auto; /* Let the image dictate its natural height */
  padding: 20px 0; /* Keeps the overall section height perfectly balanced */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- The Premium Photo Styling --- */
.foreground-reality-app {
  position: relative;
  z-index: 3;
  width: 100%; /* Forces the image to fill the new, wider 580px column */
  height: auto;
  border-radius: 24px; /* Premium curved edges */
  box-shadow: 0 40px 80px rgba(5, 8, 20, 0.15); /* Massive, soft studio shadow */
  border: 1px solid rgba(255, 255, 255, 0.8); /* A subtle glass-like rim around the photo */
  object-fit: cover;
}

/* --- Floating Glass Pills (Added Z-index for overlap) --- */
.glass-pill {
  background: #ffffff;
  padding: 14px 24px;
  border-radius: 100px;
  font-size: 1.05rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  transition: transform 0.3s ease;
  position: relative;
  z-index: 10; /* CRITICAL: Ensures pills float ON TOP of the image */
}

/* --- The 3D Overlap Trick --- */
/* Instead of pushing them out, we pull them IN so they overlap the photo */
.push-out-left {
  transform: translateX(40px);
}
.push-out-right {
  transform: translateX(-40px);
}
/* --- The Problem Styles (Restored & Locked) --- */
.glass-pill.muted-pill {
  color: #718096 !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.04) !important;
  background-color: #ffffff !important;
}

.glass-pill.muted-pill .icon-x {
  color: #fc4827 !important; /* ZeneX Coral (Red) */
  font-weight: 900 !important;
  font-size: 1.4rem !important;
  line-height: 1;
}

/* --- The Solution Styles (Restored & Locked) --- */
.glass-pill.active-pill {
  color: #050814 !important; /* ZeneX Navy */
  border: 1px solid rgba(16, 185, 129, 0.4) !important; /* Green border */
  box-shadow: 0 15px 30px rgba(16, 185, 129, 0.12) !important; /* Green glow */
  background-color: #ffffff !important;
}

.glass-pill.active-pill .icon-check {
  color: #10b981 !important; /* Vibrant Green */
  font-weight: 900 !important;
  font-size: 1.4rem !important;
  line-height: 1;
}
/* --- Section Footer Button (Restored & Locked) --- */
.core-footer {
  margin-top: 50px;
}

.core-explore-btn {
  display: inline-block;
  font-weight: 700;
  color: #fc4827 !important; /* Forces ZeneX Coral */
  text-decoration: none;
  font-size: 1.1rem;
  border-bottom: 2px solid transparent;
  padding-bottom: 4px;
  transition: all 0.3s ease;
}

.core-explore-btn:hover {
  color: #050814 !important; /* Shifts to ZeneX Navy on hover */
  border-bottom-color: #050814 !important;
}
/* --- Mobile Responsiveness (Combined & Fixed) --- */
@media (max-width: 1024px) {
  /* 1. Shrink the Typography */
  .section-header {
    margin-bottom: 30px;
  }

  .core-title.text-navy {
    font-size: 2.2rem; /* <-- TWEAK THIS: Scaled down from 3.3rem */
    margin-bottom: 16px;
  }

  .core-subtitle {
    font-size: 1rem; /* <-- TWEAK THIS: Scaled down from 1.2rem */
    padding: 0 16px;
  }

  /* 2. Fix the Layout Spacing */
  .core-layout {
    grid-template-columns: 1fr;
    gap: 30px; /* Reduced gap so it doesn't drag on forever */
    padding: 0 20px;
  }

  /* 3. Fix Image Alignment & Sizing */
  .core-center-showcase {
    order: -1; /* Pushes the image to the top of the section on mobile */
    padding: 0;
    height: auto; /* CRITICAL: Removes the hardcoded 350px so the image fits naturally */
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .foreground-reality-app {
    width: 100%;
    max-width: 400px; /* <-- TWEAK THIS: Stops the image from getting too massive on iPads */
    height: auto;
  }

  /* 4. Shrink & Align the Glass Pills */
  .friction-column,
  .solution-column {
    align-items: center; /* Centers the pills vertically */
    gap: 12px; /* Tighter gap between pills */
  }

  .glass-pill {
    font-size: 0.9rem; /* <-- TWEAK THIS: Shrunk pill text */
    padding: 12px 20px; /* <-- TWEAK THIS: Thinner padding to save space */
    width: 100%;
    max-width: 320px; /* Keeps all pills a uniform size on mobile */
    justify-content: flex-start; /* Keeps the text aligned neatly near the icon */
  }

  /* 5. Reset the desktop 3D overlap trick */
  .push-out-left,
  .push-out-right {
    transform: translateX(0);
  }

  .core-footer {
    margin-top: 30px;
  }
}
/* =========================================
   9. SOLUTION SECTION
   ========================================= */
/* --- 1. Move the top section headline up --- */
.solution-section {
  /* Changed from 120px 0. This reduces top padding while keeping the bottom spacing */
  padding: 80px 0 120px 0;
  background-color: var(--canvas-bg);
}

/* Intro Text */
.solution-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 80px;
}

.solution-intro .section-desc {
  margin-bottom: 24px;
}

/* Pillars Header */
.solution-pillars-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 48px;
}

.solution-pillars-header h3 {
  font-size: 32px;
  margin-bottom: 16px;
  color: var(--structure-navy-deep);
}

.solution-pillars-header p {
  color: var(--text-muted);
  font-size: 18px;
}

/* The 3-Column Grid */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto 100px;
}

.pillar-card {
  background-color: var(--surface-card);
  padding: 40px 32px;
  border-radius: 24px;
  border: 1px solid var(--surface-border);
  box-shadow: 0 12px 24px rgba(0, 0, 102, 0.03);
  transition: transform 0.3s ease;
}

.pillar-card:hover {
  transform: translateY(-8px);
}

.pillar-icon {
  width: 56px;
  height: 56px;
  background-color: var(--accent-coral-subtle);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.icon-number {
  color: var(--accent-coral);
  font-weight: 700;
  font-size: 20px;
  font-family: var(--font-heading);
}

.pillar-card h4 {
  font-size: 22px;
  margin-bottom: 16px;
}

.pillar-card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

/* The Deep Navy Vision Breakout Block */
.vision-breakout {
  background-color: var(--structure-navy-deep);
  border-radius: 32px;
  padding: 80px 40px;
  text-align: center;
  box-shadow: 0 24px 48px rgba(0, 0, 102, 0.15);
  background-image: radial-gradient(
    circle at top right,
    var(--structure-navy-mid),
    transparent 50%
  );
}

.vision-content {
  max-width: 760px;
  margin: 0 auto;
}

.vision-label {
  color: var(--accent-coral);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 14px;
  margin-bottom: 24px;
}

.vision-statement {
  color: var(--text-on-dark);
  font-size: 36px;
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 24px;
}

/* --- 2. Shrink the button and adjust text spacing --- */
.vision-subtext {
  color: #b0b8d1;
  font-size: 17px;
  line-height: 1.5;
  margin-bottom: 0; /* Remove bottom margin so the button controls the gap */
}

/* --- The Coral Pill Fix --- */
.vision-btn {
  display: inline-block;
  padding: 12px 32px;
  font-size: 14.5px;
  border-radius: 50px;
  margin-top: 32px;
  background-color: #fc4827 !important; /* Forces the ZeneX Coral */
  color: #ffffff !important; /* Ensures the text stays white */
  text-decoration: none;
  font-weight: 600;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.vision-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(252, 72, 39, 0.4); /* Adds a soft coral glow on hover */
}

/* --- 3. Mobile formatting to crush the blue card height --- */
@media (max-width: 992px) {
  .solution-section {
    padding: 60px 0 80px 0; /* Moves the top headline even higher on mobile */
  }

  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .vision-breakout {
    /* Squeezes the blue background tighter around the content */
    padding: 40px 20px;
  }

  .vision-statement {
    font-size: 26px; /* Slightly smaller to prevent awkward word wrapping */
    margin-bottom: 16px;
  }

  .vision-subtext {
    font-size: 15px; /* Scales down for mobile readability */
  }

  .vision-btn {
    margin-top: 24px; /* Perfect spacing for a thumb tap */
  }
}
/* =========================================
   10. WHO ZENEX IS FOR (Horizontal Slider)
   ========================================= */
.audience-section {
  padding: 120px 0;
  background-color: #ffffff; /* Crisp white background */
  border-top: 1px solid var(--surface-border);
}

.audience-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 48px;
}

.audience-header .section-desc {
  font-size: 18px;
  color: var(--text-muted);
}

/* Nav Pills */
.audience-nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.nav-pill {
  padding: 10px 24px;
  border-radius: 50px;
  border: 1px solid var(--surface-border);
  color: var(--text-primary);
  font-weight: 500;
  font-size: 14px;
  background-color: var(--canvas-bg);
  transition: all 0.3s ease;
}

.nav-pill:hover,
.nav-pill:focus,
.nav-pill.active-pill {
  background-color: var(--structure-navy-deep);
  color: var(--text-on-dark);
  border-color: var(--structure-navy-deep);
}

/* The Horizontal Scroller */
.audience-scroller {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 32px; /* Room for shadow */
  -webkit-overflow-scrolling: touch;
}

/* Hide Scrollbar for a clean app look */
.audience-scroller::-webkit-scrollbar {
  display: none;
}
.audience-scroller {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Individual Cards */
.audience-card {
  position: relative;
  flex: 0 0 85%; /* Cards take up 85% width, hinting at the next card */
  max-width: 850px; /* Keeps them from getting too wide on large screens */
  height: 490px;
  border-radius: 24px;
  overflow: hidden;
  scroll-snap-align: center;
  background-color: var(--structure-navy-deep);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.06);
}

.card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.card-overlay {
  position: absolute;
  inset: 0;
  /* Dark gradient to make white text pop */
  background: linear-gradient(
    to top,
    rgba(0, 0, 20, 0.9) 0%,
    rgba(0, 0, 20, 0.4) 50%,
    transparent 100%
  );
  z-index: 2;
}

.card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 40px;
  z-index: 3;
  color: var(--text-on-dark);
}

.card-content h3 {
  font-size: 32px;
  color: var(--text-on-dark);
  margin-bottom: 16px;
}

.card-content p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 24px;
  color: #e2e8f0;
  max-width: 600px;
}

.card-tags {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--accent-coral);
  text-transform: uppercase;
}

/* Outro & CTA */
.audience-footer {
  text-align: center;
  margin-top: 60px;
  padding-top: 60px;
  border-top: 1px solid var(--surface-border);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.strong-statement {
  font-size: 32px;
  color: var(--structure-navy-deep);
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.audience-cta {
  padding: 16px 48px;
  font-size: 16px;
}

/* =========================================
   AUDIENCE SECTION FIXES (MOBILE ONLY) 
   ========================================= */

@media (max-width: 768px) {
  /* --- 1. Left Align Headers & Add Proper Spacing --- */
  .audience-header,
  .audience-footer {
    text-align: left !important;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .audience-header h2,
  .audience-header .section-title,
  .strong-statement {
    margin-bottom: 24px !important;
  }

  /* --- 2. Horizontal Swipe for Nav Pills --- */
  .audience-nav {
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 12px;
    -webkit-overflow-scrolling: touch;
  }

  /* Hide the ugly scrollbar under the pills */
  .audience-nav::-webkit-scrollbar {
    display: none;
  }
  .audience-nav {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .nav-pill {
    white-space: nowrap;
  }

  /* --- 3. Clean Up Card Content (Hide Paragraphs) --- */
  .card-content p {
    display: none !important;
  }

  .card-content h3 {
    margin-bottom: 24px !important;
  }

  /* --- 4. Shrink the Join Waitlist Button --- */
  .audience-cta {
    padding: 12px 32px !important;
    font-size: 14.5px !important;
    margin-top: 16px;
  }
  /* --- 5. Shrink Card Typography (Mobile Only) --- */

  /* The white heading ("For Creators") */
  .card-content h3 {
    font-size: 25px !important; /* Shrunk down from the original 32px */
    margin-bottom: 16px !important; /* Keeps the spacing tight */
  }

  /* The coral tags at the bottom */
  .card-tags {
    font-size: 10px !important; /* Shrunk down from the original 13px */
    line-height: 1.5 !important; /* Gives the wrapped text a little breathing room */
  }
  /* --- 6. Fix Small Business Image Crop (Mobile Only) --- */

  /* Targets specifically the 4th card in the scroller */
  .audience-card:nth-child(4) .card-bg {
    object-position: right center !important; /* Anchors the crop to the right side where the man is */
  }
}
/* =========================================
   11. HOW ZENEX WORKS SECTION (Sleek Black Theme)
   ========================================= */
.how-it-works-section {
  padding: 80px 0 40px;
  background-color: #08080b;
  border-top-left-radius: 120px;
  margin-top: -60px;
  position: relative;
  overflow: hidden; /* Contains the reflection glow */
  z-index: 10;
}

/* NEW: The Subtle Navy Reflection Glow */
.how-it-works-section::after {
  content: "";
  position: absolute;
  bottom: -40%; /* Anchors it to the very bottom to meet Section 6 */
  left: -10%;
  width: 90%;
  height: 90%;
  /* A softer, lower-opacity version of the Section 6 glow */
  background: radial-gradient(
    circle,
    rgba(0, 27, 103, 0.25) 0%,
    rgba(0, 51, 153, 0.08) 40%,
    transparent 70%
  );
  filter: blur(120px);
  z-index: 1;
  pointer-events: none;
}

/* Ensures the text and cards stay on top of the new glow */
.how-it-works-section .section-container {
  position: relative;
  z-index: 10;
}

/* Text Colors */
.text-white {
  color: #ffffff;
}
.text-light-gray {
  color: #a0aabf;
  font-size: 16px;
  line-height: 1.6;
}

/* Intro & Floating Image Grid */
.works-intro-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  max-width: 1000px; /* Tighter layout */
  margin: 0 auto 60px;
}

.works-intro-text {
  flex: 1;
  max-width: 480px;
}
/* --- Increased Text Size and Shifted Upward --- */
.works-intro-text .section-title {
  margin-bottom: 20px;
  font-size: 48px; /* Bumped up from 40px */
  line-height: 1.1;
  transform: translateY(
    -20px
  ); /* Nudges the text upward without breaking the flexbox grid */
}
/* Central Static Graphic (Massively Scaled Up & Breaks Border) */
.works-static-graphic {
  flex: 1;
  position: relative;
  /* Pulls the phone MUCH higher out of the black background */
  margin-top: -240px;
  display: flex;
  justify-content: center;
  z-index: 20; /* Ensures it sits above other section elements */
}

.static-app-img {
  /* Drastically increased size */
  max-height: 750px;
  width: auto;
  /* Deeper, wider shadow to ground the static image */
  filter: drop-shadow(0 40px 80px rgba(0, 0, 0, 0.8));
  object-fit: contain;
}

/* Expanded 4-Step Grid */
.works-steps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px; /* Increased from 24px to give boxes breathing room */
  max-width: 1100px; /* Expanded from 900px so cards are much larger */
  margin: 0 auto 80px;
}

.step-card {
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 48px; /* Increased padding makes the box physically larger */
  transition: all 0.3s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  background-color: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}

.step-number {
  color: var(--accent-coral); /* Changed to your Coral brand color */
  font-family: var(--font-heading);
  font-size: 16px; /* Slightly larger */
  font-weight: 700;
  display: block;
  margin-bottom: 24px; /* More space below the number */
}

/* Sleek new placeholders for future UI graphics */
.step-graphic-mini {
  height: 80px; /* Very small, doesn't waste space */
  width: 100%;
  margin-bottom: 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), transparent);
  border-radius: 8px;
}

.step-content h4 {
  color: #ffffff;
  font-size: 20px;
  margin-bottom: 12px;
}

/* Ensure the text has room to breathe */
.step-content p {
  color: #8a94a6;
  font-size: 16px; /* Bumped up slightly for readability */
  line-height: 1.7;
  margin: 0;
}

/* New class for compliance/secondary text so it doesn't clutter */
.step-disclaimer {
  font-size: 13px !important;
  color: #5a6578 !important; /* Muted darker gray */
  line-height: 1.5;
  margin-top: 12px;
}

/* --- The Re-designed Footer Area --- */
.works-footer {
  text-align: center;
  margin-top: 20px;
  padding-bottom: 20px;
}

.works-footer-title {
  color: #e2e8f0; /* A premium, soft silver instead of the clashing blue */
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 32px; /* Gives proper breathing room above the bar */
  letter-spacing: -0.5px;
}

/* --- The Premium Glassmorphism Journey Bar --- */
.linear-journey {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  /* An ultra-premium dark glass gradient that blends perfectly with the black background */
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.06) 0%,
    rgba(255, 255, 255, 0.01) 100%
  );
  padding: 18px 36px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  /* Adds a sleek inner highlight and a soft outer drop shadow */
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.journey-step {
  color: #8a94a6;
  font-weight: 500;
  font-size: 14px;
}
.highlight-step {
  color: #ffffff;
  background-color: var(--accent-coral);
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 600;
}
.journey-arrow {
  color: rgba(255, 255, 255, 0.15);
}

/* Responsive */
@media (max-width: 992px) {
  .works-intro-grid {
    flex-direction: column;
    text-align: center;
  }
  .works-floating-graphic {
    margin-top: 0;
  }
  .works-steps-grid {
    grid-template-columns: 1fr;
  }
  .how-it-works-section {
    padding: 80px 0 60px; /* Reduced bottom padding */
    background-color: #08080b;
    border-top-left-radius: 120px;
    /* REMOVED the bottom radius so it merges perfectly into Section 6 */
    margin-top: -60px;
    position: relative;
    z-index: 10;
  }
}
/* =========================================
   SECTION 6: DARK PREMIUM SHOWCASE
========================================= */

.zenex-dark-showcase-section {
  /* A beautiful radial glow: ZeneX Navy in the center, fading to Black at the edges */
  background: radial-gradient(ellipse at center, #091133 0%, #08080b 80%);
  padding: 100px 0 160px; /* Extra padding at bottom for the curve */

  /* The Sweeping Bottom Curve */
  border-bottom-left-radius: 100px;
  border-bottom-right-radius: 100px;

  position: relative;
  z-index: 5;
  /* Adding a subtle shadow under the curve to make it pop over the white section */
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* --- The 2-Column Layout --- */
.dark-showcase-layout {
  display: flex;
  align-items: center;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
}

/* --- Left Column: Image --- */
.showcase-image-col {
  flex: 0 0 45%;
}

.showcase-photo {
  width: 100%;
  height: auto;
  object-fit: cover;
  /* Soft premium curves for the image */
  border-radius: 32px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05); /* Subtle glass edge */
}

/* --- Right Column: Content --- */
.showcase-content-col {
  flex: 1;
}

.hero-eyebrow.text-coral {
  color: #fc4827;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 20px;
}

.showcase-title.text-white {
  font-size: 3rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

/* 
   THE ABOUT PAGE TEXT GRADIENT 
   Exactly matches your purple-to-coral brand style
*/
.text-gradient-highlight {
  background: linear-gradient(90deg, #9b8cff 0%, #fc4827 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.showcase-desc {
  font-size: 1.15rem;
  color: #a0abc0; /* Soft readable gray */
  line-height: 1.7;
  margin-bottom: 50px;
}

/* --- The 2x2 Feature Grid --- */
.showcase-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 24px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.feature-icon.text-coral {
  font-size: 24px;
  color: #fc4827;
  line-height: 1;
  margin-top: 4px;
}

.feature-text h4.text-white {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 8px 0;
}

.feature-text p {
  font-size: 0.95rem;
  color: #8a94a6;
  margin: 0;
  line-height: 1.6;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 1024px) {
  .zenex-dark-showcase-section {
    border-bottom-left-radius: 60px;
    border-bottom-right-radius: 60px;
    padding: 80px 0 100px;
  }

  .dark-showcase-layout {
    flex-direction: column;
    gap: 50px;
    text-align: center;
  }

  .showcase-title.text-white {
    font-size: 2.5rem;
  }

  .feature-item {
    text-align: left; /* Keep features left-aligned for readability */
  }
}

@media (max-width: 600px) {
  .showcase-features-grid {
    grid-template-columns: 1fr;
  }
}
/* --- BENTO GRID SECTION (SECTIONS 7 & 8) --- */

.bento-section {
  padding: 100px 0;
  background-color: var(--canvas-bg, #fcf7f6);
  color: #1a1a1a;
}

.bento-header {
  margin-bottom: 60px;
}

.bento-header h2 {
  color: #000066;
}

.bento-header p {
  color: #4a4a4a;
}

/* The Grid Layout */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 24px;
}

/* Base Card Styling */
.bento-card {
  padding: 40px;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.bento-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 27, 103, 0.08);
}

/* --- 1. THE BIG CARD (Listen, Learn, Build) --- */
.feedback-card {
  grid-column: span 2;
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-image:
    linear-gradient(to bottom, rgba(0, 0, 102, 0.7), rgba(26, 26, 26, 0.95)),
    url("feedback-bg.webp");
  background-size: cover;
  background-position: center;
  border: none;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.feedback-card h3 {
  color: #ffffff;
  font-size: 2.5rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.feedback-card p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --- 2. THE CORAL CARD (KYC & AML) --- */
.coral-accent {
  grid-column: span 1;
  border-radius: 40px; /* Pill Shape */
  background: #fc4827;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- 3. THE BLACK CARD (Data Protection) --- */
.dark-accent {
  grid-column: span 1;
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Text & Icons for Coral & Black Cards */
.coral-accent h4,
.dark-accent h4 {
  color: #ffffff;
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.coral-accent p,
.dark-accent p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  line-height: 1.6;
}

.bento-icon {
  width: 48px;
  margin-bottom: 20px;
}

/* --- 4. THE WIDE CARD (Licensed Infrastructure) --- */
.bento-wide.glass-panel {
  grid-column: span 2;
  background: linear-gradient(135deg, #ffffff 0%, #e6eaf2 100%);
  border: 1px solid rgba(0, 0, 102, 0.1);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 1),
    0 10px 30px rgba(0, 27, 103, 0.05);
}

.bento-wide.glass-panel h4 {
  color: #000066;
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.bento-wide.glass-panel p {
  color: #4a4a4a;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Flexbox layout to hold text on left, 3D shape on right */
.bento-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.decorative-shape {
  width: 140px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 30px rgba(0, 27, 103, 0.15));
}

/* --- OVERLAPPING IMAGE CLUSTER (Inside Big Card) --- */
.image-cluster {
  position: relative;
  height: 120px;
  margin-top: 40px;
  display: flex;
  align-items: center;
}

.cluster-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid #ffffff;
  object-fit: cover;
  position: absolute;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.img-1 {
  left: 0;
  z-index: 3;
}
.img-2 {
  left: 50px;
  z-index: 2;
}
.img-3 {
  left: 100px;
  z-index: 1;
}

.cluster-badge {
  position: absolute;
  left: 170px;
  background: #fc4827;
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 30px;
  font-weight: bold;
  font-size: 0.85rem;
  box-shadow: 0 4px 15px rgba(252, 72, 39, 0.3);
}

/* Responsive Design */
@media (max-width: 991px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .feedback-card,
  .coral-accent,
  .dark-accent,
  .bento-wide.glass-panel {
    grid-column: span 1;
    grid-row: auto;
  }
  .bento-flex {
    flex-direction: column;
    text-align: center;
  }
  .decorative-shape {
    margin-top: 20px;
  }
}
/* --- SECTION 9: CUSTOMER REVIEWS --- */

.reviews-section {
  padding: 120px 0;
  background-color: var(--canvas-bg, #fcf7f6); /* 60% Light Canvas */
  overflow: hidden;
}

.reviews-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr; /* Left side slightly narrower than right */
  gap: 60px;
  align-items: center;
}

/* --- Left Column Styling --- */
.reviews-left {
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* Replaces space-between to pull the image up */
  gap: 60px; /* Sets a fixed, clean spacing between the text and the image */
  height: 100%;
}

.reviews-header-block {
  border-left: 6px solid #fc4827;
  padding-left: 30px;
  /* Removed the margin-bottom since gap handles it now */
}

.reviews-header-block .section-title {
  color: #000066;
  font-size: 3rem;
  line-height: 1.1;
  margin-bottom: 20px;
}

.reviews-header-block .section-desc {
  color: #4a4a4a;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* The Decorative Image Update */
.reviews-decorative-image {
  padding-left: 30px;
  width: 100%; /* Ensures the container utilizes the full column width */
}

.deco-img {
  width: 100%; /* Forces the image to expand to fill the space */
  max-width: 480px; /* Broadened significantly from 250px */
  height: auto;
  border-radius: 16px; /* Adds premium rounded corners to the portrait */
  filter: drop-shadow(0 20px 30px rgba(0, 0, 102, 0.15));
  object-fit: cover;
}
/* --- Right Column (The Cards) --- */
.reviews-right {
  display: flex;
  flex-direction: column;
  gap: 30px; /* Space between cards vertically */
  padding-left: 30px; /* Room for the overlapping avatars */
}

.review-card {
  position: relative;
  background: #1a1a1a; /* Premium Dark Background */
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 30px 40px;
  width: 85%;
  box-shadow: 0 15px 35px rgba(0, 0, 102, 0.1);
  transition: transform 0.3s ease;
}

.review-card:hover {
  transform: translateY(-5px);
}

/* Staggering the cards left and right */
.align-right {
  align-self: flex-end;
}

.align-left {
  align-self: flex-start;
}

/* The Overlapping Avatar */
.reviewer-avatar {
  position: absolute;
  left: -35px; /* Pulls the avatar completely outside the left edge */
  top: 50%;
  transform: translateY(-50%);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #fcf7f6; /* Matches canvas to create cutout effect */
  padding: 4px; /* Creates the gap between the image and the border */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.reviewer-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fc4827; /* Coral ring */
}

/* Card Typography */
.review-stars {
  color: #fc4827; /* Coral stars */
  font-size: 1.2rem;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.review-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
  font-style: italic;
}

.reviewer-name {
  display: block;
  color: #fc4827;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: right;
}

/* --- Mobile Responsive Rules --- */
@media (max-width: 991px) {
  /* 1. Reduce the massive whitespace at the top */
  .reviews-section {
    padding: 60px 0 !important;
  }

  .reviews-layout {
    grid-template-columns: 1fr;
    gap: 40px !important;
  }

  /* 2. Shrink the heading & subtext */
  .reviews-header-block {
    margin-bottom: 24px !important;
  }

  .reviews-header-block .section-title {
    font-size: 32px !important; /* Reduced to fit neatly */
  }

  .reviews-header-block .section-desc {
    font-size: 15px !important; /* Slightly scaled down */
  }

  /* 3. Bring back the image directly under the text */
  .reviews-decorative-image {
    display: block !important; /* Removes the "display: none" */
    padding-left: 0 !important; /* Aligns it flush with the mobile margins */
  }

  .deco-img {
    max-height: 320px; /* Keeps the girl's photo from taking up the entire screen */
    width: 100%;
    object-fit: cover;
  }

  /* 4. Format the 4 Cards to sit 2 Side-by-Side */
  .reviews-right {
    padding-left: 15px !important; /* Just enough room for the tiny avatars */
    display: grid !important;
    grid-template-columns: 1fr 1fr !important; /* Forces the 2-column layout */
    gap: 16px !important; /* Tighter spacing between cards */
  }

  .review-card {
    width: 100% !important;
    padding: 20px 12px 20px 24px !important; /* Squeezed padding so text fits */
    align-self: stretch !important; /* Forces side-by-side cards to be the same height */
  }

  /* 5. Shrink Avatars so they don't block the tiny text */
  .reviewer-avatar {
    left: -15px !important;
    width: 36px !important;
    height: 36px !important;
  }

  /* 6. Tiny (but readable) text for the compact cards */
  .review-stars {
    font-size: 12px !important;
    letter-spacing: 1px !important;
    margin-bottom: 10px !important;
  }

  .review-text {
    font-size: 11.5px !important; /* Tiny, but still perfectly legible */
    line-height: 1.4 !important;
    margin-bottom: 12px !important;
  }

  .reviewer-name {
    font-size: 9px !important; /* Micro-typography for the name tags */
  }
}
/* --- SECTION 10: FAQ --- */

.faq-section {
  padding: 120px 0;
  background-color: var(--canvas-bg, #fcf7f6);
}

.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: flex-start; /* CRITICAL for sticky behavior */
}

/* Left Side: Sticky Text */
.faq-left {
  position: sticky;
  top: 120px; /* Distance from top of screen when scrolling */
}

.faq-sticky-box .section-title {
  color: #000066;
  font-size: 2.8rem;
  line-height: 1.1;
  margin-bottom: 20px;
}

.faq-sticky-box .section-desc {
  color: #4a4a4a;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

/* --- FAQ Page Link Fix (Coral) --- */
.faq-page-link {
  color: #fc4827 !important; /* Forces the link to stay ZeneX Coral */
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.faq-page-link:hover {
  color: #050814 !important; /* Turns ZeneX Navy when hovered for a premium feel */
}

.faq-page-link .arrow {
  margin-left: 8px;
  font-size: 1.2rem;
}

/* Right Side: Accordion Cards */
.faq-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Base Card Styling */
.faq-item {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 102, 0.08);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  transition: box-shadow 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 102, 0.06);
}

/* Hide Default HTML Arrow */
.faq-item summary::-webkit-details-marker {
  display: none;
}

/* The Clickable Header */
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 30px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #000066; /* Navy */
  cursor: pointer;
  list-style: none; /* Hides default marker in Firefox/Safari */
}

/* The Expanded Content */
.faq-answer {
  padding: 0 30px 24px 30px;
  color: #4a4a4a;
  font-size: 1rem;
  line-height: 1.6;
  border-top: 1px solid rgba(0, 0, 102, 0.05);
  margin-top: 10px;
  padding-top: 20px;
}

.faq-answer p {
  margin-bottom: 12px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

/* The Custom Plus/Minus Icon Animation */
.faq-icon {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background-color: #fc4827; /* Coral Icons */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease;
}

.faq-icon::before {
  width: 14px;
  height: 2px;
}

.faq-icon::after {
  width: 2px;
  height: 14px;
}

/* When the details tag is OPEN, rotate the vertical line to form a Minus (-) */
details[open] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

/* Highlighting the active card */
details[open] {
  border-color: rgba(252, 72, 39, 0.3); /* Soft coral border when open */
}

/* Responsive Rules for Mobile */
@media (max-width: 991px) {
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .faq-left {
    position: relative;
    top: 0;
  }

  .faq-question {
    padding: 20px;
    font-size: 1.05rem;
  }

  .faq-answer {
    padding: 0 20px 20px 20px;
  }
}
/* --- SECTION 11: FOOTER --- */

.zenex-footer {
  position: relative;
  background-color: #050814; /* Deep, premium dark blue/black */
  color: #ffffff;
  padding: 100px 0 40px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* The Small Top Blue Glow */
.footer-top-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 2px;
  background: #000066; /* Your Navy */
  box-shadow:
    0 0 40px 15px rgba(0, 0, 102, 0.6),
    0 0 80px 30px rgba(0, 0, 102, 0.4);
  border-radius: 50%;
}

.footer-container {
  display: flex;
  flex-direction: column;
}

/* Top Link Columns */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 60px;
}

.footer-heading {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #8a94a6; /* Subtle gray/blue */
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #fc4827; /* Coral accent on hover */
}

/* Newsletter & Socials */
.footer-subtext {
  color: #8a94a6;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.footer-newsletter {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.footer-newsletter input {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 12px 16px;
  border-radius: 8px;
  color: #fff;
  font-size: 0.9rem;
}

.footer-newsletter input:focus {
  outline: none;
  border-color: #fc4827;
}

.footer-newsletter button {
  background: #ffffff;
  color: #050814;
  border: none;
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.footer-newsletter button:hover {
  background: #e6e6e6;
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.footer-socials a {
  color: #8a94a6;
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

/* Massive Wireframe Typography */
.footer-massive-text {
  font-size: 16vw; /* Scales with screen size */
  font-weight: 800;
  text-transform: uppercase;
  text-align: center;
  line-height: 1;
  margin-bottom: 40px;
  /* This creates the transparent outline effect */
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.08);
  letter-spacing: -2px;
  user-select: none; /* Prevents awkward highlighting */
}

/* Bottom Row (Status & Copyright) */
.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #8a94a6;
  font-size: 0.85rem;
}

.system-status {
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: #10b981; /* Success Green */
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.6);
}

/* --- Mobile Responsive Rules --- */
@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    /* Cuts the massive gap between the links and the ZENEX text in half */
    margin-bottom: 30px;
    padding-bottom: 30px;
  }
}

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

  .footer-massive-text {
    font-size: 24vw;
    /* Bumps the opacity from 8% to 25% so it pops on dark phone screens */
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.25);
    /* Pulls the copyright row much higher */
    margin-bottom: 20px;
  }

  .footer-bottom-row {
    flex-direction: column;
    gap: 12px; /* Tighter gap between the green status dot and the copyright text */
    text-align: center;
  }
}
/* =========================================
   PAGE 2: ABOUT ZENEX 
========================================= */

.about-page-wrapper {
  background-color: #050814;
  color: #ffffff;
  overflow-x: hidden; /* Add this line */
}

/* --- The Hero Layout --- */
.about-hero-section {
  padding: 120px 0 80px 0;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.about-hero-container {
  display: grid;
  /* 1.25fr vs 1fr: Gives the text a nice wide column, but leaves plenty of room for a massive image */
  grid-template-columns: 1.25fr 1fr;
  gap: 60px;
  align-items: center;
}

/* --- Left Side: Typography --- */
.about-hero-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 2;
}

.hero-overline {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #8a94a6;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.about-hero-title {
  font-size: 4.5rem;
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -1.5px;
  margin-bottom: 30px;
  color: #ffffff;
}

.text-gradient {
  background: linear-gradient(90deg, #9b8cff 0%, #fc4827 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.about-hero-desc {
  font-size: 1.25rem;
  line-height: 1.6;
  color: #a0abc0;
  max-width: 95%; /* Lets the text use the wide column to avoid awkward breaks */
}

/* --- Right Side: Large, Boxed, Fading Image --- */
.about-hero-visual {
  position: relative;
  /* Expands the box 100px wider and pushes it exactly 100px to the right */
  width: calc(100% + 100px);
  margin-right: -100px;

  height: 600px;
  display: flex;
  justify-content: flex-end;
}

.about-store-img {
  width: 100%; /* Stretches the image horizontally to fill the box */
  height: 100%; /* Stretches the image vertically */
  object-fit: cover;
  border-radius: 24px; /* Fully rounds ALL 4 corners so it stays perfectly boxed */

  /* Restores the fading gradient you asked for! (Fades smoothly into the dark background on the left) */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 15%,
    black 100%
  );
  mask-image: linear-gradient(to right, transparent 0%, black 15%, black 100%);

  filter: drop-shadow(0 30px 60px rgba(0, 0, 102, 0.4));
}
/* =========================================
   ABOUT HERO SECTION (MOBILE FIXES) 
   ========================================= */

@media (max-width: 991px) {
  /* --- 1. Stack Text on Top, Image Below --- */
  .about-hero-section {
    padding: 80px 0 60px 0; /* Reduces massive top whitespace */
  }

  .about-hero-container {
    grid-template-columns: 1fr; /* Forces the 1-column stack */
    gap: 40px;
  }

  /* --- 2. Center Content & Shrink Typography --- */
  .about-hero-text {
    align-items: center; /* Centers the content */
    text-align: center; /* Centers the text alignment */
  }

  .hero-overline {
    justify-content: center; /* Centers the flex items inside the eyebrow */
    width: 100%;
    margin-bottom: 20px;
  }

  .about-hero-title {
    font-size: 2.8rem !important; /* Scaled down drastically from 4.5rem */
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
  }

  .about-hero-desc {
    font-size: 1.05rem !important; /* Scaled down for mobile readability */
    max-width: 100%;
  }

  /* --- 3. Image Edge-to-Edge Fixes --- */
  .about-hero-visual {
    width: 100%;
    margin-right: 0;
    height: 380px; /* Keeps the image compact below the text */
  }

  .about-store-img {
    border-radius: 24px; /* Returns to fully rounded on mobile */
    /* Keeps the smooth fade effect at the top of the image */
    -webkit-mask-image: linear-gradient(
      to bottom,
      transparent 0%,
      black 20%,
      black 100%
    );
    mask-image: linear-gradient(
      to bottom,
      transparent 0%,
      black 20%,
      black 100%
    );
  }
}
/* =========================================
   ABOUT PAGE: SECTION 1 (OUR STORY) 
========================================= */

/* --- The Sweeping Curve Divider --- */
.curve-divider {
  width: 100%;
  line-height: 0;
  background-color: #050814; /* Matches the hero dark background */
}

.curve-divider svg {
  display: block;
  width: 100%;
  height: 120px;
}

/* --- Section 1: Light Theme --- */
.story-section.light-theme {
  background-color: #f8fafc; /* Cool, premium off-white */
  padding: 80px 0 140px 0;
  position: relative;
  overflow: hidden; /* Keeps orbs inside */
}

/* --- Tiny Floating Orbs --- */
.tiny-orb {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(155, 140, 255, 0.8) 0%,
    rgba(0, 0, 102, 0.2) 100%
  );
  mix-blend-mode: multiply;
  filter: blur(8px);
  animation: drift 8s infinite ease-in-out alternate;
  z-index: 1;
}

.orb-a {
  width: 60px;
  height: 60px;
  top: 20%;
  left: 10%;
}
.orb-b {
  width: 90px;
  height: 90px;
  top: 25%;
  left: 13%;
  background: radial-gradient(
    circle,
    rgba(138, 172, 255, 0.6) 0%,
    rgba(0, 0, 102, 0.1) 100%
  );
  animation-delay: -2s;
}
.orb-c {
  width: 45px;
  height: 45px;
  bottom: 15%;
  right: 45%;
  background: radial-gradient(
    circle,
    rgba(252, 72, 39, 0.4) 0%,
    rgba(252, 72, 39, 0) 100%
  );
  animation-delay: -4s;
}

@keyframes drift {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(20px, -20px) scale(1.1);
  }
}

/* --- Layout --- */
.section-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
  position: relative;
  z-index: 2; /* Keeps text above orbs */
}

/* --- Typography (Different from Hero) --- */
.content-block {
  flex: 1;
  max-width: 520px;
}

.micro-heading {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: #8a94a6;
  margin-bottom: 20px;
  text-transform: uppercase;
  border-bottom: 2px solid #fc4827;
  padding-bottom: 4px;
}

.editorial-heading {
  font-size: 3rem;
  line-height: 1.15;
  font-weight: 700;
  color: #000066; /* Deep Navy */
  letter-spacing: -1px;
  margin-bottom: 24px;
}

.coral-accent {
  color: #fc4827;
}

.editorial-body {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #4a5568;
  font-weight: 400;
}

/* --- Image Card --- */
.visual-block {
  flex: 1;
  position: relative;
}

.premium-image-card {
  background: #ffffff;
  padding: 16px;
  border-radius: 32px;
  box-shadow: 0 40px 80px rgba(0, 0, 102, 0.08);
  position: relative;
}

.premium-image-card img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: 20px;
}

/* Decorative Shape on the white card */
.card-deco-shape {
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, #fc4827 0%, #ff8a73 100%);
  border-radius: 40px 10px 40px 40px;
  z-index: -1;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 991px) {
  .section-layout {
    flex-direction: column;
    gap: 50px;
  }

  .editorial-heading {
    font-size: 2.5rem;
  }

  .premium-image-card img {
    height: 300px;
  }
}
/* --- Fix for Section 1 Coral Text --- */
.text-coral-only {
  color: #fc4827 !important;
  background: transparent !important;
  padding: 0 !important;
  border: none !important;
}

/* =========================================
   ABOUT PAGE: SECTION 2 (THE PROBLEM) 
========================================= */

/* --- The Downward Curve Divider --- */
.bottom-curve {
  background-color: #000066; /* Seamlessly matches Section 2's background */
}

/* --- Section 2: Dark Theme --- */
.problem-section.dark-theme {
  background-color: #000066;
  padding: 80px 0 140px 0;
  position: relative;
  overflow: hidden;
}

/* Flips the Flexbox layout so image is on the left */
.reverse-layout {
  flex-direction: row-reverse;
}

/* --- Dark Theme Typography --- */
.light-micro {
  color: #8a94a6;
  border-bottom: 2px solid #ffffff; /* White underline instead of coral */
}

.text-white {
  color: #ffffff;
}

.text-light-gray {
  color: #a0abc0;
}

/* --- Dark Theme Image Card --- */
.dark-card {
  background: #050814;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.navy-shape {
  /* Changes the decorative shape behind the card to match the dark vibe */
  background: linear-gradient(135deg, #10b981 0%, #000066 100%);
  opacity: 0.6;
}

/* --- 4 New Floating Orbs for Section 2 --- */
.orb-d {
  width: 120px;
  height: 120px;
  top: 15%;
  right: 10%;
  background: radial-gradient(
    circle,
    rgba(252, 72, 39, 0.25) 0%,
    transparent 100%
  );
  animation: drift-alt 10s infinite ease-in-out alternate;
}
.orb-e {
  width: 80px;
  height: 80px;
  top: 60%;
  right: 25%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 100%
  );
  animation: drift-alt 7s infinite ease-in-out alternate-reverse;
}
.orb-f {
  width: 150px;
  height: 150px;
  bottom: -20px;
  left: 5%;
  background: radial-gradient(
    circle,
    rgba(155, 140, 255, 0.15) 0%,
    transparent 100%
  );
  animation: drift-alt 12s infinite ease-in-out alternate;
}
.orb-g {
  width: 50px;
  height: 50px;
  top: 30%;
  left: 45%;
  background: radial-gradient(
    circle,
    rgba(16, 185, 129, 0.2) 0%,
    transparent 100%
  );
  animation: drift-alt 6s infinite ease-in-out alternate-reverse;
}

/* Unique drift path for Section 2 */
@keyframes drift-alt {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(-30px, 30px) scale(1.15);
  }
}

/* --- Mobile Responsiveness --- */
@media (max-width: 991px) {
  .reverse-layout {
    flex-direction: column; /* Stacks normally on mobile */
  }

  /* Hides the massive blue curve completely on mobile */
  .bottom-curve {
    display: none !important;
  }

  /* Reduces the top padding so the app image moves up closer to the section above it */
  .problem-section.dark-theme {
    padding-top: 60px !important;
    padding-bottom: 80px !important;
  }
}
/* =========================================
   ABOUT PAGE: SECTIONS 3, 4, 5 (CORE GRID) 
========================================= */

/* --- The Step-Down Folder Curve --- */
.step-curve {
  background-color: #000066; /* Background matches the bottom of Section 2 */
}

/* --- Premium Dark Theme --- */
.core-values-section.dark-premium-theme {
  background-color: #050814; /* Deepest premium black/blue */
  padding: 60px 0 160px 0;
  position: relative;
  overflow: hidden;
}

.relative-z {
  position: relative;
  z-index: 2; /* Keeps the grid above the orbs */
}

/* --- 4 Highly Visible Floating Orbs --- */
.orb-h {
  width: 250px;
  height: 250px;
  top: 10%;
  left: -5%;
  background: radial-gradient(
    circle,
    rgba(252, 72, 39, 0.15) 0%,
    transparent 70%
  );
  animation: float-large 12s infinite ease-in-out alternate;
}
.orb-i {
  width: 300px;
  height: 300px;
  bottom: -10%;
  right: -5%;
  background: radial-gradient(
    circle,
    rgba(155, 140, 255, 0.12) 0%,
    transparent 70%
  );
  animation: float-large 15s infinite ease-in-out alternate-reverse;
}
.orb-j {
  width: 150px;
  height: 150px;
  top: 40%;
  right: 35%;
  background: radial-gradient(
    circle,
    rgba(16, 185, 129, 0.1) 0%,
    transparent 70%
  );
  animation: float-large 10s infinite ease-in-out alternate;
}
.orb-k {
  width: 100px;
  height: 100px;
  top: 20%;
  right: 15%;
  background: radial-gradient(
    circle,
    rgba(0, 102, 255, 0.2) 0%,
    transparent 70%
  );
  animation: float-large 8s infinite ease-in-out alternate-reverse;
}

@keyframes float-large {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(40px, -50px) scale(1.2);
  }
}

/* --- The 3-Column Grid --- */
.premium-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

/* --- Premium Glass Cards --- */
.glass-card {
  background: rgba(255, 255, 255, 0.02); /* Extremely subtle white fill */
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  padding: 50px 40px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.glass-card:hover {
  transform: translateY(-8px);
  border-color: rgba(252, 72, 39, 0.3); /* Soft coral glow on hover */
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(252, 72, 39, 0.05);
}

.card-title {
  font-size: 2rem;
  line-height: 1.2;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.5px;
  margin-bottom: 24px;
}

.card-body-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #8a94a6;
  margin: 0;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 991px) {
  .premium-grid {
    grid-template-columns: 1fr; /* Stacks the cards vertically on mobile */
    gap: 30px;
  }

  .glass-card {
    padding: 40px 30px;
  }

  /* Modify the curve on mobile so it doesn't look stretched */
  .step-curve svg {
    height: 60px;
  }
}
/* =========================================
   ABOUT PAGE: SECTION 6 (TEAM) 
========================================= */

.team-section {
  background-color: #050814;
  padding: 120px 0 160px 0;
}

/* --- Header --- */
.team-header-block {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 80px auto;
}

.team-massive-heading {
  font-size: 3.5rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}

.team-subheading {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #a0abc0;
}

/* --- Grid --- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
}

/* --- Team Cards --- */
.team-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: #0f1322;
  aspect-ratio: 3 / 4;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.team-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 70% grayscale mutes the color noticeably but doesn't completely kill it */
  filter: grayscale(70%) contrast(1.05);
  /* Animates both the zoom and the color return smoothly */
  transition:
    transform 0.6s cubic-bezier(0.25, 1, 0.5, 1),
    filter 0.6s ease;
}

/* Dark fade at the bottom for text readability */
.card-gradient-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60%;
  background: linear-gradient(
    to top,
    rgba(5, 8, 20, 0.95) 0%,
    rgba(5, 8, 20, 0) 100%
  );
  pointer-events: none;
}

/* --- Card Content --- */
.team-info {
  position: absolute;
  bottom: 30px;
  left: 30px;
  z-index: 2;
}

.team-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 4px 0;
  letter-spacing: -0.5px;
}

.team-role {
  font-size: 0.95rem;
  color: #a0abc0;
  margin: 0;
  font-weight: 500;
}

/* --- Hover Effects --- */
.team-card:hover .team-img {
  transform: scale(1.05);
  /* Snaps back to full, vibrant color on hover */
  filter: grayscale(0%) contrast(1);
}

/* --- Mobile Responsiveness --- */
@media (max-width: 991px) {
  /* Shrinks the huge gap between the subtext and the first card */
  .team-header-block {
    margin-bottom: 32px !important;
  }

  .team-grid {
    grid-template-columns: 1fr;
    max-width: 450px;
    margin: 0 auto;
    gap: 40px;
  }

  .team-massive-heading {
    font-size: 2.5rem;
  }
}
/* =========================================
   ABOUT PAGE: SECTION 7 (PRINCIPLES) 
========================================= */

.principles-section {
  /* Transitions from the solid Navy to a deep, rich Midnight Indigo */
  background: linear-gradient(180deg, #050814 0%, #0b0c26 100%);
  padding: 80px 0 160px 0;
  position: relative;
  overflow: hidden;
}

.relative-z {
  position: relative;
  z-index: 2; /* Keeps content above the glowing orbs */
}

/* --- Highly Visible Floating Orbs --- */
.vibrant-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  mix-blend-mode: screen; /* Makes them pop vividly against the dark background */
  z-index: 1;
  opacity: 0.4;
  animation: drift-vibrant 12s infinite ease-in-out alternate;
}

.orb-w {
  width: 350px;
  height: 350px;
  background: #fc4827;
  top: 15%;
  left: -10%;
} /* Coral */
.orb-x {
  width: 400px;
  height: 400px;
  background: #9b8cff;
  bottom: 20%;
  right: -15%;
  animation-delay: -3s;
} /* Purple */
.orb-y {
  width: 200px;
  height: 200px;
  background: #10b981;
  top: 40%;
  left: 40%;
  animation-delay: -6s;
} /* Teal */
.orb-z {
  width: 300px;
  height: 300px;
  background: #0066ff;
  bottom: -5%;
  left: 20%;
  animation-delay: -9s;
} /* Azure */

@keyframes drift-vibrant {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(40px, -60px) scale(1.15);
  }
}

/* --- The Top Banner --- */
.principles-banner {
  /* Soft frosted pearl/lilac gradient similar to the reference */
  background: linear-gradient(135deg, #f0f4f8 0%, #e2e8f0 100%);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px 80px;
  margin-bottom: 100px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.banner-content {
  flex: 1;
  max-width: 500px;
  z-index: 2;
}

.banner-heading {
  font-size: 3rem;
  line-height: 1.15;
  font-weight: 400; /* Lighter font weight for editorial feel */
  color: #050814;
  letter-spacing: -1px;
}

.banner-visual {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  position: absolute;
  bottom: 0;
  right: 50px;
  height: 120%; /* Lets the image break out of the top slightly if desired */
  z-index: 1;
}

.banner-visual img {
  height: 100%;
  width: auto;
  object-fit: contain;
  object-position: bottom;
}

/* --- The Principles Grid --- */
.principles-grid {
  display: grid;
  /* Auto-fits the columns so the 7 items wrap beautifully */
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 60px 40px;
}

.principle-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.principle-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 24px;
  object-fit: contain;
}

.principle-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 12px;
}

.principle-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #a0abc0;
  margin: 0;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 991px) {
  /* --- 1. Compact the Top Banner (Halved Height) --- */
  .principles-banner {
    flex-direction: column;
    /* Removed the bottom padding entirely to squeeze it shut */
    padding: 32px 20px 0px 20px !important;
    text-align: center;
    margin-bottom: 50px !important;
  }

  .banner-content {
    /* Removed the margin so the text sits directly on top of the animation */
    margin-bottom: 0 !important;
  }

  .banner-heading {
    font-size: 2rem !important;
  }

  .banner-visual {
    position: relative;
    right: 0;
    /* Slashed the container height down to 150px (half the size) */
    height: 150px !important;
    width: 100%;
    justify-content: center;
    /* Pulls the animation upward to eat up any invisible dead space */
    margin-top: -10px !important;
  }

  /* --- 2. Side-by-Side Principles Grid --- */
  .principles-grid {
    /* Forces exactly 2 columns on mobile */
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 40px 16px !important; /* Tighter horizontal gap so they fit */
  }

  /* --- 3. Scale down the items to fit the 2 columns beautifully --- */
  .principle-icon {
    width: 44px !important; /* Shrunk from 64px */
    height: 44px !important;
    margin-bottom: 16px !important;
  }

  .principle-title {
    font-size: 16px !important; /* Smaller heading */
    margin-bottom: 8px !important;
  }

  .principle-desc {
    font-size: 13px !important; /* Microcopy for the descriptions */
    line-height: 1.4 !important;
  }
}
/* =========================================
   ABOUT PAGE: SECTION 8 (FINAL CTA) 
========================================= */

.about-cta-section {
  background-color: #f8fafc; /* Soft white background */
  padding: 80px 0 160px 0; /* Extra bottom padding before the global footer */
}

/* --- The Banner Container --- */
.cta-banner-wrapper {
  background: linear-gradient(
    135deg,
    #000066 0%,
    #050814 100%
  ); /* Deep ZeneX Navy to Midnight */
  border-radius: 32px;
  padding: 80px;
  position: relative;
  overflow: hidden; /* This is crucial: it chops off the circles to make them look like waves */
  box-shadow: 0 40px 80px rgba(0, 0, 102, 0.15);
  display: flex;
  align-items: center;
}

/* --- The Text Content --- */
.cta-banner-content {
  position: relative;
  z-index: 2; /* Keeps text above the waves */
  max-width: 550px;
}

.cta-banner-title {
  font-size: 3rem;
  line-height: 1.15;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.cta-banner-desc {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #a0abc0;
  margin-bottom: 40px;
}

/* --- The Waitlist-Style Button --- */
.cta-primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  color: #000066;
  font-weight: 700;
  font-size: 1rem;
  padding: 16px 36px;
  border-radius: 50px; /* Pill shape */
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.cta-primary-btn:hover {
  transform: translateY(-4px);
  background-color: #fc4827; /* Swaps to Coral on hover */
  color: #ffffff;
  box-shadow: 0 15px 30px rgba(252, 72, 39, 0.3);
}

/* --- The Pure CSS Wavy Graphics --- */
.cta-wave {
  position: absolute;
  border-radius: 50%;
  z-index: 1;
}

/* Large Blue background wave */
.wave-back {
  width: 1200px;
  height: 1200px;
  background: linear-gradient(
    135deg,
    transparent 40%,
    rgba(0, 102, 255, 0.4) 100%
  );
  top: -400px;
  right: -400px;
}

/* Mid Purple overlay wave */
.wave-mid {
  width: 900px;
  height: 900px;
  background: linear-gradient(
    135deg,
    transparent 30%,
    rgba(155, 140, 255, 0.6) 100%
  );
  bottom: -300px;
  right: -100px;
}

/* Front Coral/Orange accent wave */
.wave-front {
  width: 600px;
  height: 600px;
  background: linear-gradient(
    135deg,
    transparent 20%,
    rgba(252, 72, 39, 0.7) 100%
  );
  top: -200px;
  right: -250px;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 991px) {
  .cta-banner-wrapper {
    padding: 50px 30px;
    text-align: center;
  }

  .cta-banner-content {
    max-width: 100%;
    margin: 0 auto;
  }

  .cta-banner-title {
    font-size: 2.2rem;
  }

  /* Shift waves on mobile so they don't cover the text */
  .wave-back {
    right: -600px;
  }
  .wave-mid {
    right: -400px;
    bottom: -500px;
  }
  .wave-front {
    right: -300px;
    top: -400px;
  }
}
/* =========================================
   CONTACT PAGE: SECTION 1 (HERO) 
========================================= */

.contact-hero-section {
  background-color: #050814; /* ZeneX Deep Navy */
  padding: 160px 0 120px 0;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- Pure CSS Architectural Sharp Angles --- */
.sharp-angle {
  position: absolute;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.03),
    transparent
  );
  z-index: 1;
  pointer-events: none;
}

.angle-left {
  width: 200%;
  height: 1000px;
  top: -500px;
  left: -50%;
  transform: rotate(-15deg);
}

.angle-right {
  width: 200%;
  height: 1000px;
  top: -300px;
  right: -50%;
  transform: rotate(25deg);
  background: linear-gradient(to top, rgba(0, 0, 102, 0.3), transparent);
}

/* --- Pure CSS Dot Grid (Left Side) --- */
.hero-dot-grid {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 250px;
  height: 60%;
  z-index: 2;
  opacity: 0.15;
  pointer-events: none;
  /* Creates a plus-sign/dot grid pattern without an image */
  background-image: radial-gradient(#ffffff 2px, transparent 2px);
  background-size: 30px 30px;
}

/* --- Content Wrapper --- */
.contact-hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.contact-hero-title {
  font-size: 4rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}

.contact-hero-desc {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #a0abc0;
  margin-bottom: 50px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Inline Waitlist Form (Pill Shape) --- */
.hero-waitlist-form {
  display: flex;
  align-items: center;
  background: #ffffff;
  padding: 6px;
  border-radius: 50px;
  max-width: 500px;
  margin: 0 auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.waitlist-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 16px 24px;
  font-size: 1rem;
  color: #050814;
  outline: none;
}

.waitlist-input::placeholder {
  color: #a0abc0;
}

.waitlist-btn {
  background-color: #fc4827; /* ZeneX Coral */
  color: #ffffff;
  border: none;
  padding: 16px 36px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.waitlist-btn:hover {
  background-color: #e03a1b; /* Slightly darker coral on hover */
  transform: scale(1.02);
}

/* --- Mobile Responsiveness --- */
@media (max-width: 991px) {
  /* --- 1. Move the section up --- */
  .contact-hero-section {
    padding: 80px 0 60px 0 !important; /* Slashed the 120px top padding */
  }

  /* --- 2. Shrink the headline --- */
  .contact-hero-title {
    font-size: 2.3rem !important; /* Shrunk down from 2.8rem */
    margin-bottom: 16px !important;
  }

  .hero-dot-grid {
    display: none; /* Hide grid on small screens for a cleaner look */
  }

  /* --- 3. Horizontal, Auto-Scrolling Pill --- */
  .hero-waitlist-form {
    flex-direction: row !important; /* Forces input and button side-by-side */
    flex-wrap: nowrap !important; /* Strictly prevents stacking */
    overflow-x: auto !important; /* Enables left/right swiping */
    background: #ffffff !important; /* Restores the solid desktop pill background */
    padding: 6px !important; /* Restores the desktop inner padding */
    border-radius: 50px !important;
    gap: 0 !important; /* Removes the gap from your old stacked layout */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3) !important;
    -webkit-overflow-scrolling: touch; /* Smooth swiping on phones */
  }

  /* Hide the scrollbar on the pill for a clean app look */
  .hero-waitlist-form::-webkit-scrollbar {
    display: none;
  }
  .hero-waitlist-form {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .waitlist-input {
    width: auto !important;
    min-width: 240px !important; /* Ensures the input is wide enough to type in */
    background: transparent !important; /* Removes the background from the input itself */
    padding: 12px 20px !important;
  }

  .waitlist-btn {
    width: auto !important;
    flex-shrink: 0 !important; /* Prevents the button from being squished */
    white-space: nowrap !important; /* Keeps the button text strictly on one line */
    padding: 12px 28px !important;
  }
}
/* =========================================
   CONTACT PAGE: SECTION 2 & 3 (FORMS) 
========================================= */

.contact-forms-section {
  background-color: #f8fafc;
  padding: -60px 0 120px 0; /* Pulls it up slightly closer to the hero */
}

/* --- The Premium Toggle Switch --- */
.form-toggle-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 10;
  margin-top: -40px; /* Pulls the toggle up to overlap the hero slightly for a cool effect */
}

.form-toggle-bg {
  background: #ffffff;
  padding: 8px;
  border-radius: 50px;
  box-shadow: 0 15px 35px rgba(0, 0, 102, 0.08);
  display: inline-flex;
  gap: 8px;
}

.toggle-btn {
  background: transparent;
  border: none;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  color: #4a5568;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.toggle-btn.active {
  background: #000066; /* ZeneX Navy */
  color: #ffffff;
  box-shadow: 0 8px 16px rgba(0, 0, 102, 0.2);
}

/* --- The Forms Container --- */
.forms-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

/* Hides the inactive form */
.zenex-form-card {
  display: none;
  background: #ffffff;
  border-radius: 24px;
  padding: 60px;
  box-shadow: 0 20px 40px rgba(0, 0, 102, 0.05);
  animation: fadeFormIn 0.4s ease forwards;
}

/* Shows the active form */
.zenex-form-card.active-form {
  display: block;
}

@keyframes fadeFormIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Form Headers --- */
.form-header {
  text-align: center;
  margin-bottom: 40px;
}

.form-header h3 {
  font-size: 2rem;
  color: #050814;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.form-header p {
  font-size: 1.05rem;
  color: #a0abc0;
  line-height: 1.6;
}

/* --- Form Fields & Inputs --- */
.zenex-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.input-group label {
  font-size: 0.9rem;
  font-weight: 700;
  color: #050814;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.input-group input,
.input-group select,
.input-group textarea {
  background: #f0f4f8; /* Soft gray fill instead of harsh borders */
  border: 2px solid transparent;
  padding: 16px 20px;
  border-radius: 12px;
  font-size: 1rem;
  color: #050814;
  font-family: inherit;
  transition: all 0.3s ease;
}

.input-group select {
  appearance: none;
  cursor: pointer;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
  outline: none;
  border-color: #000066; /* Navy border on click */
  background: #ffffff;
}

/* --- Submit Button --- */
.submit-btn {
  background: #fc4827;
  color: #ffffff;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 18px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  margin-top: 16px;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  background: #e03a1b;
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(252, 72, 39, 0.2);
}

/* --- Mobile Responsiveness --- */
@media (max-width: 991px) {
  .zenex-form-card {
    padding: 32px 20px !important; /* Slightly tighter overall card padding */
  }

  .form-row {
    grid-template-columns: 1fr; /* Stacks inputs on mobile */
  }

  /* --- 1. Slim down the Toggle Pill --- */
  .form-toggle-bg {
    width: 100%;
    display: flex;
    padding: 4px !important; /* Thinner outer white boundary */
  }

  .toggle-btn {
    flex: 1;
    padding: 10px 4px !important; /* Thinner button height */
    font-size: 13.5px !important; /* Scaled down slightly to fit */
    white-space: nowrap !important; /* Forces the text to stay on one single line */
  }

  /* --- 2. Shrink the Input Detail Boxes --- */
  .input-group input,
  .input-group select {
    padding: 12px 16px !important; /* Slashes the tall vertical padding */
    font-size: 15px !important;
  }

  .input-group textarea {
    padding: 12px 16px !important;
    min-height: 120px !important; /* Ensures the message box doesn't shrink too much */
  }
}
/* =========================================
   CONTACT PAGE: SECTION 4 (PARTNERSHIPS) 
========================================= */

.partner-section {
  background-color: #050814;
  padding: 140px 0 160px 0;
}

/* --- Header Block --- */
.partner-header-block {
  text-align: left;
  max-width: 850px;
  margin-bottom: 80px;
}

.partner-massive-heading {
  font-size: 3.5rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}

.partner-subheading {
  font-size: 1.2rem;
  line-height: 1.7;
  color: #a0abc0;
  margin-bottom: 30px;
  max-width: 750px;
}

.partner-subtext {
  font-size: 1rem;
  font-weight: 700;
  color: #fc4827; /* Coral accent to lead into the grid */
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- Partner 2x2 Grid --- */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

.partner-card {
  background: #0f1322;
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 50px;
  border-radius: 24px;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease;
}

.partner-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.15);
}

.partner-card h4 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
}

.partner-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: #a0abc0;
  margin: 0;
}

/* --- Pure CSS Geometric Icons --- */
.css-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 30px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 1. Infrastructure (Bars) */
.icon-infra {
  gap: 6px;
}
.icon-infra .bar {
  width: 12px;
  background: #0066ff;
  border-radius: 4px;
}
.icon-infra .bar:nth-child(1) {
  height: 60%;
  opacity: 0.5;
}
.icon-infra .bar:nth-child(2) {
  height: 100%;
}
.icon-infra .bar:nth-child(3) {
  height: 80%;
  opacity: 0.7;
}

/* 2. Tech (Glowing Node) */
.icon-tech .node-ring {
  width: 50px;
  height: 50px;
  border: 2px dashed #10b981;
  border-radius: 50%;
  position: absolute;
  animation: spin 10s linear infinite;
}
.icon-tech .node-core {
  width: 20px;
  height: 20px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.6);
}

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

/* 3. Banks (Pillars) */
.icon-bank {
  gap: 10px;
}
.icon-bank .pillar {
  width: 20px;
  height: 40px;
  border: 2px solid #fc4827;
  border-radius: 4px;
  position: relative;
}
.icon-bank .pillar::after {
  content: "";
  position: absolute;
  top: -10px;
  left: -2px;
  right: -2px;
  height: 6px;
  background: #fc4827;
  border-radius: 2px;
}

/* 4. Strategy (Overlapping Circles) */
.icon-strategy .circle-overlap {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  position: absolute;
}
.icon-strategy .left {
  background: rgba(155, 140, 255, 0.8);
  left: 0;
  mix-blend-mode: screen;
}
.icon-strategy .right {
  background: rgba(0, 102, 255, 0.8);
  right: 0;
  mix-blend-mode: screen;
}

/* --- Disclaimer --- */
.partner-disclaimer {
  border-left: 3px solid #000066;
  padding-left: 24px;
  margin-bottom: 100px;
}

.partner-disclaimer p {
  font-size: 0.95rem;
  color: #718096;
  font-style: italic;
  margin: 0;
}

/* --- Final CTA Banner --- */
.partner-cta-banner {
  /* Smooth Indigo to Deep Navy Gradient */
  background: linear-gradient(135deg, #4b24bf 0%, #000066 100%);
  border-radius: 32px;
  padding: 80px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

/* The concentric background rings */
.cta-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

.ring-1 {
  width: 800px;
  height: 800px;
}
.ring-2 {
  width: 1200px;
  height: 1200px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.cta-banner-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
}

.cta-banner-content h2 {
  font-size: 2.8rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -1px;
  margin-bottom: 16px;
  line-height: 1.2;
}

.cta-banner-content p {
  font-size: 1.1rem;
  color: #e2e8f0;
  margin-bottom: 40px;
}

/* Dark Pill Button */
.cta-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #050814; /* Dark button like the reference */
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  padding: 16px 32px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-pill-btn:hover {
  background: #fc4827; /* Swaps to Coral on hover */
  border-color: #fc4827;
  transform: translateY(-3px);
}

/* --- Mobile Responsiveness --- */
@media (max-width: 991px) {
  .partner-massive-heading {
    font-size: 2.5rem;
  }

  .partner-grid {
    grid-template-columns: 1fr;
  }

  .partner-card {
    padding: 40px 30px;
  }

  .cta-banner-content h2 {
    font-size: 2.2rem;
  }

  .partner-cta-banner {
    padding: 60px 30px;
  }
}
/* =========================================
   CONTACT PAGE: SECTION 5 (INVESTORS - WIDE BENTO & DARK BG) 
========================================= */

.investor-section-dark {
  background-color: #050814; /* Deep ZeneX Navy */
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

/* --- Background Accents --- */
.angle-investor {
  width: 200%;
  height: 800px;
  top: -200px;
  right: -50%;
  transform: rotate(15deg);
  background: linear-gradient(to top, rgba(255, 255, 255, 0.02), transparent);
  z-index: 1;
}

.hero-dot-grid.right-side {
  left: auto;
  right: 0;
  opacity: 0.1;
}

/* --- The Wide Bento Grid Layout --- */
.bento-grid-wide {
  display: grid;
  /* Massive 2:1 ratio pushes the white box to the left and shrinks the right column */
  grid-template-columns: 2fr 1fr;
  grid-template-rows: repeat(2, 240px);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.bento-card {
  border-radius: 32px;
  padding: 40px;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

/* --- Left Card (Main Content) --- */
.bento-main-wide {
  background: #ffffff;
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 60px 80px; /* Generous padding for the wider layout */
}

.bento-badge-fixed {
  display: inline-block;
  background: rgba(252, 72, 39, 0.1);
  color: #fc4827;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  padding: 10px 20px;
  border-radius: 50px;
  margin-bottom: 24px;
}

.bento-title-fixed {
  font-size: 3.2rem;
  font-weight: 800;
  color: #000066;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}

.bento-desc-fixed {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #4a5568;
  margin-bottom: 20px;
  max-width: 90%;
}

.bento-cta-fixed {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #000066; /* Solid Navy Button */
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  padding: 18px 40px;
  border-radius: 50px;
  text-decoration: none;
  margin-top: 24px;
  transition: all 0.3s ease;
}

.bento-cta-fixed:hover {
  background: #fc4827; /* Swaps to Coral on hover */
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(252, 72, 39, 0.3);
}

.cta-arrow {
  transition: transform 0.3s ease;
}

.bento-cta-fixed:hover .cta-arrow {
  transform: translateX(5px);
}

/* --- Right Top Card (Dark Chart) --- */
.dark-visual {
  background: #0b0c26; /* Slightly lighter than the section bg so it stands out */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.visual-label {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  position: relative;
  z-index: 2;
}

/* Pure CSS Animated Chart */
.css-chart-container {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 120px;
  margin-bottom: 20px;
}

.chart-bar {
  flex: 1;
  background: linear-gradient(to top, #0066ff, #9b8cff);
  border-radius: 8px 8px 0 0;
  animation: barPulse 3s infinite ease-in-out alternate;
}

.bar-1 {
  height: 40%;
  animation-delay: 0s;
}
.bar-2 {
  height: 65%;
  animation-delay: 0.4s;
}
.bar-3 {
  height: 50%;
  animation-delay: 0.8s;
}
.bar-4 {
  height: 95%;
  background: linear-gradient(to top, #fc4827, #ff8a73);
  animation-delay: 1.2s;
}

@keyframes barPulse {
  0% {
    transform: scaleY(0.9);
    opacity: 0.6;
  }
  100% {
    transform: scaleY(1.1);
    opacity: 1;
  }
}

/* --- Right Bottom Card (Coral Orbit) --- */
.coral-visual {
  background: linear-gradient(135deg, #fc4827 0%, #d93d20 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.text-white {
  color: #ffffff;
}

/* Pure CSS Orbiting Ecosystem */
.css-orbit-container {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit-center {
  width: 40px;
  height: 40px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.4);
  z-index: 2;
}

.orbit-ring {
  position: absolute;
  width: 140px;
  height: 140px;
  border: 1px dashed rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  animation: orbitSpin 10s linear infinite;
}

.orbit-satellite {
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background: #000066;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0, 0, 102, 0.5);
}

@keyframes orbitSpin {
  100% {
    transform: rotate(360deg);
  }
}

/* --- Mobile Responsiveness --- */
@media (max-width: 991px) {
  .bento-grid-wide {
    grid-template-columns: 1fr;
    grid-template-rows: auto 200px 200px;
  }

  .bento-main-wide {
    grid-row: 1;
    padding: 50px 30px;
  }

  .bento-title-fixed {
    font-size: 2.5rem;
  }
}
/* =========================================
   CONTACT PAGE: SECTION 6 (FULL FAQ) 
========================================= */

.contact-faq-section {
  background-color: #f8fafc;
  /* Changed from 100px to 160px to push the headline further down */
  padding: 160px 0 160px 0;
}

.contact-faq-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
}

/* --- Left Column: Sticky Header --- */
.faq-left-col {
  position: sticky;
  top: 140px;
}

.faq-massive-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: #000066;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}

.faq-intro-text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #4a5568;
  margin-bottom: 16px;
}

/* --- Right Column: Minimalist Accordion --- */
.faq-right-col {
  display: flex;
  flex-direction: column;
  gap: 0; /* Removes the bulky gaps between items */
}

.contact-faq-item {
  background: transparent; /* Removes the white card background */
  border: none;
  border-bottom: 1px solid #e2e8f0; /* Clean, single bottom line */
  border-radius: 0; /* Removes the rounded box look */
  overflow: hidden;
  transition: all 0.3s ease;
}

/* Removes the heavy box shadow when a question is clicked */
.contact-faq-item[open] {
  border-bottom: 1px solid #e2e8f0;
  box-shadow: none;
}

.contact-faq-item summary {
  list-style: none;
  padding: 24px 40px 24px 0; /* Flush left alignment, space on the right for the icon */
  font-size: 1.05rem; /* Scaled down slightly for a sleeker look */
  font-weight: 600; /* Less chunky than 800 */
  color: #000066;
  cursor: pointer;
  position: relative;
  user-select: none;
}

.contact-faq-item summary::-webkit-details-marker {
  display: none;
}

/* Custom + / - Icons */
.contact-faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0; /* Aligns the coral icon flush to the right edge */
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.6rem; /* Scaled down the icon to match the cleaner text */
  font-weight: 400;
  color: #fc4827;
  transition: transform 0.3s ease;
}

.contact-faq-item[open] summary::after {
  content: "−";
  transform: translateY(-50%) rotate(180deg);
}

/* Answer Text */
.contact-faq-answer {
  /* The 16px top padding creates that "drop down" effect you wanted */
  padding: 16px 40px 32px 0;
  font-size: 1rem;
  line-height: 1.7;
  color: #4a5568;
}

.contact-faq-answer p {
  margin-bottom: 16px;
}

.contact-faq-answer p:last-child {
  margin-bottom: 0;
}

/* Inline CTA Link */
.faq-inline-cta {
  display: inline-block;
  margin-top: 12px;
  font-weight: 700;
  color: #fc4827;
  text-decoration: none;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.faq-inline-cta:hover {
  color: #000066;
}

/* Slide Animation */
.contact-faq-item[open] .contact-faq-answer {
  animation: contact-faq-slide 0.4s ease-out forwards;
}

@keyframes contact-faq-slide {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Mobile Responsiveness --- */
@media (max-width: 991px) {
  .contact-faq-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .faq-left-col {
    position: static;
  }

  .faq-massive-title {
    font-size: 2.8rem;
  }

  .contact-faq-item summary {
    padding: 20px 30px 20px 0 !important;
    font-size: 1rem !important;
  }

  .contact-faq-item summary::after {
    right: 0 !important;
  }

  .contact-faq-answer {
    padding: 12px 20px 24px 0 !important;
  }
}
/* =========================================
   LEGAL PAGES (PRIVACY & TERMS)
========================================= */

.legal-page-wrapper {
  background-color: #f8fafc; /* Soft white background */
}

/* --- Hero Section --- */
.legal-hero {
  background-color: #050814; /* ZeneX Navy */
  padding: 160px 0 100px 0;
  text-align: left;
}

.legal-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.legal-last-updated {
  font-size: 1.1rem;
  color: #a0abc0;
  font-weight: 500;
}

/* --- Content Layout --- */
.legal-content-section {
  padding: 80px 0 120px 0;
}

.legal-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 80px;
  align-items: start;
}

/* --- Sticky Sidebar --- */
.legal-sidebar {
  position: sticky;
  top: 120px; /* Sticks neatly under your fixed header */
  background: #ffffff;
  padding: 30px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 30px rgba(0, 0, 102, 0.03);
}

.legal-nav h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #000066;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.legal-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.legal-nav a {
  text-decoration: none;
  color: #4a5568;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.legal-nav a:hover {
  color: #fc4827; /* Coral accent */
}

/* --- Main Document Typography --- */
.legal-document {
  max-width: 800px;
}

.legal-section {
  margin-bottom: 60px;
  scroll-margin-top: 120px; /* Prevents sticky header from covering the title when a link is clicked */
}

.legal-section h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #050814;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e2e8f0;
}

.legal-section p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #4a5568;
  margin-bottom: 20px;
}

.legal-section ul {
  margin-bottom: 24px;
  padding-left: 24px;
}

.legal-section li {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #4a5568;
  margin-bottom: 12px;
}

.legal-section a {
  color: #0066ff;
  text-decoration: none;
  font-weight: 600;
}

.legal-section a:hover {
  text-decoration: underline;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 991px) {
  .legal-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .legal-sidebar {
    position: static;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0;
    border-bottom: 1px solid #e2e8f0;
    border-radius: 0;
    padding-bottom: 30px;
  }

  .legal-title {
    font-size: 2.8rem;
  }
}
/* =========================================
   FOOTER SOCIAL ICONS
========================================= */
.footer-socials {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.05); /* Subtle dark container */
  border-radius: 50%;
  color: #ffffff;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.footer-socials a svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer-socials a:hover {
  background: #fc4827; /* ZeneX Coral */
  color: #ffffff;
  transform: translateY(-4px);
  border-color: #fc4827;
  box-shadow: 0 10px 20px rgba(252, 72, 39, 0.2);
}
/* =========================================
   WAITLIST PAGE (PREMIUM LEFT-ALIGNED)
========================================= */

.waitlist-page-wrapper {
  background-color: #050814;
  min-height: 100vh;
  padding: 140px 0 120px 0;
  position: relative;
  overflow: hidden;
}

/* --- 1. Ambient Floating Geometry --- */
.floating-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  z-index: 1;
  opacity: 0.15; /* Kept subtle so it doesn't distract */
  pointer-events: none;
  animation: slowFloat 20s infinite ease-in-out alternate;
}

.shape-alpha {
  width: 600px;
  height: 600px;
  background: #4b0082; /* Deep Indigo/Purple */
  top: -100px;
  right: -200px;
}

.shape-beta {
  width: 450px;
  height: 450px;
  background: #000066; /* ZeneX Navy Glow */
  bottom: -100px;
  left: -150px;
  animation-delay: -10s; /* Offsets the animation timing */
}

@keyframes slowFloat {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-50px, 30px) scale(1.1);
  }
  100% {
    transform: translate(20px, -40px) scale(0.95);
  }
}

/* --- 2. The Infinite Fintech Ticker --- */
.ticker-wrap {
  width: 100%;
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 12px 0;
  overflow: hidden;
  position: absolute;
  top: 90px; /* Sits right under your nav bar, adjust if needed */
  left: 0;
  z-index: 5;
  white-space: nowrap;
}

.ticker-move {
  display: inline-block;
  white-space: nowrap;
  padding-right: 100%;
  animation: tickerAnim 30s linear infinite;
}

.ticker-item {
  display: inline-block;
  padding: 0 40px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: #a0abc0;
  text-transform: uppercase;
}

@keyframes tickerAnim {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  } /* Moves exactly half the width to loop seamlessly */
}

/* --- 3. The Left-Aligned Layout --- */
.waitlist-container-left {
  position: relative;
  z-index: 10;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px 0 20px; /* Breathing room under the ticker */
}

.waitlist-hero-text {
  max-width: 850px;
  margin-bottom: 50px;
}

/* Reusing your hero styles from the About Page */
.hero-overline {
  display: inline-block;
  color: #a0abc0;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 24px;
}

/* Make sure this doesn't conflict with your existing about-hero-title */
.waitlist-hero-text .about-hero-title {
  font-size: 4.5rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 24px;
}

.text-gradient {
  background: linear-gradient(90deg, #9b8cff 0%, #fc4827 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.waitlist-hero-text .about-hero-desc {
  font-size: 1.25rem;
  line-height: 1.6;
  color: #a0abc0;
  max-width: 700px;
}

/* --- 4. The Sleek Inline Form --- */
.waitlist-form-wrapper-left {
  margin-bottom: 80px;
}

.sleek-inline-form {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 16px;
  max-width: 1000px;
}

.sleek-input {
  flex: 1;
  min-width: 0;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 1.05rem;
  padding: 18px 24px;
  border-radius: 12px;
  outline: none;
  transition: all 0.3s ease;
}

.sleek-input:focus {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
}

.sleek-select {
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  appearance: none;
}

.sleek-select option {
  background-color: #050814;
  color: #ffffff;
}

.sleek-submit-btn {
  background: #fc4827; /* The 10% Coral focus */
  color: #ffffff;
  border: none;
  padding: 18px 40px;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 12px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.sleek-submit-btn:hover {
  background: #ffffff;
  color: #050814;
  transform: translateY(-2px);
}

/* --- 5. Ultra-Dark Perks Grid --- */
.waitlist-perks-grid-left {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.dark-perk-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 40px 30px;
  border-radius: 16px;
  transition: all 0.3s ease;
}

.dark-perk-card:hover {
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.1);
}

.dark-perk-number {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: #9b8cff; /* Soft purple accent instead of coral */
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.dark-perk-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}

.dark-perk-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: #a0abc0;
  margin: 0;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 991px) {
  .waitlist-hero-text .about-hero-title {
    font-size: 3rem;
    letter-spacing: -1px;
  }

  .sleek-inline-form {
    flex-direction: column;
  }

  .waitlist-perks-grid-left {
    grid-template-columns: 1fr;
  }

  .ticker-item {
    font-size: 0.75rem;
    padding: 0 20px;
  }
}
/* =========================================
   HEADER CTA BUTTON (WAITLIST)
========================================= */
.header-actions .header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #06064e; /* ZeneX Navy */
  color: #ffffff !important;
  text-decoration: none;
  padding: 12px 32px;
  border-radius: 50px; /* Perfect pill shape */
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(5, 8, 20, 0.1);
}

.header-actions .header-cta:hover {
  background-color: #fc4827; /* Shifts to ZeneX Coral on hover */
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(252, 72, 39, 0.2);
}
/* =========================================
   CONTACT HERO: DECORATIVE WAITLIST PILL
========================================= */
.hero-decorative-pill-wrapper {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

.hero-decorative-pill {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.03); /* Premium dark glass look */
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 8px 8px 24px; /* Padding matches the button beautifully */
  border-radius: 100px; /* The pill shape */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.pill-static-text {
  color: #a0abc0; /* Muted text color */
  font-size: 1.05rem;
  font-weight: 500;
  margin-right: 20px; /* Space between text and button */
  pointer-events: none; /* Makes sure they can't click or highlight the text */
}

.pill-action-btn {
  background-color: #fc4827; /* ZeneX Coral */
  color: #ffffff !important;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  box-shadow: 0 8px 16px rgba(252, 72, 39, 0.2);
}

.pill-action-btn:hover {
  background-color: #ffffff;
  color: #050814 !important; /* Shifts to Navy on hover */
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(255, 255, 255, 0.1);
}

/* Mobile responsiveness so it stacks cleanly if the screen is tiny */
@media (max-width: 500px) {
  .hero-decorative-pill {
    flex-direction: column;
    padding: 16px;
    border-radius: 24px;
    gap: 16px;
    width: 100%;
  }

  .pill-static-text {
    margin-right: 0;
  }

  .pill-action-btn {
    width: 100%;
    text-align: center;
  }
}
/* --- HAMBURGER MENU BASE --- */
.mobile-toggle {
  display: none; /* Hidden on desktop */
  cursor: pointer;
  border: none;
  background: transparent;
  padding: 10px;
  z-index: 2000; /* Stays above the mobile menu */
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background-color: #050814; /* ZeneX Navy */
  transition: all 0.3s ease-in-out;
}

.mobile-only-btn {
  display: none; /* Hidden on desktop */
}

/* --- MOBILE RESPONSIVE NAVBAR --- */
@media (max-width: 991px) {
  /* 1. Reduce Navbar Height */
  .site-header {
    padding: 14px 0; /* <-- TWEAK THIS: Change 14px to make the header taller or shorter */
  }

  /* 2. Shrink Logo */
  .site-logo {
    max-height: 26px; /* <-- TWEAK THIS: Change 26px to adjust logo size */
  }

  .header-container {
    padding: 0 24px;
  }

  .header-actions {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  /* 3. Left-Align the Menu Container */
  .header-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: #ffffff;
    border-radius: 0;
    padding: 100px 32px 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start; /* CRITICAL: Pushes all contents to the left */
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 1500;
    box-shadow: none;
  }

  .header-nav.is-active {
    right: 0;
  }

  /* 4. Format and Left-Align the Links */
  .nav-links {
    flex-direction: column;
    gap: 32px; /* <-- TWEAK THIS: Space between menu links */
    align-items: flex-start; /* Forces links to the left edge */
    text-align: left;
    width: 100%;
    padding: 0;
    margin: 0;
  }

  .nav-links a {
    font-size: 1.15rem; /* <-- TWEAK THIS: Text size (reduced from 1.5rem) */
    font-weight: 600;
    color: #050814;
  }

  .mobile-only-btn {
    display: inline-flex;
    margin-top: 50px;
    width: 100%;
    justify-content: center;
  }

  /* Hamburger to 'X' Animation */
  .mobile-toggle.is-active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .mobile-toggle.is-active .hamburger-line:nth-child(2) {
    opacity: 0;
  }
  .mobile-toggle.is-active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}
/* =========================================
   HOW ZENEX WORKS (MOBILE-ONLY FIXES) 
   ========================================= */

@media (max-width: 768px) {
  /* --- 1. Reduce the massive top curve --- */
  .how-it-works-section {
    border-top-left-radius: 60px !important;
    padding: 60px 20px 40px !important; /* Tighter padding overall */
  }

  /* --- 2. Shrink the main headline --- */
  .works-intro-text .section-title {
    font-size: 32px !important;
    transform: none !important; /* Removes the upward shift used on desktop */
    text-align: left !important;
  }

  .works-intro-text .section-desc {
    text-align: left !important;
  }

  /* --- 3. Hide the hand/phone image entirely --- */
  .works-static-graphic {
    display: none !important;
  }

  /* --- 4. Shrink the 4 Grid Cards --- */
  .step-card {
    padding: 24px !important; /* Cut down from 48px to give content more room */
  }

  .step-number {
    margin-bottom: 12px !important;
  }

  .step-content h4 {
    font-size: 18px !important;
  }

  .step-content p {
    font-size: 14px !important;
  }

  /* --- 5. Left-Align Footer & Make Journey Pill Scrollable --- */
  .works-footer {
    text-align: left !important;
    margin-top: 40px !important;
  }

  .works-footer-title {
    text-align: left !important;
    font-size: 24px !important;
  }

  .linear-journey {
    justify-content: flex-start !important; /* Aligns items to the left */
    flex-wrap: nowrap !important; /* Forces items into a single line */
    overflow-x: auto !important; /* Enables horizontal swiping */
    width: 100%;
    padding: 16px 20px !important;
    -webkit-overflow-scrolling: touch;
  }

  /* Hide the scrollbar on the journey pill for a clean app look */
  .linear-journey::-webkit-scrollbar {
    display: none;
  }
  .linear-journey {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  /* Keeps the text inside the journey steps from breaking to a new line */
  .journey-step,
  .journey-arrow {
    white-space: nowrap !important;
  }
}
/* =========================================
   DARK SHOWCASE SECTION (MOBILE-ONLY FIXES) 
   ========================================= */

@media (max-width: 768px) {
  /* --- 1. Hide the image entirely --- */
  .showcase-image-col {
    display: none !important;
  }

  /* --- 2. Left-align the layout, title, and subtext --- */
  .dark-showcase-layout {
    text-align: left !important;
  }

  .hero-eyebrow,
  .showcase-title,
  .showcase-desc {
    text-align: left !important;
  }

  /* If your "Why Choose ZeneX?" eyebrow has auto margins centering it, this forces it left */
  .hero-eyebrow {
    margin-left: 0 !important;
  }

  /* --- 3. Adjust the Bottom Curve (Right Side Only & Smaller) --- */
  .zenex-dark-showcase-section {
    border-bottom-left-radius: 0 !important; /* Completely removes the left curve */
    border-bottom-right-radius: 40px !important; /* Reduced curve strictly on the right side */
    padding: 60px 20px 80px !important; /* Cuts down the massive vertical spacing */
  }
}
/* =========================================
   BENTO SECTION (MOBILE-ONLY FIXES) 
   ========================================= */

@media (max-width: 991px) {
  /* --- 1. Straighten & Shrink Headline --- */
  .feedback-card h3 {
    font-size: 22px !important; /* Shrunk down to fit on one line */
    white-space: nowrap !important; /* Forces the text to stay straight */
    margin-bottom: 12px !important;
  }

  /* If you manually typed <br> tags in your HTML, this forces them to hide on mobile */
  .feedback-card h3 br {
    display: none !important;
  }

  /* --- 2. Make Image Clearer & Adjust Padding --- */
  .feedback-card {
    /* Lowered the rgba opacity from 0.7 to 0.35 to let the image shine through */
    background-image:
      linear-gradient(to bottom, rgba(0, 0, 102, 0.35), rgba(26, 26, 26, 0.85)),
      url("feedback-bg.webp") !important;
    padding: 32px 24px !important; /* Tighter padding creates more room inside */
  }

  /* --- 3. Drop the Avatar Cluster Down & Compact It --- */
  .image-cluster {
    margin-top: 60px !important; /* Drops the cluster much lower */
  }

  /* Slightly overlap the faces more so the badge doesn't push off the screen edge */
  .img-1 {
    left: 0 !important;
  }
  .img-2 {
    left: 45px !important;
  }
  .img-3 {
    left: 90px !important;
  }

  .cluster-badge {
    left: 150px !important; /* Pulls the coral badge inward to match the tighter faces */
    font-size: 0.75rem !important; /* Slightly smaller text for the badge */
    padding: 6px 12px !important;
  }
}
