/* =========================================================================
   X7 DESIGN — APP DESIGN PAGE
   Namespaced stylesheet (prefix: ad- / .app-)
   Identity accent for the App service: emerald -> cyan
   (web = purple, graphic = blue, video = red, app = teal/cyan)
   Relies on /css/styles.css for the shared nav, footer & get-started modal.
   ========================================================================= */

:root {
  --ad-bg:        #0e0e0e;
  --ad-bg-soft:   #161312;
  --ad-panel:     #1a1614;
  --ad-line:      #ffffff14;
  --ad-line-2:    #ffffff0a;
  --ad-text:      #f6f1ee;
  --ad-muted:     #b2a79e;
  --ad-faint:     #7e7268;

  /* orange family — names kept semantic so every reference recolors */
  --ad-mint:      #ff9d2f;   /* bright amber (was teal accent)  */
  --ad-cyan:      #ff7a18;   /* core orange  (was cyan)         */
  --ad-blue:      #ff5e1a;   /* deep orange  (was blue)         */
  --ad-violet:    #ff4d4d;   /* warm coral   (was violet)       */

  --ad-grad:      linear-gradient(120deg, #ffb347 0%, #ff7a18 52%, #ff5e1a 100%);
  --ad-grad-soft: linear-gradient(120deg, rgba(255,154,47,.16), rgba(255,122,24,.12));
  --ad-glow:      0 0 60px rgba(255,122,24,.35);

  --ad-radius:    22px;
  --ad-radius-sm: 14px;
  --ad-ease:      cubic-bezier(.22,.61,.36,1);
  --ad-maxw:      1240px;
}
body{
background: #000;
}
/* ---- scope reset so we never touch shared components ---- */
.ad-page * { box-sizing: border-box; }
.ad-page {
  position: relative;
  width: 100%;
  max-width: 100%;
  background:
    radial-gradient(1200px 700px at 80% -10%, rgba(255,122,24,.12), transparent 60%),
    radial-gradient(900px 600px at -10% 20%, rgba(255,94,26,.10), transparent 55%),
    var(--ad-bg);
  color: var(--ad-text);
  overflow: clip;
}
.ad-page ::selection { background: rgba(255,122,24,.35); color:#fff; }

/* Page-scoped menu hover colour (overrides the shared purple, which uses !important) */
.ad-page nav a:hover,
.ad-page nav a:hover h4,
.ad-page nav a:hover h5,
.ad-page .submenu ul a:hover,
.ad-page .submenu ul a:hover h4,
.ad-page .submenu ul a li:hover h4 { color: #ff8c52 !important; }
/* mobile menu items */
.ad-page .mobile-nav a:hover span,
.ad-page .mobile-nav .menu-item:hover > span,
.ad-page .mobile-submenu .menu-item:hover h4,
.ad-page .mobile-nav a:hover .menu-item span { color: #ff8c52 !important; }

/* shared width wrapper */
.ad-wrap {
  width: 92%;
  max-width: var(--ad-maxw);
  margin-inline: auto;
}

/* eyebrow label used across sections */
.ad-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .72rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--ad-muted);
  font-weight: 500;
}
.ad-eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--ad-grad);
}

/* gradient text helper */
.ad-grad-text {
  background: var(--ad-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.web-btn-port, .graph-btn-port, .vid-btn-port, .app-btn-port{
background: rgb(179, 65, 11);
}
.web-btn-port:hover, .graph-btn-port:hover, .vid-btn-port:hover, .app-btn-port:hover{
   background: rgb(136, 47, 5);
}

/* =========================================================================
   HERO
   ========================================================================= */
.cover-sec1-ad {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  min-height: 100svh;
  overflow: hidden;
}
.cover-sec1-ad header {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
}

/* animated aurora / grid backdrop behind hero */
.ad-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.ad-hero-grid {
  position: absolute;
  inset: -2px;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 35%, #000 40%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 35%, #000 40%, transparent 78%);
}
.ad-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .55;
  will-change: transform;
}
.ad-orb.o1 { width: 520px; height: 520px; top: -160px; right: -120px;
  background: radial-gradient(circle at 30% 30%, #ff7a18, transparent 65%);
  animation: adFloat1 16s ease-in-out infinite; }
.ad-orb.o2 { width: 460px; height: 460px; bottom: -180px; left: -140px;
  background: radial-gradient(circle at 30% 30%, #ff9d2f, transparent 65%);
  animation: adFloat2 19s ease-in-out infinite; }
.ad-orb.o3 { width: 380px; height: 380px; top: 30%; left: 40%;
  background: radial-gradient(circle at 30% 30%, #ff5e1a, transparent 65%);
  opacity: .35; animation: adFloat3 22s ease-in-out infinite; }
@keyframes adFloat1 { 50% { transform: translate(-40px, 50px) scale(1.08); } }
@keyframes adFloat2 { 50% { transform: translate(50px, -40px) scale(1.1); } }
@keyframes adFloat3 { 50% { transform: translate(-60px, -30px) scale(.92); } }

.ad-hero-noise {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.4'/%3E%3C/svg%3E");
  opacity: .035;
  mix-blend-mode: overlay;
  pointer-events: none;
}

/* hero content layout */
.ad-hero-inner {
  position: relative;
  z-index: 3;
  width: 92%;
  max-width: var(--ad-maxw);
  margin-inline: auto;
  flex: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 3rem;
  padding: clamp(7rem, 12vh, 11rem) 0 4rem;
}

.ad-hero-copy { max-width: 640px; }

.ad-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .42rem .8rem .42rem .55rem;
  border: 1px solid var(--ad-line);
  border-radius: 100px;
  background: rgba(255,255,255,.03);
  backdrop-filter: blur(8px);
  font-size: .76rem; color: var(--ad-muted);
  margin-bottom: 1.6rem;
  opacity: 0; transform: translateY(14px);
  animation: adUp .7s var(--ad-ease) .15s forwards;
}
.ad-badge .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--ad-mint);
  box-shadow: 0 0 10px var(--ad-mint);
  animation: adPulse 2.4s ease-in-out infinite;
}
@keyframes adPulse { 50% { opacity:.35; transform:scale(.7);} }

.ad-hero-title {
  font-size: clamp(2.7rem, 6.4vw, 5.4rem);
  line-height: .98;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 1.4rem;
}
.cookie-banner button{
background-color: #cf540a;
}
.ad-hero-title .ln { display: block; overflow: hidden; }
.ad-hero-title .ln > span {
  display: inline-block;
  transform: translateY(110%);
  animation: adReveal .9s var(--ad-ease) forwards;
}
.ad-hero-title .ln:nth-child(1) > span { animation-delay: .25s; }
.ad-hero-title .ln:nth-child(2) > span { animation-delay: .38s; }
.ad-hero-title .ln:nth-child(3) > span { animation-delay: .51s; }
@keyframes adReveal { to { transform: translateY(0); } }

.ad-hero-sub {
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  line-height: 1.7;
  color: var(--ad-muted);
  margin: 0 0 2.2rem;
  max-width: 30em;
  opacity: 0; transform: translateY(16px);
  animation: adUp .8s var(--ad-ease) .65s forwards;
}

.ad-hero-cta {
  display: flex; flex-wrap: wrap; gap: .9rem; align-items: center;
  opacity: 0; transform: translateY(16px);
  animation: adUp .8s var(--ad-ease) .8s forwards;
}
.ad-btn {
  --b: 0;
  position: relative;
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .95rem 1.6rem;
  border-radius: 100px;
  font-size: .95rem; font-weight: 600;
  cursor: pointer; border: none;
  text-decoration: none;
  transition: transform .35s var(--ad-ease), box-shadow .35s var(--ad-ease);
}
.ad-btn-primary {
  color: #03121a;
  background: var(--ad-grad);
}
.ad-btn-primary:hover { transform: translateY(-3px); }
.ad-btn-primary .arr { display: inline-flex; align-items: center; transition: transform .35s var(--ad-ease); }
.ad-btn-primary .arr svg { width: 18px; height: 18px; display: block; }
.ad-btn-primary:hover .arr { transform: translateX(4px); }
.ad-btn-ghost {
  color: var(--ad-text);
  background: rgba(255,255,255,.04);
  border: 1px solid var(--ad-line);
  backdrop-filter: blur(8px);
}
.ad-btn-ghost:hover { transform: translateY(-3px); border-color: rgba(255,122,24,.5); color:#fff; }
.ad-btn-ghost .ico {
  width: 20px; height: 20px;
  display: grid; place-items: center;
  color: var(--ad-mint);
}
.ad-btn-ghost .ico svg { width: 18px; height: 18px; }
.ad-btn-ghost:hover .ico { color: var(--ad-cyan); }

/* hero stat row */
.ad-hero-stats {
  display: flex; gap: 2.4rem; margin-top: 2.6rem;
  opacity: 0; transform: translateY(16px);
  animation: adUp .8s var(--ad-ease) .95s forwards;
}
.ad-stat .n {
  font-size: 1.7rem; font-weight: 700; letter-spacing: -.02em;
  display: flex; align-items: baseline; gap: .12rem;
}
.ad-stat .n i { font-style: normal; color: var(--ad-mint); }
.ad-stat .l { font-size: .78rem; color: var(--ad-faint); margin-top: .1rem; }
.ad-stat + .ad-stat { position: relative; }
.ad-stat + .ad-stat::before {
  content:""; position:absolute; left:-1.2rem; top:50%; transform:translateY(-50%);
  width:1px; height:34px; background: var(--ad-line);
}

/* ---- hero phone composition (right side) ---- */
.ad-hero-visual {
  position: relative;
  height: 540px;
  display: grid;
  place-items: center;
  opacity: 0;
  animation: adFade 1s var(--ad-ease) .55s forwards;
}
@keyframes adFade { to { opacity: 1; } }

.ad-phone-stack { position: relative; width: 280px; height: 560px; transform: rotateY(-14deg) rotateX(4deg); transform-style: preserve-3d; }
.ad-hero-visual { perspective: 1400px; }

.ad-phone {
  position: absolute;
  width: 260px; height: 540px;
  border-radius: 42px;
  background: linear-gradient(160deg, #14181f, #090b0f);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.9), inset 0 0 0 1px rgba(255,255,255,.03);
  padding: 12px;
  will-change: transform;
}
.ad-phone .scr {
  width: 100%; height: 100%;
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  background: #0a0c10;
}
.ad-phone .notch {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 90px; height: 22px; border-radius: 20px;
  background: #05070a; z-index: 4;
}
.ad-phone.back {
  transform: translate(46px, 30px) rotate(8deg) scale(.92);
  filter: brightness(.6) saturate(.8);
  z-index: 1;
}
.ad-phone.front {
  z-index: 3;
  animation: adPhoneBob 6s ease-in-out infinite;
}
@keyframes adPhoneBob { 50% { transform: translateY(-16px); } }

/* mini app UI inside the front phone */
.ui-app { position:absolute; inset:0; padding:34px 16px 16px; display:flex; flex-direction:column; gap:12px;
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(255,122,24,.22), transparent 60%),
    linear-gradient(180deg,#0c0f15,#07090c 80%);
}
.ui-row { display:flex; align-items:center; justify-content:space-between; }
.ui-h { font-size:.95rem; font-weight:700; color:#fff; }
.ui-pill { font-size:.5rem; padding:.25rem .5rem; border-radius:100px; background:var(--ad-grad); color:#04121a; font-weight:700; }
.ui-card { border-radius:16px; padding:14px; background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.06); }
.ui-card.hero-c { background:var(--ad-grad); color:#04121a; }
.ui-card.hero-c .big { font-size:1.5rem; font-weight:800; line-height:1; }
.ui-card.hero-c .sm { font-size:.55rem; opacity:.8; margin-top:4px; }
.ui-bars { display:flex; align-items:flex-end; gap:6px; height:54px; margin-top:8px; }
.ui-bars span { flex:1; border-radius:4px 4px 0 0; background:rgba(255,255,255,.5); animation:adBar 2.6s var(--ad-ease) infinite; }
.ui-bars span:nth-child(1){height:40%;animation-delay:0s}
.ui-bars span:nth-child(2){height:70%;animation-delay:.2s}
.ui-bars span:nth-child(3){height:55%;animation-delay:.4s}
.ui-bars span:nth-child(4){height:90%;animation-delay:.6s}
.ui-bars span:nth-child(5){height:65%;animation-delay:.8s}
@keyframes adBar { 0%,100%{opacity:.5;transform:scaleY(.85)} 50%{opacity:1;transform:scaleY(1)} }
.ui-list { display:flex; flex-direction:column; gap:8px; }
.ui-li { display:flex; align-items:center; gap:8px; }
.ui-ico { width:26px;height:26px;border-radius:8px;background:rgba(255,122,24,.2);flex:none; }
.ui-ln { flex:1; }
.ui-ln b { display:block;height:7px;width:60%;border-radius:4px;background:rgba(255,255,255,.45);margin-bottom:4px; }
.ui-ln i { display:block;height:5px;width:35%;border-radius:4px;background:rgba(255,255,255,.18); }

/* floating glass chips around phone */
.ad-chip {
  position:absolute; z-index:4;
  display:flex; align-items:center; gap:.5rem;
  padding:.55rem .8rem; border-radius:14px;
  background:rgba(12,16,22,.7); border:1px solid rgba(255,255,255,.1);
  backdrop-filter:blur(14px);
  font-size:.72rem; color:#dfe6ee;
  box-shadow:0 20px 50px -20px rgba(0,0,0,.8);
}
.ad-chip .ci { width:24px;height:24px;border-radius:8px;display:grid;place-items:center;background:var(--ad-grad);color:#04121a;font-size:.7rem; }
.ad-chip.c1 { top:60px; left:-36px; animation: adChip 7s ease-in-out infinite; }
.ad-chip.c2 { bottom:90px; right:-44px; animation: adChip 8s ease-in-out infinite .5s; }
.ad-chip.c3 { bottom:-6px; left:10px; animation: adChip 6.5s ease-in-out infinite 1s; }
@keyframes adChip { 50% { transform: translateY(-12px); } }
.get-started-button::before{
background: linear-gradient(90deg, transparent, #ffb38e, transparent) !important;
}
.ad-scroll-cue {
  position:absolute; bottom:26px; left:50%; transform:translateX(-50%);
  z-index:3; display:flex; flex-direction:column; align-items:center; gap:.5rem;
  font-size:.66rem; letter-spacing:.2em; text-transform:uppercase; color:var(--ad-faint);
  opacity:0; animation: adUp .8s var(--ad-ease) 1.2s forwards;
}
.ad-scroll-cue .mouse {
  width:22px; height:34px; border:1.5px solid rgba(255,255,255,.25); border-radius:12px;
  display:flex; justify-content:center; padding-top:6px;
}
.ad-scroll-cue .mouse i { width:3px;height:7px;border-radius:3px;background:var(--ad-mint);animation:adWheel 1.8s ease-in-out infinite; }
@keyframes adWheel { 0%{opacity:0;transform:translateY(-4px)} 30%{opacity:1} 60%{opacity:0;transform:translateY(8px)} 100%{opacity:0} }

/* shared up/in keyframe */
@keyframes adUp { to { opacity:1; transform:none; } }

/* =========================================================================
   MARQUEE / TRUST STRIP
   ========================================================================= */
.ad-marquee {
  position: relative; z-index: 2;
  width: 100%;
  border-top: 1px solid var(--ad-line-2);
  border-bottom: 1px solid var(--ad-line-2);
  padding: 1.4rem 0;
  overflow: hidden;
  background: rgba(255,255,255,.012);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.ad-marquee-track {
  display: flex;
  width: max-content;
  will-change: transform;
  transform: translate3d(0,0,0);
  backface-visibility: hidden;
  animation: adScroll 40s linear infinite;
}
.ad-marquee:hover .ad-marquee-track { animation-play-state: paused; }
.ad-marquee-item { display:flex; align-items:center; gap:.7rem; color:var(--ad-faint); font-weight:600; font-size:1.05rem; white-space:nowrap; padding: 0 1.7rem; }
.ad-marquee-item svg { width:20px;height:20px;opacity:.7; }
@keyframes adScroll {
  from { transform: translate3d(0,0,0); }
  to   { transform: translate3d(-50%,0,0); }
}

/* =========================================================================
   GENERIC SECTION SHELL
   ========================================================================= */
.ad-section { position: relative; z-index: 2; width: 100%; display: block; padding: clamp(5rem, 11vh, 8.5rem) 0; overflow: visible; }
.ad-section-head { max-width: 720px; margin-bottom: 3.2rem; }
.ad-section-head.center { margin-inline: auto; text-align: center; }
.ad-h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.05; letter-spacing: -.02em; font-weight: 700;
  margin: 1rem 0 1rem;
}
.ad-lead { font-size: 1.05rem; line-height: 1.7; color: var(--ad-muted); margin: 0; }

/* reveal-on-scroll — progressive enhancement.
   Hidden ONLY when JS has armed it (html.ad-js). Without JS, content shows. */
.ad-reveal { opacity: 1; transform: none; transition: opacity .8s var(--ad-ease), transform .8s var(--ad-ease); }
html.ad-js .ad-reveal { opacity: 0; transform: translateY(34px); }
html.ad-js .ad-reveal.in { opacity: 1; transform: none; }
.ad-reveal.d1 { transition-delay: .08s; }
.ad-reveal.d2 { transition-delay: .16s; }
.ad-reveal.d3 { transition-delay: .24s; }
.ad-reveal.d4 { transition-delay: .32s; }

/* =========================================================================
   SHOWCASE SLIDER (the apps we designed)
   ========================================================================= */
.ad-showcase { overflow: hidden; }
.ad-showcase-head {
  display:flex; align-items:flex-end; justify-content:space-between; gap:2rem;
  width:92%; max-width:var(--ad-maxw); margin:0 auto 2.6rem;
}
.ad-slider-controls { display:flex; gap:.7rem; }
.ad-sl-btn {
  width:52px; height:52px; border-radius:50%;
  display:grid; place-items:center; cursor:pointer;
  background: rgba(255,255,255,.04); border:1px solid var(--ad-line);
  color:#fff; transition: all .3s var(--ad-ease);
}
.ad-sl-btn:hover { border-color: rgba(255,122,24,.6); background: var(--ad-grad-soft); transform: translateY(-2px); }
.ad-sl-btn:disabled { opacity:.3; cursor:not-allowed; transform:none; }
.ad-sl-btn svg { width:20px;height:20px; }

.ad-slider-viewport {
  width: 100%;
  cursor: grab;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.ad-slider-viewport.dragging { cursor: grabbing; }
.ad-slider-track {
  display: flex;
  gap: 1.8rem;
  padding: 1rem calc((100% - min(92%, var(--ad-maxw)))/2 + 4%);
  transition: transform .75s var(--ad-ease);
  will-change: transform;
}
.ad-slide {
  flex: 0 0 auto;
  width: clamp(280px, 30vw, 380px);
  border-radius: var(--ad-radius);
  overflow: hidden;
  position: relative;
  background: var(--ad-panel);
  border: 1px solid var(--ad-line);
  transition: transform .5s var(--ad-ease), border-color .5s var(--ad-ease), box-shadow .5s var(--ad-ease);
  user-select: none;
}
.ad-slide:hover {
  transform: translateY(-10px);
  border-color: rgba(255,122,24,.4);
  box-shadow: 0 40px 80px -30px rgba(255,122,24,.35);
}
.ad-slide-vis {
  position: relative;
  height: 320px;
  display: grid; place-items: center;
  overflow: hidden;
}
.ad-slide-vis::after {
  content:""; position:absolute; inset:0;
  background: linear-gradient(180deg, transparent 50%, rgba(5,6,8,.9));
}
/* per-app gradient washes (warm family) */
.ad-slide.g1 .ad-slide-vis { background: radial-gradient(120% 90% at 50% 0%, #5a3a14, #18120a); }
.ad-slide.g2 .ad-slide-vis { background: radial-gradient(120% 90% at 50% 0%, #5a2a0d, #160c06); }
.ad-slide.g3 .ad-slide-vis { background: radial-gradient(120% 90% at 50% 0%, #522a1d, #180e0a); }
.ad-slide.g4 .ad-slide-vis { background: radial-gradient(120% 90% at 50% 0%, #4a2914, #170c06); }
.ad-slide.g5 .ad-slide-vis { background: radial-gradient(120% 90% at 50% 0%, #4f2a10, #1c1006); }
.ad-slide.g6 .ad-slide-vis { background: radial-gradient(120% 90% at 50% 0%, #4a3214, #1c1407); }

/* mini phone inside each slide */
.mini-phone {
  position: relative; z-index: 2;
  width: 150px; height: 300px; margin-top: 40px;
  border-radius: 28px; padding: 8px;
  background: linear-gradient(160deg,#1a1f27,#0a0c11);
  border:1px solid rgba(255,255,255,.1);
  box-shadow: 0 30px 60px -24px rgba(0,0,0,.8);
  transition: transform .6s var(--ad-ease);
}
.ad-slide:hover .mini-phone { transform: translateY(-8px) scale(1.02); }
.mini-phone .mscr { width:100%;height:100%;border-radius:21px;overflow:hidden;position:relative;background:#0a0c10;object-fit: cover; display: flex; }
.mini-phone .mnotch { position:absolute;top:8px;left:50%;transform:translateX(-50%);width:50px;height:12px;border-radius:10px;background:#05070a;z-index:3; }

/* "Coming soon" overlay on placeholder app phones (slides 2-6) */
.mini-coming-soon {
  position: absolute; inset: 0; z-index: 4;
  display: flex; align-items: center; justify-content: center;
  background: rgba(8,8,8,.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.mini-coming-soon span {
  font-family: 'Poppins', sans-serif;
  font-size: .82rem; font-weight: 600; letter-spacing: .02em;
  color: #fff;
  padding: .42rem .9rem; border-radius: 100px;
  background: rgba(20,20,20,.7);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 8px 24px -8px rgba(0,0,0,.6);
}

.mini-ui { position:absolute; inset:0; padding:22px 10px 10px; display:flex; flex-direction:column; gap:8px; }
.mui-top { height:8px;width:50%;border-radius:4px;background:rgba(255,255,255,.5); }
.mui-hero { border-radius:12px; padding:10px; color:#04121a; }
.mui-hero .mh-n { font-size:1.1rem;font-weight:800;line-height:1; }
.mui-hero .mh-s { font-size:.45rem;opacity:.85;margin-top:3px; }
.mui-grid { display:grid; grid-template-columns:1fr 1fr; gap:6px; }
.mui-box { height:34px; border-radius:9px; background:rgba(255,255,255,.06); }
.mui-bar { height:8px; border-radius:4px; background:rgba(255,255,255,.12); }
.mui-bar.w70{width:70%}.mui-bar.w40{width:40%}.mui-bar.w85{width:85%}

.ad-slide-body { padding: 1.4rem 1.5rem 1.6rem; position:relative; z-index:3; }
.ad-slide-cat { font-size:.68rem; letter-spacing:.16em; text-transform:uppercase; color:var(--ad-mint); font-weight:600; }
.ad-slide-title { font-size:1.3rem; font-weight:700; margin:.5rem 0 .4rem; letter-spacing:-.01em; }
.ad-slide-desc { font-size:.88rem; line-height:1.6; color:var(--ad-muted); margin:0 0 1.1rem; }
.ad-slide-tags { display:flex; flex-wrap:wrap; gap:.4rem; }
.ad-tag { font-size:.68rem; padding:.32rem .65rem; border-radius:100px; background:rgba(255,255,255,.05); border:1px solid var(--ad-line); color:var(--ad-faint); }

/* progress bar under slider */
.ad-slider-progress {
  width: 92%; max-width: var(--ad-maxw); margin: 2.4rem auto 0;
  height: 3px; border-radius: 4px; background: rgba(255,255,255,.07); overflow:hidden;
}
.ad-slider-progress i { display:block; height:100%; border-radius:4px; background:var(--ad-grad); width:25%; transition: all .6s var(--ad-ease); }

/* =========================================================================
   PROCESS  (typed sequence -> numbered IS meaningful here)
   ========================================================================= */
.ad-process-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:1.4rem; }
.ad-step {
  position:relative; padding:2rem 1.6rem; border-radius:var(--ad-radius);
  background: var(--ad-bg-soft); border:1px solid var(--ad-line);
  overflow:hidden;
  transition: border-color .4s var(--ad-ease), transform .4s var(--ad-ease);
}
.ad-step::before {
  content:""; position:absolute; inset:0;
  background: var(--ad-grad-soft); opacity:0; transition:opacity .4s var(--ad-ease);
}
.ad-step:hover { transform:translateY(-6px); border-color:rgba(255,122,24,.35); }
.ad-step:hover::before { opacity:1; }
.ad-step > * { position:relative; z-index:2; }
.ad-step-n {
  font-size:.8rem; font-weight:700; letter-spacing:.1em;
  color:var(--ad-mint);
  display:inline-flex; align-items:center; gap:.5rem; margin-bottom:1.4rem;
}
.ad-step-n::after { content:""; flex:1; height:1px; background:var(--ad-line); width:40px; }
.ad-step h3 { font-size:1.2rem; font-weight:700; margin:0 0 .6rem; }
.ad-step p { font-size:.88rem; line-height:1.6; color:var(--ad-muted); margin:0; }

/* =========================================================================
   FEATURES BENTO
   ========================================================================= */
.ad-bento { display:grid; grid-template-columns:repeat(6,1fr); grid-auto-rows:minmax(190px,auto); gap:1.4rem; }
.ad-cell {
  position:relative; border-radius:var(--ad-radius);
  background:var(--ad-bg-soft); border:1px solid var(--ad-line);
  padding:1.9rem; overflow:hidden;
  transition: border-color .4s var(--ad-ease), transform .4s var(--ad-ease);
}
.ad-cell:hover { border-color:rgba(255,122,24,.4); transform:translateY(-4px); }
.ad-cell .glow { position:absolute; width:240px;height:240px;border-radius:50%;filter:blur(70px);opacity:0;transition:opacity .5s; }
.ad-cell:hover .glow { opacity:.4; }
.ad-cell.a { grid-column: span 3; }
.ad-cell.b { grid-column: span 3; }
.ad-cell.c { grid-column: span 2; }
.ad-cell.d { grid-column: span 2; }
.ad-cell.e { grid-column: span 2; }
.ad-cell-ico {
  width:48px;height:48px;border-radius:14px;display:grid;place-items:center;
  background:var(--ad-grad-soft); border:1px solid var(--ad-line); margin-bottom:1.2rem;
}
.ad-cell-ico svg { width:24px;height:24px;color:var(--ad-mint); }
.ad-cell h3 { font-size:1.25rem; font-weight:700; margin:0 0 .5rem; letter-spacing:-.01em; }
.ad-cell p { font-size:.9rem; line-height:1.65; color:var(--ad-muted); margin:0; max-width:38ch; }
.ad-cell .big-num { font-size:clamp(2.4rem,5vw,3.6rem); font-weight:800; letter-spacing:-.03em; line-height:1; margin-bottom:.4rem; }

/* platform pills inside bento */
.ad-platforms { display:flex; gap:.7rem; flex-wrap:wrap; margin-top:1.2rem; }
.ad-plat { display:flex;align-items:center;gap:.5rem;padding:.5rem .9rem;border-radius:100px;background:rgba(255,255,255,.04);border:1px solid var(--ad-line);font-size:.82rem;color:var(--ad-text); }
.ad-plat svg { width:16px;height:16px; }

/* =========================================================================
   TECH STACK STRIP
   ========================================================================= */
.ad-stack { display:flex; flex-wrap:wrap; gap:.8rem; justify-content:center; }
.ad-stack span {
  padding:.7rem 1.2rem; border-radius:100px;
  background:rgba(255,255,255,.03); border:1px solid var(--ad-line);
  font-size:.9rem; color:var(--ad-muted);
  transition: all .3s var(--ad-ease);
}
.ad-stack span:hover { color:#fff; border-color:rgba(255,122,24,.5); transform:translateY(-3px); }

/* =========================================================================
   CTA BANNER
   ========================================================================= */
.ad-cta-section { width: 100%; display: block; padding: clamp(4rem,9vh,7rem) 0; overflow: visible; }
.ad-cta-card {
  position:relative; width:92%; max-width:var(--ad-maxw); margin-inline:auto;
  border-radius:32px; overflow:hidden;
  padding: clamp(3rem,7vw,5.5rem) clamp(1.5rem,5vw,5rem);
  background: linear-gradient(120deg,#00000030,#00000030);
  border:1px solid rgba(255,122,24,.25);
  text-align:center;
}
.cover-section7{
  background: #000;
}
.div-down-list ul li{
  color: rgb(139, 120, 112);
}
.x7-description-logo-footer p{
  color: rgb(139, 120, 112);
}
.div-up-right-div h3{
  color: rgb(139, 120, 112);
}
.not-allowed-yet li{
  color: rgba(58, 50, 45, 0.59) !important;
}
.support-icon-container{
  background: #b3410b;
}
.media-container-sec7 a:hover {
    background: #d16119 !important;
}
.not-allowed-yet:hover .not-allowed-link {
    background: #d16119 !important;
}
.not-allowed-yet:hover .not-allowed-link {
    display: flex;
    left: 0.5rem;
    background: #d16119;
    opacity: 1;
}
  ::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #FF6400, #ff6400); /* Blue gradient */
    border-radius: 10px;
    border: 2px solid transparent; /* Creates a gap from track edge */
    background-clip: content-box; /* Prevents background from bleeding into border */
  }

  ::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #ff6400, #ff6400);
  }
.get-started-button{
  box-shadow: 0px 1px #e1540f, 0px -1px #fbae9c, 0px -5px 8px -6px #ffb091, 0px 3px 8px -3px #cb6900, inset 0px 0px 15px -5px #e86138a3, inset 0px 0px 3px 0px #170601f2;
  color: #ffe1db;
}
  .get-started-button:hover{
    color: #fff;
    background: rgba(0, 0, 0, 0);
    box-shadow: 0px 1px #e1540f, 0px -1px #fbae9c, 0px -5px 8px -5px #ffb091, 0px 3px 4px -3px #cb6900, inset 0px 0px 25px -5px #e86138a3,inset 0px 0px 3px 0px #170601f2;
  }
.ad-cta-card::before {
  content:""; position:absolute; inset:0;
  background: radial-gradient(70% 120% at 50% 0%, rgba(255,122,24,.25), transparent 60%);
}
.ad-cta-card::after {
  content:""; position:absolute; width:520px;height:520px;border-radius:50%;
  bottom:-300px;left:50%;transform:translateX(-50%);
  background: radial-gradient(circle, rgba(255,154,47,.3), transparent 65%);
  filter:blur(40px);
}
.ad-cta-card > * { position:relative; z-index:2; }
.ad-cta-card h2 { font-size:clamp(2rem,4.5vw,3.4rem); font-weight:700; letter-spacing:-.02em; margin:1rem 0 1rem; }
.ad-cta-card p { font-size:1.05rem; color:var(--ad-muted); max-width:46ch; margin:0 auto 2.2rem; line-height:1.7; }
.ad-cta-actions { display:flex; gap:1rem; justify-content:center; flex-wrap:wrap; }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1080px) {
  .ad-hero-inner { grid-template-columns: 1fr; gap: 2rem; padding-top: 8rem; text-align:left; }
  .ad-hero-visual { height: 480px; }
  .ad-phone, .ad-phone-stack { transform:none; }
  .ad-phone.back { transform: translate(40px,24px) rotate(8deg) scale(.92); }
  .ad-bento { grid-template-columns: repeat(4,1fr); }
  .ad-cell.a,.ad-cell.b { grid-column: span 2; }
  .ad-cell.c,.ad-cell.d,.ad-cell.e { grid-column: span 2; }
  .ad-process-grid { grid-template-columns: repeat(2,1fr); }
}

/* Tablet & below: copy reads first, decorative chips off (they're composed
   for the desktop side-by-side layout and clip on narrow screens). */
@media (max-width: 900px) {
  .ad-hero-copy { order: 1; }
  .ad-hero-visual { order: 2; height: 460px; }
  .ad-chip { display: none; }
}
@media (max-width: 760px) {
  .ad-hero-inner { padding-top: 7rem; gap: 2.6rem; }
  .ad-hero-visual { height: 440px; }
  .ad-phone { width:230px;height:478px; }
  .ad-phone .scr { border-radius:28px; }
  .ad-hero-stats { gap:1.6rem; flex-wrap:wrap; }
  .ad-stat + .ad-stat::before { display:none; }
  .ad-scroll-cue { display: none; }
  .ad-showcase-head { flex-direction:column; align-items:flex-start; }
  .ad-slider-controls { align-self:flex-end; }
  .ad-bento { grid-template-columns: 1fr; }
  .ad-cell.a,.ad-cell.b,.ad-cell.c,.ad-cell.d,.ad-cell.e { grid-column: span 1; }
  .ad-process-grid { grid-template-columns: 1fr; }
  .ad-marquee-item { font-size:.95rem; }
}
@media (max-width: 480px) {
  .ad-hero-title { font-size: 2.5rem; }
  .ad-btn { padding:.85rem 1.3rem; font-size:.9rem; }
  .ad-hero-cta { width:100%; }
  .ad-btn-primary { flex:1; justify-content:center; }
  .ad-slide { width: 78vw; }
  .ad-sl-btn { width:46px;height:46px; }
  .ad-cta-card { border-radius:24px; }
  .ad-phone { width:210px;height:436px; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  .ad-page *,
  .ad-page *::before,
  .ad-page *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .15s !important;
  }
  .ad-reveal { opacity:1; transform:none; }
  .ad-hero-title .ln > span { transform:none; }
}

/* =========================================================================
   SLIDE "VIEW GALLERY" AFFORDANCE
   ========================================================================= */
.ad-slide-vis { position: relative; }
.ad-slide-icon {
  position: absolute; z-index: 5; top: 14px; left: 14px;
  width: clamp(40px, 4.2vw, 54px);
  height: clamp(40px, 4.2vw, 54px);
  border-radius: clamp(11px, 1.2vw, 15px);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 8px 22px -8px rgba(0,0,0,.7);
  background: #1a1614;
}
.ad-slide-icon img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

.ad-slide-view {
  position: absolute; z-index: 5; top: 14px; right: 14px;
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .5rem .8rem; border-radius: 100px; cursor: pointer;
  background: rgba(14,14,14,.6); border: 1px solid rgba(255,255,255,.16);
  color: #fff; font-size: .76rem; font-weight: 600;
  font-family: 'Poppins', sans-serif;
  backdrop-filter: blur(10px);
  opacity: 0; transform: translateY(-6px);
  transition: 0.3s ease;
}
.ad-slide-view svg { width: 15px; height: 15px; }
.ad-slide-view span { white-space: nowrap; }
.ad-slide:hover .ad-slide-view { opacity: 1; transform: translateY(0); }
.ad-slide-view:hover { background: var(--ad-grad); color: #1a0e04; border-color: transparent; }
/* always visible on touch devices (no hover) */
@media (hover: none) {
  .ad-slide-view { opacity: 1; transform: none; }
}

/* =========================================================================
   APP GALLERY LIGHTBOX
   ========================================================================= */
.ad-gallery {
  position: fixed; inset: 0; z-index: 99999;
  display: none; align-items: center; justify-content: center;
  padding: clamp(.75rem, 2vh, 1.5rem);
}
.ad-gallery.open { display: flex; }
.ad-gallery-backdrop {
  position: absolute; inset: 0;
  background: rgba(6,6,6,.86);
  backdrop-filter: blur(14px);
  animation: adGalFade .3s ease forwards;
}
@keyframes adGalFade { from { opacity: 0; } to { opacity: 1; } }
.ad-gallery-stage {
  position: relative; z-index: 2;
  width: min(440px, 90vw);
  max-height: 100%;
  display: flex; flex-direction: column; align-items: center;
  gap: clamp(.6rem, 1.6vh, 1.2rem);
  animation: adGalPop .4s var(--ad-ease) forwards;
}
@keyframes adGalPop { from { opacity: 0; transform: scale(.94) translateY(10px); } to { opacity: 1; transform: none; } }
.ad-gallery-head { text-align: center; flex: none; }
.ad-gallery-cat { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ad-mint); font-weight: 600; }
.ad-gallery-title { font-size: clamp(1.1rem, 1.4vw + .6rem, 1.5rem); font-weight: 700; margin: .3rem 0 0; color: #fff; }

.ad-gallery-viewport {
  width: 100%;
  flex: 1 1 auto;        /* take the remaining height between header and dots */
  min-height: 0;         /* allow it to shrink inside the flex column */
  overflow: hidden; border-radius: 30px;
  display: flex;
}
.ad-gallery-track { display: flex; flex: 1; min-height: 0; transition: transform .5s var(--ad-ease); will-change: transform; }
.ad-gallery-slide {
  flex: 0 0 100%;
  min-height: 0; min-width: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 4px 0;
}
/* phone frame around each gallery image — height-capped so it always fits.
   height drives the box; aspect-ratio sets width; max-width clamps very tall
   screens; the parent flex (min-height:0) guarantees it never overflows. */
.ad-gallery-phone {
  height: 100%;
  max-height: 100%;
  aspect-ratio: 9 / 18.7;
  width: auto;
  max-width: min(300px, 82vw);
  border-radius: 36px; padding: 10px;
  background: linear-gradient(160deg,#1a1614,#0c0a09);
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.9);
}
.ad-gallery-phone .gscr {
  width: 100%; height: 100%; border-radius: 27px; overflow: hidden;
  position: relative; background: #0c0a09;
}
.ad-gallery-phone .gscr img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* empty state shown until images are added */
.ad-gallery-empty {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .9rem; color: var(--ad-faint); text-align: center; padding: 1rem;
}
.ad-gallery-empty svg { width: 38px; height: 38px; opacity: .6; }
.ad-gallery-empty p { font-family: 'Poppins', sans-serif; font-size: .9rem; margin: 0; }

.ad-gallery-dots { display: flex; gap: .5rem; flex: none; }
.ad-gallery-dots i {
  width: 8px; height: 8px; border-radius: 50%; cursor: pointer;
  background: rgba(255,255,255,.25); transition: all .3s var(--ad-ease);
}
.ad-gallery-dots i.on { background: var(--ad-grad); width: 22px; border-radius: 5px; }

.ad-gallery-close {
  position: absolute; top: clamp(.75rem, 2vh, 1.4rem); right: clamp(.9rem, 2vw, 1.6rem); z-index: 4;
  width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  color: #fff; font-size: 1.6rem; line-height: 1;
  display: grid; place-items: center;
  transition: all .3s var(--ad-ease);
}
.ad-gallery-close:hover { background: var(--ad-grad); color: #1a0e04; border-color: transparent; transform: rotate(90deg); }

.ad-gallery-nav {
  position: relative; z-index: 4;
  width: 54px; height: 54px; border-radius: 50%; cursor: pointer; flex: none;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  color: #fff; display: grid; place-items: center;
  margin: 0 1rem;
  transition: all .3s var(--ad-ease);
}
.ad-gallery-nav:hover { background: var(--ad-grad-soft); border-color: rgba(255,122,24,.6); transform: translateY(-2px); }
.ad-gallery-nav svg { width: 22px; height: 22px; }

@media (max-width: 760px) {
  .ad-gallery { padding: 1rem .5rem; }
  .ad-gallery-nav { width: 42px; height: 42px; margin: 0 .25rem; }
  .ad-gallery-close { top: .8rem; right: .8rem; width: 42px; height: 42px; }
}

/* Short viewports (landscape laptops, small windows): tighten everything
   so the title stays on-screen and the phone never clips at the bottom. */
@media (max-height: 760px) {
  .ad-gallery { padding: .6rem; }
  .ad-gallery-stage { gap: .5rem; }
  .ad-gallery-title { font-size: clamp(1rem, 2.6vh, 1.3rem); margin-top: .15rem; }
  .ad-gallery-cat { font-size: .62rem; }
  .ad-gallery-phone { padding: 7px; border-radius: 30px; max-height: calc(100vh - 130px); }
  .ad-gallery-phone .gscr { border-radius: 23px; }
  .ad-gallery-nav { width: 44px; height: 44px; }
}
@media (max-height: 560px) {
  .ad-gallery-head { display: none; }   /* reclaim vertical space on very short screens */
  .ad-gallery-stage { gap: .4rem; }
  .ad-gallery-phone { max-height: calc(100vh - 60px); }
}