@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@300;400;500&family=Syne:wght@400;500;600;700;800&family=Instrument+Serif:ital@0;1&display=swap');

:root {
  --charcoal: #111111;
  --carbon: #1A1A1A;
  --teal: #2A8C82;
  --deep-teal: #237A72;
  --white: #F0F0F0;
  --silver: #8899AA;
  --green: #00E5A0;
  --grid-color: rgba(255, 255, 255, 0.03);
  --header-height: 80px;
}

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

html {
  scroll-behavior: smooth;
  background: var(--charcoal);
}

body {
  font-family: 'Syne', sans-serif;
  background: var(--charcoal);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* --- Layout Utils --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

section {
  padding: 100px 0;
  position: relative;
}

/* --- Typography --- */
h1, h2, h3 {
  line-height: 1.1;
  font-weight: 800;
}

.mono {
  font-family: 'DM Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.serif {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
}

.text-teal { color: var(--teal); }
.text-silver { color: var(--silver); }

/* --- Grid Background --- */
.grid-overlay {
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(var(--grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 0;
}

/* --- Header --- */
header {
  height: var(--header-height);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  backdrop-filter: blur(20px);
  background: rgba(17, 17, 17, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: white;
  flex-shrink: 0;
}

.logo-wrap img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.logo-wrap span {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.5px;
}

nav {
  display: flex;
  align-items: center;
}

nav ul {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
  margin-right: 32px;
}

nav a {
  text-decoration: none;
  color: var(--silver);
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

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

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  position: relative;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  padding-top: 40px;
  margin-left: 0;
}

.hero-eyebrow {
  font-size: 11px;
  margin-bottom: 24px;
  letter-spacing: 4px;
  display: block;
}

.hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  letter-spacing: -2px;
  margin-bottom: 32px;
  line-height: 1.05;
}

.hero h1 span {
  display: block;
}

.hero p {
  font-size: 16px;
  color: var(--silver);
  max-width: 450px;
  margin-bottom: 40px;
}

.hero-image-wrap {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -45%);
  width: 70%;
  z-index: 1;
  opacity: 0.5;
  pointer-events: none;
}

.hero-image-wrap img {
  width: 100%;
  mask-image: radial-gradient(circle at center, black 50%, transparent 85%);
}

.btn {
  display: inline-block;
  padding: 16px 32px;
  background: var(--teal);
  color: var(--charcoal);
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 12px;
  border-radius: 4px;
  transition: transform 0.3s ease, background 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
  background: var(--white);
}

/* --- Section Title --- */
.section-title-wrap {
  margin-bottom: 64px;
}

.section-num {
  font-size: 11px;
  color: var(--teal);
  margin-bottom: 12px;
}

.section-title {
  font-size: 42px;
  letter-spacing: -1.5px;
}

/* --- Info Blocks --- */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.info-text h3 {
  font-size: 24px;
  margin-bottom: 20px;
}

.info-text p {
  font-size: 16px;
  color: var(--silver);
  margin-bottom: 24px;
}

.info-image img {
  width: 100%;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
}

/* --- Features Grid --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--carbon);
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: border-color 0.3s ease;
}

.feature-card:hover {
  border-color: var(--teal);
}

.feature-icon {
  font-size: 32px;
  color: var(--teal);
  margin-bottom: 24px;
}

.feature-card h4 {
  font-size: 18px;
  margin-bottom: 16px;
}

.feature-card p {
  font-size: 14px;
  color: var(--silver);
  line-height: 1.6;
}

/* --- Metrics --- */
.metrics-wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.metric-card {
  background: var(--charcoal);
  padding: 50px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 200px;
}

.metric-val {
  font-size: 42px;
  font-weight: 800;
  color: var(--teal);
  margin-bottom: 12px;
  line-height: 1;
}

.metric-lab {
  font-size: 10px;
  color: var(--silver);
  letter-spacing: 2px;
  line-height: 1.4;
  max-width: 180px;
  margin: 0 auto;
}

/* --- Footer --- */
footer {
  padding: 80px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 80px;
}

.footer-brand {
  max-width: 300px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--silver);
  margin-top: 20px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
}

/* --- Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 968px) {
  .info-grid, .features-grid {
    grid-template-columns: 1fr;
  }
  .metrics-wrap {
    grid-template-columns: 1fr 1fr;
  }
  .hero-image-wrap {
    display: none;
  }
}
