@font-face { font-family:'Barlow'; src:url('../../assets/fonts/Barlow-Regular.ttf') format('truetype'); font-weight:400; font-display:swap; }
@font-face { font-family:'Barlow'; src:url('../../assets/fonts/Barlow-SemiBold.ttf') format('truetype'); font-weight:600; font-display:swap; }
@font-face { font-family:'Barlow Condensed'; src:url('../../assets/fonts/Barlow-Medium.ttf') format('truetype'); font-weight:500; font-display:swap; }
@font-face { font-family:'Barlow Condensed'; src:url('../../assets/fonts/Barlow-SemiBold.ttf') format('truetype'); font-weight:600; font-display:swap; }
@font-face { font-family:'Barlow Condensed'; src:url('../../assets/fonts/Barlow-Bold.ttf') format('truetype'); font-weight:700; font-display:swap; }
@font-face { font-family:'Barlow Condensed'; src:url('../../assets/fonts/Barlow-ExtraBold.ttf') format('truetype'); font-weight:800; font-display:swap; }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:         #060e15;
  --surface:    #0c1820;
  --surface-2:  #132030;
  --green:      #6ecb2a;
  --green-glow: rgba(110,203,42,0.15);
  --green-dim:  #4f9a1a;
  --amber:      #fabd2d;
  --red:        #e84040;
  --blue:       #7ab8d4;
  --text:       #ddeaf5;
  --muted:      #8aafc8;
  --dim:        #5a7d96;
  --border:     rgba(110,203,42,0.10);
}

html, body { height: 100%; }

body {
  font-family: 'Barlow', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* ── FOCUS ────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
  border-radius: 4px;
}

/* ── BACKGROUND SCENE ─────────────────────────── */
.scene {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.scene::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(10,20,32,0.9) 0%, transparent 70%),
    linear-gradient(to bottom, #06111c 0%, #06090d 100%);
}
.grain {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 250px 250px;
}
.vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 40%, transparent 25%, rgba(6,9,13,0.75) 100%);
}

/* ── HEADER ───────────────────────────────────── */
header {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 52px;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}
.logo-wordmark {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  text-decoration: none;
}
.nav-contact {
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
  padding: 10px 0;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.nav-contact:hover { color: var(--green); }

/* ── MAIN ─────────────────────────────────────── */
main {
  flex: 1;
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 24px 64px;
}
.hero {
  max-width: 620px;
  width: 100%;
  text-align: center;
}

/* Logo */
.logo-wrap {
  position: relative;
  width: 360px;
  margin: 0 auto 52px;
}
.logo-halo {
  position: absolute;
  inset: -60px;
  background: radial-gradient(circle, rgba(167,212,114,0.22) 0%, rgba(167,212,114,0.06) 45%, transparent 70%);
  border-radius: 50%;
  animation: halo-pulse 3s ease-in-out infinite;
}
@keyframes halo-pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.7; transform: scale(1.12); }
}
.logo-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 40px rgba(167,212,114,0.32));
  will-change: filter;
  transition: filter 0.7s ease;
}
.logo-img:hover {
  filter: drop-shadow(0 12px 60px rgba(167,212,114,0.55));
}

/* Headline */
.headline {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: clamp(58px, 11vw, 104px);
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 28px;
}
.headline span {
  color: var(--green);
  display: block;
}

/* Subline */
.subline {
  font-size: clamp(16px, 2.2vw, 20px);
  line-height: 1.7;
  color: var(--muted);
  max-width: 460px;
  margin: 0 auto 52px;
}

/* Progress */
.progress-wrap {
  max-width: 440px;
  margin: 0 auto 48px;
  text-align: left;
}
.progress-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
}
.progress-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--dim);
}
.progress-pct {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 26px;
  line-height: 1;
  color: var(--green);
}
.progress-track {
  height: 4px;
  background: var(--surface-2);
  border-radius: 999px;
  overflow: hidden;
}
.progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--green-dim), var(--green));
  border-radius: 999px;
  box-shadow: 0 0 10px rgba(167,212,114,0.55);
  transition: width 2.8s cubic-bezier(0.65,0,0.35,1);
}
.status-row {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 13px;
}
.spinner-wrap {
  display: block;
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  margin-top: 1px;
  will-change: transform;
  animation: spin 1s linear infinite;
}
.spinner {
  display: block;
  width: 14px;
  height: 14px;
  color: var(--amber);
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
#live-status {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--dim);
  min-height: 2.9em;
  transition: opacity 0.4s ease;
}

/* Contact Cards */
.cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 440px;
  margin: 0 auto;
  width: 100%;
  text-align: left;
}
.card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  background: rgba(12,24,32,0.72);
  border: 1px solid var(--border);
  border-radius: 10px;
  backdrop-filter: blur(20px);
  text-decoration: none;
  transition: border-color 0.25s, background 0.25s, transform 0.2s;
  cursor: default;
}
a.card { cursor: pointer; }
a.card:hover {
  border-color: rgba(167,212,114,0.28);
  background: rgba(18,32,44,0.8);
  transform: translateX(5px);
}
.card-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.25s;
}
a.card:hover .card-icon { background: rgba(167,212,114,0.08); }
.card-icon svg { width: 18px; height: 18px; }
.c-green { color: var(--green); }
.c-amber { color: var(--amber); }
.c-red   { color: var(--red); }
.c-blue  { color: var(--blue); }
.card-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 3px;
}
.card-value {
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  font-size: 19px;
  color: var(--text);
  line-height: 1.4;
}
address { font-style: normal; }

/* ── FOOTER ───────────────────────────────────── */
footer {
  position: relative;
  z-index: 10;
  border-top: 1px solid rgba(255,255,255,0.04);
  padding: 24px 52px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}
.footer-copy {
  font-size: 13px;
  line-height: 1.7;
  color: var(--dim);
}
.footer-copy a {
  color: var(--green-dim);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-copy a:hover { color: var(--green); }
.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 13px;
  color: var(--dim);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--muted); }
.footer-social-link { display: inline-flex; align-items: center; gap: 5px; }
.footer-social-link svg { width: 14px; height: 14px; flex-shrink: 0; }

/* ── ANIMATIONS ───────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(18px);
  animation: fadeUp 0.9s ease forwards;
}
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
.d1 { animation-delay: 0.05s; }
.d2 { animation-delay: 0.18s; }
.d3 { animation-delay: 0.32s; }
.d4 { animation-delay: 0.46s; }
.d5 { animation-delay: 0.60s; }
.d6 { animation-delay: 0.74s; }

/* ── MOBILE ───────────────────────────────────── */
@media (max-width: 640px) {
  header  { padding: 20px 20px; }
  footer  { padding: 20px 20px; }
  .headline { font-size: clamp(42px, 13vw, 58px); }
  .logo-wrap { width: min(280px, 80vw); }
  .cards { padding: 0 4px; }
  .card { padding: 16px 16px; gap: 14px; }
  .card-value { font-size: 16px; word-break: break-word; }
  .progress-wrap { padding: 0 4px; }
}

/* ── REDUCED MOTION ───────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .fade-up {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .logo-halo { animation: none; }
  .spinner-wrap { animation: none; }
  .progress-bar { transition: none; }
  #live-status  { transition: none; }
}
