/* ============================================
   MAKEBTECH – CRYSTAL AI THEME
   Ultra-premium blue crystal landing page
   ============================================ */

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

:root {
  --c1: #00f5ff;       /* Cyan */
  --c2: #0066ff;       /* Blue */
  --c3: #7b00ff;       /* Violet */
  --c4: #ff00aa;       /* Accent pink */
  --dark: #020818;     /* Deep space */
  --dark2: #040d2a;
  --dark3: #071440;
  --glass: rgba(0,200,255,0.04);
  --glass-border: rgba(0,200,255,0.12);
  --glass-hover: rgba(0,200,255,0.09);
  --text: #e8f4ff;
  --text-dim: rgba(200,230,255,0.6);
  --font: 'Outfit', sans-serif;
  --font2: 'Space Grotesk', sans-serif;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden; /* CRITICAL: prevents horizontal scroll on mobile */
}

body {
  font-family: var(--font);
  background: var(--dark);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
  min-width: 0;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--c1), var(--c3)); border-radius: 4px; }

/* ── PARTICLE CANVAS ── */
#bgCanvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ── CONTAINER ── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* ── GRADIENTS ── */
.gradient-text {
  background: linear-gradient(135deg, var(--c1) 0%, var(--c2) 50%, var(--c3) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── BUTTONS ── */
.btn-glow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--c1), var(--c2), var(--c3));
  color: white;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 0 30px rgba(0,150,255,0.4), 0 0 60px rgba(0,150,255,0.15);
}
.btn-glow::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--c3), var(--c2), var(--c1));
  opacity: 0;
  transition: opacity 0.4s;
}
.btn-glow:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 0 50px rgba(0,200,255,0.6), 0 0 100px rgba(0,100,255,0.25); }
.btn-glow:hover::before { opacity: 1; }
.btn-glow span, .btn-glow > * { position: relative; z-index: 1; }
.btn-glow.sm { padding: 10px 24px; font-size: 0.875rem; }
.btn-glow.full { width: 100%; justify-content: center; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 32px;
  background: transparent;
  color: var(--c1);
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid rgba(0,245,255,0.4);
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s;
  backdrop-filter: blur(10px);
}
.btn-outline:hover {
  background: rgba(0,245,255,0.08);
  border-color: var(--c1);
  box-shadow: 0 0 20px rgba(0,245,255,0.2);
  transform: translateY(-2px);
}

/* ── SECTION LABELS ── */
.sec-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,200,255,0.08);
  border: 1px solid rgba(0,200,255,0.2);
  border-radius: 50px;
  padding: 6px 18px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--c1);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.sec-h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.sec-sub {
  font-size: 1.05rem;
  color: var(--text-dim);
  max-width: 600px;
  margin-bottom: 48px;
}

/* ================================================
   NAVBAR
   ================================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0;
  transition: all 0.4s;
}
#navbar.scrolled {
  background: rgba(2,8,24,0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,200,255,0.1);
  box-shadow: 0 4px 40px rgba(0,0,0,0.5);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-hex { width: 38px; height: 44px; }
.logo span {
  font-family: var(--font);
  font-weight: 800;
  font-size: 1.3rem;
  color: white;
  letter-spacing: 0.02em;
}
.logo span em {
  font-style: normal;
  background: linear-gradient(135deg, var(--c1), var(--c3));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}
.nl {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 50px;
  transition: all 0.3s;
  white-space: nowrap;
}
.nl:hover { color: var(--c1); background: rgba(0,245,255,0.07); }
.nav-cta-link {
  background: linear-gradient(135deg, var(--c1), var(--c2));
  color: white !important;
  padding: 9px 22px;
  font-weight: 700;
  box-shadow: 0 0 20px rgba(0,100,255,0.4);
}
.nav-cta-link:hover { transform: translateY(-1px); box-shadow: 0 0 35px rgba(0,200,255,0.5); background: rgba(0,245,255,0.07) !important; }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: rgba(0,200,255,0.06);
  border: 1px solid rgba(0,200,255,0.2);
  border-radius: 10px;
  cursor: pointer;
  padding: 9px 10px;
  transition: all 0.3s;
}
.burger:hover { background: rgba(0,200,255,0.12); border-color: rgba(0,200,255,0.4); }
.burger span {
  width: 22px;
  height: 2px;
  background: var(--c1);
  border-radius: 2px;
  transition: all 0.3s;
  display: block;
}

/* ================================================
   MOBILE SIDEBAR
   ================================================ */

/* Overlay backdrop */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9000;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.sidebar-overlay.open { display: block; opacity: 1; }

/* Sidebar panel */
.mobile-sidebar {
  position: fixed;
  top: 0; right: 0;
  width: min(340px, 92vw);
  height: 100vh;
  z-index: 9001;
  background: linear-gradient(165deg, #050f2e 0%, #020818 50%, #060c25 100%);
  border-left: 1px solid rgba(0,200,255,0.15);
  box-shadow: -20px 0 60px rgba(0,0,0,0.8), -2px 0 0 rgba(0,200,255,0.2);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.mobile-sidebar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #00f5ff 30%, #0066ff 60%, #8b00ff, transparent);
}
.mobile-sidebar.open { transform: translateX(0); }

/* Sidebar header */
.sb-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 16px;
  border-bottom: 1px solid rgba(0,200,255,0.08);
  flex-shrink: 0;
  background: rgba(0,10,40,0.5);
}
.sb-logo { gap: 8px; }
.sb-logo .logo-hex { width: 30px; height: 35px; }
.sb-logo span { font-size: 1.1rem; }

/* Close button */
.sb-close {
  width: 38px; height: 38px;
  background: rgba(255,50,50,0.08);
  border: 1px solid rgba(255,80,80,0.2);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: rgba(255,100,100,0.8);
  transition: all 0.3s;
  flex-shrink: 0;
}
.sb-close:hover {
  background: rgba(255,50,50,0.18);
  border-color: rgba(255,80,80,0.5);
  color: #ff6666;
  transform: rotate(90deg);
}

/* Scrollable content */
.sb-scroll {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 8px 0 32px;
  scrollbar-width: thin;
  scrollbar-color: rgba(0,200,255,0.15) transparent;
}
.sb-scroll::-webkit-scrollbar { width: 3px; }
.sb-scroll::-webkit-scrollbar-thumb { background: rgba(0,200,255,0.2); border-radius: 3px; }

/* Section */
.sb-section { padding: 16px 0 8px; }
.sb-sec-label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(0,200,255,0.5);
  padding: 0 20px 10px;
}

/* Nav links */
.sb-nav { display: flex; flex-direction: column; gap: 2px; padding: 0 12px; }
.sb-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 14px;
  border-radius: 14px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}
.sb-link::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--c1), var(--c3));
  border-radius: 3px;
  opacity: 0;
  transition: opacity 0.3s;
}
.sb-link:hover::before, .sb-link:active::before { opacity: 1; }
.sb-link:hover {
  background: rgba(0,200,255,0.07);
  border-color: rgba(0,200,255,0.12);
  transform: translateX(4px);
}
.sb-link-icon {
  width: 42px; height: 42px;
  background: rgba(0,200,255,0.08);
  border: 1px solid rgba(0,200,255,0.12);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: all 0.3s;
}
.sb-link:hover .sb-link-icon {
  background: rgba(0,200,255,0.15);
  border-color: rgba(0,200,255,0.3);
  box-shadow: 0 0 12px rgba(0,200,255,0.2);
}
.sb-link-body { flex: 1; }
.sb-link-body span {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1px;
}
.sb-link-body small {
  font-size: 0.72rem;
  color: rgba(200,230,255,0.5);
}
.sb-link-arrow {
  font-size: 1.3rem;
  color: rgba(0,200,255,0.3);
  transition: all 0.3s;
  font-weight: 300;
}
.sb-link:hover .sb-link-arrow {
  color: var(--c1);
  transform: translateX(3px);
}

/* CTA nav link */
.sb-link-cta {
  background: linear-gradient(135deg, rgba(0,200,255,0.1), rgba(120,0,255,0.08));
  border-color: rgba(0,200,255,0.15) !important;
  margin-top: 4px;
}
.sb-link-cta .sb-link-icon { background: linear-gradient(135deg, rgba(0,200,255,0.2), rgba(120,0,255,0.15)); }
.sb-link-cta .sb-link-body span { color: #00f5ff; }

/* Featured Projects */
.sb-projects {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 0 12px;
}
.sb-proj {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: rgba(0,8,30,0.7);
  border: 1px solid rgba(0,200,255,0.08);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.25s;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(200,230,255,0.75);
  line-height: 1.3;
}
.sb-proj:hover {
  background: rgba(0,20,60,0.8);
  border-color: rgba(0,200,255,0.2);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}
.sb-proj-emoji { font-size: 1.3rem; flex-shrink: 0; }

/* Contact card */
.sb-contact-card {
  margin: 0 12px;
  background: linear-gradient(135deg, rgba(0,15,50,0.9), rgba(0,8,30,0.95));
  border: 1px solid rgba(0,200,255,0.15);
  border-radius: 18px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sb-contact-person {
  display: flex;
  align-items: center;
  gap: 12px;
}
.sb-person-av {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, #00f5ff, #0066ff, #8b00ff);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900;
  font-size: 0.85rem;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 0 16px rgba(0,200,255,0.3);
}
.sb-contact-person strong { display: block; font-size: 0.9rem; color: white; margin-bottom: 2px; }
.sb-contact-person small { font-size: 0.7rem; color: rgba(0,200,255,0.7); }

.sb-wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: white;
  text-decoration: none;
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 700;
  transition: all 0.3s;
  box-shadow: 0 4px 16px rgba(37,211,102,0.3);
}
.sb-wa-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(37,211,102,0.45);
}

.sb-contact-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1px solid rgba(0,200,255,0.08);
  padding-top: 10px;
}
.sb-contact-links a {
  display: block;
  color: rgba(200,230,255,0.65);
  text-decoration: none;
  font-size: 0.77rem;
  font-weight: 500;
  padding: 4px 0;
  transition: color 0.3s;
}
.sb-contact-links a:hover { color: var(--c1); }

/* ================================================
   HERO
   ================================================ */
#hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  padding: 120px 80px 80px;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  overflow: hidden; /* contain the orb overflow within hero */
}

/* Hero Left */
.hero-left { display: flex; flex-direction: column; gap: 28px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0,200,255,0.07);
  border: 1px solid rgba(0,200,255,0.2);
  border-radius: 50px;
  padding: 8px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--c1);
  width: fit-content;
  animation: fadeSlideUp 0.8s ease both;
}
.pulse-dot {
  width: 8px; height: 8px;
  background: var(--c1);
  border-radius: 50%;
  animation: pulse 2s infinite;
  box-shadow: 0 0 10px var(--c1);
}
@keyframes pulse {
  0%,100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

.hero-h1 {
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  animation: fadeSlideUp 0.8s 0.1s ease both;
}
.hero-h1 .line1 { display: block; color: var(--text); }
.hero-h1 .line2 { display: block; color: var(--text); }
.hero-h1 .line3 { display: block; }

.glow-word {
  background: linear-gradient(135deg, var(--c1), var(--c2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  filter: drop-shadow(0 0 20px rgba(0,200,255,0.4));
}

.crystal-word {
  background: linear-gradient(135deg, var(--c1) 0%, #00aaff 30%, var(--c3) 70%, #ff44aa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 30px rgba(0,200,255,0.5));
  animation: shimmer 3s infinite linear;
  background-size: 200% 100%;
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-dim);
  max-width: 520px;
  animation: fadeSlideUp 0.8s 0.2s ease both;
}
.hero-sub strong { color: var(--c1); }

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  animation: fadeSlideUp 0.8s 0.3s ease both;
}
.pill {
  background: rgba(0,200,255,0.07);
  border: 1px solid rgba(0,200,255,0.15);
  border-radius: 50px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  transition: all 0.3s;
}
.pill:hover { background: rgba(0,200,255,0.15); border-color: var(--c1); color: var(--c1); }

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeSlideUp 0.8s 0.4s ease both;
}

.hero-numbers {
  display: flex;
  align-items: center;
  gap: 24px;
  animation: fadeSlideUp 0.8s 0.5s ease both;
}
.hn { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.hn-val {
  font-size: 2.2rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.hn span { font-size: 1.5rem; font-weight: 900; color: var(--c1); }
.hn small { font-size: 0.75rem; color: var(--text-dim); font-weight: 500; }
.hn-sep { width: 1px; height: 40px; background: rgba(0,200,255,0.2); }

/* Hero Right – Crystal Orb */
.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeSlideLeft 0.8s 0.3s ease both;
}

.crystal-orb-wrap {
  position: relative;
  width: 420px;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Rings */
.ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid transparent;
  background: transparent;
  animation: spinRing 8s linear infinite;
}
.ring::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 1.5px solid transparent;
  background: linear-gradient(var(--dark), var(--dark)) padding-box,
              linear-gradient(135deg, var(--c1), transparent, var(--c3)) border-box;
}
.r1 { width: 380px; height: 380px; animation-duration: 12s; opacity: 0.4; }
.r2 { width: 300px; height: 300px; animation-duration: 8s; animation-direction: reverse; opacity: 0.6; }
.r3 { width: 220px; height: 220px; animation-duration: 5s; opacity: 0.8; }
@keyframes spinRing { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* Orb Core */
.orb-core {
  width: 160px;
  height: 160px;
  position: relative;
  z-index: 5;
  border-radius: 50%;
  background: rgba(0,10,40,0.6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0,245,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 40px rgba(0,200,255,0.3),
    0 0 80px rgba(0,100,255,0.2),
    inset 0 0 40px rgba(0,200,255,0.1);
  animation: orbFloat 4s ease-in-out infinite;
}
.orb-surface {
  width: 120px;
  height: 120px;
  animation: orbRotate 10s linear infinite;
}
@keyframes orbFloat {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes orbRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Floating Badges */
.float-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(2,8,24,0.75);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(0,200,255,0.25);
  border-radius: 50px;
  padding: 8px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  z-index: 10;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  transition: transform 0.3s;
}
.float-badge:hover { transform: scale(1.05); border-color: var(--c1); }
.fb1 { top: 20px; left: 0; animation: floatBadge 3s ease-in-out infinite; }
.fb2 { top: 60px; right: 0; animation: floatBadge 3.5s 0.5s ease-in-out infinite; }
.fb3 { bottom: 80px; left: 0; animation: floatBadge 4s 1s ease-in-out infinite; }
.fb4 { bottom: 30px; right: 10px; animation: floatBadge 3.2s 1.5s ease-in-out infinite; }
.fb5 { top: 50%; left: 0; transform: translateY(-50%); animation: floatBadge 3.8s 0.8s ease-in-out infinite; }
@keyframes floatBadge {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.fb5 { animation-name: floatBadge5; }
@keyframes floatBadge5 {
  0%,100% { transform: translateY(-50%); }
  50% { transform: translateY(calc(-50% - 8px)); }
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 80px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
  color: var(--text-dim);
  font-weight: 500;
  animation: fadeSlideUp 1s 1s ease both;
}
.scroll-line {
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, var(--c1), transparent);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute;
  left: -100%;
  top: 0;
  width: 100%;
  height: 100%;
  background: var(--c1);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* ================================================
   PAIN SECTION
   ================================================ */
#pain {
  padding: 100px 0 80px;
  position: relative;
  z-index: 2;
}
.pain-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 40px 0;
}
.pain-card {
  background: rgba(0,5,20,0.6);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(0,200,255,0.08);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}
.pain-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,0,100,0.5), transparent);
  transform: scaleX(0);
  transition: transform 0.4s;
}
.pain-card:hover::before { transform: scaleX(1); }
.pain-card:hover { border-color: rgba(0,200,255,0.2); transform: translateY(-4px); }
.pain-q {
  font-size: 0.9rem;
  color: var(--text-dim);
  flex: 1;
  font-weight: 500;
}
.pain-arrow {
  font-size: 1.3rem;
  color: rgba(0,200,255,0.4);
}
.pain-sol {
  background: rgba(0,200,255,0.1);
  border: 1px solid rgba(0,200,255,0.25);
  border-radius: 50px;
  padding: 5px 14px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--c1);
  white-space: nowrap;
}

/* Solution Banner */
.solution-banner {
  background: linear-gradient(135deg, rgba(0,200,255,0.08), rgba(0,100,255,0.05), rgba(120,0,255,0.08));
  border: 1px solid rgba(0,200,255,0.2);
  border-radius: 20px;
  padding: 24px 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  position: relative;
  overflow: hidden;
  margin-top: 20px;
}
.sb-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 300px; height: 60px;
  background: radial-gradient(ellipse, rgba(0,200,255,0.15), transparent);
  pointer-events: none;
}
.sb-icon { font-size: 1.5rem; }
.sb-text {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, white, var(--c1), var(--c2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
}

/* ================================================
   SERVICES
   ================================================ */
#services {
  padding: 100px 0;
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, transparent 0%, rgba(0,10,40,0.4) 50%, transparent 100%);
}
#services::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 800px 400px at 20% 50%, rgba(0,100,255,0.04) 0%, transparent 70%),
    radial-gradient(ellipse 600px 300px at 80% 50%, rgba(120,0,255,0.04) 0%, transparent 70%);
  z-index: 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
  z-index: 1;
}

.svc-card {
  background: linear-gradient(145deg, rgba(0,10,40,0.8), rgba(0,5,25,0.9));
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0,200,255,0.1);
  border-radius: 24px;
  padding: 32px 24px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Crystal inner shine */
.svc-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,245,255,0.5), transparent);
}
.svc-card::after {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(ellipse 80px 60px at 30% 30%, rgba(255,255,255,0.04), transparent);
  pointer-events: none;
}

.svc-glow {
  position: absolute;
  bottom: -30px; right: -30px;
  width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(0,200,255,0.12), transparent);
  border-radius: 50%;
  transition: all 0.4s;
}
.svc-card:hover .svc-glow { width: 200px; height: 200px; bottom: -50px; right: -50px; background: radial-gradient(circle, rgba(0,200,255,0.2), transparent); }
.svc-card:hover { transform: translateY(-8px); border-color: rgba(0,200,255,0.3); box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 40px rgba(0,150,255,0.1); }

.svc-card.featured {
  border-color: rgba(0,200,255,0.3);
  background: linear-gradient(145deg, rgba(0,20,60,0.9), rgba(0,5,30,0.95));
  box-shadow: 0 0 40px rgba(0,150,255,0.15), inset 0 0 40px rgba(0,200,255,0.03);
}
.featured-tag {
  position: absolute;
  top: 16px; right: 16px;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  letter-spacing: 0.03em;
}

.svc-icon-wrap {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, rgba(0,200,255,0.1), rgba(0,100,255,0.05));
  border: 1px solid rgba(0,200,255,0.2);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.4s;
}
.svc-card:hover .svc-icon-wrap {
  background: linear-gradient(135deg, rgba(0,200,255,0.2), rgba(0,100,255,0.1));
  box-shadow: 0 0 20px rgba(0,200,255,0.2);
}
.svc-icon { font-size: 1.8rem; }

.svc-num {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: rgba(0,200,255,0.3);
  text-transform: uppercase;
}

.svc-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
}
.svc-card p {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.6;
}

.svc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.svc-list li {
  font-size: 0.82rem;
  color: var(--text-dim);
  padding-left: 16px;
  position: relative;
}
.svc-list li::before {
  content: '◆';
  position: absolute;
  left: 0;
  color: var(--c1);
  font-size: 0.5rem;
  top: 4px;
}

.svc-stat {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(0,200,255,0.05);
  border: 1px solid rgba(0,200,255,0.1);
  border-radius: 12px;
  margin-top: 4px;
}
.svc-stat-num {
  font-size: 1.4rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.svc-stat-lbl { font-size: 0.75rem; color: var(--text-dim); font-weight: 600; }

.svc-cta {
  display: inline-flex;
  align-items: center;
  color: var(--c1);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: gap 0.3s;
  gap: 4px;
}
.svc-cta:hover { gap: 8px; text-shadow: 0 0 10px var(--c1); }

/* Services CTA Bar */
.services-cta-bar {
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  background: linear-gradient(135deg, rgba(0,10,40,0.8), rgba(0,5,20,0.8));
  border: 1px solid rgba(0,200,255,0.12);
  border-radius: 20px;
  padding: 20px 28px;
}
.scb-left { display: flex; flex-wrap: wrap; gap: 12px; }
.scb-tag {
  background: rgba(0,200,255,0.07);
  border: 1px solid rgba(0,200,255,0.15);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--c1);
  letter-spacing: 0.04em;
}

/* ================================================
   WHATSAPP SECTION
   ================================================ */
#whatsapp {
  padding: 100px 0;
  position: relative;
  z-index: 2;
}
#whatsapp::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 80%; height: 500px;
  background: radial-gradient(ellipse, rgba(0,200,100,0.04), transparent 70%);
  z-index: 0;
}

.wa-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.wa-desc {
  font-size: 1rem;
  color: var(--text-dim);
  max-width: 500px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.wa-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}
.wa-feat {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.waf-icon {
  width: 44px; height: 44px;
  background: rgba(0,200,100,0.08);
  border: 1px solid rgba(0,200,100,0.2);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.waf-body h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 2px; }
.waf-body p { font-size: 0.82rem; color: var(--text-dim); }

/* Phone Mockup */
.wa-right { display: flex; justify-content: center; position: relative; }

.wa-phone {
  position: relative;
  animation: orbFloat 5s ease-in-out infinite;
}
.phone-frame {
  width: 280px;
  background: linear-gradient(145deg, rgba(5,15,40,0.95), rgba(2,8,25,0.98));
  border: 1.5px solid rgba(0,200,255,0.2);
  border-radius: 36px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.5),
    0 20px 60px rgba(0,0,0,0.7),
    0 0 40px rgba(0,200,255,0.1),
    inset 0 1px 0 rgba(255,255,255,0.05);
}
.phone-notch {
  width: 100px; height: 24px;
  background: rgba(0,0,0,0.8);
  border-radius: 0 0 16px 16px;
  margin: 0 auto;
}
.chat-app { padding: 0 0 16px; }

.chat-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(0,50,30,0.4);
  border-bottom: 1px solid rgba(0,200,100,0.1);
}
.chat-av {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, #00c853, #00e5ff);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.9rem; color: white;
}
.chat-hinfo { flex: 1; }
.chat-hinfo span { display: block; font-size: 0.85rem; font-weight: 700; }
.online { font-size: 0.7rem; color: #00c853; }
.chat-verified { color: #00c853; font-size: 0.75rem; }

.chat-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 260px;
}
.cmsg { display: flex; flex-direction: column; gap: 2px; }
.cmsg.cin { align-items: flex-start; }
.cmsg.cout { align-items: flex-end; }
.cbubble {
  max-width: 200px;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 0.78rem;
  line-height: 1.5;
}
.cin .cbubble {
  background: rgba(0,200,100,0.15);
  border: 1px solid rgba(0,200,100,0.2);
  border-bottom-left-radius: 4px;
  color: var(--text);
}
.cout .cbubble {
  background: rgba(0,100,255,0.2);
  border: 1px solid rgba(0,100,255,0.3);
  border-bottom-right-radius: 4px;
  color: var(--text);
}
.ctime { font-size: 0.6rem; color: rgba(255,255,255,0.3); }

/* Typing dots */
.typing-dots {
  display: flex !important;
  gap: 4px;
  align-items: center;
  padding: 10px 14px;
}
.typing-dots span {
  width: 6px; height: 6px;
  background: rgba(0,200,100,0.6);
  border-radius: 50%;
  animation: typingAnim 1.2s ease-in-out infinite;
}
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingAnim {
  0%,60%,100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-5px); opacity: 1; }
}

.chat-input-bar {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 10px 12px;
  background: rgba(0,0,0,0.3);
  margin: 0 8px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.06);
}
.chat-input { flex: 1; font-size: 0.7rem; color: rgba(255,255,255,0.3); }
.chat-send {
  width: 28px; height: 28px;
  background: linear-gradient(135deg, #00c853, #00e5ff);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.6rem;
  color: white;
}

.phone-glow-ring {
  position: absolute;
  inset: -20px;
  border-radius: 50px;
  background: transparent;
  box-shadow: 0 0 60px rgba(0,200,100,0.15), 0 0 120px rgba(0,100,255,0.1);
  z-index: -1;
  animation: phoneGlow 3s ease-in-out infinite alternate;
}
@keyframes phoneGlow {
  0% { box-shadow: 0 0 40px rgba(0,200,100,0.1), 0 0 80px rgba(0,100,255,0.08); }
  100% { box-shadow: 0 0 80px rgba(0,200,100,0.2), 0 0 160px rgba(0,100,255,0.15); }
}

/* WhatsApp floating stats */
.wa-stat {
  position: absolute;
  background: rgba(2,8,24,0.85);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(0,200,255,0.2);
  border-radius: 14px;
  padding: 12px 16px;
  text-align: center;
  z-index: 10;
}
.ws-num {
  font-size: 1.3rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.ws-lbl { font-size: 0.65rem; color: var(--text-dim); font-weight: 600; }
.ws1 { top: 20px; left: -30px; animation: floatBadge 3s ease-in-out infinite; }
.ws2 { top: 50%; right: -30px; animation: floatBadge 3.5s 0.5s ease-in-out infinite; }
.ws3 { bottom: 40px; left: -20px; animation: floatBadge 4s 1s ease-in-out infinite; }

/* ================================================
   PROJECTS
   ================================================ */
#projects {
  padding: 100px 0;
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, transparent 0%, rgba(0,5,30,0.5) 50%, transparent 100%);
}

/* Filter Tabs */
.proj-filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.pf-btn {
  background: rgba(0,10,40,0.6);
  border: 1px solid rgba(0,200,255,0.12);
  border-radius: 50px;
  padding: 9px 22px;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dim);
  cursor: pointer;
  transition: all 0.3s;
}
.pf-btn:hover, .pf-btn.active {
  background: rgba(0,200,255,0.12);
  border-color: rgba(0,200,255,0.4);
  color: var(--c1);
  box-shadow: 0 0 20px rgba(0,200,255,0.1);
}

/* Projects Grid */
.proj-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.proj-card {
  background: linear-gradient(145deg, rgba(0,8,30,0.9), rgba(0,4,18,0.95));
  border: 1px solid rgba(0,200,255,0.08);
  border-radius: 22px;
  padding: 28px 22px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pc-glow {
  position: absolute;
  top: -30px; right: -30px;
  width: 100px; height: 100px;
  border-radius: 50%;
  transition: all 0.4s;
}
.proj-card:hover .pc-glow { width: 180px; height: 180px; top: -50px; right: -50px; }
.proj-card[data-cat="edu"] .pc-glow { background: radial-gradient(circle, rgba(0,200,255,0.15), transparent); }
.proj-card[data-cat="health"] .pc-glow { background: radial-gradient(circle, rgba(255,50,100,0.12), transparent); }
.proj-card[data-cat="biz"] .pc-glow { background: radial-gradient(circle, rgba(100,0,255,0.12), transparent); }
.proj-card[data-cat="ecom"] .pc-glow { background: radial-gradient(circle, rgba(255,150,0,0.12), transparent); }

.proj-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0,200,255,0.2);
  box-shadow: 0 16px 50px rgba(0,0,0,0.5);
}

.pc-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 12px;
  border-radius: 50px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  width: fit-content;
}
.pc-badge.edu { background: rgba(0,200,255,0.1); border: 1px solid rgba(0,200,255,0.25); color: var(--c1); }
.pc-badge.health { background: rgba(255,50,100,0.1); border: 1px solid rgba(255,50,100,0.25); color: #ff6688; }
.pc-badge.biz { background: rgba(120,0,255,0.1); border: 1px solid rgba(120,0,255,0.25); color: #aa66ff; }
.pc-badge.ecom { background: rgba(255,150,0,0.1); border: 1px solid rgba(255,150,0,0.25); color: #ffaa44; }

.pc-emoji { font-size: 2.5rem; }
.proj-card h3 { font-size: 1rem; font-weight: 700; line-height: 1.3; }
.proj-card p { font-size: 0.8rem; color: var(--text-dim); line-height: 1.6; flex: 1; }

.pc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.pc-tags span {
  background: rgba(0,200,255,0.06);
  border: 1px solid rgba(0,200,255,0.1);
  border-radius: 50px;
  padding: 3px 10px;
  font-size: 0.68rem;
  color: var(--text-dim);
  font-weight: 500;
}

.pc-cta {
  color: var(--c1);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding-top: 4px;
  border-top: 1px solid rgba(0,200,255,0.08);
}
.pc-cta:hover { color: white; gap: 8px; }

/* Hidden projects */
.proj-card.hidden {
  display: none;
}

.proj-more {
  margin-top: 48px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.proj-more p {
  font-size: 1rem;
  color: var(--text-dim);
  font-style: italic;
}

/* ================================================
   WHY SECTION
   ================================================ */
#why {
  padding: 100px 0;
  position: relative;
  z-index: 2;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.why-card {
  background: linear-gradient(145deg, rgba(0,10,40,0.8), rgba(0,5,25,0.9));
  border: 1px solid rgba(0,200,255,0.08);
  border-radius: 22px;
  padding: 32px 24px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s;
  cursor: default;
}
.why-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,245,255,0.4), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s;
}
.why-card:hover::before { transform: scaleX(1); }
.why-card:hover { transform: translateY(-6px); border-color: rgba(0,200,255,0.2); }
.wc-glow {
  position: absolute;
  bottom: -20px; left: 50%;
  transform: translateX(-50%);
  width: 80px; height: 80px;
  background: radial-gradient(circle, rgba(0,200,255,0.15), transparent);
  border-radius: 50%;
  transition: all 0.4s;
}
.why-card:hover .wc-glow { width: 160px; height: 160px; bottom: -40px; }
.wc-icon { font-size: 2.5rem; margin-bottom: 12px; display: block; }
.why-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.why-card p { font-size: 0.85rem; color: var(--text-dim); line-height: 1.6; }

/* Ticker */
.ticker-wrap {
  overflow: hidden;
  border: 1px solid rgba(0,200,255,0.1);
  border-radius: 50px;
  background: rgba(0,5,25,0.6);
  backdrop-filter: blur(10px);
  padding: 14px 0;
}
.ticker-track {
  display: flex;
  gap: 0;
  animation: ticker 30s linear infinite;
  width: max-content;
}
.ticker-track span {
  padding: 0 28px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dim);
  white-space: nowrap;
  border-right: 1px solid rgba(0,200,255,0.1);
  transition: color 0.3s;
}
.ticker-track span:hover { color: var(--c1); }
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ================================================
   CONTACT SECTION
   ================================================ */
#contact {
  padding: 100px 0;
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, transparent 0%, rgba(0,5,30,0.6) 100%);
}
#contact::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse, rgba(0,100,255,0.06), transparent 70%);
  z-index: 0;
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

/* Contact Form */
.cf-card {
  background: linear-gradient(145deg, rgba(0,10,40,0.9), rgba(0,5,25,0.95));
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0,200,255,0.12);
  border-radius: 28px;
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.cf-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--c1), var(--c2), var(--c3));
}
.cf-card-glow {
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(0,200,255,0.08), transparent);
  border-radius: 50%;
}
.cf-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 24px;
}

.cf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.cf-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
  position: relative;
}
.cf-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}
.cf-group input,
.cf-group select,
.cf-group textarea {
  background: rgba(0,20,60,0.5);
  border: 1px solid rgba(0,200,255,0.1);
  border-radius: 12px;
  padding: 13px 16px;
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--text);
  outline: none;
  transition: all 0.3s;
  width: 100%;
}
.cf-group select option { background: #040d2a; color: white; }
.cf-group textarea { resize: vertical; min-height: 90px; }
.cf-group input:focus,
.cf-group select:focus,
.cf-group textarea:focus {
  border-color: rgba(0,200,255,0.4);
  background: rgba(0,20,60,0.7);
  box-shadow: 0 0 20px rgba(0,200,255,0.1);
}
.cf-group input::placeholder,
.cf-group textarea::placeholder { color: rgba(200,230,255,0.3); }

.cf-line {
  position: absolute;
  bottom: 0; left: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--c1), var(--c2));
  transform: scaleX(0);
  transition: transform 0.4s;
  transform-origin: left;
  pointer-events: none;
}
.cf-group input:focus ~ .cf-line,
.cf-group select:focus ~ .cf-line,
.cf-group textarea:focus ~ .cf-line { transform: scaleX(1); }

/* Loader */
.cf-loader {
  display: inline-flex;
  gap: 4px;
  align-items: center;
}
.cf-loader span {
  width: 6px; height: 6px;
  background: white;
  border-radius: 50%;
  animation: typingAnim 1.2s ease-in-out infinite;
}
.cf-loader span:nth-child(2) { animation-delay: 0.2s; }
.cf-loader span:nth-child(3) { animation-delay: 0.4s; }

/* Success */
.cf-success {
  text-align: center;
  padding: 24px;
}
.cfs-icon { font-size: 3rem; margin-bottom: 12px; }
.cf-success h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.cf-success p { font-size: 0.85rem; color: var(--text-dim); }

/* Contact Info */
.ci-cards { display: flex; flex-direction: column; gap: 14px; margin-bottom: 24px; }
.ci-card {
  background: rgba(0,8,30,0.7);
  border: 1px solid rgba(0,200,255,0.1);
  border-radius: 18px;
  padding: 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: all 0.3s;
}
.ci-card:hover { border-color: rgba(0,200,255,0.25); transform: translateX(4px); }
.ci-icon { font-size: 1.5rem; }
.ci-card h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 2px; }
.ci-card p { font-size: 0.8rem; color: var(--text-dim); margin-bottom: 4px; }
.ci-link {
  color: var(--c1);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s;
}
.ci-link:hover { text-shadow: 0 0 10px var(--c1); }

.ci-promises {
  background: rgba(0,8,30,0.6);
  border: 1px solid rgba(0,200,255,0.08);
  border-radius: 18px;
  padding: 20px;
  margin-bottom: 20px;
}
.ci-promises h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 14px; color: var(--c1); }
.cp-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--text-dim);
  padding: 6px 0;
  border-bottom: 1px solid rgba(0,200,255,0.05);
}
.cp-item:last-child { border-bottom: none; }
.cp-item span { font-size: 1rem; }

.ci-testimonial {
  background: linear-gradient(135deg, rgba(0,20,60,0.7), rgba(0,10,35,0.8));
  border: 1px solid rgba(0,200,255,0.12);
  border-radius: 18px;
  padding: 20px;
  margin-bottom: 20px;
}
.ct-stars { color: #ffd700; font-size: 0.9rem; margin-bottom: 10px; letter-spacing: 2px; }
.ci-testimonial p { font-size: 0.82rem; color: var(--text-dim); font-style: italic; line-height: 1.6; margin-bottom: 14px; }
.ct-author { display: flex; gap: 12px; align-items: center; }
.ct-av {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--c1), var(--c3));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; color: white; font-size: 0.9rem;
}
.ct-author strong { display: block; font-size: 0.85rem; }
.ct-author small { color: var(--text-dim); font-size: 0.72rem; }

.ci-tagline {
  text-align: center;
  padding: 20px;
  border: 1px solid rgba(0,200,255,0.1);
  border-radius: 18px;
  background: rgba(0,5,20,0.5);
}
.ci-tagline h3 {
  font-size: 1.4rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--c1), var(--c2), var(--c3));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}
.ci-tagline p { font-size: 0.82rem; color: var(--text-dim); margin-bottom: 6px; }
.ci-tagline em { font-size: 0.78rem; color: var(--c1); }

/* ================================================
   FOOTER
   ================================================ */
#footer {
  position: relative;
  z-index: 2;
  padding: 60px 0 0;
  border-top: 1px solid rgba(0,200,255,0.08);
}
.footer-glow-top {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--c1), transparent);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.ft-logo { margin-bottom: 16px; }
.ft-brand p { font-size: 0.85rem; color: var(--text-dim); max-width: 280px; line-height: 1.7; margin-bottom: 20px; }
.ft-social { display: flex; gap: 10px; }
.ft-soc {
  width: 36px; height: 36px;
  background: rgba(0,200,255,0.06);
  border: 1px solid rgba(0,200,255,0.12);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-dim);
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.3s;
}
.ft-soc:hover { background: rgba(0,200,255,0.12); border-color: var(--c1); color: var(--c1); }

.ft-nav h5 { font-size: 0.85rem; font-weight: 700; color: var(--text); margin-bottom: 16px; letter-spacing: 0.05em; }
.ft-nav ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.ft-nav a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.82rem;
  transition: color 0.3s;
  display: inline-block;
}
.ft-nav a:hover { color: var(--c1); transform: translateX(4px); }

.footer-bottom {
  border-top: 1px solid rgba(0,200,255,0.06);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.8rem; color: var(--text-dim); }
.ft-tagline { color: var(--c1) !important; font-weight: 600; font-size: 0.8rem !important; }

/* ================================================
   WHATSAPP FLOAT BUTTON
   ================================================ */
.wa-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99999; /* ensure always on top */
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: white;
  text-decoration: none;
  padding: 14px 20px 14px 16px;
  border-radius: 50px;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(37,211,102,0.5), 0 0 40px rgba(37,211,102,0.2);
  transition: all 0.3s;
  overflow: hidden;
  /* prevent being clipped by overflow on parent */
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}
.wa-float svg { width: 22px; height: 22px; flex-shrink: 0; }
.wa-float:hover {
  transform: translateY(-3px) scale(1.02) translateZ(0);
  box-shadow: 0 8px 30px rgba(37,211,102,0.5), 0 0 60px rgba(37,211,102,0.2);
}
.wa-pulse {
  position: absolute;
  top: 6px; right: 6px;
  width: 10px; height: 10px;
  background: #ff4444;
  border-radius: 50%;
  animation: waPulse 2s ease-in-out infinite;
}
@keyframes waPulse {
  0%,100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.5; }
}

/* ================================================
   AOS (Scroll Animations)
   ================================================ */
[data-aos] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-aos].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================================================
   ANIMATIONS
   ================================================ */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeSlideLeft {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1200px) {
  #hero { padding: 120px 40px 80px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .proj-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1.5fr 1fr 1fr; }
  .ft-brand { grid-column: 1/-1; }
}

@media (max-width: 900px) {
  #hero {
    grid-template-columns: 1fr;
    padding: 100px 20px 60px;
    gap: 40px;
    overflow: hidden;
  }
  .hero-left { gap: 20px; }
  .hero-h1 { font-size: clamp(2rem, 7vw, 2.8rem); }
  .hero-right { display: flex; justify-content: center; overflow: hidden; }
  .crystal-orb-wrap {
    width: 280px;
    height: 280px;
  }
  .r1 { width: 260px; height: 260px; }
  .r2 { width: 210px; height: 210px; }
  .r3 { width: 160px; height: 160px; }
  .orb-core { width: 110px; height: 110px; }
  /* hide the floating badges on mobile to prevent overflow */
  .fb1, .fb2, .fb3, .fb4, .fb5 { display: none; }
  .scroll-hint { left: 20px; }

  .wa-wrap { grid-template-columns: 1fr; gap: 40px; }
  .wa-right { order: -1; }

  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .proj-grid { grid-template-columns: repeat(2, 1fr); }
  .pain-cards { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }

  .footer-top { grid-template-columns: 1fr 1fr; }
  .ft-brand { grid-column: 1/-1; }

  /* Nav mobile drawer */
  .nav-links {
    display: none;
    position: fixed;
    top: 0; right: 0;
    width: 280px; height: 100vh;
    background: rgba(2,8,24,0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid rgba(0,200,255,0.1);
    flex-direction: column;
    padding: 80px 24px 24px;
    gap: 4px;
    z-index: 99998; /* below universe panel but above content */
    box-shadow: -10px 0 40px rgba(0,0,0,0.6);
  }
  .nav-links.open { display: flex; }
  .nl { padding: 12px 16px; border-radius: 12px; font-size: 1rem; }
  .burger { display: flex; }
}

@media (max-width: 600px) {
  #hero { padding: 90px 16px 50px; }
  .hero-h1 { font-size: clamp(1.8rem, 8vw, 2.4rem); }
  .hero-sub { font-size: 0.95rem; }
  .hero-btns { gap: 10px; }
  .btn-glow, .btn-outline { padding: 12px 22px; font-size: 0.875rem; }

  .crystal-orb-wrap { width: 220px; height: 220px; }
  .r1 { width: 200px; height: 200px; }
  .r2 { width: 160px; height: 160px; }
  .r3 { width: 120px; height: 120px; }
  .orb-core { width: 90px; height: 90px; }

  .services-grid { grid-template-columns: 1fr; }
  .proj-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .cf-row { grid-template-columns: 1fr; }
  .hero-numbers { flex-wrap: wrap; justify-content: center; gap: 16px; }

  /* WhatsApp button – icon only on very small */
  .wa-float span { display: none; }
  .wa-float { padding: 14px; border-radius: 50%; bottom: 16px; right: 16px; }

  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .sec-h2 { font-size: clamp(1.6rem, 7vw, 2.2rem); }
  #pain { padding: 60px 0 50px; }
  #services { padding: 60px 0; }
  #whatsapp { padding: 60px 0; }
  #projects { padding: 60px 0; }
  #why { padding: 60px 0; }
  #contact { padding: 60px 0; }
}
