/* ======================================================================
   NILGIRI · Products page
   ====================================================================== */

/* ---------- Buttons (mirror of homepage) ---------- */
.btn-glow {
  --mx: 0px;
  --my: 0px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  background: var(--grad-accent);
  color: #04111f;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 0;
  box-shadow: 0 12px 30px rgba(34, 211, 238, 0.28), inset 0 0 0 1px rgba(255, 255, 255, 0.15);
  transform: translate(var(--mx), var(--my));
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease, filter 0.25s ease;
  cursor: pointer;
}
.btn-glow:hover {
  transform: translate(var(--mx), calc(var(--my) - 2px));
  box-shadow: 0 18px 40px rgba(34, 211, 238, 0.4);
  color: #04111f;
  filter: brightness(1.05);
}
.btn-ghost {
  --mx: 0px;
  --my: 0px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-100);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  border: 1px solid var(--border-2);
  backdrop-filter: blur(10px);
  transform: translate(var(--mx), var(--my));
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), background 0.25s ease, border-color 0.25s ease;
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(34, 211, 238, 0.5);
  color: var(--text-100);
  transform: translate(var(--mx), calc(var(--my) - 2px));
}

.section-h {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--text-100);
  margin: 0.5rem 0 0.8rem;
}
.section-p {
  color: var(--text-70);
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
  max-width: 640px;
}
.section-head { margin: 0 0 2.5rem; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: 0 5rem;
  overflow: hidden;
  isolation: isolate;
  min-height: 88vh;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 60% 50%, #000 30%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 50%, #000 30%, transparent 90%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
}
.hero-orb--a {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.5), transparent 70%);
  top: -120px;
  right: -80px;
}
.hero-orb--b {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.4), transparent 70%);
  bottom: -160px;
  left: -100px;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-title {
  font-size: clamp(2.1rem, 4.6vw, 3.8rem);
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: var(--text-100);
  margin: 1rem 0 1rem;
}

.hero-sub {
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  color: var(--text-70);
  line-height: 1.7;
  max-width: 520px;
  margin: 0 0 1.8rem;
}

.hero-actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-mini-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  max-width: 540px;
}

.mini-stat {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 0.9rem;
  background: var(--surface-0);
  border: 1px solid var(--border-1);
  border-radius: 14px;
  backdrop-filter: blur(10px);
}
.mini-stat i {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--grad-accent-soft);
  color: var(--accent-1);
  font-size: 0.95rem;
  flex-shrink: 0;
  border: 1px solid var(--border-1);
}
.mini-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-100);
  letter-spacing: -0.01em;
  line-height: 1;
}
.mini-stat span {
  display: block;
  font-size: 0.72rem;
  color: var(--text-70);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.25rem;
  font-weight: 500;
}

/* Product visual */
.product-card .product-visual {
    transition: transform 1s;
}
.product-card:hover .product-visual {
    transform: scale(1.2);
}
.product-visual {
  position: relative;
  display: grid;
  place-items: center;
  /*min-height: 520px;*/
  isolation: isolate;
}

.product-halo {
  position: absolute;
  inset: 8% 4%;
  background:
    radial-gradient(circle at 50% 55%, rgba(34, 211, 238, 0.5), transparent 55%),
    radial-gradient(circle at 50% 65%, rgba(59, 130, 246, 0.3), transparent 65%);
  filter: blur(45px);
  z-index: -1;
  animation: ringPulse 6s ease-in-out infinite;
}

@keyframes ringPulse {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

.product-ring {
  position: absolute;
  width: 85%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  z-index: -1;
  animation: ringSpin 32s linear infinite;
}

@keyframes ringSpin {
  to { transform: rotate(360deg); }
}

.product-img {
  width: 100%;
  max-width: 560px;
  height: auto;
  display: block;
  /* filter: drop-shadow(0 35px 50px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 40px rgba(34, 211, 238, 0.2)); */
  animation: productFloat 6s ease-in-out infinite;
  transition: opacity 0.4s ease;
  border-radius: 20px;
}

@keyframes productFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* ---------- Spec table ---------- */
.product-wrap {
  padding: 3rem 0 6rem;
  position: relative;
}

.product-card {
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  border: 2px solid rgb(59, 130, 246);
  border-radius: var(--r-lg);
  overflow: hidden;
  backdrop-filter: blur(10px);
  
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
}

.spec-table tr { border-bottom: 1px solid var(--border-soft); }
.spec-table tr:last-child { border-bottom: 0; }

.spec-table th,
.spec-table td {
  padding: 1.1rem 1.4rem;
  vertical-align: top;
  line-height: 1.6;
  font-size: 0.95rem;
}

.spec-table th {
  color: var(--text-70);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  width: 30%;
  text-align: left;
  background: transparent;
}
.spec-table td {
  color: var(--text-100);
  font-weight: 500;
  text-align: left;
  width: 70%;
}

.spec-head th,
.spec-head td {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-100) !important;
  background: rgba(34, 211, 238, 0.06);
  letter-spacing: 0;
  text-transform: none;
}
.spec-head td {
  background: rgba(34, 211, 238, 0.06);
  text-align: left;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .hero { min-height: auto; padding: 4rem 0 4rem; }
  .product-visual { min-height: 360px; margin-top: 2rem; }
  .hero-mini-stats { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 767px) {
  .hero { padding: 3rem 0 3rem; }
  .hero-content { text-align: center; }
  .hero-title { font-size: clamp(1.9rem, 7vw, 2.5rem); }
  .hero-mini-stats { grid-template-columns: 1fr; }
  .product-visual { min-height: 300px; }
  .product-img { max-width: 360px; }
  .spec-table th,
  .spec-table td {
    display: block;
    width: 100%;
    padding: 0.6rem 1.1rem;
  }
  .section-head { text-align: center; }
  .product-wrap .container>.d-flex { justify-content: center; }
  .hero-actions { justify-content: center; }
  .hero-mini-stats { text-align: left; }
  .spec-table th { padding-top: 1rem; padding-bottom: 0.3rem; }
  .spec-table tr { padding: 0.3rem 0; }
}
