@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow+Condensed:wght@400;600;700&family=Barlow:wght@300;400;500&display=swap');

/* ─── VARIABLES ─── */
:root {
  --black: #0a0a0a;
  --white: #f5f5f0;
  --accent: #e8e8e0;
  --mid: #888;
  --border: #222;
  --font-display: 'Bebas Neue', sans-serif;
  --font-heading: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;
}

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

html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 3rem;
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: invert(0);
  border-radius: 50%;
}

.nav-logo span {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  color: var(--white);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid);
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--white); }

.nav-links a.active {
  border-bottom: 2px solid var(--white);
  padding-bottom: 2px;
}

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 60px,
      rgba(255,255,255,0.02) 60px,
      rgba(255,255,255,0.02) 61px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 60px,
      rgba(255,255,255,0.02) 60px,
      rgba(255,255,255,0.02) 61px
    );
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 900px;
  padding: 2rem;
}

.hero-logo {
  width: 160px;
  height: 160px;
  object-fit: contain;
  margin: 0 auto 2.5rem;
  filter: drop-shadow(0 0 40px rgba(255,255,255,0.1));
  animation: fadeUp 0.8s ease both;
}

.hero-eyebrow {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 1rem;
  animation: fadeUp 0.8s ease 0.1s both;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(5rem, 12vw, 10rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
  color: var(--white);
  animation: fadeUp 0.8s ease 0.2s both;
}

.hero h1 span {
  display: block;
  color: var(--mid);
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--mid);
  max-width: 500px;
  margin: 1.5rem auto 2.5rem;
  animation: fadeUp 0.8s ease 0.3s both;
}

.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.9rem 2.5rem;
  border: 2px solid var(--white);
  color: var(--white);
  transition: background 0.2s, color 0.2s;
  animation: fadeUp 0.8s ease 0.4s both;
}

.btn:hover {
  background: var(--white);
  color: var(--black);
}

.btn-solid {
  background: var(--white);
  color: var(--black);
}

.btn-solid:hover {
  background: transparent;
  color: var(--white);
}

/* ─── SECTIONS ─── */
.section {
  padding: 6rem 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1;
  margin-bottom: 1.5rem;
}

.divider {
  width: 100%;
  height: 1px;
  background: var(--border);
  margin: 0;
}

/* ─── SERVICES GRID ─── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 3rem;
}

.service-card {
  background: var(--black);
  padding: 2.5rem;
  transition: background 0.2s;
}

.service-card:hover { background: #111; }

.service-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: var(--border);
  line-height: 1;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--mid);
  line-height: 1.7;
}

/* ─── STATS ROW ─── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.stat-item {
  background: var(--black);
  padding: 3rem 2rem;
  text-align: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1;
  color: var(--white);
}

.stat-label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mid);
  margin-top: 0.5rem;
}

/* ─── PAGE HEADER ─── */
.page-header {
  padding: 10rem 3rem 4rem;
  border-bottom: 1px solid var(--border);
}

.page-header-inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* ─── RESULTS PAGE ─── */
.results-section {
  padding: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.controls-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.styled-select {
  appearance: none;
  background: #111;
  border: 1px solid var(--border);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  padding: 0.75rem 2.5rem 0.75rem 1rem;
  cursor: pointer;
  min-width: 200px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23888' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}

.styled-select:focus { outline: 1px solid var(--white); }

.results-table-wrap {
  border: 1px solid var(--border);
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

thead tr {
  background: #111;
  border-bottom: 1px solid var(--border);
}

thead th {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mid);
  padding: 1rem 1.25rem;
  text-align: left;
  white-space: nowrap;
}

tbody tr {
  border-bottom: 1px solid #151515;
  transition: background 0.15s;
}

tbody tr:hover { background: #111; }

tbody td {
  padding: 0.85rem 1.25rem;
  color: var(--white);
  font-size: 0.875rem;
}

tbody td:first-child {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--mid);
  width: 60px;
}

.badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border: 1px solid var(--border);
  color: var(--mid);
}

.status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  background: #0d0d0d;
  border: 1px solid var(--border);
  border-bottom: none;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--mid);
}

.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #e74c3c;
  border-radius: 50%;
  margin-right: 0.5rem;
  animation: pulse 1.5s ease infinite;
}

/* ─── ABOUT PAGE ─── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
  margin-top: 3rem;
}

.about-text p {
  color: var(--mid);
  margin-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 1.8;
}

.about-text p:first-child {
  font-size: 1.15rem;
  color: var(--white);
}

.about-image-wrap {
  position: sticky;
  top: 120px;
  text-align: center;
}

.about-image-wrap img {
  width: 220px;
  height: 220px;
  object-fit: contain;
  margin: 0 auto;
  filter: drop-shadow(0 0 60px rgba(255,255,255,0.05));
}

/* ─── CONTACT PAGE ─── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  margin-top: 3rem;
}

.contact-info h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 0.5rem;
  margin-top: 2rem;
}

.contact-info h3:first-child { margin-top: 0; }

.contact-info p,
.contact-info a {
  font-size: 1.1rem;
  color: var(--white);
  transition: color 0.2s;
}

.contact-info a:hover { color: var(--mid); }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mid);
}

.form-group input,
.form-group textarea {
  background: #111;
  border: 1px solid var(--border);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.85rem 1rem;
  transition: border-color 0.2s;
  resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--white);
}

/* ─── FOOTER ─── */
footer {
  border-top: 1px solid var(--border);
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  color: var(--mid);
}

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-links a {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mid);
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--white); }

.footer-copy {
  font-size: 0.75rem;
  color: #444;
  width: 100%;
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  margin-top: 1rem;
}

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { gap: 1.5rem; }
  .section { padding: 4rem 1.5rem; }
  .page-header { padding: 8rem 1.5rem 3rem; }
  .results-section { padding: 2rem 1.5rem; }
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-image-wrap { position: static; }
  footer { padding: 2rem 1.5rem; flex-direction: column; align-items: flex-start; }
  .controls-row { flex-direction: column; }
  .styled-select { min-width: 100%; }
}
