/* ============================================
   VECTORIX — home.css — Hero / Landing Page (Futuristic)
   ============================================ */

/* ─── HERO LAYOUT ─── */
.hero {
  min-height: calc(100vh - 58px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 4rem 2.5rem 3rem;
  gap: 3rem;
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0, 105, 91, 0.1) 0%, transparent 70%);
  top: 40%; left: 30%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: glowPulse 6s ease-in-out infinite;
}

.hero-glow-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0, 105, 91, 0.1) 0%, transparent 70%);
  top: 60%; left: 70%;
  animation-delay: -3s;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

/* ─── HERO LEFT ─── */
.hero-left { position: relative; z-index: 2; }

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(124, 58, 255, 0.08);
  border: 1px solid rgba(124, 58, 255, 0.25);
  border-left: 2px solid var(--accent);
  padding: 6px 16px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent2);
  margin-bottom: 1.5rem;
  animation: fadeSlideIn 0.8s ease both;
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 0 100%);
}

.tag-dot {
  width: 6px; height: 6px;
  background: var(--accent2);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--accent2);
  animation: pulseDot 1.5s infinite;
  flex-shrink: 0;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.5); box-shadow: 0 0 12px var(--accent2); }
}

/* ─── TERMINAL WIDGET ─── */
.hero-terminal {
  margin-bottom: 1.75rem;
  background: rgba(0,0,0,0.6);
  border: 1px solid rgba(124,58,255,0.2);
  border-radius: 2px;
  overflow: hidden;
  max-width: 460px;
  animation: fadeSlideIn 0.9s 0.05s ease both;
  box-shadow: 0 0 30px rgba(0,0,0,0.6), inset 0 0 30px rgba(124,58,255,0.03);
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(124,58,255,0.15);
}

.t-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.t-red { background: #ff5f57; }
.t-yellow { background: #ffbd2e; }
.t-green { background: #28c941; }
.t-title { font-size: 10px; color: var(--muted); letter-spacing: 0.1em; margin-left: 6px; font-family: var(--mono); }

.terminal-body { padding: 12px 14px; }
.t-line { font-family: var(--mono); font-size: 11px; line-height: 1.9; }
.t-prompt { color: var(--accent); margin-right: 6px; }
.t-cmd { color: var(--text); }
.t-out { color: var(--muted); padding-left: 18px; display: block; }
.t-success { color: #a855f7; padding-left: 0; display: block; font-weight: 700; text-shadow: 0 0 8px rgba(168,85,247,0.5); }

.cursor-blink {
  display: inline-block;
  animation: blink 1s step-end infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* ─── HERO NAME ─── */
.hero-name {
  font-family: var(--display2);
  font-size: clamp(48px, 6.5vw, 88px);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -2px;
  margin-bottom: 1.25rem;
  animation: fadeSlideIn 0.9s 0.1s ease both;
}

.hero-name .line1 { display: block; color: var(--text); }
.hero-name .line2 {
  display: block;
  -webkit-text-stroke: 1.5px var(--accent2);
  color: transparent;
  text-shadow: 0 0 40px rgba(168,85,247,0.25);
}

.hero-tagline {
  font-size: 12px;
  color: var(--accent2);
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
  border-left: 2px solid var(--accent);
  padding-left: 1rem;
  animation: fadeSlideIn 1s 0.2s ease both;
  font-style: italic;
  text-shadow: 0 0 10px rgba(168,85,247,0.4);
}

.hero-desc {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.9;
  max-width: 440px;
  margin-bottom: 2rem;
  animation: fadeSlideIn 1s 0.3s ease both;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeSlideIn 1s 0.4s ease both;
  margin-bottom: 0.5rem;
}

.btn-icon { font-size: 14px; }

/* ─── STATS ─── */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  animation: fadeSlideIn 1s 0.5s ease both;
}

.stat { position: relative; }
.stat::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 1px;
  height: 100%;
  background: var(--border);
}
.stat:last-child::after { display: none; }

.stat-num {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 900;
  color: var(--accent2);
  line-height: 1;
  margin-bottom: 4px;
  text-shadow: 0 0 20px rgba(168,85,247,0.5);
}

.stat-label {
  font-size: 9px;
  color: var(--muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ─── HERO RIGHT ─── */
/*

.hero-logo-display {
  position: relative;
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}*/

.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeSlideIn 1s 0.2s ease both;
  position: relative;
  z-index: 1;
  margin-left: 20px; /* adjust value as needed */
}

.hero-logo-display img.main-logo {
  width: 100%;
  max-width: 380px;
  filter: drop-shadow(0 0 30px rgba(124, 58, 255, 0.45))
          drop-shadow(0 0 60px rgba(168,85,247,0.2));
  animation: logoFloat 5s ease-in-out infinite;
  display: block;
  margin: 0 auto;
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0) rotate(-0.5deg); }
  50% { transform: translateY(-12px) rotate(0.5deg); }
}

/* HEX RINGS */
.hex-ring {
  position: absolute;
  border-style: solid;
  border-color: rgba(124,58,255,0.15);
  border-radius: 50%;
  pointer-events: none;
  animation: ringRotate 20s linear infinite;
}

.hex-ring-1 {
  width: 320px; height: 320px;
  border-width: 1px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-style: dashed;
}

.hex-ring-2 {
  width: 400px; height: 400px;
  border-width: 1px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-color: rgba(168,85,247,0.1);
  animation-direction: reverse;
  animation-duration: 30s;
}

.hex-ring-3 {
  width: 260px; height: 260px;
  border-width: 1px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-color: rgba(236,72,153,0.08);
  animation-duration: 15s;
}

@keyframes ringRotate {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ─── HERO BADGES ─── */
.hero-badges {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(124,58,255,0.2);
  padding: 6px 14px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.25s;
  display: flex;
  align-items: center;
  gap: 6px;
  clip-path: polygon(0 0, calc(100% - 5px) 0, 100% 5px, 100% 100%, 5px 100%, 0 calc(100% - 5px));
}

.hero-badge:hover {
  color: var(--accent2);
  border-color: var(--accent2);
  background: rgba(168,85,247,0.1);
  box-shadow: 0 0 12px rgba(168,85,247,0.2);
}

.badge-icon { font-size: 12px; }

/* ─── TICKER ─── */
.tech-ticker {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
  position: relative;
  z-index: 2;
}

.ticker-track {
  display: flex;
  gap: 2rem;
  white-space: nowrap;
  animation: tickerScroll 25s linear infinite;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ticker-track span:not([class]) {
  padding: 0 0.25rem;
}

.ticker-track span:nth-child(2n) {
  color: var(--accent2);
  opacity: 0.5;
}

@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ─── HOME CTA SECTION ─── */
.home-cta-section {
  padding: 4rem 3rem;
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 2;
}

.home-cta-box {
  background: rgba(124, 58, 255, 0.04);
  border: 1px solid var(--border);
  padding: 3rem;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}

.cta-circuit-left,
.cta-circuit-right {
  position: absolute;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(124,58,255,0.1);
  pointer-events: none;
}

.cta-circuit-left { top: -30px; left: -30px; border-radius: 50%; }
.cta-circuit-right { bottom: -30px; right: -30px; border-radius: 50%; }

.home-cta-label {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--accent2);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.home-cta-title {
  font-family: var(--display2);
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 1.25rem;
  color: var(--text);
}

.home-cta-title span {
  color: var(--accent2);
  text-shadow: 0 0 24px rgba(168,85,247,0.4);
}

.home-cta-text {
  font-size: 12.5px;
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto 2rem;
  line-height: 1.85;
}

/* ─── FADE KEYFRAMES ─── */
@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 3rem 1.5rem 2rem;
    gap: 2rem;
  }
  .hero-right { order: -1; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .home-cta-section { padding: 3rem 1.5rem; }
  .hero-logo-display img.main-logo { max-width: 260px; }
  .hex-ring-1 { width: 220px; height: 220px; }
  .hex-ring-2 { width: 280px; height: 280px; }
  .hex-ring-3 { display: none; }
}