:root {
  --navy-primary: #08274d;
  --navy-dark: #15314e;
  --navy-medium: #2b445c;

  --blue-accent: #2b445c;
  --green-primary: #4b9d30;
  --green-bright: #63b32e;
  --green-light: #7ac943;
  --white: #ffffff;
  --gray-bg: #e5e8ed;
  --gray-medium: #c9d0d8;
  --text-dark: #2f3742;

  --font-display: "Sora", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.font-display {
  font-family: var(--font-display);
  color: var(--navy-primary);
  letter-spacing: -0.02em;
}

.font-mono {
  font-family: var(--font-mono);
}

.text-green {
  color: var(--green-primary);
}

.bg-navy {
  background: var(--navy-primary);
}

a {
  text-decoration: none;
}

::selection {
  background: var(--green-light);
  color: var(--navy-primary);
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.08s;
}

.reveal-delay-2 {
  transition-delay: 0.16s;
}

.reveal-delay-3 {
  transition-delay: 0.24s;
}

.reveal-delay-4 {
  transition-delay: 0.32s;
}

/* ---------- Navbar ---------- */
#mainNav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  background: rgba(255, 255, 255, 0);
  transition:
    background 0.35s ease,
    padding 0.35s ease,
    box-shadow 0.35s ease;
}

#mainNav.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  padding: 10px 0;
  box-shadow: 0 4px 24px rgba(3, 27, 58, 0.08);
}

.brand-mark {
  width: 40px;
  height: 40px;
  /* border-radius: 11px; */
  /* background: linear-gradient(145deg, #a3a8ae, var(--navy-medium)); */
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  /* box-shadow: 0 4px 12px rgba(3, 27, 58, 0.25); */
}

.brand-mark::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 4px;
  right: -5px;
  bottom: -5px;
}

.brand-mark svg {
  position: relative;
  z-index: 2;
}

.brand-word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.28rem;
  color: var(--navy-primary);
}

.brand-word span {
  color: var(--green-primary);
}

.nav-link-custom {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--navy-medium);
  padding: 0.5rem 1rem !important;
  position: relative;
}

.nav-link-custom::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.2rem;
  height: 2px;
  background: var(--green-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-link-custom:hover::after {
  transform: scaleX(1);
}

.nav-link-custom:hover {
  color: var(--navy-primary);
}

.btn-demo {
  background: linear-gradient(
    120deg,
    var(--green-primary),
    var(--green-bright)
  );
  color: #fff;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.62rem 1.4rem;
  border-radius: 100px;
  border: none;
  box-shadow: 0 8px 20px rgba(75, 157, 48, 0.28);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-demo:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(75, 157, 48, 0.38);
  color: #fff;
}

.btn-demo i {
  transition: transform 0.25s ease;
}

.btn-demo:hover i {
  transform: translateX(3px);
}

.btn-ghost-navy {
  border: 1.5px solid var(--gray-medium);
  color: var(--navy-primary);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.6rem 1.4rem;
  border-radius: 100px;
  background: transparent;
  transition: all 0.25s ease;
}

.btn-ghost-navy:hover {
  border-color: var(--navy-primary);
  background: var(--navy-primary);
  color: #fff;
}

.btn-ghost-white {
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.6rem 1.4rem;
  border-radius: 100px;
  background: transparent;
  transition: all 0.25s ease;
}

.btn-ghost-white:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 150px 0 100px;
  background:
    radial-gradient(circle at 8% 15%, rgba(75, 157, 48, 0.06), transparent 45%),
    radial-gradient(circle at 92% 85%, rgba(3, 27, 58, 0.05), transparent 40%),
    var(--white);
  overflow: hidden;
}

.ledger-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.5;
  background-image: radial-gradient(var(--gray-medium) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 85%);
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  font-weight: 600;
  color: var(--green-primary);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(75, 157, 48, 0.08);
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  border: 1px solid rgba(75, 157, 48, 0.18);
}

.hero h1 {
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.08;
  margin: 1.3rem 0 1.2rem;
}

.hero h1 .underline-accent {
  position: relative;
  white-space: nowrap;
}

.hero h1 .underline-accent svg {
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 14px;
}

.hero p.lead-text {
  font-size: 1.12rem;
  color: var(--blue-accent);
  max-width: 520px;
  line-height: 1.65;
}

.hero-trust {
  font-size: 0.85rem;
  color: var(--blue-accent);
  font-weight: 500;
}

.hero-trust i {
  color: var(--green-primary);
}

/* Animated 5-image scatter — freeform, not a row/column grid */
.mockup-wrap {
  position: relative;
  min-height: auto;
}

/*  */

/* ---------- Modern 3D layered slider (v2 - premium) ---------- */
.photo-slider {
  position: relative;
  width: 100%;
  max-width: 500px;
  height: 380px;
  margin: 0 auto;
  perspective: 1600px;
}

.slider-stage {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

.slide-item {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;
  height: 220px;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow:
    0 20px 40px -14px rgba(3, 27, 58, 0.25),
    0 0 0 1px rgba(3, 27, 58, 0.05);
  transition:
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.8s ease,
    filter 0.8s ease,
    box-shadow 0.5s ease;
  cursor: pointer;
}

/* gradient glow ring only visible on active */
.slide-item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: 20px;
  padding: 2px;
  background: linear-gradient(
    135deg,
    var(--green-light),
    var(--green-primary),
    var(--navy-medium)
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.slide-item.is-active::before {
  opacity: 1;
}

/* dark gradient wash at bottom for legibility */
.slide-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slide-item::after {
  content: attr(data-tag);
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  color: var(--navy-primary);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  box-shadow: 0 6px 16px rgba(3, 27, 58, 0.18);
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.4s ease 0.15s,
    transform 0.4s ease 0.15s;
}

.slide-item.is-active::after {
  opacity: 1;
  transform: translateY(0);
}

/* bottom scrim so tag always readable even on bright photos */
.slide-item .scrim {
  display: none;
}

.slide-item.is-active {
  box-shadow:
    0 34px 60px -16px rgba(3, 27, 58, 0.4),
    0 0 0 1px rgba(75, 157, 48, 0.15);
}

/* soft floating glow behind the whole stage */
.photo-slider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 320px;
  height: 200px;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    ellipse,
    rgba(75, 157, 48, 0.18),
    transparent 70%
  );
  filter: blur(30px);
  z-index: 0;
  animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%,
  100% {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.08);
  }
}

/* ---------- Dots + progress ---------- */
.slider-dots {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}

.slider-dots .dot {
  position: relative;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gray-medium);
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.slider-dots .dot.active {
  width: 34px;
  border-radius: 100px;
  background: var(--gray-medium);
}

.slider-dots .dot.active .dot-progress {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--green-primary), var(--green-light));
  border-radius: 100px;
  transform-origin: left;
  animation: fillDot 3.2s linear forwards;
}

@keyframes fillDot {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}
/*  */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  z-index: 1;
  opacity: 0.35;
}

.blob-1 {
  width: 280px;
  height: 280px;

  top: -40px;
  right: 40px;
}

.blob-2 {
  width: 220px;
  height: 220px;
  background: rgb(191, 212, 233);
  bottom: -40px;
  left: 0;
  opacity: 0.12;
}

/* ---------- Section shells ---------- */
section {
  position: relative;
}

.section-pad {
  padding: 90px 0;
}

.eyebrow-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  font-weight: 600;
  color: var(--green-primary);
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 800;
  margin-top: 0.5rem;
}

.section-sub {
  color: var(--blue-accent);
  font-size: 1.02rem;
  max-width: 560px;
}

/* orbit */
.orbit-showcase {
  position: relative;
  width: 100%;
  max-width: 480px;
  height: 480px;
  margin: 0 auto;
}

.orbit-path {
  position: absolute;
  inset: 40px;
  border: 2px dashed var(--gray-medium);
  border-radius: 50%;
  opacity: 0.5;
}

.orbit-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 240px;
  z-index: 5;
  filter: drop-shadow(0 20px 40px rgba(3, 27, 58, 0.3));
}

.orbit-center img {
  width: 100%;
  display: block;
}

/* ring rotates continuously - this is what "infinite ghurta thakba" করে */
.orbit-ring {
  position: absolute;
  inset: 40px;
  animation: orbitSpin 18s linear infinite;
}

@keyframes orbitSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* each item sits on the circle at its own angle, radius = half of .orbit-ring width */
.orbit-item {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  transform: rotate(var(--angle)) translateX(200px);
}

/* counter-rotate so icons stay upright while the ring spins */
.orbit-icon-wrap {
  position: absolute;
  transform: translate(-50%, -50%) rotate(calc(-1 * var(--angle)));
  animation: counterSpin 18s linear infinite;
  width: 80px;
  height: 80px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(3, 27, 58, 0.18);
  border: 2px solid rgba(75, 157, 48, 0.25);
}

.orbit-icon-wrap img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.orbit-label {
  position: absolute;
  top: 83px;
  white-space: nowrap;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--navy-primary);
  background: rgba(255, 255, 255, 0.9);
  padding: 2px 8px;
  border-radius: 100px;
}

@keyframes counterSpin0 {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(-360deg);
  }
}
@keyframes counterSpin72 {
  from {
    transform: translate(-50%, -50%) rotate(-72deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(-432deg);
  }
}
@keyframes counterSpin144 {
  from {
    transform: translate(-50%, -50%) rotate(-144deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(-504deg);
  }
}
@keyframes counterSpin216 {
  from {
    transform: translate(-50%, -50%) rotate(-216deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(-576deg);
  }
}
@keyframes counterSpin288 {
  from {
    transform: translate(-50%, -50%) rotate(-288deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(-648deg);
  }
}
@media (max-width: 480px) {
  .orbit-showcase {
    height: 380px;
  }
  .orbit-center {
    width: 180px;
  }
  .orbit-item {
    transform: rotate(var(--angle)) translateX(150px);
  }
}
/* ---------- Footer ---------- */
footer {
  background: var(--navy-primary);
  color: rgba(255, 255, 255, 0.75);
  padding-top: 70px;
}

footer h6 {
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 1.1rem;
}

footer a.footer-link {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  display: block;
  margin-bottom: 0.65rem;
  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

footer a.footer-link:hover {
  color: var(--green-light);
  transform: translateX(3px);
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
  max-width: 320px;
}

.social-ic {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-right: 8px;
  transition:
    background 0.25s ease,
    transform 0.25s ease;
}

.social-ic:hover {
  background: var(--green-primary);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 50px;
  padding: 22px 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-contact-row {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
}

.footer-contact-row i {
  color: var(--green-light);
  margin-top: 2px;
}

/* ---------- Product Demo Section ---------- */
/* ---------- Product Demo Section v2 (premium) ---------- */
.product-demo-section {
  padding: 110px 0;
  position: relative;
  background:
    radial-gradient(
      circle at 12% 20%,
      rgba(75, 157, 48, 0.05),
      transparent 45%
    ),
    radial-gradient(circle at 88% 80%, rgba(3, 27, 58, 0.04), transparent 40%);
}

.section-head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
}

.section-sub {
  color: var(--blue-accent);
  font-size: 1.02rem;
  max-width: 480px;
  margin: 0.6rem auto 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 26px;
  margin-top: 60px;
}

@media (max-width: 992px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.product-card {
  position: relative;
  background: var(--white);
  border-radius: 22px;
  padding: 32px 22px 26px;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 8px 24px -12px rgba(3, 27, 58, 0.12);
  transition:
    transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.55s ease;
  transition-delay: calc(var(--i, 0) * 0.05s);
}

/* animated gradient border ring */
.product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  border-radius: 22px;
  padding: 2px;
  background: conic-gradient(
    from var(--angle, 0deg),
    rgba(75, 157, 48, 0) 0%,
    var(--green-light) 15%,
    var(--green-primary) 25%,
    rgba(75, 157, 48, 0) 40%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  animation: rotateBorder 3.5s linear infinite;
  animation-play-state: paused;
}

@keyframes rotateBorder {
  to {
    --angle: 360deg;
  }
}

@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

.product-card:hover::after {
  opacity: 1;
  animation-play-state: running;
}

/* base subtle border under the gradient ring */
.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 22px;
  background: var(--white);
  box-shadow: inset 0 0 0 1px rgba(3, 27, 58, 0.08);
  transition: box-shadow 0.4s ease;
}

.product-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 30px 54px -18px rgba(3, 27, 58, 0.28);
}

/* cursor-follow radial glow */
.product-card .card-glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(
    160px circle at var(--mx, 50%) var(--my, 0%),
    rgba(75, 157, 48, 0.12),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.product-card:hover .card-glow {
  opacity: 1;
}

.product-badge {
  position: absolute;
  top: 16px;
  right: -34px;
  z-index: 2;
  background: linear-gradient(
    120deg,
    var(--green-primary),
    var(--green-bright)
  );
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 38px;
  transform: rotate(40deg);
  box-shadow: 0 6px 14px rgba(75, 157, 48, 0.35);
}

.product-icon-wrap {
  position: relative;
  z-index: 1;
  width: 88px;
  height: 88px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 22px;
  overflow: hidden; /* নতুন — ছবি radius এর বাইরে যাবে না */
  background: linear-gradient(145deg, #eef4ea, #ffffff);
  box-shadow:
    inset 0 0 0 1px rgba(75, 157, 48, 0.12),
    0 10px 22px rgba(3, 27, 58, 0.07);
  animation: iconFloat 3.6s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * 0.2s);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-icon {
  width: 50px; /* আগে ছিল 46px */
  height: 50px; /* আগে ছিল 46px */
  object-fit: cover; /* আগে ছিল contain */
  transition: transform 0.5s ease;
}

.product-card:hover .product-icon {
  transform: scale(1.1) rotate(4deg); /* rotate কমিয়ে zoom বাড়ালাম, cover এ বেশি rotate খারাপ দেখায় */
}

.product-card:hover .product-icon-wrap {
  transform: rotate(-8deg) scale(1.12);
  animation-play-state: paused;
}

@keyframes iconFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

.product-title {
  position: relative;
  z-index: 1;
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}

.product-desc {
  position: relative;
  z-index: 1;
  font-size: 0.83rem;
  color: var(--blue-accent);
  line-height: 1.55;
  margin-bottom: 20px;
  min-height: 42px;
}

.product-demo-btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--green-primary);
  padding: 0.55rem 1.2rem;
  border-radius: 100px;
  border: 1.5px solid rgba(75, 157, 48, 0.3);
  overflow: hidden;
  transition:
    color 0.4s ease,
    border-color 0.4s ease;
}

.product-demo-btn span {
  position: relative;
  z-index: 2;
}

.product-demo-btn i {
  position: relative;
  z-index: 2;
  font-size: 0.72rem;
  transition: transform 0.35s ease;
}

/* fill sweep from left on hover */
.product-demo-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    120deg,
    var(--green-primary),
    var(--green-bright)
  );
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-demo-btn:hover {
  color: #fff;
  border-color: var(--green-primary);
}

.product-demo-btn:hover::before {
  transform: scaleX(1);
}

.product-demo-btn:hover i {
  transform: translateX(4px);
}

/* ---------- Why GonoKhata Section ---------- */
.why-section {
  padding: 110px 0;
  position: relative;
  overflow: hidden;
}

.why-row {
  display: flex;
  align-items: center;
  gap: 64px;
  margin-top: 90px;
}

.why-row-reverse {
  flex-direction: row-reverse;
}

@media (max-width: 992px) {
  .why-row,
  .why-row-reverse {
    flex-direction: column;
    gap: 36px;
    margin-top: 60px;
  }
}

.why-media,
.why-content {
  flex: 1 1 50%;
  min-width: 0;
}

/* ---- Video card ---- */
.why-video-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 30px 60px -20px rgba(3, 27, 58, 0.3),
    0 0 0 1px rgba(3, 27, 58, 0.06);
  aspect-ratio: 16 / 9;
  background: var(--navy-primary);
}

.why-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition:
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.5s ease;
}

.why-video-card:hover .why-thumb {
  transform: scale(1.05);
  filter: brightness(0.75);
}

.why-video-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(3, 27, 58, 0.05) 0%,
    rgba(3, 27, 58, 0.55) 100%
  );
  pointer-events: none;
}

.why-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.95);
  color: var(--green-primary);
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(3, 27, 58, 0.35);
  transition:
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.35s ease;
}

.why-play-btn i {
  transform: translateX(2px);
}

.why-play-btn::before {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.55);
  animation: pulseRing 2.2s ease-out infinite;
}

@keyframes pulseRing {
  0% {
    transform: scale(0.85);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.25);
    opacity: 0;
  }
}

.why-video-card:hover .why-play-btn {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--green-primary);
  color: #fff;
}

.why-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  background: rgba(3, 27, 58, 0.65);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* live iframe replaces thumbnail after click */
.why-video-card iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  z-index: 4;
}

/* ---- Text content ---- */
.why-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-primary);
  background: rgba(75, 157, 48, 0.08);
  border: 1px solid rgba(75, 157, 48, 0.2);
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.why-content h3 {
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  font-weight: 800;
  margin-bottom: 0.9rem;
  line-height: 1.25;
}

.why-content p {
  color: var(--blue-accent);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.4rem;
}

.why-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.why-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.94rem;
  color: var(--navy-medium);
  font-weight: 500;
}

.why-list li i {
  color: var(--green-primary);
  font-size: 0.95rem;
  flex-shrink: 0;
}

/* ---------- Directional entrance animation ---------- */
.slide-left,
.slide-right {
  opacity: 0;
  transition:
    opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-left {
  transform: translateX(-60px);
}

.slide-right {
  transform: translateX(60px);
}

.slide-left.in-view,
.slide-right.in-view {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 992px) {
  .slide-left,
  .slide-right {
    transform: translateY(40px);
  }
  .slide-left.in-view,
  .slide-right.in-view {
    transform: translateY(0);
  }
}

/* plan section */
/* ---------- Pricing Section (soft + attractive) ---------- */
.pricing-section {
  padding: 80px 0;
  background:
    radial-gradient(circle at 10% 0%, rgba(75, 157, 48, 0.06), transparent 40%),
    radial-gradient(circle at 95% 100%, rgba(3, 27, 58, 0.04), transparent 40%),
    #fbfcfa;
}

.pricing-section .section-sub {
  max-width: 520px;
  margin: 0.5rem auto 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 44px;
  align-items: start;
}

@media (max-width: 992px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin: 40px auto 0;
  }
}

.price-card {
  position: relative;
  background: #ffffff;
  border-radius: 24px;
  padding: 28px 24px;
  box-shadow:
    0 2px 8px rgba(3, 27, 58, 0.04),
    0 16px 36px -20px rgba(3, 27, 58, 0.16);
  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s ease;
  transition-delay: calc(var(--i, 0) * 0.06s);
}

.price-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 4px 10px rgba(3, 27, 58, 0.05),
    0 26px 48px -18px rgba(3, 27, 58, 0.22);
}

.price-card-popular {
  background: linear-gradient(180deg, #ffffff 0%, #f5faf1 100%);
  box-shadow:
    0 2px 8px rgba(75, 157, 48, 0.08),
    0 20px 44px -18px rgba(75, 157, 48, 0.28);
}

.price-card-popular:hover {
  box-shadow:
    0 4px 10px rgba(75, 157, 48, 0.1),
    0 30px 54px -18px rgba(75, 157, 48, 0.32);
}

.price-tag {
  position: absolute;
  top: 20px;
  right: 20px;
  background: linear-gradient(
    120deg,
    var(--green-primary),
    var(--green-bright)
  );
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  box-shadow: 0 6px 14px rgba(75, 157, 48, 0.3);
}

.price-name {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--blue-accent);
  margin-bottom: 10px;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.price-num {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--navy-primary);
  line-height: 1;
}

.price-sub {
  font-size: 0.8rem;
  color: var(--blue-accent);
  opacity: 0.8;
}

.price-monthly {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.76rem;
  color: var(--green-primary);
  font-weight: 600;
  background: rgba(75, 157, 48, 0.09);
  padding: 4px 12px;
  border-radius: 100px;
  margin: 10px 0 18px;
}

.price-btn {
  display: block;
  text-align: center;
  width: 100%;
  background: var(--navy-primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.86rem;
  padding: 0.7rem 1rem;
  border-radius: 100px;
  margin-bottom: 20px;
  box-shadow: 0 10px 22px -8px rgba(3, 27, 58, 0.35);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.price-btn:hover {
  background: linear-gradient(
    120deg,
    var(--green-primary),
    var(--green-bright)
  );
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -8px rgba(75, 157, 48, 0.4);
}

.price-card-popular .price-btn {
  background: linear-gradient(
    120deg,
    var(--green-primary),
    var(--green-bright)
  );
  box-shadow: 0 12px 26px -8px rgba(75, 157, 48, 0.38);
}

.price-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.price-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  padding: 7px 10px;
  border-radius: 10px;
  transition: background 0.25s ease;
}

.price-list li:hover {
  background: rgba(75, 157, 48, 0.06);
}

.price-list li span {
  color: var(--blue-accent);
  opacity: 0.85;
}

.price-list li b {
  color: var(--navy-primary);
  font-weight: 700;
}

.price-list li b.ok {
  color: var(--green-primary);
  background: rgba(75, 157, 48, 0.12);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
}

.price-list li b.no {
  color: #c4677a;
  background: rgba(196, 103, 122, 0.12);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
}

.pricing-footnote {
  text-align: center;
  margin-top: 28px;
  font-size: 0.76rem;
  color: var(--blue-accent);
  opacity: 0.7;
}

/* ---------- Server & Support Specs button ---------- */
.price-specs-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: transparent;
  border: 1px dashed rgba(3, 27, 58, 0.18);
  border-radius: 8px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--navy-medium);
  padding: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.price-specs-btn:hover {
  border-color: var(--green-primary);
  color: var(--green-primary);
  background: rgba(75, 157, 48, 0.05);
}

/* ---------- Specs Modal ---------- */
.specs-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(3, 27, 58, 0.5);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
  padding: 20px;
}

.specs-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.specs-modal-box {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 26px 24px;
  width: 100%;
  max-width: 340px;
  max-height: 80vh;
  overflow-y: auto;
  transform: translateY(16px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.specs-modal.is-open .specs-modal-box {
  transform: translateY(0) scale(1);
}

.specs-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: rgba(3, 27, 58, 0.06);
  color: var(--navy-primary);
  cursor: pointer;
  font-size: 0.8rem;
  transition: background 0.3s ease;
}

.specs-modal-close:hover {
  background: rgba(180, 72, 90, 0.12);
  color: #b4485a;
}

.specs-modal-title {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.specs-modal-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.specs-modal-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(3, 27, 58, 0.06);
}

.specs-modal-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.specs-modal-list li span {
  color: var(--blue-accent);
}
.specs-modal-list li b {
  color: var(--navy-primary);
  font-weight: 700;
}
.specs-modal-list li b.ok {
  color: var(--green-primary);
}

/* ---------- Reveal animation base (needed if not already global) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* fqa */
.gk-help {
  --ink: var(--navy-primary, #08274d);
  --ink-soft: var(--navy-medium, #2b445c);
  --stamp: var(--green-primary, #4b9d30);
  --stamp-bright: var(--green-bright, #63b32e);
  --rule: rgba(8, 39, 77, 0.1);
  --head-font: var(--font-display, "Sora", sans-serif);
  --body-font: var(--font-body, "Inter", sans-serif);

  padding: 100px 0;
  background:
    radial-gradient(circle at 8% 10%, rgba(75, 157, 48, 0.05), transparent 42%),
    radial-gradient(circle at 95% 90%, rgba(3, 27, 58, 0.045), transparent 42%),
    #fbfcfa;
}

.gk-help-list {
  max-width: 780px;
  margin: 60px auto 0;
  font-family: var(--body-font);
  color: var(--ink-soft);
}

/* ---------- Level 1: main menu ---------- */
.gk-menu {
  border-bottom: 1px solid var(--rule);
}

.gk-menu:first-child {
  border-top: 1px solid var(--rule);
}

.gk-menu > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 6px;
  transition: padding-left 0.25s ease;
}

.gk-menu > summary::-webkit-details-marker {
  display: none;
}

.gk-menu > summary .gk-ic {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #eef4ea, #ffffff);
  box-shadow: inset 0 0 0 1px rgba(75, 157, 48, 0.14);
  color: var(--stamp);
  font-size: 1rem;
  transition:
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.3s ease,
    color 0.3s ease;
}

.gk-menu[open] > summary .gk-ic {
  background: linear-gradient(120deg, var(--stamp), var(--stamp-bright));
  color: #fff;
  transform: rotate(-6deg) scale(1.06);
}

.gk-menu > summary .gk-title {
  flex: 1 1 auto;
  font-family: var(--head-font);
  font-weight: 700;
  font-size: 1.04rem;
  color: var(--ink);
}

.gk-menu > summary .gk-plus {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  font-size: 0.8rem;
  transition:
    transform 0.3s ease,
    background 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease;
}

.gk-menu[open] > summary .gk-plus {
  transform: rotate(135deg);
  background: var(--stamp);
  border-color: var(--stamp);
  color: #fff;
}

.gk-menu:hover > summary .gk-title {
  color: var(--stamp);
}

.gk-menu-body {
  padding: 0 6px 26px 62px;
}

.gk-note {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--ink-soft);
  opacity: 0.85;
  margin: 0 0 18px;
}

.gk-empty {
  font-size: 0.88rem;
  font-style: italic;
  opacity: 0.55;
  margin: 0;
}

/* ---------- Level 2 / Level 3: nested sub-items ---------- */
.gk-sub-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.gk-sub {
  border-left: 2px solid var(--rule);
  padding-left: 18px;
  transition: border-color 0.25s ease;
}

.gk-sub[open],
.gk-sub:hover {
  border-left-color: var(--stamp);
}

.gk-sub > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 4px;
}

.gk-sub > summary::-webkit-details-marker {
  display: none;
}

.gk-sub > summary .gk-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rule);
  flex-shrink: 0;
  transition:
    background 0.25s ease,
    transform 0.25s ease;
}

.gk-sub[open] > summary .gk-dot {
  background: var(--stamp);
  transform: scale(1.4);
}

.gk-sub > summary .gk-title {
  flex: 1 1 auto;
  font-weight: 600;
  font-size: 0.93rem;
  color: var(--ink);
}

.gk-sub .gk-sub-list .gk-sub > summary .gk-title {
  font-weight: 500;
  color: var(--ink-soft);
  font-size: 0.89rem;
}

.gk-sub > summary .gk-caret {
  flex: 0 0 auto;
  font-size: 0.7rem;
  color: var(--ink-soft);
  opacity: 0.4;
  transition: transform 0.3s ease;
}

.gk-sub[open] > summary .gk-caret {
  transform: rotate(90deg);
  opacity: 1;
  color: var(--stamp);
}

.gk-sub-body {
  padding: 0 4px 14px 16px;
}

.gk-sub .gk-note {
  margin-bottom: 12px;
  font-size: 0.88rem;
}
