/* ═══════════════════════════════════════════
   FEATURE: HERO
   ═══════════════════════════════════════════ */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 9rem 2.5rem 5rem;
}

/* Radial gradient background */
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 15% 55%, rgba(0,174,239,0.16) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 85% 20%, rgba(61,197,255,0.09) 0%, transparent 55%),
    var(--background);
}

/* Grid overlay */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(51, 65, 85, 0.25) 1px, transparent 1px),
    linear-gradient(90deg, rgba(51, 65, 85, 0.25) 1px, transparent 1px);
  background-size: 55px 55px;
  -webkit-mask-image: radial-gradient(ellipse at center, black 25%, transparent 72%);
  mask-image:         radial-gradient(ellipse at center, black 25%, transparent 72%);
}

/* Inner layout */
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

/* ── Copy ────────────────────────────── */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(0, 174, 239, 0.1);
  border: 1px solid rgba(0, 174, 239, 0.3);
  color: var(--primary);
  padding: 0.4rem 1.1rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 1.6rem;
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  background: var(--primary);
  border-radius: 50%;
  animation: heroBlink 2s ease-in-out infinite;
}
@keyframes heroBlink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.75); }
}

/* Typewriter cursor */
.tw-cursor {
  display: inline-block;
  width: 3px;
  height: 0.85em;
  background: var(--primary);
  margin-left: 3px;
  vertical-align: text-bottom;
  border-radius: 1px;
  animation: twBlink 0.65s step-end infinite;
}
.tw-cursor.tw-done { opacity: 0; animation: none; }
@keyframes twBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

.hero-tagline {
  font-size: 0.92rem;
  font-style: italic;
  color: var(--primary);
  margin-bottom: 1.2rem;
  letter-spacing: 0.02em;
  opacity: 0.9;
}
.hero-tagline .fa-quote-left { font-size: 0.72rem; margin-right: 0.35rem; opacity: 0.7; }

.hero-copy h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.grad {
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-copy p {
  font-size: 1.08rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 2.2rem;
  max-width: 490px;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }

/* Stats row */
.hero-stats {
  display: flex;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.hero-stat { display: flex; flex-direction: column; gap: 0.2rem; }
.hero-stat-num {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--primary);
  font-family: 'Lato', sans-serif;
  line-height: 1;
}
.hero-stat-lbl {
  font-size: 0.73rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── Visual / Orb ───────────────────── */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.orb-wrap {
  position: relative;
  width: 420px;
  height: 420px;
}

.orb-ring {
  position: absolute;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(0, 174, 239, 0.25);
}
.orb-ring-1 { width: 260px; height: 260px; animation: orbSpin 18s linear infinite; }
.orb-ring-2 { width: 340px; height: 340px; border-style: dashed; animation: orbSpin 13s linear infinite reverse; }
.orb-ring-3 { width: 400px; height: 400px; border-color: rgba(0,174,239,0.35); animation: orbSpin 22s linear infinite; }
@keyframes orbSpin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

.orb-dot {
  position: absolute;
  width: 9px;
  height: 9px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--primary);
}

.orb-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0,174,239,0.18), rgba(61,197,255,0.08));
  border: 1px solid rgba(0, 174, 239, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.orb-core img { width: 120px; }

/* Floating tech chips */
.float-chip {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  animation: chipFloat 3s ease-in-out infinite;
}
@keyframes chipFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}
.float-chip-1 { top: 3%;    left: 3%;   animation-delay: 0.0s; }
.float-chip-2 { top: 8%;    right: 0%;  animation-delay: 0.6s; }
.float-chip-3 { bottom: 10%; left: 0%;  animation-delay: 1.2s; }
.float-chip-4 { bottom: 4%;  right: 4%; animation-delay: 1.8s; }

/* ── Responsive ─────────────────────── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 0; }
  .hero-copy p { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-stats  { justify-content: center; }
  .hero-visual { display: none; }
}
@media (max-width: 768px) {
  .hero { padding: 8rem 1.5rem 4rem; }
}
