/* ============================================================
   KEYANNTECH SOLUTIONS CSS
   ============================================================ */

/* ============================================================
   MASK SCROLL LOCK & OVERLAY LOGIC
   ============================================================ */

/* Hide the rest of the page and lock scrolling */
body.mask-active {
  overflow: hidden;
  height: 100vh;
}

body.mask-active #main-page-content {
  display: none;
}

body.mask-active #header-placeholder {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

/* When mask finishes, reveal the page and header */
body.mask-done #header-placeholder {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Overlay the Hero above the header */
body.mask-active .kts-pin-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999; /* Higher than header */
  overflow: hidden;
}

/* Adjust hero to fill the whole screen since header is hidden */
body.mask-active .kts-hero {
  height: 100vh;
}

/* When done, push the hero back into normal document flow */
body.mask-done .kts-pin-wrapper {
  position: relative;
  height: auto;
}

body.mask-done .kts-hero {
  position: relative;
  height: 100vh;
}



* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #08080b;
  --muted: #a1a1aa;
  --p: #facc15;        /* Gold (was purple) */
  --pd: #ca8a04;       /* Dark gold (was dark purple) */
  --blue: #4f6bff;
  --y: #facc15;
  --gold: #facc15;
  --gold-dark: #ca8a04;
  --gold-light: #fde047;
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', Arial, sans-serif; background: var(--bg); color: #fff; overflow-x: hidden; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; }
section { padding: 90px 8vw; }
h2 { font-weight: 600; letter-spacing: -.02em; }
.sub { color: var(--muted); font-size: 1.15rem; max-width: 620px; margin: 20px auto 0; }
.sub em { color: var(--p); font-style: normal; font-weight: 600; }


/* ============================================================
   HERO — Fluid Orb UI (Matching Reference)
   ============================================================ */

.kts-pin-wrapper {
  position: relative;
  height: 300vh; 
  background: #050505;
}

/* The sticky hero */
.kts-hero {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #050505;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- Background Video (Hidden) --- */
.kts-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  will-change: transform;
}

/* --- The KTS Mask --- */
.kts-mask-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  pointer-events: none;
  will-change: opacity;
}

.kts-text { will-change: transform; transform-origin: center center; }
.kts-subtext { will-change: transform; transform-origin: center center; }

.kts-bg-rect {
  fill: #facc15; 
  filter: drop-shadow(0 0 40px rgba(250, 204, 21, 0.4)); 
}
/* --- Content --- */
.kts-content {
  position: relative;
  z-index: 20; 
  max-width: 1400px; 
  width: 100%;
  height: 100%;
  padding: 0 5vw;
  display: grid;
  grid-template-columns: 1.2fr 1fr; 
  gap: 80px; 
  align-items: center;
  opacity: 0;
  transform: translateY(30px);
  will-change: opacity, transform;
  pointer-events: none; 
}

.kts-content.show { pointer-events: auto; }

/* Clean, massive typography with better spacing */
.kts-content-left { 
  text-align: left; 
  display: flex;
  flex-direction: column;
  gap: 24px; 
}

.kts-title {
  font-size: clamp(3rem, 6.5vw, 6rem); 
  font-weight: 600; 
  line-height: 1.05;
  color: #ffffff;
  margin-bottom: 0; 
  letter-spacing: -2.5px;
}

.kts-lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0;
  max-width: 540px;
}

/* White pill button */
.kts-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  color: #111;
  font-weight: 600;
  font-size: 1rem;
  padding: 10px 10px 10px 24px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  align-self: flex-start; 
  margin-top: 10px;
}

.kts-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(255, 255, 255, 0.2);
}

/* --- FLUID ORB (Right Side) --- */
.kts-content-right {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: -5vw; 
}

.fluid-wrapper {
  position: relative;
  width: 850px; 
  height: 850px;
  background: radial-gradient(circle, rgba(250, 204, 21, 0.1) 0%, transparent 60%);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  filter: blur(20px); 
}

/* Base Fluid Properties */
.fluid-orb {
  position: absolute;
  width: 75%;
  height: 75%;
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  mix-blend-mode: screen;
  opacity: 0.9;
  will-change: transform, border-radius;
}

/* Gold Layer */
.orb-gold {
  background: #facc15;
  animation: morphShape 8s ease-in-out infinite, spinOrb 15s linear infinite;
}

/* Orange Layer */
.orb-orange {
  background: #ea580c;
  width: 85%;
  height: 85%;
  animation: morphShape 10s ease-in-out infinite reverse, spinOrb 20s linear infinite reverse;
  opacity: 0.85;
}

/* Bright Light Layer (White/Yellow) */
.orb-light {
  background: #fef08a;
  width: 60%;
  height: 60%;
  animation: morphShape 6s ease-in-out infinite, spinOrb 12s linear infinite;
  opacity: 0.95;
  filter: blur(12px);
}

/* Ensure mobile adjustments still hide the orb and center the text */
@media (max-width: 1000px) {
  .kts-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 6vw;
    text-align: center;
    gap: 30px;
  }

  .kts-content-left {
    align-items: center;
    text-align: center;
  }

  .kts-content-right {
    display: none; 
  }

  .kts-btn {
    align-self: center;
  }
}

/* ============================================================
   LOGO STRIP — Solid block pinned to bottom
   ============================================================ */
.logos {
  position: relative; 
  z-index: 30;
  width: 100%; 
  background: #050505; 
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}

.logos-track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.logos-track:hover {
  animation-play-state: paused;
}

.logos .lg {
  display: flex;
  align-items: center;
  height: 40px;
  padding: 0 40px;
  color: #e4e4e7;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.logos .lg:hover {
  opacity: 1;
}

.logos img {
  height: 40px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  filter: brightness(0) invert(1); /* Makes all logos white */
}

@keyframes marquee { 
  to { transform: translateX(-50%); } 
}

h1 { font-size: clamp(2.6rem, 5.5vw, 4.8rem); font-weight: 500; line-height: 1.12; letter-spacing: -.02em; }
.fade { background: linear-gradient(180deg, #fff 10%, #71717a 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.proof { display: flex; align-items: center; gap: 14px; margin: 48px 0 40px; }
.avatars { display: flex; }
.avatars span { width: 38px; height: 38px; border-radius: 50%; background: var(--c); border: 2px solid var(--bg); margin-left: -10px; display: grid; place-items: center; font-size: .8rem; font-weight: 600; }
.avatars span:first-child { margin-left: 0; }
.proof p { font-size: .85rem; color: var(--muted); }

.btn { display: inline-block; background: #fff; color: #000; font-weight: 500; padding: 14px 28px; border-radius: 999px; transition: .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 30px #ffffff30; }
.hero-visual { position: relative; z-index: 1; }
.hero-text { position: relative; z-index: 1; }
.dash { position: relative; z-index: 2; background: #f4f5f9; color: #333; border-radius: 22px; padding: 18px; box-shadow: 0 30px 80px #0009; transform: perspective(1200px) rotateY(-6deg) rotateX(2deg); }
.dash-top { display: flex; gap: 8px; margin-bottom: 14px; }
.pill { font-size: .7rem; padding: 4px 12px; border-radius: 6px; background: #e4e6ee; }
.pill.on { background: var(--blue); color: #fff; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.stat { background: #fff; border-radius: 8px; padding: 10px; }
.stat small { display: block; font-size: .62rem; color: #777; }
.stat b { font-size: 1.2rem; font-weight: 500; }
.stat.blue { background: #ca8a04; color: #fff; }
.stat.blue small { color: #fef9c3; }
.chart { width: 100%; height: 130px; margin-top: 14px; background: #fff; border-radius: 8px; }
.line { fill: none; stroke-width: 2; stroke-dasharray: 1200; stroke-dashoffset: 1200; animation: draw 2.4s ease forwards; }
.l1 { stroke: #facc15; } .l2 { stroke: #fde047; animation-delay: .3s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.glow { position: absolute; z-index: 1; left: 50%; bottom: -90px; width: 340px; height: 200px; transform: translateX(-50%); background: radial-gradient(ellipse, #facc1599, transparent 70%); filter: blur(30px); }


/* cursor glow (hero only) — GOLD */
.hero-fx { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.cursor-glow { position: absolute; top: 0; left: 0; width: 600px; height: 600px; opacity: 0; transition: opacity .5s ease; mix-blend-mode: screen; will-change: transform;
  background: radial-gradient(circle, rgba(250, 204, 21, .28) 0%, rgba(250, 204, 21, .14) 30%, rgba(250, 204, 21, .05) 50%, transparent 70%); }
.cursor-glow.on { opacity: 1; }

/* ============================================================
   FEATURES SECTION — pinned scroll with beam-fan animation
   ============================================================ */

:root {
  --p:        #facc15;         
  --p-glow:   #facc1580;
  --muted:    #a1a1aa;
}

/* ---------- Wrapper: THIS is what makes pinning work ---------- */
.fwrap {
  position: relative;
  min-height: 350vh;           
  background: #000;
}

/* ---------- Sticky container ---------- */
.features {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding: 40px 2%;
  background:
    radial-gradient(1100px 480px at 50% 0%, #facc1526, transparent 70%),
    #000;
  overflow: hidden;
}

.features h2 {
  color: #fff;
  font-size: clamp(1.9rem, 4.4vw, 3.4rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 22px;
}

.features .sub {
  color: #a1a1aa;
  max-width: 720px;
  margin: 0 auto 60px;
  line-height: 1.7;
  font-size: clamp(.95rem, 1.3vw, 1.05rem);
}

.features .sub em {
  color: #facc15;
  font-style: normal;
  font-weight: 500;
}

/* ---------- Rotating word ---------- */
.rot {
  display: inline-block;
  position: relative;
  min-width: min(340px, 80vw);
  height: 1.35em;
  vertical-align: bottom;
  margin: 0 8px;
  border-radius: 12px;
  background: #facc151f;
  border: 1px solid #facc154d;
  overflow: hidden;
}
.rot b {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateY(40%);
  transition: opacity .5s ease, transform .5s ease;
  color: #facc15;
}
.rot b.on { opacity: 1; transform: none; }

/* ---------- Zone: wider stage for bigger cards + beams ---------- */
.zone {
  position: relative;
  max-width: 1800px;
  margin: 0 auto;
  width: 100%;
}

.cardsrow { position: relative; }

/* ---------- TRUNK: grows from top-center ---------- */
.trunk {
  position: absolute;
  top: 0;
  left: 50%;
  width: 3px;
  height: 82px;
  background: linear-gradient(180deg, transparent, #facc15, transparent);
  box-shadow: 0 0 22px #facc15, 0 0 48px #facc1570;
  transform: translateX(-50%) scaleY(0);
  transform-origin: top center;
  z-index: 3;
  pointer-events: none;
  will-change: transform;
}

/* ---------- Cards grid (4 columns) ---------- */
.cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  position: relative;
  z-index: 2;
}

/* ---------- Individual card: JS animates opacity / transform / filter ---------- */
.fcard {
  background: #0a0a0a;
  border: 1px solid #1f1f1f;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 0 70px #facc151f;

  opacity: 0;
  transform: translateY(60px);
  filter: blur(12px);

  transition: opacity .12s linear, transform .12s linear, filter .12s linear;
  will-change: transform, opacity, filter;
}

/* ---------- Inner mock UI ---------- */
.ui {
  background: #111;
  border: 1px solid #222;
  border-radius: 12px;
  padding: 18px;
  font-size: 12px;
  color: #d4d4d4;
  text-align: left;
  line-height: 1.6;
}

.ui small { color: #737373; font-size: 11px; display: block; margin-bottom: 10px; }

.u-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.u-top b { color: #fff; font-size: 13px; }

.u-btn {
  background: #1a1a1a;
  border: 1px solid #333;
  color: #facc15;
  padding: 4px 10px;
  border-radius: 5px;
  font-size: 10px;
}

.u-sel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 10px;
}
.u-sel i {
  background: #181818;
  border: 1px solid #262626;
  padding: 6px 8px;
  border-radius: 5px;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  font-style: normal;
  color: #a1a1aa;
}
.u-sel em { color: #facc15; font-style: normal; font-size: 9px; }

.u-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
}

.u-box {
  background: #181818;
  border: 1px solid #262626;
  border-radius: 6px;
  padding: 8px;
  margin-bottom: 8px;
}
.u-box b { color: #fff; font-size: 10px; display: block; margin-bottom: 6px; }
.u-box svg { width: 100%; height: 54px; display: block; }

.u-lg { display: flex; gap: 5px; margin-top: 6px; }
.u-lg i { width: 7px; height: 7px; border-radius: 50%; background: var(--c); display: inline-block; }

.u-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  color: #a1a1aa;
  margin-top: 8px;
}

.u-tg { display: flex; gap: 5px; }
.u-tg i {
  background: #181818;
  border: 1px solid #262626;
  padding: 3px 8px;
  border-radius: 4px;
  font-style: normal;
  font-size: 9px;
}
.u-tg i.on { background: #facc1520; color: #facc15; border-color: #facc1540; }

.u-in {
  background: #181818;
  border: 1px solid #262626;
  border-radius: 5px;
  padding: 8px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  color: #525252;
  margin-bottom: 8px;
}
.u-p { color: #facc15; font-weight: 500; }

.u-list { display: flex; flex-direction: column; gap: 6px; }

.u-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #181818;
  border: 1px solid #262626;
  border-radius: 5px;
  padding: 8px 10px;
  font-size: 10px;
}
.u-row .ic {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: #facc1520;
  border: 1px solid #facc1540;
  flex-shrink: 0;
}
.u-row div { flex: 1; min-width: 0; }
.u-row b  { color: #fff; display: block; font-size: 10px; margin-bottom: 2px; }
.u-row s  { color: #525252; text-decoration: none; font-size: 9px; }
.u-row u  { width: 20px; height: 5px; border-radius: 3px; background: #262626; text-decoration: none; }

.u-tb {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr auto;
  gap: 8px;
  padding: 5px 8px;
  font-size: 9px;
  color: #a1a1aa;
  border-bottom: 1px solid #1f1f1f;
}
.u-tb:first-child { color: #facc15; font-weight: 600; }
.u-tb .l { color: #e5e5e5; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- BEAMS SVG ---------- */
.beams {
  display: block;
  width: 100%;
  height: 260px;
  margin-top: -16px;
  overflow: visible;
  pointer-events: none;
}

.beams path {
  fill: none;
  stroke: #facc15;
  stroke-width: 3;
  stroke-linecap: round;
  filter: drop-shadow(0 0 10px #facc15) drop-shadow(0 0 20px #facc1570);
}

/* ---------- LABELS ---------- */
.labels { margin-top: 55px; }

.labels > div {
  text-align: center;
  opacity: var(--t, 0);
  transform: translateY(calc((1 - var(--t, 0)) * 30px));
  transition: opacity .15s linear, transform .15s linear;
}

.labels > div::before {
  content: "";
  display: block;
  width: 3px;
  height: 50px;
  margin: 0 auto 20px;
  background: linear-gradient(transparent, #facc15, transparent);
  box-shadow: 0 0 14px #facc15;
  transform: scaleY(var(--t, 0));
  transform-origin: top center;
  transition: transform .15s linear;
}

.labels h4 {
  color: #fff;
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.labels p {
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.6;
  max-width: 280px;
  margin: 0 auto;
}

/* ---------- MID-SIZE SCREENS (1100–1400px) ---------- */
@media (max-width: 1400px) and (min-width: 901px) {
  .features { padding: 40px 3%; }
  .zone { max-width: 1400px; }
  .cols { gap: 28px; }
  .fcard { padding: 16px; border-radius: 16px; }
  .ui { padding: 14px; font-size: 11px; }
  .u-box svg { height: 46px; }
  .beams { height: 220px; }
  .trunk { height: 72px; }
  .labels h4 { font-size: 1.15rem; }
  .labels p { font-size: .85rem; max-width: 240px; }
}

/* ---------- MOBILE ---------- */
@media (max-width: 900px) {
  .fwrap { min-height: auto; }
  .features { position: relative; min-height: auto; padding: 80px 5%; }
  .cols { grid-template-columns: 1fr; gap: 24px; }
  .beams, .trunk { display: none; }

  .fcard { padding: 16px; }
  .fcard {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
  .labels > div {
    opacity: 1 !important;
    transform: none !important;
  }
  .labels > div::before { transform: scaleY(1) !important; }
}

/* pinned features section */
.fwrap { height: 300vh; }
.fwrap .features { position: sticky; top: 0; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-top: 60px; padding-bottom: 20px; }
.cardsrow { position: relative; margin-top: 50px; }
.trunk { position: absolute; left: 50%; top: -50px; bottom: 0; width: 2px; margin-left: -1px; background: linear-gradient(transparent, var(--p)); box-shadow: 0 0 12px #facc15; transform: scaleY(0); transform-origin: top; }
.fcard { position: relative; z-index: 1; }
.zone { max-width: 940px; margin: 0 auto; }
.fcard { aspect-ratio: 1.62 / 1; display: block; padding: 0; border-radius: 3px; overflow: hidden; container-type: inline-size; background: #fff; box-shadow: 0 0 40px #facc1540; }
.beams { height: 165px; margin-top: -80px; position: relative; z-index: 0; }
.labels h4 { font-size: 1.05rem; font-weight: 600; }
.labels p { max-width: 220px; margin: 6px auto 0; }
.features .sub { color: #fff; font-size: clamp(1.05rem, 1.9vw, 1.5rem); max-width: 640px; }
.features .sub em { font-weight: 600; }

/* fake dashboard inside cards */
.ui { font-size: 2.3cqw; height: 100%; padding: 1.8em 1.9em; display: flex; flex-direction: column; gap: .9em; color: #374151; line-height: 1.35; text-align: left; }
.ui b { font-weight: 600; color: #111827; }
.ui small { color: #9ca3af; font-size: .8em; margin-top: -.6em; }
.u-top { display: flex; justify-content: space-between; align-items: center; }
.u-btn { border: 1px solid #e5e7eb; border-radius: .4em; padding: .3em .7em; font-size: .8em; }
.u-p { background: linear-gradient(90deg, #facc15, #fde047); color: #111; border-radius: .5em; padding: .4em 1em; font-size: .85em; white-space: nowrap; }
.u-sel { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8em; }
.u-sel i { font-style: normal; font-size: .75em; color: #6b7280; }
.u-sel em { display: block; font-style: normal; margin-top: .2em; padding: .4em .6em; border: 1px solid #e5e7eb; border-radius: .4em; background: #f9fafb; color: #374151; }
.u-2 { display: grid; grid-template-columns: 1fr 1fr; gap: .9em; flex: 1; min-height: 0; }
.u-box { border: 1px solid #eef0f4; border-radius: .5em; padding: .7em; display: flex; flex-direction: column; gap: .4em; min-height: 0; }
.u-box svg { flex: 1; width: 100%; min-height: 0; }
.u-lg { display: flex; gap: .7em; }
.u-lg i { width: .6em; height: .6em; border-radius: 50%; background: var(--c); }
.u-foot { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #eef0f4; padding-top: .7em; }
.u-tg i { font-style: normal; font-size: .8em; padding: .3em .9em; border-radius: 1em; background: #f3f4f6; }
.u-tg i.on { background: #111827; color: #fff; }
.u-tb { display: grid; grid-template-columns: 2.4fr 1fr 1.2fr .6fr; gap: .4em; font-size: .75em; color: #6b7280; padding: .25em 0; }
.u-tb .l { color: #ca8a04; }
.u-in { display: flex; justify-content: space-between; align-items: center; border: 1px solid #e5e7eb; border-radius: .5em; padding: .35em .5em .35em .8em; color: #9ca3af; font-size: .85em; }
.u-list { flex: 1; min-height: 0; overflow: hidden; }
.u-row { display: flex; align-items: center; gap: .9em; padding: .5em 0; border-bottom: 1px solid #f1f2f5; }
.u-row .ic { width: 1.5em; height: 1.5em; border-radius: .3em; background: linear-gradient(135deg, #facc15, #fde047 55%, #eab308); }
.u-row div { flex: 1; }
.u-row b { font-size: .9em; }
.u-row s { display: block; text-decoration: none; font-size: .7em; color: #9ca3af; }
.u-row u { width: .9em; height: .9em; border: 1px solid #d1d5db; border-radius: .2em; }

@media (max-width: 900px) {
  .fwrap { height: auto; }
  .fwrap .features { position: static; min-height: 0; display: block; padding-top: 70px; }
  .trunk { display: none; }
}


/* ============================================================
   GROWTH FORMULA SECTION 
   ============================================================ */

.formula {
  text-align: center;
  background: radial-gradient(circle at 50% 0%, #facc1526, #050505 60%);
}
.formula h2 {
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -.02em;
}

/* ---------- Steps pills ---------- */
.steps {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
  padding: 12px 34px;
  border-radius: 50px;
  background: #ffffff0d;
  border: 1px solid #ffffff0d;
  flex-wrap: wrap;
  justify-content: center;
}
.steps button {
  background: none;
  color: #ffffff66;
  font-size: 1.05rem;
  font-weight: 600;
  transition: .4s;
  white-space: nowrap;
}
.steps button.on {
  color: #fff;
  text-shadow: 0 0 12px #facc15, 0 0 30px #facc1599;
}
.steps i {
  color: #ffffff33;
  font-style: normal;
  font-size: 1rem;
}

/* ---------- 3-column stage ---------- */
.stage {
  display: grid;
  grid-template-columns: 1fr 460px 1fr;
  align-items: center;
  gap: 70px;
  margin-top: 70px;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- SIDES ---------- */
.side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.side.l { text-align: right; align-items: flex-end; }
.side.r { text-align: left;  align-items: flex-start; }

.side-tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #facc15;
  background: #facc151a;
  border: 1px solid #facc1540;
  padding: 5px 14px;
  border-radius: 999px;
}

.side h3 {
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
  max-width: 340px;
}
.side.l h3 { text-align: right; }
.side.r h3 { text-align: left; }

.side > p {
  color: #ffffff8c;
  font-size: .98rem;
  line-height: 1.65;
  max-width: 340px;
}

/* ---------- Left side bullets ---------- */
.side-bullets {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}
.sb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .88rem;
  color: #ffffffcc;
  line-height: 1.4;
}
.side.l .sb { flex-direction: row-reverse; text-align: right; }
.sb i {
  color: #facc15;
  background: #facc1520;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  font-size: 10px;
  flex-shrink: 0;
}

/* ---------- Right side blockquote ---------- */
.side blockquote {
  margin: 6px 0 0;
  padding-left: 20px;
  border-left: 3px solid var(--p);
  font-size: 1.3rem;
  font-weight: 600;
  font-style: italic;
  line-height: 1.45;
  color: #fff;
  max-width: 340px;
}

/* ---------- Right side mini stats ---------- */
.side-stats {
  display: flex;
  gap: 12px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.ss {
  padding: 12px 16px;
  border-radius: 14px;
  background: #202020fa;
  border: 1px solid #ffffff14;
  text-align: left;
  min-width: 120px;
}
.ss b {
  font-size: 1.3rem;
  font-weight: 800;
  color: #facc15;
  display: block;
  margin-bottom: 4px;
}
.ss span {
  font-size: .7rem;
  color: #ffffff99;
  line-height: 1.4;
}

/* ============================================================
   3D CARD
   ============================================================ */
.card3d {
  perspective: 1400px;
}

.tilt {
  display: block;
  position: relative;
  width: 460px;
  height: 560px;
  transform-style: preserve-3d;
  transform: rotateY(0deg);
  will-change: transform;
  margin: 0 auto;
}

.face {
  position: absolute;
  inset: 0;
  border-radius: 26px;
  overflow: hidden;
  background: #222222;
  border: 1px solid #ffffff1a;
  box-shadow: 0 40px 90px #0009, 0 0 80px #facc150f;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  flex-direction: column;
}

.face.back {
  transform: rotateY(180deg);
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 30%, #ca8a0455, transparent 70%),
              linear-gradient(145deg, #1a1030, #0b0b10);
}
.face.back .logo img {
  max-width: 220px;
  height: auto;
}

.tilt-top {
  flex: 1;
  background: linear-gradient(135deg, #dfe7ff, #f7f8ff);
  display: flex;
  gap: 6px;
  padding: 18px;
  align-items: flex-start;
  position: relative;
}
.tilt-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff6b6b;
  flex-shrink: 0;
}
.tilt-top span:nth-child(2) { background: #fbbf24; }
.tilt-top span:nth-child(3) { background: #34d399; }

.tilt p {
  padding: 22px 26px;
  color: #ffffffa6;
  font-size: .95rem;
  text-align: left;
  line-height: 1.5;
  border-top: 1px solid #ffffff0f;
}

/* ---------- SCENES (shared) ---------- */
.scene {
  position: absolute;
  inset: 52px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: #1f2937;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s, transform .5s;
  text-align: left;
}
.scene.on { opacity: 1; transform: none; }

/* ---- SCENE 1: Web Development ---- */
.s-browser {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px #facc151a;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.s-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  background: #f3f4f6;
  border-bottom: 1px solid #e5e7eb;
}
.s-bar i {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #d1d5db;
}
.s-bar i:nth-child(1) { background: #ef4444; }
.s-bar i:nth-child(2) { background: #f59e0b; }
.s-bar i:nth-child(3) { background: #10b981; }
.s-bar em {
  margin-left: 10px;
  font-style: normal;
  font-size: 11px;
  color: #6b7280;
  background: #fff;
  padding: 2px 10px;
  border-radius: 6px;
}
.s-code {
  padding: 16px;
  background: #0f172a;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.s-line { display: flex; gap: 8px; align-items: center; }
.s-line b {
  height: 7px;
  border-radius: 4px;
  background: #facc15;
  display: block;
}
.s-line i {
  height: 7px;
  border-radius: 4px;
  background: #475569;
  display: block;
}
.s-preview {
  padding: 14px;
  background: #f9fafb;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.s-hero-block {
  height: 46px;
  border-radius: 8px;
  background: linear-gradient(135deg, #facc15, #fde047);
}
.s-grid-block {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}
.s-grid-block span {
  height: 30px;
  border-radius: 5px;
  background: #e5e7eb;
}

/* ---- SCENE 2: E-Commerce ---- */
.s-shop {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 10px 30px #facc151a;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.s-cart { display: flex; flex-direction: column; gap: 14px; height: 100%; }
.s-cart > b { font-size: 15px; color: #111; }
.s-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background: #f9fafb;
  border-radius: 10px;
}
.s-item > span {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, #facc15, #fde047);
  flex-shrink: 0;
}
.s-item > div { flex: 1; }
.s-item b { font-size: 13px; color: #111; display: block; margin-bottom: 2px; }
.s-item s { font-size: 12px; color: #6b7280; text-decoration: none; }
.s-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-top: 2px dashed #e5e7eb;
  margin-top: auto;
}
.s-total span { font-size: 13px; color: #6b7280; }
.s-total b { font-size: 20px; color: #111; }
.s-pay {
  background: linear-gradient(90deg, #facc15, #fde047);
  color: #111;
  border: none;
  border-radius: 10px;
  padding: 14px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}

/* ---- SCENE 3: App Development ---- */
.s-phone {
  width: 240px;
  height: 100%;
  background: #111;
  border-radius: 32px;
  padding: 14px 12px;
  box-shadow: 0 20px 50px #0003;
  margin: 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
}
.s-notch {
  width: 80px;
  height: 20px;
  background: #000;
  border-radius: 12px;
  margin: 0 auto 12px;
}
.s-screen {
  flex: 1;
  background: #fff;
  border-radius: 22px;
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}
.s-screen .s-lbl { color: #6b7280; font-size: 11px; font-weight: 600; }
.s-screen .s-big { font-size: 24px; font-weight: 700; color: #111; }
.s-screen .s-big span {
  font-size: 12px;
  background: #dcfce7;
  color: #15803d;
  border-radius: 6px;
  padding: 3px 8px;
  margin-left: 4px;
  vertical-align: middle;
}
.s-screen svg {
  width: 100%;
  height: 80px;
  background: #f9fafb;
  border-radius: 10px;
  flex-shrink: 0;
}
.s-row-list { display: flex; flex-direction: column; gap: 6px; }
.s-row-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #6b7280;
  padding: 7px 10px;
  background: #f9fafb;
  border-radius: 7px;
}
.s-row-item span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #facc15;
  flex-shrink: 0;
}

/* ---- SCENE 4: SEO & Digital Marketing ---- */
.s-seo {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 10px 30px #facc151a;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.s-seo .s-lbl { color: #6b7280; font-size: 12px; font-weight: 600; }
.s-seo .s-big { font-size: 32px; font-weight: 800; color: #111; }
.s-seo .s-big span {
  font-size: 13px;
  background: #dcfce7;
  color: #15803d;
  border-radius: 8px;
  padding: 4px 10px;
  margin-left: 6px;
  vertical-align: middle;
}
.s-seo svg { width: 100%; height: 100px; }
.s-kw {
  font-size: 12px;
  color: #6b7280;
  line-height: 2;
  padding-top: 12px;
  border-top: 1px solid #f3f4f6;
}
.s-kw div { padding: 2px 0; }
.s-kw span {
  background: #facc15;
  color: #111;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  margin-right: 8px;
  font-size: 11px;
}

/* ---- SCENE 5: Hosting ---- */
.s-host {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 10px 30px #facc151a;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.s-host .s-lbl {
  color: #6b7280;
  font-size: 12px;
  font-weight: 600;
}

.s-host-status {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 10px;
}
.s-host-status b {
  font-size: 13px;
  color: #065f46;
  font-weight: 600;
}
.s-host-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
  animation: hostPulse 1.6s ease-in-out infinite;
}
@keyframes hostPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2); }
  50%      { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.1); }
}

.s-host-bars {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.s-host-row {
  display: grid;
  grid-template-columns: 90px 1fr 60px;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: #6b7280;
}
.s-host-track {
  height: 8px;
  background: #f3f4f6;
  border-radius: 4px;
  overflow: hidden;
}
.s-host-track i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #facc15, #fde047);
  border-radius: 4px;
}
.s-host-row b {
  color: #111;
  font-weight: 700;
  text-align: right;
  font-size: 12px;
}

.s-host-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid #f3f4f6;
}
.s-host-footer span {
  font-size: 11px;
  color: #6b7280;
  background: #f9fafb;
  padding: 5px 10px;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
}


/* ============================================================
   PINNED WRAPPER
   ============================================================ */
.fmwrap { height: 400vh; }
.fmwrap .formula {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 4vw;
  align-items: center;
}
.fmwrap .formula .stage { width: 100%; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1280px) {
  .stage { grid-template-columns: 1fr 400px 1fr; gap: 50px; }
  .tilt { width: 400px; height: 500px; }
  .side h3 { font-size: 1.65rem; }
  .side > p { font-size: .92rem; }
}

@media (max-width: 1000px) {
  .stage { grid-template-columns: 1fr 360px 1fr; gap: 36px; }
  .tilt { width: 360px; height: 460px; }
  .side-stats { flex-wrap: wrap; }
}

@media (max-width: 900px) {
  .fmwrap { height: auto; }
  .fmwrap .formula {
    position: static;
    min-height: 0;
    display: block;
    padding: 70px 6vw;
  }
  .stage { grid-template-columns: 1fr; gap: 32px; }
  .side.l, .side.r { text-align: center; align-items: center; }
  .side.l h3, .side.r h3 { text-align: center; }
  .side.l .sb { flex-direction: row; text-align: left; }
  .side blockquote { border: 0; padding: 0; text-align: center; }
  .side-stats { justify-content: center; }
  .tilt {
    width: min(72vw, 320px);
    height: min(60vh, 540px);
  }
  .steps { gap: 12px; padding: 10px 20px; }
  .steps button { font-size: .95rem; }
}

/* ============================================================
   WHY CHOOSE US — 7 tabs
   ============================================================ */
.team {
  background: #fff;
  color: #0a192f;
  text-align: center;
  padding: 90px 6vw;
}

.team h2 {
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
}

.team .grad {
  background: linear-gradient(90deg, #facc15, #ca8a04);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.team .sub {
  color: #64748b;
  font-size: 1.05rem;
  max-width: 760px;
  margin: 18px auto 0;
  line-height: 1.65;
}

/* ---------- Tabs / pills ---------- */
.pills {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 44px 0 40px;
  flex-wrap: wrap;
}

.pills button {
  padding: 10px 22px;
  border-radius: 50px;
  background: linear-gradient(135deg, #facc15, #ca8a04);
  color: #111;
  font-weight: 600;
  font-size: 0.9rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
}

.pills button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(250, 204, 21, 0.4);
}

.pills button.on {
  background: #ca8a04;
  color: #fff;
  box-shadow: 0 0 22px rgba(250, 204, 21, 0.7);
  transform: translateY(-3px);
}

/* ---------- Card container ---------- */
.tcard {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: center;
  text-align: left;
  padding: 50px;
  border-radius: 32px;
  background: radial-gradient(700px circle at 20% 20%, rgba(250, 204, 21, 0.12), transparent 60%), #000;
  color: #fff;
  max-width: 1200px;
  margin: 0 auto;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}

/* ---------- LEFT: Text ---------- */
.ttext {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: rgba(250, 204, 21, 0.15);
  color: #fde047;
  border: 1px solid rgba(250, 204, 21, 0.4);
  align-self: flex-start;
}

.ttext h3 {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
}

.ttext p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
  line-height: 1.7;
}

/* ---------- Skill pills ---------- */
.tskills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.tskill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e5e7eb;
  transition: background 0.3s ease, transform 0.3s ease;
}

.tskill:hover {
  background: rgba(250, 204, 21, 0.15);
  transform: translateY(-2px);
}

.tskill::before {
  content: "▸";
  color: #facc15;
  font-size: 0.7rem;
}

/* ---------- RIGHT: Dashboard ---------- */
.tdash {
  background: #ffffff08;
  border: 1px solid #ffffff1f;
  border-radius: 20px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Metric tiles */
.tm {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.m {
  background: #f8fafc;
  color: #0a192f;
  padding: 12px 14px;
  border-radius: 10px;
  transition: background 0.4s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.m:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.m small {
  display: block;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.65;
  margin-bottom: 4px;
}

.m b {
  font-size: 1rem;
  font-weight: 700;
}

.m.on {
  background: linear-gradient(135deg, #facc15, #ca8a04);
  color: #111;
  box-shadow: 0 8px 22px rgba(250, 204, 21, 0.45);
  transform: translateY(-3px);
}

.m.on small {
  opacity: 0.9;
}

/* Chart */
.tchart {
  background: #0d0d0f;
  border-radius: 14px;
  padding: 12px;
  height: 130px;
  position: relative;
  overflow: hidden;
}

.tchart svg {
  width: 100%;
  height: 100%;
  display: block;
}

.tchart path.line {
  fill: none;
  stroke: #facc15;
  stroke-width: 3;
  stroke-linecap: round;
  filter: drop-shadow(0 0 8px rgba(250, 204, 21, 0.6));
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  transition: stroke-dashoffset 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.tchart path.line.animate { stroke-dashoffset: 0; }

.tchart path.fill {
  fill: rgba(250, 204, 21, 0.1);
  opacity: 0;
  transition: opacity 1.4s ease 0.4s;
}

.tchart path.fill.animate { opacity: 1; }

.tchart .pulse-dot {
  fill: #facc15;
  filter: drop-shadow(0 0 8px rgba(250, 204, 21, 0.9));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.tchart .pulse-dot.animate {
  opacity: 1;
  animation: tDotPulse 2s ease-in-out infinite;
}

@keyframes tDotPulse {
  0%, 100% { r: 4; }
  50%      { r: 6; }
}

/* Terminal-style log */
.tlog {
  background: #0a0a0c;
  border: 1px solid #1f1f1f;
  border-radius: 12px;
  padding: 14px 16px;
  font-family: 'Courier New', monospace;
  font-size: 0.78rem;
  line-height: 1.7;
  color: #a1a1aa;
  max-height: 130px;
  overflow: hidden;
  position: relative;
}

.tlog::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: linear-gradient(180deg, #facc15, #ca8a04);
  border-radius: 3px 0 0 3px;
}

.tlog .tl-line {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 2px 0;
  opacity: 0;
  transform: translateX(-6px);
  animation: tLogIn 0.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.tlog .tl-line:nth-child(1) { animation-delay: 0.1s; }
.tlog .tl-line:nth-child(2) { animation-delay: 0.25s; }
.tlog .tl-line:nth-child(3) { animation-delay: 0.4s; }
.tlog .tl-line:nth-child(4) { animation-delay: 0.55s; }

@keyframes tLogIn {
  to { opacity: 1; transform: none; }
}

.tlog .tl-ok    { color: #22c55e; }
.tlog .tl-info  { color: #facc15; }
.tlog .tl-warn  { color: #f59e0b; }
.tlog .tl-time  { color: #525252; }

/* ============================================================
   MOBILE — WHY CHOOSE US (tabs scroll, no dashboard)
   ============================================================ */
@media (max-width: 900px) {

  /* --- Section padding --- */
  .team {
    padding: 60px 5vw;
  }

  .team h2 {
    font-size: 1.5rem;
    line-height: 1.25;
  }

  .team .sub {
    font-size: .92rem;
    line-height: 1.6;
    margin-top: 12px;
  }

  /* ============================================================
     TABS: single horizontal scrollable line
     ============================================================ */
  .pills {
    display: flex;
    flex-wrap: nowrap;              
    justify-content: flex-start;
    gap: 8px;
    margin: 28px 0 24px;
    padding: 4px 2px 12px;           
    overflow-x: auto;                
    overflow-y: hidden;
    scroll-snap-type: x proximity;  
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;           
  }
  .pills::-webkit-scrollbar {
    display: none;                  
  }

  .pills button {
    flex: 0 0 auto;                  
    padding: 8px 16px;
    font-size: 0.82rem;
    white-space: nowrap;
    scroll-snap-align: start;
  }

  /* ============================================================
     CARD: single column, text-only
     ============================================================ */
  .tcard {
    grid-template-columns: 1fr;
    padding: 28px 22px;
    gap: 0;                          
  }

  .tcard .tdash {
    display: none !important;
  }

  .ttext {
    text-align: left;
  }

  .ttext .badge {
    font-size: 0.7rem;
    padding: 5px 12px;
    margin-bottom: 14px;
  }

  .ttext h3 {
    font-size: 1.35rem;
    line-height: 1.3;
    margin-bottom: 10px;
  }

  .ttext p {
    font-size: 0.95rem;
    line-height: 1.65;
    margin-top: 10px;
  }

  .tskills {
    gap: 6px;
    margin-top: 14px;
  }

  .tskill {
    font-size: 0.72rem;
    padding: 5px 10px;
  }
}


/* ============================================================
   6. OUR WORK + ABOUT — Dual cards
   ============================================================ */
.dual-cards {
  background: #ffffff;
  padding: 100px 6vw;
  position: relative;
  overflow: hidden;
}

/* Section glow behind cards */
.dual-cards::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 300px;
  background: radial-gradient(closest-side, rgba(250,204,21,0.08), transparent 70%);
  pointer-events: none;
}

.dc-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 1400px;
  margin: 0 auto;
}

/* ---------- Card base ---------- */
.dc-card {
  position: relative;
  border-radius: 24px;
  padding: 48px 44px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(500px circle at 10% 0%, rgba(250,204,21,0.10), transparent 60%),
    linear-gradient(160deg, #0c0c10 0%, #08080b 100%);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: transform 0.4s cubic-bezier(.22,1,.36,1),
              border-color 0.4s ease,
              box-shadow 0.4s ease;
}

.dc-card:hover {
  transform: translateY(-6px);
  border-color: rgba(250, 204, 21, 0.35);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.55),
    0 0 60px rgba(250, 204, 21, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* Gold top border accent */
.dc-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #facc15, #ca8a04, #facc15);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s cubic-bezier(.22,1,.36,1);
}

.dc-card:hover::before {
  transform: scaleX(1);
}

/* ---------- Card background grid ---------- */
.dc-bg-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.35;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(250,204,21,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(250,204,21,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at 20% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 20% 0%, #000 30%, transparent 75%);
}

.dc-content {
  position: relative;
  z-index: 1;
}

/* ---------- Tag pill ---------- */
.dc-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #facc15;
  background: rgba(250, 204, 21, 0.10);
  border: 1px solid rgba(250, 204, 21, 0.30);
  margin-bottom: 20px;
}

.dc-tag i {
  font-size: 0.75rem;
}

/* ---------- Heading ---------- */
.dc-card h2 {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.dc-hl {
  background: linear-gradient(90deg, #facc15, #fde047);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Description ---------- */
.dc-desc {
  font-size: 0.97rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 14px;
}

.dc-desc strong {
  color: #fff;
  font-weight: 600;
}

/* ---------- Chips ---------- */
.dc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 28px;
}

.dc-chips span {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
  color: #e5e7eb;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.dc-chips span:hover {
  background: rgba(250, 204, 21, 0.12);
  border-color: rgba(250, 204, 21, 0.35);
  color: #fff;
  transform: translateY(-2px);
}

/* ---------- CTA button ---------- */
.dc-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 999px;
  background: linear-gradient(135deg, #facc15, #ca8a04);
  color: #111;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid rgba(250, 204, 21, 0.5);
  box-shadow: 0 10px 26px rgba(250, 204, 21, 0.30);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.dc-cta i {
  transition: transform 0.3s ease;
}

.dc-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(250, 204, 21, 0.5);
  background: linear-gradient(135deg, #fde047, #facc15);
}

.dc-cta:hover i {
  transform: translateX(5px);
}

/* ---------- Per-card flavor ---------- */
.dc-work::before {
  background: linear-gradient(90deg, #facc15, #ca8a04, #facc15);
}

.dc-about {
  background:
    radial-gradient(500px circle at 90% 0%, rgba(250,204,21,0.10), transparent 60%),
    linear-gradient(160deg, #0c0c10 0%, #08080b 100%);
}

/* ---------- Reveal-in animation ---------- */
@keyframes dcFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.dc-card {
  opacity: 0;
  animation: dcFadeUp 0.8s cubic-bezier(.22,1,.36,1) forwards;
}

.dc-work  { animation-delay: 0.10s; }
.dc-about { animation-delay: 0.25s; }

/* Skip animation for reduced motion */
@media (prefers-reduced-motion: reduce) {
  .dc-card { opacity: 1 !important; animation: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .dc-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .dc-card {
    padding: 40px 32px;
  }
}

@media (max-width: 640px) {
  .dual-cards {
    padding: 70px 5vw;
  }

  .dc-card {
    padding: 32px 24px;
    border-radius: 20px;
  }

  .dc-card h2 {
    font-size: 1.35rem;
  }

  .dc-desc {
    font-size: 0.93rem;
  }

  .dc-chips span {
    font-size: 0.74rem;
    padding: 6px 12px;
  }

  .dc-cta {
    width: 100%;
    justify-content: center;
  }
}


/* ============================================================
   REVENUE SECTION — scroll-driven line + checkpoints
   ============================================================ */

.revwrap {
  position: relative;
  min-height: 250vh;
  background: #08080b;
}

.revwrap .revenue {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1.4fr 0.55fr;
  gap: 48px;
  align-items: center;
  background: #08080b;
  padding: 100px 6vw;
  overflow: hidden;
}

/* ---------- LEFT ---------- */
.rev-left {
  max-width: 460px;
}

.rev-title {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.02em;
  color: #fff;
}
.rev-title span {
  display: block;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s cubic-bezier(.22,1,.36,1),
              transform .8s cubic-bezier(.22,1,.36,1);
}
.rev-title span:nth-child(1) { transition-delay: .05s; }
.rev-title span:nth-child(2) { transition-delay: .15s; }
.rev-title span:nth-child(3) { transition-delay: .25s; }

.rev-title-hl {
  color: #facc15;
  text-shadow: 0 0 40px rgba(250,204,21,.35);
}

/* Entrance triggered by JS when section enters viewport */
.revenue.in-view .rev-title span {
  opacity: 1;
  transform: translateY(0);
}

/* CTA button */
.btn-p {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 40px;
  padding: 16px 34px;
  border-radius: 999px;
  background: linear-gradient(135deg, #facc15, #ca8a04);
  font-weight: 700;
  color: #111;
  box-shadow: 0 12px 34px rgba(250,204,21,.35);
  transition: transform .3s ease, box-shadow .3s ease;
  opacity: 0;
  transform: translateY(20px);
}
.revenue.in-view .btn-p {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .8s .4s cubic-bezier(.22,1,.36,1),
              transform .8s .4s cubic-bezier(.22,1,.36,1),
              box-shadow .3s ease;
}
.btn-p i {
  transition: transform .3s ease;
}
.btn-p:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(250,204,21,.5);
}
.btn-p:hover i {
  transform: translateX(6px);
}

/* ---------- CENTER: Graph container ---------- */
.rev-graph {
  position: relative;
  height: 380px;
  padding: 26px;
  border-radius: 24px;
  background: #0a0a0c;
  border: 2px solid var(--p);
  box-shadow:
    0 25px 70px #0007,
    0 0 60px rgba(250,204,21,.15),
    inset 0 0 30px rgba(250,204,21,.04);
}

.rev-graph svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

/* The BEFORE line: appears with slight fade */
#lineBefore {
  opacity: 0;
  transition: opacity 1s .3s ease;
}
.revenue.in-view #lineBefore {
  opacity: 1;
}

/* The AFTER line: stroke-dasharray set by JS, drawn with scroll */
#lineAfter {
  stroke-dasharray: var(--len, 2000);
  stroke-dashoffset: var(--len, 2000);
  transition: stroke-dashoffset .08s linear;
}

/* Area fill fades in when line is ~40% drawn */
#areaFill {
  transition: opacity .4s ease;
}

/* ---------- Checkpoint dots ---------- */
.cp-dot {
  fill: #0a0a0c;
  stroke: #facc15;
  stroke-width: 3;
  opacity: 0;
  transform-origin: center;
  transform-box: fill-box;
  transition: opacity .35s ease, transform .35s cubic-bezier(.22,1,.36,1);
  filter: drop-shadow(0 0 8px #facc15);
}
.cp-dot.show {
  opacity: 1;
  animation: cpPop .5s cubic-bezier(.22,1,.36,1);
}
@keyframes cpPop {
  0%   { transform: scale(0); }
  60%  { transform: scale(1.35); }
  100% { transform: scale(1); }
}

/* Inner pulsing ring on each dot */
.cp-ring {
  fill: none;
  stroke: #facc15;
  stroke-width: 1.5;
  opacity: 0;
}
.cp-dot.show + .cp-ring {
  opacity: .5;
  animation: cpPulse 2s ease-out infinite;
}
@keyframes cpPulse {
  0%   { r: 8; opacity: .7; }
  100% { r: 22; opacity: 0; }
}

/* ---------- Floating tags over the graph ---------- */
.cp-tags {
  position: absolute;
  inset: 26px;   /* matches .rev-graph padding */
  pointer-events: none;
}

.cp-tag {
  position: absolute;
  transform: translate(-50%, -140%) scale(.85);
  background: #0f0f14;
  border: 1px solid rgba(250,204,21,.5);
  border-radius: 10px;
  padding: 8px 14px;
  color: #fff;
  font-size: .78rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transition: opacity .4s ease, transform .4s cubic-bezier(.22,1,.36,1);
  box-shadow: 0 8px 24px #0009, 0 0 20px rgba(250,204,21,.25);
  pointer-events: none;
}
.cp-tag.show {
  opacity: 1;
  transform: translate(-50%, -160%) scale(1);
}
.cp-tag b {
  color: #facc15;
  font-weight: 800;
  margin-right: 6px;
}
.cp-tag small {
  display: block;
  font-size: .65rem;
  color: #a1a1aa;
  font-weight: 500;
  margin-top: 2px;
  letter-spacing: .3px;
}

/* Small caret under the tag */
.cp-tag::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background: #0f0f14;
  border-right: 1px solid rgba(250,204,21,.5);
  border-bottom: 1px solid rgba(250,204,21,.5);
}

/* ---------- RIGHT: stat cards ---------- */
.rev-cards {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.rev-block {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity .7s cubic-bezier(.22,1,.36,1),
              transform .7s cubic-bezier(.22,1,.36,1);
}
.rev-block.after  { transition-delay: .35s; }
.rev-block.before { transition-delay: .55s; }

.revenue.in-view .rev-block {
  opacity: 1;
  transform: translateX(0);
}

.rev-block > small {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: #a1a1aa;
  margin-bottom: 12px;
}
.rev-block > small.pur {
  color: #facc15;
}

.mini {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  padding: 14px 18px;
  border-left: 3px solid #facc15;
  background: #ffffff0a;
  border-radius: 10px;
  transition: background .3s ease, transform .3s ease;
}
.mini:hover {
  background: #ffffff10;
  transform: translateX(4px);
}

.mini b {
  font-size: .82rem;
  font-weight: 600;
  color: #d4d4d8;
}
.mini span {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.mini span i {
  font-size: .7rem;
  color: #22c55e;
}

.mini.dim {
  border-color: #ffffff33;
  opacity: .6;
}
.mini.dim span i {
  color: #ef4444;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1200px) {
  .revenue {
    grid-template-columns: 1fr 1.2fr 0.7fr;
    gap: 32px;
    padding: 80px 5vw;
  }
  .rev-graph { height: 340px; }
}

@media (max-width: 900px) {
  .revwrap { min-height: auto; }
  .revwrap .revenue {
    position: relative;
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 70px 6vw;
    text-align: center;
  }
  .rev-left {
    max-width: none;
    margin: 0 auto;
  }
  .rev-title { text-align: center; }
  .rev-graph { height: 320px; }
  .rev-cards { flex-direction: row; justify-content: center; flex-wrap: wrap; }
  .mini { min-width: 220px; }
  .rev-block { text-align: left; }
}

/* ---------- team ---------- */
.team { background: #fff; color: #0a192f; text-align: center; }
.team h2 { font-size: clamp(1.9rem, 4vw, 3.2rem); font-weight: 700; line-height: 1.2; }
.grad { background: linear-gradient(90deg, #facc15, #ca8a04); -webkit-background-clip: text; background-clip: text; color: transparent; }
.team .sub { color: #64748b; }
.pills { display: flex; justify-content: center; gap: 12px; margin: 40px 0; flex-wrap: wrap; }
.pills button { padding: 12px 28px; border-radius: 50px; background: linear-gradient(135deg, var(--p), #ca8a04); color: #111; font-weight: 600; transition: .3s; }
.pills button.on { background: var(--pd); color: #fff; box-shadow: 0 0 22px #facc15b3; transform: translateY(-3px); }
.tcard { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: center; text-align: left; padding: 50px; border-radius: 32px; background: radial-gradient(700px circle at 20% 20%, #facc151f, transparent 60%), #000; color: #fff; }
.badge { display: inline-block; padding: 6px 16px; border-radius: 50px; font-size: .8rem; font-weight: 600; background: #facc1526; color: #fde047; border: 1px solid #facc1566; margin-bottom: 20px; }
.ttext h3 { font-size: 1.9rem; }
.ttext p { margin-top: 14px; color: #ffffffa6; font-size: 1.05rem; }
.tdash { background: #ffffff14; border: 1px solid #ffffff1f; border-radius: 20px; padding: 22px; }
.tm { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 20px; }
.m { background: #f8fafc; color: #0a192f; padding: 10px; border-radius: 10px; }
.m.on { background: linear-gradient(135deg, var(--p), #ca8a04); color: #111; }
.m small { display: block; font-size: .62rem; opacity: .7; }
.m b { font-size: 1rem; }
.tdash svg { width: 100%; height: 110px; }



/* ============================================================
   PROJECT PROCESS — Horizontal pinned timeline
   ============================================================ */

.pwrap {
  position: relative;
  min-height: 500vh;                 
  background: #ffffff;
}

.process {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 4vw 80px;
  background: #ffffff;
  color: #0a192f;
  overflow: hidden;
}

.process h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
  text-align: center;
  margin-bottom: 14px;
  color: #0a192f;
}

.phl {
  background: linear-gradient(90deg, #facc15, #ca8a04);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.process .psub {
  color: #64748b;
  font-size: 1.02rem;
  max-width: 680px;
  margin: 0 auto 60px;
  text-align: center;
  line-height: 1.6;
}

/* ---------- Track wrapper ---------- */
.ptrack {
  position: relative;
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Continuous beam ---------- */
.pbeam {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 48px;                        
  height: 4px;
  background: #e5e7eb;
  border-radius: 3px;
  overflow: hidden;
  z-index: 1;
}

.pbeam-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #facc15, #ca8a04);
  border-radius: 3px;
  box-shadow: 0 0 12px rgba(250, 204, 21, 0.6);
  transition: width 0.15s linear;
}

/* ---------- Steps row ---------- */
.psteps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  z-index: 2;
}

/* ---------- Single step ---------- */
.pstep {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;

  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(.22,1,.36,1),
              transform 0.6s cubic-bezier(.22,1,.36,1);
}

.pstep.show {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Node (numbered circle) ---------- */
.pnode {
  position: relative;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #ffffff;
  border: 3px solid #e5e7eb;
  margin-bottom: 22px;
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}

.pstep.show .pnode {
  border-color: #facc15;
  box-shadow: 0 0 0 6px rgba(250, 204, 21, 0.15),
              0 8px 24px rgba(250, 204, 21, 0.25);
}

/* Highlight the currently active step */
.pstep.active .pnode {
  background: linear-gradient(135deg, #facc15, #ca8a04);
  border-color: #ca8a04;
  box-shadow: 0 0 0 10px rgba(250, 204, 21, 0.18),
              0 12px 30px rgba(250, 204, 21, 0.45);
  transform: scale(1.06);
}

.pnum {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0a192f;
  transition: color 0.3s ease;
}
.pstep.active .pnum {
  color: #111;
}

/* Outer pulse ring on active */
.pring {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  pointer-events: none;
  border: 2px solid transparent;
}
.pstep.active .pring {
  border-color: rgba(250, 204, 21, 0.5);
  animation: pRingPulse 1.8s ease-out infinite;
}

@keyframes pRingPulse {
  0%   { transform: scale(1);    opacity: 0.9; }
  100% { transform: scale(1.35); opacity: 0; }
}

/* ---------- Card under each node ---------- */
.pcard {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 18px 16px;
  text-align: center;
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
  max-width: 220px;
}

.pstep.show .pcard {
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
}

.pstep.active .pcard {
  border-color: #facc15;
  box-shadow: 0 12px 32px rgba(250, 204, 21, 0.18),
              0 4px 12px rgba(15, 23, 42, 0.06);
  transform: translateY(-4px);
}

.pcard h3 {
  font-size: 0.98rem;
  font-weight: 700;
  color: #0a192f;
  margin-bottom: 8px;
  line-height: 1.3;
}

.pcard p {
  font-size: 0.82rem;
  line-height: 1.55;
  color: #64748b;
  margin: 0;
}

/* ============================================================
   MOBILE — Vertical stacked timeline with connecting line
   ============================================================ */

@media (max-width: 900px) {

  .pwrap {
    min-height: auto;                
  }

  .process {
    position: relative;
    min-height: auto;
    padding: 70px 6vw 80px;
  }

  .process h2 {
    font-size: 1.5rem;
    text-align: left;
    margin-bottom: 10px;
  }

  .process .psub {
    text-align: left;
    margin: 0 0 40px;
    font-size: 0.92rem;
  }

  /* Kill the horizontal beam on mobile */
  .pbeam { display: none; }

  /* Stack vertically */
  .psteps {
    display: flex;
    flex-direction: column;
    gap: 32px;
    position: relative;
    padding-left: 76px;              
  }

  /* Vertical connecting line */
  .psteps::before {
    content: "";
    position: absolute;
    left: 33px;                      
    top: 12px;
    bottom: 12px;
    width: 3px;
    background: #e5e7eb;
    border-radius: 2px;
  }

  /* Progress fill on the vertical line */
  .psteps::after {
    content: "";
    position: absolute;
    left: 33px;
    top: 12px;
    width: 3px;
    height: var(--vfill, 0%);
    background: linear-gradient(180deg, #facc15, #ca8a04);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(250, 204, 21, 0.5);
    transition: height 0.4s ease;
  }

  /* Each step: node on left, card on right */
  .pstep {
    position: relative;
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 20px;
    opacity: 1;                       
    transform: none;
  }

  .pnode {
    position: absolute;
    left: -76px;                      
    top: 0;
    width: 68px;
    height: 68px;
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .pnum {
    font-size: 1.05rem;
  }

  .pcard {
    max-width: 100%;
    text-align: left;
    padding: 16px 18px;
    border-radius: 14px;
  }

  .pcard h3 {
    font-size: 1rem;
    margin-bottom: 6px;
  }

  .pcard p {
    font-size: 0.85rem;
    line-height: 1.55;
  }

  .pstep.active .pnode {
    transform: scale(1.04);
  }
}


/* ---------- faq ---------- */
.faq { background: #000; }
.faq h2 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800; margin-bottom: 40px; }
.fgrid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 30px; }
.fgrid ul, .ans { padding: 36px; border-radius: 24px; background: #ffffff08; border: 1px solid #ffffff14; }
.fgrid ul { list-style: none; display: flex; flex-direction: column; gap: 22px; }
.fgrid li h3{ font-size: .85rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #ffffff66; cursor: pointer; transition: .3s; }
.fgrid li:hover h3 { color: #ffffffcc; }
.fgrid li.on h3 { color: #fff; padding-left: 10px; border-left: 3px solid var(--p); }
.ans div { display: none; }
.ans div.on { display: block; animation: up .5s; }
@keyframes up { from { opacity: 0; transform: translateY(16px); } }
.lead { font-size: clamp(1.3rem, 2.6vw, 1.9rem); font-weight: 500; line-height: 1.3; margin-bottom: 22px; }
.ans p:not(.lead) { color: #ffffffb3; font-size: 1.05rem; }
/* ============================================================
   FAQ — MOBILE OPTIMIZATION
   ============================================================ */
@media (max-width: 900px) {

  .faq {
    padding: 50px 5vw;
  }

  .faq h2 {
    font-size: 1.6rem;
    margin-bottom: 24px;
    text-align: left;
  }

  .fgrid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .fgrid ul,
  .ans {
    padding: 20px 18px;
    border-radius: 18px;
  }

  /* ============================================================
     QUESTIONS LIST — compact
     ============================================================ */
  .fgrid ul {
    gap: 12px;
  }

  .fgrid li h3 {
    font-size: 0.78rem;
    letter-spacing: 0.03em;
    line-height: 1.35;
    padding: 4px 0;
  }

  .fgrid li.on h3 {
    padding-left: 10px;
    border-left: 3px solid var(--p);
  }

  /* ============================================================
     ANSWER PANEL — trim to fit one viewport
     ============================================================ */

  .ans p:not(.lead) {
    display: none !important;
  }

  .lead {
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 0;
  }

  .ans div {
    padding: 0;
  }
}



/* ---------- CTA ---------- */
.cta {
  background: linear-gradient(135deg, #facc15 0%, #eab308 100%);
  padding: 80px 6vw;
  color: #111;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(255,255,255,0.35), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 60px;
  align-items: center;
}

/* --- LEFT: content --- */
.cta-left h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: #111;
  margin: 0 0 16px;
}

.cta-left p {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #1a1a1a;
  max-width: 720px;
  margin: 0;
}

/* --- RIGHT: CTA button --- */
.cta-right {
  flex-shrink: 0;
}

.btn-cta-main {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 34px;
  border-radius: 999px;
  background: #111;
  color: #facc15;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  white-space: nowrap;
}

.btn-cta-main i {
  transition: transform 0.3s ease;
}

.btn-cta-main:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.35);
  background: #000;
}

.btn-cta-main:hover i {
  transform: translateX(6px);
}

/* ============================================================
   CTA — RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .cta {
    padding: 60px 6vw;
  }

  .cta-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }

  .cta-left h2 {
    font-size: 1.6rem;
  }

  .cta-left p {
    font-size: 0.95rem;
    margin: 0 auto;
  }

  .cta-right {
    display: flex;
    justify-content: center;
  }

  .btn-cta-main {
    padding: 15px 28px;
    font-size: 0.95rem;
  }
}


/* ---------- mobile ---------- */
@media (max-width: 900px) {
  section { padding: 70px 6vw; }
  .hero, .revenue, .tcard, .fgrid, .fglass { grid-template-columns: 1fr; }
  .dash { transform: none; }
  .cols { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .beams { display: none; }
  .stage { grid-template-columns: 1fr; gap: 24px; }
  .side.l, .side.r { text-align: center; }
  .side blockquote { border: 0; padding: 0; }
  .tilt { transform: none; max-width: 320px; margin: 0 auto; }
  .rgrid { grid-template-columns: 1fr; }
  .rc.wide { grid-column: auto; }
  .rev-cards { flex-direction: row; }
  .tcard { padding: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .line { animation: none; stroke-dashoffset: 0; }
  .logos-track { animation: none; }
}

/* ===== HERO TEXT ===== */
.welcome { color: var(--y); font-size: 1.15rem; margin-bottom: 18px; }
.hero h1 { font-size: clamp(2.4rem, 4.6vw, 4.2rem); }
.hero h1 .yl { color: var(--y); }
.lead-p { margin-top: 26px; max-width: 580px; color: #fff; opacity: .9; font-size: 1.08rem; line-height: 1.75; }
.btn-y { display: inline-block; margin-top: 36px; padding: 16px 40px; border-radius: 999px; background: var(--y); color: #111; font-weight: 700; box-shadow: 0 10px 30px #facc1540; transition: .2s; }
.btn-y:hover { transform: translateY(-3px); box-shadow: 0 14px 40px #facc1566; }

/* ===== LOGO STRIP (white pill) ===== */
.logos { background: #fff; padding: 16px 0; border-color: #ffffff40; backdrop-filter: none; -webkit-backdrop-filter: none; }
.logos .lg { height: 56px; }
.logos img { height: 56px; max-width: 190px; filter: none; opacity: 1; }
.logos span { padding: 0 36px; }

/* ===== HERO BACKGROUND VIDEO (mobile + reduced motion) ===== */
@media (max-width: 1024px) {
  /* Fixed backgrounds are janky on mobile — switch to absolute */
  .hero-bg { position: absolute; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
  .hero-overlay {
    background: linear-gradient(180deg, #0a0a0c 0%, #050505 100%);
  }
}

@media (max-width: 900px) {
  .logo img { height: 50px; }
  .menu-btn { display: flex; flex-direction: column; gap: 5px; margin-left: auto; padding: 8px; background: none; }
  .menu-btn span { width: 26px; height: 2px; background: #fff; }
  .only-m { display: flex !important; }
  .dd::after { display: none; }
  .dd-menu { display: block; position: static; min-width: 0; padding: 4px 0 0 30px; background: none; border: 0; box-shadow: none; }
}



/* ============================================================
   MOBILE — GROWTH FORMULA (pinned, card-only, larger)
   ============================================================ */

/* Hidden by default — only shown on mobile */
.formula-mobile-summary { display: none; }

@media (max-width: 900px) {

  /* --- Keep the pin ON, faster pace --- */
  .fmwrap {
    height: 250vh;
  }
  .fmwrap .formula {
    position: sticky;
    top: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px 5vw 20px;
    gap: 14px;
  }

  /* --- Compact heading + tabs --- */
  .formula h2 {
    font-size: 1.35rem;
    margin-bottom: 4px;
    text-align: center;
  }
  .steps {
    gap: 8px;
    padding: 8px 14px;
    margin-top: 6px;
    border-radius: 999px;
    max-width: 100%;
  }
  .steps button {
    font-size: .78rem;
    padding: 4px 10px;
  }
  .steps i { font-size: .75rem; }

  /* --- Stage: only the card + caption visible during pin --- */
  .fmwrap .stage {
    grid-template-columns: 1fr !important;
    gap: 0;
    margin-top: 10px;
    max-width: 100%;
  }

  /* --- HIDE side text columns during pin (FORCE, high specificity) --- */
  .fmwrap .stage > .side.l,
  .fmwrap .stage > .side.r,
  .fmwrap .stage > div.side.l,
  .fmwrap .stage > div.side.r,
  .fmwrap .stage .side.l,
  .fmwrap .stage .side.r {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    left: -9999px !important;
  }

  /* --- Fit-to-viewport card (BIGGER, card-only) --- */
  .card3d {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .tilt {
    width: min(90vw, 420px);
    height: min(90vw, 420px);
    transform: rotateY(-6deg);
  }

  .tilt p {
    font-size: .8rem;
    padding: 12px 18px;
    line-height: 1.4;
  }

  /* --- Mobile summary block (below pin) --- */
  .formula-mobile-summary {
    display: block;
    background: #08080b;
    padding: 50px 6vw 70px;
    color: #fff;
  }
  .fms-block {
    max-width: 640px;
    margin: 0 auto 40px;
    text-align: center;
  }
  .fms-block:last-child {
    margin-bottom: 0;
  }
  .fms-block .side-tag {
    display: inline-block;
    margin-bottom: 6px;
  }
  .fms-block h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 12px 0 10px;
    line-height: 1.25;
  }
  .fms-block > p {
    color: rgba(255,255,255,.75);
    font-size: .95rem;
    line-height: 1.6;
    margin-bottom: 14px;
  }
  .fms-block .side-bullets {
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
  }
  .fms-block .sb {
    flex-direction: row !important;
    text-align: left;
    justify-content: center;
    font-size: .9rem;
  }
  .fms-block blockquote {
    border: 0;
    border-left: 3px solid var(--p);
    padding-left: 14px;
    margin: 20px auto 0;
    text-align: left;
    max-width: 420px;
    font-size: 1rem;
    font-style: italic;
    line-height: 1.5;
  }
  .fms-block .side-stats {
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
  }
  .fms-block .ss {
    min-width: 130px;
    text-align: center;
  }
}

/* ============================================================
   MOBILE — REVENUE (pinned, compact, side-by-side stats)
   ============================================================ */

@media (max-width: 900px) {

  /* --- Keep the pin ON, faster pace --- */
  .revwrap {
    min-height: 220vh;
  }
  .revwrap .revenue {
    position: sticky;
    top: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
    padding: 40px 5vw 30px;
    text-align: center;
    overflow: hidden;
  }

  /* --- Compact title --- */
  .rev-title {
    font-size: clamp(1.6rem, 7vw, 2.1rem);
    text-align: center;
    line-height: 1.1;
  }

  /* --- Compact CTA --- */
  .btn-p {
    margin-top: 10px;
    padding: 11px 22px;
    font-size: .85rem;
    align-self: center;
  }

  /* --- Compact graph --- */
  .rev-graph {
    height: 190px;
    padding: 12px;
    border-radius: 14px;
    width: 100%;
    max-width: 100%;
  }
  .cp-tags { inset: 12px; }
  .cp-tag {
    padding: 4px 8px;
    font-size: .62rem;
    border-radius: 8px;
  }
  .cp-tag small { font-size: .55rem; }

  /* --- Stat cards: SMALL + SIDE-BY-SIDE --- */
  .rev-cards {
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
  }
  .rev-block {
    flex: 1;
    min-width: 0;
    text-align: left;
    padding: 0;
  }
  .rev-block > small {
    font-size: .58rem;
    margin-bottom: 5px;
    letter-spacing: .8px;
    display: block;
  }
  .mini {
    padding: 7px 9px;
    margin-top: 5px;
    gap: 4px;
    border-radius: 7px;
    border-left-width: 2px;
    flex-direction: column;
    align-items: flex-start;
  }
  .mini b {
    font-size: .65rem;
    font-weight: 600;
    color: #d4d4d8;
  }
  .mini span {
    font-size: .82rem;
    gap: 4px;
  }
  .mini span i {
    font-size: .58rem;
  }
}

/* ============================================================
   INFINITE IMAGE CAROUSEL
   ============================================================ */
.img-carousel {
  width: 100%;
  overflow: hidden;
  background: #08080b;
  padding: 60px 0;
  position: relative;

  /* Soft edge fade so slides fade in/out at edges */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
}

.ic-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 50px;
  padding: 0 6vw;
  position: relative;
}

/* Heading */
.ic-title {
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: #ffffff;
  margin: 0 0 16px;
}

/* Gold gradient on the highlight part */
.ic-title-hl {
  background: linear-gradient(90deg, #facc15 0%, #fde047 50%, #ca8a04 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  display: inline-block;
}

/* Underline accent below the highlight */
.ic-title-hl::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #facc15, transparent);
  border-radius: 3px;
  opacity: 0.75;
}

/* Subtitle */
.ic-sub {
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.68);
  max-width: 620px;
  margin: 0 auto;
  font-weight: 400;
}

.ic-header::before,
.ic-header::after {
  content: "";
  position: absolute;
  top: 78px;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(250, 204, 21, 0.5));
  border-radius: 2px;
}
.ic-header::before {
  right: calc(50% + 420px);
  transform: scaleX(-1);
}
.ic-header::after {
  left: calc(50% + 420px);
}


.ic-track {
  display: flex;
  gap: 10px;
  width: max-content;
  animation: icScroll 40s linear infinite;
  will-change: transform;
}

.ic-slide {
  flex: 0 0 auto;
  width: 500px;
  height: 600px;
  border-radius: 12px;
  overflow: hidden;
  background: #111;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.ic-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ic-slide:hover {
  transform: scale(1.04);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.5);
}

/* Keyframe: translate by -50% of the track width → seamless loop */
@keyframes icScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .img-carousel {
    padding: 40px 0;
  }

  .ic-header {
    margin-bottom: 34px;
  }

  .ic-title {
    font-size: 1.6rem;
    margin-bottom: 12px;
  }

  .ic-sub {
    font-size: 0.9rem;
  }

  .ic-header::before,
  .ic-header::after {
    display: none;
  }

  .ic-track {
    gap: 14px;
    animation-duration: 30s;   
  }

  .ic-slide {
    width: 220px;
    height: 156px;
    border-radius: 14px;
  }
}

@media (max-width: 480px) {
  .img-carousel {
    padding: 30px 0;
  }

  .ic-track {
    gap: 10px;
    animation-duration: 24s;
  }

  .ic-slide {
    width: 160px;
    height: 116px;
    border-radius: 10px;
  }
}

/* Respect reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .ic-track {
    animation: none;
  }
}

