:root {
  --bg-primary: #060608;
  --bg-secondary: #0c0c12;
  --bg-card: rgba(18, 18, 26, 0.65);
  --bg-card-hover: rgba(26, 26, 38, 0.8);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 113, 227, 0.3);
  --text-primary: #f5f5f7;
  --text-secondary: #86868b;
  --color-accent: #0071e3;
  --color-accent-glow: rgba(0, 113, 227, 0.15);
  --color-success: #30d158;
  --color-warning: #ffd60a;
  --color-gradient-1: #0071e3;
  --color-gradient-2: #00f2fe;
  --color-fox: #f25f22;
  --font-title: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

#gravity-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

main, header, footer {
  position: relative;
  z-index: 2;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: #2c2c35;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #3e3e4a;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  transition: var(--transition-smooth);
}

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.15);
}

.navbar-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(6, 6, 8, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}

.navbar-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-image {
  height: 54px;
  width: auto;
  max-height: 100%;
  display: block;
  transition: var(--transition-smooth);
}

.footer-logo .logo-image {
  height: 70px;
}

.logo-icon {
  font-size: 1.5rem;
  filter: drop-shadow(0 0 10px rgba(242, 95, 34, 0.3));
}

.logo-highlight {
  color: var(--color-fox);
  background: linear-gradient(135deg, var(--color-fox) 0%, #ff9f0a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-cta-btn {
  background: rgba(255, 255, 255, 0.08);
  padding: 8px 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary) !important;
}

.nav-cta-btn:hover {
  background: var(--text-primary);
  color: var(--bg-primary) !important;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 24px;
  height: 18px;
  position: relative;
  z-index: 1010;
}

.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  position: absolute;
  left: 0;
  transition: var(--transition-smooth);
}

.mobile-menu-btn span:nth-child(1) { top: 0; }
.mobile-menu-btn span:nth-child(2) { top: 8px; }
.mobile-menu-btn span:nth-child(3) { top: 16px; }

.mobile-menu-btn.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.hero-section {
  min-height: 100vh;
  padding: 140px 24px 80px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-gradient-glow {
  position: absolute;
  top: 25%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(0, 113, 227, 0.12) 0%, rgba(242, 95, 34, 0.05) 50%, rgba(0,0,0,0) 80%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  max-width: 860px;
  z-index: 2;
}

.badge-container {
  display: inline-block;
  margin-bottom: 24px;
}

.hero-badge {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--text-primary);
  text-transform: uppercase;
}

.hero-title {
  font-family: var(--font-title);
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, var(--text-primary) 30%, var(--color-accent) 70%, var(--color-gradient-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 40px auto;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 30px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-accent) 0%, #00a2ff 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 20px rgba(0, 113, 227, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 113, 227, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.hero-visual {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
  z-index: 1;
}

.glass-orb-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.glass-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.6;
}

.orb-1 {
  width: 140px;
  height: 140px;
  background: var(--color-fox);
  bottom: -40px;
  left: 20%;
  animation: orbFloat 10s infinite alternate;
}

.orb-2 {
  width: 180px;
  height: 180px;
  background: var(--color-accent);
  bottom: -60px;
  right: 25%;
  animation: orbFloat 14s infinite alternate-reverse;
}

.orb-3 {
  width: 100px;
  height: 100px;
  background: var(--color-gradient-2);
  bottom: -20px;
  left: 50%;
  animation: orbFloat 8s infinite alternate;
}

@keyframes orbFloat {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(-30px) scale(1.1); }
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px auto;
}

.section-tag {
  color: var(--color-accent);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-title);
  font-size: 2.75rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

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

.overview-section, .ecosystem-section, .console-section, .architecture-section, .contact-section {
  padding: 100px 0;
  position: relative;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.overview-card {
  padding: 40px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: var(--transition-smooth);
}

.overview-card:hover {
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-5px);
}

.card-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(0, 113, 227, 0.1);
  border: 1px solid rgba(0, 113, 227, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--color-accent);
  font-size: 1.5rem;
}

.overview-card h3 {
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.overview-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

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

.bento-card {
  position: relative;
  overflow: hidden;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform-style: preserve-3d;
  transform: perspective(1000px);
}

.bento-large {
  grid-column: span 2;
}

.card-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(800px circle at var(--x, 0px) var(--y, 0px), rgba(255, 255, 255, 0.06), transparent 40%);
  z-index: 1;
  pointer-events: none;
}

.bento-card-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.bento-badge {
  color: var(--color-accent);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  display: inline-block;
}

.bento-card h3 {
  font-family: var(--font-title);
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.bento-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 32px;
}

.bento-visual {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 24px;
  overflow: hidden;
  min-height: 160px;
}

.flow-visual {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 30px;
}

.flow-visual .node {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  position: relative;
}

.flow-visual .node-start {
  border-color: var(--color-accent);
}

.flow-visual .node-process {
  border-color: var(--color-fox);
  background: rgba(242, 95, 34, 0.05);
}

.flow-visual .node-db {
  border-color: var(--color-gradient-2);
}

.connector-line {
  flex-grow: 1;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  position: relative;
  margin: 0 10px;
}

.connector-line .pulse {
  position: absolute;
  top: -2px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 10px var(--color-accent);
  animation: pulseMove 3s infinite linear;
}

@keyframes pulseMove {
  0% { left: 0%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

.code-preview-visual {
  justify-content: flex-start;
  align-items: flex-start;
  padding: 16px;
}

.code-preview-visual pre {
  font-family: monospace;
  font-size: 0.8rem;
  color: #a9b2c3;
  margin: 0;
  width: 100%;
}

.code-keyword { color: #f25f22; }
.code-title { color: #00f2fe; }

.ui-preview-visual {
  flex-direction: column;
  padding: 0;
  align-items: stretch;
}

.ui-mockup-header {
  background: rgba(255,255,255,0.03);
  padding: 8px 12px;
  display: flex;
  gap: 6px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.ui-mockup-header .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
}

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

.ui-mockup-bar {
  height: 12px;
  background: rgba(255,255,255,0.05);
  border-radius: 6px;
  width: 60%;
}

.ui-mockup-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 60px;
}

.chart-bar {
  flex-grow: 1;
  background: linear-gradient(to top, var(--color-accent), var(--color-gradient-2));
  border-radius: 4px;
  height: var(--height);
  animation: chartGrow 1.5s ease-out forwards;
  transform-origin: bottom;
}

@keyframes chartGrow {
  0% { transform: scaleY(0); }
  100% { transform: scaleY(1); }
}

.iot-telemetry-visual {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.telemetry-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255,255,255,0.03);
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.05);
}

.telemetry-item .label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.telemetry-item .value {
  font-size: 0.85rem;
  font-weight: 700;
}

.telemetry-item .value.success {
  color: var(--color-success);
  display: flex;
  align-items: center;
  gap: 6px;
}

.telemetry-item .value.warning {
  color: var(--color-warning);
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-success);
  box-shadow: 0 0 8px var(--color-success);
  display: inline-block;
  animation: pulseGlow 1.5s infinite;
}

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

.console-container {
  overflow: hidden;
}

.console-header {
  background: rgba(12, 12, 18, 0.9);
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
}

.console-controls {
  display: flex;
  gap: 8px;
}

.ctrl-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.ctrl-dot.close { background: #ff5f56; }
.ctrl-dot.minimize { background: #ffbd2e; }
.ctrl-dot.expand { background: #27c93f; }

.console-tabs {
  display: flex;
  gap: 4px;
}

.console-tab {
  background: none;
  border: none;
  color: var(--text-secondary);
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.console-tab.active, .console-tab:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.console-body {
  background: rgba(6, 6, 8, 0.95);
  padding: 24px;
  min-height: 260px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.9rem;
  color: #a9b2c3;
}

.console-tab-content {
  display: none;
}

.console-tab-content.active {
  display: block;
}

.console-tab-content pre {
  margin: 0;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.terminal-log {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.terminal-log .prompt {
  color: var(--color-success);
  margin-right: 8px;
}

.terminal-log .output {
  color: var(--text-primary);
}

.cursor-input {
  outline: none;
  background: transparent;
  border: none;
  color: var(--text-primary);
  caret-color: transparent;
  display: inline-block;
  min-width: 2px;
}

.cursor-blink {
  animation: cursorBlink 1s infinite step-end;
  color: var(--color-success);
}

@keyframes cursorBlink {
  from, to { opacity: 1; }
  50% { opacity: 0; }
}

.console-footer {
  background: rgba(12, 12, 18, 0.9);
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-top: 1px solid var(--border-color);
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.status-indicator.online {
  background: var(--color-success);
  box-shadow: 0 0 8px var(--color-success);
}

.architecture-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.arch-card {
  padding: 40px;
  border-radius: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
}

.arch-card h3 {
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.arch-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.card-stat {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-accent);
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  overflow: hidden;
}

.contact-info {
  padding: 60px;
  background: rgba(255, 255, 255, 0.01);
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info h2 {
  font-family: var(--font-title);
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 20px;
}

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

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

.detail-item {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--text-primary);
}

.detail-item i {
  color: var(--color-accent);
  font-size: 1.2rem;
  width: 24px;
}

.detail-item a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.detail-item a:hover {
  color: var(--color-accent);
}

.contact-form-container {
  padding: 60px;
  display: flex;
  align-items: center;
  position: relative;
}

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

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

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input, .form-group textarea {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 12px rgba(0, 113, 227, 0.2);
}

.btn-submit {
  border: none;
  cursor: pointer;
  display: flex;
  gap: 10px;
}

.form-success-message {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-secondary);
  border-radius: 0 20px 20px 0;
  padding: 40px;
  z-index: 10;
}

.form-success-message i {
  font-size: 4rem;
  color: var(--color-success);
  margin-bottom: 20px;
}

.form-success-message h3 {
  font-family: var(--font-title);
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.form-success-message p {
  color: var(--text-secondary);
}

.footer-container {
  border-top: 1px solid var(--border-color);
  padding: 60px 24px;
  background: var(--bg-primary);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-slogan {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.footer-bottom {
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 24px;
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

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

.footer-links a {
  text-decoration: none;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
}

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

.device-showcase-container {
  width: 100%;
  max-width: 1100px;
  margin: 60px auto 0 auto;
  position: relative;
  z-index: 3;
}

.device-selectors {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.selector-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  padding: 10px 20px;
  border-radius: 20px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-smooth);
}

.selector-btn.active, .selector-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-accent);
  color: var(--text-primary);
}

.device-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 0;
}

.laptop-mockup {
  width: 80%;
  max-width: 760px;
  position: relative;
  transform-style: preserve-3d;
  transition: var(--transition-smooth);
}

.laptop-screen-wrapper {
  background: #111;
  padding: 10px;
  border-radius: 16px 16px 0 0;
  border: 2px solid #333;
  border-bottom: none;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  position: relative;
  overflow: hidden;
}

.laptop-screen {
  aspect-ratio: 16 / 10;
  background: #000;
  border-radius: 8px 8px 0 0;
  overflow: hidden;
  position: relative;
}

.screen-glare {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0) 50%);
  pointer-events: none;
  z-index: 10;
}

.screen-camera {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #222;
  z-index: 11;
}

.screen-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  opacity: 0;
  flex-direction: column;
  transition: opacity 0.4s ease;
  background: #08080c;
  color: #fff;
  font-family: var(--font-body);
}

.screen-content.active {
  display: flex;
  opacity: 1;
}

.laptop-hinge {
  height: 12px;
  background: #1e1e1e;
  border-bottom: 2px solid #111;
  width: 100%;
}

.laptop-base {
  height: 16px;
  background: linear-gradient(to bottom, #2b2b2b, #151515);
  border-radius: 0 0 16px 16px;
  border: 1px solid #3c3c3c;
  border-top: none;
  position: relative;
  box-shadow: 0 10px 20px rgba(0,0,0,0.6);
}

.laptop-base-top {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 25%;
  height: 4px;
  background: #1a1a1a;
  border-radius: 0 0 4px 4px;
}

.laptop-trackpad {
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 22%;
  height: 8px;
  border: 1px solid #2d2d2d;
  border-radius: 2px 2px 0 0;
  background: rgba(255, 255, 255, 0.02);
}

.phone-mockup {
  position: absolute;
  bottom: -20px;
  right: 5%;
  width: 175px;
  aspect-ratio: 9 / 19.5;
  background: #000;
  border-radius: 32px;
  padding: 8px;
  border: 3.5px solid #2d2d2d;
  box-shadow: -10px 20px 40px rgba(0,0,0,0.6);
  z-index: 15;
  transform-style: preserve-3d;
  transition: var(--transition-smooth);
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: #09090d;
  position: relative;
  display: flex;
  flex-direction: column;
}

.dynamic-island {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 16px;
  background: #000;
  border-radius: 10px;
  z-index: 20;
}

.phone-header {
  height: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 16px;
  font-size: 0.65rem;
  color: #fff;
  z-index: 19;
}

.phone-header .icons {
  display: flex;
  gap: 4px;
}

.phone-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
  text-align: center;
}

.phone-logo {
  font-size: 2.25rem;
  margin-bottom: 8px;
  filter: drop-shadow(0 0 10px rgba(242,95,34,0.4));
}

.phone-app-title {
  font-family: var(--font-title);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.phone-stat-card {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 10px;
  margin-bottom: 16px;
  text-align: left;
}

.phone-stat-card .title {
  font-size: 0.55rem;
  color: var(--text-secondary);
  font-weight: 700;
  display: block;
  margin-bottom: 8px;
}

.telemetry-compact {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 32px;
  margin-bottom: 8px;
}

.telemetry-bar-compact {
  flex-grow: 1;
  background: var(--color-accent);
  height: var(--h);
  border-radius: 2px;
}

.phone-stat-card .status-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.6rem;
  font-weight: 600;
}

.status-online {
  color: var(--color-success);
}

.phone-action-btn {
  width: 100%;
  background: var(--color-accent);
  color: #fff;
  border-radius: 10px;
  padding: 8px;
  font-size: 0.65rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.dashboard-nav {
  height: 32px;
  background: #121218;
  display: flex;
  align-items: center;
  padding: 0 16px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-right: 4px;
  display: inline-block;
}

.nav-dot.red { background: #ff5f56; }
.nav-dot.yellow { background: #ffbd2e; }
.nav-dot.green { background: #27c93f; }

.dashboard-nav-title {
  font-size: 0.65rem;
  color: var(--text-secondary);
  margin-left: 12px;
}

.dashboard-grid {
  flex-grow: 1;
  display: grid;
  grid-template-columns: 1fr 4fr;
  height: calc(100% - 32px);
}

.dashboard-grid .sidebar {
  background: #09090d;
  border-right: 1px solid rgba(255,255,255,0.05);
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-item {
  font-size: 0.6rem;
  color: var(--text-secondary);
  padding: 6px 8px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

.sidebar-item.active, .sidebar-item:hover {
  background: rgba(255,255,255,0.03);
  color: #fff;
}

.main-panel {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.metric-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 8px;
  padding: 8px;
}

.metric-card .m-label {
  font-size: 0.5rem;
  color: var(--text-secondary);
  font-weight: 700;
  display: block;
}

.metric-card .m-val {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-primary);
}

.chart-container-large {
  flex-grow: 1;
  background: rgba(255,255,255,0.01);
  border: 1px solid rgba(255,255,255,0.03);
  border-radius: 8px;
  padding: 10px;
  display: flex;
  flex-direction: column;
}

.chart-legend {
  display: flex;
  justify-content: space-between;
  font-size: 0.55rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.live-indicator {
  color: var(--color-success);
  display: flex;
  align-items: center;
  gap: 4px;
}

.dashboard-svg-chart {
  width: 100%;
  height: 100%;
}

.chart-dot {
  animation: pulseDot 2s infinite alternate;
}

@keyframes pulseDot {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.3); opacity: 1; }
}

.nodes-flow-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  flex-grow: 1;
}

.nodes-flow-container .flow-step {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 8px 12px;
  text-align: center;
  font-size: 0.6rem;
  font-weight: 600;
}

.nodes-flow-container .flow-step.pulse-step {
  border-color: var(--color-fox);
  box-shadow: 0 0 10px rgba(242,95,34,0.15);
}

.nodes-flow-container .flow-arrow {
  color: rgba(255,255,255,0.2);
  font-size: 0.8rem;
}

.mini-console-log {
  background: #040406;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 10px;
  font-family: monospace;
  font-size: 0.55rem;
  color: #888;
}

.mini-console-log .log-line {
  margin-bottom: 4px;
}

.mini-console-log .success-log {
  color: var(--color-success);
}

.security-shield-view {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.shield-icon-container {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(0, 113, 227, 0.05);
  border: 1.5px dashed var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.shield-glow-icon {
  font-size: 1.5rem;
  color: var(--color-accent);
  filter: drop-shadow(0 0 10px var(--color-accent));
}

.security-stats {
  display: flex;
  gap: 20px;
}

.security-stats .stat-box {
  text-align: center;
}

.security-stats .stat-box .num {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  display: block;
}

.security-stats .stat-box .lbl {
  font-size: 0.5rem;
  color: var(--text-secondary);
  font-weight: 700;
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.scroll-reveal-fade {
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal-fade.active {
  opacity: 1;
}

.scroll-reveal-up {
  opacity: 0;
  transform: translateY(50px) rotateX(4deg);
  transition: opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1), transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal-up.active {
  opacity: 1;
  transform: translateY(0) rotateX(0deg);
}

.analytics-section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.analytics-dashboard-container {
  perspective: 1200px;
  position: relative;
  width: 100%;
  margin-top: 40px;
}

.analytics-dashboard {
  background: rgba(10, 10, 15, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  padding: 30px;
  backdrop-filter: blur(20px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  transform: scale(1.15) rotateX(8deg) translateY(40px);
  opacity: 0;
  transition: transform 1.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.6s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: top center;
}

.analytics-section.active .analytics-dashboard {
  transform: scale(1) rotateX(0deg) translateY(0);
  opacity: 1;
}

.dashboard-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 20px;
  margin-bottom: 24px;
}

.dash-title {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.dash-title i {
  color: var(--color-accent);
}

.dash-actions .btn-indicator {
  font-size: 0.8rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.03);
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.kpi-card {
  padding: 24px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 160px;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease, border-color 0.3s ease;
  overflow: hidden;
}

.kpi-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(80px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(0, 113, 227, 0.1), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.kpi-card:hover {
  transform: translateY(-4px) scale(1.02);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(0, 113, 227, 0.3);
}

.kpi-card:hover::before {
  opacity: 1;
}

.kpi-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.kpi-info {
  display: flex;
  flex-direction: column;
}

.kpi-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.kpi-value {
  font-family: var(--font-title);
  font-size: 1.75rem;
  font-weight: 700;
  margin: 4px 0;
  color: var(--text-primary);
}

.kpi-trend {
  font-size: 0.75rem;
  font-weight: 600;
}

.kpi-trend.positive {
  color: var(--color-success);
}

.kpi-chart-mini {
  position: absolute;
  right: 16px;
  top: 24px;
  width: 90px;
  height: 40px;
  opacity: 0.8;
}

.mini-chart-svg {
  width: 100%;
  height: 100%;
}

.dashboard-details-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
}

.details-chart-card {
  padding: 24px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.details-chart-card h4 {
  font-family: var(--font-title);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.dre-table-container {
  width: 100%;
  overflow-x: auto;
  margin-top: 10px;
}

.dre-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.825rem;
  color: var(--text-secondary);
  text-align: left;
}

.dre-table th {
  padding: 10px 12px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.5px;
  color: var(--text-primary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dre-table td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.dre-row-header {
  font-weight: 600;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.01);
}

.dre-row-highlight {
  font-weight: 700;
  color: var(--text-primary);
  background: rgba(0, 113, 227, 0.04);
  border-top: 1px solid rgba(0, 113, 227, 0.15);
  border-bottom: 1px solid rgba(0, 113, 227, 0.15);
}

.dre-row-sub {
  font-size: 0.775rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.005);
}

.text-right {
  text-align: right !important;
}

.text-success {
  color: var(--color-success) !important;
}

.text-danger {
  color: #ff453a !important;
}

.text-neutral {
  color: var(--text-secondary) !important;
}

.n8n-flow-container {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
  padding: 10px 0;
}

.n8n-nodes-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 0;
  position: relative;
}

.n8n-node {
  background: #171821;
  border: 1px solid #2e2f3e;
  border-radius: 10px;
  width: 130px;
  padding: 12px;
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

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

.n8n-node-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.n8n-node .node-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: rgba(242, 95, 34, 0.1);
  color: var(--color-fox);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.n8n-node:nth-child(3) .node-icon {
  background: rgba(0, 113, 227, 0.1);
  color: var(--color-accent);
}

.n8n-node:nth-child(5) .node-icon {
  background: rgba(48, 209, 88, 0.1);
  color: var(--color-success);
}

.n8n-node .node-name {
  font-size: 0.725rem;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.n8n-node-status {
  font-size: 0.625rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 4px;
}

.n8n-node .port {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2e2f3e;
  border: 1px solid #171821;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.n8n-node .input-port {
  left: -5px;
}

.n8n-node .output-port {
  right: -5px;
}

.n8n-connector {
  flex-grow: 1;
  height: 2px;
  background: #2e2f3e;
  position: relative;
  margin: 0 -4px;
}

.n8n-connector .pulse-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 10px;
  height: 2px;
  background: var(--color-accent);
  box-shadow: 0 0 8px var(--color-accent);
  animation: n8nPulse 2s infinite linear;
}

@keyframes n8nPulse {
  0% { left: 0%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

.n8n-flow-footer {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 12px;
  margin-top: 10px;
  font-size: 0.7rem;
  color: var(--text-secondary);
}

.card-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.card-header-flex h4 {
  margin-bottom: 0 !important;
}

.simulate-btn {
  background: rgba(0, 113, 227, 0.12);
  border: 1px solid rgba(0, 113, 227, 0.3);
  color: var(--color-accent);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.725rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
}

.simulate-btn:hover {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 0 12px rgba(0, 113, 227, 0.4);
}

.simulate-btn.active {
  background: var(--color-success);
  border-color: var(--color-success);
  color: #fff;
}

.n8n-node {
  cursor: pointer;
  user-select: none;
}

.n8n-node.node-paused {
  opacity: 0.45;
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.15);
  transform: scale(0.97);
}

.n8n-node.node-paused .node-icon {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
}

.n8n-connector.paused .pulse-line {
  animation-play-state: paused;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: none;
  opacity: 0.2;
}

.dre-val {
  transition: color 0.4s ease, text-shadow 0.4s ease;
}

.dre-val.highlight-change {
  text-shadow: 0 0 10px rgba(48, 209, 88, 0.5);
}

.details-tab-header {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 12px;
}

.details-tab-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-title);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.details-tab-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.03);
}

.details-tab-btn.active {
  color: var(--color-accent);
  background: rgba(0, 113, 227, 0.1);
  box-shadow: inset 0 0 0 1px rgba(0, 113, 227, 0.25);
}

.interactive-bars-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section-subtitle-small {
  font-size: 0.725rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.interactive-bars-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.interactive-bar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.region-name {
  font-size: 0.775rem;
  color: var(--text-secondary);
  width: 130px;
  font-weight: 500;
}

.interactive-bar-slider-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-grow: 1;
}

.bar-adjust-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  transition: all 0.3s ease;
}

.bar-adjust-btn:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  box-shadow: 0 0 8px var(--color-accent);
}

.bar-slider-track {
  flex-grow: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
  position: relative;
  cursor: pointer;
  overflow: hidden;
}

.bar-slider-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-accent), var(--color-fox));
  border-radius: 3px;
  width: 0;
  pointer-events: none;
  transition: width 0.15s ease-out;
}

.region-pct {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-primary);
  width: 38px;
  text-align: right;
}

.bars-simulation-feedback {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 12px;
  margin-top: 4px;
  font-size: 0.725rem;
  color: var(--text-secondary);
}

.bars-simulation-feedback strong {
  transition: color 0.3s ease;
}

.dashboard-overlay-focus {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(6, 6, 8, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 40px;
}

.dashboard-overlay-focus.active {
  opacity: 1;
  pointer-events: all;
}

.overlay-close-btn {
  position: absolute;
  top: 30px;
  right: 30px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-smooth);
}

.overlay-close-btn:hover {
  background: var(--text-primary);
  color: var(--bg-primary);
}

.overlay-content-area {
  max-width: 600px;
  width: 100%;
  text-align: center;
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.dashboard-overlay-focus.active .overlay-content-area {
  transform: scale(1);
}

.overlay-content-area .large-val {
  font-family: var(--font-title);
  font-size: 4rem;
  font-weight: 800;
  color: #fff;
  margin: 20px 0;
  text-shadow: 0 0 30px rgba(0, 113, 227, 0.3);
}

.overlay-content-area h3 {
  font-family: var(--font-title);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
}

.overlay-content-area p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
}

.scroll-reveal-delay-1 { transition-delay: 0.1s; }
.scroll-reveal-delay-2 { transition-delay: 0.2s; }
.scroll-reveal-delay-3 { transition-delay: 0.3s; }

/* About Section */
.about-section {
  padding: 100px 0;
  background: var(--bg-primary);
  position: relative;
}

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

.about-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  text-align: center;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 24px;
}

.about-visual-logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-logo-image {
  height: 120px;
  width: auto;
  max-width: 100%;
  display: inline-block;
  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.25));
  animation: floatLogo 4s ease-in-out infinite;
}

@keyframes floatLogo {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.about-stats {
  display: flex;
  justify-content: space-around;
  width: 100%;
  gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 30px;
}

.about-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-stat-item .num {
  font-family: var(--font-title);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-accent);
  background: linear-gradient(135deg, var(--color-accent), var(--color-fox));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-stat-item .label {
  font-size: 0.65rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 4px;
  letter-spacing: 0.5px;
}

.about-text-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.about-description {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
}

.about-description strong {
  color: var(--text-primary);
}

/* Process Section */
.process-section {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg-primary) 0%, rgba(6, 6, 8, 0.95) 100%);
  position: relative;
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 50px;
}

.process-step {
  padding: 30px 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.04);
  position: relative;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
  overflow: hidden;
}

.process-step:hover {
  transform: translateY(-6px);
  border-color: var(--color-accent);
  box-shadow: 0 10px 30px rgba(0, 113, 227, 0.15);
}

.step-badge {
  font-family: var(--font-title);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text-primary);
  opacity: 0.04;
  position: absolute;
  top: 15px;
  right: 20px;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.process-step:hover .step-badge {
  opacity: 0.09;
}

.process-step h3 {
  font-family: var(--font-title);
  font-size: 0.925rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.35;
}

.process-step p {
  font-size: 0.775rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.process-step p strong {
  color: var(--text-primary);
}

@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-large {
    grid-column: span 2;
  }
  .overview-grid, .architecture-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  .contact-info {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    padding: 40px;
  }
  .contact-form-container {
    padding: 40px;
  }
  .laptop-mockup {
    width: 90%;
  }
  .phone-mockup {
    right: 2%;
    width: 140px;
  }
  .kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .dashboard-details-grid {
    grid-template-columns: 1fr;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .process-timeline {
    grid-template-columns: repeat(2, 1fr);
  }
  .nav-links {
    gap: 12px;
  }
  .nav-links a {
    font-size: 0.775rem;
  }
}

@media (max-width: 768px) {
  .logo-image {
    height: 48px;
  }
  .process-timeline {
    grid-template-columns: 1fr;
  }
  html {
    font-size: 14px;
  }
  
  .hero-section {
    padding: 120px 0 60px 0;
  }
  .ecosystem-section, .console-section, .analytics-section, .about-section, .process-section, .architecture-section, .contact-section {
    padding: 60px 0;
  }
  
  .navbar-content {
    padding: 6px 16px;
  }
  .nav-links {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: calc(100vh - 60px);
    background: rgba(6, 6, 8, 0.95);
    backdrop-filter: blur(24px);
    flex-direction: column;
    justify-content: center;
    gap: 40px;
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    pointer-events: none;
  }
  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .mobile-menu-btn {
    display: block;
  }
  
  .hero-title {
    font-size: 2.75rem;
  }
  
  .device-selectors {
    gap: 6px;
    margin-bottom: 20px;
    padding: 0 12px;
    flex-wrap: wrap;
  }
  .selector-btn {
    padding: 8px 14px;
    font-size: 0.75rem;
  }
  
  .bento-grid, .overview-grid, .architecture-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .bento-large {
    grid-column: span 1;
  }
  .overview-card, .bento-card {
    padding: 24px;
  }
  .bento-card h3 {
    font-size: 1.4rem;
  }
  .flow-visual {
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    align-items: center;
  }
  .flow-visual .node {
    width: 120px;
    text-align: center;
    padding: 8px;
    font-size: 0.75rem;
  }
  .flow-visual .connector-line {
    width: 2px;
    height: 16px;
    margin: 0 auto;
    flex-grow: 0;
  }
  .flow-visual .connector-line .pulse {
    width: 2px;
    height: 6px;
    top: 0;
    left: 0;
    animation: flowPulseVertical 2s infinite linear;
  }
  
  .device-wrapper {
    flex-direction: column;
    gap: 30px;
    align-items: center;
    padding: 20px 0;
  }
  .laptop-mockup {
    width: 100%;
    max-width: 100%;
  }
  .phone-mockup {
    position: relative;
    bottom: auto;
    right: auto;
    width: 120px;
    aspect-ratio: 9/19.5;
    background: linear-gradient(135deg, #111, #000);
    margin: 0 auto;
  }
  .phone-header, .phone-body {
    display: flex !important;
  }
  .phone-header {
    padding: 4px 10px;
    font-size: 0.5rem;
  }
  .phone-body {
    padding: 10px;
  }
  .phone-logo {
    font-size: 1.2rem;
    margin-bottom: 4px;
  }
  .phone-app-title {
    font-size: 0.55rem;
    margin-bottom: 8px;
  }
  .phone-stat-card {
    padding: 6px;
    margin-bottom: 8px;
    border-radius: 6px;
  }
  .phone-stat-card .title {
    font-size: 0.45rem;
    margin-bottom: 2px;
  }
  .phone-stat-card .status-row {
    font-size: 0.5rem;
  }
  .phone-action-btn {
    padding: 5px;
    font-size: 0.48rem;
    border-radius: 5px;
  }
  
  .console-body {
    padding: 16px;
    font-size: 0.8rem;
    min-height: 220px;
  }
  
  .n8n-nodes-wrapper {
    flex-direction: column;
    gap: 0;
    padding: 20px 0;
  }
  .n8n-node {
    width: 140px;
    margin: 0 auto;
  }
  .n8n-node .input-port {
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
  }
  .n8n-node .output-port {
    bottom: -5px;
    top: auto;
    right: auto;
    left: 50%;
    transform: translateX(-50%);
  }
  .n8n-connector {
    width: 2px;
    height: 30px;
    margin: 0 auto;
    flex-grow: 0;
  }
  .n8n-connector .pulse-line {
    width: 2px;
    height: 10px;
    top: 0;
    left: 0;
    animation: n8nPulseVertical 2s infinite linear;
  }
  
  .region-name {
    width: 90px;
    font-size: 0.725rem;
  }
  
  .contact-info, .contact-form-container {
    padding: 24px;
  }
  
  .kpi-grid {
    grid-template-columns: 1fr;
  }
  .analytics-dashboard-container {
    width: 100%;
    overflow: hidden;
  }
  .analytics-dashboard {
    padding: 20px;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  .dashboard-top-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding-bottom: 16px;
    margin-bottom: 16px;
  }
  .dashboard-details-grid {
    grid-template-columns: 1fr;
    width: 100%;
    min-width: 0;
  }
  .details-chart-card {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  .card-header-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .dre-table-container {
    width: 100%;
    overflow-x: auto;
    display: block;
    -webkit-overflow-scrolling: touch;
    margin-top: 10px;
  }
  .dre-table {
    min-width: 520px;
  }
  .dre-table th, .dre-table td {
    padding: 8px 10px;
    font-size: 0.75rem;
  }
  .chart-flex {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
  }
}

@keyframes n8nPulseVertical {
  0% { transform: translateY(0); }
  100% { transform: translateY(30px); }
}

@keyframes flowPulseVertical {
  0% { transform: translateY(0); }
  100% { transform: translateY(16px); }
}
