/* ============================================
   HYPER G - Home Page Styles
   ============================================ */

/* Hero Section - Centered */
.home-hero {
  align-items: center;
  text-align: center;
}

.home-hero .hero__content {
  max-width: 1200px;
}

.hero__label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 2rem;
  opacity: 0;
}

.hero__title .word {
  display: inline-block;
  overflow: hidden;
}

.hero__title .char {
  display: inline-block;
  transform: translateY(100%);
  opacity: 0;
}

.hero__subtitle {
  margin: 0 auto 3rem;
  opacity: 0;
}

/* Stats Bar */
.stats-bar {
  display: flex;
  gap: 4rem;
  justify-content: center;
  margin-top: 4rem;
  opacity: 0;
}

.stat-item {
  text-align: center;
  position: relative;
}

.stat-item::after {
  content: '';
  position: absolute;
  right: -2rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--border-highlight), transparent);
}

.stat-item:last-child::after {
  display: none;
}

.stat-value {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 3rem;
  font-weight: 300;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.02em;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.5rem;
}

/* Scroll Indicator */
.scroll-indicator {
  position: relative;
  margin-top: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  opacity: 0;
}

.scroll-text {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--accent-cyan), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* Hero Feature Panels */
.hero-features {
  display: flex;
  flex-direction: column;
}

.hero-feature-panel {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 6rem 4rem 6rem 8rem;
  overflow: hidden;
}

/* Uniform dark gradient overlay matching wireframe */
.hero-feature-panel::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 10, 11, 0.92) 0%,
    rgba(10, 10, 11, 0.75) 50%,
    rgba(10, 10, 11, 0.85) 100%
  );
  z-index: 1;
}

.hero-feature-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-feature-number {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 8rem;
  font-weight: 100;
  line-height: 1;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.3), rgba(168, 85, 247, 0.3));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: absolute;
  top: -2rem;
  left: -1rem;
  opacity: 0.5;
  pointer-events: none;
}

.hero-feature-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 100;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
  line-height: 1.1;
}

.hero-feature-title .gradient-text {
  font-weight: 200;
}

.hero-feature-description {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 2rem;
  max-width: 550px;
}

.hero-feature-stats {
  display: flex;
  gap: 3rem;
  margin-top: 2.5rem;
}

.hero-feature-stat {
  text-align: left;
}

.hero-feature-stat-value {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 3.5rem;
  font-weight: 300;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.hero-feature-stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-top: 0.5rem;
}

/* Additional Features Grid */
.additional-features {
  padding: 6rem 4rem;
  background: var(--bg-secondary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}

.feature-card {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-smooth);
  opacity: 0;
  transform: translateY(40px);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.feature-card:hover {
  border-color: var(--border-highlight);
  transform: translateY(-4px);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 300;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.feature-description {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.feature-metric {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.5rem;
  font-weight: 300;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-top: 1.5rem;
  letter-spacing: 0.02em;
}

.feature-metric-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Technology Section */
.technology {
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.tech-glow {
  position: absolute;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.15) 0%, transparent 60%);
  top: 50%;
  right: -200px;
  transform: translateY(-50%);
  pointer-events: none;
}

.tech-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.tech-description {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 3rem;
}

.tech-specs {
  display: grid;
  gap: 1.5rem;
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  transition: all var(--transition-fast);
}

.spec-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-highlight);
}

.spec-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  font-size: 1rem;
}

.spec-text {
  flex: 1;
}

.spec-title {
  font-family: var(--font-heading);
  font-weight: 400;
  margin-bottom: 0.25rem;
  letter-spacing: 0.02em;
}

.spec-value {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--accent-cyan);
}

/* Network Visual */
.network-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 500px;
  max-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

/* Process Section */
.process {
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.process-timeline {
  display: flex;
  gap: 2rem;
  margin-top: 4rem;
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 25px;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent-cyan), var(--accent-purple), var(--accent-pink));
}

.process-step {
  flex: 1;
  position: relative;
  padding-left: 70px;
  opacity: 0;
  transform: translateY(30px);
}

.process-number {
  position: absolute;
  top: 0;
  left: 0;
  width: 50px;
  height: 50px;
  background: var(--bg-primary);
  border: 2px solid;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.125rem;
  z-index: 2;
}

.process-step:nth-child(1) .process-number {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.process-step:nth-child(2) .process-number {
  border-color: var(--accent-blue);
  color: var(--accent-blue);
}

.process-step:nth-child(3) .process-number {
  border-color: var(--accent-purple);
  color: var(--accent-purple);
}

.process-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 300;
  margin-bottom: 1rem;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.process-description {
  color: var(--text-secondary);
  line-height: 1.8;
}

/* CTA Section */
.cta {
  text-align: center;
  padding: 10rem 4rem;
  position: relative;
  overflow: hidden;
}

.cta-glow-1 {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--glow-cyan) 0%, transparent 70%);
  bottom: -200px;
  left: 20%;
  opacity: 0.4;
}

.cta-glow-2 {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--glow-purple) 0%, transparent 70%);
  top: -100px;
  right: 20%;
  opacity: 0.3;
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 200;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.cta-description {
  color: var(--text-secondary);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto 3rem;
  line-height: 1.8;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-feature-panel {
    padding: 4rem 2rem;
    min-height: 70vh;
  }

  .hero-feature-number {
    font-size: 5rem;
  }

  .hero-feature-stats {
    flex-direction: column;
    gap: 1.5rem;
  }

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

  .additional-features {
    padding: 4rem 2rem;
  }

  .tech-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .network-visual {
    max-width: 350px;
    max-height: 350px;
    margin: 2rem auto 0;
  }

  .process-timeline {
    flex-direction: column;
    gap: 3rem;
  }

  .process-step {
    padding-left: 70px;
  }

  .stats-bar {
    flex-wrap: wrap;
    gap: 2rem;
  }

  .stat-item::after {
    display: none;
  }
}

@media (max-width: 640px) {
  .hero-feature-panel {
    padding: 3rem 1.5rem;
    min-height: 60vh;
  }

  .hero-feature-title {
    font-size: 2rem;
  }

  .hero-feature-stat-value {
    font-size: 2.5rem;
  }

  .network-visual {
    max-width: 280px;
    max-height: 280px;
    margin: 1.5rem auto 0;
  }

  .cta {
    padding: 6rem 1.5rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}
