/* CSS Variables */
:root {
  --color-bg: #0d0f12; /* Deep charcoal */
  --color-bg-alt: #16191d; /* Slightly lighter charcoal */
  --color-accent: #00F0FF; /* Electric Blue */
  --color-accent-hover: #00D0DD;
  --color-text: #FFFFFF; /* Crisp white */
  --color-text-muted: #A1A9B3; 
  --color-border: #2A2E35;
  
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;

  --transition-fast: 0.2s cubic-bezier(0.2, 0, 0, 1);
}

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

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection {
  background-color: var(--color-accent);
  color: #000;
}

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

ul {
  list-style: none;
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.highlight {
  color: var(--color-accent);
}

.accent-heading {
  font-family: var(--font-mono);
  font-size: 1rem;
  text-transform: uppercase;
  color: var(--color-accent);
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}

/* Layout Classes */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 800px;
}

.section {
  padding: 80px 0;
}

.text-center {
  text-align: center;
}

.grid {
  display: grid;
  gap: 32px;
}

/* Mobile First Grid */
.grid-3 {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 24px 0;
  background-color: rgba(13, 15, 18, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 100;
  border-bottom: 1px solid var(--color-border);
}

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

.logo {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.05em;
  color: var(--color-text);
  position: relative;
}

.logo::after {
  content: '';
  display: inline-block;
  width: 10px;
  height: 20px;
  background-color: var(--color-accent);
  margin-left: 4px;
  vertical-align: text-bottom;
  animation: blink 1s step-end infinite;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all var(--transition-fast);
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--color-accent);
  color: var(--color-bg);
  box-shadow: 4px 4px 0 0 rgba(0, 240, 255, 0.2);
}

.btn-primary:hover {
  background-color: var(--color-accent-hover);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 0 rgba(0, 240, 255, 0.3);
}

.btn-primary:active {
  transform: translate(2px, 2px);
  box-shadow: 0px 0px 0 0 rgba(0, 240, 255, 0.3);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
}

.btn-outline:hover {
  background-color: var(--color-accent);
  color: var(--color-bg);
}

.btn-large {
  padding: 18px 36px;
  font-size: 1rem;
}

/* Badges */
.badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  padding: 6px 12px;
  background-color: var(--color-bg-alt);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  margin-right: 8px;
  margin-bottom: 8px;
}

.badge-accent {
  color: var(--color-accent);
  border-color: rgba(0, 240, 255, 0.3);
  background-color: rgba(0, 240, 255, 0.05);
}

/* Hero Section */
.hero {
  position: relative;
  padding-top: 160px;
  padding-bottom: 120px;
  overflow: hidden;
}

.hero-grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: -1;
  opacity: 0.5;
  mask-image: linear-gradient(to bottom, transparent, black, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black, transparent);
}

.hero-badges {
  margin-bottom: 32px;
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  max-width: 600px;
  margin-bottom: 48px;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 5rem;
  }
  .hero-subtitle {
    font-size: 1.5rem;
  }
}

/* Section Headings */
.section-heading {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  color: var(--color-accent);
  margin-bottom: 48px;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .section-heading {
    font-size: 2rem;
  }
}

/* The Filter */
.filter {
  background-color: var(--color-accent);
  color: var(--color-bg);
}

.filter .section-heading {
  color: var(--color-bg);
  border-bottom: 2px solid var(--color-bg);
  display: inline-block;
  padding-bottom: 8px;
}

.filter-text {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.4;
}

.filter .highlight {
  color: var(--color-bg);
  background-color: #fff;
  padding: 0 4px;
}

@media (min-width: 768px) {
  .filter-text {
    font-size: 2.25rem;
  }
}

/* Cards */
.card {
  background-color: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  padding: 32px;
  transition: all var(--transition-fast);
  position: relative;
}

.card:hover {
  border-color: var(--color-accent);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.card-title {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  color: var(--color-text);
  margin-bottom: 16px;
}

.card-text {
  color: var(--color-text-muted);
}

/* Timeline/Rules */
.timeline-card .card-step {
  font-family: var(--font-mono);
  font-size: 3rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.05);
  position: absolute;
  top: 16px;
  right: 24px;
  line-height: 1;
}

/* Roles */
.roles {
  background-color: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.role-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
}

.role-tag {
  font-family: var(--font-mono);
  font-size: 1rem;
  padding: 12px 24px;
  border-radius: 9999px;
  border: 1px solid var(--color-border);
  background-color: var(--color-bg);
  color: var(--color-text);
  transition: all var(--transition-fast);
  cursor: default;
}

.role-tag:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background-color: rgba(0, 240, 255, 0.05);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.1);
}

.roles-subtext {
  color: var(--color-text-muted);
  font-size: 0.875rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ROI / Output */
.feature-icon {
  margin-bottom: 24px;
  color: var(--color-accent);
  display: inline-block;
  padding: 16px;
  background-color: rgba(0, 240, 255, 0.05);
  border: 1px solid rgba(0, 240, 255, 0.1);
}

/* Final CTA */
.final-cta {
  padding: 120px 0;
  position: relative;
  background-image: radial-gradient(circle at center, rgba(0, 240, 255, 0.1) 0%, transparent 50%);
}

.cta-heading {
  font-size: 3rem;
  margin-bottom: 24px;
}

.cta-text {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  margin-bottom: 48px;
}

.text-container {
  max-width: 600px;
  margin: 0 auto;
}

/* Footer */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--color-border);
  background-color: var(--color-bg-alt);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.logo-small {
  font-size: 1rem;
  color: var(--color-text-muted);
}

.footer-links p {
  color: var(--color-text-muted);
  font-size: 0.875rem;
  font-family: var(--font-mono);
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
  }
}
