/* ============================================================
   SANESTIX — Main Stylesheet
   AI-Powered Web Development & Automation Agency
   ============================================================ */

/* ── VARIABLES ── */
:root {
  --transition-theme: background 0.4s ease, color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

[data-theme="dark"] {
  --cyan: #00e5d0;
  --cyan2: #00b8e6;
  --bg: #060b14;
  --bg2: #0a1120;
  --card: rgba(10, 20, 40, 0.85);
  --card-solid: #0a1120;
  --border: rgba(0, 229, 208, 0.12);
  --border2: rgba(0, 229, 208, 0.25);
  --text: #e8f4f8;
  --text-secondary: #c8dde8;
  --muted: #5e7d90;
  --glow: 0 0 40px rgba(0, 229, 208, 0.25);
  --glow2: 0 0 80px rgba(0, 229, 208, 0.12);
  --input-bg: rgba(255, 255, 255, 0.04);
  --particle-opacity: 1;
  --nav-bg: rgba(6, 11, 20, 0.95);
  --nav-bg-scrolled: rgba(6, 11, 20, 0.98);
}

[data-theme="light"] {
  --cyan: #00a89a;
  --cyan2: #0090b8;
  --bg: #f0f6fa;
  --bg2: #e4eef5;
  --card: rgba(255, 255, 255, 0.92);
  --card-solid: #ffffff;
  --border: rgba(0, 168, 154, 0.15);
  --border2: rgba(0, 168, 154, 0.35);
  --text: #0d1f2d;
  --text-secondary: #1e3a4f;
  --muted: #4a7080;
  --glow: 0 0 30px rgba(0, 168, 154, 0.2);
  --glow2: 0 0 60px rgba(0, 168, 154, 0.1);
  --input-bg: rgba(0, 0, 0, 0.04);
  --particle-opacity: 0.4;
  --nav-bg: rgba(240, 246, 250, 0.95);
  --nav-bg-scrolled: rgba(240, 246, 250, 0.98);
}

/* ── GLOBAL ANIMATION KEYFRAMES ── */
@keyframes fadeInUp    { from { opacity:0; transform:translateY(40px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeInLeft  { from { opacity:0; transform:translateX(-30px); } to { opacity:1; transform:translateX(0); } }
@keyframes fadeInRight { from { opacity:0; transform:translateX(30px); } to { opacity:1; transform:translateX(0); } }
@keyframes fadeInScale { from { opacity:0; transform:scale(0.88); } to { opacity:1; transform:scale(1); } }
@keyframes slideDown   { from { opacity:0; transform:translateY(-20px); } to { opacity:1; transform:translateY(0); } }
@keyframes shimmer     { 0%,100% { background-position:0% 50%; } 50% { background-position:100% 50%; } }
@keyframes borderGlow  { 0%,100% { box-shadow: 0 0 20px rgba(0,229,208,0.15); } 50% { box-shadow: 0 0 40px rgba(0,229,208,0.35), 0 0 80px rgba(0,184,230,0.1); } }
@keyframes scanLine    { 0% { top:-100%; } 100% { top:200%; } }
@keyframes countUp     { from { opacity:0; transform:translateY(10px) scale(0.9); } to { opacity:1; transform:translateY(0) scale(1); } }
@keyframes gradFlow    { 0% { background-position:0% 50%; } 50% { background-position:100% 50%; } 100% { background-position:0% 50%; } }
@keyframes tagPulse    { 0%,100% { box-shadow:0 0 0 0 rgba(0,229,208,0.2); } 50% { box-shadow:0 0 0 6px rgba(0,229,208,0); } }
@keyframes ripple      { 0% { transform:scale(0); opacity:0.5; } 100% { transform:scale(4); opacity:0; } }
@keyframes typing      { from { width:0; } to { width:100%; } }
@keyframes blink       { 0%,100% { border-color:var(--cyan); } 50% { border-color:transparent; } }
@keyframes marquee     { from { transform:translateX(0); } to { transform:translateX(-50%); } }
@keyframes tiltIn      { from { opacity:0; transform:perspective(600px) rotateX(20deg) translateY(30px); } to { opacity:1; transform:perspective(600px) rotateX(0) translateY(0); } }
@keyframes softBounce  { 0%,100% { transform:translateY(0); } 40% { transform:translateY(-10px); } 60% { transform:translateY(-5px); } }

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', 'Sora', sans-serif;
  overflow-x: hidden;
  min-height: 100vh;
  transition: var(--transition-theme);
}
svg { display: inline-block; vertical-align: middle; }
a { transition: color 0.2s; }

/* ── LAYOUT ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
section { position: relative; z-index: 1; }

/* ── PARTICLE CANVAS ── */
#gravCanvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: var(--particle-opacity);
  transition: opacity 0.4s;
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.75s cubic-bezier(0.22,1,0.36,1), transform 0.75s cubic-bezier(0.22,1,0.36,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left  { opacity:0; transform:translateX(-36px); transition: opacity 0.75s cubic-bezier(0.22,1,0.36,1), transform 0.75s cubic-bezier(0.22,1,0.36,1); }
.reveal-right { opacity:0; transform:translateX(36px);  transition: opacity 0.75s cubic-bezier(0.22,1,0.36,1), transform 0.75s cubic-bezier(0.22,1,0.36,1); }
.reveal-scale { opacity:0; transform:scale(0.9);         transition: opacity 0.75s cubic-bezier(0.22,1,0.36,1), transform 0.75s cubic-bezier(0.22,1,0.36,1); }
.reveal-left.visible, .reveal-right.visible, .reveal-scale.visible { opacity:1; transform:none; }

/* ============================================================
   THEME TOGGLE
   ============================================================ */
.theme-toggle-nav {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(0, 229, 208, 0.2);
  border-radius: 100px;
  padding: 3px;
  flex-shrink: 0;
}
.theme-btn {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; border: none; background: none;
  color: rgba(255, 255, 255, 0.4);
  border-radius: 100px;
  transition: all 0.25s;
  font-family: inherit;
}
.theme-btn svg { width: 15px; height: 15px; display: block; flex-shrink: 0; }
.theme-btn.active {
  background: linear-gradient(135deg, #00e5d0, #00b8e6);
  color: #060b14;
  box-shadow: 0 0 12px rgba(0, 229, 208, 0.4);
}
.theme-btn:hover:not(.active) { color: rgba(255, 255, 255, 0.8); background: rgba(255, 255, 255, 0.06); }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav-logo-img {
  height: 44px; width: auto;
  object-fit: contain;
  object-position: left center;
  display: block;
  min-width: 40px;
}
/* Navbar — ALWAYS dark, ignores light/dark theme toggle */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 2rem;
  height: 72px;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: rgba(6, 11, 20, 0.97) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 229, 208, 0.1) !important;
  transition: box-shadow 0.4s;
}
/* Reset nav inside footer to normal flow */
footer nav {
  position: static !important;
  height: auto !important;
  background: none !important;
  border: none !important;
  backdrop-filter: none !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.7rem !important;
  z-index: auto !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  box-shadow: none !important;
}
/* Nav always stays dark regardless of theme */
nav.scrolled {
  background: rgba(6, 11, 20, 0.98);
  border-bottom-color: rgba(0, 229, 208, 0.14);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}
.logo {
  display: flex; align-items: center; gap: 0.6rem;
  flex-shrink: 0; min-width: 120px;
  font-weight: 800; font-size: 1.3rem; letter-spacing: -0.03em;
  color: #e8f4f8; text-decoration: none;
}
.logo-text { color: #e8f4f8; font-weight: 800; font-size: 1.3rem; letter-spacing: -0.03em; }
.logo-dot { color: #00e5d0; }
.nav-links {
  display: flex; align-items: center; gap: 1.5rem;
  list-style: none; flex: 1; justify-content: center;
  position: static; margin: 0; padding: 0;
}
.nav-links li { display: inline-flex; }
.nav-links a {
  color: #5e7d90; text-decoration: none;
  font-size: 0.875rem; font-weight: 500;
  transition: color 0.2s; white-space: nowrap;
  position: static; display: inline-block;
}
.nav-links a:hover { color: #00e5d0; }
.nav-right {
  display: flex; align-items: center; gap: 0.75rem;
  flex-shrink: 0;
}
.nav-cta {
  padding: 0.6rem 1.3rem;
  border-radius: 100px;
  background: linear-gradient(135deg, #00e5d0, #00b8e6);
  color: #060b14; font-weight: 700; font-size: 0.85rem;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 24px rgba(0, 229, 208, 0.3);
  white-space: nowrap;
}
.nav-cta:hover { transform: scale(1.05); box-shadow: 0 0 48px rgba(0, 229, 208, 0.5); }
.hamburger { display: none; background: none; border: none; cursor: pointer; color: var(--text); padding: 4px; }
.mobile-menu {
  display: none;
  position: fixed; top: 72px; left: 0; right: 0;
  background: rgba(6, 11, 20, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 229, 208, 0.12);
  padding: 1.5rem 2rem;
  flex-direction: column; gap: 1.2rem;
  z-index: 99;
}
.mobile-menu a { color: #5e7d90; text-decoration: none; font-size: 1rem; font-weight: 500; }
.mobile-menu a:hover { color: #00e5d0; }

/* ============================================================
   HERO
   ============================================================ */
.hero { min-height: 100vh; display: flex; align-items: center; padding: 8rem 0 4rem; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }

/* Hero entrance animations */
.hero-text .hero-badge  { animation: fadeInUp 0.7s cubic-bezier(0.22,1,0.36,1) 0.1s both; }
.hero-text h1           { animation: fadeInUp 0.8s cubic-bezier(0.22,1,0.36,1) 0.25s both; }
.hero-text .hero-sub    { animation: fadeInUp 0.8s cubic-bezier(0.22,1,0.36,1) 0.4s both; }
.hero-text .hero-btns   { animation: fadeInUp 0.8s cubic-bezier(0.22,1,0.36,1) 0.55s both; }
.hero-text .platform-pills { animation: fadeInUp 0.8s cubic-bezier(0.22,1,0.36,1) 0.7s both; }
.hero-visual            { animation: fadeInRight 0.9s cubic-bezier(0.22,1,0.36,1) 0.3s both; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 1rem; border-radius: 100px;
  border: 1px solid var(--border2);
  background: rgba(0, 229, 208, 0.06);
  color: var(--cyan); font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 1.5rem;
  animation: tagPulse 3s ease-in-out infinite, fadeInUp 0.7s cubic-bezier(0.22,1,0.36,1) 0.1s both;
}
.pulse {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan);
  animation: pulseAnim 2s ease-in-out infinite;
}
@keyframes pulseAnim {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(0,229,208,0.6); }
  50% { opacity: 0.8; transform: scale(1.4); box-shadow: 0 0 0 6px rgba(0,229,208,0); }
}
h1 {
  font-weight: 800;
  font-size: clamp(2.8rem, 5vw, 4.6rem);
  line-height: 1.0;
  letter-spacing: -0.04em;
  margin-bottom: 1.25rem;
}
.grad {
  background: linear-gradient(90deg, var(--cyan) 0%, var(--cyan2) 40%, #00b0d4 70%, var(--cyan) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradFlow 4s linear infinite;
}
.hero-sub { color: var(--muted); font-size: 1.05rem; line-height: 1.7; max-width: 480px; margin-bottom: 2.5rem; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.75rem; border-radius: 100px;
  background: linear-gradient(135deg, var(--cyan), var(--cyan2));
  color: #060b14; font-weight: 700; font-size: 0.9rem;
  text-decoration: none; box-shadow: var(--glow);
  transition: transform 0.25s cubic-bezier(0.22,1,0.36,1), box-shadow 0.25s;
  position: relative; overflow: hidden;
}
.btn-primary::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,0.18), transparent);
  opacity: 0; transition: opacity 0.25s;
}
.btn-primary:hover { transform: scale(1.06) translateY(-2px); box-shadow: 0 0 60px rgba(0,229,208,0.45), 0 8px 24px rgba(0,229,208,0.2); }
.btn-primary:hover::after { opacity: 1; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.75rem; border-radius: 100px;
  border: 1px solid var(--border2); color: var(--muted);
  font-size: 0.9rem; text-decoration: none;
  transition: border-color 0.25s, color 0.25s, background 0.25s, transform 0.25s;
}
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); background: rgba(0,229,208,0.05); transform: translateY(-2px); }
.btn-whatsapp {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.85rem 1.75rem; border-radius: 100px;
  background: transparent; border: 1.5px solid var(--border2);
  color: var(--text); font-weight: 700; font-size: 0.9rem;
  text-decoration: none;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s, color 0.25s, transform 0.25s;
}
.btn-whatsapp:hover { border-color: var(--cyan); background: rgba(0,229,208,0.08); color: var(--cyan); box-shadow: 0 0 30px rgba(0,229,208,0.15); transform: translateY(-2px); }
.btn-whatsapp svg { color: var(--cyan); flex-shrink: 0; }
.platform-pills { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.platform-pill {
  display: flex; align-items: center; gap: 0.4rem;
  color: var(--muted); font-size: 0.8rem; font-weight: 500;
  opacity: 0.7; transition: opacity 0.25s, color 0.25s;
}
.platform-pill:hover { opacity: 1; color: var(--cyan); }
.platform-pill svg { color: var(--cyan); opacity: 0.8; }

/* ── ROBOT / HERO VISUAL ── */
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; }
.robot-scene { position: relative; width: 460px; height: 460px; display: flex; align-items: center; justify-content: center; perspective: 900px; }
.robot-3d-wrapper { position: relative; z-index: 2; transform-style: preserve-3d; transition: transform 0.08s linear; will-change: transform; }
.robot-svg-container {
  width: 340px; height: 400px; position: relative;
  filter: drop-shadow(0 20px 60px rgba(0, 229, 208, 0.35));
  animation: robotFloat 6s ease-in-out infinite;
}
@keyframes robotFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }
.robot-ground-glow {
  position: absolute; bottom: -20px; left: 50%; transform: translateX(-50%);
  width: 200px; height: 30px;
  background: radial-gradient(ellipse, rgba(0, 229, 208, 0.4) 0%, transparent 70%);
  border-radius: 50%; animation: glowPulse 3s ease-in-out infinite; pointer-events: none;
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.6; transform: translateX(-50%) scaleX(1); }
  50% { opacity: 1; transform: translateX(-50%) scaleX(1.15); }
}
.orbit-ring {
  position: absolute; border-radius: 50%;
  border: 1px dashed rgba(0, 229, 208, 0.15);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  pointer-events: none;
}
.orbit-ring:nth-child(1) { width: 320px; height: 320px; animation: spin 18s linear infinite; }
.orbit-ring:nth-child(2) { width: 460px; height: 460px; animation: spin 28s linear infinite reverse; }
.orbit-ring:nth-child(3) { width: 580px; height: 580px; animation: spin 40s linear infinite; }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.orbit-dot { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); top: -4px; left: 50%; margin-left: -4px; }
.orbit-dot2 { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan2); box-shadow: 0 0 10px var(--cyan2); bottom: -3px; right: 20%; }
.orbit-dot3 { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: rgba(0, 229, 208, 0.8); box-shadow: 0 0 8px rgba(0, 229, 208, 0.5); top: 20%; right: -3px; }
.robot-data-card {
  position: absolute;
  background: var(--card); border: 1px solid var(--border2);
  border-radius: 14px; padding: 0.6rem 1rem;
  backdrop-filter: blur(12px);
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.75rem; font-weight: 600; color: var(--text);
  white-space: nowrap; z-index: 5; pointer-events: none;
}
.robot-data-card .card-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 8px var(--cyan);
  animation: pulseAnim 2s ease-in-out infinite;
}
.robot-data-card.top-left { top: 10%; left: -10%; animation: floatCard1 4s ease-in-out infinite; }
.robot-data-card.bottom-right { bottom: 18%; right: -12%; animation: floatCard2 5s ease-in-out infinite; }
.robot-data-card.top-right { top: 30%; right: -14%; animation: floatCard3 6s ease-in-out infinite; }
@keyframes floatCard1 { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-8px) rotate(1deg); } }
@keyframes floatCard2 { 0%, 100% { transform: translateY(0) rotate(1deg); } 50% { transform: translateY(-10px) rotate(-1deg); } }
@keyframes floatCard3 { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-6px) rotate(2deg); } }

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header { text-align: center; margin-bottom: 4rem; }
.section-tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 1rem; border-radius: 100px;
  border: 1px solid var(--border2);
  background: rgba(0, 229, 208, 0.05);
  color: var(--cyan); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 1.2rem;
  animation: tagPulse 4s ease-in-out infinite;
}
h2 {
  font-weight: 800;
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 1rem;
}
.section-desc { color: var(--muted); max-width: 520px; margin: 0 auto; line-height: 1.7; font-size: 0.95rem; }

/* ============================================================
   STATS BAR
   ============================================================ */
.stats { padding: 5rem 0; border-bottom: 1px solid var(--border); position: relative; overflow: hidden; }
.stats::before {
  content: ''; position: absolute; left: -100%; top: 0; bottom: 0; width: 60%;
  background: linear-gradient(90deg, transparent, rgba(0,229,208,0.04), transparent);
  animation: scanLine 5s linear infinite;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.stats-grid > div {
  padding: 1.5rem 1rem; border-radius: 16px;
  border: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
  cursor: default;
}
.stats-grid > div:hover {
  border-color: var(--border);
  background: var(--card);
  transform: translateY(-4px);
}
.stat-val {
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  background: linear-gradient(135deg, var(--cyan), var(--cyan2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 0.3rem;
  display: block;
  transition: transform 0.3s;
}
.stats-grid > div:hover .stat-val { transform: scale(1.1); }
.stat-label { color: var(--muted); font-size: 0.875rem; font-weight: 500; }
.stat-note { color: var(--muted); font-size: 0.72rem; margin-top: 0.2rem; opacity: 0.6; }

/* ============================================================
   USE CASES
   ============================================================ */

/* ============================================================
   PROCESS FLOW SECTION
   ============================================================ */
.process-flow {
  padding: 7rem 0 8rem;
  background: var(--bg);
  overflow: hidden;
}

/* Tabs */
.pf-tabs {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}
.pf-tab {
  padding: 0.55rem 1.5rem;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.22,1,0.36,1);
  letter-spacing: 0.02em;
}
.pf-tab:hover {
  color: var(--cyan);
  border-color: var(--border2);
  background: rgba(0,229,208,0.04);
}
.pf-tab.active {
  background: linear-gradient(135deg, rgba(0,229,208,0.15), rgba(0,184,230,0.1));
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: 0 0 20px rgba(0,229,208,0.15);
}

/* Stage wrapper */
.pf-stage {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

/* Flow nodes row */
.pf-flow-wrap {
  position: relative;
  height: 160px;
  display: flex;
  align-items: center;
}
.pf-connector-svg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}
.pf-nodes {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0 2%;
}

/* Individual node */
.pf-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1);
}
.pf-node:hover { transform: translateY(-4px); }
.pf-node-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--card);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.35s cubic-bezier(0.22,1,0.36,1);
  position: relative;
  overflow: hidden;
}
.pf-node-circle::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,229,208,0.12), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s;
}
.pf-node.active .pf-node-circle,
.pf-node:hover .pf-node-circle {
  border-color: var(--cyan);
  box-shadow: 0 0 0 6px rgba(0,229,208,0.08), 0 0 30px rgba(0,229,208,0.2);
  background: rgba(0,229,208,0.07);
}
.pf-node.active .pf-node-circle::before,
.pf-node:hover .pf-node-circle::before { opacity: 1; }
.pf-node.active .pf-node-circle svg { color: var(--cyan); }
.pf-node-circle svg { color: var(--muted); transition: color 0.3s; }
.pf-node-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
  max-width: 80px;
  line-height: 1.3;
  letter-spacing: 0.02em;
  transition: color 0.3s;
}
.pf-node.active .pf-node-label { color: var(--cyan); }

/* Node step number */
.pf-node-num {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bg);
  border: 1.5px solid var(--border);
  font-size: 0.6rem;
  font-weight: 800;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}
.pf-node.active .pf-node-num {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #060b14;
}

/* Animated data packet dot */
.pf-packet {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(-50%, -50%);
  z-index: 10;
  pointer-events: none;
  transition: left 0.6s cubic-bezier(0.4,0,0.2,1);
}
.pf-packet-inner {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(0,229,208,0.2), 0 0 16px rgba(0,229,208,0.6);
  animation: packetPulse 1s ease-in-out infinite;
}
@keyframes packetPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 4px rgba(0,229,208,0.2), 0 0 16px rgba(0,229,208,0.6); }
  50%       { transform: scale(1.3); box-shadow: 0 0 0 8px rgba(0,229,208,0.08), 0 0 30px rgba(0,229,208,0.8); }
}

/* Connector lines drawn via JS */
.pf-connector-line {
  stroke: url(#lineGrad);
  stroke-width: 1.5;
  fill: none;
  filter: url(#glowLine);
  stroke-dasharray: 8 6;
  animation: dashFlow 1.5s linear infinite;
}
.pf-connector-line.lit {
  stroke-width: 2;
  stroke-opacity: 1;
}
@keyframes dashFlow {
  to { stroke-dashoffset: -28; }
}

/* Detail card below */
.pf-detail-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.pf-detail-card {
  width: 100%;
  max-width: 680px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem 2.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  transition: border-color 0.4s, box-shadow 0.4s;
  box-shadow: 0 8px 40px rgba(0,0,0,0.15);
  position: relative;
  overflow: hidden;
}
.pf-detail-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0.6;
}
.pf-detail-card:hover {
  border-color: var(--border2);
  box-shadow: 0 12px 60px rgba(0,229,208,0.1);
}

.pf-detail-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(0,229,208,0.08);
  border: 1px solid rgba(0,229,208,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--cyan);
}

.pf-detail-body { flex: 1; }
.pf-detail-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.35rem;
}
.pf-detail-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.25;
}
.pf-detail-desc {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.7;
}

.pf-detail-stat {
  flex-shrink: 0;
  padding: 0.5rem 1rem;
  border-radius: 100px;
  background: rgba(0,229,208,0.08);
  border: 1px solid rgba(0,229,208,0.2);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--cyan);
  white-space: nowrap;
  align-self: center;
}

/* Progress dots */
.pf-progress-dots {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.pf-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border2);
  transition: all 0.3s cubic-bezier(0.22,1,0.36,1);
  cursor: pointer;
}
.pf-dot.active {
  width: 20px;
  border-radius: 3px;
  background: var(--cyan);
  box-shadow: 0 0 8px rgba(0,229,208,0.5);
}

/* Transition animation for card swap */
.pf-detail-card.pf-exit {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.pf-detail-card.pf-enter {
  opacity: 0;
  transform: translateY(-10px);
}
.pf-detail-card.pf-enter-active {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.3s cubic-bezier(0.22,1,0.36,1) 0.05s, transform 0.3s cubic-bezier(0.22,1,0.36,1) 0.05s;
}

@media (max-width: 768px) {
  .pf-flow-wrap { height: 120px; }
  .pf-node-circle { width: 48px; height: 48px; }
  .pf-node-circle svg { width: 18px !important; height: 18px !important; }
  .pf-node-label { font-size: 0.64rem; max-width: 60px; }
  .pf-detail-card { flex-direction: column; padding: 1.5rem; gap: 1rem; }
  .pf-detail-stat { align-self: flex-start; }
  .pf-nodes { padding: 0; }
}
@media (max-width: 480px) {
  .pf-node-circle { width: 40px; height: 40px; }
  .pf-node-label { display: none; }
  .pf-tabs { gap: 0.35rem; }
  .pf-tab { padding: 0.45rem 1rem; font-size: 0.78rem; }
}


/* ============================================================
   SERVICES
   ============================================================ */
.services { padding: 6rem 0; }
.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.service-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 20px; padding: 2.25rem;
  backdrop-filter: blur(12px);
  transition: border-color 0.3s, transform 0.35s cubic-bezier(0.22,1,0.36,1), box-shadow 0.3s, background 0.4s;
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; inset: 0; opacity: 0;
  background: radial-gradient(ellipse 80% 60% at 0% 0%, rgba(0, 229, 208, 0.06) 0%, transparent 60%);
  transition: opacity 0.3s; pointer-events: none;
}
/* Animated top border on hover */
.service-card::after {
  content: ''; position: absolute; top: 0; left: -100%; right: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--cyan2), transparent);
  transition: left 0.5s ease, right 0.5s ease;
}
.service-card:hover { border-color: var(--border2); transform: translateY(-6px); box-shadow: 0 20px 60px rgba(0, 229, 208, 0.1); }
.service-card:hover::before { opacity: 1; }
.service-card:hover::after { left: 0; right: 0; }
.card-tag { display: inline-block; font-size: 0.75rem; font-weight: 600; padding: 0.3rem 0.85rem; border-radius: 100px; margin-bottom: 1.5rem; }
.card-tag.primary { background: rgba(0, 229, 208, 0.12); color: var(--cyan); }
.card-tag.muted { background: rgba(94, 125, 144, 0.15); color: var(--muted); }
.card-icon-wrap { width: 48px; height: 48px; border-radius: 14px; background: rgba(0, 229, 208, 0.1); display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; transition: background 0.3s; flex-shrink: 0; }
.service-card:hover .card-icon-wrap { background: rgba(0, 229, 208, 0.18); }
.card-title { font-weight: 700; font-size: 1.25rem; margin-bottom: 0.5rem; }
.card-desc { color: var(--muted); font-size: 0.875rem; line-height: 1.7; margin-bottom: 1.25rem; }
.card-features { list-style: none; margin-bottom: 1.75rem; display: flex; flex-direction: column; gap: 0.5rem; }
.card-features li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: var(--muted); }
.check { color: var(--cyan); flex-shrink: 0; width: 16px; height: 16px; }
.card-cta { color: var(--cyan); font-size: 0.875rem; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 0.3rem; transition: gap 0.2s; }
.card-cta:hover { gap: 0.6rem; }

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-us { padding: 6rem 0; background: var(--bg2); transition: background 0.4s; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.why-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 20px; padding: 2rem;
  position: relative; overflow: hidden;
  transition: border-color 0.3s, transform 0.35s cubic-bezier(0.22,1,0.36,1), background 0.4s, box-shadow 0.3s;
  text-align: center;
}
.why-card:hover { border-color: var(--border2); transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,229,208,0.08); }
.why-icon {
  width: 60px; height: 60px; border-radius: 18px;
  background: rgba(0, 229, 208, 0.1);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
}
.why-card:hover .why-icon {
  background: rgba(0, 229, 208, 0.2);
  transform: scale(1.1) rotate(-3deg);
  box-shadow: 0 0 20px rgba(0,229,208,0.2);
}
.why-title { font-weight: 700; font-size: 1.1rem; margin-bottom: 0.6rem; }
.why-desc { color: var(--muted); font-size: 0.875rem; line-height: 1.7; }
.why-card-accent { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 60px; height: 2px; background: linear-gradient(90deg, transparent, var(--cyan), transparent); opacity: 0; transition: opacity 0.3s, width 0.4s; }
.why-card:hover .why-card-accent { opacity: 1; width: 80%; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-it-works { padding: 6rem 0; background: var(--bg); transition: background 0.4s; }
.workflow-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.step-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 20px; padding: 2rem;
  position: relative; overflow: hidden;
  transition: border-color 0.3s, transform 0.35s cubic-bezier(0.22,1,0.36,1), background 0.4s, box-shadow 0.3s;
}
.step-card:hover { border-color: var(--border2); transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,229,208,0.09); }
.step-num {
  position: absolute; top: 1.25rem; right: 1.25rem;
  font-size: 2.5rem; font-weight: 800;
  color: rgba(0, 229, 208, 0.06); line-height: 1;
  pointer-events: none;
  transition: color 0.3s, transform 0.3s;
}
.step-card:hover .step-num { color: rgba(0, 229, 208, 0.12); transform: scale(1.1) rotate(-5deg); }
.step-icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: rgba(0, 229, 208, 0.1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
}
.step-card:hover .step-icon { background: rgba(0, 229, 208, 0.2); transform: scale(1.08); box-shadow: 0 0 16px rgba(0,229,208,0.2); }
.step-title { font-weight: 700; font-size: 1.05rem; margin-bottom: 0.5rem; }
.step-desc { color: var(--muted); font-size: 0.85rem; line-height: 1.7; }

/* ============================================================
   PACKAGES / PRICING
   ============================================================ */
.pricing { padding: 6rem 0; background: var(--bg2); transition: background 0.4s; }
.pricing-note { text-align: center; color: var(--muted); font-size: 0.85rem; margin-top: 1rem; max-width: 500px; margin-left: auto; margin-right: auto; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.price-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 20px; padding: 2rem;
  display: flex; flex-direction: column; gap: 1.25rem;
  transition: border-color 0.3s, transform 0.35s cubic-bezier(0.22,1,0.36,1), background 0.4s, box-shadow 0.3s;
  position: relative; overflow: hidden;
}
.price-card.featured {
  border-color: var(--border2);
  background: rgba(0, 229, 208, 0.05);
  animation: borderGlow 3s ease-in-out infinite;
}
[data-theme="light"] .price-card.featured { background: rgba(0, 168, 154, 0.05); }
.price-card.featured::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--cyan), var(--cyan2)); }
.price-card:hover { border-color: var(--border2); transform: translateY(-6px); box-shadow: 0 24px 60px rgba(0,229,208,0.1); }
.price-card.featured:hover { transform: translateY(-8px); box-shadow: 0 30px 80px rgba(0,229,208,0.18); }
.price-label { color: var(--cyan); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.price-name { font-weight: 800; font-size: 1.3rem; }
.price-desc { color: var(--muted); font-size: 0.85rem; line-height: 1.6; }
.price-features { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.price-features li { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.85rem; color: var(--muted); }
.price-features li svg { flex-shrink: 0; margin-top: 0.1rem; }
.price-cta { display: flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.85rem; border-radius: 12px; font-weight: 700; font-size: 0.9rem; text-decoration: none; transition: all 0.2s; cursor: pointer; border: none; font-family: inherit; }
.price-cta.primary { background: linear-gradient(135deg, var(--cyan), var(--cyan2)); color: #060b14; box-shadow: var(--glow); }
.price-cta.primary:hover { transform: scale(1.03); box-shadow: 0 0 50px rgba(0, 229, 208, 0.4); }
.price-cta.ghost { border: 1px solid var(--border2); color: var(--muted); }
.price-cta.ghost:hover { border-color: var(--cyan); color: var(--cyan); }
.pkg-divider { padding: 0.5rem 0; border-top: 1px dashed var(--border); font-size: 0.72rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.07em; }
.ai-badge-row { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; margin-top: 2rem; }
.ai-badge { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1.1rem; border-radius: 100px; background: rgba(0, 229, 208, 0.05); border: 1px solid var(--border); color: var(--muted); font-size: 0.78rem; font-weight: 500; }
.ai-badge svg { color: var(--cyan); }

/* ============================================================
   CHATBOT DEMO SECTION
   ============================================================ */
.chatbot-section { padding: 6rem 0; background: var(--bg2); transition: background 0.4s; }
.chatbot-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; max-width: 1000px; margin: 0 auto; }
.chatbot-text { display: flex; flex-direction: column; gap: 1.25rem; }
.chatbot-text h2 { text-align: left; margin-bottom: 0; }
.chatbot-text .section-tag { align-self: flex-start; }
.chatbot-body { color: var(--muted); font-size: 0.925rem; line-height: 1.8; }
.chatbot-features { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.chatbot-features li { display: flex; align-items: center; gap: 0.7rem; font-size: 0.875rem; color: var(--muted); }
.chatbot-features li svg { flex-shrink: 0; color: var(--cyan); }
.chatbot-live-container {
  background: var(--card); border: 1px solid var(--border2);
  border-radius: 24px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px var(--border);
  transition: background 0.4s;
}
.chatbot-live-header { padding: 1rem 1.25rem; background: rgba(0, 229, 208, 0.06); border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 0.75rem; }
.chatbot-avatar { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--cyan), var(--cyan2)); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.8rem; color: #060b14; flex-shrink: 0; }
.chatbot-name { font-weight: 700; font-size: 0.88rem; }
.chatbot-status { display: flex; align-items: center; gap: 0.35rem; color: #22c55e; font-size: 0.72rem; font-weight: 600; }
.chatbot-status-dot { width: 6px; height: 6px; border-radius: 50%; background: #22c55e; animation: pulseAnim 2s ease-in-out infinite; }
.chatbot-msgs { padding: 1.25rem; display: flex; flex-direction: column; gap: 0.75rem; min-height: 320px; max-height: 320px; overflow-y: auto; }
.chatbot-msgs::-webkit-scrollbar { width: 4px; }
.chatbot-msgs::-webkit-scrollbar-track { background: transparent; }
.chatbot-msgs::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 2px; }
.msg { display: flex; gap: 0.6rem; align-items: flex-end; animation: msgSlide 0.4s ease forwards; opacity: 0; }
@keyframes msgSlide { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.msg.bot { flex-direction: row; } .msg.user { flex-direction: row-reverse; }
.msg-avatar { width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 0.65rem; font-weight: 700; }
.msg.bot .msg-avatar { background: linear-gradient(135deg, var(--cyan), var(--cyan2)); color: #060b14; }
.msg.user .msg-avatar { background: rgba(255, 255, 255, 0.1); color: var(--muted); }
.msg-bubble { max-width: 78%; padding: 0.6rem 0.9rem; border-radius: 16px; font-size: 0.82rem; line-height: 1.5; }
.msg.bot .msg-bubble { background: rgba(0, 229, 208, 0.08); border: 1px solid rgba(0, 229, 208, 0.15); border-bottom-left-radius: 4px; color: var(--text); }
.msg.user .msg-bubble { background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.1); border-bottom-right-radius: 4px; color: var(--text); }
[data-theme="light"] .msg.user .msg-bubble { background: rgba(0, 0, 0, 0.05); border: 1px solid rgba(0, 0, 0, 0.1); }
.msg-time { color: var(--muted); font-size: 0.65rem; margin-top: 0.2rem; display: block; }
.typing-indicator { display: flex; gap: 4px; align-items: center; padding: 0.6rem 0.9rem; background: rgba(0, 229, 208, 0.08); border: 1px solid rgba(0, 229, 208, 0.15); border-radius: 16px; border-bottom-left-radius: 4px; width: fit-content; }
.typing-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); opacity: 0.4; animation: typingBounce 1.2s ease-in-out infinite; }
.typing-dot:nth-child(2) { animation-delay: 0.2s; } .typing-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingBounce { 0%, 60%, 100% { transform: translateY(0); opacity: 0.4; } 30% { transform: translateY(-6px); opacity: 1; } }
.chatbot-input-row { padding: 0.85rem 1.25rem; border-top: 1px solid var(--border); display: flex; gap: 0.6rem; align-items: center; background: rgba(0, 0, 0, 0.2); }
[data-theme="light"] .chatbot-input-row { background: rgba(0, 0, 0, 0.04); }
.chatbot-quick-replies { padding: 0.5rem 1.25rem; display: flex; gap: 0.5rem; flex-wrap: wrap; border-top: 1px solid var(--border); }
.input-field { flex: 1; background: var(--input-bg); border: 1px solid var(--border); border-radius: 100px; padding: 0.5rem 1rem; font-size: 0.8rem; color: var(--text); font-family: inherit; outline: none; transition: border-color 0.2s, background 0.4s, color 0.4s; }
.input-field:focus { border-color: rgba(0, 229, 208, 0.3); }
.input-field::placeholder { color: var(--muted); }
.send-btn { width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0; border: none; cursor: pointer; background: linear-gradient(135deg, var(--cyan), var(--cyan2)); display: flex; align-items: center; justify-content: center; transition: transform 0.2s, box-shadow 0.2s; }
.send-btn:hover { transform: scale(1.1); box-shadow: 0 0 20px rgba(0, 229, 208, 0.4); }
.qr-btn { padding: 0.35rem 0.8rem; border-radius: 100px; font-size: 0.72rem; font-weight: 600; background: rgba(0, 229, 208, 0.07); border: 1px solid var(--border); color: var(--muted); cursor: pointer; transition: all 0.2s; font-family: inherit; }
.qr-btn:hover { background: rgba(0, 229, 208, 0.14); border-color: var(--border2); color: var(--cyan); }

/* ============================================================
   INDUSTRIES
   ============================================================ */
.industries { padding: 6rem 0; background: var(--bg2); transition: background 0.4s; }
.industries-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.industry-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 16px; padding: 1.5rem; text-align: center;
  transition: border-color 0.3s, transform 0.35s cubic-bezier(0.22,1,0.36,1), background 0.4s, box-shadow 0.3s;
  cursor: default;
}
.industry-card:hover {
  border-color: var(--border2);
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 16px 40px rgba(0,229,208,0.1);
}
.industry-icon {
  margin-bottom: 0.75rem; display: flex; justify-content: center;
  transition: transform 0.3s;
}
.industry-card:hover .industry-icon { transform: scale(1.15) rotate(-5deg); }
.industry-name { font-weight: 700; font-size: 0.9rem; margin-bottom: 0.25rem; }
.industry-desc { color: var(--muted); font-size: 0.75rem; line-height: 1.5; }

/* ============================================================
   ABOUT
   ============================================================ */
.about { padding: 6rem 0; background: var(--bg); transition: background 0.4s; }
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; max-width: 960px; margin: 0 auto; }
.about-text { display: flex; flex-direction: column; gap: 1.25rem; }
.about-heading { font-weight: 800; font-size: clamp(1.8rem, 3vw, 2.6rem); letter-spacing: -0.03em; line-height: 1.1; }
.about-body { color: var(--muted); font-size: 0.925rem; line-height: 1.8; }
.about-highlight { padding: 1.25rem 1.5rem; border-radius: 16px; background: rgba(0, 229, 208, 0.05); border: 1px solid var(--border2); color: var(--text); font-size: 0.9rem; line-height: 1.7; border-left: 3px solid var(--cyan); }
.about-visual { display: flex; flex-direction: column; gap: 1.25rem; }
.about-stat-card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 1.25rem 1.5rem; display: flex; align-items: center; gap: 1rem; transition: border-color 0.3s, background 0.4s; }
.about-stat-card:hover { border-color: var(--border2); }
.about-stat-icon { width: 44px; height: 44px; border-radius: 12px; background: rgba(0, 229, 208, 0.1); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.about-stat-val { font-weight: 800; font-size: 1.4rem; background: linear-gradient(135deg, var(--cyan), var(--cyan2)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.about-stat-label { color: var(--muted); font-size: 0.8rem; }

/* ============================================================
   TEAM
   ============================================================ */
.team { padding: 6rem 0; background: var(--bg); transition: background 0.4s; }
.team-cards { display: flex; gap: 1.5rem; max-width: 960px; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
.team-card { flex: 1; min-width: 300px; max-width: 440px; border-radius: 24px; overflow: hidden; position: relative; border: 1px solid var(--border); transition: border-color 0.4s, transform 0.4s; }
.team-card:hover { border-color: var(--border2); transform: translateY(-6px); }
.team-photo { height: 500px; overflow: hidden; position: relative; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; transform: scale(1.05); transition: transform 0.7s; }
.team-card:hover .team-photo img { transform: scale(1); }
.team-photo-fallback { width: 100%; height: 100%; background: linear-gradient(135deg, var(--bg2), var(--bg)); display: flex; align-items: center; justify-content: center; }
.team-initials { font-weight: 800; font-size: 5rem; background: linear-gradient(135deg, var(--cyan), var(--cyan2)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.team-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(6, 11, 20, 1) 0%, rgba(6, 11, 20, 0.5) 45%, transparent 100%); }
[data-theme="light"] .team-overlay { background: linear-gradient(to top, rgba(10, 20, 35, 0.95) 0%, rgba(10, 20, 35, 0.5) 45%, transparent 100%); }
.team-accent { position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(to bottom, transparent, var(--cyan), transparent); opacity: 0; transition: opacity 0.5s; }
.team-card:hover .team-accent { opacity: 1; }
.team-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 2rem; }
.team-role { color: var(--cyan); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.3rem; }
.team-name { font-weight: 700; font-size: 1.6rem; margin-bottom: 0.75rem; color: #fff; }
.team-bio { color: rgba(200, 220, 232, 0.8); font-size: 0.85rem; line-height: 1.7; margin-bottom: 1rem; opacity: 0; transform: translateY(12px); transition: opacity 0.5s, transform 0.5s; }
.team-card:hover .team-bio { opacity: 1; transform: translateY(0); }
.team-linkedin { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--cyan); font-size: 0.875rem; font-weight: 600; text-decoration: none; transition: color 0.2s; }
.team-linkedin:hover { color: #fff; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { padding: 6rem 0; background: var(--bg2); transition: background 0.4s; }
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden;
  transition: border-color 0.3s, background 0.4s, box-shadow 0.3s;
}
.faq-item:hover { border-color: var(--border); box-shadow: 0 8px 30px rgba(0,229,208,0.06); }
.faq-item.open { border-color: var(--border2); box-shadow: 0 8px 30px rgba(0,229,208,0.1); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 1.3rem 1.5rem; background: none; border: none;
  cursor: pointer; color: var(--text); font-size: 0.95rem; font-weight: 600;
  text-align: left; gap: 1rem;
  transition: color 0.2s, background 0.2s; font-family: inherit;
}
.faq-q:hover { color: var(--cyan); background: rgba(0,229,208,0.02); }
.faq-icon { flex-shrink: 0; width: 20px; height: 20px; color: var(--muted); transition: transform 0.35s cubic-bezier(0.22,1,0.36,1), color 0.3s; }
.faq-item.open .faq-icon { transform: rotate(180deg); color: var(--cyan); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.22,1,0.36,1), padding 0.3s; padding: 0 1.5rem; }
.faq-a p { color: var(--muted); font-size: 0.875rem; line-height: 1.75; padding-bottom: 1.3rem; }
.faq-item.open .faq-a { max-height: 300px; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { padding: 6rem 0; background: var(--bg2); transition: background 0.4s; }
.contact-grid { display: grid; grid-template-columns: 2fr 3fr; gap: 2.5rem; max-width: 960px; margin: 0 auto; }
.contact-info { display: flex; flex-direction: column; gap: 1.25rem; }
.info-card { background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 1.5rem; transition: background 0.4s; }
.info-row { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 0.85rem; }
.info-row:last-child { margin-bottom: 0; }
.info-icon { width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0; background: rgba(0, 229, 208, 0.1); display: flex; align-items: center; justify-content: center; }
.info-label { color: var(--muted); font-size: 0.75rem; margin-bottom: 0.1rem; }
.info-val { font-size: 0.9rem; font-weight: 500; color: var(--text); }
.whatsapp-cta-card { background: rgba(0, 229, 208, 0.04); border: 1px solid var(--border2); border-radius: 18px; padding: 1.5rem; display: flex; flex-direction: column; gap: 0.85rem; }
.whatsapp-cta-card .btn-whatsapp { justify-content: center; }
.contact-form { background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 2.25rem; transition: background 0.4s; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-bottom: 1.25rem; }
.form-group { margin-bottom: 1.25rem; }
label { display: block; font-size: 0.78rem; font-weight: 500; color: var(--muted); margin-bottom: 0.5rem; letter-spacing: 0.03em; }
input, select, textarea {
  width: 100%; padding: 0.85rem 1rem;
  border-radius: 12px; background: var(--input-bg);
  border: 1px solid var(--border); color: var(--text);
  font-size: 0.9rem; font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.4s, color 0.4s;
  outline: none; -webkit-appearance: none; appearance: none;
}
input:focus, select:focus, textarea:focus { border-color: rgba(0, 229, 208, 0.4); box-shadow: 0 0 0 3px rgba(0, 229, 208, 0.08); }
input::placeholder, textarea::placeholder { color: var(--muted); }
textarea { resize: none; }
select option { background: var(--bg); }
.form-submit {
  width: 100%; padding: 1rem; border-radius: 12px; border: none; cursor: pointer;
  background: linear-gradient(135deg, var(--cyan), var(--cyan2));
  color: #060b14; font-weight: 700; font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: var(--glow); font-family: inherit;
}
.form-submit:hover { transform: scale(1.02); box-shadow: 0 0 60px rgba(0, 229, 208, 0.4); }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner { padding: 5rem 0; background: var(--bg); }
.cta-banner-inner { max-width: 700px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.cta-banner h2 { margin-bottom: 0; }
.cta-banner p { color: var(--muted); font-size: 1rem; line-height: 1.7; max-width: 520px; }
.cta-banner-btns { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

/* ============================================================
   FLOATING WHATSAPP
   ============================================================ */
.wa-float {
  position: fixed; bottom: 5.5rem; right: 2rem; z-index: 998;
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(0, 229, 208, 0.12); border: 1.5px solid var(--border2);
  backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; box-shadow: 0 0 30px rgba(0, 229, 208, 0.2);
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1), box-shadow 0.3s, background 0.3s, border-color 0.3s;
  animation: softBounce 4s ease-in-out infinite;
}
.wa-float:hover {
  transform: scale(1.15) translateY(-4px);
  box-shadow: 0 0 50px rgba(0,229,208,0.5), 0 8px 24px rgba(0,229,208,0.2);
  background: rgba(0,229,208,0.22);
  border-color: var(--cyan);
  animation: none;
}
@keyframes waBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.wa-tooltip { position: absolute; right: 64px; top: 50%; transform: translateY(-50%); background: var(--card); border: 1px solid var(--border2); padding: 0.4rem 0.85rem; border-radius: 8px; color: var(--text); font-size: 0.75rem; font-weight: 600; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 0.2s; box-shadow: 0 4px 16px rgba(0,0,0,0.2); }
.wa-float:hover .wa-tooltip { opacity: 1; }

/* ============================================================
   SCROLL TO TOP
   ============================================================ */
#scrollTopBtn {
  position: fixed; bottom: 2rem; right: 2rem;
  width: 50px; height: 50px; border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--cyan2));
  border: none; cursor: pointer; display: none;
  align-items: center; justify-content: center;
  z-index: 999; box-shadow: 0 0 30px rgba(0, 229, 208, 0.4);
  transition: transform 0.3s, box-shadow 0.3s;
}
#scrollTopBtn:hover { transform: translateY(-4px); box-shadow: 0 0 50px rgba(0, 229, 208, 0.6); }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  padding: 4rem 2rem 2rem;
  background: #060b14;
  border-top: 1px solid rgba(0, 229, 208, 0.1);
  --text: #e8f4f8; --text-secondary: #c8dde8; --muted: #5e7d90;
  --border: rgba(0, 229, 208, 0.12); --border2: rgba(0, 229, 208, 0.25); --cyan: #00e5d0;
  color: #e8f4f8;
}
footer *, footer a, footer span, footer p, footer div,
footer nav, footer ul, footer li {
  --text: #e8f4f8; --text-secondary: #c8dde8; --muted: #5e7d90;
  --border: rgba(0, 229, 208, 0.12); --border2: rgba(0, 229, 208, 0.25); --cyan: #00e5d0;
}
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand { display: flex; flex-direction: column; gap: 1rem; max-width: 320px; }
.footer-brand-logo { display: flex; align-items: center; gap: 0.5rem; text-decoration: none; }
.footer-desc { color: var(--muted); font-size: 0.875rem; line-height: 1.7; }
.footer-socials { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.social-link { width: 44px; height: 44px; border-radius: 12px; background: rgba(0, 229, 208, 0.06); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; transition: all 0.3s; text-decoration: none; }
.social-link:hover { background: rgba(0, 229, 208, 0.14); border-color: var(--border2); }
.footer-col-title { font-weight: 700; font-size: 1rem; margin-bottom: 1.2rem; color: var(--text); }
.footer-links { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 0.875rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--cyan); }
.footer-copy { text-align: center; color: var(--muted); font-size: 0.8rem; padding-top: 2rem; margin-top: 2rem; border-top: 1px solid var(--border); max-width: 1200px; margin-left: auto; margin-right: auto; }
.footer-legal { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; margin-top: 0.75rem; }
.footer-legal a { color: var(--muted); text-decoration: none; font-size: 0.8rem; transition: color 0.2s; }
.footer-legal a:hover { color: var(--cyan); }

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Mid-point: compress nav before full mobile collapse */
@media (max-width: 1100px) {
  nav { padding: 0 1.5rem; }
  .nav-links { gap: 1rem; }
  .nav-links a { font-size: 0.82rem; }
  .nav-cta { padding: 0.55rem 1rem; font-size: 0.8rem; }
  .theme-toggle-nav { display: none; }
}

@media (max-width: 900px) {
  .hero { padding: 5.5rem 0 3rem; min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
  .hero-visual { order: -1; min-height: 300px; }
  .robot-scene { width: 280px; height: 280px; }
  .robot-svg-container { width: 200px; height: 220px; }
  .robot-data-card { display: none; }
  .hero-sub { margin-left: auto; margin-right: auto; font-size: 0.95rem; max-width: 90%; }
  .hero-badge { margin-left: auto; margin-right: auto; display: inline-flex; }
  .hero-btns { justify-content: center; gap: 0.75rem; }
  .hero-btns a { font-size: 0.82rem; padding: 0.75rem 1.3rem; }
  .platform-pills { justify-content: center; gap: 1rem; }
  h1 { font-size: clamp(2.4rem, 8vw, 3.5rem); letter-spacing: -0.03em; }
  .orbit-ring:nth-child(1) { width: 200px; height: 200px; }
  .orbit-ring:nth-child(2) { width: 280px; height: 280px; }
  .orbit-ring:nth-child(3) { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .workflow-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .about-inner { grid-template-columns: 1fr; }
  .chatbot-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .chatbot-text h2 { text-align: center; }
  .chatbot-text .section-tag { align-self: center; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr 1fr; }
  nav { padding: 0 1.25rem; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .theme-toggle-nav { display: none; }
  .hamburger { display: flex; align-items: center; justify-content: center; }
  h2 { font-size: clamp(1.9rem, 6vw, 2.8rem); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 600px) {
  .hero { padding: 4.5rem 0 2.5rem; }
  .robot-svg-container { width: 160px; height: 180px; }
  .orbit-ring:nth-child(1) { width: 170px; height: 170px; }
  .orbit-ring:nth-child(2) { width: 230px; height: 230px; }
  .hero-btns { flex-direction: column; align-items: center; gap: 0.65rem; }
  .hero-btns a { width: 100%; max-width: 280px; justify-content: center; }
  .workflow-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .container { padding: 0 1.25rem; }
  h1 { font-size: clamp(2.1rem, 9vw, 3rem); }
  .footer-inner { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-banner-btns { flex-direction: column; align-items: center; }
  .why-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials { padding: 6rem 0; background: var(--bg); transition: background 0.4s; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.testi-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 20px; padding: 2rem;
  display: flex; flex-direction: column; gap: 1.25rem;
  transition: border-color 0.3s, transform 0.3s, background 0.4s;
  position: relative; overflow: hidden;
}
.testi-card::before {
  content: '"'; position: absolute; top: -0.5rem; left: 1.5rem;
  font-size: 6rem; line-height: 1; color: rgba(0,229,208,0.06);
  font-family: Georgia, serif; pointer-events: none;
}
.testi-card:hover { border-color: var(--border2); transform: translateY(-4px); }
.testi-stars { color: #f59e0b; font-size: 1rem; letter-spacing: 0.1em; }
.testi-quote { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.75; flex: 1; font-style: italic; }
.testi-footer { display: flex; align-items: center; gap: 0.85rem; flex-wrap: wrap; }
.testi-avatar { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--cyan), var(--cyan2)); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.78rem; color: #060b14; flex-shrink: 0; }
.testi-name { font-weight: 700; font-size: 0.88rem; }
.testi-role { color: var(--muted); font-size: 0.75rem; }
.testi-badge { margin-left: auto; padding: 0.3rem 0.75rem; border-radius: 100px; background: rgba(0,229,208,0.08); border: 1px solid var(--border); color: var(--cyan); font-size: 0.72rem; font-weight: 700; white-space: nowrap; }

@media (max-width: 900px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}
@media (min-width: 600px) and (max-width: 900px) {
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
}
