:root {
  --bg-deep: #05060f;
  --bg-surface: rgba(13, 17, 38, 0.65);
  --bg-card: rgba(18, 24, 52, 0.55);
  --border-glow: rgba(0, 240, 255, 0.22);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --cyan: #00f0ff;
  --violet: #7c3aed;
  --magenta: #ec4899;
  --emerald: #10b981;
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --font-display: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-deep);
  color: var(--text-main);
  font-family: var(--font-sans);
  overflow-x: hidden;
}

body {
  background-color: var(--bg-deep);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Custom Cursor Aura */
#cursor-glow {
  position: fixed;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(0, 240, 255, 0.11) 0%,
    rgba(124, 58, 237, 0.08) 38%,
    transparent 70%
  );
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 1;
  transition: width 0.3s ease, height 0.3s ease;
}

/* Interactive Neural Background Canvas */
#neural-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

/* Grid Overlay */
.cyber-grid {
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 35%, transparent 85%);
  pointer-events: none;
  z-index: 0;
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 1200px;
  z-index: 100;
  background: rgba(8, 11, 26, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.35s ease;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.navbar.scrolled {
  border-color: var(--border-glow);
  box-shadow: 0 12px 40px rgba(0, 240, 255, 0.1);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.06em;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  display: grid;
  place-items: center;
  position: relative;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.45);
}

.brand-mark::after {
  content: '';
  position: absolute;
  inset: 2px;
  background: var(--bg-deep);
  border-radius: 8px;
}

.brand-mark span {
  position: relative;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--cyan), #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-accent {
  color: var(--cyan);
  text-shadow: 0 0 14px rgba(0, 240, 255, 0.5);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.25s ease;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-main);
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  transition: width 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  color: #040711;
  background: linear-gradient(135deg, var(--cyan), #60a5fa);
  box-shadow: 0 0 24px rgba(0, 240, 255, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 32px rgba(0, 240, 255, 0.65);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  padding: 150px 0 90px;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.28);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--cyan);
  margin-bottom: 24px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 12px var(--emerald);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.55; }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, var(--cyan) 50%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.12rem;
  color: var(--text-muted);
  max-width: 580px;
  margin-bottom: 36px;
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  color: #fff;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 240, 255, 0.28);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 14px 38px rgba(0, 240, 255, 0.48);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  border-color: var(--cyan);
  background: rgba(0, 240, 255, 0.08);
  transform: translateY(-2px);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
}

.metric-item h3 {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  color: #fff;
}

.metric-item h3 span {
  color: var(--cyan);
}

.metric-item p {
  font-size: 0.84rem;
  color: var(--text-muted);
}

/* Interactive AI Core Console in Hero */
.ai-console {
  background: var(--bg-surface);
  border: 1px solid var(--border-glow);
  border-radius: 24px;
  padding: 24px;
  backdrop-filter: blur(24px);
  box-shadow: 
    0 24px 60px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  position: relative;
  overflow: hidden;
}

.console-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border-subtle);
}

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

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

.window-dots span:nth-child(1) { background: #ef4444; }
.window-dots span:nth-child(2) { background: #f59e0b; }
.window-dots span:nth-child(3) { background: #10b981; }

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

.console-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 99px;
  background: rgba(16, 185, 129, 0.14);
  color: var(--emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.console-feed {
  font-family: var(--font-mono);
  font-size: 0.83rem;
  min-height: 210px;
  max-height: 240px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-right: 6px;
  margin-bottom: 18px;
}

.log-entry {
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(5, 8, 22, 0.65);
  border-left: 3px solid var(--cyan);
  line-height: 1.5;
  animation: fadeIn 0.35s ease;
}

.log-entry.ai-reply {
  border-left-color: var(--violet);
  background: rgba(124, 58, 237, 0.11);
}

.log-meta {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-bottom: 4px;
  display: flex;
  justify-content: space-between;
}

.console-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.prompt-chip {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.2s ease;
}

.prompt-chip:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(0, 240, 255, 0.1);
}

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

.console-input-row input {
  flex: 1;
  background: rgba(3, 5, 14, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 10px 14px;
  color: var(--text-main);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.console-input-row input:focus {
  border-color: var(--cyan);
}

.console-input-row button {
  padding: 10px 16px;
  border-radius: 10px;
  border: none;
  background: var(--cyan);
  color: #030712;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.console-input-row button:hover {
  opacity: 0.9;
}

/* Section Headers */
section {
  padding: 100px 0;
  position: relative;
}

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

.section-tag {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--cyan);
  display: inline-block;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.15;
}

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

/* Interactive Services Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 22px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(18px);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.bento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    420px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(0, 240, 255, 0.13),
    transparent 45%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

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

.bento-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 240, 255, 0.38);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.25);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  margin-bottom: 22px;
  color: var(--cyan);
}

.bento-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.bento-card p {
  color: var(--text-muted);
  font-size: 0.94rem;
  margin-bottom: 20px;
}

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

.card-tags span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  color: #cbd5e1;
}

/* Interactive ROI & AI Impact Simulator */
.simulator-box {
  background: linear-gradient(145deg, rgba(16, 22, 50, 0.8), rgba(8, 11, 28, 0.9));
  border: 1px solid var(--border-glow);
  border-radius: 28px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
}

.control-group {
  margin-bottom: 28px;
}

.control-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-weight: 600;
  font-size: 0.95rem;
}

.control-value {
  font-family: var(--font-mono);
  color: var(--cyan);
  font-weight: 700;
  font-size: 1.05rem;
}

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

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

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.18);
}

.area-selector {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.area-btn {
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}

.area-btn.active {
  border-color: var(--cyan);
  background: rgba(0, 240, 255, 0.12);
  color: #fff;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.18);
}

.simulator-results {
  background: rgba(4, 7, 18, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.result-kpi {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-subtle);
}

.result-kpi:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.kpi-label {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.kpi-number {
  font-family: var(--font-display);
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--cyan);
  line-height: 1.1;
}

.kpi-number.violet {
  color: #c084fc;
}

/* Interactive Methodology Stepper */
.roadmap-wrapper {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: stretch;
}

.step-tabs {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.step-tab {
  padding: 20px 24px;
  border-radius: 18px;
  background: rgba(15, 20, 44, 0.5);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 18px;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: left;
  color: var(--text-main);
}

.step-tab:hover {
  border-color: rgba(0, 240, 255, 0.3);
}

.step-tab.active {
  background: linear-gradient(90deg, rgba(0, 240, 255, 0.14), rgba(124, 58, 237, 0.12));
  border-color: var(--cyan);
  box-shadow: 0 10px 30px rgba(0, 240, 255, 0.12);
}

.step-num {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  display: grid;
  place-items: center;
  color: var(--cyan);
  flex-shrink: 0;
}

.step-tab.active .step-num {
  background: var(--cyan);
  color: #030712;
}

.step-tab h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.step-tab p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.step-detail-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: 24px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(18px);
}

.step-badge {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--cyan);
  margin-bottom: 12px;
  display: inline-block;
}

.step-detail-panel h3 {
  font-family: var(--font-display);
  font-size: 1.9rem;
  margin-bottom: 16px;
}

.step-detail-panel p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 28px;
}

.deliverables-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}

.deliverables-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
}

.deliverables-list li::before {
  content: '✦';
  color: var(--cyan);
}

/* Contact Section */
.contact-card {
  background: linear-gradient(135deg, rgba(14, 21, 52, 0.88), rgba(9, 12, 28, 0.94));
  border: 1px solid var(--border-glow);
  border-radius: 30px;
  padding: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.65);
}

.email-highlight-box {
  margin-top: 28px;
  padding: 20px 24px;
  border-radius: 18px;
  background: rgba(0, 240, 255, 0.07);
  border: 1px solid rgba(0, 240, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.email-address {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--cyan);
  text-decoration: none;
}

.copy-btn {
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid rgba(0, 240, 255, 0.35);
  background: rgba(0, 240, 255, 0.12);
  color: var(--text-main);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.copy-btn:hover {
  background: var(--cyan);
  color: #030712;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

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

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

.form-group label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(4, 7, 18, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 13px 16px;
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 0.94rem;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.14);
}

.form-status {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--emerald);
  min-height: 20px;
}

/* Footer */
footer {
  padding: 42px 0;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.88rem;
  position: relative;
  z-index: 2;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

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

/* Responsive */
@media (max-width: 980px) {
  .hero-grid,
  .simulator-box,
  .roadmap-wrapper,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-links {
    display: none;
  }
}

@media (max-width: 640px) {
  .bento-grid,
  .form-row,
  .deliverables-list,
  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .simulator-box,
  .contact-card {
    padding: 28px 22px;
  }
}

