/* ── Taaj India Infotics — Shared Styles ─────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: #ffffff; color: #1e293b; font-family: 'Inter', sans-serif; overflow-x: hidden; }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #f8fafc; }
::-webkit-scrollbar-thumb { background: #dc2626; border-radius: 4px; }

/* Glass */
.glass {
  background: rgba(0,0,0,0.02);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(0,0,0,0.06);
}
.glass-nav {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

/* Gradient text */
.grad-text {
  background: linear-gradient(135deg, #dc2626 0%, #7f1d1d 50%, #dc2626 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.grad-text-blue {
  background: linear-gradient(135deg, #dc2626 0%, #7f1d1d 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* Grid lines */
.grid-lines {
  background-image:
    linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
}

/* Cards */
.card {
  background: rgba(0,0,0,0.03);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 1.25rem;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(220,38,38,0.35);
  box-shadow: 0 20px 50px rgba(220,38,38,0.1);
}

/* Stat card */
.stat-card {
  background: linear-gradient(135deg, rgba(255,255,255,1) 0%, rgba(220,38,38,0.05) 100%);
  border: 1px solid rgba(220,38,38,0.2);
  border-radius: 1.25rem;
}

/* Badge */
.badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(220,38,38,0.1); border: 1px solid rgba(220,38,38,0.3);
  color: #dc2626; border-radius: 9999px;
  padding: 5px 16px; font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
}

/* Nav link */
.nav-link { position: relative; transition: color 0.2s; }
.nav-link::after {
  content:''; position:absolute; bottom:-3px; left:0; width:0; height:2px;
  background: #dc2626; border-radius: 2px; transition: width 0.3s;
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, #dc2626, #ef4444, #dc2626);
  background-size: 200% auto;
  color: #ffffff; font-weight: 700; border-radius: 0.75rem;
  transition: background-position 0.4s ease, transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover { background-position: right center; transform: translateY(-2px); box-shadow: 0 10px 30px rgba(220,38,38,0.4); }

.btn-outline {
  background: #ffffff;
  border: 1.5px solid #dc2626;
  color: #dc2626; font-weight: 700; border-radius: 0.75rem;
  transition: all 0.25s;
}
.btn-outline:hover { background: #fef2f2; border-color: #dc2626; }

/* Industry card */
.ind-card {
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 1rem;
  background: rgba(0,0,0,0.01);
  transition: all 0.25s;
}
.ind-card:hover { border-color: rgba(220,38,38,0.4); background: rgba(220,38,38,0.04); transform: translateY(-3px); }

/* Divider */
.divider { height: 1px; background: linear-gradient(90deg, transparent, rgba(0,0,0,0.08), transparent); }

/* Page hero (inner pages) */
.page-hero {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 60%, #f1f5f9 100%);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

/* Noise */
.noise::after {
  content:''; position:absolute; inset:0; pointer-events:none; z-index:0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
}

/* Blob animations */
@keyframes blobFloat { 0%,100%{transform:translate(0,0) scale(1)} 33%{transform:translate(20px,-15px) scale(1.04)} 66%{transform:translate(-15px,10px) scale(0.97)} }
.blob  { animation: blobFloat 12s ease-in-out infinite; border-radius: 60% 40% 55% 45% / 45% 55% 40% 60%; }
.blob2 { animation: blobFloat 16s ease-in-out infinite reverse; border-radius: 45% 55% 65% 35% / 55% 40% 60% 45%; }

/* Counter */
.counter-num { font-variant-numeric: tabular-nums; }

/* Marquee */
@keyframes marquee { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }
.marquee-track { animation: marquee 22s linear infinite; }
.marquee-track:hover { animation-play-state: paused; }

/* FAQ */
details summary { cursor: pointer; list-style: none; }
details summary::-webkit-details-marker { display: none; }
details[open] summary .faq-icon { transform: rotate(45deg); }
.faq-icon { transition: transform 0.3s ease; }

/* Hero glow */
.hero-glow {
  background:
    radial-gradient(ellipse 70% 60% at 30% 40%, rgba(241,245,249,0.8) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 75% 30%, rgba(220,38,38,0.05) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 50% 100%, rgba(226,232,240,0.5) 0%, transparent 60%);
}
