/* Sparky Tools System - Bright Canvas Spotlight with Crisp Dual Text-Shadow */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  /* Dark Theme with Bright Canvas Background */
  --surface: transparent;
  --surface-dim: #05080e;
  
  --primary: #000000;
  --primary-container: rgba(7, 11, 18, 0.65);
  --on-primary: #ffffff;
  
  --accent-cyan: #38bdf8;
  --accent-cyan-dark: #0284c7;
  --accent-glow: rgba(56, 189, 248, 0.4);
  
  --text-main: #ffffff;
  --text-muted: #f1f5f9;
  --text-dim: #cbd5e1;
  
  --border-color: rgba(255, 255, 255, 0.12);
  --border-highlight: rgba(56, 189, 248, 0.45);
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --font-body: 'Inter', system-ui, sans-serif;
  --font-heading: 'Outfit', 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--surface-dim);
  color: var(--text-main);
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--surface-dim);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* FULL BRIGHTNESS & HIGH OPACITY CANVAS (OPTION 3 REVERTED) */
#frame-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.95; /* Bright and prominent 300-frame video animation */
  filter: contrast(1.05) brightness(0.95);
  transition: opacity 0.5s ease;
}

/* Subtle Vignette Overlay for Edge Contrast */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at center, rgba(5, 8, 14, 0.15) 0%, rgba(5, 8, 14, 0.65) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 10;
}

.section-padding {
  padding: 7.5rem 0;
  position: relative;
  z-index: 10;
}

.text-gradient {
  background: linear-gradient(135deg, #38bdf8 0%, #818cf8 50%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 8px rgba(56, 189, 248, 0.4));
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.15);
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-highlight);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95);
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 4.5rem;
}

/* DUAL TEXT-SHADOW FOR HIGH LEGIBILITY OVER BRIGHT CANVAS */
.section-title {
  font-family: var(--font-heading);
  font-size: 2.85rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.15rem;
  letter-spacing: -0.5px;
  color: #ffffff;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.98), 0 0 10px rgba(0, 0, 0, 0.95);
}

.section-description {
  color: var(--text-muted);
  font-size: 1.15rem;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.98), 0 0 8px rgba(0, 0, 0, 0.9);
}

/* Top Progress Bar */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #38bdf8, #06b6d4);
  z-index: 2000;
  width: 0%;
  transition: width 0.05s linear;
}

/* Header & Glass Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-normal);
  padding: 1.25rem 0;
  background: rgba(5, 8, 14, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar.scrolled {
  background: rgba(5, 8, 14, 0.85);
  padding: 0.85rem 0;
  border-bottom-color: var(--border-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo img {
  height: 42px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.8));
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-link {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  transition: var(--transition-fast);
  position: relative;
  padding: 0.5rem 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95);
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
  transition: var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--text-main);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 100px;
  z-index: 10;
}

.hero-content {
  position: relative;
  z-index: 20;
  max-width: 900px;
  padding: 4rem 0;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 4.25rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.6rem;
  letter-spacing: -1px;
  color: #ffffff;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.98), 0 0 10px rgba(0, 0, 0, 0.95);
}

.hero-subtitle {
  font-size: 1.35rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 720px;
  margin: 0 auto;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.98), 0 0 8px rgba(0, 0, 0, 0.9);
}

/* Cards & Overview Features */
.industrial-card {
  background: rgba(10, 16, 28, 0.35);
  border: 1px solid var(--border-color);
  border-top: 3px solid var(--accent-cyan-dark);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  transition: var(--transition-normal);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  position: relative;
}

.industrial-card:hover {
  transform: translateY(-6px);
  border-top-color: var(--accent-cyan);
  border-color: var(--border-highlight);
  background: rgba(15, 23, 42, 0.55);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 25px var(--accent-glow);
}

.feature-icon {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid var(--border-highlight);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent-cyan);
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.industrial-card h3 {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95);
}

.industrial-card p {
  color: var(--text-muted);
  font-size: 0.975rem;
  line-height: 1.65;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95);
}

/* Grid Layouts */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

/* Feature List (Checked Bullet Points) */
.feature-list {
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 1.05rem;
  color: var(--text-main);
  margin-bottom: 0.85rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.98), 0 0 4px rgba(0, 0, 0, 0.9);
}

.feature-list i {
  color: var(--accent-cyan);
  font-size: 1.15rem;
  margin-top: 0.2rem;
  filter: drop-shadow(0 0 6px var(--accent-cyan));
}

/* Scroll Reveal Animations */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 2.25rem;
  right: 2.25rem;
  z-index: 999;
  width: 58px;
  height: 58px;
  background: #25d366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  transition: var(--transition-normal);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.6);
}

/* Loader Screen */
.loader-overlay {
  position: fixed;
  inset: 0;
  z-index: 5000;
  background-color: #05080e;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.spinner {
  width: 44px;
  height: 44px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--accent-cyan);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

#loader-text {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--text-muted);
  letter-spacing: 1px;
}

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

/* Footer */
footer {
  background: rgba(4, 7, 13, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-color);
  padding: 4.5rem 0 2.25rem;
  position: relative;
  z-index: 10;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3.5rem;
  margin-bottom: 3.5rem;
}

.footer-brand img {
  height: 40px;
  margin-bottom: 1.35rem;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.8));
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  max-width: 330px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.95);
}

.footer-heading {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.35rem;
  color: #ffffff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.95);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.925rem;
  transition: var(--transition-fast);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.95);
}

.footer-links a:hover {
  color: var(--accent-cyan);
}

.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.1);
  padding-top: 2.25rem;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.875rem;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero-title { font-size: 3.25rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
  .navbar-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 290px;
    height: 100vh;
    background: rgba(10, 16, 28, 0.95);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    padding: 6.5rem 2.25rem;
    transition: var(--transition-normal);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.8);
  }

  .navbar-menu.active {
    right: 0;
  }

  .mobile-toggle {
    display: block;
    z-index: 1001;
  }

  .hero-title { font-size: 2.5rem; }
  .hero-subtitle { font-size: 1.1rem; }
  .section-title { font-size: 2.1rem; }
  .footer-grid { grid-template-columns: 1fr; }
}
