/* ── RESET & BASE ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

:root {
  --bg: #07090D;
  --bg2: #0C1018;
  --bg3: #111620;
  --accent: #00FFB2;
  --accent2: #00C8FF;
  --accent3: #9B6DFF;
  --text: #EEF2F7;
  --muted: #7A8899;
  --border: rgba(0,255,178,0.1);
  --glow: 0 0 60px rgba(0,255,178,0.12);
  --r: 12px;
  --font-display: 'Syne', sans-serif;
  --font-body: 'Cabinet Grotesk', 'DM Sans', sans-serif;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  cursor: none;
}

/* ── CUSTOM CURSOR ── */
.cursor {
  position: fixed;
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s;
  mix-blend-mode: difference;
}
.cursor-follower {
  position: fixed;
  width: 32px; height: 32px;
  border: 1.5px solid rgba(0,255,178,0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.12s ease, width 0.3s, height 0.3s;
}
body:has(a:hover) .cursor { width: 14px; height: 14px; }
body:has(a:hover) .cursor-follower { width: 48px; height: 48px; border-color: var(--accent); }

/* ── PARTICLES ── */
#particles { position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: 0.6; }

/* ── TYPOGRAPHY ── */
h1,h2,h3,h4 { font-family: var(--font-display); line-height: 1.1; }
h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 1rem; }
h2 em { font-style: normal; color: var(--accent); }
h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.6rem; }
p { color: var(--muted); line-height: 1.75; font-weight: 400; }
a { text-decoration: none; color: inherit; }

/* ── LAYOUT ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 5%; }
.section { padding: 100px 0; position: relative; z-index: 1; }
.section-dark { background: var(--bg2); }

/* ── SECTION HEAD ── */
.section-head { margin-bottom: 4rem; }
.section-head p { max-width: 520px; margin-top: 0.75rem; font-size: 1.05rem; }
.label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  position: relative;
  padding-left: 1rem;
}
.label::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--bg);
  padding: 14px 28px;
  border-radius: var(--r);
  font-weight: 700;
  font-size: 0.95rem;
  font-family: var(--font-body);
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,255,255,0.15);
  transform: translateX(-100%);
  transition: transform 0.3s;
}
.btn-primary:hover::before { transform: translateX(0); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,255,178,0.35); }
.btn-primary.btn-xl { padding: 18px 36px; font-size: 1.05rem; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--r);
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.25s;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* ── NAV ── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 5%;
  transition: all 0.3s;
}
#navbar.scrolled {
  background: rgba(7,9,13,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 14px 5%;
}

/* ── NAV LOGO (image + text) ── */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo img { border-radius: 8px; object-fit: contain; }
.nav-logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
  color: var(--text);
}
.nav-logo-text em { font-style: normal; color: var(--accent); }

/* ── FOOTER LOGO ── */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.75rem;
}
.footer-logo img { border-radius: 6px; object-fit: contain; }
.footer-logo span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.03em;
  color: var(--text);
}
.footer-logo em { font-style: normal; color: var(--accent); }

.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { font-size: 0.9rem; font-weight: 500; color: var(--muted); transition: color 0.2s; }
.nav-links a:hover { color: var(--accent); }
.nav-right { display: flex; align-items: center; gap: 1rem; }
.lang-switch { display: flex; align-items: center; gap: 6px; font-size: 0.8rem; color: var(--muted); }
.lang-btn {
  background: none; border: none;
  color: var(--muted);
  font-size: 0.8rem; font-weight: 700;
  cursor: pointer;
  font-family: var(--font-body);
  padding: 4px 8px; border-radius: 6px;
  transition: all 0.2s;
}
.lang-btn.active { background: rgba(0,255,178,0.1); color: var(--accent); }
.lang-btn:hover { color: var(--accent); }
.nav-cta {
  display: flex; align-items: center; gap: 6px;
  background: var(--accent); color: var(--bg);
  padding: 9px 18px; border-radius: 8px;
  font-weight: 700; font-size: 0.85rem;
  transition: all 0.2s;
}
.nav-cta:hover { background: #00dda0; transform: translateY(-1px); }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.3s; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  padding: 120px 5% 80px;
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
}
.hero-bg-text {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(8rem, 20vw, 22rem);
  font-weight: 800;
  color: rgba(0,255,178,0.02);
  pointer-events: none;
  white-space: nowrap;
  letter-spacing: -0.05em;
  user-select: none;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,255,178,0.06);
  border: 1px solid rgba(0,255,178,0.18);
  border-radius: 20px;
  padding: 7px 16px;
  font-size: 0.78rem; font-weight: 600;
  color: var(--accent);
  margin-bottom: 2rem;
}
.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: blink 1.8s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1}50%{opacity:0.3} }

/* ── FIX TYPING SHAKE ── */
h1 { margin-bottom: 1.5rem; width: 100%; }
.h1-line { display: block; }
.hero-typed-line {
  display: block;
  min-height: 1.15em;
  /* Fixed height prevents layout shift */
}
.typed {
  display: inline-block;
  min-width: 240px;
  /* Width lock stops the shake */
}
h1 em { font-style: normal; color: var(--accent); }
.cursor-blink { color: var(--accent); animation: blink 0.8s infinite; }

.hero-sub { font-size: 1.1rem; max-width: 520px; margin-bottom: 2.5rem; color: var(--muted); }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.hero-stats {
  display: flex;
  gap: 0;
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; padding: 0 2rem 0 0; }
.stat:first-child { padding-left: 0; }
.stat-num { font-family: var(--font-display); font-size: 2.2rem; font-weight: 800; color: var(--accent); line-height: 1; }
.stat-suffix { font-family: var(--font-display); font-size: 1rem; color: var(--muted); font-weight: 600; }
.stat-label { font-size: 0.78rem; color: var(--muted); margin-top: 6px; text-transform: uppercase; letter-spacing: 0.05em; }
.stat-div { width: 1px; background: var(--border); margin: 0 2rem; align-self: stretch; }

/* ── HERO VISUAL (robot image) ── */
.hero-visual { display: flex; justify-content: center; align-items: center; }
.hero-img-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-robot-img {
  width: 100%;
  max-width: 440px;
  border-radius: 24px;
  animation: phoneFloat 4s ease-in-out infinite;
  filter: drop-shadow(0 0 40px rgba(0,255,178,0.25));
}
@keyframes phoneFloat { 0%,100%{transform:translateY(0)}50%{transform:translateY(-12px)} }
.hero-img-glow {
  position: absolute;
  inset: -30px;
  background: radial-gradient(circle, rgba(0,255,178,0.07) 0%, transparent 70%);
  pointer-events: none;
  border-radius: 50%;
}

/* ── PRODUCTS ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.pcard {
  background: var(--bg2);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}
.pcard::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.pcard:hover { background: var(--bg3); }
.pcard:hover::after { opacity: 1; }
.pcard-glow {
  position: absolute;
  top: -60px; right: -60px;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(0,255,178,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.pcard-glow-blue { background: radial-gradient(circle, rgba(0,200,255,0.08) 0%, transparent 70%); }
.pcard-glow-purple { background: radial-gradient(circle, rgba(155,109,255,0.08) 0%, transparent 70%); }
.pcard-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.pcard-icon { font-size: 2rem; }
.pill { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; padding: 4px 10px; border-radius: 20px; text-transform: uppercase; }
.pill-green { background: rgba(0,255,178,0.1); color: var(--accent); }
.pill-purple { background: rgba(155,109,255,0.1); color: var(--accent3); }
.flist { list-style: none; display: flex; flex-direction: column; gap: 8px; margin: 1rem 0 1.5rem; }
.flist li { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--muted); }
.flist li::before { content: '→'; color: var(--accent); font-weight: 700; flex-shrink: 0; }
.clink { font-size: 0.85rem; font-weight: 700; color: var(--accent); display: inline-flex; align-items: center; gap: 4px; transition: gap 0.2s; }
.clink:hover { gap: 8px; }

/* ── HOW IT WORKS ── */
.steps-wrap { position: relative; }
.steps-line {
  position: absolute;
  top: 28px; left: 28px; right: 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.3;
}
.steps-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.step { text-align: center; }
.step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 800;
  color: var(--accent);
  margin: 0 auto 1.5rem;
  background: var(--bg2);
  position: relative; z-index: 1;
}
.step p { font-size: 0.85rem; color: var(--muted); margin-top: 0.5rem; }

/* ── PRICING ── */
.pricing-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 760px;
}
.pricing-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  transition: all 0.3s;
  position: relative;
}
.pricing-card:hover { border-color: rgba(0,255,178,0.3); transform: translateY(-4px); box-shadow: var(--glow); }
.pricing-featured { border-color: var(--accent); background: rgba(0,255,178,0.04); }
.feat-tag {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent); color: var(--bg);
  font-size: 0.68rem; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 5px 16px; border-radius: 20px;
  white-space: nowrap;
}
.plan-name { font-family: var(--font-display); font-size: 0.85rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.75rem; }
.plan-price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 0.25rem; }
.amount { font-family: var(--font-display); font-size: 2.6rem; font-weight: 800; color: var(--text); }
.curr { font-size: 0.9rem; color: var(--muted); font-weight: 500; }
.per { font-size: 0.8rem; color: var(--muted); }
.plan-note { font-size: 0.8rem; color: var(--muted); margin-bottom: 2rem; }
.plan-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 2rem; }
.plan-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.88rem; color: var(--muted); }
.ck { color: var(--accent); font-weight: 700; flex-shrink: 0; }
.plan-btn { display: block; text-align: center; padding: 13px; border-radius: var(--r); font-weight: 700; font-size: 0.9rem; transition: all 0.2s; font-family: var(--font-body); }
.plan-btn-outline { border: 1px solid var(--border); color: var(--text); }
.plan-btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.plan-btn-solid { background: var(--accent); color: var(--bg); }
.plan-btn-solid:hover { background: #00dda0; transform: translateY(-1px); }

/* ── WEBSITE SAMPLES ── */
.samples-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; margin-bottom: 3rem; }
.scard { background: rgba(255,255,255,0.02); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; transition: all 0.3s; }
.scard:hover { border-color: rgba(0,255,178,0.25); transform: translateY(-4px); }
.scard-vis { height: 160px; display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.s1 { background: linear-gradient(135deg, #0A1628 0%, #162544 100%); }
.s2 { background: linear-gradient(135deg, #1A0A0A 0%, #3A1515 100%); }
.s3 { background: linear-gradient(135deg, #0A1A0A 0%, #153A20 100%); }
.s4 { background: linear-gradient(135deg, #140A2A 0%, #251540 100%); }
.scard-body { padding: 1.25rem; }
.stype { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); display: block; margin-bottom: 0.4rem; }
.scard-body p { font-size: 0.82rem; margin-top: 0.3rem; }
.samples-footer { text-align: center; }
.samples-footer p { margin-bottom: 1.5rem; font-size: 1.05rem; }

/* ── ABOUT ── */
.about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.about-left p { margin-bottom: 1.25rem; }
.about-left .btn-primary { margin-top: 1rem; }
.about-right { display: flex; flex-direction: column; gap: 1rem; }
.about-head-img { display: flex; justify-content: center; margin-bottom: 1rem; }
.about-head { width: 180px; border-radius: 16px; filter: drop-shadow(0 0 20px rgba(0,255,178,0.2)); }
.acard {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem;
  display: flex; align-items: flex-start; gap: 1rem;
  transition: all 0.3s;
}
.acard:hover { border-color: rgba(0,255,178,0.25); background: rgba(0,255,178,0.03); }
.acard-icon { font-size: 1.5rem; flex-shrink: 0; }
.acard p { font-size: 0.87rem; margin: 0; }

/* ── CTA ── */
.cta-band { padding: 100px 5%; position: relative; z-index: 1; }
.cta-inner {
  background: linear-gradient(135deg, rgba(0,255,178,0.04) 0%, rgba(0,200,255,0.04) 100%);
  border: 1px solid rgba(0,255,178,0.18);
  border-radius: 24px;
  padding: 5rem 3rem;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.cta-glow {
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,255,178,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.cta-inner h2 { margin-bottom: 1rem; }
.cta-inner p { max-width: 440px; margin: 0 auto 2.5rem; }

/* ── FOOTER ── */
footer { border-top: 1px solid var(--border); position: relative; z-index: 1; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 4rem; padding: 4rem 5%; flex-wrap: wrap; }
.footer-brand p { font-size: 0.88rem; color: var(--muted); margin-bottom: 0.4rem; }
.footer-cols { display: flex; gap: 4rem; }
.footer-cols div { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-cols h4 { font-family: var(--font-display); font-size: 0.85rem; font-weight: 700; margin-bottom: 0.4rem; }
.footer-cols a { font-size: 0.85rem; color: var(--muted); transition: color 0.2s; }
.footer-cols a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--border); padding: 1.5rem 5%; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { font-size: 0.82rem; color: var(--muted); }

/* ── SOCIAL LINKS ── */
.social-links { display: flex; gap: 0.75rem; margin-top: 1.25rem; flex-wrap: wrap; }
.social-link {
  width: 38px; height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  transition: all 0.2s;
  background: rgba(255,255,255,0.02);
}
.social-link:hover { border-color: var(--accent); color: var(--accent); background: rgba(0,255,178,0.06); transform: translateY(-2px); }

/* ── WHATSAPP FAB ── */
.wa-fab {
  position: fixed;
  bottom: 2rem; right: 2rem;
  z-index: 50;
  width: 58px; height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 24px rgba(37,211,102,0.45);
  transition: all 0.3s;
  animation: fabFloat 3s ease-in-out infinite;
}
.wa-fab svg { width: 28px; height: 28px; }
.wa-fab:hover { transform: scale(1.12); box-shadow: 0 8px 32px rgba(37,211,102,0.55); }
@keyframes fabFloat { 0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)} }

/* ── REVEAL ANIMATIONS ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.45s; }
.card-reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.card-reveal.visible { opacity: 1; transform: translateY(0); }
[data-tilt] { transform-style: preserve-3d; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 100px; }
  .hero-visual { display: none; }
  .steps-row { grid-template-columns: repeat(2, 1fr); }
  .steps-line { display: none; }
  .about-layout { grid-template-columns: 1fr; gap: 3rem; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero-stats { gap: 0; }
  .stat-div { margin: 0 1rem; }
  h1 { font-size: 2.6rem; }
  .steps-row { grid-template-columns: 1fr; }
  .pricing-row { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; gap: 2rem; }
  .footer-cols { gap: 2rem; }
}

/* ── MOBILE NAV ── */
.nav-links.open {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(7,9,13,0.98);
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  z-index: 99;
}
.nav-links.open a { font-size: 1.5rem; }