/* ═══════════════════════════════════════════════════════
   InteliBots — Shared Stylesheet
   ═══════════════════════════════════════════════════════ */

/* ── RESET & ROOT ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:       #FFFFFF;
  --bg2:      #F4F7FF;
  --bg3:      #EBF0FC;
  --card:     rgba(13, 27, 75, 0.04);
  --border:   rgba(13, 27, 75, 0.10);
  --border2:  rgba(13, 27, 75, 0.20);
  --accent:         #1A56DB;
  --accent-dim:     rgba(26, 86, 219, 0.10);
  --accent-glow:    rgba(26, 86, 219, 0.22);
  --text:     #0D1B4B;
  --text-mid: rgba(13, 27, 75, 0.65);
  --text-dim: rgba(13, 27, 75, 0.50);
  --sans:  'Plus Jakarta Sans', sans-serif;
  --serif: 'Lora', serif;
  --mono:  'JetBrains Mono', monospace;
  --r-sm:  10px;
  --r-md:  16px;
  --r-lg:  24px;
  --r-xl:  32px;
  --r-full: 100px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 2px; }

/* ── CURSOR GLOW ── */
.cursor-glow {
  position: fixed;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26,86,219,0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
  will-change: left, top;
}

/* ── NAVIGATION ── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5vw; height: 68px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
nav.scrolled {
  border-color: var(--border);
  box-shadow: 0 2px 24px rgba(13, 27, 75, 0.06);
}

.nav-logo {
  font-weight: 800; font-size: 19px; letter-spacing: -0.5px;
  color: var(--text); text-decoration: none;
  display: flex; align-items: center; gap: 8px;
}
.nav-logo img { height: 32px; width: auto; display: block; }

.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  font-size: 14px; font-weight: 500;
  color: var(--text-mid); text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--accent); }

.nav-cta {
  background: var(--accent); color: #fff;
  padding: 9px 20px; border-radius: var(--r-full);
  font-size: 13px; font-weight: 700; text-decoration: none;
  box-shadow: 0 0 20px var(--accent-glow);
  transition: transform 0.15s, box-shadow 0.15s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 0 30px var(--accent-glow); }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 10px;
  margin-right: -10px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* Mobile menu */
.mobile-menu {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  width: 100%; height: 100%;
  z-index: 9999; background: #F4F7FF;
  padding: 80px 5vw 40px;
  display: flex; flex-direction: column; gap: 4px;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  font-size: 26px; font-weight: 700; letter-spacing: -0.02em;
  color: var(--text); text-decoration: none;
  padding: 14px 0; border-bottom: 1px solid var(--border);
  opacity: 0; transform: translateX(20px);
  transition: opacity 0.3s, transform 0.3s;
}
.mobile-menu.open a { opacity: 1; transform: none; }
.mobile-menu.open a:nth-child(1) { transition-delay: 0.05s; }
.mobile-menu.open a:nth-child(2) { transition-delay: 0.10s; }
.mobile-menu.open a:nth-child(3) { transition-delay: 0.15s; }
.mobile-menu.open a:nth-child(4) { transition-delay: 0.20s; }
.mobile-menu.open a:nth-child(5) { transition-delay: 0.25s; }
.mobile-menu.open a:nth-child(6) { transition-delay: 0.30s; }
.mob-cta {
  margin-top: 24px !important;
  background: var(--accent) !important;
  color: #fff !important;
  text-align: center;
  border-radius: 12px !important;
  font-size: 18px !important;
  border-bottom: none !important;
  padding: 18px 0 !important;
}

/* ── SECTION COMMONS ── */
section { padding: 100px 5vw; }

.s-label {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.s-label::before {
  content: ''; display: block;
  width: 20px; height: 1.5px; background: var(--accent);
}

.s-title {
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.05;
}
.s-title em {
  font-family: var(--serif); font-style: italic;
  font-weight: 400; color: var(--accent);
}

/* ── REVEAL ANIMATIONS ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s, transform 0.6s; will-change: transform, opacity; }
.reveal.visible { opacity: 1; transform: none; will-change: auto; }
.d1 { transition-delay: 0.10s; }
.d2 { transition-delay: 0.20s; }
.d3 { transition-delay: 0.30s; }
.d4 { transition-delay: 0.40s; }

/* ── BUTTONS ── */
.btn-primary {
  background: var(--accent); color: #fff;
  padding: 15px 28px; border-radius: var(--r-full);
  font-size: 15px; font-weight: 700; text-decoration: none;
  box-shadow: 0 0 28px var(--accent-glow);
  display: inline-flex; align-items: center; gap: 8px;
  transition: transform 0.15s, box-shadow 0.2s;
  border: none; cursor: pointer; font-family: var(--sans);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 40px var(--accent-glow); }

.btn-ghost {
  background: transparent; color: var(--text);
  padding: 15px 28px; border-radius: var(--r-full);
  font-size: 15px; font-weight: 600; text-decoration: none;
  border: 1px solid var(--border2);
  display: inline-flex; align-items: center; gap: 8px;
  transition: border-color 0.2s, transform 0.15s;
}
.btn-ghost:hover { border-color: var(--text-mid); transform: translateY(-2px); }

/* ── HERO COMMONS ── */
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent-dim); border: 1px solid rgba(26,86,219,0.25);
  color: var(--accent); font-size: 11px; font-weight: 700;
  padding: 6px 14px; border-radius: var(--r-full);
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 28px;
}
.hero-h1 {
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 800; line-height: 1.0; letter-spacing: -0.04em;
  margin-bottom: 24px;
}
.hero-h1 em {
  font-family: var(--serif); font-style: italic;
  font-weight: 400; color: var(--accent); letter-spacing: -0.02em;
}
.hero-sub {
  font-size: clamp(15px, 1.5vw, 18px);
  color: var(--text-mid); line-height: 1.7; margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero grid background */
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(26,86,219,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,86,219,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 80% at 60% 50%, black 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 60% 50%, black 0%, transparent 100%);
}
.hero-glow {
  position: absolute;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(26,86,219,0.08) 0%, transparent 70%);
  left: 50%; top: 50%; transform: translate(-50%, -50%);
  animation: hero-float 8s ease-in-out infinite;
}
@keyframes hero-float {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50%       { transform: translate(-50%, -54%) scale(1.04); }
}

/* ── LOGOS MARQUEE ── */
.logos-section {
  padding: 40px 5vw;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.logos-label {
  font-size: 12px; color: var(--text-dim); font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  text-align: center; margin-bottom: 28px;
}
.logos-wrap { overflow: hidden; }
.logos-track {
  display: flex; gap: 64px;
  animation: marquee 22s linear infinite;
  width: max-content;
}
.logos-track:hover { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.logo-item {
  font-size: 13px; font-weight: 700; letter-spacing: 0.04em;
  color: var(--text-dim); white-space: nowrap;
  display: flex; align-items: center; gap: 12px;
  transition: color 0.2s; cursor: default;
}
.logo-item:hover { color: var(--text-mid); }
.logo-item::after { content: '✦'; font-size: 8px; color: var(--accent); opacity: 0.5; }

/* ── PRICING CARDS ── */
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 56px; }
.price-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 40px 36px;
  position: relative;
}
.price-card.featured { border-color: var(--accent); box-shadow: 0 0 40px var(--accent-dim); }
.price-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff;
  font-size: 11px; font-weight: 700;
  padding: 4px 16px; border-radius: var(--r-full);
  letter-spacing: 0.06em; white-space: nowrap;
}
.price-name {
  font-size: 14px; font-weight: 700; color: var(--text-dim);
  letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 16px;
}
.price-num {
  font-size: clamp(32px, 4vw, 48px); font-weight: 800;
  letter-spacing: -0.04em; line-height: 1;
}
.price-num span { color: var(--accent); }
.price-period { font-size: 14px; color: var(--text-mid); margin-top: 6px; margin-bottom: 24px; }
.price-feats { display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.price-feat { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-mid); }
.price-feat::before { content: '✓'; color: var(--accent); font-weight: 700; flex-shrink: 0; }
.price-note { font-size: 12px; color: var(--text-dim); margin-top: 16px; line-height: 1.5; }

/* ── CTA SECTION ── */
.cta-section {
  background: var(--bg); text-align: center;
  position: relative; overflow: hidden;
  padding: 120px 5vw;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 100%, rgba(26,86,219,0.08) 0%, transparent 100%);
}
.cta-section > * { position: relative; z-index: 1; }
.cta-title {
  font-size: clamp(36px, 6vw, 76px); font-weight: 800;
  letter-spacing: -0.04em; line-height: 1.0;
  max-width: 760px; margin: 0 auto 24px;
}
.cta-title em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--accent); }
.cta-sub { font-size: 18px; color: var(--text-mid); max-width: 480px; margin: 0 auto 44px; line-height: 1.6; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.urgency {
  margin-top: 28px; font-size: 13px; color: var(--text-dim);
  display: flex; align-items: center; gap: 8px; justify-content: center;
}
.urgency-dot { width: 6px; height: 6px; border-radius: 50%; background: #FF6B35; animation: pulse-red 1.5s infinite; }
@keyframes pulse-red { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

/* ── WHATSAPP FLOAT ── */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 500;
  width: 48px; height: 48px; border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.45);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  animation: wa-appear 0.5s 1.5s cubic-bezier(0.34,1.56,0.64,1) both;
}
@keyframes wa-appear {
  from { opacity:0; transform:scale(0.5) translateY(20px); }
  to   { opacity:1; transform:scale(1)   translateY(0); }
}
.wa-float:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 32px rgba(37,211,102,0.60);
}
.wa-float svg { width: 24px; height: 24px; fill: white; display: block; }
.wa-float-tip {
  position: absolute; right: 72px; top: 50%; transform: translateY(-50%);
  background: #111827; color: white;
  font-size: 13px; font-weight: 600;
  padding: 8px 14px; border-radius: 8px;
  white-space: nowrap; pointer-events: none;
  opacity: 0; transition: opacity 0.2s;
  font-family: var(--sans);
}
.wa-float-tip::after {
  content: ''; position: absolute;
  left: 100%; top: 50%; transform: translateY(-50%);
  border: 6px solid transparent; border-left-color: #111827;
}
.wa-float:hover .wa-float-tip { opacity: 1; }
.wa-float-pulse {
  position: absolute; inset: 0; border-radius: 50%;
  background: #25D366; opacity: 0;
  animation: wa-pulse 2.5s ease-out 2s infinite;
}
@keyframes wa-pulse {
  0%   { transform: scale(1);   opacity: 0.5; }
  100% { transform: scale(1.7); opacity: 0; }
}

/* ── FOOTER ── */
footer {
  background: var(--bg2); border-top: 1px solid var(--border);
  padding: 60px 5vw 36px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--border);
}
.footer-brand p {
  font-size: 13px; color: var(--text-mid); line-height: 1.7;
  max-width: 220px; margin-top: 14px;
}
.footer-col h4 {
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-dim); margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 13px; color: var(--text-mid); text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: var(--text); }
.footer-social { display: flex; gap: 16px; margin-top: 20px; }
.footer-social a { font-size: 13px; color: var(--text-mid); text-decoration: none; transition: color 0.2s; }
.footer-social a:hover { color: var(--text); }
.footer-bottom {
  padding-top: 28px; display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 12px; font-size: 12px; color: var(--text-dim);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .pricing-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  section { padding: 72px 5vw; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn-primary,
  .hero-actions .btn-ghost { text-align: center; justify-content: center; }
}
