@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700;800;900&family=Inter:wght@400;500;600;700&display=swap');

/* IMAYX FORGE UI layer — loaded LAST on every page, after glass.css.
   Re-skins the whole site in the FORGE design language: near-black ground,
   #FF4D00 orange accent, Barlow Condensed uppercase headings, Inter body,
   grain overlay, glowing CTAs, staggered reveals (forge.js).
   Overrides only look & motion. No layout or content rules. The one
   header rule is the restoration pin at the very bottom of this file:
   it puts the bar back on the ORIGINAL v19.44 glass recipe so the
   accent remap can never tint it. */

:root{
  /* FORGE palette */
  --f-bg: hsl(0 0% 3%);
  --f-muted-bg: hsl(0 0% 8%);
  --f-card: hsl(0 0% 6%);
  --f-ink: hsl(0 0% 97%);
  --f-muted: hsl(0 0% 55%);
  --f-border: hsl(0 0% 14%);
  --f-orange: #FF4D00;
  --f-orange-hi: #FF7A29;
  --f-orange-soft: #FFB03A;
  --f-grad: linear-gradient(120deg, #FF4D00, #FF7A29 55%, #FFB03A);

  /* remap the glass accents -> orange family */
  --g1: #FF4D00;
  --g2: #FF7A29;
  --g3: #FFB03A;
  --g-grad: var(--f-grad);
  --g-glass: linear-gradient(145deg, hsl(0 0% 100% / .06), hsl(0 0% 100% / .02));
  --g-edge: hsl(0 0% 14%);
  --g-shadow: 0 18px 50px -18px rgba(0,0,0,.85);

  /* remap the site tokens -> FORGE system */
  --color-paper: hsl(0 0% 3%);
  --color-paper-2: hsl(0 0% 6%);
  --color-paper-3: hsl(0 0% 8%);
  --color-ink: hsl(0 0% 97%);
  --color-ink-2: hsl(0 0% 82%);
  --color-muted: hsl(0 0% 55%);
  --color-rule: hsl(0 0% 14%);
  --color-line-strong: hsl(0 0% 28%);
  --color-accent: #FF4D00;
  --color-accent-hi: #FF7A29;
  --color-accent-deep: #C23A00;
  --color-accent-2: #FFB03A;
  --color-accent-ink: hsl(0 0% 5%);
  --color-focus: #FF7A29;
  --font-body: "Inter", ui-sans-serif, system-ui, sans-serif;
  --glass: hsl(0 0% 6% / .58);

  /* light "well" sections become FORGE muted sections */
  --color-well: hsl(0 0% 8%);
  --color-well-2: hsl(0 0% 6%);
  --color-well-ink: hsl(0 0% 97%);
  --color-well-muted: hsl(0 0% 55%);
  --color-well-rule: hsl(0 0% 14%);
  --color-well-line: hsl(0 0% 30%);
}

/* ---------- page ground: near-black, Inter body ---------- */
html{background:#070707}
body{font-family:"Inter",ui-sans-serif,system-ui,sans-serif}

/* ---------- aurora: REMOVED (user order 2026-11-20: "colour bola tha,
   header glass nhi") — the orange drift over the page is gone; the
   ground is plain near-black from top to bottom. ---------- */
html::before{
  background:none;
}

/* ---------- header wash: REMOVED (same user order 2026-11-20) —
   no orange fade, no sweep band. Nothing colours the top of the page
   or the space behind the header any more. ---------- */
html::after{
  background:none;
}

/* ---------- page hero glows: REMOVED (same user order 2026-11-20) —
   no radial glow at the top of any page; the hero sits on the same
   plain near-black as the rest of the page. ---------- */
body.top-glow::before{
  background:none;
}
body.home-glow::before{
  background:none;
}
/* WhatsAyX landing: the page-local hero band colour is removed too. */
body.hero-glow .hero{
  background:none!important;
}
body.home-glow::after{
  background:none;
}

/* ---------- typography: Barlow Condensed uppercase headings ---------- */
h1,h2,h3{
  font-family:"Barlow Condensed","Inter",ui-sans-serif,sans-serif;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:-.01em;
}
.kick,.eyebrow,.sec-kick,.label,.tag-label,.over-title,.pre-title{
  font-family:"Barlow Condensed","Inter",sans-serif;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.2em;
  color:var(--f-orange);
}
/* big numbers in orange Barlow */
.gw-count,.count-num{font-family:"Barlow Condensed","Inter",sans-serif;font-weight:800}

/* ---------- cards: FORGE card ground + border, orange border on hover ---------- */
.glass,.card,.fi-card,.vf-card,.sponsor-card,.ayx-wall-card,.verify-wrap .card{
  background:var(--f-card)!important;
  border:1px solid var(--f-border)!important;
  box-shadow:0 18px 50px -18px rgba(0,0,0,.85), inset 0 1px 0 rgba(255,255,255,.06)!important;
}
.glass:hover,.card:hover,.fi-card:hover,.vf-card:hover,.sponsor-card:hover,.ayx-wall-card:hover,.product-card:hover{
  border-color:rgba(255,77,0,.3)!important;
}
.fi-card svg{transition:transform .3s ease}
.fi-card:hover svg{transform:scale(1.1)}

/* ---------- buttons: GLASS — soft + smooth (user order 2026-11-20:
   "button sab kuch glass style, smooth button soft button") ----------
   No orange gradient, no glow, no animated sheen. Frosted glass:
   white sheen over translucent dark, hairline edge, soft shadow,
   gentle hover lift. White text for contrast on the dark glass. */
.btn-solid,.btn.p,.cta-button,.gw-btn,.go,.ayx-wall-btn,.sponsor-cta{
  background:linear-gradient(180deg, rgba(255,255,255,.13), rgba(255,255,255,.05))!important;
  background-size:auto!important;
  -webkit-backdrop-filter:blur(14px) saturate(1.4)!important;
  backdrop-filter:blur(14px) saturate(1.4)!important;
  border:1px solid rgba(255,255,255,.16)!important;
  color:#fff!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.18), inset 0 -1px 0 rgba(0,0,0,.25), 0 10px 30px -12px rgba(0,0,0,.7)!important;
  transition:transform .35s ease, box-shadow .35s ease, border-color .35s ease!important;
}
.btn-solid::after,.btn.p::after,.cta-button::after,.gw-btn::after,.go::after,.ayx-wall-btn::after,.sponsor-cta::after{
  content:none!important;animation:none!important;
}
.btn-solid:hover,.btn.p:hover,.cta-button:hover,.gw-btn:hover,.go:hover,.ayx-wall-btn:hover,.sponsor-cta:hover{
  background:linear-gradient(180deg, rgba(255,255,255,.19), rgba(255,255,255,.08))!important;
  border-color:rgba(255,255,255,.28)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.22), inset 0 -1px 0 rgba(0,0,0,.25), 0 14px 34px -12px rgba(0,0,0,.75)!important;
  transform:translateY(-1px)!important;
}
.btn-solid:active,.btn.p:active,.cta-button:active,.gw-btn:active,.go:active,.ayx-wall-btn:active,.sponsor-cta:active{
  transform:translateY(0) scale(.98)!important;
}
/* secondary / outline buttons: same glass, quieter */
.btn-line,.btn:not(.btn-solid):not(.p){
  background:linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03))!important;
  -webkit-backdrop-filter:blur(12px) saturate(1.3)!important;
  backdrop-filter:blur(12px) saturate(1.3)!important;
  border:1px solid rgba(255,255,255,.13)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.12), 0 8px 24px -12px rgba(0,0,0,.65)!important;
  transition:transform .35s ease, box-shadow .35s ease, border-color .35s ease!important;
}
.btn-line:hover,.btn:not(.btn-solid):not(.p):hover{
  border-color:rgba(255,255,255,.26)!important;
  background:linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.05))!important;
}

/* countdown / progress already follow --g-grad (now orange) via glass.css */

/* ---------- grain overlay (element injected by forge.js) ---------- */
.f-grain{
  position:fixed;inset:0;z-index:9998;pointer-events:none;opacity:.05;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size:180px 180px;
}

/* ---------- staggered reveal (classes added by forge.js only;
   no-JS = everything visible, exactly like the glass reveal) ---------- */
.f-rv{opacity:0;transform:translateY(14px);
  transition:opacity .55s ease-out, transform .55s ease-out}
.f-rv.f-in{opacity:1;transform:translateY(0)}

@media (prefers-reduced-motion:reduce){
  .f-rv{opacity:1!important;transform:none!important;filter:none!important;transition:none!important}
}

/* ---------- header: restored to the ORIGINAL v19.44 iOS glass ----------
   User order (repeated): the header stays original. The accent remap at
   the top of this file tinted the bar orange through the v19.44 recipe's
   color-mix(var(--color-accent) ...) layers, so the bar is pinned here —
   last in the cascade, !important — to the pre-FORGE recipe with the tint
   layer swapped for the same NEUTRAL dark glass (oklch 24% / 268 at 62%):
   white sheen over dark frosted glass, blur 20px / saturate 1.6, the
   original hairline edge and shadow. The bar reads dark glass on every
   page, never orange; only the wordmark "X" keeps the accent colour.
   Updated 2026-11-20 (user order: header box colour remove, ALL pages):
   the tint layer went SOLID neutral dark for a while. Updated again
   2026-11-21 (user order: "Header ko glass style krde"): the bar is
   GLASS again — translucent neutral dark glass (oklch 24% / 268 at
   62%), backdrop blur 20px / saturate 1.6, hairline edge and shadow.
   Still no colour in the bar; only the wordmark "X" keeps the accent.
   Same night (user order: "header se light remove krde", all pages):
   the white sheen gradient AND the inset top highlight are REMOVED —
   flat glass, no light layer on the bar at all. */
header.pill,nav.pill,div.pill,header.topbar,nav.topbar,div.topbar,#hdr{
  background:oklch(24% 0.01 268 / .62)!important;
  -webkit-backdrop-filter:blur(20px) saturate(1.6)!important;
  backdrop-filter:blur(20px) saturate(1.6)!important;
  border:1px solid oklch(100% 0 0 / .10)!important;
  border-bottom:1px solid oklch(100% 0 0 / .16)!important;
  box-shadow:inset 0 -1px 0 oklch(0% 0 0 / .14), 0 12px 32px oklch(8% 0.02 268 / .38)!important;
}
html.g-scrolled header.pill,html.g-scrolled nav.pill,html.g-scrolled div.pill,
html.g-scrolled header.topbar,html.g-scrolled nav.topbar,html.g-scrolled div.topbar,html.g-scrolled #hdr{
  background:oklch(24% 0.01 268 / .62)!important;
}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  header.pill,nav.pill,div.pill,header.topbar,nav.topbar,div.topbar,#hdr{
    background:oklch(15% 0.01 268)!important;
  }
}

/* ---------- smooth scrolling (user order 2026-11-20) ---------- */
@media (prefers-reduced-motion:no-preference){
  html{scroll-behavior:smooth}
}

/* ---------- product-card actions: the two buttons must never stick
   together (user mark 2026-11-20: Download APK + Explore features
   were touching on the home page card) ---------- */
.row.app-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center}

/* ---------- back-to-top: glass too — no orange disc ---------- */
html #toTop,html .to-top,html #backToTop,html .back-to-top{
  background:linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.06))!important;
  -webkit-backdrop-filter:blur(14px) saturate(1.4)!important;
  backdrop-filter:blur(14px) saturate(1.4)!important;
  border:1px solid rgba(255,255,255,.18)!important;
  color:#fff!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.2), 0 10px 26px -10px rgba(0,0,0,.7)!important;
}

/* ---------- About "Find me" action chips (fix 2026-11-21) ----------
   .go is an inline text span by design; the glass-button treatment above
   gives it border/background but no geometry, so it rendered as a clipped
   box. Give it real chip geometry: inline-block, padding, pill radius. */
.soc-row .go{
  display:inline-block!important;
  padding:7px 16px!important;
  border-radius:999px!important;
  line-height:1.15!important;
  white-space:nowrap!important;
  text-align:center;
  vertical-align:middle;
}
