
/* =========================================
   YONAS TEDELA - FUTURISTIC HOME PAGE
   Menu styling is managed by allcss.css
========================================= */

:root {
  --home-bg: #07111f;
  --home-panel: #0b192b;
  --home-cyan: #00d4ff;
  --home-blue: #168cff;
  --home-white: #f4f9ff;
  --home-muted: #a9bbce;
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--home-bg);
  color: var(--home-white);
}

/* Main hero area */
.home-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding: 5rem clamp(2rem, 8vw, 9rem);
  overflow: hidden;
  background:
    radial-gradient(
      ellipse at 75% 48%,
      rgba(0, 119, 182, 0.13),
      transparent 38%
    ),
    linear-gradient(135deg, #07111f 0%, #0a1729 55%, #07111f 100%);
}

/* Subtle technical grid */
.hero-grid {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  opacity: 0.15;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.18) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(
    110deg,
    transparent 0%,
    black 35%,
    black 75%,
    transparent 100%
  );
}

/* Ambient background lights */
.hero-glow {
  position: absolute;
  z-index: -1;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.17;
  pointer-events: none;
}

.hero-glow-one {
  top: 8%;
  right: 12%;
  background: var(--home-cyan);
}

.hero-glow-two {
  bottom: 0;
  left: 15%;
  background: var(--home-blue);
}

/* Main text */
.hero-content {
  position: relative;
  z-index: 2;
  width: min(720px, 65%);
  animation: hero-enter 0.8s ease both;
}

.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 2.5rem;
  padding: 10px 15px;
  border: 1px solid rgba(0, 212, 255, 0.22);
  border-radius: 5px;
  background: rgba(0, 212, 255, 0.045);
  color: #b7d9e9;
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 2px;
}

.status-dot {
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--home-cyan);
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.85);
}

.hero-eyebrow {
  margin-bottom: 0.8rem;
  color: var(--home-cyan);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 6px;
}

.hero-content h1 {
  margin: 0;
  color: var(--home-white);
  font-size: clamp(3.4rem, 7.5vw, 7rem);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -4px;
}

.hero-content h1 span {
  display: block;
  color: var(--home-cyan);
  text-shadow: 0 0 35px rgba(0, 212, 255, 0.15);
}

.hero-role {
  margin-top: 1.6rem;
  color: #e4edf7;
  font-size: clamp(1.1rem, 2vw, 1.7rem);
  font-weight: 500;
  line-height: 1.6;
}

.role-divider {
  margin: 0 0.3rem;
  color: var(--home-cyan);
}

.hero-description {
  max-width: 600px;
  margin-top: 1.5rem;
  color: var(--home-muted);
  font-size: 1.03rem;
  line-height: 1.95;
}

/* Technology labels */
.hero-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 1.7rem;
}

.hero-tech span {
  padding: 7px 12px;
  border: 1px solid rgba(148, 180, 210, 0.16);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.035);
  color: #c8d9e9;
  font-size: 0.78rem;
  transition:
    border-color 0.25s ease,
    color 0.25s ease,
    background 0.25s ease;
}

.hero-tech span:hover {
  border-color: rgba(0, 212, 255, 0.6);
  background: rgba(0, 212, 255, 0.08);
  color: var(--home-cyan);
}

/* Action links */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 2.4rem;
}

.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 50px;
  padding: 14px 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease;
}

.hero-button:hover {
  transform: translateY(-3px);
}

.hero-button-primary {
  background: linear-gradient(110deg, #00b4d8, #168cff);
  color: #041321;
  box-shadow: 0 8px 28px rgba(0, 180, 216, 0.13);
}

.hero-button-primary:hover {
  background: linear-gradient(110deg, #39e1ff, #55aaff);
  color: #041321;
  box-shadow: 0 10px 32px rgba(0, 180, 216, 0.25);
}

.hero-button-secondary {
  border-color: rgba(0, 212, 255, 0.3);
  background: rgba(255, 255, 255, 0.025);
  color: var(--home-white);
}

.hero-button-secondary:hover {
  border-color: var(--home-cyan);
  background: rgba(0, 212, 255, 0.07);
  color: var(--home-cyan);
}

/* Footer detail */
.hero-footer {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 3.5rem;
  color: #718ba3;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 3px;
}

.hero-footer-line {
  width: 42px;
  height: 1px;
  background: var(--home-cyan);
}

/* Decorative code/orbit visual */
.hero-visual {
  position: absolute;
  top: 50%;
  right: 7%;
  width: clamp(240px, 30vw, 440px);
  aspect-ratio: 1;
  transform: translateY(-50%);
  pointer-events: none;
}

.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  aspect-ratio: 1;
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit-outer {
  width: 100%;
  border-style: dashed;
  animation: orbit-spin 45s linear infinite;
}

.orbit-middle {
  width: 76%;
  border-color: rgba(22, 140, 255, 0.35);
  box-shadow: 0 0 35px rgba(0, 119, 182, 0.07);
}

.orbit-inner {
  width: 53%;
  border-color: rgba(0, 212, 255, 0.42);
  box-shadow: inset 0 0 35px rgba(0, 212, 255, 0.035);
}

.orbit-center {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26%;
  aspect-ratio: 1;
  border: 1px solid rgba(0, 212, 255, 0.65);
  border-radius: 22%;
  background: linear-gradient(
    145deg,
    rgba(0, 212, 255, 0.15),
    rgba(22, 140, 255, 0.08)
  );
  color: var(--home-cyan);
  font-size: clamp(1.7rem, 3vw, 3rem);
  box-shadow:
    0 0 40px rgba(0, 212, 255, 0.1),
    inset 0 0 24px rgba(0, 212, 255, 0.06);
  transform: translate(-50%, -50%);
}

.floating-symbol {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 55px;
  min-height: 48px;
  padding: 10px;
  border: 1px solid rgba(0, 212, 255, 0.25);
  border-radius: 7px;
  background: rgba(8, 25, 43, 0.88);
  color: var(--home-cyan);
  font-family: monospace;
  font-size: 1.1rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

.symbol-one {
  top: 16%;
  right: 10%;
}

.symbol-two {
  bottom: 17%;
  left: 5%;
}

.symbol-three {
  top: 48%;
  right: -3%;
  color: #7fb8ff;
}

/* Corner label */
.hero-corner-label {
  position: absolute;
  right: 2rem;
  bottom: 1.5rem;
  display: flex;
  gap: 14px;
  color: #668198;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2px;
}

/* Animations */
@keyframes orbit-spin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes hero-enter {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Laptop and tablet */
@media (max-width: 1100px) {
  .home-hero {
    padding-left: 4rem;
    padding-right: 4rem;
  }

  .hero-content {
    width: 75%;
  }

  .hero-visual {
    right: 2%;
    width: 280px;
    opacity: 0.55;
  }
}

/* Mobile */
@media (max-width: 767.98px) {
  .home-hero {
    min-height: 100vh;
    min-height: 100svh;
    padding: 6rem 1.4rem 4rem;
    align-items: center;
  }

  .hero-content {
    width: 100%;
    max-width: 600px;
  }

  .hero-status {
    margin-bottom: 2rem;
    padding: 9px 11px;
    font-size: 0.56rem;
    letter-spacing: 1.2px;
  }

  .hero-content h1 {
    font-size: clamp(3.2rem, 13vw, 5rem);
    letter-spacing: -2px;
  }

  .hero-role {
    font-size: 1.1rem;
  }

  .hero-description {
    font-size: 0.95rem;
    line-height: 1.8;
  }

  .hero-tech {
    gap: 8px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-button {
    width: 100%;
  }

  .hero-visual {
    top: 18%;
    right: -75px;
    width: 230px;
    opacity: 0.18;
    transform: none;
  }

  .hero-footer {
    margin-top: 2.5rem;
    font-size: 0.58rem;
    letter-spacing: 2px;
  }

  .hero-corner-label {
    right: 1rem;
    bottom: 0.8rem;
  }
}

/* Reduced-motion accessibility */
@media (prefers-reduced-motion: reduce) {
  .hero-content {
    animation: none;
  }

  .orbit-outer {
    animation: none;
  }

  .hero-button,
  .hero-tech span {
    transition: none;
  }
}
