/* =========================================
   HERO SECTION STYLES
   ========================================= */

#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  position: relative;
  overflow: hidden;
}

#hero .grid-bg { opacity: 0.6; }

/* Orb placements */
#hero .orb-1 {
  width: 600px; height: 600px;
  top: -200px; right: -100px;
  background: radial-gradient(circle, var(--accent-cyan) 0%, transparent 70%);
  opacity: 0.08;
}
#hero .orb-2 {
  width: 400px; height: 400px;
  bottom: -100px; left: -80px;
  background: radial-gradient(circle, var(--accent-purple) 0%, transparent 70%);
  opacity: 0.12;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Hero Left */
.hero-left { padding: 40px 0; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: 100px;
  padding: 6px 14px 6px 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-cyan);
  letter-spacing: 0.05em;
  margin-bottom: 28px;
  animation: fadeInDown 0.8s ease forwards;
}

.hero-badge .dot {
  width: 7px; height: 7px;
  background: var(--accent-green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(57, 255, 106, 0.4); }
  50% { box-shadow: 0 0 0 6px rgba(57, 255, 106, 0); }
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
  animation: fadeInUp 0.8s 0.1s ease both;
}

.hero-title .line-2 {
  display: block;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  margin: 20px 0 36px;
  line-height: 1.7;
  max-width: 480px;
  animation: fadeInUp 0.8s 0.2s ease both;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s 0.3s ease both;
}

.btn-hero {
  padding: 14px 28px;
  font-size: 0.95rem;
  border-radius: 10px;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 52px;
  padding-top: 32px;
  border-top: 1px solid var(--border-color);
  animation: fadeInUp 0.8s 0.4s ease both;
}

.stat-item { display: flex; flex-direction: column; }

.stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.stat-number span { color: var(--accent-cyan); }

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Hero Right - Terminal Card */
.hero-right {
  display: flex;
  justify-content: center;
  animation: fadeInRight 0.9s 0.2s ease both;
}

.terminal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  width: 100%;
  max-width: 480px;
  box-shadow: var(--shadow-card), var(--shadow-glow);
  position: relative;
}

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

.terminal-header {
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border-color);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.terminal-dots {
  display: flex;
  gap: 7px;
}

.terminal-dots span {
  width: 12px; height: 12px;
  border-radius: 50%;
}
.terminal-dots span:nth-child(1) { background: #ff5f56; }
.terminal-dots span:nth-child(2) { background: #ffbd2e; }
.terminal-dots span:nth-child(3) { background: #27c93f; }

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-left: 4px;
}

.terminal-body {
  padding: 24px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 2;
}

.t-line { display: flex; gap: 10px; }
.t-prompt { color: var(--accent-green); }
.t-cmd { color: var(--text-primary); }
.t-comment { color: var(--text-muted); }
.t-output { color: var(--accent-cyan); padding-left: 18px; }
.t-output.success { color: var(--accent-green); }
.t-output.warning { color: var(--accent-orange); }
.t-blank { height: 14px; }

.t-cursor {
  display: inline-block;
  width: 8px; height: 14px;
  background: var(--accent-cyan);
  vertical-align: middle;
  animation: blink 1.2s step-end infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

/* Floating tech tags */
.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px 24px 24px;
  border-top: 1px solid var(--border-color);
}

.tech-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid rgba(0, 229, 255, 0.15);
  color: var(--text-secondary);
  transition: var(--transition);
  cursor: none;
}
.tech-tag:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  background: rgba(0, 229, 255, 0.05);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: fadeInUp 1s 1s ease both;
}

.scroll-mouse {
  width: 24px; height: 38px;
  border: 2px solid rgba(0, 229, 255, 0.3);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-mouse span {
  width: 3px; height: 8px;
  background: var(--accent-cyan);
  border-radius: 3px;
  animation: scrollDown 2s ease infinite;
}

@keyframes scrollDown {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(10px); }
}

.scroll-indicator p {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Animations */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-right { display: none; }
  .hero-stats { gap: 24px; }
}

@media (max-width: 480px) {
  .hero-stats { flex-direction: column; gap: 16px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn-hero { text-align: center; justify-content: center; }
}
