:root {
  --bg: #03050d;
  --bg-darker: #010206;
  --bg-card: rgba(10, 15, 30, 0.6);
  --bg-card-hover: rgba(15, 23, 42, 0.8);
  --text: #f8fafc;
  --text-soft: #cbd5e1;
  --text-muted: #64748b;
  --primary: #6366f1;
  --primary-hover: #818cf8;
  --primary-glow: rgba(99, 102, 241, 0.25);
  --secondary: #06b6d4;
  --secondary-hover: #22d3ee;
  --secondary-glow: rgba(6, 182, 212, 0.25);
  --accent-green: #10b981;
  --accent-green-glow: rgba(16, 185, 129, 0.2);
  --accent-red: #ef4444;
  --accent-yellow: #f59e0b;
  --border: rgba(255, 255, 255, 0.05);
  --border-hover: rgba(255, 255, 255, 0.1);
  --border-focus: rgba(6, 182, 212, 0.4);
  --glass-blur: blur(16px);
  --font-title: 'Outfit', 'Inter', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'Fira Code', ui-monospace, monospace;
  --max-width: 1200px;
}

/* Reset & Base Rules */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

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

img {
  max-width: 100%;
  display: block;
}

/* Background overlay grid & glows */
.cursor-glow {
  position: fixed;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.05) 0%, rgba(99, 102, 241, 0.02) 45%, transparent 70%);
  top: 0;
  left: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.18;
  background-size: 60px 60px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* Badge styling */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(6, 182, 212, 0.08);
  color: var(--secondary-hover);
  border: 1px solid rgba(6, 182, 212, 0.2);
  margin-bottom: 24px;
}

.badge-cyan {
  background: rgba(6, 182, 212, 0.08);
  color: var(--secondary-hover);
  border-color: rgba(6, 182, 212, 0.2);
}

.badge-green {
  background: rgba(16, 185, 129, 0.08);
  color: var(--accent-green);
  border-color: rgba(16, 185, 129, 0.2);
}

/* Sticky Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 100;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
}

.header.scrolled {
  background: rgba(3, 5, 13, 0.8);
  backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  height: 72px;
}

.header-container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  height: 48px;
  width: 200px;
  display: flex;
  align-items: center;
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

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

.nav a:not(.btn-nav) {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-soft);
  transition: color 0.2s ease;
}

.nav a:not(.btn-nav):hover {
  color: #fff;
}

.btn-nav {
  background: rgba(6, 182, 212, 0.08);
  color: var(--secondary-hover) !important;
  border: 1px solid rgba(6, 182, 212, 0.2);
  padding: 8px 18px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.25s ease;
}

.btn-nav:hover {
  background: var(--secondary);
  color: #03050c !important;
  box-shadow: 0 0 15px var(--secondary-glow);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 22px;
  height: 14px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 101;
}

.menu-toggle span {
  width: 100%;
  height: 2px;
  background-color: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Interactive Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.92rem;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
}

.btn-primary {
  background: linear-gradient(135deg, var(--secondary), #0891b2);
  color: #03050d;
  box-shadow: 0 4px 15px var(--secondary-glow);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.4);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  border: 1px solid var(--border);
  backdrop-filter: var(--glass-blur);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}

.btn-link {
  background: none;
  border: none;
  color: var(--secondary-hover);
  cursor: pointer;
  text-decoration: underline;
}

.btn-link:hover {
  color: #fff;
}

.btn-block {
  width: 100%;
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 56px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-header .sub {
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  display: block;
}

.section-header h2 {
  font-family: var(--font-title);
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-muted);
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
}

/* Minimal Hero Section */
.hero-minimal {
  padding: 140px 24px 80px;
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 2;
}

.hero-header {
  max-width: 800px;
  margin-bottom: 48px;
}

.hero-header h1 {
  font-family: var(--font-title);
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #fff 40%, var(--text-soft) 80%, var(--secondary-hover) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lead-short {
  color: var(--text-soft);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.6;
  max-width: 680px;
  margin: 0 auto 32px;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
}

/* Dashboard Mockup Console Container */
.dashboard-section {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.dashboard-window {
  background: rgba(10, 13, 28, 0.7);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  backdrop-filter: var(--glass-blur);
}

/* Header bar */
.dash-window-header {
  background: rgba(1, 3, 10, 0.6);
  border-bottom: 1px solid var(--border);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.window-dots .red { background-color: var(--accent-red); opacity: 0.8; }
.window-dots .yellow { background-color: var(--accent-yellow); opacity: 0.8; }
.window-dots .green { background-color: var(--accent-green); opacity: 0.8; }

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

.window-status {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-green);
  display: flex;
  align-items: center;
  gap: 6px;
}

.status-indicator {
  animation: statusPulse 2s infinite;
}

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

/* Body Grid layout */
.dash-window-body {
  display: grid;
  grid-template-columns: 240px 1fr 220px;
  min-height: 440px;
}

/* Sidebar styling */
.dash-sidebar {
  background: rgba(2, 4, 12, 0.45);
  border-right: 1px solid var(--border);
  padding: 18px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-title {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  padding-left: 8px;
}

.dash-side-btn {
  background: transparent;
  border: none;
  color: var(--text-soft);
  padding: 10px 12px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.82rem;
  text-align: left;
  transition: all 0.2s ease;
}

.dash-side-btn:hover {
  background: rgba(255, 255, 255, 0.02);
  color: #fff;
}

.dash-side-btn.active {
  background: rgba(6, 182, 212, 0.06);
  color: var(--secondary-hover);
  font-weight: 600;
  border: 1px solid rgba(6, 182, 212, 0.15);
}

/* Workspace container */
.dash-workspace {
  padding: 24px;
  background: rgba(3, 5, 12, 0.2);
  display: flex;
  flex-direction: column;
}

.dash-pane {
  display: none;
  animation: dashFade 0.25s ease-out forwards;
  height: 100%;
}

.dash-pane.active {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@keyframes dashFade {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.pane-headline {
  margin-bottom: 20px;
}

.pane-headline h3 {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: #fff;
}

.pane-headline p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* TAB 1: FINOPS Simulator UI controls */
.finops-simulator {
  display: flex;
  flex-direction: column;
  gap: 22px;
  flex-grow: 1;
  justify-content: center;
}

.sim-slider-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sim-slider-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-soft);
  display: flex;
  justify-content: space-between;
}

.sim-slider-group label span {
  color: var(--secondary-hover);
  font-family: var(--font-mono);
}

input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--secondary);
  box-shadow: 0 0 10px var(--secondary-glow);
  cursor: pointer;
  transition: background 0.15s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
  background: var(--secondary-hover);
}

.sim-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.sim-metric-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  padding: 14px;
  border-radius: 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.metric-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.metric-val {
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 800;
}

.text-green { color: var(--accent-green); }
.text-cyan { color: var(--secondary-hover); }
.text-indigo { color: var(--primary-hover); }

.sim-checklist {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.chk-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  color: var(--text-soft);
}

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

/* TAB 2: OBSERVABILITY Chart & Telemetry styling */
.observability-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-grow: 1;
  justify-content: space-between;
}

.chart-container {
  background: rgba(1, 2, 6, 0.4);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#live-obs-chart {
  width: 100%;
  height: 100%;
}

.obs-telemetry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.tel-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px 12px;
  text-align: center;
}

.tel-lbl {
  font-size: 0.65rem;
  color: var(--text-muted);
  display: block;
}

.tel-val {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
}

/* TAB 3: SECURITY Terminal simulation */
.security-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-grow: 1;
}

.scan-progress-bar-wrapper {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 2px;
  overflow: hidden;
}

.scan-progress-fill {
  width: 0%;
  height: 100%;
  background: var(--secondary);
  transition: width 0.1s ease;
}

.terminal-shell {
  background: rgba(1, 2, 6, 0.7);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  line-height: 1.5;
  height: 160px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.term-line {
  word-break: break-all;
}

.term-line.cmd {
  color: #fff;
}

.term-line.system {
  color: var(--text-muted);
}

.term-line.success {
  color: var(--accent-green);
}

.term-line.warning {
  color: var(--accent-yellow);
}

.term-line.error {
  color: var(--accent-red);
}

/* TAB 4: MIGRATION Timeline pipeline control */
.migration-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex-grow: 1;
  justify-content: center;
}

.migration-pipeline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}

.pipe-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  position: relative;
  transition: transform 0.2s ease;
}

.pipe-step:hover {
  transform: translateY(-1px);
}

.pipe-step .step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--border-hover);
  background: var(--bg-darker);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.pipe-step.active .step-num {
  border-color: var(--secondary);
  color: #fff;
  box-shadow: 0 0 10px var(--secondary-glow);
}

.pipe-step.completed .step-num {
  border-color: var(--accent-green);
  color: var(--accent-green);
}

.pipe-step .step-lbl {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.pipe-step.active .step-lbl {
  color: #fff;
}

.pipe-connector {
  flex-grow: 1;
  height: 2px;
  background: var(--border);
  margin-bottom: 20px;
}

.pipe-step.completed + .pipe-connector {
  background: var(--accent-green);
}

.step-details-card {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px;
}

.step-details-card h4 {
  font-family: var(--font-title);
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: #fff;
}

.step-details-card p {
  font-size: 0.76rem;
  color: var(--text-soft);
  line-height: 1.45;
}

/* Console scrolling live logs panel */
.dash-logs-pane {
  background: rgba(1, 2, 6, 0.35);
  border-left: 1px solid var(--border);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.logs-header {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

.logs-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-soft);
  max-height: 380px;
  overflow-y: hidden;
}

.log-entry {
  line-height: 1.35;
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
  padding-bottom: 4px;
}

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

.log-sec {
  color: var(--secondary);
}

/* Cloud Providers Banner Showcase */
.providers-banner {
  padding: 36px 0;
  background: var(--bg-darker);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 2;
}

.providers-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.banner-title {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.logo-carousel {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 48px;
}

.cloud-logo-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-soft);
  font-weight: 600;
  font-family: var(--font-title);
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cloud-logo-item:hover {
  color: #fff;
  transform: translateY(-1px);
}

.c-logo-svg {
  width: 24px;
  height: 24px;
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.cloud-logo-item:hover .c-logo-svg {
  color: var(--secondary-hover);
  filter: drop-shadow(0 0 6px var(--secondary-glow));
}

.cloud-logo-item.logo-highlighted {
  color: #fff;
}

.cloud-logo-item.logo-highlighted .c-logo-svg {
  color: var(--secondary-hover);
  filter: drop-shadow(0 0 10px var(--secondary-glow));
}

/* Git Timeline Workflow graph */
.git-workflow-section {
  padding: 100px 0;
  position: relative;
  z-index: 2;
}

.git-tree-wrapper {
  max-width: 780px;
  margin: 0 auto;
  position: relative;
  padding-left: 48px;
}

.git-branch-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 20px;
  width: 3px;
  background: linear-gradient(to bottom, var(--secondary), var(--primary));
  opacity: 0.45;
  border-radius: 2px;
}

.git-nodes-stack {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.git-commit-node {
  position: relative;
  cursor: pointer;
}

.git-dot-outer {
  position: absolute;
  left: -41px;
  top: 6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--secondary);
  display: grid;
  place-items: center;
  transition: all 0.25s ease;
  z-index: 5;
}

.git-dot-inner {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--secondary);
  transition: all 0.25s ease;
}

.git-commit-node:hover .git-dot-outer {
  border-color: var(--secondary-hover);
  box-shadow: 0 0 12px var(--secondary-glow);
  transform: scale(1.1);
}

.git-commit-node:hover .git-dot-inner {
  background: #fff;
}

.git-commit-node:nth-child(even) .git-dot-outer {
  border-color: var(--primary);
}

.git-commit-node:nth-child(even) .git-dot-inner {
  background: var(--primary);
}

.git-commit-node:nth-child(even):hover .git-dot-outer {
  border-color: var(--primary-hover);
  box-shadow: 0 0 12px var(--primary-glow);
}

.commit-details {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
  transition: all 0.2s ease;
}

.git-commit-node:hover .commit-details {
  background: var(--bg-card);
  border-color: var(--border-hover);
  transform: translateX(4px);
}

.commit-meta {
  display: flex;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  margin-bottom: 8px;
}

.commit-hash {
  color: var(--secondary-hover);
}

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

.commit-msg {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 8px;
}

.commit-expand-info {
  font-size: 0.8rem;
  color: var(--text-soft);
  line-height: 1.45;
}

/* Contact Section & Form */
.contact-section {
  padding: 100px 24px;
  position: relative;
  z-index: 2;
}

.contact-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: start;
}

.contact-info h2 {
  font-family: var(--font-title);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.15;
}

.contact-info p {
  color: var(--text-soft);
  font-size: 1rem;
  margin-bottom: 36px;
}

.contact-details {
  display: grid;
  gap: 24px;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-soft);
}

.detail-item .icon {
  width: 20px;
  height: 20px;
  color: var(--secondary);
  flex-shrink: 0;
}

.detail-item a:hover {
  color: #fff;
  text-decoration: underline;
}

.contact-form-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
  backdrop-filter: var(--glass-blur);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
}

.contact-form {
  display: grid;
  gap: 16px;
}

.form-group {
  display: grid;
  gap: 6px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-soft);
}

input, select, textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px 16px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--border-focus);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.15);
}

select option {
  background-color: var(--bg-darker);
  color: #fff;
}

textarea {
  resize: vertical;
}

.form-consent {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.form-consent input[type="checkbox"] {
  width: auto;
  cursor: pointer;
}

.form-consent button {
  font-size: 0.78rem;
  vertical-align: baseline;
}

.form-status {
  padding: 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  text-align: center;
  margin-top: 8px;
}

.form-status.success {
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent-green);
  border: 1px solid rgba(16, 185, 129, 0.18);
}

.form-status.error {
  background: rgba(239, 68, 68, 0.1);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.18);
}

/* Footer Section */
.footer {
  background: var(--bg-darker);
  border-top: 1px solid var(--border);
  padding: 48px 0 24px;
  position: relative;
  z-index: 2;
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.footer-brand {
  margin-bottom: 32px;
  max-width: 320px;
}

.footer-brand img {
  height: 32px;
  margin-bottom: 12px;
  object-fit: contain;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.82rem;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--text-muted);
  font-size: 0.78rem;
}

.footer-links button {
  font-size: 0.78rem;
}

/* Privacy Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(1, 2, 6, 0.85);
  backdrop-filter: blur(8px);
  z-index: 1000;
}

.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1001;
  width: min(580px, calc(100% - 32px));
  max-height: calc(100vh - 48px);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  overflow-y: auto;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5);
}

.modal h2 {
  font-family: var(--font-title);
  font-size: 1.8rem;
  margin: 8px 0 16px;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
}

.modal-body {
  color: var(--text-soft);
  font-size: 0.88rem;
}

.modal-body p {
  margin-bottom: 12px;
}

.modal-body a {
  color: var(--secondary);
  text-decoration: underline;
}

/* Scroll reveals */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Grid rules */
@media (max-width: 960px) {
  .dash-window-body {
    grid-template-columns: 1fr;
  }
  
  .dash-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--border);
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .dash-side-btn {
    padding: 8px 12px;
  }
  
  .dash-logs-pane {
    border-left: none;
    border-top: 1px solid var(--border);
  }
  
  .contact-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .hero-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }
  
  .nav {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    height: calc(100vh - 72px);
    background: var(--bg-darker);
    flex-direction: column;
    padding: 40px 24px;
    align-items: stretch;
    gap: 24px;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    z-index: 99;
  }
  
  .nav.open {
    transform: translateX(0);
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .menu-toggle.open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }
  
  .menu-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .sim-metrics-grid {
    grid-template-columns: 1fr;
  }
  
  .migration-pipeline {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding-left: 20px;
  }
  
  .pipe-connector {
    width: 2px;
    height: 16px;
    margin-left: 13px;
    margin-bottom: 0;
  }
}
