/* ======================================================================================================================
   A1RA® Stylesheet (Rashaad)
   Cleaned + regenerated with:
   - Correct brace structure
   - No impossible nested media queries
   - Mobile overrides kept INSIDE the mobile block
   - Desktop reset moved OUTSIDE the mobile block
   - Duplicate mobile blocks consolidated (kept strongest/final rules)
   ====================================================================================================================== */


/* =========================================
   1. GLOBAL VARIABLES & UTILITIES
   ========================================= */

:root {
  --bg: #fffdf7;
  --card: #F2EFE0;
  --primary: #005f7b;
  --primary-soft: #0f7b9c;
  --text-main: #111;
  --text-muted: #727272;
  --border-subtle: #ececec;
  --radius-xl: 26px;
  --radius-lg: 22px;
  --shadow-soft: 0 18px 40px rgba(0,0,0,0.06);
  --max-width: 1120px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  letter-spacing: -0.2px;
  color: var(--text-main);
}

main {
  position: relative;
  z-index: 1;
  width: 100%;
  overflow-x: hidden;
}

.shell {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.full-width { width: 100%; }
.section-divider { height: 1px; background: #e6e6e6; width: 50%; margin: 40px auto 0; }
.anchor-offset { position: relative; top: 70px; height: 0; pointer-events: none; }

/* Scroll Targets */
#CaseStudy { scroll-margin-top: -60px; }
#principles { scroll-margin-top: -42px; }
#about { scroll-margin-top: -100px; }
#contact { scroll-margin-top: -80px; }
#A1ra { scroll-margin-top: 30px; }
#howitworks-title {scroll-margin-top: 0px; }
#faq {scroll-margin-top: -100px; }

/* Global Typography */
.section-titles {
  font-size: 65px;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: -2.8px;
  padding-left: 40px;
  padding-right: 40px;
  text-align: center;
}

/* Global Buttons */
.pill-btn {
  display: inline-flex;              /* ← key change */
  align-items: center;               /* vertical centering */
  justify-content: center;           /* horizontal centering */
  padding: 10px 22px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 12px;
  border: none;
  transition: 0.2s;
  
}
.pill-btn.primary { background: #111; color: #fff; font-weight: 600; letter-spacing: -0.3px; }
.pill-btn.ghost { background: transparent; border: 1px solid #ccc; color: #555; text-decoration: none; transition: 0.2s ease; }
.pill-btn.ghost:hover { border-color: var(--primary); color: var(--primary); background: rgba(0, 95, 123, 0.05); }

/* Helper Classes */
.hero-shell-offset { margin-top: 170px; }
.hero-actions-spacing { margin-top: 40px; margin-bottom: 80px; }
.cta-button-spacing { margin-top: 20px; }
.cta-button-large { font-size: 16px !important; padding: 15px 32px !important; min-width: 200px !important; }
.counter-title-spacing { text-align: center; padding-top: 220px; }

/* Global Mobile Safety (prevents "pushed left") */
html, body {
  overflow-x: hidden !important;
  /* width: 100% !important;
  position: relative; */
}


/* =========================================
   2. HEADER & NAVIGATION
   ========================================= */

.main-header {
  position: fixed;
  top: 20px;
  z-index: 999997;
  left: 50%;
  transform: translateX(-50%) translate3d(0,0,0);
  width: 90%;
  max-width: 1420px;
  margin: 0 auto;
  border-radius: 50px;
  background: rgba(138, 138, 138, 0.169);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(216, 216, 216, 0.765);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  padding: 0 30px;
  display: flex;
  align-items: center;
  height: 60px;
}

.main-header .shell {
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  max-width: 100%;
}

.simple-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0;
  height: 100%;
  margin: 0;
}

.text-logo {
  font-family: "Saira", sans-serif;
  font-weight: 600;
  font-size: 22px;
  color: #66898a;
  text-decoration: none;
  letter-spacing: -1.2px;
  transition: opacity 0.2s ease;
  display: inline-block;
}
.text-logo:hover {
  opacity: 0.5;
  transform: scale(1.1);
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.2s ease;
}

.right-nav {
  display: flex;
  gap: 26px;
  font-size: 13px;
  align-items: center;
  font-family: "Saira", sans-serif;
}
.right-nav a { color: #444; text-decoration: none; transition: 0.2s ease; }
.right-nav a:hover { opacity: 0.7; }

.hamburger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  z-index: 1000;
}

.hamburger-btn span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #333;
  border-radius: 3px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); /* Smooth timing for the cross */
  transform-origin: center;         /* Ensures rotation happens at the midpoint */
}

/* The "Open" State (Applied via JavaScript) */
.hamburger-btn.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger-btn.open span:nth-child(2) {
  opacity: 0; /* Middle line fades away */
  visibility: hidden; /* Tells the browser to stop painting it entirely */
  transform: scaleX(0);
}

.hamburger-btn.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Language Dropdown */
.lang-selector { position: relative; display: inline-flex; align-items: center; z-index: 99998; }
.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background-color: transparent;
  border: none;
  padding: 8px 12px;
  border-radius: 10px;
  cursor: pointer;
  height: 32px;
  font-family: "Saira", sans-serif;
}
.lang-btn img { width: 18px; height: 18px; border-radius: 3px; }
.lang-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 4px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 6px 0;
  min-width: 80px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.1);
  z-index: 99999;
  display: none;
}
.lang-menu a { display: flex; align-items: center; gap: 8px; padding: 8px 18px; text-decoration: none; color: #111; }
.lang-menu a:hover { background: #f5f5f5; }
.lang-menu img { width: 18px; height: 18px; border-radius: 3px; }
/* DESKTOP language dropdown */
.lang-menu.open {
  display: block;
}


/* =========================================
   3. HERO SECTION (Bento)
   ========================================= */

.hero-title {
  opacity: 0;
  transform: translateY(40px);
  animation: snapTitleUp 2.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0s;
  font-size: clamp(115px, 13vw, 165px);
  color: var(--primary);
  font-weight: 800;
  letter-spacing: -0.038em; 
  text-align: left;
  margin-top: 0px;
  margin-bottom: 40px;
  margin-left: 30px;
  display: block;
  white-space: nowrap;
}

.bento-hero-section { padding-top: 220px; padding-bottom: 50px; overflow: hidden; }
.bento-wrapper { position: relative; max-width: 1050px; margin: 0 auto; height: 520px; display: flex; align-items: center; }

/* Left Piece */
.bento-piece-left {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 70%;
  z-index: 1;
  opacity: 0;
  transform: translateX(-80px);
  animation: snapLeft 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.2s;
}
.bento-inner-mask { position: relative; width: 100%; height: 100%; border-radius: 40px; overflow: hidden; box-shadow: none; }
.bento-img { width: 100%; height: 100%; object-fit: cover; display: block; }

.image-text-overlay {
  position: absolute;
  z-index: 10;
  top: 40px;
  left: 40px;
  background: rgba(255, 255, 255, 0);
  max-width: 320px;
  text-align: left;
}

.overlay-title {
  font-size: clamp(110px, 14vw, 155px);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 78px;
  letter-spacing: -6.9px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7),
               0 8px 24px rgba(0, 0, 0, 0.5);
  animation: moneyVanish 15s ease-in-out infinite;
}


/* Right Piece */
.bento-piece-right {
  position: absolute;
  right: 0;
  top: 30px;
  width: 45%;
  height: 72%;
  z-index: 10;
  opacity: 0;
  transform: translateX(80px);
  animation: snapRight 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.3s;
}

.bento-text-card {
  width: 100%;
  height: 100%;
  min-height: 280px;
  background: rgba(254, 252, 249, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(237, 231, 221, 0.721);
  border-radius: 40px;
  padding: 35px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  transform: translateY(0);
}

.hero-subtitle-bento {
  font-size: clamp(13.5px, 1.8vw, 16px);
  line-height: 1.55;
  color: #555;
  margin-bottom: 25px;
  text-align: left;
  max-width: 60ch;
  overflow-wrap: break-word;
}

.hero-actions {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
  margin-top: 75px !important;
  margin-bottom: 60px;
  max-width: 1050px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 60px;
}
.hero-actions .pill-btn { font-size: 17px !important; padding: 16px 38px !important; min-width: 200px; font-weight: 600; letter-spacing: -0.3px; }


.hero-subtitle { max-width: 786px; margin: 0 auto; font-size: 20px; color: var(--text-muted); margin-bottom: 100px; }
.losing-money-text { display: inline-block; animation: moneyRecoverCycle 28s ease-in-out forwards; animation-delay: 2s; }

/* Right hover levitation */
.bento-piece-right:hover .bento-text-card {
  transform: translateY(-8px);
  box-shadow: 0 40px 80px rgba(0,0,0,0.12), 0 15px 20px rgba(0,0,0,0.05);
  border-color: rgba(255, 255, 255, 1);
  background: rgba(254, 252, 249, 0.98);
}


/* =========================================
   4. PRINCIPLES CAROUSEL
   ========================================= */

.hero2 { text-align: center; padding: 70px 0 95px; }

.principles-wrapper {
  margin-top: 100px;
  margin-bottom: 100px;
  position: relative;
  opacity: 0;
  transform: scale(0.95);
  transition: all 0.5s ease-out;
  will-change: transform, opacity;
}
.principles-wrapper.is-visible { animation: carouselEntrance 2.0s cubic-bezier(0.16, 1, 0.3, 1) forwards; }

.principle-text-container { max-width: 700px; margin: 0 auto 40px; text-align: center; min-height: 230px; transition: opacity 0.3s ease; }
.principle-title { font-size: 36px; font-weight: 700; letter-spacing: -0.9px; margin-bottom: 16px; }
.principle-body { font-weight: 700; font-size: 16px; color: var(--text-muted); text-align: left; }
.principle-footer { margin-top: 15px; font-size: 12px; color: var(--text-muted); text-align: left; }

.carousel-container { position: relative; width: 100%; height: 400px; display: flex; justify-content: center; perspective: 1000px; overflow: hidden; z-index: 1;}
.carousel-card {
  position: absolute;
  width: 320px;
  height: 320px;
  top: 40px;
  left: 50%;
  margin-left: -160px;
  border-radius: 26px;
  background: white;
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: pointer;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
}
.carousel-card img { width: 100%; height: 100%; object-fit: cover; }

.carousel-card.active { opacity: 1; z-index: 10; transform: translateX(0) scale(1.1); pointer-events: auto; box-shadow: 0 30px 60px rgba(118, 118, 118, 0.25); border: 3px solid white; }
.carousel-card.prev { opacity: 0.6; z-index: 5; transform: perspective(600px) translateX(-180px) scale(0.85) rotateY(-25deg); pointer-events: auto; filter: grayscale(100%); }
.carousel-card.next { opacity: 0.6; z-index: 5; transform: perspective(600px) translateX(180px) scale(0.85) rotateY(25deg); pointer-events: auto; filter: grayscale(100%); }
.carousel-card.hidden { opacity: 0; z-index: 0; transform: scale(0.5); }

.carousel-dots { position: relative; display: flex; justify-content: center; align-items: center; margin-top: 40px; gap: 12px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #ccc; transition: 0.3s; }
.dot.active { background: var(--primary); transform: scale(1.3); }

.reset-btn {
  position: absolute;
  left: 50%;
  margin-left: 100px;
  width: 20px;
  height: 20px;
  background: transparent !important;
  border: none;
  color: #ccc;
  font-size: 14px;
  font-weight: bold;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.4s ease;
  z-index: 10;
}
.reset-btn:hover { color: var(--primary); transform: rotate(180deg); }
.reset-btn.spinning { color: var(--primary); animation: infiniteSpin 0.6s linear infinite; }

/* Tooltip bubble */
.carousel-hint{
  position: absolute;
  top: 5px;          /* adjust */
  right: 153px;         /* adjust */
  z-index: 20;

  max-width: 170px;
  padding: 10px 14px;
  border-radius: 12px;

  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(56, 56, 56, 0.35);  /* adjust to your brand */
  box-shadow: 0 14px 32px rgba(0,0,0,0.10);

  font-size: 13px;
  line-height: 1.25;
  color: #111;

  transform-origin: 90% 100%;
  opacity: 0;
  --hint-x: 0px; /* default (desktop uses right positioning anyway) */
  transform: translateX(var(--hint-x)) translateY(6px) scale(0.98);
  pointer-events: none; /* never blocks clicks */
}

/* Visible state */
.carousel-hint.is-visible{
  opacity: 1;
  transform: translateX(var(--hint-x)) translateY(0) scale(1);
  animation: hintFloat 2.6s ease-in-out infinite;
}

/* Subtle: float + micro nudge */
@keyframes hintFloat{
  0%   { transform: translateY(0) translateX(0); }
  50%  { transform: translateY(-3px) translateX(2px); }
  100% { transform: translateY(0) translateX(0); }
}

/* =========================================
   5. A1RA MODEL SECTION
   ========================================= */

.section_a1ra { margin-top: 200px; margin-bottom: 290px; }

h2[data-i18n="section_heading_a1ra2"] {
  font-size: 40px !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  letter-spacing: -1.5px !important;
  margin-top: 10px !important;
  margin-bottom: 20px !important;
  color: #000000 !important;
}

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 120px; align-items: start; }
#A1ra .split { 
  gap: 0px; 
  align-items: start;
  justify-content: center;
  padding-left: 60px !important;
  padding-right: 60px !important;
  margin-top: 170px;
}


/* .split .pad-right { padding-right: 5px; padding-left: 180px; padding-top: 10px; }
.split .pad-left { padding-right: 180px; padding-left: 5px; padding-top: 1px; } */

.section-body_a1ra { margin-top: 10px !important; color: var(--text-muted); }
.section-footer { margin-top: 16px; font-size: 12px; color: var(--text-muted); line-height: 1.5; opacity: 0.85; }

.a1ra-confetti { position: absolute; top: -120px; left: 10px; width: 500px; height: 500px; pointer-events: none; z-index: 30; }
.a1ra-confetti dotlottie-player { width: 100%; height: 100%; }
.a1ra-shadow-wrapper { display: inline-block; filter: drop-shadow(0px 15px 35px rgba(0,0,0,0.30)); }

.section_a1ra-illustration {
  width: 490px;
  height: auto;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
  box-shadow: none;
}
.section_a1ra-illustration img { max-width: 100%; height: auto; filter: drop-shadow(0 8px 22px rgba(0,0,0,0.50)); }
.section_a1ra-illustration.push-left { justify-self: start; }


.a1ra-illustration {
  display: flex;
  justify-content: center;   /* horizontal centering */
  align-items: center;       /* vertical centering (safe) */
  z-index: 10;
}

/* push-right control (desktop only) */
.push-right {
  margin-left: 64px;   /* ← also common */
}

.a1ra-frame {
  width: clamp(270px, 34vw, 410px);
  aspect-ratio: 485 / 560;  /* ← CRITICAL */
  position: relative;
  overflow: hidden;
  border-radius: 26px;
   z-index: 10;

}


.a1ra-frame dotlottie-player {
  position: absolute;
  top: 51%;
  left: 55%;

  width: 145%;
  height: 145%;

  transform: translate(-50%, -50%);
}

.pad-right_a1ra {
  position: relative;
  margin-top: 10px; /* tweak: 16–40px */
}



/* =========================================
   6. HOW IT WORKS
   ========================================= */

.howitworks-title-block .section-titles{
  margin: 100px 0 10px 0;   /* reduce space under H2 */
}

.howitworks-title-block .howitworks-subtitle{
  margin: 0 auto;       /* keep it tight */
  padding: 0;
  line-height: 1.5;
}

.howitworks-subtitle { width: 100% !important; padding: 0 !important; margin: 0 auto !important; color: var(--text-muted); text-align: center;}

.howitworks-diagram-wrapper { position: relative; max-width: 1000px; margin: 60px auto; }
.howitworks-diagram {
  width: 100%;
  display: block;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(0,0,0,0.15);
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  transition: opacity 2.0s ease-out, transform 1.0s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform;
}
.howitworks-diagram.is-visible { opacity: 1; transform: translateY(0) scale(1); }

/* Hotspots */
.hotspot { position: absolute; transform: translate(-50%, -50%); cursor: pointer; background: rgba(255,255,255,0); }
.hotspot-circle {
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(241, 152, 43, 0.85);
  cursor: pointer;
  transform: translate(-50%, -50%) scale(0);
  z-index: 20;
  opacity: 0;
  border: 2px solid #ffffff;
}
.hotspot-circle.animate-in {
  opacity: 1;
  animation: popInEffect 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards, pulseLoop 2s ease-in-out infinite 0.6s;
}

/* Tooltips */
.hotspot-circle::after {
  content: attr(data-tooltip);
  position: absolute;
  top: -10px;
  left: 30px;
  width: 260px;
  background: rgba(254, 249, 232, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
  color: #333;
  padding: 14px 18px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.45;
  opacity: 0;
  pointer-events: none;
  transform-origin: top left;
  transition: opacity 0.3s ease, transform 0.3s ease;
  white-space: pre-line; 
  z-index: 50;

}
.hotspot-circle:hover::after { opacity: 1; transform: scale(1.05); }

.tooltip-wrapper { position: relative; display: inline-block; }
.tooltip {
  position: absolute;
  top: 50%;
  left: 110%;
  transform: translateY(-50%);
  padding: 6px 10px;
  background: #ffffff;
  color: #000000;
  border: 1px solid #ddd;
  font-size: 12px;
  border-radius: 6px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  white-space: pre-line;
}
.tooltip::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 100%;
  transform: translateY(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: transparent #ffffff transparent transparent;
  white-space: pre-line;
}
.tooltip-wrapper:hover .tooltip,
.tooltip-wrapper:active .tooltip { opacity: 1; }

.howitworks-hint {
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-muted);
  opacity: 0.75;
  text-align: center;
}


/* =========================================
   7. CASE STUDY & METRICS
   ========================================= */

.counter-wrapper {padding-top:100px; padding-bottom: 180px;}

.counter-section-SubTitle {
  text-align: center;
  margin: 0 auto;
  padding: 20px 60px 20px;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -1.2px;
  color: var(--text-muted);
}
.counter-section { max-width: 820px; margin: 0 auto; color: var(--text-muted); position: relative; z-index: 1; }

.metrics-row-3 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 26px;
  max-width: 900px;
  margin: 40px auto;
}
.metric-block.block1 { grid-column: 1 / span 2; }

.metric-block {
  flex: 1;
  padding: 40px 20px;
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.08);
  text-align: center;
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.6s ease-out, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform;
}
.metric-block.is-visible { opacity: 1; transform: translateY(0); }
.metric-block.block1 { transition-delay: 0.3s; }
.metric-block.block2 { transition-delay: 0.6s; }
.metric-block.block3 { transition-delay: 0.9s; }
.block1 { background: #ece9da; }
.block2 { background: #87B1AD; }
.block3 { background: #C5D8D5; }

/* Slot Machine */
.metric-number-wrapper { display: flex; justify-content: center; align-items: center; gap: 0; }
.slot-number { display: flex; }
.metric-label { font-size: 14px; font-weight: 600; margin-top: 20px; color: #000000; opacity: 0.30; text-align: center; }
.digit-slot { width: 32px; height: 44px; overflow: hidden; position: relative; }
.digit-reel { position: absolute; top: 0; left: 0; }
.digit-reel span { display: block; height: 44px; font-size: 44px; font-weight: 700; color: #363636; font-family: "Inter", sans-serif; }
.static-digit { display: flex; justify-content: center; align-items: center; width: 34px; height: 40px; font-size: 32px; font-weight: 700; color: #363636; line-height: 44px; }
.comma { display: flex; justify-content: center; align-items: center; width: 20px; height: 44px; font-size: 44px; font-weight: 700; color: #363636; }

.block1 .metric-number-wrapper { gap: 10px; }
.block1 .static-digit { font-size: 60px; width: 52px; height: 70px; line-height: 70px; }
.block1 .digit-slot { width: 48px; height: 70px; }
.block1 .digit-reel span { font-size: 70px; height: 70px; line-height: 70px; }
.block1 .comma { width: 34px; height: 70px; font-size: 70px; line-height: 70px; }

.results-list {
  padding-left: 20px;
}

.results-list li {
  margin-bottom: 10px;
}

.results-list .sub-list {
  margin-top: 8px;
  padding-left: 20px;
  list-style-type: circle; /* visually distinct */
}

.results-list .sub-list li {
  margin-bottom: 6px;
  font-size: 0.95em;
  opacity: 0.9;
}

.block2 .metric-number-wrapper::before,
.block3 .metric-number-wrapper::before {
  content: "≈ ";
  font-size: 1.7em;
  opacity: 0.75;
  font-weight: 500;
  margin-right: 6px;
}



/* =========================================
   8. PRICING (Financial Times Style)
   ========================================= */

.newspaper-wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 0;
  perspective: 1500px;
}

.newspaper-animate { opacity: 0; will-change: transform, opacity; }
.newspaper-animate.reveal-visible { animation: newspaperSpinZoom 1.5s ease-out forwards; }

.ft-section { background: #F7EEDD; padding: 50px 50px 50px 50px; box-shadow: 0 8px 22px rgba(0, 0, 0, 0.15); }
.ft-shell { max-width: 860px; margin: 0 auto; display: grid; grid-template-columns: 1fr 2px 1fr; gap: 60px; font-family: 'Merriweather', serif; color: #293F3D; }

.ft-top-header { text-align: center; margin-bottom: 40px; margin-top: -20px; }
.ft-top-title { font-size: 46px; font-weight: 700; letter-spacing: 0.08em; margin: 10px 0; font-family: 'Merriweather', serif; color: #293F3D; }
.ft-date-sub { font-size: 25px; font-weight: 400; letter-spacing: 0.08em; margin: 10px 0; font-family: 'Merriweather', serif; color: #293F3D; }
.ft-top-line, .ft-bottom-line { width: 100%; height: 2px; background: #293F3D; margin: 0 auto; }
.ft-divider-vertical { width: 2px; background: #293F3D; height: 100%; margin: auto; }

.ft-left { display: flex; flex-direction: column; gap: 32px; position: relative; }
.ft-top-row { display: flex; align-items: center; gap: 26px; margin-bottom: 16px; }
.ft-a1ra-head { width: 120px; height: auto; flex-shrink: 0; }
.ft-top-text { display: flex; flex-direction: column; gap: 6px; }
.ft-eyebrow { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; margin: 0; }
.ft-title { font-size: 34px; font-weight: 700; margin: 0; }
.ft-subtitle { font-size: 22px; font-weight: 600; margin: 4px 0 14px; }
.ft-hr { width: 100%; height: 2px; background: #293F3D; margin: 0px 0 16px; }
.ft-hr2 { width: 100%; height: 2px; background: #293F3D; opacity: 0.7; margin: 26px 0 26px; }
.ft-hr3 { width: 100%; height: 2px; background: #293F3D; opacity: 0.5; margin: 0px 0 26px; }

.ft-article-text { font-size: 16px; line-height: 1.6; color: #293F3D; }
.ft-article-text:first-letter {
  float: left;
  font-size: 5.2rem;
  line-height: 0.85;
  margin-right: 10px;
  margin-top: 4px;
  font-family: 'Merriweather', serif;
  font-weight: 700;
  color: #293F3D;
}
.ft-boxout { border-left: 4px solid #b68b4c; padding: 16px 20px; background: #efe6d6; border-radius: 0px; }
.ft-box-title { font-weight: 700; margin-bottom: 6px; }

.ft-right { padding-top: 20px; }
.ft-pricing-header { font-size: 22px; font-weight: 700; margin-bottom: 6px; }
.ft-pricing-sub { font-size: 14px; max-width: 420px; margin-bottom: 24px; }

/* Equal columns */
.ft-pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: stretch;
}

.ft-card {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  background: #F7EEDD;
  border: 2px solid #293F3D;
  padding: 15px;
  border-radius: 6px;
  color: #293F3D;
  font-family: 'Merriweather', serif;
}

.ft-card .tier {
  font-size: 15px;
  font-weight: 700;
  min-height: 40px;
  display: flex;
  align-items: center;
}

.ft-card .price {
  font-size: 20px;
  font-weight: 600;
  margin: 10px 0;
  min-height: 50px;
}

.ft-card ul {
  margin: 0;
  padding-left: 18px;
  font-size: 12px;
  line-height: 1.6;
  padding-bottom: 20px;
}

.ft-card .btn-ghost {
  align-self: end;
  width: 100%;
  margin-top: 0;
  padding: 12px;
  font-family: 'Merriweather', serif;
}

.btn-ghost, .btn-primary { margin-top: 16px; padding: 8px 18px; border-radius: 20px; font-size: 14px; background: #efe6d6; }

.ft-cta-block { margin-top: 80px; text-align: left; }
.ft-cta-title { font-size: 38px; font-weight: 800; margin-bottom: 6px; }
.ft-cta-sub { font-size: 20px; margin-bottom: 52px; }
.newspaper-title-block { position: relative; }

/* Mobile pricing arrows (default hidden on desktop; shown in mobile block) */
.carousel-arrow { display: none; }
.prev-arrow { display: none; }
.next-arrow { display: none; }

.ornament {
  font-family: "Noto Sans Symbols 2", system-ui, sans-serif;
  font-weight: normal;
}

.sub-fairuse {
margin-top: 20px !important; 
text-align: center !important;
font-size: 12px !important;
}

/* =========================================
   9. ABOUT BENTO GRID
   ========================================= */

.bento-section { padding-top: 50px; padding-bottom: 250px; background-color: transparent; }
.bento-grid { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: auto auto; gap: 24px; max-width: 1000px; margin: 0 auto; }

.bento-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(0,0,0,0.04);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  opacity: 0;
  will-change: opacity, transform;
  transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease;
}

.tile-problem { grid-column: 1; grid-row: 1; background: linear-gradient(145deg, #F2F0E9 0%, #ffffff 100%); transform: translateX(-60px); }
.tile-origin { grid-column: 2; grid-row: 1 / span 2; background: #ffffff; justify-content: center; transform: translateX(60px); transition-delay: 0.2s; }
.tile-engine { grid-column: 1; grid-row: 2; background: #005f7b; transform: translateY(60px); transition-delay: 0.4s; }

.bento-card.is-visible { opacity: 1; transform: translate(0, 0); }
.bento-card.is-visible:hover { transform: translateY(-4px); box-shadow: 0 22px 50px rgba(0,0,0,0.12); transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s ease; }

.bento-head { font-size: 28px; font-weight: 700; color: var(--text-main); margin: 15px 0 15px 0; letter-spacing: -1px; line-height: 1.2; }
.bento-body { font-size: 16px; line-height: 1.6; color: var(--text-muted); margin-bottom: 15px; }
.bento-body strong { color: var(--primary); }

.bento-label { text-transform: uppercase; font-size: 62px; letter-spacing: 1px; font-weight: 700; color: #bbb; margin-bottom: 5px; }
.origin-timeline { margin-top: 30px; position: relative; display: flex; flex-direction: column; gap: 0; }
.origin-item { display: flex; gap: 15px; position: relative; z-index: 2; margin-bottom: 40px; }
.origin-icon {
  width: 46px;
  height: 46px;
  min-width: 46px;
  background: var(--card);
  border-radius: 50%;
  border: 1px solid #E0DCD0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.03);
}
.origin-content strong { display: block; font-size: 16px; color: var(--text-main); margin-bottom: 4px; }
.origin-content p { font-size: 13px; line-height: 1.5; color: var(--text-muted); margin: 0; }

/* Hide the old infinite line everywhere */
.origin-line { display: none !important; }

/* Smart bridge line only desktop */
@media screen and (min-width: 769px) {
  .tile-origin .origin-item:first-child::before {
    content: "";
    position: absolute;
    z-index: -1;
    left: 21px;
    width: 2px;
    background: #f0f0f0;
    top: 46px;
    height: calc(100% + 40px);
  }
}

.tile-engine .bento-head { color: #fff; }
.tile-engine .bento-body { color: rgba(255,255,255,0.85); }
.tile-engine .bento-body strong { color: #fff; border-bottom: 1px dashed rgba(255,255,255,0.5); }

.bento-badge {
  background: rgba(255,255,255,0.2);
  color: #fff;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  align-self: flex-start;
  margin-bottom: 10px;
}

.engine-split { display: flex; justify-content: space-between; align-items: flex-end; margin-top: auto; }
.bento-small { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.5; max-width: 65%; margin: 0; }

.layer-diagram { display: flex; flex-direction: column; align-items: center; margin-left: 20px; filter: drop-shadow(0 10px 20px rgba(0,0,0,0.2)); }
.layer-ui {
  width: 130px;
  padding: 10px 0;
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(4px);
  border-radius: 12px 12px 0 0;
  border-bottom: none;
  color: rgba(255, 255, 255, 0.9);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 2;
}
.layer-engine {
  width: 130px;
  padding: 20px 0;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.25);
  background-image: radial-gradient(rgba(255,255,255,0.15) 1px, transparent 1px);
  background-size: 6px 6px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-top: 1px dashed rgba(255, 255, 255, 0.3);
  border-radius: 0 0 12px 12px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  position: relative;
  z-index: 1;
}
.layer-engine::after {
  content: "Core Intelligence";
  display: block;
  font-size: 9px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  font-weight: 400;
  margin-top: 4px;
  letter-spacing: 1px;
}

/* ======================================================
   FAQ SECTION
====================================================== */

.faq-section {
  padding: 80px 0;
}

.faq-subtitle {
  text-align: center;
  max-width: 720px;
  margin: 12px auto 48px;
  font-size: 16px;
  opacity: 0.75;
}

.faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: #ffffff;
  border-radius: 18px;
  padding: 18px 22px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.faq-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  list-style: none;
  position: relative;
  padding-right: 28px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 18px;
  opacity: 0.6;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.55;
  opacity: 0;
  transform: translateY(-2px); /* was -4px */
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.faq-item[open] p {
  opacity: 0.85;
  transform: translateY(0);
}

.faq-item:not([open]) p {
  opacity: 0;
}

.profile-section {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin: 80px 0;
}

.profile-image {
  flex-shrink: 0;
}

.profile-image img {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 22px; /* modern, not a circle */
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.profile-content {
  max-width: 760px;
}


/* =========================================
   10. CONTACT FORM
   ========================================= */

.contact-section { padding: 80px 0; margin-top: 80px; background: transparent; }
.contact-section .shell {
  background-color: #F2F0E9;
  background-size: 30px 30px;
  border-bottom: 1px solid #E0DCD0;
  padding: 60px;
  border-radius: 26px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.06);
  max-width: 900px;
}
.contact-section.highlight-form .shell { box-shadow: 0 0 0 4px var(--primary-soft); transition: box-shadow 0.3s ease-out; }

.contact-heading { font-size: 38px; font-weight: 700; margin-bottom: 10px; letter-spacing: -1px; }
.contact-sub { color: #555; margin-bottom: 40px; max-width: 600px; }

.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: flex; gap: 20px; }
.form-row input { flex: 1; }

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 14px 18px;
  font-size: 14px;
  border: 1px solid #ddd;
  border-radius: 10px;
  background: #fff;
  font-family: Inter, sans-serif;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.contact-form textarea { max-width: 860px; margin-left: 0px; margin-right: 0px; }

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 95, 123, 0.15);
  outline: none;
}

.contact-form select {
  padding: 14px;
  border-radius: 14px;
  border: 1px solid #dfdfdf;
  background: #fff;
  font-size: 16px;
  font-family: inherit;
  color: #111;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  position: relative;
  margin-bottom: 20px;
  cursor: pointer;
}

.select-wrapper { position: relative; max-width: 860px; }
.select-wrapper::after {
  content: "▾";
  font-size: 32px;
  color: #2f2f2fbd;
  position: absolute;
  right: 16px;
  top: 35%;
  transform: translateY(-50%);
  pointer-events: none;
}


/* Contact form: invalid + error text */
#error-msg{
  color:#e74c3c;
  font-size:0.9rem;
  margin: 8px 0 0;
  display: none; /* keeps it hidden until JS shows it */
}

.invalid-input{
  border-color:#e74c3c !important;
  background-color:#fff6f6;
}

/* Thank You Modal — matches your HTML (#thankYouModal + .modal-overlay + .modal-content + .close-btn) */
#thankYouModal.modal-overlay{
  display:none;
  position:fixed;
  inset:0;
  width:100%;
  height:100%;
  background-color: rgba(31,58,61,0.80);
  z-index: 2147483646;
  justify-content:center;
  align-items:center;
  opacity:0;
  transition: opacity 0.3s ease;
}

#thankYouModal.modal-overlay.show{
  display:flex;
  opacity:1;
}

#thankYouModal .modal-content{
  background-color:#F2F0E9;
  padding:40px;
  border-radius:12px;
  max-width:90%;
  width:450px;
  text-align:center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

#thankYouModal.modal-overlay.show .modal-content{
  transform: translateY(0);
}

#thankYouModal .modal-content h2{
  color:#1F3A3D;
  font-size:2rem;
  margin-bottom:12px;
  text-transform:uppercase;
  font-weight:800;
}

/* make the close button look like your intended thankyou-close */
#thankYouModal .close-btn{
  background: transparent;
  border: 2px solid #3E7578;
  color:#3E7578;
  padding: 12px 25px;
  border-radius: 999px;
  cursor:pointer;
  font-size: 14px;
}

#thankYouModal .close-btn:hover{
  background:#3E7578;
  color:#fff;
}

/* Honeypot Obfuscation */
.a1ra-hp-container {
    opacity: 0;
    position: absolute;
    z-index: -1;
    pointer-events: none;
}

.a1ra-hp-input {
    height: 0;
    width: 0;
    border: none;
    padding: 0;
    margin: 0;
}

.contact-submit {
  width: 180px; 
  margin-top: 10px; 
  align-self: flex-start; 
  font-size: 17px;
  padding: 16px 38px;
  min-width: 200px;
  font-weight: 600;
  letter-spacing: -0.3px;
}

/* Cloudflare Turnstile Integration */
.cf-turnstile {
    margin: 25px 0; /* Creates breathing room between message box and button */
    display: flex;
    justify-content: center; /* Centers the widget horizontally */
    min-height: 65px; /* Prevents layout shift when widget loads */
}

/* Ensure the widget doesn't break on narrow mobile devices */
@media (max-width: 420px) {
    .cf-turnstile {
        transform: scale(0.85);
        transform-origin: center;
    }
}

/* =========================================
   11. FOOTER
   ========================================= */

footer {
  border-top: 1px solid #eee;
  padding: 24px 0 36px;
  font-size: 11px;
  color: var(--text-muted);
  font-family: "Saira", sans-serif;
  background-color: #ededed;
}
.footer-row { display: flex; justify-content: space-between; }


/* =========================================
   12. DEMO MODALS
   ========================================= */

#global-mobile-modal,
.mobile-modal-overlay { display: none; }

.full-screen-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 2147483647;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-y: auto;
  padding: 20px;
}

.modal-content {
  background-color: rgb(244, 243, 238);
  padding: 30px;
  border-radius: 12px;
  max-width: 800px;
  width: 90%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  max-height: 95vh;
  overflow-y: auto;
  min-height: 0;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #eee;
  padding-bottom: 15px;
  margin-bottom: 20px;
}

.close-btn { font-size: 28px; font-weight: bold; color: #aaa; cursor: pointer; line-height: 1; }
.close-btn:hover { color: #555; }

.modal-footer {
  background-color: transparent !important;
  border-top: none !important;
  padding: 0 !important;
  margin-top: 20px;
  width: 100%;
  display: flex;
  justify-content: center;
}

.progress-steps-wrapper { display: flex; justify-content: space-around; padding: 15px 0; margin-bottom: 25px; gap: 10px; }
.step {
  flex-grow: 1;
  text-align: center;
  padding: 15px 10px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: bold;
  color: #495057;
  background-color: #ffffff;
  transition: background-color 0.4s, color 0.4s, box-shadow 0.4s;
  white-space: nowrap;
  position: relative;
}
.step.active { background-color: #005f7b; color: white; box-shadow: 0 4px 10px rgba(0, 86, 96, 0.3); }
.step.completed { background-color: #28a745; color: white; box-shadow: 0 4px 10px rgba(40, 167, 69, 0.3); }
.step.completed::after {
  content: "✓";
  position: absolute;
  top: -5px;
  right: -5px;
  color: white;
  background-color: #28a745;
  border-radius: 50%;
  padding: 1px 4px;
  font-size: 14px;
  font-weight: bold;
  line-height: 1;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: scale(0.5);
  animation: tick-pop 0.3s ease-out forwards;
}

/* STEP 1A */
.parsing-visual, .security-visual { display: flex; justify-content: space-around; align-items: center; text-align: center; margin: 30px 0; gap: 20px; }
.parsing-stage-wrapper { display: flex; align-items: center; justify-content: space-between; padding: 40px 20px; max-width: 600px; margin: 0 auto; }

.file-link { display: inline-flex; align-items: center; text-decoration: none; color: #393939; font-weight: bold; }
.file-link p { margin: 0; padding: 0; }

.file-block { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 120px; transition: all 0.5s ease; }
.file-icon-wrapper {
  width: 60px;
  height: 60px;
  background: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
  text-decoration: none;
}
.file-icon-wrapper:hover { transform: translateY(-3px); box-shadow: 0 6px 15px rgba(0,0,0,0.12); }

.ghost-hidden { opacity: 0.1; filter: blur(4px); background: #f0f0f0; pointer-events: none; transform: scale(0.95); transition: all 0.8s ease-out; }
.reveal-visible { opacity: 1; filter: blur(0); background: transparent; transform: scale(1); }

.anim-icon { width: 32px; height: 32px; }
.pdf-theme { border-bottom: 3px solid #e74c3c; }
.csv-theme { border-bottom: 3px solid #27ae60; }

.file-label { font-size: 13px; color: #555; font-weight: 600; text-align: center; }

.parsing-link-flow { display: flex; align-items: center; gap: 15px; margin: 20px 0; width: 100%; }
.parsing-animation-icon { font-size: 1.5em; font-weight: bold; color: #333; }
#parsing-status { color: var(--text-muted); font-size: 28px; }

.transfer-section { flex: 1; display: flex; flex-direction: column; align-items: center; padding: 0 20px; }
.status-label { font-size: 12px; font-weight: 700; color: #005f7b; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.5px; min-width: 140px; text-align: center; }

.transfer-track { width: 100%; height: 6px; background: #dfdfdf; border-radius: 3px; position: relative; overflow: hidden; }
.transfer-fill { width: 0%; height: 100%; background: #005f7b; border-radius: 3px; animation: fillBar 4s ease-in-out forwards; }
.data-dot { position: absolute; top: 0; left: 0; width: 20px; height: 100%; background: rgba(255,255,255,0.6); filter: blur(2px); animation: moveDot 1.5s infinite linear; }
.transfer-track.transfer-complete .data-dot { display: none; }

/* STEP 1B */
.pii-stage-wrapper { position: relative; margin-top: 30px; margin-bottom: 30px; min-height: 180px; }
.pii-comparison-grid-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: stretch; }
.pii-col { padding: 20px 10px; background: #fdfdfd; border: 1px solid #eee; border-radius: 12px; display: flex; flex-direction: column; align-items: center; text-align: center; transition: all 0.5s ease; }
.pii-col.ghost-hidden { opacity: 0.1; filter: blur(4px); background: #f0f0f0; pointer-events: none; transform: scale(0.95); transition: all 0.8s ease-out; }
.pii-col.reveal-visible { opacity: 1; filter: blur(0); background: #ffffff; transform: scale(1); }

.pii-overlay-layer {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px;
  border-radius: 50px;
  width: 120px;
}

.pii-data-row { margin-bottom: 6px; width: 100%; display: flex; justify-content: center; align-items: center; gap: 6px; flex-wrap: wrap; }
.data-label { font-family: "Inter", sans-serif; font-weight: 700; color: #888; font-size: 11px; white-space: nowrap; }
.data-value { font-family: 'Courier New', Courier, monospace; font-size: 11px; letter-spacing: -0.5px; line-height: 1.4; color: #444; font-weight: 600; word-break: break-all; }
.pii-link-container { margin-top: 15px; display: flex; justify-content: center; width: 100%; }
.lock-pulse { font-size: 32px; animation: lockBeat 0.8s infinite alternate; }
.arrow-divider { font-size: 28px; color: #ccc; font-weight: 300; }

.llm-visualizer { padding: 20px; border: 1px solid #f8f1e2; border-radius: 8px; }
.metric-ticker { display: flex; justify-content: space-around; padding: 15px; margin-bottom: 15px; font-size: 1.1em; font-weight: bold; background-color: #e4dbb4d7; border-radius: 4px; }
.progress-bar-thick { height: 15px; background-color: #dfdfdf; border-radius: 8px; overflow: hidden; }
.progress-bar-thick > div { height: 100%; background-color: #0f7b9c; }
.llm-summary { font-style: italic; padding: 15px; border-left: 5px solid #0f7b9c; background-color: #ffffff; margin-bottom: 20px; }
.llm-findings ul { list-style: none; padding-left: 0; color: var(--text-muted); }
.llm-findings li { margin-bottom: 10px; border-bottom: 1px dashed #eee; padding-bottom: 5px; color: var(--text-muted); }
.recommendation-text { color: #005f7b; font-weight: 600; }

.flashing-text { animation: flash 1s infinite alternate; color: var(--text-muted); }
.status-text { font-weight: 600; min-height: 1.2em; margin-top: 15px; margin-bottom: 15px; }

.next-step-wrapper { display: flex; flex-direction: row; flex-wrap: nowrap; align-items: center; justify-content: flex-end; gap: 12px; margin-top: 20px; width: auto; }
.next-step-text { display: inline-block; white-space: nowrap; font-size: 14px; color: #666; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.next-step-wrapper.disabled { opacity: 0.3; pointer-events: none; cursor: not-allowed; }
.arrow-circle-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #fff;
  border: 1px solid #ccc;
  color: #333;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  padding-bottom: 4px;
}
.arrow-circle-btn:hover { border-color: #007bff; color: #007bff; background-color: #f0f8ff; }
.text-muted { color: var(--text-muted); line-height: 1.5; }
.text-muted strong { color: var(--text-muted); }
.primary-soft {color: var(--primary-soft);}
.button-container-bottom-right { display: flex; justify-content: flex-end; padding-top: 20px; }

/* Mobile modal content (base; mobile overrides in media query) */
.mobile-modal-content {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  margin: 0 !important;
  background: #FEF9E8 !important;
  padding: 30px 25px;
  width: 85%;
  max-width: 350px;
  border-radius: 20px;
  border: 1px solid #e0e0e0;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  text-align: center;
}

#global-modal-text { font-size: 15px; line-height: 1.6; text-align: left; color: #333; margin: 0 0 15px 0; white-space: pre-line;}
.modal-hint { font-size: 11px; color: #888; margin: 0; text-transform: uppercase; letter-spacing: 1px; }
.modal-close-x { position: absolute; top: 10px; right: 15px; background: none; border: none; font-size: 24px; color: #999; cursor: pointer; padding: 5px; }

.mobile-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 999999;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
}
.mobile-modal-overlay.active { display: block !important; animation: fadeIn 0.3s ease-out; }


/* =========================================
   13. LEGAL MODAL
   ========================================= */

.legal-content { max-width: 900px; height: 80vh; display: flex; flex-direction: column; }
.legal-tabs { display: flex; gap: 10px; margin-bottom: 20px; border-bottom: 1px solid #eee; padding-bottom: 10px; }
.legal-tab {
  background: none;
  border: none;
  font-family: "Saira", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  padding: 8px 16px;
  border-radius: 6px;
  transition: 0.2s;
}
.legal-tab.active { background: rgba(0, 95, 123, 0.1); color: var(--primary); }
.legal-body-scroll { 
  flex: 1 1 auto; 
  min-height: 0;
  overflow-y: auto; 
  padding-right: 10px; 
  border: 1px solid #f9f9f9; 
  padding: 20px; 
  background: #fff; 
  border-radius: 8px; 
}
.legal-tab-content h4 { margin-top: 20px; margin-bottom: 10px; color: var(--text-main); }
.legal-tab-content p { font-size: 14px; line-height: 1.6; color: #555; margin-bottom: 15px; }

.about-heading,
.about-heading2 {
  position: relative;
  display: inline-block;
  font-weight: 800;
  margin-bottom: 1.2rem;
}


/* =========================================
   14. KEYFRAMES
   ========================================= */

@keyframes snapLeft { to { opacity: 1; transform: translateX(0); } }
@keyframes snapRight { to { opacity: 1; transform: translateX(0); } }
@keyframes snapTitleUp { to { opacity: 1; transform: translateY(0); } }

@keyframes moneyVanish {
  0%, 20% { opacity: 1; transform: scale(1); }
  60% { opacity: 0; transform: scale(0.95); }
  65% { opacity: 1; transform: scale(1); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes moneyRecoverCycle {
  0% { opacity: 1; filter: blur(0px); color: var(--primary); }
  40% { opacity: 0.15; filter: blur(3px); color: #ccc; }
  45% { opacity: 0.15; filter: blur(3px); color: #ccc; }
  100% { opacity: 1; filter: blur(0px); color: var(--primary); }
}

@keyframes infiniteSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes carouselEntrance { 0% { opacity: 0; transform: scale(0.95) translateY(40px); } 100% { opacity: 1; transform: scale(1) translateY(0); } }

@keyframes newspaperSpinZoom {
  0% {
    filter: sepia(0.5) brightness(1.5) blur(30px);
    opacity: 0;
    transform: scale(0) rotate(-1080deg);
    filter: blur(10px);
  }
  70% {
    opacity: 1;
    transform: scale(1.1) rotate(0deg);
    filter: blur(0px);
  }
  100% {
    filter: sepia(0) brightness(1) blur(0px);
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

@keyframes popInEffect {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0); }
  60% { opacity: 1; transform: translate(-50%, -50%) scale(1.6); }
  100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

@keyframes pulseLoop {
  0% { box-shadow: 0 0 0 0 rgba(241, 152, 43, 0.7); }
  70% { box-shadow: 0 0 0 14px rgba(241, 152, 43, 0); }
  100% { box-shadow: 0 0 0 0 rgba(241, 152, 43, 0); }
}

@keyframes tick-pop { 0% { opacity: 0; transform: scale(0.5); } 100% { opacity: 1; transform: scale(1); } }
@keyframes flash { 0% { opacity: 0.2; } 50% { opacity: 1; } 100% { opacity: 0.2; } }
@keyframes fillBar { 0% { width: 0%; } 20% { width: 20%; } 50% { width: 50%; } 80% { width: 90%; } 100% { width: 100%; } }
@keyframes moveDot { 0% { left: -10%; } 100% { left: 110%; } }
@keyframes lockBeat { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(1.15); opacity: 1; } }
@keyframes scalablePulse { 0% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; } 100% { transform: translate(-50%, -50%) scale(2.5); opacity: 0; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* =========================================
   15. MOBILE RESPONSIVE (CONSOLIDATED)
   ========================================= */

@media screen and (max-width: 820px) {


  .section-divider { margin: 16px auto 0; }
    .hero2 {
    padding-top: 90px;   /* ↑ increase this */
    padding-bottom: 60px; /* optional, for balance */
  }

  /* A. NAVIGATION MENU */
  .hamburger-btn { display: flex; position: relative;}

  .right-nav {
    display: none;
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    width: 75%;
    max-width: 350px;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 10px 0;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 24px;
    gap: 2px;
    z-index: 999996;
  }

  .right-nav a {
    padding: 12px 20px;
    width: 100%;
    box-sizing: border-box;
    display: block;
    font-size: 16px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    text-align: center;
    color: #333;
  }

  .right-nav a:last-child { border-bottom: none; }
  .lang-selector { margin: 15px auto; display: table; }
  .right-nav.mobile-open { display: flex !important; }

  .right-nav,
  .right-nav a,
  .lang-btn {
    font-family: "Saira", sans-serif !important;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
  }

  .lang-menu {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 18px;

    padding: 14px 18px;
    border-radius: 18px;
    min-width: unset;
    display: none;
  }

  .lang-menu a:hover {
    background: rgba(0, 0, 0, 0.05);
  }

  .lang-menu.open {
      display: flex !important;      /* Ensure it actually uses flex when open */
      flex-direction: row !important; /* Force horizontal alignment */
      flex-wrap: nowrap;             /* Prevent wrapping to a second line */
      position: absolute;
      top: calc(100% + 10px);
      left: 50%;
      transform: translateX(-50%);
      background: #fff;              /* Ensure background is solid on mobile */
      box-shadow: 0 4px 15px rgba(0,0,0,0.1);
      z-index: 1000;
  }

  .lang-menu a {
      display: flex !important;      /* Needed for the column gap below */
      flex-direction: column;        /* Keeps Flag on top of Text inside the link */
      align-items: center;
      justify-content: center;
      text-decoration: none;
      color: inherit;
  }

  /* B. GLOBAL SPACING FIX */
  .shell, .ft-shell {
    padding-left: 20px !important;
    padding-right: 20px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
  }

  .counter-wrapper {
    padding-left: 20px !important;
    padding-right: 20px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding-bottom: 60px !important;
  }

  .ft-section { padding: 40px 0 !important; }

  /* C. GENERAL LAYOUT STACKING */
  .split, .feature-grid-inner, .pricing-grid, .ft-shell, .ft-pricing-grid, .footer-row, .form-row,
  .pii-comparison-grid-2col, .parsing-stage-wrapper {
    display: flex !important;
    flex-direction: column;
    grid-template-columns: 1fr !important;
    gap: 40px;
    width: 100% !important;
    align-items: center;
  }

  .split:not(.flip) { flex-direction: column-reverse; }
  .split .pad-right, .split .pad-left { padding: 0 !important; }

  /* D. TEXT CENTERING */
  .section-heading, .section-body, .section-heading_a1ra, .section-body_a1ra, .section-footer,
  .hero-subtitle, .hero-title, .contact-sub, .about-a1ra p,
  .counter-section-Title, .counter-section-SubTitle, .counter-section {
    text-align: center !important;
  }

  .pad-right, .pad-left, .pad-right_a1ra {
    text-align: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    margin: 0 auto !important;
  }

  

  /* E. SECTION TITLES (Mobile) */
  .section-titles {
    font-size: 34px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    line-height: 1.15 !important;
    letter-spacing: -1px !important;
    text-align: center !important;
    width: 100% !important;
    margin-bottom: 20px !important;
  }

  /* F. PRINCIPLES CAROUSEL (Mobile) */
  .principle-text-container {
    height: 350px !important;
    min-height: 350px !important;
    margin-bottom: 0 !important;
    padding: 0 20px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    overflow: hidden !important;
  }

  .principle-title {
    font-size: 24px !important;
    line-height: 1.2 !important;
    margin-bottom: 10px !important;
    min-height: 64px !important; /* reserve height */
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .carousel-container {
    height: 250px !important;
    margin-top: 10px !important;
  }

  .carousel-card {
    width: 220px !important;
    height: 220px !important;
    top: 0 !important;
    margin-left: -110px !important;
    border-radius: 20px !important;
  }

  .carousel-card.active { transform: translateX(0) scale(1) !important; }
  .carousel-card.prev  { transform: perspective(600px) translateX(-120px) scale(0.8) rotateY(-45deg) !important; }
  .carousel-card.next  { transform: perspective(600px) translateX(120px) scale(0.8) rotateY(45deg) !important; }

  .principles-wrapper { 
    margin-top: 10px;
    margin-bottom: 10px !important; 
  }

  /* G. A1RA Mobile */
  .section_a1ra{
    margin-top: 70px !important;   /* try 20–60 */
    margin-bottom: 120px !important; /* optional: reduce the bottom too */
  }
  #A1ra .split {
    align-items:center !important;;
    margin-top: 70px !important;
    padding-top: 0px !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    gap: 30px !important;
  }

  .pad-right_a1ra {
    margin-top: 0 !important;
    padding-top: 0 !important;
    margin-bottom: 20px !important;
    position: relative !important;
  }

  .a1ra-confetti {
    display: block !important;
    position: absolute !important;
    width: 100% !important;
    max-width: 300px !important;
    height: 300px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    top: -50px !important;
    pointer-events: none !important;
    z-index: 1 !important;
  }

  .a1ra-frame dotlottie-player {
  position: absolute;
  top: 51%;
  left: 50%;
}

  /* centre a1ra on mobile */
  .push-right {
    margin-left: 0px; 

  }

  .a1ra-confetti dotlottie-player { width: 100% !important; height: 100% !important; }

  .howitworks-diagram-wrapper { 
    margin-bottom: 100px !important;
  }

  /* H. IMAGE & BOX CAPPING */
  .section-illustration,
  .section_a1ra-illustration,
  .feature-grid { padding: 40px 20px !important; }
  .feature-grid-inner { gap: 30px !important; }

  /* I. A1RA LOTTIE (Robot Animation) */
  #A1ra .pad-right_a1ra { padding: 0 !important; margin: 0 auto !important; width: 100% !important; }

  .a1ra-shadow-wrapper {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    margin-top: 0 !important;
    margin-bottom: 20px !important;
  }

  /* J. TALK IS CHEAP (Counter) */

   /* keep the card clean */
  .metric-block.block1 { 
    overflow: hidden !important;
    padding: 34px 14px !important;
  }

  /* center + give breathing room */
  .block1 .metric-number-wrapper {
    justify-content: center !important;
    padding: 0 10px !important;
    max-width: 100% !important;
  }

  /* Counter List under the numebr and two percentages */
    .results-list {
    margin-top: 20px !important;
    margin-bottom: 20px !important;
    padding-left: 40px !important;   /* bullet + text offset */
    padding-right: 40px !important;  /* right breathing room */
  }

  .results-list li {
    margin-bottom: 10px !important;  /* was likely 18–24px */
    line-height: 1.45 !important;    /* tighter but readable */
    font-size: 12px !important;      /* optional */
  }

  /* Sub-bullets */
  .results-list .sub-list {
    margin-top: 8px !important;
    margin-bottom: 4px !important;
  }

  .results-list .sub-list li {
    margin-bottom: 4px !important;
    line-height: 1.4 !important;
    font-size: 12px !important;
  }

  .results-summary {
    margin-top: 18px !important;
    font-size: 15px !important;
    line-height: 1.45 !important;
  }

  /* CRITICAL: override the desktop “huge” sizes with mobile clamps */
  .block1 .static-digit {
    font-size: clamp(34px, 9.2vw, 48px) !important;
    width: clamp(24px, 6.6vw, 40px) !important;
    height: clamp(40px, 9.2vw, 56px) !important;
    line-height: clamp(40px, 9.2vw, 56px) !important;
  }

  .block1 .digit-slot {
    width: clamp(24px, 6.6vw, 40px) !important;
    height: clamp(40px, 9.2vw, 56px) !important;
  }

  .block1 .digit-reel span {
    font-size: clamp(40px, 9.2vw, 56px) !important;
    height: clamp(40px, 9.2vw, 56px) !important;
    line-height: clamp(40px, 9.2vw, 56px) !important;
  }

  .block1 .comma {
    font-size: clamp(40px, 9.2vw, 56px) !important;
    width: clamp(14px, 3.5vw, 24px) !important;
    height: clamp(40px, 9.2vw, 56px) !important;
    line-height: clamp(40px, 9.2vw, 56px) !important;
  }

  .bento-hero-section { padding-top: 20px; padding-bottom: 10px; }

  /* optional: label spacing */
  .block1 .metric-label { margin-top: 14px !important; }

  .counter-section-Title {
    padding-top: 100px !important;
    padding-bottom: 25px !important;
    line-height: 1.3 !important;
    letter-spacing: -1.5px !important;
    font-size: 39px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .counter-section-SubTitle {
    margin-bottom: 30px !important;
    padding: 0 !important;
    line-height: 1.5 !important;
    font-size: 25px !important;
  }

  .metrics-row-3 {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    max-width: 400px !important;
    margin: 0 auto !important;
    gap: 15px !important;
    width: 100% !important;
  }

  .block1 {
    grid-column: 1 / span 2 !important;
    width: auto !important;
    padding: 40px 20px !important;
    margin: 0 !important;
  }

  .block2, .block3 {
    grid-column: auto !important;
    width: auto !important;
    max-width: 100% !important;
    padding: 40px 10px !important;
    margin: 0 !important;
  }

  .block2 .digit-reel span, .block3 .digit-reel span,
  .block2 .static-digit, .block3 .static-digit,
  .block2 .comma, .block3 .comma {
    font-size: 35px !important;
    height: 30px !important;
    line-height: 30px !important;
  }

  .block2 .digit-slot, .block3 .digit-slot { height: 30px !important; }
  .block2 .metric-label, .block3 .metric-label { font-size: 11px !important; }

  .counter-section { margin-top: 30px !important; text-align: left !important; padding: 0 !important; }

  /* K. HOTSPOTS (Mobile pulse) */
  .hotspot-circle {
    opacity: 1 !important;
    display: block !important;
    width: 12px !important;
    height: 12px !important;
    background: rgba(241, 152, 43, 1) !important;
    border: 1px solid #ffffff !important;
    border-radius: 50% !important;
    transform: translate(-50%, -50%) scale(1) !important;
    z-index: 20 !important;
    animation: none !important;
  }

  .hotspot-circle::before {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 50% !important;
    background: rgba(255, 142, 13, 0.6) !important;
    z-index: -1 !important;
    animation: scalablePulse 2s ease-out infinite !important;
  }

  .hotspot-circle::after,
  .hotspot-circle:hover::after,
  .hotspot-circle:focus::after {
    display: none !important;
    content: none !important;
  }

  /* L. MOBILE HEADER FIX (Bulletproof Centering) */
  .main-header {
    position: fixed !important;
    top: 20px !important;
    margin: 0 auto !important;
    width: 90% !important;
    max-width: 899px !important;
    height: 48px !important;
    border-radius: 50px !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(138, 138, 138, 0.169) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border: 1px solid rgba(216, 216, 216, 0.765) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
    z-index: 999999 !important;
  }

  .main-header .shell,
  .main-header .simple-nav {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  .text-logo,
  .text-logo:visited,
  .text-logo:hover,
  .text-logo:active,
  .text-logo:focus {
    color: #66898a !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
    -webkit-tap-highlight-color: transparent !important;
    outline: none !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    font-size: 20px !important;
    white-space: nowrap;
    display: flex;
    align-items: center;
    text-decoration: none !important;
  }

  .hamburger-btn { margin: 0 !important; padding: 0 !important; display: flex !important; }

  header { top: auto !important; background: transparent !important; box-shadow: none !important; border: none !important; padding: 0 !important; }
  header .shell, .main-header .shell { padding: 0 !important; }

  /* M. MODAL OVERLAY (Mobile) */
  .mobile-modal-overlay { display: none; }
  .mobile-modal-overlay.active { display: block !important; }

  .mobile-modal-content { width: 85%; max-width: 350px; }

  #global-modal-text { font-size: 15px; line-height: 1.6; }

  .modal-hint { font-size: 11px; }

  .modal-close-x { display: none !important; }

  /* N. FEATURE GRID (Mobile) */
  .feature-grid {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 40px 20px !important;
    background-size: 6vw 6vw !important;
  }

  .feature-grid-inner {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    column-gap: 15px !important;
    row-gap: 40px !important;
    width: 100% !important;
    flex-direction: row !important;
    align-items: start !important;
  }

  .feature-title { font-size: 13px !important; line-height: 1.3 !important; margin-top: 8px !important; }
  .feature-icon { font-size: 26px !important; margin-bottom: 5px !important; }

  /* O. NEWSPAPER ANIMATION (Disable on mobile) */
  .newspaper-animate {
    opacity: 0;
    transform: translateX(-300px); /* Adjust distance as needed */
    will-change: transform, opacity;
  }

  .newspaper-animate.reveal-visible {
    animation: slideInLeft 3.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  @keyframes slideInLeft {
    0% {
      opacity: 0;
      transform: translateX(-100px);
    }
    100% {
      opacity: 1;
      transform: translateX(0);
    }
  }

  /* P. PRICING CAROUSEL (Mobile) */
  .pricing-carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    padding: 0 30px;
  }

  .ft-pricing-grid {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    scroll-behavior: smooth !important;
    gap: 0 !important;
    width: 100% !important;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .ft-pricing-grid::-webkit-scrollbar { display: none; }

  .ft-card {
    min-width: 100% !important;
    width: 100% !important;
    scroll-snap-align: center !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    padding: 30px 25px !important;
    border: 1px solid #293F3D;
    background: #FEF9E8;
    border-radius: 12px;
  }

  .carousel-arrow {
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    font-size: 40px !important;
    color: #293F3D !important;
    cursor: pointer;
    z-index: 20;
    padding: 0;
    line-height: 1;
    pointer-events: auto;
  }

  .prev-arrow { display: block; left: -5px; }
  .next-arrow { display: block; right: -5px; }

    /* Make the image + title sit side-by-side on mobile */
  .ft-top-row{
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;    
    text-align: left !important; 
    padding-left: 30px !important;
    padding-right: 30px !important;
  }

  /* Keep the image on the left, small and stable */
  .ft-a1ra-head{
    width: 84px !important;      /* tweak: 70–100px */
    height: auto !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
  }

  /* Let the title occupy the right column */
  .ft-top-text{
    flex: 1 1 auto !important;
    min-width: 0; /* prevents weird overflow in flex */
  }

  .ft-title{
    margin: 0 !important;
    text-align: left !important;
    font-size: 26px !important;  /* tweak if needed */
    line-height: 1.15 !important;
  }

  .ft-subtitle { 
    text-align: center !important;
    font-size: 21px !important;
   }

   .ft-pricing-header {
      font-size: 32px !important;    
      max-width: 360px;       /* Matches the card's inner content width */
      margin: 0 auto 15px;    /* Centers the text box and adds bottom gap */
      text-align: center;
      padding: 0 10px;        /* Side padding to prevent edge touching */
    }

    /* 2. Target the Sub-text specifically */
    .ft-pricing-sub {
        max-width: 500px;       /* Slightly wider for a "pyramid" aesthetic */
        margin: 0 auto 40px;    /* Centers the subtext and pads the space above tiles */
        text-align: center;
        line-height: 1.6;
        font-size: 14px;
        padding: 0 20px;        /* Extra horizontal padding to squeeze the text */
    }
      
    .ft-cta-sub {
      text-align: center;
    };

  /* 3. Contact Form - FLUID SCALING FIX */
  .contact-section {
      padding: 40px 0 !important;
      width: 100% !important;
      display: flex !important;
      justify-content: center !important;
  }

  /* OUTER CARD */
  .contact-section .shell {
      /* width: 90% ensures a 5% margin on each side regardless of phone width */
      width: 90% !important;           
      /* max-width prevents the form from becoming too wide on larger mobile/tablet screens */
      max-width: 480px !important;     
      margin: 0 auto !important;       
      padding: 40px 24px !important;   
      border-radius: 26px !important;
      box-sizing: border-box !important;
      background-color: #F2F0E9 !important; 
  }

  /* HEADINGS */
  .contact-heading {
      text-align: center !important;   
      font-size: clamp(24px, 5vw, 32px) !important; /* Scales font based on screen width */
      line-height: 1.2 !important;
      margin-bottom: 12px !important;
  }

  .contact-sub {
      text-align: center !important;
      font-size: clamp(14px, 3vw, 16px) !important;
      line-height: 1.5 !important;
      margin-bottom: 30px !important;
  }

  /* INPUTS & TEXTAREA */
  .contact-form input,
  .contact-form select,
  .contact-form textarea {
      width: 100% !important;
      padding: 16px !important;
      font-size: 16px !important; /* Prevents auto-zoom on iPhone */
      border-radius: 12px !important;
  }

      /* CENTER THE SUBMIT BUTTON */
      .contact-submit-wrapper {
          display: flex !important;
          justify-content: center !important; /* Centers the button container */
          width: 100% !important;
          margin-top: 10px !important;
      }

      #submit-btn {
          width: 100% !important;             /* Makes button full-width of the internal card padding */
          max-width: 280px !important;        /* Prevents it from looking too stretched */
          padding: 16px 0 !important;
          font-size: 16px !important;
          border-radius: 999px !important;    /* Maintains the pill shape */
      }

  /* R. ABOUT TEXT (Mobile) */
  .about-a1ra .subheading, .about-a1ra p { text-align: left !important; }
  .about-a1ra { padding-top: 30px !important; padding-bottom: 30px !important; }
  
  .divider { margin-top: 20px !important; margin-bottom: 20px !important; }   

  .bento-wrapper {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    width: 100% !important;
    margin-bottom: 20px !important;
  }

  .bento-piece-left {
    width: 100% !important;
    height: 300px !important;
    position: relative !important;
    margin-bottom: 20px !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
  }

  .bento-piece-left img.bento-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 20px !important;
  }

  .bento-piece-right {
    width: 100% !important;
    position: relative !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    padding: 0 !important;
    margin-top: -90px !important;
    z-index: 5;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
  }

  .bento-piece-right .bento-text-card {
    background: rgba(254, 252, 249, 0.95) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1) !important;
    border-radius: 20px;
    padding: 24px;
  }

  .bento-text-card {
    width: 90% !important;
    margin: 0 auto !important;
    left: auto !important;
    right: auto !important;
    padding: 20px !important;
    background: transparent !important;
    box-shadow: none !important;
    position: relative !important;
  }

  .hero-actions {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
    gap: 15px !important;
    margin-top: 20px !important;
    margin-bottom: 0px !important;
    padding-bottom: 0px !important;
    z-index: 10 !important;
    position: relative !important;
  }

  .image-text-overlay {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    max-width: none !important;
    width: 100% !important;
    position: absolute !important;
    top: 30% !important;
    left: 0 !important;
    right: 0 !important;
    height: 100% !important;
    transform: translateY(-50%) !important;
    background: transparent !important;
    text-align: center !important;
    padding: 0 !important;
  }

   .bento-section {
    padding-bottom: 60px !important;
  }

  .contact-section {
    margin-top: 20px !important;
    padding-top: 40px !important;
  }


  /* T. ORIGIN ICON CENTER FIX (Mobile) */
  .origin-icon {
    margin-top: 15px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 46px !important;
    min-height: 46px !important;
    width: 46px !important;
    min-width: 46px !important;
    padding: 0 !important;
  }

  .origin-icon img {
    position: static !important;
    margin: 0 !important;
    transform: none !important;
    top: auto !important;
    left: auto !important;
    width: 46px !important;
    height: 46px !important;
    object-fit: contain !important;
  }

  /* U. DNA & TIMELINE ALIGNMENT (Mobile Only) */
  .tile-origin .origin-item:first-child { margin-top: 20px !important; }

  .tile-origin .origin-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    text-align: left !important;
    margin-bottom: 30px !important;
  }

  .origin-icon {
    margin-top: 2px !important;
    margin-right: 15px !important;
    margin-left: 0 !important;
    flex-shrink: 0 !important;
  }

  .tile-origin .origin-content,
  .tile-origin .origin-content strong,
  .tile-origin .origin-content p { text-align: left !important; }

  /* V. CENTER THE AUDIT ENGINE GRAPHIC (Mobile) */
  .layer-diagram { display: flex !important; flex-direction: column !important; align-items: center !important; margin: 30px auto 0 !important; width: 100% !important; }
  .layer-ui, .layer-engine { margin-left: auto !important; margin-right: auto !important; }

  /* W. SMALL FINAL TWEAKS */
  .ft-divider-vertical { display: none; }
  .ft-a1ra-head { margin: 0 auto; }
  .transfer-section { width: 100%; margin: 15px 0 !important; }
  /* STEP 1B overlay - mobile fix (no rotation) */
  .pii-overlay-layer {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.6);
    transform-origin: center;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6px;
    border-radius: 50px;
    width: 120px;
  }
  .arrow-divider { transform: rotate(90deg); }
  .metric-ticker { font-size: 0.9em; flex-direction: column; gap: 10px; text-align: center; }
  .form-row { gap: 10px; }

  #A1RAGuidanceModal .modal-content {
    width: 95% !important;
    height: auto !important;
    max-height: 85vh !important;
    padding: 20px 15px !important;
    margin: 0 auto !important;
  }

  .progress-steps-wrapper { gap: 5px !important; }
  .step { font-size: 10px !important; padding: 10px 5px !important; white-space: normal !important; line-height: 1.1 !important; }
  .parsing-stage-wrapper { flex-direction: column !important; gap: 20px !important; padding: 10px 0 !important; }
  .pii-comparison-grid-2col { display: flex !important; flex-direction: column !important; gap: 30px !important; }
  .button-container-bottom-right { justify-content: center !important; padding-top: 10px !important; }

  .ft-top-title { font-size: 27px; }
  .ft-date-sub { font-size: 18px !important; }

  /* About bento grid stack */
  .bento-grid { display: flex !important; flex-direction: column !important; gap: 20px !important; padding: 0 20px; }
  .tile-problem, .tile-origin, .tile-engine { grid-column: auto !important; grid-row: auto !important; width: 100% !important; min-height: auto !important; }
  .bento-head { font-size: 24px; }
  .origin-timeline { margin-top: 20px; }
  .engine-split { flex-direction: column; align-items: flex-start; gap: 20px; }
  .bento-small { max-width: 100%; }
    
  /* Tooltip for carousel navigation */
  .carousel-hint{
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) translateY(6px) scale(0.98);
    will-change: transform;
  }

  .carousel-hint.is-visible{
    opacity: 1; /* safe */
    animation: hintFloatMobile 2.6s ease-in-out infinite;
  }
  @keyframes hintFloatMobile{
    0%   { transform: translateX(-50%) translateY(0) scale(1); }
    50%  { transform: translateX(-50%) translateY(-3px) scale(1); }
    100% { transform: translateX(-50%) translateY(0) scale(1); }
  }

  /* Thank-you modal mobile tweaks */
  .thankyou-content{
    padding: 30px 20px;
    width: 92%;
    max-width: 360px;
  }

  .thankyou-content h2{
    font-size: 1.6rem;
  }

  #submit-btn {
    min-width: 260px;
    font-size: 16px;
  }

  /* Add ONLY this to Section 15 to fix iOS deployment without changing your design */

  .btn-ghost {
  color: #1f3f3a;
  background: #efe8d6;
  border: 1.5px solid #000;   /* black border */
  border-radius: 999px;
  padding: 14px 28px;
  font-weight: 500;
  cursor: pointer;

  /* iOS Safari hardening */
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
    }

    .btn-ghost:hover,
    .btn-ghost:active,
    .btn-ghost:focus {
      color: #1f3f3a;
      outline: none;
    }

  /* Scroll Targets Mobile */
  #CaseStudy { scroll-margin-top: -130px; }
  #principles { scroll-margin-top: -120px; }
  #about { scroll-margin-top: -110px; }
  #contact { scroll-margin-top: -80px; }
  #A1ra { scroll-margin-top: -30px; }
  #howitworks-title {scroll-margin-top: -30px; }


  .profile-section {
    flex-direction: column;
    align-items: left;
    text-align: left;
  }

  .profile-image img {
    width: 180px;
    height: 180px;  
  }
  .howitworks-hint {

    font-size: 10px;
  }

}

/* =========================================
   16. DESKTOP SAFETY RESET
   ========================================= */

@media screen and (min-width: 821px) {

  /* Hide mobile arrows permanently on desktop */
  .carousel-arrow, .prev-arrow, .next-arrow {
    opacity: 0 !important;
    pointer-events: none !important;
  }

  /* Reset pricing grid to true grid on desktop */
  .ft-pricing-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 26px !important;
    overflow: visible !important;
    scroll-snap-type: none !important;
    padding: 0 !important;
  }

  .ft-pricing-grid .ft-card {
    min-width: auto !important;
    margin: 0 !important;
    border: 2px solid #293F3D;
  }

  .pricing-carousel-wrapper {
    padding: 0 !important;
    max-width: none;
  }

  /* Cloudflare Turnstile Integration */
  .cf-turnstile {
    justify-content: left; /* Centers the widget horizontally */
  }


  .faq-section {
    padding: 60px 0;
  }

  .faq-item {
    padding: 16px 18px;
  }

  
}

/* =========================================
   16. MOBILE TABLET FIXES FOR THE HERO (>= 620 px ) 
   ========================================= */

@media (max-width: 620px) {
  .hero-title {
    font-size: clamp(90px, 12vw, 90px);
    line-height: 1.1;
    letter-spacing: -2px;
    text-align: center;
    margin-left: 0px;
    margin-top: 100px;
    white-space: normal;
    font-weight: 900;
  }

  .overlay-title {
    font-size: clamp(90px, 18vw, 105px);
    line-height: 1;
    letter-spacing: -1.8px;
    text-align: center;
    margin-top: 70px !important;
  }


}

@media (min-width: 621px) and (max-width: 820px) {
  .hero-title {
    font-size: clamp(90px, 12vw, 110px);
    line-height: 1.1;
    letter-spacing: -2px;
    text-align: center;
    margin-left: 0px;
    margin-top: 80px;
    white-space: normal;
    font-weight: 900;
  }

  .overlay-title {
    font-size: clamp(110px, 14vw, 130px);
    line-height: 1;
    letter-spacing: -1.8px;
    text-align: center;
    margin-top: 100px !important;
    
  }

  .hero-subtitle-bento {
    font-size: clamp(14px, 1.6vw, 15px);
    line-height: 1.6;
    
  }

}

