/* ─── TOKENS & VARIABLES ─── */
:root {
  /* Atmosphere */
  --bg: #050b14;
  --bg-darker: #02040a;
  --bg-gradient: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg) 100%);

  /* Neons */
  --cyan: #00f0ff;
  --cyan-glow: rgba(0, 240, 255, 0.4);
  --cyan-muted: rgba(0, 240, 255, 0.15);
  --blue: #3b82f6;
  --blue-glow: rgba(59, 130, 246, 0.4);
  --blue-muted: rgba(59, 130, 246, 0.15);

  /* Glass Surface */
  --glass-bg: rgba(255, 255, 255, 0.02);
  --glass-bg-hover: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.05);
  --glass-border-hover: rgba(0, 240, 255, 0.2);

  /* Text */
  --text-main: #ecfafa;
  --text-muted: rgba(236, 250, 250, 0.6);
  --text-dark: #050f0f;

  /* Typography */
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* ─── RESET & BASE ─── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background: var(--bg);
  background-image: var(--bg-gradient);
  color: var(--text-main);
  font-family: var(--font-body);
  overflow-x: hidden;
  position: relative;
}

/* Background Noise Texture */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
}

/* Grid Lines */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(0, 240, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  background-position: center;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.8) 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.8) 0%, transparent 70%);
}

* {
  position: relative;
  z-index: 1;
}

.text-cyan {
  color: var(--cyan);
}

.text-blue {
  color: var(--blue);
}

.text-white {
  color: var(--text-main);
}

.text-center {
  text-align: center;
}

.m-auto {
  margin: 0 auto;
}

.mt-2 {
  margin-top: 1.5rem;
}

.mt-4 {
  margin-top: 4rem;
}

.max-w-700 {
  max-width: 700px;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ─── SCROLL LINE ─── */
#sl {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  z-index: 9999;
  width: 0;
  box-shadow: 0 0 10px var(--cyan-glow);
}

/* ─── CANVAS EFFECTS ─── */
#bgCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

#circuitBoard {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ─── NANDA COLOSSAL BACKGROUND ─── */
.nanda-bg-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120vh;
  z-index: -1;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, transparent 0%, black 50%, black 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 50%, black 100%);
}

#nandaColossal {
  width: 100%;
  max-width: 1400px;
  object-fit: cover;
  object-position: top;
  opacity: 0.45;
  filter: contrast(1.3) drop-shadow(0 0 40px var(--cyan-muted));
  animation: breathe 10s ease-in-out infinite alternate;
}

@keyframes breathe {
  0% {
    transform: scale(1) translateY(20px);
  }

  100% {
    transform: scale(1.05) translateY(0);
  }
}

/* ─── TYPOGRAPHY NEON FX ─── */
.glow-text-cyan {
  text-shadow: 0 0 20px var(--cyan-muted), 0 0 40px rgba(0, 240, 255, 0.1);
  color: var(--cyan);
}

.glow-text-blue {
  text-shadow: 0 0 20px var(--blue-muted), 0 0 40px rgba(59, 130, 246, 0.1);
  color: var(--blue);
}

.gradient-text {
  font-style: normal;
  background: linear-gradient(135deg, var(--cyan) 0%, #00ffaa 50%, var(--blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── LIQUID GLASS (GLASSMORPHISM) ─── */
.liquid-glass {
  background: var(--glass-bg);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.01), 0 4px 30px rgba(0, 0, 0, 0.5);
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  overflow: hidden;
}

.liquid-glass-nav {
  background: rgba(3, 7, 7, 0.6);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  border-bottom: 1px solid var(--glass-border);
}

.liquid-glass:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  box-shadow: inset 0 0 20px rgba(0, 240, 255, 0.03), 0 8px 30px rgba(0, 0, 0, 0.6);
  transform: translateY(-4px);
}

.neon-border-cyan {
  border-color: var(--cyan-muted);
}

.neon-border-orange {
  border-color: var(--blue-muted);
}

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 4%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  text-decoration: none;
}

.nav-logo .dot {
  color: var(--cyan);
  text-shadow: 0 0 10px var(--cyan);
}

.nav-logo .sub {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-left: 2px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s;
  letter-spacing: 0.5px;
}

.nav-link:hover {
  color: var(--text-main);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.nav-btn {
  background: var(--cyan);
  color: var(--text-dark);
  padding: 0.65rem 1.6rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.3s;
  letter-spacing: 0.5px;
}

.nav-btn:hover {
  background: var(--text-main);
  transform: translateY(-1px);
}

/* ─── MOBILE NAV TOGGLE ─── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1100;
  position: relative;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-main);
  margin: 0 auto;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(2, 4, 10, 0.97);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.25rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0s linear 0.35s;
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.mm-link {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--text-main);
  text-decoration: none;
  opacity: 0.9;
}

.mm-link:active {
  color: var(--cyan);
}

.mm-cta {
  margin-top: 1rem;
}

body.menu-open {
  overflow: hidden;
}

/* ─── BUTTONS & NEON GLOW ─── */
.neon-glow {
  box-shadow: 0 0 15px var(--cyan-muted);
}

.neon-glow:hover {
  box-shadow: 0 0 25px var(--cyan-glow);
}

.btn-glow {
  background: var(--cyan);
  color: var(--text-dark);
  padding: 1rem 2.5rem;
  border-radius: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  position: relative;
  overflow: hidden;
}

.btn-glow::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-20deg);
  transition: 0.5s;
}

.btn-glow:hover {
  transform: translateY(-2px);
  background: #00ffcc;
}

.btn-glow:hover::before {
  left: 150%;
}

.btn-ghost {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s;
}

.btn-ghost:hover {
  color: var(--text-main);
  gap: 0.75rem;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* ─── HERO SECTION ─── */
.hero {
  min-height: 100vh;
  padding: 12rem 4% 6rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(0, 240, 255, 0.05);
  border: 1px solid rgba(0, 240, 255, 0.2);
  padding: 0.5rem 1.2rem;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--cyan);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
  box-shadow: inset 0 0 20px rgba(0, 240, 255, 0.02);
}

.pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  animation: blink 2s ease infinite;
}

.pulse-fast {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  animation: blink 1s ease infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 10px var(--cyan);
  }

  50% {
    opacity: 0.4;
    transform: scale(0.6);
    box-shadow: 0 0 2px var(--cyan);
  }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.4vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 2.5rem;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 500px;
  margin-bottom: 3rem;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--cyan);
  line-height: 1;
  letter-spacing: -1.5px;
  text-shadow: 0 0 20px var(--cyan-muted);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 0.4rem;
}

/* ─── HERO RIGHT: BENTO INTERACTIVE ─── */
.hero-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto;
  gap: 1rem;
  perspective: 1000px;
}

.card-span2 {
  grid-column: span 2;
}

/* Workflow Node styling - prepared for JS Intersection/Scroll FX */
.workflow-node {
  opacity: 0.3;
  transform: translateY(20px);
  transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.workflow-node.active-node {
  opacity: 1;
  transform: translateY(0);
  border-color: rgba(0, 240, 255, 0.4);
  box-shadow: inset 0 0 30px rgba(0, 240, 255, 0.05), 0 10px 40px rgba(0, 0, 0, 0.8);
}

.interactive-card {
  padding: 1.75rem;
  position: relative;
}

.interactive-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(800px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(255, 255, 255, 0.06), transparent 40%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}

.interactive-card:hover::before {
  opacity: 1;
}

.card-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card-label .lv {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  animation: blink 1.5s infinite;
  box-shadow: 0 0 8px var(--cyan);
}

.convo-bubble {
  border-radius: 12px;
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 0.6rem;
  max-width: 90%;
  backdrop-filter: blur(8px);
}

.bubble-in {
  background: rgba(0, 240, 255, 0.05);
  border: 1px solid rgba(0, 240, 255, 0.1);
  color: var(--cyan);
}

.bubble-out {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  margin-left: auto;
}

/* ─── CHAT DEMO ANIMATION ─── */
#chatDemo.chat-animated .convo-bubble {
  opacity: 0;
  transform: translateY(10px);
  max-height: 0;
  overflow: hidden;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
  transition: opacity 0.4s ease, transform 0.4s ease, max-height 0.5s ease, margin-bottom 0.4s ease, padding 0.4s ease;
}

#chatDemo.chat-animated .convo-bubble.shown {
  opacity: 1;
  transform: translateY(0);
  max-height: 140px;
  margin-bottom: 0.6rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.typing-dots {
  display: none;
  align-items: center;
  gap: 5px;
  width: fit-content;
  padding: 0.7rem 0.9rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 0.6rem;
  margin-left: auto;
}

.typing-dots.show {
  display: flex;
}

.typing-dots span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--text-muted);
  animation: typingBounce 1s infinite ease-in-out;
}

.typing-dots span:nth-child(2) {
  animation-delay: 0.15s;
}

.typing-dots span:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes typingBounce {

  0%,
  60%,
  100% {
    transform: translateY(0);
    opacity: 0.4;
  }

  30% {
    transform: translateY(-3px);
    opacity: 1;
  }
}

.glow-border {
  border-color: rgba(0, 240, 255, 0.2);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.05);
}

.big-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -2px;
}

.metric-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  font-weight: 500;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.tag {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  border: 1px solid transparent;
}

.tag-blue {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.2);
  color: var(--blue);
}

.tag-cyan {
  background: rgba(0, 240, 255, 0.1);
  border-color: rgba(0, 240, 255, 0.2);
  color: var(--cyan);
  box-shadow: inset 0 0 10px rgba(0, 240, 255, 0.1);
}

.tag-default {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
}

.flow {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.flow-step {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  padding: 0.6rem 0.8rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  transition: all 0.3s;
}

.flow-step:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(0, 240, 255, 0.2);
  transform: translateX(5px);
}

.flow-step .n {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--cyan);
  flex-shrink: 0;
}

.glow-step {
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

/* ─── MARQUEE ─── */
.mq-wrap {
  padding: 1.25rem 0;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  overflow: hidden;
  margin: 0;
}

.mq-track {
  display: flex;
  animation: scroll 40s linear infinite;
  gap: 3rem;
  white-space: nowrap;
}

.mq-track:hover {
  animation-play-state: paused;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.mq-item {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.mq-sep {
  color: var(--cyan);
  opacity: 0.6;
  font-size: 0.5rem;
  text-shadow: 0 0 5px var(--cyan);
}

/* ─── MAIN CONTENT FLOW ─── */
.main-content-flow {
  position: relative;
  /* Extra styling to integrate with the SVG line */
}

/* ─── SECTIONS ─── */
.section {
  padding: 8rem 4%;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

.s-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.s-kicker::before {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--blue);
  box-shadow: 0 0 5px var(--blue);
}

.s-h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 2rem;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.s-p {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 650px;
}

/* ─── DOR (PROBLEMA) ─── */
.dor-section {
  padding: 8rem 0;
  position: relative;
}

.dor-inner {
  padding: 0 4%;
  max-width: 1400px;
  margin: 0 auto;
}

.dor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 5rem;
}

.dor-card {
  padding: 3rem;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.dor-card-bg-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 0%, rgba(0, 240, 255, 0.05) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}

.dor-card:hover .dor-card-bg-glow {
  opacity: 1;
}

.dor-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  display: block;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.1));
}

.dor-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.4;
  color: var(--text-main);
}

.dor-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.dor-bottom {
  grid-column: 1/-1;
  padding: 4rem;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.03) 0%, rgba(59, 130, 246, 0.02) 100%);
  text-align: center;
}

.dor-bottom p {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 800;
  line-height: 1.4;
}

/* ─── BENTO GRID ─── */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
  margin-top: 5rem;
}

.b {
  padding: 2.5rem;
}

.b1 {
  grid-column: span 4;
}

.b2 {
  grid-column: span 8;
}

.b3 {
  grid-column: span 6;
}

.b4 {
  grid-column: span 4;
}

.b5 {
  grid-column: span 7;
}

.b7 {
  grid-column: span 5;
}

.b-gradient {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.05), rgba(59, 130, 246, 0.02));
}

.b-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--cyan);
  filter: drop-shadow(0 0 10px var(--cyan-muted));
}

.b-icon svg {
  display: block;
}

.b-kicker {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.b-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
}

.b-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.b-shot {
  width: 100%;
  display: block;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.6);
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), filter 0.5s ease, box-shadow 0.5s ease;
}

.interactive-card:hover .b-shot {
  transform: scale(1.055);
  filter: brightness(1.08) saturate(1.1);
  box-shadow: 0 26px 50px -18px rgba(0, 240, 255, 0.25);
}

/* ─── GPTs TREINADOS ─── */
.gpt-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 2.5rem;
}

.gpt-filter {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.gpt-filter:hover {
  color: var(--text-main);
  border-color: var(--glass-border-hover);
}

.gpt-filter.active {
  color: var(--bg-darker);
  background: var(--cyan);
  border-color: var(--cyan);
}

.gpt-filter-count {
  font-size: 0.7rem;
  opacity: 0.75;
}

.gpt-card {
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease, transform 0.3s ease;
}

.gpt-card.gpt-hidden {
  display: none;
}

/* category accent colors */
.gpt-card[data-cat="marca"] .gpt-kicker {
  color: var(--cyan);
}

.gpt-card[data-cat="copy"] .gpt-kicker {
  color: var(--blue);
}

.gpt-card[data-cat="social"] .gpt-kicker {
  color: #a78bfa;
}

.gpt-card[data-cat="imagem"] .gpt-kicker {
  color: #fbbf24;
}

.gpt-card[data-cat="instagram"] .gpt-kicker {
  color: #f472b6;
}

.gpt-card[data-cat="web"] .gpt-kicker {
  color: #34d399;
}

.gpt-card[data-cat="automacao"] .gpt-kicker {
  color: #fb923c;
}

.gpt-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
  margin-top: 3.5rem;
}

.gpt-card {
  padding: 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-height: 148px;
}

.gpt-kicker {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--blue);
}

.gpt-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

.gpt-desc {
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.55;
  flex: 1;
}

.gpt-link {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--cyan);
  text-decoration: none;
  width: fit-content;
}

.gpt-link:hover {
  text-decoration: underline;
}

@media(max-width: 1280px) {
  .gpt-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media(max-width: 860px) {
  .gpt-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ─── CASES ─── */
.cases-wrap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 5rem;
}

.case {
  padding: 3rem;
}

.case-glow-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 0 15px var(--cyan);
}

.case:hover {
  background: rgba(255, 255, 255, 0.04);
}

.case:hover .case-glow-line {
  transform: scaleX(1);
}

.case-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: block;
  color: var(--cyan);
  filter: drop-shadow(0 0 10px var(--cyan-muted));
}

.case-co {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.case-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
}

.case-desc {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.case-chips {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.chip {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  background: rgba(0, 240, 255, 0.05);
  border: 1px solid rgba(0, 240, 255, 0.15);
  color: var(--cyan);
}

.case-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: gap 0.3s;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.case-link:hover {
  gap: 0.8rem;
  text-shadow: 0 0 10px var(--cyan-muted);
}

/* ─── STEPS ─── */
.steps-section {
  padding: 8rem 0;
  position: relative;
}

.steps-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 4%;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 6rem;
  position: relative;
}

/* Horizontal dashed line for desktop */
.liquid-steps::before {
  content: '';
  position: absolute;
  top: 60px;
  left: 16%;
  right: 16%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan-glow), var(--blue-glow), var(--cyan-glow), transparent);
  z-index: 0;
}

.step {
  text-align: center;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

.step-n {
  width: 120px;
  height: 120px;
  margin: 0 auto 2.5rem;
  border-radius: 50%;
  background: var(--bg-darker);
  border: 1px solid rgba(0, 240, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--cyan);
  text-shadow: 0 0 20px var(--cyan-muted);
}

.neon-glow-inset {
  box-shadow: 0 0 40px rgba(0, 240, 255, 0.05), inset 0 0 20px rgba(0, 240, 255, 0.1);
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.step p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
}

/* ─── NANDA CHIP (CÉREBRO) ─── */
.chip-section {
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}

.chip-container {
  position: relative;
  width: 100%;
  max-width: 1000px;
  height: 600px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chip-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.data-stream {
  stroke-dasharray: 10;
  animation: dash 30s linear infinite;
}

@keyframes dash {
  to {
    stroke-dashoffset: -1000;
  }
}

.chip-core {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-darker);
  border: 2px solid rgba(0, 240, 255, 0.4);
  box-shadow: 0 0 50px rgba(0, 240, 255, 0.2), inset 0 0 30px rgba(0, 240, 255, 0.1);
}

.chip-avatar {
  width: 90%;
  height: 90%;
  border-radius: 50%;
  object-fit: cover;
  filter: contrast(1.2) drop-shadow(0 0 10px var(--cyan-glow));
}

.chip-ring {
  position: absolute;
  inset: -15px;
  border-radius: 50%;
  border: 1px dashed var(--cyan);
  animation: spin 20s linear infinite;
  opacity: 0.3;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

.chip-label-core {
  position: absolute;
  bottom: -35px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--cyan);
  text-shadow: 0 0 10px var(--cyan);
  white-space: nowrap;
}

.chip-node {
  position: absolute;
  padding: 1.25rem;
  width: 220px;
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 2;
}

.chip-node .node-icon {
  font-size: 1.8rem;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
}

.chip-node strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.2rem;
}

.chip-node span {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.node-tl {
  top: 120px;
  left: 5%;
}

.node-tr {
  top: 120px;
  right: 5%;
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: inset 0 0 15px rgba(59, 130, 246, 0.05);
}

.node-bl {
  bottom: 120px;
  left: 5%;
}

.node-br {
  bottom: 120px;
  right: 5%;
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: inset 0 0 15px rgba(59, 130, 246, 0.05);
}

@media(max-width: 1024px) {
  .chip-container {
    height: auto;
    flex-direction: column;
    gap: 3rem;
    padding: 2rem 0;
  }

  .chip-svg {
    display: none;
  }

  .chip-node {
    position: relative;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 100%;
  }
}

/* ─── POR QUE NÓS ─── */
.porque {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  margin-top: 5rem;
}

.pq-quote {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.3;
  color: var(--text-main);
}

.neon-sep {
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  margin: 2.5rem 0;
  box-shadow: 0 0 10px var(--cyan-muted);
}

.pq-body {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.pq-em {
  font-weight: 700;
  letter-spacing: 0.5px;
}

.creds {
  list-style: none;
}

.cred {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--glass-border);
}

.cred:last-child {
  border-bottom: none;
}

.cred-ic {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: rgba(59, 130, 246, 0.05);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.neon-icon-blue {
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.1);
}

.cred strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.cred span {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* ─── GARANTIA ─── */
.gar {
  max-width: 1000px;
  margin: 6rem auto 0;
  padding: 4rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3.5rem;
  align-items: center;
}

.gar-ic {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 2px solid var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  flex-shrink: 0;
  background: var(--bg-darker);
}

.ring-neon-blue {
  box-shadow: 0 0 40px rgba(59, 130, 246, 0.15), inset 0 0 20px rgba(59, 130, 246, 0.1);
}

.gar h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.gar p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

/* ─── CTA FINAL ─── */
.cta-section {
  padding: 12rem 4%;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.glow-blob-cyan {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.05) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.glow-blob-blue {
  position: absolute;
  bottom: -20%;
  right: 10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.03) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 900;
  letter-spacing: -3px;
  line-height: 1.05;
  max-width: 1000px;
  margin: 0 auto 2rem;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 1;
}

.cta-sub {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 550px;
  margin: 0 auto 4rem;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

.cta-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  gap: 0.6rem;
  position: relative;
  z-index: 1;
}

/* ─── FOOTER ─── */
footer {
  border-top: 1px solid var(--glass-border);
  padding: 3rem 4%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.f-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
}

.f-txt {
  color: #666;
  font-size: 0.85rem;
}

footer a {
  color: var(--text-muted);
  font-size: 0.85rem;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

footer a:hover {
  color: var(--cyan);
  text-shadow: 0 0 10px var(--cyan-muted);
}

/* ─── ANIMATION CLASSES JS REVEAL ─── */
.reveal-on-load {
  opacity: 0;
  animation: fadeUpLoad 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes fadeUpLoad {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal-scroll {
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── CURSOR CUSTOMIZADO (desktop) ─── */
body.custom-cursor,
body.custom-cursor a,
body.custom-cursor button {
  cursor: none;
}

.cursor-dot,
.cursor-halo {
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}

.cursor-halo {
  width: 30px;
  height: 30px;
  border: 1px solid var(--cyan-muted);
  background: radial-gradient(circle, var(--cyan-muted) 0%, transparent 70%);
  transition: left 0.12s ease-out, top 0.12s ease-out, opacity 0.3s ease, width 0.25s ease, height 0.25s ease, background 0.25s ease;
}

body.custom-cursor .cursor-dot,
body.custom-cursor .cursor-halo {
  opacity: 1;
}

.cursor-halo.hover {
  width: 46px;
  height: 46px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.18) 0%, transparent 70%);
}

/* ─── TOUR AO VIVO (crossfade de telas) ─── */
.tour-frame {
  margin-top: 3.5rem;
  overflow: hidden;
  max-width: 900px;
}

.tour-titlebar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid var(--glass-border);
}

.tour-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.td1 {
  background: #ff5f57;
}

.td2 {
  background: #febc2e;
}

.td3 {
  background: #28c840;
}

.tour-caption {
  margin-left: 12px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.3px;
  transition: opacity 0.3s ease;
}

.tour-imgwrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 8.4;
  overflow: hidden;
  background: var(--bg-darker);
}

.tour-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.1s ease, transform 4.5s ease;
}

.tour-img.active {
  opacity: 1;
  transform: scale(1);
}

.tour-progress {
  height: 2px;
  background: rgba(255, 255, 255, 0.06);
}

.tour-progress i {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
}

.tour-progress i.run {
  animation: tourFill 3.6s linear;
}

@keyframes tourFill {
  from {
    width: 0%;
  }

  to {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tour-img {
    transition: opacity 0.6s ease;
  }

  .tour-progress i.run {
    animation: none;
  }
}

/* ─── RESPONSIVE ─── */
@media(max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 4rem;
    padding-top: 10rem;
  }

  .hero-right {
    display: none;
  }

  /* Hide complex bento on mobile hero */
  .dor-grid,
  .cases-wrap,
  .porque,
  .steps,
  .bento,
  .gar,
  .gpt-grid {
    grid-template-columns: 1fr;
  }

  .b1,
  .b2,
  .b3,
  .b4,
  .b5,
  .b7 {
    grid-column: span 12;
  }

  .bento {
    display: flex;
    flex-direction: column;
  }

  .liquid-steps::before {
    display: none;
  }

  .gar {
    text-align: center;
    justify-items: center;
  }

  .gar-ic {
    margin: 0 auto;
  }

  .nav-right {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  /* Simplified nav for mobile */
  .section {
    padding: 5rem 4%;
  }

  .dor-section,
  .steps-section,
  .cta-section {
    padding: 5rem 4%;
  }

  .energy-line-bg {
    display: none;
  }

  /* Hide line on mobile to simplify */
}