@import url('https://fonts.googleapis.com/css2?family=Anek+Bangla:wght@400;500;600;700;800&family=Hind+Siliguri:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --font-primary: 'Anek Bangla', 'Hind Siliguri', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Outfit', 'Anek Bangla', 'Hind Siliguri', sans-serif;
  
  /* Modern Titanium & Royal Tech Palette (No Generic Purple/Cyan Glowing Orbs) */
  --bg-deep: #080b11;
  --bg-surface: #0e131d;
  --bg-surface-elevated: #141b29;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(59, 130, 246, 0.35);
  
  --color-brand: #2563eb;
  --color-accent: #0ea5e9;
  --color-success: #10b981;
  --color-warning: #f59e0b;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  background-color: var(--bg-deep);
  color: #f1f5f9;
  overflow-x: hidden;
  position: relative;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: var(--font-heading);
  line-height: 1.25;
  letter-spacing: -0.015em;
}

/* Custom Scrollbar - Sleek Slim */
::-webkit-scrollbar {
  width: 7px;
}
::-webkit-scrollbar-track {
  background: #080b11;
}
::-webkit-scrollbar-thumb {
  background: #1e2638;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #2e3a52;
}

/* Subtle Architectural Grid Pattern */
.bg-tech-grid {
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: center top;
}

.bg-dot-matrix {
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
}

/* Executive Modular Navigation Deck */
.executive-navbar {
  background: rgba(8, 11, 17, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}

.nav-deck-container {
  background: rgba(15, 21, 33, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  padding: 0.25rem 0.5rem;
}

.nav-deck-item {
  color: #94a3b8;
  font-weight: 600;
  font-size: 14px;
  padding: 0.4rem 0.9rem;
  border-radius: 9999px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-deck-item:hover,
.nav-deck-item.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.mega-deck-dropdown {
  background: #0c121e;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.9);
  border-radius: 1.25rem;
}

/* Floating Island Pill Navbar (Fallback) */
.floating-navbar {
  background: rgba(14, 19, 29, 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
}

/* Titanium Bento Cards */
.bento-card {
  background: linear-gradient(180deg, rgba(20, 27, 41, 0.75) 0%, rgba(14, 19, 29, 0.85) 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 1.5rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.bento-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
}

.bento-card:hover {
  border-color: rgba(59, 130, 246, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.8);
}

/* Precision Action Buttons */
.btn-primary-action {
  background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: all 0.2s ease;
}

.btn-primary-action:hover {
  background: linear-gradient(180deg, #60a5fa 0%, #2563eb 100%);
  box-shadow: 0 14px 28px -5px rgba(37, 99, 235, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}

.btn-secondary-action {
  background: rgba(20, 27, 41, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  transition: all 0.2s ease;
}

.btn-secondary-action:hover {
  background: rgba(30, 41, 59, 0.9);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

/* Segmented Control / Pill Tabs */
.segmented-tab {
  background: rgba(14, 19, 29, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  padding: 4px;
}

.segmented-tab-item {
  transition: all 0.25s ease;
  border-radius: 9999px;
}

.segmented-tab-item.active {
  background: #2563eb;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.35);
}

/* Subtle Gradient Headlines (Clean & High-Contrast) */
.heading-gradient-clean {
  background: linear-gradient(180deg, #ffffff 30%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.heading-gradient-blue {
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 50%, #22d3ee 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Interactive Accordion for FAQ & Mobile */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
}

.accordion-content.open {
  max-height: 1000px;
  transition: max-height 0.35s ease-in-out;
}

/* Input Styles */
.input-titanium {
  background: rgba(14, 19, 29, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  transition: all 0.2s ease;
}

.input-titanium:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
  background: rgba(17, 24, 39, 0.9);
}

/* Status Indicator Pulse */
.pulse-indicator {
  position: relative;
  display: inline-flex;
}

.pulse-indicator::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 9999px;
  background: #10b981;
  opacity: 0.4;
  animation: pulsePing 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes pulsePing {
  75%, 100% {
    transform: scale(2);
    opacity: 0;
  }
}

/* Order button: cart icon rolls forward and bounces */
@keyframes cart-roll {
  0%, 100% { transform: translateX(0) rotate(0); }
  20% { transform: translateX(3px) rotate(-8deg); }
  40% { transform: translateX(-2px) rotate(6deg); }
  60% { transform: translateX(2px) rotate(-4deg); }
  80% { transform: translateX(0) rotate(0); }
}
.cart-anim {
  animation: cart-roll 1.6s ease-in-out infinite;
  transform-origin: center bottom;
}
@media (prefers-reduced-motion: reduce) {
  .cart-anim { animation: none; }
}

/* Navbar hotline button: flowing multicolor gradient, glow pulse, ringing icon */
@keyframes phone-gradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes phone-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(236, 72, 153, 0.55), 0 8px 20px -6px rgba(59, 130, 246, 0.5); }
  50% { box-shadow: 0 0 0 9px rgba(236, 72, 153, 0), 0 8px 24px -4px rgba(16, 185, 129, 0.55); }
}
@keyframes phone-ring {
  0%, 60%, 100% { transform: rotate(0); }
  10%, 30% { transform: rotate(-18deg); }
  20%, 40% { transform: rotate(18deg); }
  50% { transform: rotate(-10deg); }
}
.phone-cta {
  background: linear-gradient(110deg, #2563eb, #7c3aed, #ec4899, #f59e0b, #10b981, #2563eb);
  background-size: 300% 300%;
  animation: phone-gradient 6s ease infinite, phone-glow 2.2s ease-in-out infinite;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: transform 0.2s ease;
}
.phone-cta:hover { transform: translateY(-2px) scale(1.04); }
.phone-ring { animation: phone-ring 2s ease-in-out infinite; transform-origin: center; }
@media (prefers-reduced-motion: reduce) {
  .phone-cta, .phone-ring { animation: none; }
}

/* INFLIXIT wordmark: soft shimmer sweep + gentle float */
@keyframes brand-shimmer {
  0% { background-position: 200% 50%; }
  100% { background-position: -200% 50%; }
}
@keyframes brand-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}
.brand-anim {
  display: inline-block;
  background-image: linear-gradient(100deg, #ffffff 0%, #ffffff 35%, #60a5fa 45%, #22d3ee 50%, #a78bfa 55%, #ffffff 65%, #ffffff 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: brand-shimmer 4.5s linear infinite, brand-float 3.2s ease-in-out infinite;
}
.brand-anim.brand-anim-blue {
  background-image: linear-gradient(100deg, #3b82f6 0%, #3b82f6 35%, #67e8f9 47%, #c4b5fd 53%, #3b82f6 65%, #3b82f6 100%);
}
@media (prefers-reduced-motion: reduce) {
  .brand-anim { animation: none; }
}

/* Keep the "IT" accent blue and let it glow softly */
@keyframes brand-glow {
  0%, 100% { text-shadow: 0 0 0 rgba(59, 130, 246, 0); }
  50% { text-shadow: 0 0 14px rgba(59, 130, 246, 0.85); }
}
.brand-anim > span {
  -webkit-text-fill-color: #3b82f6;
  color: #3b82f6;
  animation: brand-glow 2.4s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .brand-anim > span { animation: none; }
}

/* ==========================================================================
   Hero product-ecosystem animation (orbiting INFLIXIT products)
   ========================================================================== */
.orb-stage {
  background: none;
  overflow: visible;
}
.orb-glow {
  position: absolute; inset: -6%;
  background:
    radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.20), rgba(37, 99, 235, 0) 58%),
    conic-gradient(from 0deg at 50% 50%, rgba(59,130,246,0), rgba(168,85,247,.16), rgba(16,185,129,0), rgba(245,158,11,.13), rgba(59,130,246,0));
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 0%, rgba(0,0,0,.55) 45%, transparent 72%);
  mask-image: radial-gradient(circle at 50% 50%, #000 0%, rgba(0,0,0,.55) 45%, transparent 72%);
  filter: blur(18px);
  animation: orb-spin-plain 30s linear infinite;
}
.orb-ring {
  position: absolute; top: 50%; left: 50%;
  height: 110%; aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%);
  container-type: size;
  animation: orb-spin 48s linear infinite;
}
.orb-stage:hover .orb-ring, .orb-stage:hover .orb-node { animation-play-state: paused; }
.orb-circle {
  position: absolute; border-radius: 50%;
  border: 1px dashed rgba(148, 163, 184, 0.22);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.orb-circle-1 { width: 92%; height: 92%; }
.orb-circle-2 { width: 54%; height: 54%; border-color: rgba(96, 165, 250, 0.3); }
.orb-spoke {
  position: absolute; top: 50%; left: 50%;
  width: 2px; height: 46cqh;
  transform-origin: 0 0;
  transform: rotate(calc(var(--a) + 180deg));
  background: repeating-linear-gradient(to bottom, var(--c) 0 6px, transparent 6px 14px);
  background-size: 100% 28px;
  opacity: .55;
  animation: orb-flow 1.4s linear infinite;
}
.orb-item {
  position: absolute; top: 50%; left: 50%;
  width: 0; height: 0;
  transform: rotate(var(--a)) translateY(-46cqh) rotate(calc(var(--a) * -1));
}
.orb-node {
  position: absolute; left: 0; top: 0;
  translate: -50% -50%;
  display: flex; flex-direction: column; align-items: center; gap: .35em;
  padding: .7em .9em;
  font-size: clamp(7px, 3.3cqh, 13px);
  font-weight: 400; color: #fff; letter-spacing: .02em; white-space: nowrap;
  background: rgba(8, 11, 17, 0.72);
  backdrop-filter: blur(6px);
  border: 1px solid var(--c);
  border-radius: 1em;
  box-shadow: 0 0 1.6em -0.2em var(--c), inset 0 0 1em -0.6em var(--c);
  animation: orb-counter 48s linear infinite, orb-bob 3s ease-in-out infinite alternate;
}
.orb-node svg { width: 2.1em; height: 2.1em; color: var(--c); }
.orb-hub {
  position: absolute; top: 50%; left: 50%; translate: -50% -50%;
  height: 36%; aspect-ratio: 1 / 1;
}
.orb-hub-core {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: .4em;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(30, 58, 138, .85), rgba(8, 11, 17, .85) 72%);
  border: 1px solid rgba(96, 165, 250, .6);
  box-shadow: 0 0 40px rgba(59, 130, 246, .45), inset 0 0 22px rgba(59, 130, 246, .25);
}
.orb-hub-core b { font-family: 'Outfit', sans-serif; font-weight: 400; font-size: clamp(10px, 1.7vw, 19px); line-height: 1; letter-spacing: .01em; }
.orb-hub-core small { margin-top: .4em; font-size: clamp(5px, .62vw, 9px); color: #93c5fd; line-height: 1.2; max-width: 86%; }
.orb-hub-pulse {
  position: absolute; inset: 0; z-index: 1; border-radius: 50%;
  border: 2px solid rgba(96, 165, 250, .6);
  animation: orb-pulse 3s ease-out infinite;
}
.orb-hub-pulse-2 { animation-delay: 1.5s; }
@keyframes orb-spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes orb-counter { to { rotate: -360deg; } }
@keyframes orb-bob { from { margin-top: -3px; } to { margin-top: 3px; } }
@keyframes orb-flow { to { background-position: 0 28px; } }
@keyframes orb-pulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(2.3); opacity: 0; } }
.orb-glow { animation-name: orb-spin-plain; }
@keyframes orb-spin-plain { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .orb-ring, .orb-node, .orb-glow, .orb-spoke, .orb-hub-pulse { animation: none; }
}

/* Responsive: keep the orbit inside its box on small screens */
@media (max-width: 639px) {
  .orb-ring { height: 94%; }
  .orb-node { font-size: clamp(7px, 3.1cqh, 11px); }
}

/* Hide scrollbars on horizontally scrollable strips (still scrollable) */
.no-scrollbar { scrollbar-width: none; -ms-overflow-style: none; }
.no-scrollbar::-webkit-scrollbar { display: none; }

/* Product cards: screenshot gallery on the left of each card */
.card-gallery {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  margin-bottom: 1.25rem;
  border-radius: 1rem;
  border-width: 1px;
  border-style: solid;
  overflow: hidden;
  background-color: rgba(15, 23, 42, 0.8);
}
@media (min-width: 1024px) {
  .card-gallery {
    width: 360px;
    margin-bottom: 0;
    grid-row: 1 / span 3;
    align-self: center;
  }
}
@media (min-width: 1280px) {
  .card-gallery { width: 480px; }
}
.card-gallery img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.card-gallery img.is-active { opacity: 1; }
.card-gallery-empty {
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-gallery.is-zoomable { cursor: zoom-in; }
.card-gallery.is-zoomable:focus-visible { outline: 2px solid #60a5fa; outline-offset: 3px; }

/* Enlarged gallery view */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(2, 6, 15, 0.92);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.gallery-lightbox.is-open { opacity: 1; visibility: visible; }
.gallery-lightbox .gl-figure {
  margin: 0;
  max-width: min(1200px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}
.gallery-lightbox .gl-img {
  max-width: 100%;
  max-height: calc(100vh - 7rem);
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8);
  object-fit: contain;
}
.gallery-lightbox .gl-caption {
  color: #cbd5e1;
  font-size: 0.875rem;
  text-align: center;
}
.gallery-lightbox .gl-btn {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  line-height: 1;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: background 0.2s ease;
}
.gallery-lightbox .gl-btn:hover { background: rgba(255, 255, 255, 0.2); }
.gallery-lightbox .gl-btn[hidden] { display: none; }
.gallery-lightbox .gl-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
}
@media (max-width: 639px) {
  .gallery-lightbox { padding: 4rem 0.75rem 1rem; gap: 0.25rem; }
  .gallery-lightbox .gl-prev,
  .gallery-lightbox .gl-next {
    position: absolute;
    bottom: 1rem;
  }
  .gallery-lightbox .gl-prev { left: calc(50% - 3.5rem); }
  .gallery-lightbox .gl-next { right: calc(50% - 3.5rem); }
  .gallery-lightbox .gl-img { max-height: calc(100vh - 10rem); }
}

/* Product cards: highlighted block above/with the rotating line.
   Each card sets its accent through three RGB triplets:
   --hl (main), --hl-light (badge/text tint), --hl-alt (second badge/text tint). Default is blue. */
.audience-highlight {
  --hl: 59 130 246;
  --hl-light: 147 197 253;
  --hl-alt: 56 189 248;
  position: relative;
}
.audience-highlight.hl-emerald { --hl: 16 185 129;  --hl-light: 110 231 183; --hl-alt: 52 211 153; }
.audience-highlight.hl-sky     { --hl: 14 165 233;  --hl-light: 125 211 252; --hl-alt: 56 189 248; }
.audience-highlight.hl-amber   { --hl: 245 158 11;  --hl-light: 252 211 77;  --hl-alt: 251 191 36; }
.audience-highlight.hl-teal    { --hl: 20 184 166;  --hl-light: 94 234 212;  --hl-alt: 45 212 191; }
.audience-highlight.hl-orange  { --hl: 249 115 22;  --hl-light: 253 186 116; --hl-alt: 251 146 60; }
.audience-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.55rem;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #0b1220;
  background: linear-gradient(90deg, rgb(var(--hl-light)), rgb(var(--hl-alt)));
  box-shadow: 0 4px 14px -4px rgb(var(--hl-alt) / 0.6);
}
.audience-rotator {
  font-size: 1.125rem;
  line-height: 1.6;
  font-weight: 800;
  color: #ffffff;
}
@media (min-width: 1024px) {
  .audience-rotator { font-size: 1.3rem; }
}
/* Long audience lines wrap to two lines instead of being cut off */
.feature-rotator.audience-rotator { white-space: normal; }
.audience-rotator .feature-rotator-text {
  min-height: 3.2em;
  text-overflow: clip;
  background: linear-gradient(90deg, #ffffff 0%, rgb(var(--hl-light)) 60%, rgb(var(--hl-alt)) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Typewriter cursor after the typed line: solid while typing, blinking while the line rests */
.type-cursor {
  display: inline-block;
  width: 3px;
  height: 1.05em;
  margin-left: 3px;
  vertical-align: -0.15em;
  border-radius: 2px;
  background: rgb(var(--hl-alt, 96 165 250));
  box-shadow: 0 0 10px rgb(var(--hl-alt, 96 165 250) / 0.7);
  animation: type-cursor-blink 1s steps(1) infinite;
}
.type-cursor.is-typing { animation: none; }
@keyframes type-cursor-blink { 50% { opacity: 0; } }

/* Product cards: one-line rotating feature text */
.feature-rotator {
  overflow: hidden;
  white-space: nowrap;
}
.feature-rotator-text {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
}
.feature-rotator-text.is-leaving {
  transform: translateY(-100%);
  opacity: 0;
}
.feature-rotator-text.is-entering {
  transform: translateY(100%);
  opacity: 0;
  transition: none;
}
@media (prefers-reduced-motion: reduce) {
  .feature-rotator-text { transition: opacity 0.2s ease; }
  .feature-rotator-text.is-leaving,
  .feature-rotator-text.is-entering { transform: none; }
}
