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

:root {
  --bg:        #07090f;
  --bg2:       #0d1220;
  --bg3:       #121929;
  --red:       #c8102e;
  --red-dark:  #9e0d24;
  --white:     #f0f4ff;
  --muted:     #6b7a9a;
  --border:    #1c2640;
  --glow:      rgba(200, 16, 46, 0.15);
}

html, body { height: 100%; }

body {
  font-family: 'Barlow', sans-serif;
  background: var(--bg);
  color: var(--white);
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.3;
  pointer-events: none;
  z-index: 0;
}

header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 72px;
  border-bottom: 1px solid var(--border);
  background: rgba(7, 9, 15, 0.9);
  backdrop-filter: blur(12px);
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-emblem {
  width: 36px;
  height: 36px;
  background: var(--red);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 14px;
  color: #fff;
  flex-shrink: 0;
}

.logo-text {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
}

.logo-sub {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

nav { display: flex; align-items: center; gap: 32px; }

nav a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

nav a:hover { color: var(--white); }

.btn-login-header {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fff;
  background: var(--red);
  border: none;
  padding: 8px 20px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}

.btn-login-header:hover { background: var(--red-dark); }

.hero {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.hero-left {
  padding: 80px 48px 80px 80px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 28px;
}

.hero-tag::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--red);
}

h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: clamp(52px, 5vw, 80px);
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 28px;
}

h1 span {
  color: var(--red);
}

.hero-desc {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--muted);
  max-width: 460px;
  margin-bottom: 48px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fff;
  background: var(--red);
  padding: 14px 32px;
  text-decoration: none;
  clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover {
  background: var(--red-dark);
  transform: translateX(2px);
}

.btn-secondary {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.btn-secondary:hover { color: var(--white); border-color: var(--white); }

.stats {
  display: flex;
  gap: 40px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.stat-value {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
}

.hero-right {
  position: relative;
  height: 100%;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 1px solid var(--border);
  overflow: hidden;
}

.hex-grid {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.center-hex {
  width: 220px;
  height: 220px;
  background: var(--bg3);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  border: 2px solid var(--red);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 60px var(--glow), 0 0 120px var(--glow);
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 60px var(--glow), 0 0 120px var(--glow); }
  50% { box-shadow: 0 0 80px rgba(200,16,46,0.3), 0 0 160px rgba(200,16,46,0.2); }
}

.center-hex svg { width: 56px; height: 56px; }

.center-hex-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
}

.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--border);
  animation: spin linear infinite;
}

.ring-1 { width: 340px; height: 340px; animation-duration: 30s; }
.ring-2 { width: 480px; height: 480px; animation-duration: 50s; animation-direction: reverse; }
.ring-3 { width: 620px; height: 620px; animation-duration: 70s; border-style: dashed; opacity: 0.4; }

@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.ring-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
  top: -3px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 8px var(--red);
}

.cards {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border-top: 1px solid var(--border);
}

.card {
  background: var(--bg2);
  padding: 40px 36px;
  transition: background 0.2s;
}

.card:hover { background: var(--bg3); }

.card-icon {
  width: 40px;
  height: 40px;
  background: var(--glow);
  border: 1px solid rgba(200,16,46,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card-icon svg { width: 20px; height: 20px; stroke: var(--red); }

.card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.card p {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--muted);
}

footer {
  position: relative;
  z-index: 1;
  padding: 24px 80px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg);
}

footer p {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.classification {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  border: 1px solid var(--red);
  padding: 3px 10px;
  opacity: 0.7;
}

@media (max-width: 768px) {
  header {
    padding: 0 20px;
  }

  nav {
    gap: 16px;
  }

  nav a:not(.btn-login-header) {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: unset;
  }

  .hero-left {
    padding: 48px 24px;
  }

  .hero-right {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .stats {
    gap: 24px;
    flex-wrap: wrap;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  footer {
    padding: 20px 24px;
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}
