/* =========================================================
   EOM Technologies — Under Construction
   styles.css
   ========================================================= */

/* ── Reset & Variables ─────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy:      #080f1e;
  --navy-2:    #0d1a30;
  --navy-3:    #132240;
  --slate:     #1e3254;
  --line:      rgba(56, 189, 248, 0.12);

  --cyan:      #38bdf8;
  --cyan-dim:  rgba(56, 189, 248, 0.18);
  --cyan-glow: rgba(56, 189, 248, 0.08);
  --amber:     #f59e0b;

  --white:     #f0f6ff;
  --muted:     #7a93b8;
  --faint:     #3d5577;

  --font-display: 'Bebas Neue', sans-serif;
  --font-body:    'DM Sans', sans-serif;
  --font-mono:    'DM Mono', monospace;
}

/* ── Base ───────────────────────────────────────────────── */
html, body {
  height: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--navy);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ── Background Grid ───────────────────────────────────── */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
  pointer-events: none;
}

.bg-glow {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 0%, rgba(56, 189, 248, 0.07) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 100%, rgba(245, 158, 11, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

/* ── Page Layout ───────────────────────────────────────── */
.page-wrapper {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ── Top Bar ───────────────────────────────────────────── */
.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 0 0;
  animation: fade-down 0.7s ease both;
  animation-delay: 0.1s;
}

.logo {
  height: 52px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.25));
}

.location-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
  padding: 6px 14px;
  border-radius: 999px;
}

.location-tag svg {
  color: var(--cyan);
  flex-shrink: 0;
}

/* ── Main Content ──────────────────────────────────────── */
.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 0 40px;
}

/* ── Orbital Ring ──────────────────────────────────────── */
.orbit-ring {
  position: relative;
  width: 90px;
  height: 90px;
  margin-bottom: 36px;
  animation: fade-up 0.8s ease both;
  animation-delay: 0.2s;
}

.orbit-ring::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid var(--cyan-dim);
  animation: spin 6s linear infinite;
}

.orbit-ring::after {
  content: '';
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  border: 1.5px dashed rgba(56, 189, 248, 0.2);
  animation: spin 10s linear infinite reverse;
}

/* Inner solid dot */
.orbit-ring > .dot-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 14px 4px rgba(56, 189, 248, 0.5);
}

.orbit-dot {
  position: absolute;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px 2px rgba(56, 189, 248, 0.6);
  top: 50%; left: 50%;
  transform-origin: 0 0;
}

.dot-1 {
  animation: orbit 6s linear infinite;
  margin-top: -3.5px; margin-left: -3.5px;
}
.dot-2 {
  animation: orbit2 9s linear infinite;
  margin-top: -3px; margin-left: -3px;
  width: 6px; height: 6px;
  background: var(--amber);
  box-shadow: 0 0 8px 2px rgba(245, 158, 11, 0.6);
}
.dot-3 {
  animation: orbit 4s linear infinite reverse;
  margin-top: -2.5px; margin-left: -2.5px;
  width: 5px; height: 5px;
  opacity: 0.5;
}

@keyframes orbit {
  0%   { transform: rotate(0deg)   translateX(40px) rotate(0deg); }
  100% { transform: rotate(360deg) translateX(40px) rotate(-360deg); }
}
@keyframes orbit2 {
  0%   { transform: rotate(120deg)  translateX(30px) rotate(-120deg); }
  100% { transform: rotate(480deg)  translateX(30px) rotate(-480deg); }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ── Badge ─────────────────────────────────────────────── */
.badge-group {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  animation: fade-up 0.8s ease both;
  animation-delay: 0.3s;
}

.status-dot {
  display: block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.6);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.6); }
  50%       { box-shadow: 0 0 0 6px rgba(245, 158, 11, 0); }
}

.badge-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  padding: 4px 14px;
  border-radius: 999px;
}

/* ── Headline ───────────────────────────────────────────── */
.headline {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 8rem);
  line-height: 0.94;
  letter-spacing: 0.01em;
  color: var(--white);
  margin-bottom: 28px;
  animation: fade-up 0.9s ease both;
  animation-delay: 0.4s;
}

.headline-accent {
  color: transparent;
  -webkit-text-stroke: 2px var(--cyan);
  text-stroke: 2px var(--cyan);
  filter: drop-shadow(0 0 20px rgba(56, 189, 248, 0.4));
}

/* ── Subline ───────────────────────────────────────────── */
.subline {
  font-size: 1rem;
  font-weight: 300;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 44px;
  animation: fade-up 0.9s ease both;
  animation-delay: 0.5s;
}

.br-desktop {
  display: none;
}

@media (min-width: 600px) {
  .br-desktop { display: inline; }
}

/* ── Progress Bar ──────────────────────────────────────── */
.progress-wrap {
  max-width: 480px;
  margin-bottom: 44px;
  animation: fade-up 0.9s ease both;
  animation-delay: 0.6s;
}

.progress-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
}

.progress-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
}

.progress-pct {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--cyan);
}

.progress-track {
  height: 4px;
  background: var(--slate);
  border-radius: 999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--cyan) 0%, rgba(56, 189, 248, 0.6) 100%);
  border-radius: 999px;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
  animation: grow-bar 2s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 1s;
}

@keyframes grow-bar {
  from { width: 0%; }
  to   { width: 20%; }
}

/* ── Contact Strip ─────────────────────────────────────── */
.contact-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  animation: fade-up 0.9s ease both;
  animation-delay: 0.7s;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--muted);
  transition: color 0.2s;
}

.contact-link:hover {
  color: var(--cyan);
}

.contact-link svg {
  flex-shrink: 0;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.contact-link:hover svg {
  opacity: 1;
}

.contact-sep {
  color: var(--faint);
  font-size: 1.1rem;
}

/* ── Footer ────────────────────────────────────────────── */
.page-footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 14px;
  padding: 24px 0 32px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: var(--faint);
  animation: fade-up 0.9s ease both;
  animation-delay: 0.85s;
}

.footer-sep {
  color: var(--slate);
}

/* ── Entry Animations ──────────────────────────────────── */
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-down {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 600px) {
  .page-wrapper {
    padding: 0 20px;
  }

  .top-bar {
    padding-top: 22px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .logo {
    height: 40px;
  }

  .headline {
    font-size: clamp(3.4rem, 18vw, 5rem);
    margin-bottom: 20px;
  }

  .subline {
    font-size: 0.9rem;
  }

  .contact-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .contact-sep {
    display: none;
  }

  .page-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .footer-sep {
    display: none;
  }
}
