/* ── GENERAL & DESIGN SYSTEM ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #060810;
  --surface: #0d1117;
  --surface2: #111827;
  --border: rgba(255,255,255,0.06);
  --border-accent: rgba(0,200,255,0.25);
  --cyan: #00c8ff;
  --cyan-dim: rgba(0,200,255,0.12);
  --cyan-glow: rgba(0,200,255,0.35);
  --green: #00ff94;
  --green-dim: rgba(0,255,148,0.10);
  --green-glow: rgba(0,255,148,0.25);
  --text: #f0f4f8;
  --text-muted: #6b7a8d;
  --text-dim: #8896a5;
  --accent-red: #ff3b5c;
  --font-sans: 'Roboto', sans-serif;
  --font-mono: 'Roboto Mono', monospace;
  --font-heading: 'Roboto', sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── GRID BACKGROUND ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,200,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,200,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

/* ── TOP GLOW ── */
.top-glow {
  position: fixed;
  top: -250px;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(0,200,255,0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ── AMBIENT MOUSE GLOW ── */
.ambient-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,200,255,0.04) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  top: -999px;
  left: -999px;
  transition: opacity 0.5s ease;
}

/* ── NAVIGATION BAR ── */
.nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  background: rgba(6, 8, 16, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: var(--transition);
}

.nav-bar.scrolled {
  height: 70px;
  background: rgba(6, 8, 16, 0.85);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-block {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  z-index: 101;
}

.logo-icon {
  width: 42px;
  height: 42px;
  position: relative;
  flex-shrink: 0;
}

.logo-icon svg {
  width: 100%;
  height: 100%;
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.1;
}

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

.logo-sub {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 1px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-link {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--cyan);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 10px 20px;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
}

.btn-primary {
  background: var(--cyan);
  color: #060810;
}

.btn-primary:hover {
  box-shadow: 0 0 24px var(--cyan-glow);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-secondary:hover {
  border-color: var(--border-accent);
  background: var(--cyan-dim);
}

.btn-large {
  padding: 14px 28px;
  font-size: 0.95rem;
  border-radius: 10px;
}

.btn-full {
  width: 100%;
  padding: 14px;
}

/* ── MOBILE MENU TOGGLE ── */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 105;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text);
  border-radius: 4px;
  transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ── MOBILE MENU ── */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: var(--bg);
  z-index: 99;
  padding-top: 100px;
  padding-left: 40px;
  padding-right: 40px;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu.active {
  right: 0;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-nav-links a {
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.8rem;
  letter-spacing: -0.02em;
  display: block;
  transition: var(--transition);
}

.mobile-nav-links a:hover {
  color: var(--cyan);
  padding-left: 10px;
}

.mobile-cta-btn {
  margin-top: 24px;
  border: 1px solid var(--cyan);
  padding: 14px;
  text-align: center;
  border-radius: 8px;
  color: var(--cyan) !important;
  font-size: 1.1rem !important;
}

/* ── MAIN CONTENT CONTAINER ── */
.page {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 80px auto 0;
  padding: 40px 40px;
}

/* ── SECTION LABELS ── */
.section-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-label::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--cyan);
}

.section-label.center {
  justify-content: center;
}

.section-label.center::after {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--cyan);
}

/* ── HERO SECTION ── */
.hero-section {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 60px;
  padding: 60px 0 100px;
}

.hero-content {
  animation: fadeUp 0.6s ease both;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green-dim);
  border: 1px solid rgba(0,255,148,0.25);
  border-radius: 100px;
  padding: 4px 12px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--green);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
}

.animate-pulse {
  animation: pulse 2s ease infinite;
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2.6rem, 5.5vw, 4rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 24px;
}

.hero-content h1 em {
  font-style: normal;
  color: var(--cyan);
  position: relative;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-dim);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 580px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  border-top: 1px solid var(--border);
  padding-top: 32px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.6rem;
  color: #fff;
  line-height: 1.2;
}

.stat-lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

/* ── HERO VISUAL / INTERACTIVE TERMINAL ── */
.hero-visual {
  animation: fadeUp 0.7s 0.15s ease both;
}

.terminal-window {
  background: #080b11;
  border: 1px solid var(--border-accent);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 200, 255, 0.08);
}

.terminal-header {
  background: #0d1117;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.terminal-buttons {
  display: flex;
  gap: 6px;
}

.terminal-buttons .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.terminal-buttons .close { background: #ff5f56; }
.terminal-buttons .minimize { background: #ffbd2e; }
.terminal-buttons .expand { background: #27c93f; }

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}

.terminal-btn-action {
  background: var(--cyan-dim);
  border: 1px solid var(--border-accent);
  color: var(--cyan);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
}

.terminal-btn-action:hover {
  background: var(--cyan);
  color: #060810;
  box-shadow: 0 0 10px rgba(0, 200, 255, 0.4);
}

.terminal-body {
  padding: 20px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #d1d5db;
  min-height: 280px;
  max-height: 350px;
  overflow-y: auto;
  line-height: 1.6;
}

.terminal-body::-webkit-scrollbar {
  width: 6px;
}
.terminal-body::-webkit-scrollbar-thumb {
  background: var(--border-accent);
  border-radius: 3px;
}

.terminal-body .line {
  margin-bottom: 8px;
  word-break: break-all;
}

.terminal-body .line.comment { color: var(--text-muted); }
.terminal-body .line.success { color: var(--green); }
.terminal-body .line.info { color: var(--cyan); }
.terminal-body .line.error { color: var(--accent-red); }

.terminal-body .prompt::before {
  content: '$ ';
  color: var(--cyan);
}

.terminal-body .cursor {
  animation: pulse 1s infinite;
}

/* ── THE PROBLEM SECTION ── */
.problem-section {
  padding: 60px 0;
  animation: fadeUp 0.7s 0.2s ease both;
}

.problem-card {
  background: linear-gradient(135deg, rgba(255,59,92,0.05) 0%, transparent 60%);
  border: 1px solid rgba(255,59,92,0.15);
  border-radius: 20px;
  padding: 48px;
  position: relative;
  overflow: hidden;
}

.problem-card::before {
  content: '⚠';
  position: absolute;
  right: 48px;
  top: 36px;
  font-size: 5rem;
  opacity: 0.05;
  line-height: 1;
}

.problem-card h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--accent-red);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.problem-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
}

.problem-text p {
  color: var(--text-dim);
  font-size: 1rem;
  margin-bottom: 16px;
}

.problem-text p strong {
  color: var(--text);
  font-weight: 500;
}

.problem-points {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.problem-point {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255, 59, 92, 0.04);
  border: 1px solid rgba(255, 59, 92, 0.08);
  padding: 16px 20px;
  border-radius: 10px;
}

.point-icon {
  color: var(--accent-red);
  font-weight: 800;
  font-size: 1.1rem;
  line-height: 1.2;
}

.problem-point strong {
  color: #fff;
  display: block;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.problem-point div {
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* ── BENEFITS SECTION ── */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 56px;
  animation: fadeUp 0.6s ease both;
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2.2rem;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-dim);
}

.benefits-section {
  padding: 80px 0;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  animation: fadeUp 0.7s 0.25s ease both;
}

.benefit-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.benefit-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--cyan-dim) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

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

.benefit-card:hover::after {
  opacity: 1;
}

.benefit-icon {
  width: 44px;
  height: 44px;
  background: var(--cyan-dim);
  border: 1px solid var(--border-accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.25rem;
}

.benefit-card h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--cyan);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.benefit-card p {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.7;
}

.benefit-card p strong {
  color: var(--text);
  font-weight: 500;
}

/* ── HOW IT WORKS (E2EE VISUALIZER) ── */
.how-it-works-section {
  padding: 80px 0;
}

.visualizer-container {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  animation: fadeUp 0.7s 0.2s ease both;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.visualizer-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 20px;
}

.visualizer-tab {
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  padding: 12px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: var(--transition);
}

.visualizer-tab:hover {
  background: rgba(255, 255, 255, 0.02);
}

.visualizer-tab.active {
  background: var(--cyan-dim);
  border: 1px solid var(--border-accent);
}

.visualizer-tab .step-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
}

.visualizer-tab.active .step-num {
  color: var(--cyan);
}

.visualizer-tab .step-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-dim);
}

.visualizer-tab.active .step-title {
  color: #fff;
}

.visualizer-content-box {
  min-height: 350px;
}

.visualizer-step-content {
  display: none;
  animation: fadeIn 0.4s ease both;
}

.visualizer-step-content.active {
  display: block;
}

.step-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}

.step-text h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}

.step-text p {
  font-size: 0.95rem;
  color: var(--text-dim);
  margin-bottom: 20px;
}

.step-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step-list li {
  font-size: 0.9rem;
  color: var(--text-dim);
  position: relative;
  padding-left: 20px;
}

.step-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-weight: bold;
}

/* Graphic styles step 1 */
.step-graphic {
  display: flex;
  justify-content: center;
  align-items: center;
}

.graphic-device {
  width: 100%;
  max-width: 320px;
}

.device-screen {
  background: #1e293b;
  border: 8px solid #334155;
  border-bottom: 0;
  border-radius: 16px 16px 0 0;
  padding: 16px;
  height: 200px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.device-base {
  height: 16px;
  background: #475569;
  border-radius: 0 0 16px 16px;
  position: relative;
}

.device-base::after {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 60px; height: 4px;
  background: #1e293b;
  border-radius: 0 0 4px 4px;
}

.editor-mock {
  background: #0f172a;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.05);
  flex-grow: 1;
  padding: 10px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
}

.editor-header {
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding-bottom: 6px;
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
}

.editor-title {
  color: var(--cyan);
}

.editor-lines {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.editor-line.font-muted {
  color: var(--text-muted);
}

.typing-cursor {
  display: inline-block;
  width: 6px;
  height: 10px;
  background: #fff;
  animation: pulse 1s infinite;
}

.daemon-bubble {
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface2);
  border: 1px solid var(--border-accent);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  padding: 6px 12px;
  border-radius: 50px;
  white-space: nowrap;
  box-shadow: 0 10px 20px rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  gap: 6px;
}

.pulse-ring {
  width: 8px;
  height: 8px;
  background: var(--cyan);
  border-radius: 50%;
  position: relative;
}

.pulse-ring::after {
  content: '';
  position: absolute;
  inset: -4px;
  border: 1px solid var(--cyan);
  border-radius: 50%;
  animation: pulse-out 1.5s infinite;
}

/* Graphic styles step 2 */
.encryption-process {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 10px;
}

.crypto-box {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  text-align: center;
  width: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.crypto-box .file-icon {
  font-size: 2rem;
}

.crypto-box .file-icon.locked {
  color: var(--cyan);
}

.crypto-box .file-name {
  font-size: 0.65rem;
  font-family: var(--font-mono);
  word-break: break-all;
}

.crypto-box .file-name.hash {
  color: var(--text-muted);
}

.crypto-arrow {
  flex-grow: 1;
  text-align: center;
  position: relative;
  padding: 0 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.crypto-arrow .arrow-text {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  color: var(--cyan);
  margin-bottom: 6px;
}

.crypto-arrow .arrow-line {
  height: 2px;
  background: var(--border-accent);
  width: 100%;
  position: relative;
}

.crypto-arrow .arrow-pulse {
  position: absolute;
  top: -3px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  animation: flow-right 2s infinite linear;
}

.crypto-arrow .lock-badge {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  background: var(--cyan-dim);
  border: 1px solid var(--border-accent);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--cyan);
  margin-top: 6px;
}

/* Graphic styles step 3 */
.hybrid-delivery {
  position: relative;
  height: 200px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.delivery-center {
  background: var(--surface2);
  border: 1px solid var(--border-accent);
  border-radius: 8px;
  padding: 10px;
  width: 90px;
  text-align: center;
  z-index: 10;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.delivery-center .file-icon {
  font-size: 1.4rem;
  display: block;
  margin-bottom: 4px;
}

.delivery-center .file-name-small {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  color: var(--cyan);
  word-break: break-all;
}

.delivery-path {
  position: absolute;
  left: 90px;
  width: 180px;
  height: 80px;
  display: flex;
  align-items: center;
}

.delivery-path.path-nas {
  transform: rotate(-25deg);
  transform-origin: left center;
  top: 15px;
}

.delivery-path.path-cloud {
  transform: rotate(25deg);
  transform-origin: left center;
  bottom: 15px;
}

.delivery-path .path-line {
  height: 1px;
  border-top: 1px dashed var(--cyan);
  width: 80px;
}

.delivery-path .dest-box {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 12px;
  width: 120px;
  text-align: center;
  transform: rotate(25deg); /* counteract nas rotation */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.delivery-path.path-cloud .dest-box {
  transform: rotate(-25deg); /* counteract cloud rotation */
  border-color: rgba(0, 255, 148, 0.2);
}

.dest-icon {
  font-size: 1.1rem;
  display: block;
  margin-bottom: 2px;
}

.dest-name {
  font-size: 0.65rem;
  font-weight: 600;
  display: block;
}

.dest-speed {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  color: var(--text-muted);
}

.delivery-path.path-cloud .dest-speed {
  color: var(--green);
}

/* ── CALCULATOR SECTION ── */
.calculator-section {
  padding: 80px 0;
}

.calculator-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: stretch;
  animation: fadeUp 0.7s 0.25s ease both;
}

.calc-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  display: flex;
  flex-direction: column;
}

.calc-panel h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 10px;
}

.calc-desc {
  font-size: 0.95rem;
  color: var(--text-dim);
  margin-bottom: 36px;
}

.slider-container {
  margin-bottom: 32px;
}

.range-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 5px;
  background: #111827;
  outline: none;
  cursor: pointer;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--cyan);
  border: 2px solid #060810;
  box-shadow: 0 0 15px var(--cyan-glow);
  cursor: pointer;
  transition: transform 0.1s;
}

.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.range-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--cyan);
  border: 2px solid #060810;
  box-shadow: 0 0 15px var(--cyan-glow);
  cursor: pointer;
  transition: transform 0.1s;
}

.range-slider::-moz-range-thumb:hover {
  transform: scale(1.15);
}

.slider-numbers {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
}

.device-counter-display {
  background: var(--surface2);
  border: 1px solid var(--border);
  padding: 16px 24px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 36px;
}

.counter-num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2.2rem;
  color: var(--cyan);
  line-height: 1;
}

.counter-unit {
  font-size: 1.05rem;
  font-weight: 500;
  color: #fff;
}

.included-services h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.included-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.included-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-dim);
}

.check-icon {
  color: var(--green);
  font-weight: bold;
}

/* Calculator pricing card */
.calc-card {
  background: var(--surface);
  border: 1px solid var(--border-accent);
  border-radius: 20px;
  padding: 40px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 15px 40px rgba(0, 200, 255, 0.04);
}

.calc-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--green));
  border-radius: 20px 20px 0 0;
}

.pricing-badge {
  background: var(--green-dim);
  border: 1px solid rgba(0,255,148,0.2);
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 100px;
  align-self: flex-start;
  margin-bottom: 20px;
}

.plan-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 24px;
}

.price-display {
  margin-bottom: 32px;
}

.price-monthly {
  display: flex;
  align-items: baseline;
}

.price-monthly .currency {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-right: 6px;
}

.price-monthly .amount {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 3.2rem;
  color: var(--cyan);
  letter-spacing: -0.03em;
  line-height: 1;
}

.price-monthly .period {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-left: 8px;
}

.price-breakdown {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--text-dim);
}

.breakdown-row.border-top {
  border-top: 1px solid var(--border);
  padding-top: 14px;
  margin-top: 4px;
}

.breakdown-row.border-top span {
  font-weight: 500;
  color: #fff;
}

.highlight-cyan {
  color: var(--cyan);
  font-size: 1.1rem;
}

.pricing-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 20px;
  line-height: 1.6;
}

.link-cyan {
  color: var(--cyan);
  text-decoration: underline;
}

/* ── SECURITY DEEP DIVE SECTION ── */
.security-deep-dive {
  padding: 80px 0;
}

.security-card {
  border-color: rgba(0, 200, 255, 0.2);
  background: linear-gradient(135deg, rgba(0, 200, 255, 0.03) 0%, transparent 60%);
}

.security-card::before {
  content: '🛡️';
  font-size: 5rem;
  right: 48px;
  top: 36px;
  opacity: 0.05;
}

.security-desc {
  max-width: 700px;
  font-size: 1.05rem;
  color: var(--text-dim);
  margin-bottom: 40px;
}

.security-details-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.security-detail-item {
  background: rgba(6, 8, 16, 0.4);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}

.sec-badge {
  display: inline-block;
  background: var(--cyan-dim);
  border: 1px solid var(--border-accent);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.security-detail-item h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  margin-bottom: 10px;
}

.security-detail-item p {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.65;
}

/* ── FAQ SECTION ── */
.faq-section {
  padding: 80px 0;
}

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: fadeUp 0.7s 0.2s ease both;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--border-accent);
}

.faq-trigger {
  width: 100%;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 24px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
}

.faq-icon {
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 1.3rem;
  transition: var(--transition);
}

.faq-item.active {
  border-color: var(--border-accent);
  background: var(--surface2);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 30px;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s;
}

.faq-item.active .faq-content {
  padding-bottom: 24px;
}

.faq-content p {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.7;
}

/* ── CONTACT / LEAD CAPTURE SECTION ── */
.contact-section {
  padding: 80px 0;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 48px;
  animation: fadeUp 0.7s 0.25s ease both;
}

.contact-info-panel h2 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2rem;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.contact-info-panel p {
  font-size: 1.05rem;
  color: var(--text-dim);
  margin-bottom: 40px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-detail .icon {
  font-size: 1.4rem;
  color: var(--cyan);
  background: var(--cyan-dim);
  border: 1px solid var(--border-accent);
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail div strong {
  display: block;
  font-size: 0.9rem;
  color: #fff;
  margin-bottom: 4px;
}

.contact-detail div span,
.contact-detail div a {
  font-size: 0.85rem;
  color: var(--text-dim);
  text-decoration: none;
}

.contact-form-panel {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.form-group label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: #090c12;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px 16px;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 10px rgba(0, 200, 255, 0.15);
}

.form-group select {
  cursor: pointer;
}

.btn-submit {
  margin-top: 10px;
}

.form-status {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-align: center;
  min-height: 20px;
}

.form-status.success { color: var(--green); }
.form-status.error { color: var(--accent-red); }

/* ── FOOTER BAR ── */
.footer-bar {
  background: #04060b;
  border-top: 1px solid var(--border);
  padding: 80px 0 40px;
  position: relative;
  z-index: 10;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 60px;
  padding-bottom: 60px;
}

.footer-brand-section {
  max-width: 360px;
}

.footer-pitch {
  font-size: 0.88rem;
  color: var(--text-dim);
  margin-top: 16px;
  line-height: 1.7;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.footer-links-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--cyan);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.03);
  padding-top: 32px;
}

.footer-bottom-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
}

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

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

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

@keyframes pulse-out {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(2); opacity: 0; }
}

@keyframes flow-right {
  0% { left: 0%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

/* ── RESPONSIVE DESIGN ── */
@media (max-width: 1024px) {
  .hero-section {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-bottom: 60px;
  }
  .hero-visual {
    max-width: 550px;
    width: 100%;
    margin: 0 auto;
  }
  .problem-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .calculator-grid {
    grid-template-columns: 1fr;
  }
  .security-details-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .contact-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .page {
    padding: 24px 20px;
  }
  .nav-container {
    padding: 0 20px;
  }
  .nav-links, .nav-actions .btn {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  .visualizer-tabs {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .step-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hybrid-delivery {
    justify-content: center;
  }
  .delivery-path {
    display: none;
  }
  .visualizer-content-box {
    min-height: auto;
  }
  .problem-card {
    padding: 24px;
  }
  .contact-container {
    padding: 24px;
  }
  .contact-form-panel {
    padding: 20px;
  }
  .footer-container {
    padding: 0 20px;
  }
  .footer-bottom-container {
    padding: 0 20px;
    flex-direction: column;
    text-align: center;
  }
  .nav-bar.scrolled {
    height: 80px;
  }
}
