/* 
  BITPS Corporate Landing Page Stylesheet
  Aesthetics: Luxury Corporate, Cyber-Organic, Cinematic Motion
  Layout: Normal Standalone Scroll (No Pinning/Scrubbing)
*/

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=Outfit:wght@200;300;400;500;600;700;800&display=swap');

:root {
  --bg-primary: #02040a;
  --bg-secondary: #050a16;
  --gold-primary: #D4AF37;
  --gold-light: #F5D061;
  --gold-dark: #AA7C11;
  --gold-glow: rgba(212, 175, 55, 0.25);
  --gold-glow-intense: rgba(212, 175, 55, 0.6);
  --text-light: #F3F4F6;
  --text-muted: #9CA3AF;
  --font-display: 'Cinzel', serif;
  --font-sans: 'Outfit', sans-serif;
  --card-border: rgba(212, 175, 55, 0.15);
  --card-bg: rgba(5, 10, 22, 0.45);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-primary) var(--bg-primary);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--gold-dark);
  border-radius: 3px;
  transition: background 0.3s;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-light);
}

body {
  background-color: var(--bg-primary);
  color: var(--text-light);
  font-family: var(--font-sans);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Lenis Smooth Scroll Configuration */
html.lenis {
  height: auto;
}
.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis-stopped {
  overflow: hidden;
}
.lenis-scrolling iframe {
  pointer-events: none;
}

/* Background Canvas */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

.volumetric-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.ambient-glow-1 {
  position: absolute;
  top: -20%;
  left: 30%;
  width: 50vw;
  height: 50vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, rgba(5, 10, 22, 0) 70%);
  filter: blur(80px);
  animation: pulseGlow 15s infinite alternate ease-in-out;
}

.ambient-glow-2 {
  position: absolute;
  bottom: -10%;
  right: 10%;
  width: 40vw;
  height: 40vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 45, 100, 0.15) 0%, rgba(5, 10, 22, 0) 70%);
  filter: blur(100px);
  animation: pulseGlow 20s infinite alternate-reverse ease-in-out;
}

@keyframes pulseGlow {
  0% { transform: scale(1) translate(0, 0); opacity: 0.6; }
  100% { transform: scale(1.2) translate(5%, 5%); opacity: 1; }
}

/* Page Flow Containers */
.page-container {
  position: relative;
  width: 100%;
  z-index: 10;
}

/* --- HERO SECTION --- */
.hero-section {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Central vertical beam */
.gold-beam {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(to bottom, rgba(212, 175, 55, 0), var(--gold-primary) 20%, #ffffff 50%, var(--gold-primary) 80%, rgba(212, 175, 55, 0));
  box-shadow: 0 0 30px 4px var(--gold-glow-intense), 0 0 10px 1px #ffffff;
  transform: translateX(-50%) scaleY(0);
  transform-origin: center;
  opacity: 0;
  z-index: 5;
}

/* Logo Reveal Container */
.logo-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  perspective: 1000px;
  z-index: 10;
}

.logo-letters {
  display: flex;
  gap: 15px;
  justify-content: center;
  align-items: center;
}

/* 3D Metallic Gold Typography */
.letter {
  font-family: var(--font-display);
  font-size: clamp(4rem, 15vw, 12rem);
  font-weight: 900;
  color: transparent;
  background: linear-gradient(135deg, #ffffff 0%, var(--gold-light) 30%, var(--gold-primary) 60%, var(--gold-dark) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  text-shadow: 0px 5px 25px rgba(0, 0, 0, 0.8);
  filter: drop-shadow(0 0 2px rgba(212, 175, 55, 0.3));
  position: relative;
  display: inline-block;
  opacity: 0;
  transform: scale(0.5) translateZ(-500px);
}

.letter::after {
  content: attr(data-letter);
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(0, 0, 0, 0.8));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  transform: translateY(2px) translateZ(-1px);
  filter: blur(1px);
}

.tagline {
  margin-top: 20px;
  font-family: var(--font-sans);
  font-size: clamp(0.9rem, 2vw, 1.8rem);
  font-weight: 400;
  letter-spacing: 0.6em;
  color: var(--text-muted);
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(20px);
  background: linear-gradient(to right, var(--text-muted), #ffffff, var(--text-muted));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

/* --- NETWORK SECTION --- */
.network-section {
  width: 100%;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  padding: 60px 0 80px 0;
  background: radial-gradient(circle at center, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  overflow: hidden;
}

/* Parent Node in Connection Diagram */
.network-logo-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px 50px;
  background: rgba(5, 10, 22, 0.6);
  border: 1.5px solid rgba(212, 175, 55, 0.35);
  border-radius: 12px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.15);
  z-index: 10;
  margin-bottom: 20px;
}

.network-logo-title {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: transparent;
  background: linear-gradient(135deg, #ffffff 0%, var(--gold-light) 40%, var(--gold-primary) 70%, var(--gold-dark) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.5));
}

.network-logo-subtitle {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  margin-top: 5px;
}

/* SVG Connection Lines Overlay */
.network-svg-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 5;
}

.connection-line {
  fill: none;
  stroke: url(#gold-grad);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 4px var(--gold-glow));
}

.connection-line-bg {
  fill: none;
  stroke: rgba(212, 175, 55, 0.04);
  stroke-width: 2.5;
}

.pulse-circle {
  fill: #ffffff;
  filter: drop-shadow(0 0 8px var(--gold-primary));
}

/* Company Grid Container */
.company-container {
  width: 100%;
  max-width: 1400px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding: 0 50px;
  margin-top: 110px; /* Compact spacing under the network-logo */
  z-index: 10;
}

/* Glassmorphism Corporate Cards */
.company-card {
  background: var(--card-bg);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 40px 25px;
  height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.6);
}

.company-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, rgba(212, 175, 55, 0) 60%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

/* Shimmer Sweep Animation on hover */
.company-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 30%;
  height: 200%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.13) 50%, rgba(255, 255, 255, 0) 100%);
  transform: rotate(30deg);
  transition: all 0s;
  pointer-events: none;
}

.company-card:hover::after {
  left: 150%;
  transition: all 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.company-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(212, 175, 55, 0.45);
  box-shadow: 0 20px 50px -15px rgba(212, 175, 55, 0.15), 0 0 15px -3px var(--gold-glow);
}

.company-card:hover::before {
  opacity: 1;
}

.card-body {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.card-logo-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 25px;
  height: 80px;
}

.company-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.5;
  text-align: center;
}

/* Unique Company Reveals Styles */
/* MindGrow (Floating Gold Particles) */
.particle-emitter {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  z-index: 1;
}

/* Medhasa Handwriting Class */
.handwriting-text {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  stroke: var(--gold-primary);
  stroke-width: 1.8;
  fill: none;
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
}

/* Nopla Tech Matrix Rotation */
.nopla-card {
  transform-style: preserve-3d;
}

/* IFRA Premium Fade Light sweep overlay */
.light-sweep-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0) 0%, rgba(212, 175, 55, 0.08) 50%, rgba(255, 255, 255, 0) 100%);
  transform: translateX(-100%);
  pointer-events: none;
}

/* --- OUTRO SECTION --- */
.outro-section {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.outro-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
  z-index: 10;
  opacity: 0;
  transform: translateY(30px);
}

.outro-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 25px;
  color: transparent;
  background: linear-gradient(135deg, #ffffff 0%, var(--gold-light) 50%, #ffffff 100%);
  background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;
  animation: shineText 6s linear infinite;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.outro-subtitle {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 2vw, 1.8rem);
  font-weight: 500;
  color: var(--text-light);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 15px;
}

.outro-subtitle::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 25%;
  width: 50%;
  height: 1px;
  background: linear-gradient(to right, rgba(212, 175, 55, 0) 0%, var(--gold-primary) 50%, rgba(212, 175, 55, 0) 100%);
  box-shadow: 0 0 10px var(--gold-primary);
}

.outro-logos-row {
  margin-top: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  width: 100%;
  max-width: 900px;
  opacity: 0;
  transform: translateY(30px);
}

.outro-logo-item {
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 0 4px rgba(212, 175, 55, 0.15));
  opacity: 0.85;
}

.outro-logo-item:hover {
  transform: scale(1.08);
  filter: drop-shadow(0 0 12px var(--gold-glow-intense));
  opacity: 1;
}

@keyframes shineText {
  0% { background-position: 0% center; }
  50% { background-position: 100% center; }
  100% { background-position: 0% center; }
}

/* Footer elements */
.brand-footer {
  margin-top: 60px;
  display: flex;
  gap: 40px;
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.5;
}

/* Scroll indicator */
.scroll-indicator {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  z-index: 50;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.mouse-icon {
  width: 20px;
  height: 32px;
  border: 1.5px solid var(--text-muted);
  border-radius: 10px;
  position: relative;
}

.mouse-wheel {
  width: 3px;
  height: 6px;
  background-color: var(--gold-primary);
  border-radius: 50%;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 1.5s infinite;
}

@keyframes scrollWheel {
  0% { top: 6px; opacity: 1; }
  100% { top: 16px; opacity: 0; }
}

/* Responsive Overrides */
@media (max-width: 1200px) {
  .company-container {
    gap: 15px;
    padding: 0 20px;
    margin-top: 90px;
  }
  .company-card {
    height: 250px;
    padding: 25px 15px;
  }
  .company-desc {
    font-size: 0.75rem;
  }
  .outro-logos-row {
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .company-container {
    gap: 10px;
    padding: 0 10px;
    margin-top: 60px;
  }
  .company-card {
    height: 110px;
    padding: 12px 5px;
    border-radius: 10px;
    justify-content: center;
  }
  .card-logo-container {
    height: 60px;
    margin-bottom: 0;
  }
  .company-desc {
    display: none;
  }
  .letter {
    font-size: clamp(3rem, 18vw, 6rem);
  }
  .scroll-indicator {
    bottom: 20px;
  }
  .outro-logos-row {
    gap: 15px;
  }
  .outro-logo-item svg {
    width: 80px;
    height: 35px;
  }
}
