/* Custom Styling for Power Tech Tools - Clean Corporate Industrial Light Theme */
@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@500;600;700&family=Inter:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  --primary: #d97706;
  --primary-hover: #b45309;
  --secondary: #2563eb;
  --navy: #0f172a;
  --light-bg: #f8fafc;
  --light-card: #ffffff;
  --light-border: #e2e8f0;
  --text-main: #0f172a;
  --text-muted: #64748b;
}

html {
  scroll-behavior: smooth;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
  background-color: #f8fafc;
  color: #1e293b;
}

h1, h2, h3, .font-heading {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
}

.font-tech {
  font-family: 'Chakra Petch', monospace, sans-serif;
}

/* Industrial Grid Pattern - Crisp Light Background */
.bg-industrial-grid {
  background-color: #f8fafc;
  background-image: 
    linear-gradient(to right, rgba(15, 23, 42, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
}

.bg-dot-pattern {
  background-image: radial-gradient(rgba(217, 119, 6, 0.18) 1px, transparent 0);
  background-size: 24px 24px;
}

/* High-Contrast Glows */
.glow-amber {
  box-shadow: 0 12px 35px -8px rgba(217, 119, 6, 0.22);
}

.glow-blue {
  box-shadow: 0 12px 35px -8px rgba(37, 99, 235, 0.2);
}

/* Industrial Product & Feature Card */
.metal-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 5px -1px rgba(0, 0, 0, 0.04), 0 1px 3px -1px rgba(0, 0, 0, 0.03);
}

.metal-card:hover {
  border-color: #d97706;
  transform: translateY(-4px);
  box-shadow: 0 16px 30px -8px rgba(15, 23, 42, 0.1), 0 6px 12px -4px rgba(15, 23, 42, 0.05);
}

/* Blade Rotation Animation for Logo & Accent Elements */
@keyframes spin-slow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.animate-spin-slow {
  animation: spin-slow 28s linear infinite;
}

.animate-spin-slow:hover {
  animation-play-state: paused;
}

/* Subtle Pulse Glow */
@keyframes pulse-subtle {
  0%, 100% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.05);
  }
}

.animate-pulse-subtle {
  animation: pulse-subtle 4s ease-in-out infinite;
}

/* Custom Clean Scrollbar */
::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #f59e0b;
}

/* Trust & PSU Badges */
.badge-verified {
  background: #f0fdf4;
  border: 1px solid #86efac;
  color: #15803d;
}

.badge-psu {
  background: #fefce8;
  border: 1px solid #fde047;
  color: #a16207;
}

/* WhatsApp floating pulse */
@keyframes whatsapp-ripple {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.whatsapp-pulse {
  animation: whatsapp-ripple 2s infinite;
}

/* Modal Backdrops */
.modal-backdrop {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* High contrast inputs */
input, select, textarea {
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: #d97706 !important;
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.18) !important;
  background-color: #ffffff !important;
}

/* Technical Specification Table */
.tech-table th {
  background-color: #f1f5f9;
  color: #334155;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  padding: 12px 16px;
  border-bottom: 2px solid #cbd5e1;
}

.tech-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #e2e8f0;
  color: #1e293b;
  font-size: 0.875rem;
}

.tech-table tr:hover td {
  background-color: #fffbeb;
}
