/* ==========================================================================
   HELIUM ENTERPRISE PVT. LTD. - DESIGN SYSTEM & CORE STYLES (WHITE THEME)
   Aesthetics: Clean Corporate White Theme, Royal Blue & Cyan Accents,
               Soft Glassmorphism, Subtle Shadows, High Whitespace & Typography
   ========================================================================== */

:root {
  /* White Theme Color Tokens */
  --bg-dark: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-card: rgba(255, 255, 255, 0.9);
  --bg-card-hover: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.85);
  
  --primary-blue: #2563eb;
  --primary-blue-hover: #1d4ed8;
  --cyan-glow: #0284c7;
  --cyan-light: #0ea5e9;
  --indigo-accent: #4f46e5;
  --violet-glow: #7c3aed;

  --border-glass: #e2e8f0;
  --border-glass-bright: rgba(37, 99, 235, 0.3);
  
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dim: #64748b;
  
  /* Soft Premium Light Shadows */
  --glow-blue: 0 10px 30px -5px rgba(37, 99, 235, 0.2);
  --glow-cyan: 0 10px 30px -5px rgba(2, 132, 199, 0.2);
  --glow-card: 0 20px 40px -15px rgba(15, 23, 42, 0.08), 0 0 1px 1px rgba(226, 232, 240, 0.8);
  --shadow-hover: 0 25px 50px -12px rgba(37, 99, 235, 0.15), 0 0 0 1px rgba(37, 99, 235, 0.2);

  /* Fonts & Transitions */
  --font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-family);
  background-color: var(--bg-dark);
  color: var(--text-main);
  scroll-behavior: smooth;
  overflow-x: hidden;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  position: relative;
  min-height: 100vh;
  line-height: 1.6;
  background-color: var(--bg-dark);
  color: var(--text-main);
  overflow-x: hidden;
}

/* Light Ambient Lighting Background Blobs */
.ambient-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.45;
  animation: blobFloat 22s infinite alternate ease-in-out;
}

.blob-1 {
  top: -10%;
  left: 15%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(219, 234, 254, 0.8), rgba(186, 230, 253, 0.8));
}

.blob-2 {
  bottom: 10%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(224, 231, 255, 0.8), rgba(238, 242, 255, 0.8));
  animation-delay: -7s;
}

.blob-3 {
  top: 40%;
  left: -15%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(186, 230, 253, 0.7), rgba(219, 234, 254, 0.7));
  animation-delay: -12s;
}

@keyframes blobFloat {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, 35px) scale(1.08); }
  100% { transform: translate(-30px, 60px) scale(0.96); }
}

/* Light Pattern Background */
.bg-grid-pattern {
  position: absolute;
  inset: 0;
  background-size: 50px 50px;
  background-image: 
    linear-gradient(to right, rgba(37, 99, 235, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(37, 99, 235, 0.04) 1px, transparent 1px);
  pointer-events: none;
}

.container {
  width: 100%;
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.1rem;
  border-radius: 9999px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: var(--primary-blue);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  width: max-content;
}

.section-tag i,
.section-tag svg,
.section-tag [data-lucide] {
  width: 1.1rem;
  height: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  flex-shrink: 0;
  stroke: var(--primary-blue);
  stroke-width: 2.2;
}

.section-title {
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 1.25rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section-description {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--text-muted);
  max-width: 720px;
  line-height: 1.7;
}

.mb-16,
.section-header-mb {
  margin-bottom: 4rem !important;
}

.text-gradient {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-cyan {
  color: var(--cyan-glow);
}

.text-blue {
  color: var(--primary-blue);
}

/* Glassmorphism Panels for Light Theme */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: 1.5rem;
  box-shadow: var(--glow-card);
  transition: all var(--transition-smooth);
}

.glass-panel:hover {
  border-color: var(--border-glass-bright);
  box-shadow: var(--shadow-hover);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.9rem 2.25rem;
  border-radius: 9999px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-bounce);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px -5px rgba(37, 99, 235, 0.6);
  color: #ffffff;
}

.btn-secondary {
  background: #ffffff;
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.05);
}

.btn-secondary:hover {
  background: #f8fafc;
  border-color: var(--primary-blue);
  color: var(--primary-blue);
  transform: translateY(-2px);
}

.btn-icon {
  transition: transform var(--transition-fast);
}

.btn:hover .btn-icon {
  transform: translateX(4px);
}

/* Utilities */
.relative { position: relative; }
.z-10 { z-index: 10; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.py-section { padding-top: 6rem; padding-bottom: 6rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.mb-12 { margin-bottom: 3rem; }
.hidden { display: none !important; }

/* Layout: Clear fixed header navigation on subpages */
main {
  padding-top: 0;
}

#scroll-content main {
  padding-top: 0;
}

/* Offline Resilient Core Button System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 9999px;
  text-decoration: none;
  transition: all var(--transition-smooth);
  cursor: pointer;
  border: 2px solid transparent;
  line-height: 1.2;
}

.btn-primary {
  background: var(--primary-blue);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
}

.btn-primary:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
}

.btn-white {
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.btn-white:hover {
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
  color: #0f172a;
}

.btn-secondary {
  background: #ffffff;
  color: var(--text-main) !important;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.02);
}

.btn-secondary:hover {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
}

/* Flex & Gap Layout Utilities (Offline Resilience) */
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

/* Responsive Mobile Layout & Button Group Spacing */
@media (max-width: 640px) {
  .hero-cta-group,
  .cta-btn-group,
  .flex-wrap.gap-4,
  .flex-wrap.gap-3 {
    flex-direction: column;
    width: 100%;
    gap: 0.85rem !important;
  }

  .hero-cta-group .btn,
  .cta-creative-card .btn,
  .cta-btn-group .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}
