/* ═══════════════════════ VARIABLES ═══════════════════════ */
:root {
  --bg:        #07070e;
  --bg2:       #0d0d1a;
  --card:      rgba(255,255,255,0.035);
  --card-h:    rgba(255,255,255,0.06);
  --border:    rgba(255,255,255,0.08);
  --border-h:  rgba(255,255,255,0.15);

  --indigo:    #6366f1;
  --purple:    #8b5cf6;
  --cyan:      #06b6d4;
  --green:     #10b981;
  --orange:    #f59e0b;
  --pink:      #ec4899;
  --yellow:    #eab308;
  --blue:      #3b82f6;

  --text:      #f1f5f9;
  --sub:       #94a3b8;
  --muted:     #475569;

  --glow-i:    rgba(99,102,241,0.25);
  --glow-c:    rgba(6,182,212,0.25);
  --glow-p:    rgba(139,92,246,0.25);

  --r:         16px;
  --r2:        24px;
  --trans:     all 0.25s ease;
}

/* ═══════════════════════ RESET ═══════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img, svg { display: block; }
ul { list-style: none; }
input, button { font-family: inherit; }

/* ═══════════════════════ UTILITIES ═══════════════════════ */
.grad-text {
  background: linear-gradient(135deg, var(--indigo) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glass-card {
  background: var(--card);
  border: 1px solid var(--border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--r2);
  transition: var(--trans);
}
.glass-card:hover {
  background: var(--card-h);
  border-color: var(--border-h);
}

.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--indigo);
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--sub);
  max-width: 560px;
  margin: 0 auto;
}
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

/* ═══════════════════════ BUTTONS ═══════════════════════ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  background: linear-gradient(135deg, var(--indigo) 0%, var(--purple) 100%);
  color: #fff;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: var(--trans);
  box-shadow: 0 0 30px var(--glow-i);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 50px var(--glow-i), 0 10px 30px rgba(0,0,0,0.3);
}
.btn-primary.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  color: var(--text);
  border-radius: 100px;
  font-weight: 500;
  font-size: 0.95rem;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: var(--trans);
  background: transparent;
}
.btn-ghost:hover {
  border-color: var(--border-h);
  background: rgba(255,255,255,0.04);
}

.btn-nav-demo {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1.25rem;
  background: linear-gradient(135deg, var(--indigo), var(--purple));
  color: #fff;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.875rem;
  transition: var(--trans);
  white-space: nowrap;
  box-shadow: 0 0 20px var(--glow-i);
}
.btn-nav-demo:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 35px var(--glow-i);
}

/* ═══════════════════════ NAVBAR ═══════════════════════ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}
#navbar.scrolled {
  background: rgba(7,7,14,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0.85rem 0;
  box-shadow: 0 4px 40px rgba(0,0,0,0.4);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}
.logo-mark {
  width: 34px; height: 34px;
  background: linear-gradient(135deg, var(--indigo), var(--purple));
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: 900; color: #fff;
  box-shadow: 0 0 15px var(--glow-i);
}
.logo-text {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.logo-ai {
  color: var(--indigo);
  margin-left: 0.2em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}
.nav-links a {
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--sub);
  transition: var(--trans);
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.05); }

.nav-actions { display: flex; align-items: center; gap: 1rem; }

.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem;
  gap: 0.15rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.lang-btn {
  min-width: 38px;
  height: 30px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--sub);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--trans);
}

.lang-btn:hover {
  color: var(--text);
}

.lang-btn.active {
  color: #fff;
  background: linear-gradient(135deg, var(--indigo), var(--purple));
  box-shadow: 0 0 18px var(--glow-i);
}

.mobile-lang {
  margin: 0.25rem 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--trans);
}

.mobile-nav {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(7,7,14,0.97);
  backdrop-filter: blur(20px);
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav .mob-link {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
}

/* ═══════════════════════ HERO ═══════════════════════ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 5rem;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.7;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 1;
}
.g1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(99,102,241,0.18) 0%, transparent 70%);
  top: -100px; left: -100px;
}
.g2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(6,182,212,0.12) 0%, transparent 70%);
  bottom: -50px; right: 10%;
}
.g3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(139,92,246,0.1) 0%, transparent 70%);
  top: 40%; right: 0;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 4rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  width: 100%;
}

/* Hero left */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1rem;
  background: rgba(99,102,241,0.1);
  border: 1px solid rgba(99,102,241,0.3);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--sub);
  margin-bottom: 1.75rem;
}
.badge-pulse {
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16,185,129,0.6);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%   { box-shadow: 0 0 0 0 rgba(16,185,129,0.6); }
  70%  { box-shadow: 0 0 0 8px rgba(16,185,129,0); }
  100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); }
}

.hero-title {
  font-size: clamp(2.75rem, 5.5vw, 5rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--sub);
  line-height: 1.7;
  max-width: 500px;
  margin-bottom: 2.25rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--r);
  width: fit-content;
}
.h-stat { display: flex; flex-direction: column; gap: 0.2rem; }
.h-stat-num {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--indigo), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.h-stat-lbl { font-size: 0.75rem; color: var(--muted); white-space: nowrap; }
.h-stat-divider {
  width: 1px; height: 40px;
  background: var(--border);
}

/* Hero right / visual */
.hero-visual {
  position: relative;
  height: 520px;
}

.chat-card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) perspective(1200px) rotateY(-6deg) rotateX(2deg);
  width: 340px;
  overflow: hidden;
  animation: hero-card-float 6s ease-in-out infinite;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 60px rgba(99,102,241,0.1);
}
@keyframes hero-card-float {
  0%, 100% { transform: translate(-50%,-50%) perspective(1200px) rotateY(-6deg) rotateX(2deg) translateY(0px); }
  50%       { transform: translate(-50%,-50%) perspective(1200px) rotateY(-6deg) rotateX(2deg) translateY(-12px); }
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
  background: rgba(16,185,129,0.05);
}
.chat-avatar {
  width: 36px; height: 36px;
  background: rgba(16,185,129,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.wa-icon { width: 20px; height: 20px; color: #25d366; }
.chat-meta { display: flex; flex-direction: column; gap: 0.15rem; }
.chat-name { font-size: 0.875rem; font-weight: 600; }
.chat-online {
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 0.7rem; color: var(--sub);
}
.online-dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--green);
}

.chat-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-height: 280px;
  overflow: hidden;
}
.msg {
  display: flex;
  flex-direction: column;
  max-width: 85%;
  gap: 0.25rem;
}
.msg.in { align-self: flex-start; }
.msg.out { align-self: flex-end; align-items: flex-end; }
.msg p {
  padding: 0.6rem 0.85rem;
  border-radius: 14px;
  font-size: 0.8rem;
  line-height: 1.5;
}
.msg.in p {
  background: rgba(255,255,255,0.07);
  border-bottom-left-radius: 4px;
}
.msg.out p {
  background: linear-gradient(135deg, rgba(99,102,241,0.35), rgba(6,182,212,0.25));
  border: 1px solid rgba(99,102,241,0.3);
  border-bottom-right-radius: 4px;
}
.ai-tag {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--cyan);
  background: rgba(6,182,212,0.1);
  border: 1px solid rgba(6,182,212,0.2);
  border-radius: 4px;
  padding: 1px 5px;
  width: fit-content;
  margin-bottom: 2px;
}
.msg-t { font-size: 0.65rem; color: var(--muted); }

.typing {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0.5rem 0.75rem;
  background: rgba(255,255,255,0.06);
  border-radius: 12px;
  width: fit-content;
}
.typing span {
  width: 6px; height: 6px;
  background: var(--sub);
  border-radius: 50%;
  animation: typing-dot 1.4s infinite;
}
.typing span:nth-child(2) { animation-delay: 0.2s; }
.typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing-dot {
  0%, 80%, 100% { transform: scale(0.8); opacity: 0.4; }
  40%            { transform: scale(1.1); opacity: 1; }
}

.chat-input-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1rem;
  border-top: 1px solid var(--border);
}
.chat-placeholder { font-size: 0.78rem; color: var(--muted); }
.chat-send {
  width: 30px; height: 30px;
  background: linear-gradient(135deg, var(--indigo), var(--cyan));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.chat-send svg { width: 14px; height: 14px; color: #fff; }

/* Floating metric cards */
.fc {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: var(--r);
  z-index: 5;
}
.fc-icon {
  width: 34px; height: 34px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.cyan-icon   { background: rgba(6,182,212,0.15);  color: var(--cyan);   }
.purple-icon { background: rgba(139,92,246,0.15); color: var(--purple); }
.green-icon  { background: rgba(16,185,129,0.15); color: var(--green);  }
.fc-val { font-size: 1rem; font-weight: 700; }
.fc-lbl { font-size: 0.7rem; color: var(--muted); }

.fc1 { top: 5%;  left: -10%; }
.fc2 { bottom: 18%; left: -8%; }
.fc3 { top: 8%;  right: -6%; }

.fc4 {
  bottom: 5%; right: -4%;
  gap: 0.6rem;
}
.tg-mini-icon {
  width: 32px; height: 32px;
  background: rgba(59,130,246,0.15);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: #3b82f6;
}
.tg-mini-icon svg { width: 18px; height: 18px; }
.fc-platform { font-size: 0.7rem; color: var(--muted); display: block; }
.fc-status-ok { font-size: 0.8rem; font-weight: 600; color: var(--green); display: block; }

@keyframes float1 {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-8px); }
}
@keyframes float2 {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-12px); }
}
@keyframes float3 {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-6px); }
}
.float-anim-1 { animation: float1 5s ease-in-out infinite; }
.float-anim-2 { animation: float2 7s ease-in-out infinite; }
.float-anim-3 { animation: float3 4.5s ease-in-out infinite; }

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.scroll-pill {
  width: 24px; height: 40px;
  border: 2px solid var(--border);
  border-radius: 12px;
  position: relative;
}
.scroll-pill::after {
  content: '';
  position: absolute;
  top: 6px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 8px;
  background: var(--indigo);
  border-radius: 2px;
  animation: scroll-bounce 2s infinite;
}
@keyframes scroll-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  80%       { transform: translateX(-50%) translateY(12px); opacity: 0; }
}

/* ═══════════════════════ TRUSTED MARQUEE ═══════════════════════ */
#trusted {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.trusted-label {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.75rem;
}
.marquee-track { overflow: hidden; }
.marquee-inner {
  display: flex;
  gap: 4rem;
  animation: marquee 20s linear infinite;
  width: max-content;
}
.mq-logo {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--muted);
  white-space: nowrap;
  transition: var(--trans);
  opacity: 0.5;
}
.mq-logo:hover { color: var(--text); opacity: 1; }
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ═══════════════════════ FEATURES ═══════════════════════ */
#features {
  padding: 8rem 2rem;
  max-width: 1280px;
  margin: 0 auto;
}

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

.feat-card {
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
  cursor: default;
}
.feat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--r2);
  background: linear-gradient(135deg, rgba(255,255,255,0.02), transparent);
  pointer-events: none;
}
.feat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.feat-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.feat-icon svg { width: 22px; height: 22px; }

.icon-green  { background: rgba(16,185,129,0.12); color: #25d366; }
.icon-blue   { background: rgba(59,130,246,0.12);  color: var(--blue); }
.icon-purple { background: rgba(139,92,246,0.12); color: var(--purple); }
.icon-indigo { background: rgba(99,102,241,0.12);  color: var(--indigo); }
.icon-orange { background: rgba(245,158,11,0.12);  color: var(--orange); }
.icon-cyan   { background: rgba(6,182,212,0.12);   color: var(--cyan); }
.icon-pink   { background: rgba(236,72,153,0.12);  color: var(--pink); }
.icon-yellow { background: rgba(234,179,8,0.12);   color: var(--yellow); }

.feat-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.6rem; }
.feat-card p  { font-size: 0.875rem; color: var(--sub); line-height: 1.6; }

.feat-tag {
  position: absolute;
  top: 1rem; right: 1rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.25);
  border-radius: 6px;
  padding: 3px 8px;
}

/* ═══════════════════════ HOW IT WORKS ═══════════════════════ */
#how-it-works {
  padding: 8rem 2rem;
  background: linear-gradient(180deg, transparent, rgba(99,102,241,0.04) 50%, transparent);
}
#how-it-works .section-header { max-width: 1280px; margin: 0 auto 4rem; }

.steps-wrap {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}
.step-line {
  position: absolute;
  top: 2.5rem;
  left: calc(16.66% + 2rem);
  right: calc(16.66% + 2rem);
  height: 1px;
  background: linear-gradient(90deg, var(--indigo), var(--cyan));
  opacity: 0.25;
  pointer-events: none;
}

.step { display: flex; flex-direction: column; gap: 1rem; }
.step-num {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--indigo);
  opacity: 0.7;
  text-align: center;
}

.step-card {
  padding: 2rem;
  flex: 1;
}
.step-icon-wrap {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, rgba(99,102,241,0.15), rgba(6,182,212,0.1));
  border: 1px solid rgba(99,102,241,0.2);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--indigo);
}
.step-icon-wrap svg { width: 22px; height: 22px; }
.step-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.75rem; }
.step-card p  { font-size: 0.875rem; color: var(--sub); line-height: 1.65; margin-bottom: 1.25rem; }
.step-bullets { display: flex; flex-direction: column; gap: 0.4rem; }
.step-bullets li {
  font-size: 0.8rem;
  color: var(--muted);
  padding-left: 1rem;
  position: relative;
}
.step-bullets li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--indigo);
  font-size: 0.75rem;
}

/* ═══════════════════════ INTEGRATIONS ═══════════════════════ */
#integrations {
  padding: 8rem 2rem;
  max-width: 1280px;
  margin: 0 auto;
}

.int-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.int-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 2rem 2.5rem;
  border-radius: var(--r2);
  min-width: 170px;
  transition: var(--trans);
  cursor: default;
}
.int-card:hover { transform: translateY(-4px); }

.int-logo {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
}
.int-logo svg { width: 28px; height: 28px; }
.wa-logo  { background: rgba(37,211,102,0.12); color: #25d366; }
.tg-logo  { background: rgba(41,182,246,0.12);  color: #29b6f6; }
.bx-logo  { background: rgba(245,158,11,0.12);  color: var(--orange); }
.amo-logo { background: rgba(16,185,129,0.12);  color: var(--green); }
.oai-logo { background: rgba(255,255,255,0.07); color: var(--text); }

.int-name { font-size: 0.95rem; font-weight: 700; }
.int-desc { font-size: 0.75rem; color: var(--muted); }

.int-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ═══════════════════════ INDUSTRIES ═══════════════════════ */
#industries {
  padding: 8rem 2rem;
  background: linear-gradient(180deg, transparent, rgba(6,182,212,0.03) 50%, transparent);
}
#industries .section-header { max-width: 1280px; margin: 0 auto 4rem; }

.ind-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

.ind-card {
  padding: 2rem 1.5rem;
  border-radius: var(--r2);
  cursor: default;
  transition: var(--trans);
}
.ind-card:hover { transform: translateY(-4px); }

.ind-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, rgba(99,102,241,0.1), rgba(6,182,212,0.1));
  border: 1px solid rgba(99,102,241,0.15);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--indigo);
}
.ind-icon svg { width: 20px; height: 20px; }
.ind-card h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.6rem; }
.ind-card p  { font-size: 0.825rem; color: var(--sub); line-height: 1.6; }

/* ═══════════════════════ CLIENTS ═══════════════════════ */
#clients {
  padding: 8rem 2rem;
  max-width: 1280px;
  margin: 0 auto;
}

.clients-showcase {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 960px;
  margin: 0 auto;
}

.client-card {
  padding: 2.5rem;
  border-radius: var(--r2);
}
.client-logo-area {
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.client-logo-text {
  font-size: 1.75rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--text), var(--sub));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.client-detail p {
  font-size: 0.9rem;
  color: var(--sub);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 0.75rem;
}
.client-role { font-size: 0.78rem; color: var(--muted); }

.client-stat-row {
  display: flex;
  gap: 2rem;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.cs-stat { display: flex; flex-direction: column; gap: 0.2rem; }
.cs-stat span {
  font-size: 1.25rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--indigo), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}
.cs-stat small { font-size: 0.72rem; color: var(--muted); }

/* ═══════════════════════ RESULTS ═══════════════════════ */
#results {
  padding: 8rem 2rem;
  position: relative;
  overflow: hidden;
}
.results-bg-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(99,102,241,0.06) 0%, transparent 70%);
  pointer-events: none;
}
#results .section-header { max-width: 1280px; margin: 0 auto 4rem; }

.results-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}

.result-card {
  padding: 2rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  text-align: center;
  transition: var(--trans);
}
.result-card:hover {
  background: var(--card-h);
  border-color: rgba(99,102,241,0.25);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}

.result-num {
  font-size: 2.75rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--indigo) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.6rem;
}
.result-lbl {
  font-size: 0.825rem;
  color: var(--sub);
  margin-bottom: 1.25rem;
}
.result-bar {
  height: 3px;
  background: rgba(255,255,255,0.06);
  border-radius: 3px;
  overflow: hidden;
}
.result-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--indigo), var(--cyan));
  border-radius: 3px;
  transition: width 1.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.result-fill.animated { width: var(--fill); }

/* ═══════════════════════ AI VISUAL ═══════════════════════ */
#ai-visual {
  padding: 8rem 2rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, transparent, rgba(99,102,241,0.04) 50%, transparent);
}

#network-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.4;
}

.aiv-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 1;
}
.aiv-g1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(99,102,241,0.15) 0%, transparent 70%);
  left: 5%; top: 50%;
  transform: translateY(-50%);
}
.aiv-g2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(6,182,212,0.12) 0%, transparent 70%);
  right: 10%; top: 30%;
}

.aiv-inner {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.aiv-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}
.aiv-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.925rem;
  color: var(--sub);
}
.aiv-list svg { color: var(--green); flex-shrink: 0; margin-top: 2px; }

/* Orbital hub */
.orb-container {
  position: relative;
  width: 400px;
  height: 400px;
  margin: 0 auto;
}

.orb-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.orb-ring-1 {
  width: 340px; height: 340px;
  border-color: rgba(99,102,241,0.15);
  animation: spin 20s linear infinite;
}
.orb-ring-2 {
  width: 250px; height: 250px;
  border-color: rgba(6,182,212,0.12);
  animation: spin 14s linear infinite reverse;
}
.orb-ring-3 {
  width: 160px; height: 160px;
  border-color: rgba(139,92,246,0.12);
  animation: spin 8s linear infinite;
}

@keyframes spin { from { rotate: 0deg; } to { rotate: 360deg; } }

.orb-core {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 80px; height: 80px;
  background: linear-gradient(135deg, var(--indigo), var(--purple));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 900; color: #fff;
  box-shadow: 0 0 40px var(--glow-i), 0 0 80px rgba(99,102,241,0.15);
  animation: core-pulse 3s ease-in-out infinite;
}
@keyframes core-pulse {
  0%, 100% { box-shadow: 0 0 40px var(--glow-i), 0 0 80px rgba(99,102,241,0.15); }
  50%       { box-shadow: 0 0 60px rgba(99,102,241,0.5), 0 0 120px rgba(99,102,241,0.2); }
}

.orb-node {
  position: absolute;
  width: 44px; height: 44px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  top: 50%; left: 50%;
  transition: var(--trans);
}
.orb-node:hover { border-color: var(--indigo); transform: scale(1.1); }
.orb-node svg { width: 20px; height: 20px; }

.on-1 { transform: translate(-50%,-50%) translateX(170px); }
.on-2 { transform: translate(-50%,-50%) translateX(-170px); }
.on-3 { transform: translate(-50%,-50%) translateY(170px); }
.on-4 { transform: translate(-50%,-50%) translateY(-170px); }

.n-wa  { color: #25d366; }
.n-tg  { color: #29b6f6; }
.n-crm { color: var(--orange); }
.n-ai  { color: var(--indigo); }

/* ═══════════════════════ CTA ═══════════════════════ */
#cta {
  padding: 8rem 2rem;
  position: relative;
  overflow: hidden;
}
.cta-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 60%, rgba(99,102,241,0.1) 0%, transparent 65%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.cta-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin-bottom: 1.25rem;
}

.cta-sub {
  font-size: 1.05rem;
  color: var(--sub);
  max-width: 500px;
  margin: 0 auto 3rem;
  line-height: 1.7;
}

.cta-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-width: 440px;
  margin: 0 auto 1.5rem;
}
.cta-input {
  padding: 0.9rem 1.25rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-size: 0.925rem;
  outline: none;
  transition: var(--trans);
}
.cta-input::placeholder { color: var(--muted); }
.cta-input:focus {
  border-color: var(--indigo);
  background: rgba(99,102,241,0.07);
  box-shadow: 0 0 0 3px rgba(99,102,241,0.12);
}
.cta-form .btn-primary { justify-content: center; width: 100%; }

.cta-disclaimer {
  font-size: 0.78rem;
  color: var(--muted);
}

/* ═══════════════════════ FOOTER ═══════════════════════ */
footer {
  border-top: 1px solid var(--border);
  padding: 4rem 2rem 2rem;
}

.footer-top {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}
.footer-brand p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: 280px;
  margin-top: 0.75rem;
}
.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 1.25rem;
}
.footer-col a {
  display: block;
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 0.7rem;
  transition: var(--trans);
}
.footer-col a:hover { color: var(--text); }

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--muted);
}

/* ═══════════════════════ RESPONSIVE ═══════════════════════ */
@media (max-width: 1200px) {
  .features-grid    { grid-template-columns: repeat(2, 1fr); }
  .results-grid     { grid-template-columns: repeat(3, 1fr); }
  .ind-grid         { grid-template-columns: repeat(3, 1fr); }
  .footer-top       { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

@media (max-width: 900px) {
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: flex; }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 3rem 1.5rem;
    text-align: center;
  }
  .hero-content { display: flex; flex-direction: column; align-items: center; }
  .hero-sub { text-align: center; }
  .hero-visual { height: 380px; }
  .chat-card {
    width: 290px;
    transform: translate(-50%,-50%) perspective(1200px) rotateY(0) rotateX(0) !important;
    animation: chat-card-float-mobile 6s ease-in-out infinite !important;
  }
  @keyframes chat-card-float-mobile {
    0%, 100% { transform: translate(-50%,-50%) translateY(0); }
    50%       { transform: translate(-50%,-50%) translateY(-10px); }
  }
  .fc1, .fc2, .fc4 { display: none; }
  .fc3 { top: 2%; right: 0; }

  .steps-wrap        { grid-template-columns: 1fr; }
  .step-line         { display: none; }
  .features-grid     { grid-template-columns: repeat(2, 1fr); }
  .ind-grid          { grid-template-columns: repeat(2, 1fr); }
  .clients-showcase  { grid-template-columns: 1fr; }
  .results-grid      { grid-template-columns: repeat(2, 1fr); }
  .aiv-inner         { grid-template-columns: 1fr; }
  .orb-container     { display: none; }
  .footer-top        { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom     { flex-direction: column; gap: 0.5rem; text-align: center; }
}

@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .ind-grid      { grid-template-columns: 1fr; }
  .results-grid  { grid-template-columns: repeat(2, 1fr); }
  .int-grid      { flex-direction: column; align-items: center; }
  .int-card      { width: 100%; max-width: 300px; }
  .hero-stats    { flex-direction: column; gap: 0.75rem; width: 100%; }
  .h-stat-divider { width: 100%; height: 1px; }
  .client-stat-row { flex-direction: column; gap: 0.75rem; }
  #hero { min-height: auto; padding: 6rem 0 4rem; }
}
