:root {
  --bg-primary: #0a0e17;
  --bg-secondary: #0d1117;
  --bg-card: #131a26;
  --border: #1e2a3a;
  --accent: #4fc3f7;
  --accent-dark: #0288d1;
  --accent-deeper: #01579b;
  --text-primary: #e0e0e0;
  --text-secondary: #78909c;
  --text-muted: #455a64;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
}

.logo span { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--accent); text-decoration: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-secondary);
  transition: 0.3s;
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 16px 24px;
    gap: 16px;
  }
  .nav-links.open { display: flex; }
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  overflow: hidden;
  padding: 80px 24px 40px;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.signal-node {
  position: absolute;
  transform: translate(-50%, -50%);
}

.signal-dot {
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 20px var(--accent), 0 0 40px var(--accent);
  animation: pulse-glow 2s ease-in-out infinite;
}

.signal-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 2px solid var(--accent);
  animation: signal-expand 3s ease-out infinite;
}

.signal-node .signal-ring:nth-child(2) { width: 60px; height: 60px; animation-delay: 0s; opacity: 0.5; }
.signal-node .signal-ring:nth-child(3) { width: 120px; height: 120px; animation-delay: 0.5s; opacity: 0.3; }
.signal-node .signal-ring:nth-child(4) { width: 180px; height: 180px; animation-delay: 1s; opacity: 0.15; }
.signal-node .signal-ring:nth-child(5) { width: 240px; height: 240px; animation-delay: 1.5s; opacity: 0.08; }
.signal-node .signal-ring:nth-child(6) { width: 300px; height: 300px; animation-delay: 2s; opacity: 0.04; }

@keyframes signal-expand {
  0% { transform: translate(-50%, -50%) scale(0.5); opacity: inherit; }
  100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px var(--accent), 0 0 40px var(--accent); }
  50% { box-shadow: 0 0 30px var(--accent), 0 0 60px var(--accent), 0 0 80px rgba(79,195,247,0.3); }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 640px;
}

.hero h1 {
  font-size: clamp(32px, 6vw, 48px);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  color: #fff;
}

.hero p {
  font-size: 16px;
  color: #b0c4de;
  line-height: 1.7;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

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

.btn-primary:hover {
  background: #81d4fa;
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: rgba(79,195,247,0.5);
}

.btn-outline:hover {
  background: rgba(79,195,247,0.1);
  text-decoration: none;
}

@media (max-width: 768px) {
  .signal-node .signal-ring:nth-child(2) { width: 40px; height: 40px; }
  .signal-node .signal-ring:nth-child(3) { width: 80px; height: 80px; }
  .signal-node .signal-ring:nth-child(4) { width: 120px; height: 120px; }
  .signal-node .signal-ring:nth-child(5) { width: 160px; height: 160px; }
  .signal-node .signal-ring:nth-child(6) { display: none; }
}

/* Container */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Section labels */
.section-label {
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.section-subtitle {
  text-align: center;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

/* Features */
.features {
  padding: 64px 0;
  background: var(--bg-secondary);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 700px;
  margin: 0 auto;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}

.card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.card-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  font-size: 22px;
}

.card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

@media (max-width: 600px) {
  .card-grid { grid-template-columns: 1fr; }
}

/* Steps */
.steps {
  padding: 64px 0;
  background: var(--bg-primary);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 650px;
  margin: 0 auto;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}

.step-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.step-number {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 16px;
  font-weight: 700;
  color: var(--bg-primary);
}

.step-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.step-card p {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
}

@media (max-width: 600px) {
  .steps-grid { grid-template-columns: 1fr; max-width: 320px; }
}

/* Why Deploy */
.why-deploy {
  padding: 64px 0;
  background: var(--bg-primary);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 700px;
  margin: 0 auto;
}

.why-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}

.why-item:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.why-item h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.why-item p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

@media (max-width: 600px) {
  .why-grid { grid-template-columns: 1fr; }
}

/* Map Teaser */
.map-teaser {
  padding: 32px 0;
  background: var(--bg-primary);
}

.teaser-card {
  background: linear-gradient(135deg, var(--bg-card), #0d2137);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: center;
  max-width: 650px;
  margin: 0 auto;
}

.teaser-icon {
  font-size: 36px;
  flex-shrink: 0;
}

.teaser-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 4px;
}

.teaser-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.teaser-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.2s;
}

.teaser-link:hover {
  opacity: 0.8;
  text-decoration: none;
}

.teaser-icon {
  text-decoration: none;
}

@media (max-width: 600px) {
  .teaser-card { flex-direction: column; text-align: center; }
}

/* CTA */
.cta {
  padding: 64px 0;
  background: linear-gradient(135deg, var(--accent-dark), var(--accent-deeper));
  text-align: center;
  color: #fff;
}

.cta h2 {
  font-size: clamp(24px, 4vw, 30px);
  font-weight: 800;
  margin-bottom: 8px;
}

.cta p {
  font-size: 15px;
  opacity: 0.9;
  margin-bottom: 24px;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}

.cta .btn-primary {
  background: var(--accent);
  color: var(--bg-primary);
}

/* Footer */
footer {
  background: var(--bg-primary);
  padding: 20px;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}

section {
  scroll-margin-top: 56px;
}

.nav-links a.active {
  color: var(--accent);
}