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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #0a0e1a;
  color: #e4e7eb;
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; margin-bottom: 2rem; }
h3 { font-size: 1.5rem; margin-bottom: 1rem; }
h4 { font-size: 1.125rem; margin-bottom: 0.75rem; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.nav {
  background: rgba(10, 14, 26, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: #00d9ff;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: #9ca3af;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #00d9ff;
}

.hero {
  padding: 6rem 0;
  background: linear-gradient(135deg, #0a0e1a 0%, #1a1f35 100%);
}

.hero-content h1 {
  color: #ffffff;
  margin-bottom: 1.5rem;
  max-width: 800px;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #9ca3af;
  margin-bottom: 3rem;
  max-width: 700px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  max-width: 700px;
}

.stat {
  text-align: left;
}

.stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #00d9ff;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: #9ca3af;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.problems {
  padding: 5rem 0;
  background: #0f1420;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.problem-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 2rem;
  transition: border-color 0.3s, transform 0.3s;
}

.problem-card:hover {
  border-color: #00d9ff;
  transform: translateY(-4px);
}

.problem-card h3 {
  color: #ffffff;
}

.problem-card p {
  color: #9ca3af;
  font-size: 0.9375rem;
}

.stack {
  padding: 5rem 0;
  background: #0a0e1a;
}

.stack-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  margin-bottom: 2rem;
}

.stack-column h4 {
  color: #00d9ff;
  margin-bottom: 1rem;
}

.stack-list {
  list-style: none;
}

.stack-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: #e4e7eb;
}

.stack-list li:last-child {
  border-bottom: none;
}

.stack-note {
  color: #9ca3af;
  font-style: italic;
  text-align: center;
  margin-top: 2rem;
}

.approach {
  padding: 5rem 0;
  background: #0f1420;
}

.timeline {
  max-width: 800px;
  margin: 0 auto;
}

.timeline-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
  position: relative;
}

.timeline-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 50px;
  top: 60px;
  width: 2px;
  height: calc(100% + 1rem);
  background: rgba(0, 217, 255, 0.2);
}

.timeline-marker {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: #00d9ff;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.timeline-content h3 {
  color: #ffffff;
}

.timeline-content p {
  color: #9ca3af;
}

.cta {
  padding: 5rem 0;
  background: linear-gradient(135deg, #00d9ff 0%, #0066ff 100%);
  text-align: center;
}

.cta h2 {
  color: #ffffff;
}

.cta p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.btn-primary {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: #ffffff;
  color: #0a0e1a;
  text-decoration: none;
  font-weight: 600;
  border-radius: 6px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.footer {
  background: #0a0e1a;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem 0;
}

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

.footer-brand {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: #00d9ff;
}

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

.footer-links a {
  color: #9ca3af;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #00d9ff;
}

.page-header {
  padding: 4rem 0 3rem;
  background: linear-gradient(135deg, #0a0e1a 0%, #1a1f35 100%);
  text-align: center;
}

.page-header h1 {
  color: #ffffff;
  margin-bottom: 1rem;
}

.page-header p {
  color: #9ca3af;
  font-size: 1.125rem;
  max-width: 700px;
  margin: 0 auto;
}

.case-study {
  padding: 4rem 0;
}

.case-study.alt {
  background: #0f1420;
}

.case-study-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.case-study-grid.reverse {
  direction: rtl;
}

.case-study-grid.reverse > * {
  direction: ltr;
}

.case-study-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.case-study-content h2 {
  color: #ffffff;
  margin-bottom: 1rem;
}

.case-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.case-tag {
  background: rgba(0, 217, 255, 0.15);
  color: #00d9ff;
  padding: 0.375rem 0.875rem;
  border-radius: 4px;
  font-size: 0.8125rem;
  font-weight: 600;
}

.case-study-content p {
  color: #9ca3af;
  margin-bottom: 1.5rem;
}

.case-study-content h4 {
  color: #ffffff;
  margin-top: 2rem;
}

.case-list {
  list-style: none;
  margin-bottom: 2rem;
}

.case-list li {
  padding: 0.75rem 0 0.75rem 1.5rem;
  color: #e4e7eb;
  position: relative;
}

.case-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: #00d9ff;
}

.case-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.metric {
  text-align: center;
}

.metric-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #00d9ff;
}

.metric-label {
  color: #9ca3af;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.methodology {
  padding: 4rem 0;
}

.methodology.alt {
  background: #0f1420;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.method-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 2rem;
}

.method-card h3 {
  color: #ffffff;
}

.method-card p {
  color: #9ca3af;
  margin-bottom: 1rem;
}

.code-snippet {
  background: #0a0e1a;
  border-radius: 4px;
  padding: 1rem;
  margin-top: 1rem;
  overflow-x: auto;
}

.code-snippet code {
  font-family: 'Courier New', monospace;
  font-size: 0.8125rem;
  color: #00d9ff;
  white-space: pre;
}

.tech-list {
  list-style: none;
}

.tech-list li {
  padding: 0.5rem 0 0.5rem 1.25rem;
  color: #e4e7eb;
  position: relative;
  font-size: 0.9375rem;
}

.tech-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #00d9ff;
}

.reconnect-flow {
  max-width: 900px;
  margin: 0 auto;
}

.flow-step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.flow-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(0, 217, 255, 0.15);
  border: 2px solid #00d9ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #00d9ff;
}

.flow-content h4 {
  color: #ffffff;
}

.flow-content p {
  color: #9ca3af;
}

.checklist-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.checklist-section h3 {
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.checklist {
  list-style: none;
}

.checklist li {
  padding: 0.75rem 0 0.75rem 2rem;
  color: #e4e7eb;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.checklist li:last-child {
  border-bottom: none;
}

.checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #00d9ff;
  font-weight: 700;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.tool-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 2rem;
}

.tool-card h4 {
  color: #00d9ff;
}

.tool-card p {
  color: #9ca3af;
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  .hero-stats,
  .problem-grid,
  .stack-columns,
  .case-study-grid,
  .case-metrics,
  .method-grid,
  .checklist-grid,
  .tools-grid {
    grid-template-columns: 1fr;
  }
  .nav-content {
    flex-direction: column;
    gap: 1rem;
  }
  .footer-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}