/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(15,30,60,0.6) 0%, transparent 70%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content { position: relative; z-index: 2; }

.hero-title {
  font-size: clamp(38px, 5.5vw, 66px);
  font-weight: 800;
  letter-spacing: -2px;
  margin: 20px 0 22px;
  line-height: 1.05;
}

.hero-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-protocols {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.proto-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.protocol-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ── DASHBOARD MOCKUP ── */
.hero-visual {
  position: relative;
  z-index: 2;
}

.dashboard-mockup {
  background: var(--bg-card);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 0 60px rgba(43,127,255,0.15), 0 40px 80px rgba(0,0,0,0.5);
  animation: float 6s ease-in-out infinite;
}

.mockup-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
}

.mockup-dots { display: flex; gap: 6px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background: #ff5f57; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #28c840; }

.mockup-title {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

.mockup-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--success);
}

.status-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--success);
  animation: pulse-dot 2s ease-in-out infinite;
  display: inline-block;
}

.mockup-body { padding: 16px; display: flex; flex-direction: column; gap: 12px; }

/* KPI Row */
.kpi-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }

.kpi-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px;
}

.kpi-label { font-size: 10px; color: var(--text-muted); font-family: var(--font-mono); margin-bottom: 4px; }
.kpi-value { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--text-primary); }
.kpi-delta { font-size: 10px; margin-top: 2px; }
.kpi-delta.positive { color: var(--success); }
.kpi-delta.warning { color: var(--warning); }
.kpi-delta.neutral { color: var(--text-muted); }

/* Chart */
.chart-area {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px;
}

.chart-label { font-size: 10px; color: var(--text-muted); font-family: var(--font-mono); margin-bottom: 12px; }

.chart-bars { height: 60px; }

.bar-group {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 100%;
}

.bar {
  flex: 1;
  background: var(--accent-tertiary);
  border-radius: 2px 2px 0 0;
  opacity: 0.7;
  transition: var(--transition);
}

.bar.active {
  background: linear-gradient(to top, var(--accent-primary), var(--accent-cyan));
  opacity: 1;
  box-shadow: 0 0 8px rgba(43,127,255,0.4);
}

/* Device list */
.device-list { display: flex; flex-direction: column; gap: 6px; }

.device-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 12px;
}

.device-status {
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.device-status.online { background: var(--success); box-shadow: 0 0 6px rgba(0,200,150,0.5); }
.device-status.warning { background: var(--warning); box-shadow: 0 0 6px rgba(245,158,11,0.5); }

.device-name { flex: 1; color: var(--text-secondary); }
.device-proto {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 2px 7px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 3px;
  color: var(--accent-bright);
}
.device-latency { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); min-width: 40px; text-align: right; }

/* Floating badges */
.float-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-active);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
}

.float-badge-1 {
  top: 20px;
  right: -20px;
  color: var(--success);
  animation: float 5s ease-in-out infinite reverse;
}

.float-badge-2 {
  bottom: 30px;
  left: -20px;
  color: var(--accent-bright);
  animation: float 7s ease-in-out infinite;
}

/* ── SCROLL INDICATOR ── */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--text-muted);
  text-transform: uppercase;
  animation: fadeIn 1s ease 1.5s both;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--text-muted), transparent);
  animation: scanline 2s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}

/* ── FEATURES GRID ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 60px;
}

.feature-card { padding: 28px 24px; }

.feature-icon {
  width: 44px; height: 44px;
  background: rgba(43,127,255,0.1);
  border: 1px solid rgba(43,127,255,0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--accent-primary);
}

.feature-icon.cyan {
  background: rgba(0,212,255,0.08);
  border-color: rgba(0,212,255,0.2);
  color: var(--accent-cyan);
}

.feature-icon.green {
  background: rgba(0,200,150,0.08);
  border-color: rgba(0,200,150,0.2);
  color: var(--success);
}

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

.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.feature-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

/* ── SECTION DARK ── */
.section-dark {
  background: var(--bg-deep);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-header { margin-bottom: 60px; }

/* ── STEPS ── */
.steps-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 60px;
  position: relative;
}

.step { position: relative; }

.step-number {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--accent-primary);
  letter-spacing: 2px;
  margin-bottom: 20px;
  padding: 5px 12px;
  background: rgba(43,127,255,0.1);
  border: 1px solid rgba(43,127,255,0.2);
  border-radius: 100px;
  display: inline-block;
}

.step-icon {
  width: 48px; height: 48px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
  margin-bottom: 16px;
  box-shadow: 0 0 20px rgba(43,127,255,0.1);
}

.step-content h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.step-content p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

/* ── ARCH DIAGRAM ── */
.arch-diagram {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 32px;
  overflow-x: auto;
}

.arch-layer {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 700px;
}

.arch-label-left {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.arch-devices { display: flex; flex-direction: column; gap: 8px; }

.arch-device {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 12px;
  color: var(--text-secondary);
}

.arch-device-icon {
  width: 28px; height: 28px;
  background: var(--accent-tertiary);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  color: var(--accent-bright);
}

.arch-arrow { font-size: 20px; color: var(--accent-primary); opacity: 0.6; }

.arch-edge, .arch-cloud {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 16px 20px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-lg);
  text-align: center;
  min-width: 120px;
  box-shadow: 0 0 20px rgba(43,127,255,0.08);
}

.arch-edge-icon, .arch-cloud-icon { font-size: 24px; }
.arch-edge strong, .arch-cloud strong { font-size: 13px; color: var(--text-primary); }
.arch-edge span, .arch-cloud span { font-size: 11px; color: var(--text-muted); font-family: var(--font-mono); }

.arch-users { display: flex; flex-direction: column; gap: 8px; }
.arch-user {
  padding: 6px 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 12px;
  color: var(--text-secondary);
}

/* ── USE CASES ── */
.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 50px;
}

.use-case-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: var(--transition-slow);
}

.use-case-card:hover {
  border-color: var(--border-active);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.uc-icon { font-size: 32px; margin-bottom: 16px; }
.use-case-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.use-case-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }

/* ── TESTIMONIALS ── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 50px;
}

.testimonial-card { padding: 28px; position: relative; }

.testimonial-quote {
  font-size: 60px;
  line-height: 0.8;
  color: var(--accent-primary);
  opacity: 0.4;
  font-family: Georgia, serif;
  margin-bottom: 16px;
}

.testimonial-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author { display: flex; align-items: center; gap: 12px; }

.author-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.testimonial-author strong { display: block; font-size: 14px; }
.testimonial-author span { font-size: 12px; color: var(--text-muted); }

/* ── CTA SECTION ── */
.cta-section {
  position: relative;
  text-align: center;
  overflow: hidden;
  background: var(--bg-deep);
}

.cta-glow {
  position: absolute;
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(43,127,255,0.15), transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cta-inner { position: relative; z-index: 1; }

.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .use-cases-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-container { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .kpi-row { grid-template-columns: repeat(2, 1fr); }
}

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