/* Hero Specific Styles extracted from techpavitra-hero.html */

:root {
  /* Aligned with professional tech palette: Indigo + Cyber Cyan */
  --gold: #00f2ff; /* Cyber Cyan */
  --gold-deep: #00d1db;
  --gold-pale: #e0faff;
  --purple: #6366f1; /* Indigo */
  --purple-light: #818cf8;
  --purple-mid: #4f46e5;
  --dark: #0b0b14; /* Deep Space */
  --dark2: #111122;
  --white: #e2e2f0;
  --white-dim: rgba(226, 226, 240, 0.65);
  --white-faint: rgba(226, 226, 240, 0.35);
}

/* Custom cursor */
.cursor {
  position: fixed;
  width: 12px; height: 12px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s, width 0.2s, height 0.2s, background 0.2s;
  mix-blend-mode: difference;
}
.cursor-ring {
  position: fixed;
  width: 36px; height: 36px;
  border: 1px solid rgba(232,201,109,0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.12s ease, width 0.25s, height 0.25s, border-color 0.2s;
}

/* NAV */
.hero-nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 60px;
  height: 72px;
  background: linear-gradient(to bottom, rgba(11,11,20,0.95) 0%, rgba(11,11,20,0) 100%);
}
.hero-nav .brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
}
.hero-nav .brand img {
  height: 24px;
  width: auto;
}
.hero-nav .brand-divider {
  width: 1px; height: 16px;
  background: var(--border-strong);
}
.hero-nav .brand-labs {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.hero-nav .nav-links {
  display: flex; gap: 36px; list-style: none;
}
.hero-nav .nav-links a {
  color: var(--white-dim);
  text-decoration: none;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.06em;
  transition: color 0.2s;
  position: relative;
}
.hero-nav .nav-links a::after {
  content: '';
  position: absolute; bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s;
}
.hero-nav .nav-links a:hover { color: var(--white); }
.hero-nav .nav-links a:hover::after { width: 100%; }
.hero-nav .nav-cta {
  padding: 9px 22px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  background: transparent;
  cursor: none;
  transition: background 0.2s, color 0.2s;
  position: relative;
  overflow: hidden;
}
.hero-nav .nav-cta::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.hero-nav .nav-cta:hover::before { transform: scaleX(1); }
.hero-nav .nav-cta:hover { color: var(--dark); }
.hero-nav .nav-cta span { position: relative; z-index: 1; }

/* HERO */
.hero-section {
  position: relative;
  width: 100%; min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
  background: var(--dark);
  color: var(--white);
  font-family: 'Inter', sans-serif;
}
.hero-section canvas#bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
}

/* Vignette overlay */
.hero-section .vignette {
  position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(5,0,8,0.7) 100%);
  pointer-events: none;
}

/* Scan line effect */
.hero-section .scanlines {
  position: absolute; inset: 0; z-index: 2;
  background: repeating-linear-gradient(
    to bottom,
    transparent,
    transparent 3px,
    rgba(0,0,0,0.04) 3px,
    rgba(0,0,0,0.04) 4px
  );
  pointer-events: none;
}

.hero-inner-content {
  position: relative; z-index: 10;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
  width: 100%;
  padding-top: 80px;
}

.hero-eyebrow-container {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUpHero 0.8s 0.3s forwards;
}
.hero-eyebrow-line {
  width: 40px; height: 1px;
  background: linear-gradient(to right, transparent, var(--gold));
}
.hero-eyebrow-text {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.hero-eyebrow-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold);
  animation: blinkHero 1.8s infinite;
}
@keyframes blinkHero { 0%,100%{opacity:1} 50%{opacity:0.2} }

.hero-main-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(32px, 5vw, 62px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
  max-width: 680px; /* Reduced to leave space for hexagons on the right */
  opacity: 0;
  animation: fadeUpHero 0.9s 0.5s forwards;
}
.hero-main-title .line1 { display: block; color: var(--white); }
.hero-main-title .line2 { display: block; color: var(--white); }
.hero-main-title .accent {
  color: var(--purple-light);
  font-style: normal;
  position: relative;
}
.hero-main-title .gold { color: var(--gold); }

.hero-description {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--white-dim);
  max-width: 520px;
  margin-bottom: 44px;
  opacity: 0;
  animation: fadeUpHero 0.9s 0.7s forwards;
  border-left: 1px solid rgba(232,201,109,0.25);
  padding-left: 20px;
}

.hero-actions-container {
  display: flex; gap: 16px; flex-wrap: wrap;
  opacity: 0;
  animation: fadeUpHero 0.9s 0.9s forwards;
}
.hero-btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 32px;
  background: var(--gold);
  color: var(--dark);
  font-family: 'Inter', sans-serif;
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none; cursor: none;
  position: relative; overflow: hidden;
  transition: transform 0.2s;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}
.hero-btn-primary::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,255,255,0.15);
  transform: translateX(-100%) skewX(-15deg);
  transition: transform 0.4s ease;
}
.hero-btn-primary:hover::after { transform: translateX(120%) skewX(-15deg); }
.hero-btn-primary:hover { transform: translateY(-2px); }

.hero-btn-secondary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 30px;
  border: 1px solid rgba(129,140,248,0.4);
  color: var(--purple-light);
  font-family: 'Inter', sans-serif;
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none; cursor: none;
  background: rgba(99,102,241,0.08);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}
.hero-btn-secondary:hover {
  background: rgba(124,58,237,0.18);
  border-color: rgba(192,132,252,0.7);
  transform: translateY(-2px);
}
.hero-btn-arrow { font-size: 16px; transition: transform 0.2s; }
.hero-btn-primary:hover .hero-btn-arrow,
.hero-btn-secondary:hover .hero-btn-arrow { transform: translateX(4px); }

/* Stats row */
.hero-stats-row {
  position: absolute;
  bottom: 50px; left: 60px;
  display: flex; gap: 48px;
  z-index: 10;
  opacity: 0;
  animation: fadeUpHero 0.9s 1.2s forwards;
}
.hero-stat-item { }
.hero-stat-num {
  font-family: 'Inter', sans-serif;
  font-size: 26px; font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat-label {
  font-size: 10px; font-weight: 500;
  color: var(--white-faint);
  letter-spacing: 0.14em; text-transform: uppercase;
}
.hero-stat-divider {
  width: 1px; background: rgba(232,201,109,0.15);
  align-self: stretch;
}

/* Corner brackets */
.hero-corner {
  position: absolute; z-index: 10;
  width: 24px; height: 24px;
  pointer-events: none;
  opacity: 0;
  animation: fadeInHero 1s 1.5s forwards;
}
.hero-corner svg { width: 100%; height: 100%; }
.hero-c-tl { top: 20px; left: 20px; }
.hero-c-tr { top: 20px; right: 20px; transform: scaleX(-1); }
.hero-c-bl { bottom: 20px; left: 20px; transform: scaleY(-1); }
.hero-c-br { bottom: 20px; right: 20px; transform: scale(-1,-1); }

/* Scroll indicator */
.hero-scroll-hint {
  position: absolute;
  bottom: 50px; right: 60px;
  z-index: 10;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  opacity: 0;
  animation: fadeInHero 1s 1.8s forwards;
}
.hero-scroll-hint span {
  font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--white-faint); writing-mode: vertical-rl;
}
.hero-scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, var(--gold-deep), transparent);
  animation: scrollLineHero 1.5s 2s infinite;
}
@keyframes scrollLineHero {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

@keyframes fadeUpHero {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInHero {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Mobile */
@media (max-width: 768px) {
  .hero-nav { padding: 0 24px; }
  .hero-nav .nav-links { display: none; }
  .hero-inner-content { padding: 0 24px; padding-top: 80px; }
  .hero-stats-row { left: 24px; gap: 24px; }
  .hero-scroll-hint { display: none; }
  .hero-main-title { font-size: 36px; }
}
