/* assets/css/style.css - Solar Panel (Photovoltaic Silicon & Sun Photon) Inspired Theme */
:root {
  --font-family-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-family-heading: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Official Worldlink Solar Favicon Color Tokens */
  --wl-green-primary: #00bf63;     /* Favicon Emerald Green Globe */
  --wl-green-deep: #059669;        /* Rich Sustainable Clean Energy Green */
  --wl-green-forest: #065f46;      /* Deep Environmental Forest */
  --wl-orange-primary: #e95a00;    /* Favicon "WL" Solar Orange Core */
  --wl-orange-flare: #f97316;      /* Radiant Sun Ray */
  --wl-orange-gold: #f59e0b;       /* Solar Photon Harvest */
  --wl-silicon-deep: #0b1a30;      /* Deep Monocrystalline Silicon Core */
  --wl-silicon-blue: #0e2954;      /* High-Efficiency Solar Cell */
  --pv-silver-busbar: #cbd5e1;     /* Silver Conductive Grid Contact */
  --pv-glass-canvas: #f8fafc;      /* Low-Iron Tempered Glass / White Backsheet */
}

/* Universal Typography Spacing: Even, clean, no gaps between alphabets */
html, body, h1, h2, h3, h4, h5, h6, p, span, a, button, input, select, textarea, label, td, th {
  letter-spacing: normal !important;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  -webkit-font-feature-settings: "kern" 1, "liga" 1;
  font-feature-settings: "kern" 1, "liga" 1;
}

html, body {
  max-width: 100%;
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-family-body);
  background-color: #f8fafc;
  color: #0b1a30;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: var(--font-family-heading);
  letter-spacing: normal !important;
}

/* Neutralize all Tailwind tracking utilities that introduce artificial gaps or clumps */
.tracking-tighter,
.tracking-tight,
.tracking-normal,
.tracking-wide,
.tracking-wider,
.tracking-widest {
  letter-spacing: normal !important;
}

/* Solar Panel Gradient Text (Silicon to Solar Flare & Green Eco) */
.text-gradient-solar {
  background: linear-gradient(135deg, #0b1a30 0%, #0e2954 35%, #059669 70%, #e95a00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-pv {
  background: linear-gradient(135deg, #0b1a30 0%, #059669 50%, #00bf63 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-sun {
  background: linear-gradient(135deg, #b45309 0%, #e95a00 50%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-green {
  background: linear-gradient(135deg, #065f46 0%, #059669 50%, #00bf63 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-sun-eco {
  background: linear-gradient(135deg, #e95a00 0%, #00bf63 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-photon {
  background: linear-gradient(135deg, #0e2954 0%, #059669 50%, #e95a00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-gold {
  background: linear-gradient(135deg, #d97706 0%, #e95a00 50%, #0e2954 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Sun Ray & Green Energy Buttons & Badges */
.btn-eco-green {
  background: linear-gradient(135deg, #059669 0%, #00bf63 100%);
  color: #ffffff;
  font-family: var(--font-family-heading);
  font-weight: 800;
  box-shadow: 0 4px 14px 0 rgba(0, 191, 99, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: all 0.25s ease;
}

.btn-eco-green:hover {
  background: linear-gradient(135deg, #047857 0%, #059669 100%);
  box-shadow: 0 6px 20px 0 rgba(0, 191, 99, 0.45);
  transform: translateY(-2px);
}

.badge-sun {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background-color: #fff7ed;
  color: #9a3412;
  border: 1px solid #ffedd5;
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-family-heading);
}

.badge-eco {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background-color: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-family-heading);
}

/* Solar Cell Styled Card (Tempered Glass with Green/Orange Edge) */
.modern-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-top: 3px solid #00bf63;
  border-radius: 1.25rem;
  box-shadow: 0 4px 20px -2px rgba(11, 26, 48, 0.05), 0 2px 6px -1px rgba(11, 26, 48, 0.02);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.modern-card:hover {
  transform: translateY(-4px);
  border-top-color: #e95a00;
  border-color: #6ee7b7;
  box-shadow: 0 20px 25px -5px rgba(0, 191, 99, 0.1), 0 8px 10px -6px rgba(233, 90, 0, 0.08);
}

/* Photovoltaic Wafer Micro-Grid Pattern */
.solar-wafer-grid {
  background-color: #f8fafc;
  background-image: 
    linear-gradient(rgba(14, 41, 84, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 41, 84, 0.04) 1px, transparent 1px);
  background-size: 36px 36px;
}

/* Solar Busbar Divider Line */
.solar-busbar-divider {
  height: 2px;
  background: linear-gradient(90deg, #0b1a30 0%, #059669 35%, #00bf63 65%, #e95a00 100%);
}

/* Photovoltaic Silicon Action Button */
.btn-solar-primary {
  background: linear-gradient(135deg, #0b1a30 0%, #0e2954 50%, #059669 100%);
  color: #ffffff;
  font-family: var(--font-family-heading);
  font-weight: 700;
  box-shadow: 0 4px 14px 0 rgba(14, 41, 84, 0.35);
  transition: all 0.25s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-solar-primary:hover {
  background: linear-gradient(135deg, #071120 0%, #0b1a30 45%, #00bf63 100%);
  box-shadow: 0 6px 20px 0 rgba(0, 191, 99, 0.4);
  transform: translateY(-2px);
}

/* Solar Photon Sunbeam Button (Favicon "WL" Solar Orange) */
.btn-solar-photon {
  background: linear-gradient(135deg, #e95a00 0%, #f59e0b 100%);
  color: #ffffff;
  font-family: var(--font-family-heading);
  font-weight: 800;
  box-shadow: 0 4px 14px 0 rgba(233, 90, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.25s ease;
}

.btn-solar-photon:hover {
  background: linear-gradient(135deg, #f97316 0%, #e95a00 100%);
  box-shadow: 0 6px 20px 0 rgba(233, 90, 0, 0.45);
  transform: translateY(-2px);
  color: #ffffff;
}

/* Silver Contact Secondary Button */
.btn-solar-secondary {
  background: #ffffff;
  color: #0b1a30;
  font-family: var(--font-family-heading);
  font-weight: 700;
  border: 1px solid #cbd5e1;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}

.btn-solar-secondary:hover {
  background: #f0fdf4;
  border-color: #00bf63;
  color: #047857;
}

/* Solar Cell Wafer Step Node */
.step-node-light {
  width: 2.75rem;
  height: 2.75rem;
  background: linear-gradient(135deg, #0b1a30 0%, #0e2954 60%, #00bf63 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-family-heading);
  font-weight: 800;
  font-size: 1.125rem;
  border-radius: 9999px;
  box-shadow: 0 4px 12px rgba(0, 191, 99, 0.3);
  border: 2px solid #cbd5e1;
}

/* Ambient Radial Reflections */
.ambient-light-blue {
  position: absolute;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(14, 41, 84, 0.08) 0%, transparent 70%);
  filter: blur(75px);
  pointer-events: none;
  z-index: 0;
}

.ambient-light-cyan, .ambient-light-emerald {
  position: absolute;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(0, 191, 99, 0.09) 0%, transparent 70%);
  filter: blur(75px);
  pointer-events: none;
  z-index: 0;
}

.ambient-light-amber, .ambient-light-orange {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(233, 90, 0, 0.08) 0%, transparent 70%);
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
::-webkit-scrollbar-track {
  background: #f8fafc;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #0e2954;
}

/* Responsive & Print Utilities */
@media print {
  body {
    background: #ffffff !important;
    color: #000000 !important;
  }
  .no-print, .fixed {
    display: none !important;
  }
}
