/* =========================
   GLOBAL RESET
========================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent; /* remove mobile tap flash */
}

/* =========================
   GLOBAL FOCUS CONTROL
========================= */

a, button, [role="button"] {
  outline: none;
}

a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible {
  box-shadow: 0 0 0 3px var(--accent-soft);
}
/* dark mode/default mode*/
:root {
  --bg: #0b0f1a;
  --bg-soft: #0e1324;

  --text: #e8ebf0;
  --text-soft: #b7bdd3;

  --card: rgba(255,255,255,0.04);
  --border: rgba(255,255,255,0.08);

  --accent: #4da3ff;
  --accent-soft: rgba(77,163,255,0.15);

  --shadow-sm: 0 8px 20px rgba(0,0,0,0.35);
  --shadow-lg: 0 20px 50px rgba(0,0,0,0.45);

   --btn-p-bg: linear-gradient(135deg, #4da3ff, #6cf0c2);
  --btn-p-text: #000;
  --btn-p-shadow: 0 10px 30px rgba(77,163,255,0.25);
  --btn-p-shadow-hover: 0 16px 40px rgba(77,163,255,0.35);

  --btn-s-bg: color-mix(in srgb, var(--card) 82%, transparent);
  --btn-s-bg-hover: color-mix(in srgb, var(--card) 92%, transparent);
  --btn-s-text: var(--text);
  --btn-s-border: var(--border);
  --btn-s-shadow: 0 6px 16px rgba(0,0,0,0.25);
  --btn-s-shadow-hover: 0 10px 26px rgba(0,0,0,0.35);

  --sl-shadow: inset 0 1px 0 rgba(255,255,255,0.4);

   --card-radius: 18px;
  --card-blur: 14px;
  --card-shadow: var(--shadow-sm);
  --card-shadow-hover: var(--shadow-lg);


}

/*light Mode*/

body.light {
  --bg: #faf7f2;
  --bg-soft: #ffffff;

  --text: #1f2937;
  --text-soft: #4b5563;

  --card: rgba(255,255,255,0.9);
  --border: rgba(31,41,55,0.12);

  --accent: #f97316;
  --accent-soft: rgba(249,115,22,0.15);

  --shadow-sm: 0 10px 24px rgba(0,0,0,0.12);
  --shadow-lg: 0 30px 70px rgba(0,0,0,0.18);

  --btn-p-bg: linear-gradient(135deg, #f97316, #facc15);
  --btn-p-text: #1f2937;
  --btn-p-shadow: 0 10px 28px rgba(249,115,22,0.25);
  --btn-p-shadow-hover: 0 16px 42px rgba(249,115,22,0.35);

  --btn-s-bg: linear-gradient(
    180deg,
    rgba(77,163,255,0.08),
    rgba(77,163,255,0.04)
  );

  --btn-s-bg-hover: linear-gradient(
    180deg,
    rgba(77,163,255,0.12),
    rgba(77,163,255,0.06)
  );

  --btn-s-text: #1f2937;
  --btn-s-border: rgba(77,163,255,0.25);

  --sl-shadow:
    inset 0 1px 0 rgba(255,255,255,0.6),
    0 6px 20px rgba(0,0,0,0.08);

  --card-blur: 0px;
  --card-shadow:
    inset 0 1px 0 rgba(255,255,255,0.6),
    0 8px 24px rgba(0,0,0,0.12);

  --card-shadow-hover:
    0 16px 40px rgba(0,0,0,0.18);

}

/* base */

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Inter",
               "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
/* bg*/

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(600px 300px at 15% 10%, var(--accent-soft), transparent),
    radial-gradient(500px 400px at 85% 20%, rgba(108,240,194,0.12), transparent);
}

/* top bar*/

.top-bar {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 1000;
  display: flex;
  gap: 10px;
  align-items: center;
}

/* hero */

.hero {
  position: relative;
  display: grid;
  place-items: center;
  text-align: center;
}

/* 👇 Pure centered content */
.hero-center {
  max-width: 900px;
  padding: 0 20px;
  transform: translateY(-4vh);
}

/* 👇 Fixed UI layer */
.hero-ui {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-ui > * {
  pointer-events: auto;
}

.hero,
.simple-header {
  padding: 80px 20px 70px;
  text-align: center;
  background:
    radial-gradient(800px 400px at 50% -20%, var(--accent-soft), transparent);
}

.hero-sub {
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: 12px;
}

.tagline {
  margin: 20px auto 30px;
  max-width: 720px;
}

.scroll-hint {
  margin-top: 40px;
  font-size: 0.75rem;
  opacity: 0.5;
  animation: float 2.5s ease-in-out infinite;
}

@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* TG */

h1, h2, h3 {
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  margin-bottom: 14px;
}

h2 {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

h3 {
  font-size: 1.1rem;
  opacity: 0.95;
}

p {
  font-size: 0.95rem;
  color: var(--text-soft);
  max-width: 680px;
}


/* section */

section {
  padding: clamp(20px, 4vw, 40px);
  margin-left: 10px;
  margin-right: 10px;
}

.section.light {
  border-radius: 16px;
  background: var(--bg-soft);
  box-shadow: var(--sl-shadow);
}


.content,
.what {
  max-width: 900px;
  margin: auto;
}



/* logo */

.logo-bar {
  position: fixed;
  top: 18px;
  left: 18px;
  z-index: 1000;
}

.logo {
  height: 34px;
  width: 34px;
  border-radius: 10px;
  opacity: 0.95;
  transition: all .3s ease;
}

.logo.scrolled {
  height: 26px;
  width: 26px;
  padding: 6px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}

.logo:hover {
  opacity: 1;
}

@media (max-width: 600px) {
  .logo {
    height: 28px;
    width: 28px;
    
  }
}

/*header gb button */

.glass-btn {
  height: 40px;
  padding: 0 14px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 10px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--card) 85%, var(--bg));
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}

@supports ((-webkit-backdrop-filter: blur(12px)) or (backdrop-filter: blur(12px))) {
  .glass-btn {
    background: var(--card);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }
}

.about-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 999;
}

.lbc-float {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 999;
}

.lang-toggle {
  width: 44px;
  padding: 0;
}

.theme-toggle {
  width: 40px;
  padding: 0;
  font-size: 1rem;
}

.home-btn {
  padding: 0 16px;
}

/* button */

.btn {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 999px;

  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;

  transition:
    transform .2s ease,
    box-shadow .2s ease,
    background .2s ease;
  background: var(--btn-p-bg);
  color: var(--btn-p-text);
  box-shadow: var(--btn-p-shadow);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--btn-p-shadow-hover);
}

/* secondary */
.btn.goat {
  width: 90px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--btn-s-bg);
  color: var(--btn-s-text);

  border: 1px solid var(--btn-s-border);
  box-shadow: var(--btn-s-shadow);
}
.btn.goat:hover {
  background: var(--btn-s-bg-hover);
  transform: translateY(-1px);
  box-shadow: var(--btn-s-shadow-hover);
}
.goat1 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .btn.goat {
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
  }
}

/*college section*/

.college-btn {
  display: inline-flex;
  align-items: center;
  height: 40px;
  width: 50px;
  justify-content: center;
  border-radius: var(--card-radius);

  background: var(--card);
  backdrop-filter: blur(var(--card-blur));
  border: 1px solid var(--border);

  box-shadow: var(--card-shadow);
  transition: all 0.3s ease;
}

.college-btn:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
}

/* ICON */

.college-icon {
  width: 40px;
  height: 40px;
  color: var(--accent);
  transition: 0.3s ease;
}

.college-btn:hover .college-icon {
  color: var(--btn-p-text);
}

/* card */

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);

  padding: 24px 22px;

  backdrop-filter: blur(var(--card-blur));
  box-shadow: var(--card-shadow);

  transition: transform .25s ease, box-shadow .25s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow-hover);
}

.card-footer {
  margin-top: 20px;
  padding: 14px 0;
  display: flex;
  justify-content: center;
  gap: 6px;

  border-top: 1px dashed var(--border);
  opacity: 0.8;
}

.card-footer:hover {
  opacity: 1;
}

.arrow {
  opacity: 0.5;
  transition: opacity .2s;
}

.card-footer:hover .arrow {
  opacity: 1;
}

.card h3 {
  text-align: center;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card p {
  max-width: none;
}
/* =========================
   FOOTER
========================= */

.site-footer {
  margin-top: 80px;
  padding: 32px 20px;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  color: var(--text-soft);
  text-align: center;
}

.footer-inner {
  max-width: 900px;
  margin: 0 auto;
}

.footer-brand {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 10px;
  color: var(--text);
}

.footer-contact {
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.site-footer a {
  color: var(--accent);
  text-decoration: none;
  transition: opacity .2s ease;
}

.site-footer a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.footer-copy {
  font-size: 0.85rem;
  opacity: 0.7;
}

/* Mobile refinement */
@media (max-width: 600px) {
  .site-footer {
    padding: 24px 16px;
  }
}

.footer-brand {
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
}

.footer-brand:hover {
  text-decoration: underline;
}


/*preview*/

.about-preview {
  position: fixed;
  inset: 0;
  background: rgba(11,15,26,0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}

.about-preview.show {
  opacity: 1;
  pointer-events: all;
}

/* RESPONSIVE */

/* Respect motion & performance */

@media (prefers-reduced-transparency: reduce) {
  .card, .glass-btn {
    backdrop-filter: none;
  }
}

@media (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
  #sp::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
      radial-gradient(
        200px 200px at 20% 30%,
        var(--accent-soft),
        transparent
      ),
      radial-gradient(
        300px 300px at 80% 70%,
        var(--accent-soft),
        transparent
      );
    opacity: 0.6;
    animation: float-bg 18s ease-in-out infinite;
    pointer-events: none;
  }

  #sp {
    position: relative;
    overflow: hidden;
  }
}

@keyframes float-bg {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-30px); }
}

/*LAPTOP*/

@media (min-width: 769px) {
  .steps {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
  }

  .card {
    max-width: 320px;
    flex: 1 1 280px;
  }
}

/* PHONE */

@media (max-width: 768px) {
  .hero {
    min-height: 80svh;
  }

  #sp {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
  }

  .steps {
    flex: 1;
    overflow-y: auto;
    padding-bottom: 16px;
  }

  p {
    font-size: 0.9rem;
  }
}




/* ========== PRODUCT STACK ========== */

.product-stack {
  height: auto;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 !important; /* section margin override */
}

.stack-title {
  text-align: center;
}

/* ---------- shell ---------- */
.stack-shell {
  flex: 1;
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: var(--bg-soft);
  box-shadow: var(--sl-shadow);
}

/* ---------- gradient fade (depth hint) ---------- */
.stack-shell::before,
.stack-shell::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 48px;
  z-index: 5;
  pointer-events: none;
}

.stack-shell::before {
  top: 0;
  background: linear-gradient(to bottom, var(--bg-soft), transparent);
}

.stack-shell::after {
  bottom: 0;
  background: linear-gradient(to top, var(--bg-soft), transparent);
}

/* ---------- viewport ---------- */
.stack-viewport {
  height: 100%;
  overflow: hidden;
}

/* ---------- track ---------- */
.stack-track {
  height: 100%;
  overflow-y: auto;
  padding: 48px 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  scroll-snap-type: y mandatory;
}

/* ---------- cards ---------- */
.stack-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: 22px;
  backdrop-filter: blur(var(--card-blur));
  box-shadow: var(--card-shadow);

  width: min(100%, 360px);
  margin: 0 auto;

  scroll-snap-align: center;

  transform: scale(0.92);
  opacity: 0.45;

  transition:
    transform .35s ease,
    opacity .35s ease,
    box-shadow .35s ease;
}

.stack-card.is-active {
  transform: scale(1);
  opacity: 1;
  box-shadow: var(--card-shadow-hover);
}

.stack-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 6px;
}

/* arrows */
.stack-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  font-size: 13px;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0.5;
  transition: opacity .2s ease, transform .2s ease;
}

.stack-arrow:hover,
.stack-arrow:active {
  opacity: 1;
  transform: scale(1.08);
}



/* ---------- expanded card ---------- */
.stack-card.expanded {
  position: relative;
  transform: scale(1.02);
  z-index: 30;
  max-height: 100vh;
  overflow-y: auto;

  border-radius: 22px;
  transform: none;
  opacity: 1;
}

/* ---------- close button ---------- */
.stack-card .close-btn {
  position: sticky;
  top: 0;
  margin-left: auto;
  margin-bottom: 12px;

  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);

  background: var(--card);
  color: var(--text);
  font-size: 18px;
  cursor: pointer;

  z-index: 2;
}

/* ---------- backdrop ---------- */
.stack-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  z-index: 20;
  transition: opacity .3s ease;
}

.stack-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}

/* ---------- progress dots ---------- */
.stack-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.stack-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border);
  opacity: 0.4;
  transition: transform .25s, opacity .25s, background .25s;
}

.stack-dots span.active {
  background: var(--accent);
  opacity: 1;
  transform: scale(1.4);
}

.stack-hint {
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  color: var(--text-soft);
  opacity: 0.45;

  margin: 4px 0 6px;

  animation: hint-pulse 2.6s ease-in-out infinite;
  pointer-events: none; /* hint should not block clicks */
}

/* default hidden */
.stack-card .close-btn,
.stack-card .stack-cta {
  display: none;
}

/* expanded card */
.stack-card.expanded .close-btn,
.stack-card.expanded .stack-cta {
  display: inline-flex;
}

/* close button position */
.stack-card .close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
}
.stack-card.expanded .close-btn {
  display: flex;                 /* 👈 ab flex yahan */
  align-items: center;
  justify-content: center;

  position: absolute;
  top: 14px;
  right: 14px;

  width: 36px;
  height: 36px;
  border-radius: 50%;

  padding: 0;
  line-height: 1;
  font-size: 18px;

  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  cursor: pointer;
}
.stack-card .close-btn:hover {
  background: color-mix(in srgb, var(--card) 85%, black);
  transform: scale(1.05);
}

/* CTA button spacing */
.stack-card .stack-cta {
  margin-top: 18px;
  align-self: center;
}

/* zoom in / zoom out */
@keyframes hint-pulse {
  0% {
    opacity: 0.35;
    transform: scale(0.96);
  }
  50% {
    opacity: 0.65;
    transform: scale(1);
  }
  100% {
    opacity: 0.35;
    transform: scale(0.96);
  }
}



/* ---------- resposive ---------- */
@media (max-width: 768px) {
  .product-stack {
    height: auto;
    min-height: 60svh;
    max-height: 100svh;
    overflow: hidden;
  }

  .stack-shell {
    max-height: 100svh;
  }

  .stack-track {
    max-height: 100%;
    overflow-y: auto;
  }

  .stack-arrow {
    width: 28px;
    height: 28px;
    font-size: 12px;
    opacity: 0.45;
  }

}
3
@media (min-width: 769px) {
  .product-stack {
    min-height: auto;
    max-height: none;
    height: auto;
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .stack-shell {
    max-height: none;
  }

  .stack-track {
    overflow: visible;
  }
}