/* ========================================
   HERO SECTION - CYBER-PRECISION INDUSTRIAL
   Modern, sleek tech aesthetic for computer hardware
   ======================================== */

/* Google Fonts - Technical Typography */
@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@300;400;500;600;700&family=JetBrains+Mono:wght@100;200;300;400;500;600;700;800&family=Orbitron:wght@400;500;600;700;800;900&display=swap');

/* ========== HERO CONTAINER ========== */
#hero-intro {
  position: relative;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0f0f0f 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: heroFadeIn 3s ease-out forwards;
}

@keyframes heroFadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* ========== ANIMATED BACKGROUND BLOBS ========== */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

.hero-blob-1 {
  width: 750px;
  height: 750px;
  background: radial-gradient(circle, rgba(247, 147, 30, 0.45) 0%, rgba(247, 147, 30, 0.2) 40%, rgba(247, 147, 30, 0.08) 70%, transparent 100%);
  top: -300px;
  left: -300px;
  animation: blobMoveIn1 4s ease-out forwards;
  animation-delay: 0.5s;
}

.hero-blob-2 {
  width: 750px;
  height: 750px;
  background: radial-gradient(circle, rgba(247, 147, 30, 0.45) 0%, rgba(247, 147, 30, 0.2) 40%, rgba(247, 147, 30, 0.08) 70%, transparent 100%);
  top: -300px;
  right: -300px;
  animation: blobMoveIn2 4s ease-out forwards;
  animation-delay: 0.7s;
}

@keyframes blobFadeIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes blobMoveIn1 {
  0% {
    opacity: 0;
    filter: blur(100px);
    transform: translate(-500px, -500px) scale(0.3);
  }
  10% {
    opacity: 0.1;
  }
  20% {
    opacity: 0.2;
  }
  30% {
    opacity: 0.3;
    transform: translate(-375px, -375px) scale(0.5);
  }
  40% {
    opacity: 0.4;
  }
  50% {
    opacity: 0.5;
    transform: translate(-250px, -250px) scale(0.7);
  }
  60% {
    opacity: 0.6;
  }
  70% {
    opacity: 0.7;
    transform: translate(-125px, -125px) scale(0.85);
  }
  80% {
    opacity: 0.8;
  }
  90% {
    opacity: 0.9;
  }
  100% {
    opacity: 1;
    filter: blur(100px);
    transform: translate(0, 0) scale(1);
  }
}

@keyframes blobMoveIn2 {
  0% {
    opacity: 0;
    filter: blur(100px);
    transform: translate(500px, -500px) scale(0.3);
  }
  10% {
    opacity: 0.1;
  }
  20% {
    opacity: 0.2;
  }
  30% {
    opacity: 0.3;
    transform: translate(375px, -375px) scale(0.5);
  }
  40% {
    opacity: 0.4;
  }
  50% {
    opacity: 0.5;
    transform: translate(250px, -250px) scale(0.7);
  }
  60% {
    opacity: 0.6;
  }
  70% {
    opacity: 0.7;
    transform: translate(125px, -125px) scale(0.85);
  }
  80% {
    opacity: 0.8;
  }
  90% {
    opacity: 0.9;
  }
  100% {
    opacity: 1;
    filter: blur(100px);
    transform: translate(0, 0) scale(1);
  }
}

@keyframes blobFloat1 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(80px, -80px) scale(1.2);
  }
  50% {
    transform: translate(-60px, -150px) scale(0.85);
  }
  75% {
    transform: translate(50px, -100px) scale(1.1);
  }
}

@keyframes blobFloat2 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(-70px, 100px) scale(1.15);
  }
  50% {
    transform: translate(100px, 60px) scale(0.9);
  }
  75% {
    transform: translate(-40px, 120px) scale(1.08);
  }
}

@keyframes blobFloat3 {
  0%, 100% {
    transform: translateY(-50%) translate(0, 0) scale(1);
  }
  33% {
    transform: translateY(-50%) translate(-50px, 40px) scale(1.05);
  }
  66% {
    transform: translateY(-50%) translate(-30px, -40px) scale(0.95);
  }
}

/* ========== TECHNICAL GRID OVERLAY ========== */
.hero-grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(0, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 1;
  animation: gridPulse 4s ease-in-out infinite;
}

@keyframes gridPulse {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 0.4; }
}

/* ========== SCANLINE EFFECT ========== */
.hero-scanline {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(0, 255, 255, 0.3) 50%,
    transparent 100%);
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
  animation: scanlineMove 8s linear infinite;
  z-index: 2;
  pointer-events: none;
  opacity: 0.5;
}

@keyframes scanlineMove {
  0% { transform: translateY(0); }
  100% { transform: translateY(100vh); }
}

/* ========== FLOATING PARTICLES ========== */
.hero-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 1;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: rgba(255, 107, 53, 0.3);
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(255, 107, 53, 0.4);
  animation: particleFloat 15s infinite ease-in-out;
  opacity: 0.6;
}

.particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; animation-duration: 12s; }
.particle:nth-child(2) { left: 80%; top: 30%; animation-delay: 2s; animation-duration: 15s; }
.particle:nth-child(3) { left: 30%; top: 70%; animation-delay: 4s; animation-duration: 18s; }
.particle:nth-child(4) { left: 60%; top: 50%; animation-delay: 1s; animation-duration: 14s; }
.particle:nth-child(5) { left: 90%; top: 80%; animation-delay: 3s; animation-duration: 16s; }
.particle:nth-child(6) { left: 20%; top: 90%; animation-delay: 5s; animation-duration: 13s; }
.particle:nth-child(7) { left: 50%; top: 10%; animation-delay: 2.5s; animation-duration: 17s; }
.particle:nth-child(8) { left: 70%; top: 60%; animation-delay: 4.5s; animation-duration: 19s; }

@keyframes particleFloat {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.3;
  }
  25% {
    transform: translate(20px, -30px) scale(1.2);
    opacity: 0.8;
  }
  50% {
    transform: translate(-15px, -60px) scale(0.8);
    opacity: 0.5;
  }
  75% {
    transform: translate(10px, -40px) scale(1.1);
    opacity: 0.7;
  }
}

/* ========== CONTENT WRAPPER ========== */
.hero-content-wrapper {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
}

/* ========== TOP LABEL ========== */
.hero-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 3rem;
  animation: labelFadeIn 1s ease-out 0.3s backwards;
}

@keyframes labelFadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-label-line {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.6), transparent);
}

.hero-label-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 4px;
  color: rgba(0, 255, 255, 0.9);
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

/* ========== BRAND NAME ========== */
.hero-brand-name {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(100px, 18vw, 240px);
  font-weight: 900;
  letter-spacing: 0.08em;
  margin: 0 0 3rem 0;
  color: #ff6b35;
  text-shadow:
    3px 3px 0px rgba(255, 107, 53, 0.8),
    0 0 20px rgba(255, 107, 53, 0.5);
  position: relative;
  display: inline-block;
  filter: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transform: translateZ(0);
  backface-visibility: hidden;
  z-index: 100;
  opacity: 1;
}

.brand-letter {
  display: inline-block;
  animation: letterReveal 0.8s ease-out var(--delay) backwards;
  position: relative;
  filter: none;
  color: inherit;
}

@keyframes letterReveal {
  0% {
    opacity: 0;
    transform: translateY(50px) rotateX(-90deg);
  }
  100% {
    opacity: 1;
    transform: translateY(0) rotateX(0);
  }
}

.brand-letter:hover {
  color: #ff6b35;
  text-shadow:
    3px 3px 0px rgba(255, 107, 53, 0.9),
    0 0 30px rgba(255, 107, 53, 0.8),
    0 0 50px rgba(255, 107, 53, 0.5);
  transition: all 0.3s ease;
  transform: scale(1.05);
}

/* ========== HEADLINE ========== */
.hero-headline {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(28px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.95);
  margin: 0 0 3rem 0;
  position: relative;
}

.headline-line {
  display: block;
  animation: lineSlideIn 1s ease-out backwards;
  position: relative;
  overflow: hidden;
}

.headline-line:nth-child(1) { animation-delay: 0.5s; }
.headline-line:nth-child(2) { animation-delay: 0.7s; }
.headline-line:nth-child(3) { animation-delay: 0.9s; }

@keyframes lineSlideIn {
  from {
    opacity: 0;
    transform: translateX(-50px);
    clip-path: inset(0 100% 0 0);
  }
  to {
    opacity: 1;
    transform: translateX(0);
    clip-path: inset(0 0 0 0);
  }
}

/* ========== SUBHEADING ========== */
.hero-subheading {
  position: relative;
  max-width: 700px;
  animation: subFadeIn 1s ease-out 1.1s backwards;
}

@keyframes subFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.sub-accent-bar {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #00ffff, #ff6b35);
  margin: 0 auto 1.5rem auto;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.sub-text {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(16px, 2.5vw, 24px);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.01em;
  margin: 0;
}

/* ========== TECH SPECS ========== */
.hero-specs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 4vw, 60px);
  margin: 0 0 3rem 0;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 4px;
  backdrop-filter: blur(10px);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  animation: specsFadeIn 1s ease-out 1.3s backwards;
}

@keyframes specsFadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}


.spec-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 700;
  color: #00ffff;
  text-shadow: 0 0 20px rgba(0, 255, 255, 0.6);
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.spec-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(10px, 1.5vw, 13px);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 3px;
  text-transform: uppercase;
}

.spec-divider {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, transparent, rgba(0, 255, 255, 0.3), transparent);
}

/* ========== CTA BUTTON ========== */
.hero-cta {
  margin: 0 0 3rem 0;
  animation: ctaFadeIn 1s ease-out 1.5s backwards;
}

@keyframes ctaFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 15px;
  padding: 18px 50px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  color: #0a0a0a;
  background: transparent;
  border: 2px solid #ff6b35;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
  z-index: 1;
}

.btn-bg {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  z-index: -1;
  transition: left 0.5s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.hero-btn:hover .btn-bg {
  left: 0;
}

.btn-text {
  position: relative;
  z-index: 2;
  color: #ff6b35;
  transition: color 0.3s ease 0.2s;
}

.hero-btn:hover .btn-text {
  color: #ffffff;
}

.btn-arrow {
  position: relative;
  z-index: 2;
  font-size: 20px;
  color: #ff6b35;
  transition: transform 0.3s ease, color 0.3s ease 0.2s;
}

.hero-btn:hover .btn-arrow {
  transform: translateX(5px);
  color: #ffffff;
}

.hero-btn:hover {
  box-shadow:
    0 0 30px rgba(255, 107, 53, 0.6),
    0 0 60px rgba(255, 107, 53, 0.4);
  transform: translateY(-2px);
  border-color: #ff6b35;
}

/* ========== BOTTOM TAGLINE ========== */
.hero-tagline {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(11px, 1.5vw, 13px);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: taglineFadeIn 1s ease-out 1.7s backwards;
  margin-bottom:2rem;
}

@keyframes taglineFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ========== CORNER ACCENTS ========== */
.hero-corner {
  position: absolute;
  width: 100px;
  height: 100px;
  border-style: solid;
  border-color: rgba(0, 255, 255, 0.3);
  z-index: 5;
  pointer-events: none;
  transition: all 0.3s ease;
}

.hero-corner-tl {
  top: 30px;
  left: 30px;
  border-width: 2px 0 0 2px;
  animation: cornerGlow 3s ease-in-out infinite;
}

.hero-corner-tr {
  top: 30px;
  right: 30px;
  border-width: 2px 2px 0 0;
  animation: cornerGlow 3s ease-in-out 0.75s infinite;
}

.hero-corner-bl {
  bottom: 30px;
  left: 30px;
  border-width: 0 0 2px 2px;
  animation: cornerGlow 3s ease-in-out 1.5s infinite;
}

.hero-corner-br {
  bottom: 30px;
  right: 30px;
  border-width: 0 2px 2px 0;
  animation: cornerGlow 3s ease-in-out 2.25s infinite;
}

@keyframes cornerGlow {
  0%, 100% {
    border-color: rgba(0, 255, 255, 0.3);
    box-shadow: none;
  }
  50% {
    border-color: rgba(0, 255, 255, 0.8);
    box-shadow:
      0 0 20px rgba(0, 255, 255, 0.4),
      inset 0 0 20px rgba(0, 255, 255, 0.2);
  }
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 768px) {
  .hero-label {
    margin-bottom: 2rem;
  }

  .hero-label-line {
    width: 40px;
  }

  .hero-label-text {
    font-size: 9px;
    letter-spacing: 2px;
  }

  .hero-brand-name {
    margin-bottom: 1.5rem;
  }

  .hero-headline {
    margin-bottom: 2rem;
  }

  .hero-specs {
    flex-direction: column;
    gap: 20px;
    padding: 1.5rem;
  }

  .spec-divider {
    width: 50px;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(0, 255, 255, 0.3), transparent);
  }

  .hero-btn {
    padding: 15px 35px;
    font-size: 14px;
  }

  .hero-corner {
    width: 60px;
    height: 60px;
  }

  .hero-corner-tl,
  .hero-corner-tr {
    top: 15px;
  }

  .hero-corner-bl,
  .hero-corner-br {
    bottom: 15px;
  }

  .hero-corner-tl,
  .hero-corner-bl {
    left: 15px;
  }

  .hero-corner-tr,
  .hero-corner-br {
    right: 15px;
  }
}

@media (max-width: 480px) {
  .hero-specs {
    padding: 1rem;
  }

  .spec-value {
    font-size: 20px;
  }

  .spec-label {
    font-size: 9px;
  }

  .sub-accent-bar {
    width: 60px;
    height: 2px;
  }
}
