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

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  margin: 0;
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New", monospace;
}

/* App container */
.App {
  background: linear-gradient(135deg, #0a0a0a, #1a0a1a 50%, #0a0a1a);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  text-align: center;
}

/* Background wave */
.neon-wave-bg {
  left: 0;
  opacity: 0.6;
  position: fixed;
  top: 0;
  z-index: -1;
  height: 100%;
  width: 100%;
}

.wave-svg {
  height: 100%;
  width: 100%;
}

.wave-path {
  filter: drop-shadow(0 0 3px currentColor);
  animation: wave-drift 8s ease-in-out infinite;
}

/* Header / Hero */
.App-header {
  align-items: center;
  background: transparent;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
}

/* Neon sign SVG */
.neon-sign {
  margin-bottom: 2rem;
}

.neon-svg {
  overflow: visible;
}

.neon-text {
  font-family: "Arial Black", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 3px;
}

.main-title {
  fill: none;
  stroke: #ff0080;
  stroke-width: 0.8;
  animation: neon-flicker-refined 3s ease-in-out infinite;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 4px;
}

.sub-title-refined {
  fill: #00ff80;
  stroke: none;
  animation: neon-breathe 4s ease-in-out infinite;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 6px;
  opacity: 0.9;
}

.neon-tube {
  animation: tube-flicker 2.5s ease-in-out infinite;
  filter: drop-shadow(0 0 4px #ff0080) drop-shadow(0 0 8px #ff0080);
}

.neon-tube-accent {
  animation: tube-pulse 3.5s ease-in-out infinite;
  filter: drop-shadow(0 0 3px #00ff80) drop-shadow(0 0 6px #00ff80);
  opacity: 0.7;
}

/* Company info */
.company-info {
  margin: 0 auto;
  max-width: 600px;
}

.tagline {
  animation: subtle-glow 4s ease-in-out infinite;
  color: #ff6600;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  text-shadow: 0 0 10px rgba(255, 102, 0, 0.8);
}

.description {
  color: #e0e0e0;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* Services */
.services {
  margin: 3rem 0;
  position: relative;
  z-index: 1;
}

.services-wave-bg {
  height: 200px;
  left: 0;
  margin-left: calc(-50vw + 50%);
  opacity: 0.6;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: -20px;
  width: 100vw;
  z-index: 0;
}

.services-wave-svg {
  height: 100%;
  width: 100%;
}

.services-wave-path {
  animation: services-wave-shimmer 4s ease-in-out infinite;
  transition: stroke-width 0.3s ease, opacity 0.3s ease;
}

.services h3 {
  color: #8000ff;
  font-size: 2rem;
  margin-bottom: 2rem;
  text-shadow: 0 0 10px rgba(128, 0, 255, 0.8);
  position: relative;
  z-index: 2;
}

.service-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin: 0 auto;
  max-width: 800px;
  position: relative;
  z-index: 2;
}

.service-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
  box-shadow: 0 10px 30px rgba(255, 0, 128, 0.3);
  transform: translateY(-5px);
}

.service-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.pulse-icon {
  animation: icon-pulse 3s ease-in-out infinite;
  filter: drop-shadow(0 0 8px currentColor);
  transition: transform 0.3s ease;
}

.pulse-icon:hover {
  transform: scale(1.1);
}

.service-item h4 {
  color: #00ccff;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 5px rgba(0, 204, 255, 0.6);
}

.service-item p {
  color: #ccc;
  font-size: 0.9rem;
}

/* Footer */
.App-footer {
  background: rgba(0, 0, 0, 0.8);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2rem;
  padding: 3rem 2rem 1rem;
  position: relative;
  z-index: 2;
}

.footer-content {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  margin: 0 auto;
  max-width: 1000px;
  text-align: left;
}

.footer-section h4 {
  color: #ff0080;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  text-shadow: 0 0 5px rgba(255, 0, 128, 0.6);
}

.footer-contact p,
.footer-location p {
  color: #e0e0e0;
  font-size: 0.9rem;
  margin: 0.5rem 0;
}

.footer-contact strong {
  color: #00ff80;
  text-shadow: 0 0 3px rgba(0, 255, 128, 0.6);
}

.footer-location {
  align-items: center;
  display: flex;
  gap: 0.5rem;
}

.location-icon {
  animation: pulse-location 3s ease-in-out infinite;
  flex-shrink: 0;
}

.footer-services {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-services li {
  color: #e0e0e0;
  font-size: 0.9rem;
  padding: 0.3rem 0 0.3rem 1rem;
  position: relative;
}

.footer-services li::before {
  color: #8000ff;
  content: "▶";
  left: 0;
  position: absolute;
  text-shadow: 0 0 3px rgba(128, 0, 255, 0.6);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2rem;
  padding-top: 1rem;
  text-align: center;
}

.footer-bottom p {
  color: #888;
  font-size: 0.8rem;
  margin: 0;
}

/* ============================
   Animations
   ============================ */

@keyframes neon-flicker-refined {
  0%, 100% {
    stroke-width: 0.8;
    filter: drop-shadow(0 0 3px #ff0080) drop-shadow(0 0 6px #ff0080);
    opacity: 1;
  }
  25% {
    stroke-width: 1;
    filter: drop-shadow(0 0 5px #ff0080) drop-shadow(0 0 10px #ff0080);
    opacity: 0.95;
  }
  50% {
    stroke-width: 0.6;
    filter: drop-shadow(0 0 2px #ff0080) drop-shadow(0 0 4px #ff0080);
    opacity: 0.9;
  }
  75% {
    stroke-width: 0.9;
    filter: drop-shadow(0 0 4px #ff0080) drop-shadow(0 0 8px #ff0080);
    opacity: 0.98;
  }
}

@keyframes neon-breathe {
  0%, 100% {
    filter: drop-shadow(0 0 2px #00ff80) drop-shadow(0 0 4px #00ff80);
    opacity: 0.9;
  }
  50% {
    filter: drop-shadow(0 0 4px #00ff80) drop-shadow(0 0 8px #00ff80);
    opacity: 1;
  }
}

@keyframes tube-flicker {
  0%, 100% {
    stroke-width: 2;
    opacity: 1;
  }
  50% {
    stroke-width: 1.5;
    opacity: 0.7;
  }
}

@keyframes tube-pulse {
  0%, 100% {
    stroke-width: 1;
    opacity: 0.7;
  }
  50% {
    stroke-width: 1.5;
    opacity: 0.9;
  }
}

@keyframes services-wave-shimmer {
  0%, 100% {
    stroke-width: 3;
    opacity: 0.6;
  }
  25% {
    stroke-width: 4;
    opacity: 0.8;
  }
  50% {
    stroke-width: 3.5;
    opacity: 0.7;
  }
  75% {
    stroke-width: 2.5;
    opacity: 0.9;
  }
}

@keyframes subtle-glow {
  0%, 100% {
    text-shadow: 0 0 5px rgba(255, 102, 0, 0.6);
  }
  50% {
    text-shadow: 0 0 10px rgba(255, 102, 0, 0.9), 0 0 15px rgba(255, 102, 0, 0.6);
  }
}

@keyframes icon-pulse {
  0%, 100% {
    filter: drop-shadow(0 0 6px currentColor);
    opacity: 1;
  }
  50% {
    filter: drop-shadow(0 0 12px currentColor) drop-shadow(0 0 20px currentColor);
    opacity: 0.9;
  }
}

@keyframes pulse-location {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.1);
  }
}

@keyframes wave-drift {
  0%, 100% {
    d: path("M0,400 Q300,300 600,400 T1200,400");
  }
  50% {
    d: path("M0,400 Q300,500 600,400 T1200,400");
  }
}

/* ============================
   Responsive
   ============================ */

@media (max-width: 768px) {
  .neon-svg {
    height: auto;
    width: 90%;
  }

  .main-title {
    font-size: 20px;
  }

  .sub-title-refined {
    font-size: 16px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .App-header {
    gap: 1.5rem;
    padding: 1rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-location {
    justify-content: center;
  }

  .App-footer {
    padding: 2rem 1rem 1rem;
  }
}