/* ========== GLOBAL ========= */

*,
*::before,
*::after {
  margin: 0;
  padding: 20px , 0;
  box-sizing: border-box;
}

:root {
  --bg: #f9fafb;
  --bg-soft: #ffffff;
  --text: #111827;
  --text-soft: #6b7280;
  --border-soft: rgba(148, 163, 184, 0.4);
  --accent: #3b82f6;
  --accent-2: #8b5cf6;
  --radius-pill: 999px;
  --shadow-soft: 0 18px 40px rgba(148, 163, 184, 0.32);
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: radial-gradient(circle at 0% 0%, rgba(129, 140, 248, 0.12), transparent 55%),
              radial-gradient(circle at 100% 0%, rgba(236, 72, 153, 0.12), transparent 55%),
              var(--bg);
  color: var(--text);
}
/* ===== Thin Transparent Scrollbar ===== */
::-webkit-scrollbar {
  width: 6px;              /* thin */
  height: 6px;
  background: transparent; /* transparent background */
}

::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.25);  /* subtle thumb */
  border-radius: 10px;
  transition: background 0.3s ease;
}

/* on hover – slightly visible */
::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.35);
}

/* track transparent */
::-webkit-scrollbar-track {
  background: transparent;
}

/* ===== Firefox Support ===== */
html {
  scrollbar-width: thin;        /* thin scrollbar */
  scrollbar-color: rgba(0,0,0,0.25) transparent;
}

/* FULL SCREEN OVERLAY */
#page-loader {
  position: fixed;
  inset: 0;
  background: #ffffff;             /* ya dark - #0d0d0d */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

/* FADE OUT */
#page-loader.hide {
  opacity: 0;
  visibility: hidden;
}

/* GIF SETTINGS */
.loader-gif {
  width: 140px;                 /* GIF size */
  height: auto;
  animation: loaderPop 0.6s ease-out;
}

/* subtle pop-in animation */
@keyframes loaderPop {
  0% { transform: scale(0.85); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* disable scroll while loader visible */
body.loading {
  overflow: hidden;
}

/* mobile */
@media (max-width: 480px) {
  .loader-gif {
    width: 130px;
  }
}



a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
}

/* Utility container */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ========== HEADER / NAVBAR ========= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.96),
    rgba(255, 255, 255, 0.9),
    transparent
  );
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
}

/* top row */
.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 1rem;
}

/* Brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: radial-gradient(circle at 20% 0%, #ffffff, #dbeafe 35%, #60a5fa 55%, #4c1d95 85%);
  box-shadow: 0 0 14px rgba(59, 130, 246, 0.65);
  font-size: 0.8rem;
  font-weight: 700;
  color: #020617;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-size: 0.9rem;
  font-weight: 600;
}

.brand-tagline {
  font-size: 0.7rem;
  color: var(--text-soft);
}

/* Center nav links */
.nav-links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.9rem;
}

.nav-links a {
  position: relative;
  color: var(--text-soft);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width 0.2s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a:hover::after {
  width: 100%;
}

/* Right buttons */

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-btn {
  font-size: 0.8rem;
  padding: 0.45rem 1.05rem;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn-ghost {
  background: #ffffff;
  border: 1px solid var(--border-soft);
  color: var(--text-soft);
}

.btn-ghost:hover {
  background: #e5edff;
  color: var(--text);
}

.btn-primary {
  background:black;
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(156, 156, 156, 0.4);
}

.btn-primary:hover {
  filter: brightness(1.05);
}

/* Hamburger (mobile only) */
.nav-toggle {
  display: none;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: #ffffff;
  padding: 0;
  margin-left: 0.5rem;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.nav-toggle span {
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: #111827;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Header logo */
.brand-logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 10px;
}

/* Footer logo */
.footer-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  margin-bottom: 8px;
  border-radius: 10px;
}

/* Logo + text alignment */
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}


.mobile-menu {
  height: 100vh;
  display: none;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;

  background: #fafaf7; /* premium off-white */
  padding:  1.25rem 2rem;
  overflow-y: auto;
  z-index: 40;
}

.mobile-links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

/* each link = full width row */
.mobile-links a {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 1rem 0;
  font-size: 1rem;
  font-weight: 500;

  color: #111;
  border-bottom: 1px solid #ececec;
}

.mobile-links a::after {
  content: "›"; /* right arrow */
  font-size: 1.2rem;
  color: #888;
}

/* hover */
.mobile-links a:hover {
  color: #0a0a0a;
}


.mobile-links a:hover {
  color: var(--text);
}

.mobile-actions {
  display: flex;
  flex-direction: column;   /* ek ke niche ek */
  gap: 0.75rem;
  padding: 0.5rem 1.25rem 0.9rem;
}

/* mobile overlay buttons full width */
.mobile-actions .nav-btn {
  width: 100%;
  display: flex;
  justify-content: center;
  text-align: center;
}

/* When open (js will add class) */
.site-header.is-open .mobile-menu {
  display: block;
}

.site-header.is-open .nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.site-header.is-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}
.site-header.is-open .nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ========== MAIN DEMO SECTION ========= */



.section-placeholder {
  margin: 0 auto;
  padding: 0rem 1rem;
  text-align: center;
}

/* ========== FOOTER ========= */

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  background: #ffffff;
  padding: 2.3rem 0 1.8rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  font-size: 0.85rem;
}

.footer-brand-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.footer-brand-tagline {
  color: var(--text-soft);
  margin-top: 0.2rem;
}

.footer-brand-extra {
  margin-top: 0.7rem;
  color: var(--text-soft);
  font-size: 0.8rem;
}

.footer-col-title {
  font-weight: 600;
  margin-bottom: 0.6rem;
  font-size: 0.82rem;
}

.footer-link {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--text-soft);
  font-size: 0.82rem;
}

.footer-link:hover {
  color: var(--text);
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.7rem;
}

.footer-social a {
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  font-size: 0.78rem;
  color: var(--text-soft);
}

.footer-social a:hover {
  background: #eff6ff;
  color: var(--text);
}

/* bottom row */
.footer-bottom {
  margin-top: 1.8rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--text-soft);
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.footer-bottom-links a {
  color: var(--text-soft);
}

.footer-bottom-links a:hover {
  color: var(--text);
}

/* ========== RESPONSIVE ========= */

@media (max-width: 900px) {
  .nav-links,
  .nav-actions {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-bottom {
    flex-direction: column-reverse;
    align-items: flex-start;
  }
}



/* ========= HERO BYONDX 3-ROW ========= */



.hero-bx-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 3.5rem;
  align-items: center;
}

/* LEFT TEXT */
.hero-bx-title {
  font-size: clamp(2.8rem, 4.4vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 1.4rem;
  color: #020617;
}

.hero-bx-title span {
  background: linear-gradient(120deg, #6366f1, #a855f7);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-bx-sub {
  max-width: 32rem;
  font-size: 1.02rem;
  line-height: 1.7;
  color: #4b5563;
  margin-bottom: 2.4rem;
}

/* CTA */
.hero-bx-cta {
  padding: 1.05rem 2.8rem;
  border-radius: 999px;
  border: none;
  background: #111827;
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.35);
  transition: transform 0.22s ease, box-shadow 0.22s ease,
              background 0.22s ease;
}

.hero-bx-cta:hover {
  transform: translateY(-3px);
  background: #020617;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.45);
}

/* RIGHT – 3 ROW SCROLLER */
.hero-bx-right {
  min-width: 0;
}

.hero-bx-rows {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

/* each row area */
.hero-bx-row {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    black 10%,
    black 90%,
    transparent 100%
  );
}

/* track – infinite scroll */
.hero-bx-track {
  display: flex;
  gap: 1rem;
  padding-block: 0.3rem;
  animation-name: heroBxSlide;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

/* cards */
.hero-bx-card {
  flex: 0 0 200px;
  height: 170px;
  border-radius: 18px;
  overflow: hidden;
  background: radial-gradient(circle at 0 0, #e5e7eb, #d1d5db);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
  border: 1px solid rgba(148, 163, 184, 0.55);
}


.hero-bx-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* base keyframes (move left) */
@keyframes heroBxSlide {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* flipped direction class (scroll up) */
.hero-bx-track.is-flipped {
  animation-direction: reverse;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 960px) {
  .hero-bx-inner {
    text-align: center;
    grid-template-columns: minmax(0, 1fr);
  }





  .hero-bx-title {
    font-size: 2.16rem;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .hero-bx-rows {
    gap: 0.8rem;
  }

  .hero-bx-card {
    height: 150px;
  }



}





/* ===== SUPPORT SECTION (Superside-style) ===== */

.support-section {
  background: #ffffff;
  padding: 4.5rem 5vw 4.5rem;
}

.support-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

/* LEFT TEXT */

.support-kicker {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.78rem;
  color: #000000;
  margin-bottom: 0.5rem;
}

.support-title {
  font-size: clamp(2.3rem, 3.6vw, 3rem);
  line-height: 1.1;
  color: #000000;
  margin-bottom: 1.5rem;
}

.support-title span {
  font-style: italic;
  font-weight: 400;
}

.support-body {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #1f3c31;
  max-width: 34rem;
  margin-bottom: 1.2rem;
}

.support-body-small {
  font-size: 0.98rem;
  opacity: 0.9;
}

/* CTA button */

.support-cta {
  margin-top: 1.8rem;
  padding: 1rem 2.6rem;
  border-radius: 999px;
  border: none;
  background: #000000;
  color: #f6fff9;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease,
    background 0.2s ease;
}

.support-cta:hover {
  transform: translateY(-3px);
  background: #000000;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

/* RIGHT VIDEO CARD */

.support-right {
  min-width: 0;
  display: flex;
  justify-content: flex-end;
}

.support-video-card {
  position: relative;
  border-radius: 24px;
  object-fit: cover;
  width: 100%;
}

/* inner video */

.support-video {
  width: 100%;
  border-radius: 18px;
  display: block;
  object-fit: cover;
  max-height: 320px;
}

/* play overlay button */

.support-play-btn {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 96px;
  height: 96px;
  border-radius: 999px;
  border: none;
  background: rgba(1, 15, 11, 0.58);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.support-play-btn:hover {
  background: rgba(1, 15, 11, 0.8);
  transform: scale(1.04);
}

/* triangle icon */

.support-play-icon {
  width: 0;
  height: 0;
  border-left: 20px solid #f5fff6;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
}

/* hide button class */

.support-play-btn.is-hidden {
  opacity: 0;
  pointer-events: none;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 900px) {
  .support-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }

  .support-right {
    display: flex;
  justify-content: stretch;
  }

  .support-title,
  .support-body,
  .support-body-small {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .support-section {
    padding: 3.2rem 1.4rem;
  }

  .support-video-card {
    border-radius: 20px;
    padding: 0.8rem;
  }

  .support-video {
    border-radius: 16px;
  }

  .support-play-btn {
    width: 76px;
    height: 76px;
  }
  
}


/* SECTION LAYOUT */
.flex-section {
  background: #ffffff;
  color: #000000;
  padding: 4.5rem 5vw 4.5rem;
}

.flex-heading {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.8rem;
}

.flex-kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: #a6f3cf;
  margin-bottom: 0.6rem;
}

.flex-heading h2 {
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  margin-bottom: 0.6rem;
}

.flex-heading p {
  font-size: 0.98rem;
  color: #171817;
}

/* GRID */
.flex-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

/* CARD */
.flex-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #000000;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.flex-card img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: cover;
}

/* INFO PANEL */
.flex-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;

  background: #f3f4ec;
  color: #171817;
  padding: 1.3rem 1.4rem 1.4rem;

  /* ✨ default state: sirf title strip dikhe */
  transform: translateY(calc(100% - 3rem));
  transition: transform 0.32s ease-out;
}

/* dark/bright variants (optional) */
.flex-info--dark {
  background: #000000;
  color: #f6fff9;
}

.flex-info--bright {
  background: #e4ff72;
  color: #032015;
}

/* hover par pura panel upar slide ho */
.flex-card:hover .flex-info {
  transform: translateY(0);
}

/* text styles inside panel */
.flex-tag {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.flex-info h3 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.flex-text {
  font-size: 0.9rem;
  line-height: 1.6;
  opacity: 0.9;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .flex-grid {
    grid-template-columns: 1fr;
  }
}
