/* =============================================
   SCALE PILOT AGENCY — style.css
   Dark Purple Theme | Full Redesign
   ============================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-primary: #07070f;
  --bg-secondary: #0c0c18;
  --bg-card: rgba(255,255,255,0.04);
  --bg-card-hover: rgba(255,255,255,0.07);
  --purple-300: #d8b4fe;
  --purple-400: #c084fc;
  --purple-500: #a855f7;
  --purple-600: #9333ea;
  --purple-700: #7c3aed;
  --violet-500: #8b5cf6;
  --pink-500: #ec4899;
  --text-primary: #f0eeff;
  --text-secondary: #a09ab8;
  --text-muted: #5e596e;
  --border: rgba(139,92,246,0.14);
  --border-hover: rgba(139,92,246,0.45);
  --glow: 0 0 40px rgba(139,92,246,0.22);
  --glow-strong: 0 0 80px rgba(139,92,246,0.38);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.65;
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--purple-700); border-radius: 3px; }

h1,h2,h3,h4 { font-family: 'Space Grotesk', sans-serif; line-height: 1.15; }

.gradient-text {
  background: linear-gradient(135deg, var(--purple-400) 0%, var(--violet-500) 50%, #e879f9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── BUTTONS ─────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 50px;
  font-weight: 600; font-size: 0.95rem;
  text-decoration: none; cursor: pointer;
  transition: var(--transition); border: none;
  font-family: 'Inter', sans-serif;
  position: relative; overflow: hidden;
}
.btn-primary {
  background: linear-gradient(135deg, var(--purple-600), var(--violet-500));
  color: #fff;
  box-shadow: 0 4px 24px rgba(139,92,246,0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 40px rgba(139,92,246,0.55); }
.btn-ghost {
  background: transparent; color: var(--text-primary);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover { border-color: var(--purple-500); color: var(--purple-400); transform: translateY(-2px); box-shadow: var(--glow); }
.btn-full { width: 100%; justify-content: center; border-radius: var(--radius-sm); }

/* ── SECTION COMMONS ─────────────────────────── */
.section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-tag {
  display: inline-block; padding: 6px 16px; border-radius: 50px;
  background: rgba(139,92,246,0.1); border: 1px solid var(--border);
  color: var(--purple-400); font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.8px; margin-bottom: 16px;
}
.section-title { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 16px; }
.section-sub { color: var(--text-secondary); font-size: 1.05rem; max-width: 580px; margin: 0 auto; }

/* ── REVEAL ──────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ticker removed */

/* ── NAVBAR ──────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 18px 0; transition: var(--transition);
}
.navbar.scrolled {
  top: 0;
  background: rgba(7,7,15,0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 40px rgba(0,0,0,0.5);
}
.nav-container {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; font-family: 'Space Grotesk', sans-serif;
  font-size: 1.65rem; font-weight: 800; color: var(--text-primary);
}
.logo-icon { display: flex; align-items: center; filter: drop-shadow(0 0 10px rgba(168,85,247,0.7)); flex-shrink: 0; }
.logo-text {
  background: linear-gradient(135deg, var(--purple-400), #e879f9);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { color: var(--text-secondary); text-decoration: none; font-size: 0.88rem; font-weight: 500; transition: var(--transition); }
.nav-links a:hover { color: var(--text-primary); }
.nav-links .nav-cta {
  background: linear-gradient(135deg, var(--purple-600), var(--violet-500));
  color: #fff !important; padding: 10px 20px; border-radius: 50px;
  font-weight: 600; box-shadow: 0 4px 20px rgba(139,92,246,0.3);
}
.nav-links .nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 30px rgba(139,92,246,0.5); }
.nav-links .nav-portal-btn {
  border: 1px solid rgba(139,92,246,0.5); color: var(--purple-400) !important;
  padding: 8px 18px; border-radius: 50px; font-weight: 600; font-size: 0.84rem;
  transition: var(--transition);
}
.nav-links .nav-portal-btn:hover { background: rgba(139,92,246,0.12); border-color: var(--purple-400); color: #fff !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: var(--transition); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ────────────────────────────────────── */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  padding: 160px 24px 100px;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.3; animation: orbFloat 9s ease-in-out infinite alternate; }
.orb-1 { width: 700px; height: 700px; background: radial-gradient(circle, #7c3aed 0%, transparent 70%); top: -250px; left: -250px; }
.orb-2 { width: 500px; height: 500px; background: radial-gradient(circle, #a855f7 0%, transparent 70%); bottom: -150px; right: -150px; animation-delay: -3s; }
.orb-3 { width: 350px; height: 350px; background: radial-gradient(circle, #e879f9 0%, transparent 70%); top: 50%; left: 50%; opacity: 0.15; animation-delay: -6s; }
@keyframes orbFloat { 0% { transform: translate(0,0) scale(1); } 100% { transform: translate(25px,-25px) scale(1.06); } }
.grid-overlay {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(139,92,246,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(139,92,246,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
}
.hero-content { position: relative; z-index: 1; text-align: center; max-width: 860px; width: 100%; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 20px; border-radius: 50px;
  background: rgba(139,92,246,0.1); border: 1px solid var(--border);
  color: var(--purple-400); font-size: 0.82rem; font-weight: 600;
  margin-bottom: 24px; animation: fadeInDown 0.7s ease 0.1s both;
}
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--purple-500); animation: pulse 2s ease infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(168,85,247,0.5); } 50% { box-shadow: 0 0 0 6px rgba(168,85,247,0); } }
.hero-title {
  font-size: clamp(2.6rem, 7vw, 4.8rem); font-weight: 900;
  line-height: 1.08; margin-bottom: 20px;
  animation: fadeInDown 0.7s ease 0.25s both;
}
.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.15rem); color: var(--text-secondary);
  max-width: 640px; margin: 0 auto 20px;
  animation: fadeInDown 0.7s ease 0.4s both;
}
.hero-trust {
  display: flex; align-items: center; justify-content: center; gap: 24px;
  flex-wrap: wrap; margin-bottom: 32px;
  animation: fadeInDown 0.7s ease 0.5s both;
}
.hero-trust span {
  display: flex; align-items: center; gap: 6px;
  color: var(--text-secondary); font-size: 0.85rem;
}
.hero-trust svg { color: var(--purple-400); flex-shrink: 0; }
.hero-cta-group {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  flex-wrap: wrap; margin-bottom: 44px;
  animation: fadeInDown 0.7s ease 0.6s both;
}

/* Dashboard widget */
.hero-dashboard {
  background: rgba(15,15,30,0.85);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 28px;
  max-width: 520px; margin: 0 auto 44px;
  backdrop-filter: blur(20px);
  animation: fadeInDown 0.7s ease 0.75s both;
  text-align: left;
}
.dash-header {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.2px; color: var(--text-muted); margin-bottom: 16px;
}
.dash-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; flex-shrink: 0; animation: pulse 1.5s ease infinite; }
.dash-growth { margin-left: auto; color: #22c55e; font-size: 0.78rem; }
.dash-stats { display: flex; gap: 32px; margin-bottom: 14px; }
.dash-stat {}
.dash-num {
  display: block; font-size: 1.8rem; font-weight: 800;
  font-family: 'Space Grotesk', sans-serif;
  background: linear-gradient(135deg, var(--purple-400), #e879f9);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.dash-label { font-size: 0.75rem; color: var(--text-muted); }
.dash-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.dash-tags span {
  padding: 4px 10px; border-radius: 50px;
  background: rgba(139,92,246,0.12); border: 1px solid var(--border);
  color: var(--purple-400); font-size: 0.72rem; font-weight: 600;
}

/* Hero stats row */
.hero-stats {
  display: flex; align-items: center; justify-content: center; gap: 32px;
  flex-wrap: wrap; animation: fadeInDown 0.7s ease 0.9s both;
}
.stat { text-align: center; }
.stat-num {
  display: inline; font-size: 2.4rem; font-weight: 800;
  font-family: 'Space Grotesk', sans-serif;
  background: linear-gradient(135deg, var(--purple-400), #e879f9);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-suffix {
  font-size: 1.5rem; font-weight: 800; font-family: 'Space Grotesk', sans-serif;
  background: linear-gradient(135deg, var(--purple-400), #e879f9);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-label { display: block; font-size: 0.75rem; color: var(--text-muted); margin-top: 4px; }
.stat-divider { width: 1px; height: 36px; background: var(--border); }

/* ── SCROLL INDICATOR (fixed) ─────────────────── */
.scroll-indicator {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: var(--text-muted); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 1px; text-transform: uppercase;
  text-decoration: none; z-index: 1;
  animation: fadeIn 1s ease 1.4s both;
  transition: color var(--transition);
}
.scroll-indicator:hover { color: var(--purple-400); }
.mouse-icon {
  width: 26px; height: 40px; border-radius: 13px;
  border: 2px solid currentColor;
  display: flex; justify-content: center;
  padding-top: 6px;
  animation: mouseBob 2.5s ease-in-out infinite;
}
.mouse-wheel {
  width: 4px; height: 8px; border-radius: 2px;
  background: var(--purple-400);
  animation: mouseScroll 2.5s ease-in-out infinite;
}
@keyframes mouseBob {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}
@keyframes mouseScroll {
  0% { opacity: 1; transform: translateY(0); }
  80% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 0; transform: translateY(0); }
}
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ── SERVICES ────────────────────────────────── */
.services { background: var(--bg-primary); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; }
.service-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px;
  transition: var(--transition); position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--purple-600), #e879f9);
  transform: scaleX(0); transform-origin: left; transition: var(--transition);
}
.service-card:hover { border-color: var(--border-hover); background: var(--bg-card-hover); transform: translateY(-5px); box-shadow: var(--glow), 0 20px 60px rgba(0,0,0,0.3); }
.service-card:hover::before { transform: scaleX(1); }
.service-card--wide { grid-column: span 1; }
@media (min-width: 1000px) { .service-card--wide { grid-column: span 2; } }
.service-icon { font-size: 2.2rem; margin-bottom: 14px; display: block; }
.service-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.service-card > p { color: var(--text-secondary); font-size: 0.88rem; line-height: 1.75; margin-bottom: 14px; }
.service-bullets { list-style: none; margin-bottom: 16px; }
.service-bullets li {
  color: var(--text-secondary); font-size: 0.83rem; padding: 4px 0;
  padding-left: 16px; position: relative;
}
.service-bullets li::before {
  content: '→'; position: absolute; left: 0;
  color: var(--purple-400); font-size: 0.75rem;
}
.service-tag {
  display: inline-block; padding: 4px 12px; border-radius: 50px;
  background: rgba(139,92,246,0.1); border: 1px solid var(--border);
  color: var(--purple-400); font-size: 0.72rem; font-weight: 700;
}

/* ── PORTFOLIO ───────────────────────────────── */
.portfolio { background: var(--bg-primary); }
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(480px, 1fr)); gap: 22px; }
.portfolio-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  transition: var(--transition); position: relative; overflow: hidden;
}
.portfolio-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--purple-600), #e879f9);
  transform: scaleX(0); transform-origin: left; transition: var(--transition);
}
.portfolio-card:hover { border-color: var(--border-hover); transform: translateY(-5px); box-shadow: var(--glow); }
.portfolio-card:hover::after { transform: scaleX(1); }
.portfolio-header {
  display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px;
}
.portfolio-icon { font-size: 2rem; flex-shrink: 0; margin-top: 2px; }
.portfolio-header > div:nth-child(2) { flex: 1; }
.portfolio-tag {
  display: inline-block; padding: 3px 10px; border-radius: 50px;
  background: rgba(139,92,246,0.1); border: 1px solid var(--border);
  color: var(--purple-400); font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; margin-bottom: 4px;
}
.portfolio-header h3 { font-size: 1.1rem; font-weight: 700; }
.portfolio-metric {
  text-align: right; flex-shrink: 0;
  font-size: 1.9rem; font-weight: 900; font-family: 'Space Grotesk', sans-serif;
  background: linear-gradient(135deg, var(--purple-400), #e879f9);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  line-height: 1.1;
}
.portfolio-metric span {
  display: block; font-size: 0.68rem; font-weight: 600;
  color: var(--text-muted); -webkit-text-fill-color: var(--text-muted);
}
.portfolio-blocks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.p-block {
  padding: 14px; border-radius: var(--radius-sm);
}
.p-block--problem { background: rgba(239,68,68,0.06); border: 1px solid rgba(239,68,68,0.15); }
.p-block--solution { background: rgba(34,197,94,0.06); border: 1px solid rgba(34,197,94,0.15); }
.p-block h4 { font-size: 0.78rem; font-weight: 700; margin-bottom: 6px; }
.p-block p { color: var(--text-secondary); font-size: 0.8rem; line-height: 1.65; }
.portfolio-result {
  padding: 10px 14px; border-radius: var(--radius-xs);
  background: rgba(139,92,246,0.08); border: 1px solid var(--border);
  color: var(--purple-400); font-size: 0.8rem; font-weight: 600;
}

/* ── TESTIMONIALS ────────────────────────────── */
.testimonials { background: var(--bg-secondary); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.testimonial-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px; transition: var(--transition);
}
.testimonial-card:hover { border-color: var(--border-hover); transform: translateY(-4px); box-shadow: var(--glow); }
.stars { color: #f59e0b; font-size: 1.1rem; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-card p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.8; font-style: italic; margin-bottom: 22px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--purple-600), #e879f9);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.8rem; color: #fff;
}
.testimonial-author strong { display: block; font-size: 0.88rem; }
.testimonial-author span { color: var(--text-muted); font-size: 0.78rem; }


/* ── ABOUT ───────────────────────────────────── */
.about { background: var(--bg-secondary); }
.about-container { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.about-visual { position: relative; display: flex; align-items: center; justify-content: center; min-height: 420px; }
.about-card-stack { position: relative; width: 320px; height: 320px; }
.about-card {
  position: absolute; padding: 14px 20px; border-radius: var(--radius);
  background: var(--bg-card); border: 1px solid var(--border);
  display: flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 0.88rem; white-space: nowrap;
  backdrop-filter: blur(10px);
}
.ac-1 { top: 0; left: 0; animation: cardFloat 4s ease-in-out infinite alternate; }
.ac-2 { top: 38%; right: 0; animation: cardFloat 4s ease-in-out infinite alternate; animation-delay: -1.5s; }
.ac-3 { bottom: 20%; left: 0; animation: cardFloat 4s ease-in-out infinite alternate; animation-delay: -2.8s; }
.ac-4 { bottom: 0; right: 5%; animation: cardFloat 4s ease-in-out infinite alternate; animation-delay: -0.8s; }
@keyframes cardFloat { from { transform: translateY(0); } to { transform: translateY(-10px); } }
.about-orb {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(139,92,246,0.25) 0%, transparent 70%);
  filter: blur(32px); animation: orbFloat 5s ease-in-out infinite alternate;
}
.about-content .section-tag { display: inline-block; margin-bottom: 16px; }
.about-content .section-title { text-align: left; font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 20px; }
.about-content > p { color: var(--text-secondary); margin-bottom: 14px; font-size: 0.92rem; line-height: 1.8; }
.about-values { margin-top: 28px; display: flex; flex-direction: column; gap: 18px; }
.value-item { display: flex; align-items: flex-start; gap: 14px; }
.value-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.value-item strong { display: block; font-size: 0.92rem; margin-bottom: 3px; }
.value-item p { margin: 0; font-size: 0.83rem; color: var(--text-secondary); }
/* Why us strip inside About */
.about-why {
  margin-top: 32px; padding: 24px;
  background: rgba(139,92,246,0.06); border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.about-why h3 { font-size: 1.05rem; margin-bottom: 16px; }
.why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.why-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.84rem; color: var(--text-secondary);
}
.why-item span { color: var(--purple-400); font-weight: 700; flex-shrink: 0; }

/* ── CONTACT ─────────────────────────────────── */
.contact { background: var(--bg-secondary); }
.contact-wrapper { display: grid; grid-template-columns: 1fr 380px; gap: 44px; align-items: start; }
.contact-form {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 36px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 600; margin-bottom: 7px; color: var(--text-secondary); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 11px 15px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.05); border: 1.5px solid var(--border);
  color: var(--text-primary); font-family: 'Inter', sans-serif; font-size: 0.88rem;
  transition: var(--transition); outline: none; resize: vertical;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-muted); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--purple-500); box-shadow: 0 0 0 3px rgba(139,92,246,0.14);
  background: rgba(139,92,246,0.05);
}
.form-group select option { background: #12121f; color: var(--text-primary); }
.form-note { text-align: center; color: var(--text-muted); font-size: 0.78rem; margin-top: 12px; }
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.contact-info-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
}
.contact-info-card h3 { font-size: 1.1rem; margin-bottom: 18px; }
.contact-info-card ul { list-style: none; }
.contact-info-card li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 9px 0; color: var(--text-secondary); font-size: 0.87rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.contact-info-card li:last-child { border-bottom: none; }
.contact-info-card li span { font-size: 1rem; flex-shrink: 0; }
.contact-channels { display: flex; flex-direction: column; gap: 10px; }
.channel-link {
  display: flex; align-items: center; gap: 12px; padding: 13px 18px;
  border-radius: var(--radius-sm); background: var(--bg-card);
  border: 1px solid var(--border); color: var(--text-secondary);
  text-decoration: none; font-size: 0.88rem; transition: var(--transition);
}
.channel-link:hover { border-color: var(--purple-500); color: var(--purple-400); transform: translateX(4px); }
.contact-serving {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 16px 18px;
}
.contact-serving strong { display: block; font-size: 0.8rem; margin-bottom: 10px; color: var(--text-secondary); }
.serving-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.serving-tags span {
  padding: 4px 10px; border-radius: 50px;
  background: rgba(139,92,246,0.1); border: 1px solid var(--border);
  color: var(--purple-400); font-size: 0.75rem; font-weight: 600;
}

/* ── FOOTER ──────────────────────────────────── */
.footer { background: #050509; border-top: 1px solid var(--border); padding: 64px 0 28px; }
.footer-top { display: grid; grid-template-columns: 1fr 2.2fr; gap: 64px; margin-bottom: 48px; }
.footer-brand p { color: var(--text-muted); font-size: 0.85rem; line-height: 1.75; margin-top: 16px; max-width: 260px; }
.footer-socials { display: flex; gap: 10px; margin-top: 20px; }
.footer-socials a {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--bg-card); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 0.75rem; font-weight: 700;
  text-decoration: none; transition: var(--transition);
}
.footer-socials a:hover { border-color: var(--purple-500); color: var(--purple-400); }
.footer-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.footer-col h4 { font-size: 0.8rem; font-weight: 700; color: var(--text-primary); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; }
.footer-col a, .footer-col span { display: block; color: var(--text-muted); text-decoration: none; font-size: 0.84rem; padding: 4px 0; transition: var(--transition); }
.footer-col a:hover { color: var(--purple-400); transform: translateX(3px); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 28px; border-top: 1px solid var(--border);
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { color: var(--text-muted); font-size: 0.82rem; }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { color: var(--text-muted); text-decoration: none; font-size: 0.82rem; transition: var(--transition); }
.footer-legal a:hover { color: var(--purple-400); }

/* ── TOAST ───────────────────────────────────── */
.toast {
  position: fixed; bottom: 32px; right: 32px; z-index: 9999;
  background: linear-gradient(135deg, var(--purple-700), var(--violet-500));
  color: #fff; padding: 13px 22px; border-radius: 50px;
  font-size: 0.88rem; font-weight: 600;
  transform: translateY(80px); opacity: 0;
  transition: all 0.4s cubic-bezier(0.175,0.885,0.32,1.275);
  box-shadow: 0 8px 32px rgba(139,92,246,0.4);
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ── WHATSAPP FLOAT ──────────────────────────── */
.whatsapp-float {
  position: fixed; bottom: 28px; left: 28px; z-index: 999;
  width: 54px; height: 54px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  text-decoration: none; transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: waBounce 2.5s ease-in-out 3s infinite;
  will-change: transform;
  transform: translateZ(0);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,0.6); }
@keyframes waBounce { 0%,100% { transform: scale(1) translateZ(0); } 50% { transform: scale(1.08) translateZ(0); } }

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 1100px) {
  .about-container { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { min-height: 300px; }
  .contact-wrapper { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .footer-brand p { max-width: 100%; }
  .footer-links { grid-template-columns: repeat(2,1fr); }
  .portfolio-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .ticker-bar { font-size: 0.7rem; }
  .hamburger { display: flex; }
  .navbar { top: 0; }
  .nav-links {
    position: fixed; top: 0; right: -100%; bottom: 0; width: 280px;
    background: rgba(7,7,15,0.98); backdrop-filter: blur(24px);
    flex-direction: column; justify-content: center; align-items: flex-start;
    padding: 40px 28px; gap: 22px;
    transition: right 0.35s ease; border-left: 1px solid var(--border);
  }
  .nav-links.open { right: 0; }
  .nav-links a { font-size: 1.05rem; }
  .hero { padding: 140px 20px 100px; }
  .hero-title { font-size: clamp(2.2rem, 9vw, 3.5rem); }
  .hero-stats { gap: 20px; }
  .stat-num { font-size: 1.8rem; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card--wide { grid-column: span 1 !important; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .portfolio-blocks { grid-template-columns: 1fr; }
  .why-list { grid-template-columns: 1fr; }
  .about-card-stack { transform: scale(0.85); }
  .problem-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px 18px; }
  .contact-info { flex-direction: column; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .hero-cta-group { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
  .hero-stats { flex-direction: column; gap: 14px; }
  .stat-divider { display: none; }
  .hero-trust { flex-direction: column; gap: 10px; }
  .footer-links { grid-template-columns: 1fr; }
  .dash-stats { gap: 20px; }
  .cta-buttons { flex-direction: column; align-items: stretch; }
}

/* ── AI CHAT WIDGET ───────────────────────────── */
.ai-chat-widget {
  position: fixed; bottom: 92px; right: 24px; z-index: 9999;
  will-change: transform;
  transform: translateZ(0);
}
.ai-chat-toggle {
  width: 58px; height: 58px; border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-600), var(--violet-500));
  border: none; cursor: pointer; color: #fff; font-size: 1.5rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 24px rgba(139,92,246,0.55);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  will-change: transform;
  transform: translateZ(0);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.ai-chat-toggle:hover { transform: scale(1.1) translateZ(0); box-shadow: 0 6px 36px rgba(139,92,246,0.7); }
.chat-notif-badge {
  position: absolute; top: -4px; right: -4px;
  width: 20px; height: 20px; border-radius: 50%;
  background: #ef4444; color: #fff; font-size: 0.7rem;
  font-weight: 700; display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--bg-primary);
  animation: pulseBadge 2s ease-in-out infinite;
  will-change: transform;
}
@keyframes pulseBadge { 0%,100%{transform:scale(1) translateZ(0)} 50%{transform:scale(1.2) translateZ(0)} }
.chat-notif-badge.hidden { display: none; }

.ai-chat-window {
  position: absolute; bottom: 70px; right: 0;
  width: 360px; max-height: 520px;
  background: #0e0e1e; border: 1px solid var(--border);
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 0 1px rgba(139,92,246,0.15);
  display: flex; flex-direction: column;
  transform: scale(0.9) translateY(10px) translateZ(0); transform-origin: bottom right;
  opacity: 0; pointer-events: none;
  transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1), opacity 0.2s ease;
  will-change: transform, opacity;
  -webkit-overflow-scrolling: touch;
}
.ai-chat-window.open {
  transform: scale(1) translateY(0) translateZ(0); opacity: 1; pointer-events: all;
}

.ai-chat-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px;
  background: linear-gradient(135deg, rgba(147,51,234,0.25), rgba(139,92,246,0.15));
  border-bottom: 1px solid var(--border);
}
.ai-chat-header-info { display: flex; align-items: center; gap: 12px; }
.ai-chat-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-600), var(--violet-500));
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
}
.ai-chat-header-info strong { display: block; font-size: 0.95rem; color: var(--text-primary); }
.ai-online-dot { font-size: 0.72rem; color: #22c55e; }
.ai-chat-close {
  background: none; border: none; cursor: pointer; color: var(--text-secondary);
  font-size: 1rem; padding: 4px 8px; border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.ai-chat-close:hover { color: var(--text-primary); background: rgba(255,255,255,0.06); }

.ai-chat-messages {
  flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px;
  scrollbar-width: thin; scrollbar-color: var(--purple-700) transparent;
}
.ai-chat-messages::-webkit-scrollbar { width: 4px; }
.ai-chat-messages::-webkit-scrollbar-thumb { background: var(--purple-700); border-radius: 2px; }

.chat-msg { display: flex; gap: 8px; max-width: 88%; }
.chat-msg.bot { align-self: flex-start; }
.chat-msg.user { align-self: flex-end; flex-direction: row-reverse; }

.chat-msg-avatar {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--purple-600), var(--violet-500));
  display: flex; align-items: center; justify-content: center; font-size: 0.8rem; margin-top: 2px;
}
.chat-msg-bubble {
  padding: 10px 14px; border-radius: 16px;
  font-size: 0.85rem; line-height: 1.55; white-space: pre-line;
}
.chat-msg.bot .chat-msg-bubble {
  background: rgba(255,255,255,0.07); border: 1px solid var(--border);
  color: var(--text-primary); border-bottom-left-radius: 4px;
}
.chat-msg.user .chat-msg-bubble {
  background: linear-gradient(135deg, var(--purple-600), var(--violet-500));
  color: #fff; border-bottom-right-radius: 4px;
}
.chat-typing-dots {
  display: flex; gap: 4px; padding: 4px 2px; align-items: center;
}
.chat-typing-dots span {
  width: 6px; height: 6px; border-radius: 50%; background: var(--purple-400);
  animation: typingDot 1.2s ease-in-out infinite;
}
.chat-typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingDot { 0%,60%,100%{opacity:0.3;transform:scale(0.8)} 30%{opacity:1;transform:scale(1.1)} }

.ai-chat-suggestions {
  padding: 8px 14px 6px; display: flex; flex-wrap: wrap; gap: 6px;
  border-top: 1px solid var(--border);
}
.ai-chat-suggestions button {
  background: rgba(139,92,246,0.12); border: 1px solid rgba(139,92,246,0.3);
  color: var(--purple-300); font-size: 0.75rem; padding: 5px 10px;
  border-radius: 20px; cursor: pointer; transition: var(--transition);
  font-family: 'Inter', sans-serif;
}
.ai-chat-suggestions button:hover {
  background: rgba(139,92,246,0.25); border-color: var(--purple-400); color: #fff;
}

.ai-chat-input-row {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 14px; border-top: 1px solid var(--border);
}
.ai-chat-input-row input {
  flex: 1; background: rgba(255,255,255,0.06); border: 1px solid var(--border);
  border-radius: 24px; padding: 9px 16px; color: var(--text-primary);
  font-size: 0.85rem; font-family: 'Inter', sans-serif; outline: none;
  transition: border-color 0.2s;
}
.ai-chat-input-row input:focus { border-color: var(--purple-500); }
.ai-chat-input-row input::placeholder { color: var(--text-muted); }
.ai-send-btn {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--purple-600), var(--violet-500));
  border: none; cursor: pointer; color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.ai-send-btn:hover { transform: scale(1.08); box-shadow: 0 4px 16px rgba(139,92,246,0.5); }

@media (max-width: 480px) {
  .ai-chat-window { width: calc(100vw - 32px); right: -8px; box-shadow: 0 8px 24px rgba(0,0,0,0.5); }
  .ai-chat-widget { bottom: 88px; right: 16px; }
}

/* ── MOBILE PERFORMANCE: kill scroll-janking animations ── */
@media (max-width: 768px) {
  .whatsapp-float { animation: none; }
  .chat-notif-badge { animation: none; }
  .ai-chat-messages { -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
}
