@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* --- DESIGN SYSTEM & VARIABLES --- */
:root {
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  --bg-obsidian: #090A0F;
  --bg-card: rgba(13, 15, 23, 0.55);
  --bg-card-hover: rgba(18, 21, 32, 0.75);
  --bg-pill: rgba(255, 255, 255, 0.03);
  
  --border-color: rgba(255, 255, 255, 0.05);
  --border-color-hover: rgba(0, 242, 254, 0.25);
  --border-light: rgba(255, 255, 255, 0.1);
  
  --accent-cyan: #00F2FE;
  --accent-blue: #4FACFE;
  --gradient-primary: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-blue) 100%);
  --gradient-text: linear-gradient(135deg, #FFF 30%, #C0C0C8 100%);
  --gradient-glow: radial-gradient(circle, rgba(0, 242, 254, 0.15) 0%, rgba(79, 172, 254, 0.05) 50%, transparent 100%);

  --text-primary: #FFFFFF;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  
  --transition-smooth: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --antigravity-lift: translateY(-6px);
  --glow-shadow: 0 16px 40px -10px rgba(0, 242, 254, 0.15);
}

/* --- BASE & UTILITIES --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-obsidian);
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background-color: var(--bg-obsidian);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}

/* Engineering Dot Grid Overlay */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 30px 30px;
  z-index: -1;
  pointer-events: none;
}

/* Ambient Glowing Background Grid & Lights */
.ambient-glow-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
}

.ambient-glow-1 {
  position: absolute;
  top: -20%;
  left: 10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.06) 0%, transparent 70%);
  filter: blur(80px);
  animation: drift-glow-1 25s infinite alternate ease-in-out;
}

.ambient-glow-2 {
  position: absolute;
  bottom: -10%;
  right: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(79, 172, 254, 0.05) 0%, transparent 70%);
  filter: blur(80px);
  animation: drift-glow-2 30s infinite alternate ease-in-out;
}

.ambient-glow-3 {
  position: absolute;
  top: 40%;
  right: 15%;
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.04) 0%, transparent 70%);
  filter: blur(60px);
}

@keyframes drift-glow-1 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(4vw, 6vh) scale(1.15); }
  100% { transform: translate(0, 0) scale(1); }
}

@keyframes drift-glow-2 {
  0% { transform: translate(0, 0) scale(1.1); }
  50% { transform: translate(-6vw, -5vh) scale(0.9); }
  100% { transform: translate(0, 0) scale(1.1); }
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

/* Typography Classes */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

p {
  color: var(--text-secondary);
}

/* Button & Link styles */
a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #050508;
  border: none;
  box-shadow: 0 4px 20px -5px rgba(0, 242, 254, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px -3px rgba(0, 242, 254, 0.6);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(8px);
}

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

/* Glassmorphism base layout */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  transition: var(--transition-smooth);
}

.glass-panel-hover:hover {
  transform: var(--antigravity-lift);
  border-color: var(--border-color-hover);
  box-shadow: var(--glow-shadow);
  background: var(--bg-card-hover);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background: var(--bg-pill);
  border: 1px solid var(--border-color);
  border-radius: 100px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-cyan);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(4px);
  width: fit-content;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background-color: var(--accent-cyan);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px var(--accent-cyan);
}

/* --- NAVIGATION --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: var(--transition-smooth);
  border-bottom: 1px solid transparent;
}

header.scrolled {
  background: rgba(9, 10, 15, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  padding: 0.5rem 0;
}

header .nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
  transition: var(--transition-smooth);
}

header.scrolled .nav-container {
  height: 80px;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Logo Styles */
.brand-logo-svg,
.brand-logo-img {
  height: 52px;
  width: auto;
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.brand-text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.brand-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-cyan);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 10px var(--accent-cyan);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gradient-primary);
  transition: var(--transition-smooth);
}

.nav-link:hover::after {
  width: 100%;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 110;
}

.mobile-nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-primary);
  margin: 5px 0;
  transition: var(--transition-smooth);
}

.mobile-nav-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.mobile-nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- HERO SECTION --- */
.hero-section {
  position: relative;
  padding-top: 180px;
  padding-bottom: 100px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  max-width: 620px;
}

.hero-title {
  font-size: 3.75rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1.25rem;
}

/* Interactive Agent Simulator Card */
.simulator-card {
  width: 100%;
  height: 480px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.simulator-header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-color);
  background: rgba(9, 10, 15, 0.4);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.simulator-controls {
  display: flex;
  gap: 6px;
}

.simulator-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

.simulator-dot.red { background: #FF5F56; }
.simulator-dot.yellow { background: #FFBD2E; }
.simulator-dot.green { background: #27C93F; }

.simulator-title-bar {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.simulator-status-indicator {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--accent-cyan);
}

.simulator-tabs {
  display: flex;
  background: rgba(9, 10, 15, 0.6);
  border-bottom: 1px solid var(--border-color);
  padding: 0 1rem;
}

.simulator-tab {
  padding: 0.85rem 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: var(--transition-smooth);
  font-family: var(--font-heading);
  font-weight: 500;
}

.simulator-tab:hover {
  color: var(--text-primary);
}

.simulator-tab.active {
  color: var(--accent-cyan);
  border-bottom-color: var(--accent-cyan);
}

.simulator-body {
  flex: 1;
  padding: 1.5rem;
  overflow-y: auto;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: rgba(5, 6, 10, 0.6);
}

.simulator-flow {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.flow-step {
  display: flex;
  gap: 1rem;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.flow-step.visible {
  opacity: 1;
  transform: translateY(0);
}

.flow-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  font-size: 0.75rem;
  flex-shrink: 0;
}

.flow-step.success .flow-icon {
  background: rgba(39, 201, 63, 0.08);
  border-color: rgba(39, 201, 63, 0.2);
  color: #27C93F;
}

.flow-details {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.flow-time {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.flow-msg {
  color: var(--text-primary);
  font-weight: 500;
  font-family: var(--font-body);
}

.flow-meta {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.simulator-terminal-loading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-cyan);
  font-family: var(--font-body);
  font-size: 0.8rem;
  margin-top: auto;
}

.terminal-cursor {
  width: 8px;
  height: 15px;
  background-color: var(--accent-cyan);
  animation: blink 1s infinite;
}

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

/* --- SECTION 2: EXECUTIVE IDENTITY & DNA --- */
.identity-section {
  padding: 100px 0;
  border-top: 1px solid var(--border-color);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.about-content {
  display: flex;
  flex-direction: column;
}

.dna-card {
  padding: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.dna-title {
  font-size: 1.35rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dna-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.dna-list li {
  display: flex;
  gap: 1.25rem;
}

.dna-list-num {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent-cyan);
  margin-top: 2px;
}

.dna-list-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dna-list-content strong {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

.dna-list-content span {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* --- SECTION 3: VISION, MISSION, VALUES --- */
.values-section {
  padding: 100px 0;
  background: rgba(9, 10, 15, 0.2);
  border-top: 1px solid var(--border-color);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.value-card {
  padding: 3rem 2.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  height: 100%;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  transition: var(--transition-smooth);
}

.value-card:hover {
  transform: var(--antigravity-lift);
  border-color: var(--border-color-hover);
  box-shadow: var(--glow-shadow);
  background: var(--bg-card-hover);
}

.value-svg-wrapper {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.identity-svg {
  width: 100%;
  height: 100%;
}

/* Radar Sweep Animation (Vision) */
@keyframes rotate-radar {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.radar-sweep {
  transform-origin: 50px 50px;
  animation: rotate-radar 6s linear infinite;
}

/* Trend Path Draw Animation (Mission) */
@keyframes draw-trend {
  0% { stroke-dashoffset: 200; }
  100% { stroke-dashoffset: 0; }
}

.trend-path {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: draw-trend 4s infinite linear;
}

/* Floating Particles (Mission) */
@keyframes float-particle {
  0% { transform: translateY(0); opacity: 0.3; }
  50% { transform: translateY(-6px); opacity: 1; }
  100% { transform: translateY(0); opacity: 0.3; }
}

.particle-1 { animation: float-particle 2s infinite ease-in-out; }
.particle-2 { animation: float-particle 2.5s infinite ease-in-out 0.5s; }
.particle-3 { animation: float-particle 1.8s infinite ease-in-out 0.2s; }

/* Shield Pulse (Core Values) */
@keyframes pulse-shield {
  0% { filter: drop-shadow(0 0 2px rgba(0, 242, 254, 0.2)); opacity: 0.8; }
  100% { filter: drop-shadow(0 0 8px rgba(0, 242, 254, 0.6)); opacity: 1; }
}

.shield-polygon {
  animation: pulse-shield 1.5s infinite alternate ease-in-out;
}

.value-card:hover .shield-polygon {
  stroke: var(--accent-cyan);
}

.value-card-title {
  font-size: 1.35rem;
  color: #FFFFFF;
}

.value-card-text {
  font-size: 0.925rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --- SECTION 4: PRODUCT SUITE --- */
.products-section {
  padding: 100px 0;
  border-top: 1px solid var(--border-color);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.bento-card {
  min-height: 240px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
  position: relative;
}

.bento-card-bg-glow {
  position: absolute;
  top: -20%;
  right: -20%;
  width: 200px;
  height: 200px;
  background: var(--gradient-glow);
  pointer-events: none;
  transition: var(--transition-smooth);
  z-index: 0;
}

.bento-card:hover .bento-card-bg-glow {
  transform: scale(1.4);
}

.bento-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.bento-card:hover .bento-icon-wrapper {
  border-color: rgba(0, 242, 254, 0.3);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.15);
}

.bento-content {
  position: relative;
  z-index: 1;
}

.bento-card-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.bento-card-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Deep Dive Panels */
.deepdive-card {
  padding: 3.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.deepdive-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.deepdive-title {
  font-size: 1.85rem;
  margin-bottom: 1.25rem;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.deepdive-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.deepdive-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.deepdive-bullets li {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
}

.bullet-arrow {
  color: var(--accent-cyan);
  font-weight: 700;
}

.deepdive-visual-panel {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2.5rem;
  height: 100%;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
}

/* Interactive Voice Demo Player Widget */
.voice-player-widget {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  padding: 1rem 1.25rem;
  border-radius: 12px;
}

.player-play-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--gradient-primary);
  color: #050508;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.3);
  transition: var(--transition-smooth);
}

.player-play-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.5);
}

.player-info {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.player-title {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

.player-desc {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* Simulated Voice Waveform */
.voice-wave-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  height: 60px;
  overflow: hidden;
}

.wave-line {
  width: 5px;
  height: 10px;
  background: var(--gradient-primary);
  border-radius: 3px;
  opacity: 0.3;
}

.voice-wave-container.playing .wave-line {
  animation: wave-pulse 1.2s ease-in-out infinite alternate;
}

.voice-wave-container.playing .wave-line:nth-child(1) { animation-delay: 0.1s; height: 15px; }
.voice-wave-container.playing .wave-line:nth-child(2) { animation-delay: 0.3s; height: 45px; }
.voice-wave-container.playing .wave-line:nth-child(3) { animation-delay: 0.5s; height: 55px; }
.voice-wave-container.playing .wave-line:nth-child(4) { animation-delay: 0.7s; height: 60px; }
.voice-wave-container.playing .wave-line:nth-child(5) { animation-delay: 0.6s; height: 50px; }
.voice-wave-container.playing .wave-line:nth-child(6) { animation-delay: 0.4s; height: 35px; }
.voice-wave-container.playing .wave-line:nth-child(7) { animation-delay: 0.2s; height: 20px; }
.voice-wave-container.playing .wave-line:nth-child(8) { animation-delay: 0.0s; height: 10px; }

@keyframes wave-pulse {
  0% { transform: scaleY(0.2); opacity: 0.4; }
  100% { transform: scaleY(1); opacity: 1; }
}

.audio-subtitles-panel {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-secondary);
  background: rgba(0, 0, 0, 0.3);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: var(--transition-smooth);
}

/* Agentic AI Interactive Loop Visuals */
.deepdive-interactive-diagram {
  position: relative;
  padding: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.loop-path-svg-wrapper {
  position: absolute;
  top: 10px;
  left: 0;
  width: 100%;
  height: 80px;
  pointer-events: none;
  z-index: 1;
}

.loop-path-svg {
  width: 100%;
  height: 100%;
}

#active-path-stroke {
  stroke-dasharray: 400;
  stroke-dashoffset: 260; /* active initial */
  transition: stroke-dashoffset 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.nodes-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  position: relative;
  z-index: 2;
}

.workflow-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.node-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(9, 10, 15, 0.95);
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
}

.node-label {
  margin-top: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
}

.workflow-node:hover .node-circle,
.workflow-node.active .node-circle {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.4);
  color: var(--accent-cyan);
  background: rgba(0, 242, 254, 0.05);
}

.workflow-node.active .node-label {
  color: #FFFFFF;
}

.node-details-panel {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem;
  transition: var(--transition-smooth);
  text-align: left;
}

.node-details-title {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--accent-cyan);
}

.node-details-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.node-details-logs {
  font-family: monospace;
  font-size: 0.75rem;
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.4);
  padding: 0.75rem;
  border-radius: 6px;
  white-space: pre-wrap;
  word-break: break-all;
  height: 60px;
  overflow-y: auto;
}

/* --- DEEP DIVE 3: KNOWLEDGE GRAPH VISUALIZER --- */
.graph-visualizer-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
  min-height: 260px;
  position: relative;
  overflow: hidden;
}

.silos-column, .kg-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  z-index: 2;
}

.silo-node, .kg-node {
  background: rgba(13, 15, 23, 0.8);
  border: 1px solid var(--border-color);
  padding: 0.85rem 1.25rem;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.silo-node:hover {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.15);
  transform: translateX(4px);
}

.kg-node {
  cursor: default;
}

.kg-node.highlighted {
  border-color: var(--accent-cyan);
  color: #FFFFFF;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
  background: rgba(0, 242, 254, 0.03);
}

.graph-beams-area {
  flex: 1;
  height: 180px;
  position: relative;
  z-index: 1;
}

.beams-svg {
  width: 100%;
  height: 100%;
}

/* Path sweep animation styling */
.beams-svg path {
  transition: opacity 0.3s ease;
}

/* Keyframe for data packet sweeps */
@keyframes sweep {
  from { stroke-dashoffset: 120; }
  to { stroke-dashoffset: -120; }
}

.beams-svg path {
  animation: sweep 2.5s linear infinite;
}

/* --- SECTION 5: STRATEGIC SECTORS --- */
.sectors-section {
  padding: 100px 0;
  border-top: 1px solid var(--border-color);
  background: rgba(9, 10, 15, 0.2);
}

.sectors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.sector-card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
}

.sector-icon {
  font-size: 2rem;
}

.sector-title {
  font-size: 1.15rem;
}

.sector-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.sectors-summary-box {
  text-align: center;
  padding: 2rem;
  background: var(--bg-pill);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--accent-cyan);
  max-width: 800px;
  margin: 0 auto;
  font-size: 0.95rem;
}

/* --- SECTION 6: WHAT SETS US APART --- */
.advantages-section {
  padding: 100px 0;
  border-top: 1px solid var(--border-color);
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
}

.advantage-pillar-card {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  height: 100%;
}

.advantages-grid .advantage-pillar-card:nth-child(1),
.advantages-grid .advantage-pillar-card:nth-child(2),
.advantages-grid .advantage-pillar-card:nth-child(3) {
  grid-column: span 2;
}

.advantages-grid .advantage-pillar-card:nth-child(4),
.advantages-grid .advantage-pillar-card:nth-child(5) {
  grid-column: span 3;
}

.pillar-icon-badge {
  font-size: 1.85rem;
}

.pillar-title {
  font-size: 1.25rem;
}

.pillar-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Omnichannel Integration Hub card */
.integration-hub-card {
  grid-column: span 6;
  margin-top: 2rem;
  padding: 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.integration-logos-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.integration-badge {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  padding: 0.65rem 1.25rem;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
}

.integration-badge:hover {
  border-color: var(--accent-cyan);
  color: #FFFFFF;
  background: rgba(0, 242, 254, 0.03);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.1);
}

/* gentle bobbing floating keyframes */
@keyframes bob-odd {
  0% { transform: translateY(0); }
  100% { transform: translateY(-5px); }
}

@keyframes bob-even {
  0% { transform: translateY(0); }
  100% { transform: translateY(5px); }
}

.integration-badge:nth-child(odd) {
  animation: bob-odd 3s ease-in-out infinite alternate;
}

.integration-badge:nth-child(even) {
  animation: bob-even 2.8s ease-in-out infinite alternate;
}

/* --- SECTION 7: FUTURE VISION --- */
.future-section {
  padding: 100px 0;
  border-top: 1px solid var(--border-color);
  background: rgba(9, 10, 15, 0.3);
}

.future-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.future-card {
  padding: 2.5rem;
  height: 100%;
}

.future-card-title {
  font-size: 1.35rem;
  margin-bottom: 1rem;
  color: #FFFFFF;
}

.future-card-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.future-callout-banner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 2.5rem 3rem;
  border: 1px solid rgba(0, 242, 254, 0.2);
  background: rgba(0, 242, 254, 0.02);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}

.callout-logo-accent {
  font-size: 2.25rem;
  color: var(--accent-cyan);
  z-index: 1;
}

.callout-content {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.5;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  z-index: 1;
}

/* --- CONVERSION FOOTHOLD (CONFIGURATOR) --- */
.conversion-section {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.configurator-wrapper {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.configurator-card {
  padding: 3.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.configurator-header {
  text-align: center;
  margin-bottom: 3rem;
}

.configurator-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

/* Form Steps */
.configurator-step {
  display: none;
}

.configurator-step.active {
  display: block;
  animation: fadeIn 0.4s ease-in-out forwards;
}

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

.form-group {
  margin-bottom: 2rem;
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.form-input-wrapper {
  position: relative;
}

.form-input {
  width: 100%;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-color);
  padding: 1.1rem 1.5rem;
  border-radius: 8px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition-smooth);
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.15);
  background: rgba(0, 0, 0, 0.4);
}

.configurator-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.select-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.25rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.select-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.15);
}

.select-card.selected {
  border-color: var(--accent-cyan);
  background: rgba(0, 242, 254, 0.04);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.05);
}

.select-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.select-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.configurator-actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 2rem;
}

/* Loading/Calculating State */
.configurator-calculating {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 0;
  text-align: center;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(0, 242, 254, 0.1);
  border-radius: 50%;
  border-top-color: var(--accent-cyan);
  animation: spin 1s ease-in-out infinite;
  margin-bottom: 1.5rem;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.calculating-log {
  font-family: monospace;
  font-size: 0.8rem;
  color: var(--accent-cyan);
  margin-top: 1rem;
  height: 20px;
}

/* Feasibility Score Results Screen */
.configurator-results {
  text-align: center;
  animation: fadeIn 0.5s ease-in-out forwards;
}

.score-radial-wrapper {
  position: relative;
  width: 180px;
  height: 180px;
  margin: 0 auto 2rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.score-svg {
  transform: rotate(-90deg);
  width: 100%;
  height: 100%;
}

.score-circle-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.03);
  stroke-width: 8;
}

.score-circle-val {
  fill: none;
  stroke: url(#cyan-blue-grad);
  stroke-width: 8;
  stroke-dasharray: 502;
  stroke-dashoffset: 502;
  stroke-linecap: round;
  transition: stroke-dashoffset 2s cubic-bezier(0.1, 1, 0.2, 1);
}

.score-text-wrapper {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.score-number {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1;
}

.score-lbl {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}

.results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 2.5rem 0;
  text-align: left;
}

.result-metric {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  padding: 1.25rem;
  border-radius: 8px;
}

.metric-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.metric-value {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.configurator-success-message {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

/* --- FOOTER --- */
footer {
  border-top: 1px solid var(--border-color);
  padding: 3rem 0;
  background: rgba(5, 6, 10, 0.6);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
}

.footer-logo-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-cyan);
  border-radius: 50%;
}

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

.footer-contact-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-align: right;
  font-size: 0.9rem;
}

.footer-contact-group a:hover {
  color: var(--accent-cyan);
}

/* --- RESPONSIVE STYLING --- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-content {
    max-width: 100%;
    text-align: center;
  }
  
  .hero-actions {
    justify-content: center;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .deepdive-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .graph-visualizer-container {
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem;
  }

  .silos-column, .kg-column {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .graph-beams-area {
    display: none; /* Hide svg lines on small screens */
  }

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

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

  .advantages-grid .advantage-pillar-card:nth-child(1),
  .advantages-grid .advantage-pillar-card:nth-child(2),
  .advantages-grid .advantage-pillar-card:nth-child(3),
  .advantages-grid .advantage-pillar-card:nth-child(4),
  .advantages-grid .advantage-pillar-card:nth-child(5) {
    grid-column: span 2;
  }

  .integration-hub-card {
    grid-column: span 2;
  }

  .future-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  header .nav-container {
    height: 80px;
  }
  
  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--bg-obsidian);
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    transform: translateY(-150%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  }
  
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  
  .mobile-nav-toggle {
    display: block;
  }
  
  .header-cta {
    display: none;
  }
  
  .hero-title {
    font-size: 2.75rem;
  }
  
  .section-title {
    font-size: 2.25rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .deepdive-card {
    padding: 2rem;
  }

  .sectors-grid {
    grid-template-columns: 1fr;
  }

  .advantages-grid {
    grid-template-columns: 1fr;
  }

  .advantages-grid .advantage-pillar-card:nth-child(1),
  .advantages-grid .advantage-pillar-card:nth-child(2),
  .advantages-grid .advantage-pillar-card:nth-child(3),
  .advantages-grid .advantage-pillar-card:nth-child(4),
  .advantages-grid .advantage-pillar-card:nth-child(5) {
    grid-column: span 1;
  }

  .integration-hub-card {
    grid-column: span 1;
    padding: 1.5rem;
  }
  
  .configurator-card {
    padding: 2rem;
  }
  
  .configurator-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .results-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
  
  .footer-contact-group {
    text-align: center;
    align-items: center;
    margin-top: 0.5rem;
  }
}

/* --- CUSTOM CURSOR --- */
/* Only apply custom cursor and hide default cursor on pointing devices that support hover */
@media (hover: hover) and (pointer: fine) {
  html, body, a, button, input, select, textarea, [role="button"], .btn, .select-card, .simulator-tab, .workflow-node {
    cursor: none !important;
  }
  
  .custom-cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-cyan);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    opacity: 0; /* Hidden initially, shown on first mousemove */
    transition: width 0.2s cubic-bezier(0.16, 1, 0.3, 1), 
                height 0.2s cubic-bezier(0.16, 1, 0.3, 1), 
                background-color 0.2s;
  }
  
  .custom-cursor-ring {
    width: 36px;
    height: 36px;
    border: 1.5px solid rgba(0, 242, 254, 0.4);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9998;
    opacity: 0; /* Hidden initially, shown on first mousemove */
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
                height 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.3s, 
                background-color 0.3s, 
                box-shadow 0.3s;
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.1);
  }
  
  /* Hover state */
  .custom-cursor-hover .custom-cursor-dot {
    width: 6px;
    height: 6px;
    background-color: #ffffff;
  }
  
  .custom-cursor-hover .custom-cursor-ring {
    width: 48px;
    height: 48px;
    border-color: rgba(79, 172, 254, 0.8);
    background-color: rgba(0, 242, 254, 0.08);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.3);
  }
  
  /* Click state */
  .custom-cursor-active .custom-cursor-dot {
    transform: translate(-50%, -50%) scale(0.5);
  }
  
  .custom-cursor-active .custom-cursor-ring {
    transform: translate(-50%, -50%) scale(0.85);
    border-color: var(--accent-cyan);
    background-color: rgba(0, 242, 254, 0.25);
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.4);
  }
}

/* Hide custom cursor elements on mobile/touch screens */
@media (hover: none), (pointer: coarse) {
  .custom-cursor-dot,
  .custom-cursor-ring {
    display: none !important;
  }
}
