/* ===========================
   PIXEL PRECISION WEB - CSS
   PREMIUM REDESIGN v2
   =========================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@400;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Brand Colors — derived from logo navy→cyan palette */
  --primary: #1A3A5C;
  --primary-light: #2B6CB0;
  --primary-dark: #0C2340;
  --accent: #29ABE2;
  --accent2: #5CC8F5;
  --violet: #2B6CB0;
  --pink: #29ABE2;

  /* Backgrounds — LIGHT THEME */
  --bg-dark: linear-gradient(135deg, #F4F7FB 0%, #E0EAF5 100%);
  --bg-mid: #EEF2F7;
  --bg-card: rgba(255, 255, 255, 0.9);
  --bg-card2: rgba(241, 245, 249, 0.8);
  --bg-glass: rgba(255,255,255,0.75);

  /* Text — dark for readability on light */
  --text-primary: #0C2340;
  --text-secondary: #4A6785;
  --text-muted: #8BA4BE;

  /* Borders */
  --border: rgba(26,58,92,0.12);
  --border-bright: rgba(26,58,92,0.3);

  /* Gradients — logo navy→blue→cyan */
  --gradient: linear-gradient(135deg, #1A3A5C 0%, #2B6CB0 50%, #29ABE2 100%);
  --gradient2: linear-gradient(135deg, #1A3A5C 0%, #29ABE2 100%);
  --gradient3: linear-gradient(135deg, #2B6CB0 0%, #29ABE2 100%);
  --gradient-dark: linear-gradient(180deg, #F7F9FC 0%, #EEF2F7 100%);

  /* Effects — softer for light theme */
  --shadow: 0 20px 60px rgba(26,58,92,0.2);
  --shadow-card: 0 15px 35px -5px rgba(41,171,226,0.25), 0 5px 15px rgba(26,58,92,0.1);
  --glow: 0 0 40px rgba(41,171,226,0.4);
  --glow-cyan: 0 0 40px rgba(41,171,226,0.4);

  /* Shape */
  --radius: 18px;
  --radius-sm: 10px;
  --radius-lg: 28px;
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

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

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ---- SELECTION ---- */
::selection { background: var(--primary); color: #fff; }

/* ---- UTILITY ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section-sm { padding: 60px 0; }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(26,58,92,0.08);
  border: 1px solid var(--border);
  color: var(--primary-light);
  padding: 7px 18px; border-radius: 50px;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
}

.badge::before {
  content: ''; width: 7px; height: 7px;
  background: var(--accent); border-radius: 50%;
  animation: pulse 2s infinite;
  box-shadow: 0 0 8px var(--accent);
}

@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50% { opacity:0.6; transform:scale(1.4); }
}

.section-title {
  font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800; line-height: 1.15;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.section-title span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.1rem; color: var(--text-secondary);
  max-width: 580px; margin-bottom: 60px;
  line-height: 1.75;
}

.text-center { text-align: center; }
.text-center .section-subtitle { margin-left: auto; margin-right: auto; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 34px; border-radius: 50px;
  font-size: 0.95rem; font-weight: 700;
  text-decoration: none; border: none; cursor: pointer;
  transition: var(--transition); position: relative; overflow: hidden;
  letter-spacing: 0.01em;
}

.btn::after {
  content: ''; position: absolute;
  inset: 0; border-radius: inherit;
  background: rgba(255,255,255,0.08);
  opacity: 0; transition: opacity 0.2s;
}
.btn:hover::after { opacity: 1; }

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 8px 32px rgba(26,58,92,0.2);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(26,58,92,0.25);
}

.btn-outline {
  background: rgba(26,58,92,0.04);
  color: var(--text-primary);
  border: 1.5px solid var(--border-bright);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  border-color: var(--primary);
  background: rgba(26,58,92,0.08);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(26,58,92,0.1);
}

.btn-sm { padding: 10px 24px; font-size: 0.9rem; }

/* ---- HEADER / NAV ---- */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 20px 0;
  transition: var(--transition);
}

header.scrolled {
  background: rgba(247,249,252,0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 12px 0;
  border-bottom: 1px solid rgba(26,58,92,0.1);
  box-shadow: 0 4px 40px rgba(26,58,92,0.08);
}

nav { display: flex; align-items: center; justify-content: space-between; }

.logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}

.logo-icon {
  width: 40px; height: 40px;
  background: var(--gradient);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 800; color: #fff;
  font-family: 'Outfit', sans-serif;
}

.logo-text {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem; font-weight: 700;
  color: var(--text-primary);
}

.logo-text span { color: var(--accent); }

.logo-img {
  height: 50px; width: auto;
  max-width: 160px;
  object-fit: contain;
}

.nav-links {
  display: flex; align-items: center; gap: 36px;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary); text-decoration: none;
  font-size: 0.9rem; font-weight: 500;
  transition: var(--transition); position: relative;
}

.nav-links a::after {
  content: ''; position: absolute;
  bottom: -4px; left: 0; width: 0; height: 2px;
  background: var(--gradient); border-radius: 2px;
  transition: width 0.3s ease;
}

.nav-links a:hover { color: var(--text-primary); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--text-primary); }
.nav-links a.active::after { width: 100%; }

.nav-cta { display: flex; align-items: center; gap: 12px; }

.hamburger {
  display: none; flex-direction: column; gap: 6px;
  cursor: pointer; padding: 8px;
  background: none; border: none;
  -webkit-tap-highlight-color: transparent;
  border-radius: 8px;
  transition: var(--transition);
}
.hamburger:hover { background: rgba(41,171,226,0.08); }
.hamburger span {
  display: block; width: 26px; height: 2.5px;
  background: var(--text-primary); border-radius: 3px;
  transition: var(--transition);
}

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding-top: 80px;
}

.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}

.hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(100px); opacity: 0.15;
  pointer-events: none;
  z-index: 2;
}

.hero-orb-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, #29ABE2, #1A3A5C);
  top: -250px; right: -150px;
  animation: float 9s ease-in-out infinite;
}

.hero-orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #5CC8F5, #2B6CB0);
  bottom: -150px; left: -120px;
  animation: float 12s ease-in-out infinite reverse;
}

.hero-orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, #2B6CB0, #1A3A5C);
  top: 40%; left: 30%;
  opacity: 0.08;
  animation: float 15s ease-in-out infinite 3s;
}

.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(26,58,92,0.06) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(26,58,92,0.06) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  pointer-events: none; /* FIX: Prevents this overlay from blocking clicks on buttons underneath */
}

@keyframes float {
  0%,100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

.hero-content {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}

.hero-title {
  font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 900; line-height: 1.08;
  margin-bottom: 28px;
  letter-spacing: -0.03em;
}

.hero-title .gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.05rem; color: var(--text-secondary);
  margin-bottom: 40px; line-height: 1.8;
}

.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats {
  display: flex; gap: 32px; margin-top: 48px;
  padding-top: 32px; border-top: 1px solid var(--border);
}

.stat-item { text-align: center; }
.stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem; font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label { font-size: 0.8rem; color: var(--text-secondary); }

.hero-visual {
  position: relative; display: flex; justify-content: center; align-items: center;
}

.hero-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow-card);
  animation: float 6s ease-in-out infinite;
}

.hero-card-header {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 16px; padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-red { background: #FF5F57; }
.dot-yellow { background: #FFBD2E; }
.dot-green { background: #28C840; }

.hero-card-title { font-size: 0.85rem; color: var(--text-secondary); margin-left: 8px; }

.service-grid-mini {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}

.service-mini-card {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: 12px; padding: 16px;
  text-align: center; transition: var(--transition);
}

.service-mini-card:hover { border-color: var(--primary); transform: scale(1.03); }
.service-mini-icon { font-size: 1.8rem; margin-bottom: 8px; }
.service-mini-name { font-size: 0.78rem; color: var(--text-secondary); font-weight: 500; }

/* ---- SERVICES ---- */
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: var(--transition);
  position: relative; overflow: hidden;
  text-decoration: none; color: inherit;
  display: block;
  backdrop-filter: blur(12px);
}

.service-card::before {
  content: ''; position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,58,92,0.05) 0%, transparent 60%);
  opacity: 0; transition: opacity 0.4s;
  border-radius: inherit;
}

.service-card::after {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: var(--gradient2); opacity: 0;
  transition: opacity 0.3s;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--border-bright);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,0.5);
}

.service-card:hover::before { opacity: 1; }
.service-card:hover::after { opacity: 1; }

/* ---- ICON DESIGN SYSTEM ---- */
.service-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, rgba(41,171,226,0.12), rgba(26,58,92,0.06));
  border-radius: 16px;
  border: 1px solid rgba(41,171,226,0.25);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-icon::before {
  content: ''; position: absolute; inset: 0;
  background: var(--gradient2); opacity: 0;
  transition: opacity 0.3s;
  border-radius: inherit;
}

.service-icon svg {
  width: 32px; height: 32px;
  position: relative; z-index: 1;
  stroke: var(--primary-light);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  border-color: var(--primary-light);
  box-shadow: 0 8px 24px rgba(41,171,226,0.2);
  transform: scale(1.08);
}

.service-card:hover .service-icon::before { opacity: 1; }
.service-card:hover .service-icon svg { stroke: #fff; }

.service-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem; font-weight: 700;
  margin-bottom: 12px;
}

.service-card p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7; }

.service-features {
  margin-top: 20px; list-style: none;
  display: flex; flex-direction: column; gap: 8px;
}

.service-features li {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.88rem; color: var(--text-secondary);
}

.service-features li::before {
  content: ''; width: 18px; height: 18px;
  background: rgba(41,171,226,0.12);
  border-radius: 50%; display: inline-flex; align-items: center;
  justify-content: center; flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2329ABE2' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 10px;
  background-repeat: no-repeat;
  background-position: center;
}

/* ---- WHY US ---- */
.whyus {
  background: linear-gradient(180deg, var(--bg-mid) 0%, var(--bg-dark) 100%);
  position: relative;
}
.whyus::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(26,58,92,0.04) 0%, transparent 60%),
                    radial-gradient(circle at 80% 50%, rgba(41,171,226,0.04) 0%, transparent 60%);
}

.whyus-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

.whyus-item {
  text-align: center; padding: 38px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: var(--transition);
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  position: relative; overflow: hidden;
}

.whyus-item::before {
  content: ''; position: absolute;
  inset: 0; border-radius: inherit;
  background: linear-gradient(135deg, rgba(26,58,92,0.04) 0%, transparent 70%);
  opacity: 0; transition: opacity 0.3s;
}

.whyus-item::after {
  content: ''; position: absolute;
  bottom: 0; left: 0; right: 0; height: 2px;
  background: var(--gradient2); opacity: 0;
  transition: opacity 0.3s;
}

.whyus-item:hover {
  border-color: var(--border-bright);
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.whyus-item:hover::before { opacity: 1; }
.whyus-item:hover::after { opacity: 1; }

/* Whyus icon redesign */
.whyus-icon-wrap {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, rgba(41,171,226,0.1), rgba(26,58,92,0.05));
  border: 1px solid rgba(41,171,226,0.2);
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}

.whyus-item:hover .whyus-icon-wrap {
  background: linear-gradient(135deg, rgba(41,171,226,0.18), rgba(26,58,92,0.1));
  border-color: var(--primary-light);
  box-shadow: 0 8px 24px rgba(41,171,226,0.15);
  transform: scale(1.1);
}

.whyus-icon-wrap svg {
  width: 30px; height: 30px;
  stroke: var(--primary-light);
  fill: none; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
  transition: var(--transition);
}

.whyus-item:hover .whyus-icon-wrap svg { stroke: var(--accent); }

/* Legacy emoji icon fallback */
.whyus-icon {
  font-size: 2rem; margin-bottom: 4px;
  display: block;
}

.whyus-item h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem; font-weight: 700;
  margin-bottom: 10px;
}

.whyus-item p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.6; }

/* ---- BLOG PREVIEW ---- */
.blog-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px; margin-bottom: 40px;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  text-decoration: none; color: inherit;
  display: block;
}

.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--primary); }

.blog-img {
  width: 100%; height: 200px;
  background: linear-gradient(135deg, var(--bg-card2), var(--primary-dark));
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
}

.blog-body { padding: 24px; }

.blog-meta {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 12px;
}

.blog-cat {
  background: rgba(26,58,92,0.08);
  color: var(--primary-light);
  padding: 4px 12px; border-radius: 50px;
  font-size: 0.75rem; font-weight: 600;
}

.blog-date { font-size: 0.8rem; color: var(--text-secondary); }

.blog-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem; font-weight: 700;
  margin-bottom: 10px; line-height: 1.4;
}

.blog-card p { color: var(--text-secondary); font-size: 0.88rem; line-height: 1.7; }

/* ---- TOOLS PREVIEW ---- */
.tools-section { background: var(--bg-card); }

.tools-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.tool-card {
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px; text-align: center;
  text-decoration: none; color: inherit;
  transition: var(--transition); display: block;
  position: relative; overflow: hidden;
}

.tool-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(41,171,226,0.06), transparent 60%);
  opacity: 0; transition: opacity 0.3s;
}

.tool-card:hover {
  border-color: rgba(41,171,226,0.4);
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(41,171,226,0.1);
}

.tool-card:hover::before { opacity: 1; }

.tool-icon-wrap {
  width: 56px; height: 56px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, rgba(41,171,226,0.1), rgba(26,58,92,0.06));
  border: 1px solid rgba(41,171,226,0.2);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  position: relative;
}

.tool-card:hover .tool-icon-wrap {
  background: linear-gradient(135deg, rgba(41,171,226,0.15), rgba(26,58,92,0.1));
  border-color: rgba(41,171,226,0.4);
  box-shadow: 0 4px 16px rgba(41,171,226,0.15);
  transform: scale(1.08);
}

.tool-icon-wrap svg {
  width: 26px; height: 26px;
  stroke: var(--accent); fill: none;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

/* Legacy emoji fallback */
.tool-icon { font-size: 2rem; margin-bottom: 16px; display: block; }
.tool-card h3 { font-family: 'Outfit', sans-serif; font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.tool-card p { color: var(--text-secondary); font-size: 0.85rem; line-height: 1.5; }
.tool-badge {
  display: inline-block; margin-top: 12px;
  background: rgba(41,171,226,0.08); color: var(--accent);
  padding: 4px 12px; border-radius: 50px; font-size: 0.75rem; font-weight: 600;
  border: 1px solid rgba(41,171,226,0.2);
}

/* ---- TRUST SIGNALS ---- */
.trust-section {
  padding: 70px 0;
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-mid) 100%);
  position: relative;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* Trust Badges Row */
.trust-badges-row {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 0;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
  backdrop-filter: blur(16px);
  margin-bottom: 60px;
}

.trust-badge-item {
  display: flex; align-items: center; gap: 14px;
  padding: 10px 28px; flex: 1; min-width: 160px;
  justify-content: center;
  transition: var(--transition);
}

.trust-badge-item:hover { transform: translateY(-3px); }

.trust-badge-icon {
  font-size: 2rem; line-height: 1;
  filter: drop-shadow(0 0 8px rgba(26,58,92,0.2));
}

.trust-badge-text { display: flex; flex-direction: column; }

.trust-badge-text strong {
  font-size: 0.95rem; font-weight: 700;
  color: var(--text-primary); line-height: 1.2;
}

.trust-badge-text span {
  font-size: 0.78rem; color: var(--text-secondary);
  margin-top: 2px;
}

.trust-divider {
  width: 1px; height: 40px;
  background: var(--border);
  flex-shrink: 0;
}

/* Guarantee Cards */
.guarantee-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 60px;
}

.guarantee-card {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  text-align: center;
  backdrop-filter: blur(12px);
  transition: var(--transition);
  position: relative; overflow: hidden;
}

.guarantee-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: var(--gradient2);
  opacity: 0; transition: opacity 0.3s;
}

.guarantee-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(26,58,92,0.1);
}

.guarantee-card:hover::before { opacity: 1; }

.guarantee-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
  display: block;
  filter: drop-shadow(0 0 10px rgba(26,58,92,0.15));
}

.guarantee-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem; font-weight: 700;
  margin-bottom: 10px; color: var(--text-primary);
}

.guarantee-card p {
  color: var(--text-secondary);
  font-size: 0.88rem; line-height: 1.65;
}

/* Scrolling Clients Strip */
.clients-strip-wrap { text-align: center; }

.clients-strip-label {
  font-size: 0.82rem; font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: 20px;
}

.clients-strip {
  overflow: hidden;
  position: relative;
  padding: 18px 0;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
}

.clients-strip::before,
.clients-strip::after {
  content: ''; position: absolute;
  top: 0; bottom: 0; width: 80px;
  z-index: 2;
}

.clients-strip::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg-mid), transparent);
}

.clients-strip::after {
  right: 0;
  background: linear-gradient(-90deg, var(--bg-mid), transparent);
}

.clients-track {
  display: flex; align-items: center; gap: 48px;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.client-logo-text {
  font-size: 0.9rem; font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: color 0.3s;
  padding: 4px 0;
}

.client-logo-text:hover { color: var(--primary-light); }

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---- CTA SECTION ---- */
.cta-section {
  background: linear-gradient(135deg, #0C2340 0%, #1A3A5C 30%, #1B5E8A 70%, #29ABE2 100%);
  border-radius: var(--radius-lg); margin: 0 24px;
  padding: 90px 60px; text-align: center;
  position: relative; overflow: hidden;
  border: 1px solid rgba(41,171,226,0.3);
  box-shadow: 0 0 80px rgba(26,58,92,0.15);
}

.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-section h2 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 800;
  margin-bottom: 16px; position: relative;
}

.cta-section p {
  font-size: 1.1rem; margin-bottom: 36px;
  opacity: 0.9; position: relative; max-width: 500px; margin-left: auto; margin-right: auto;
}

.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; }

.btn-white {
  background: #fff; color: var(--primary);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.btn-white:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0,0,0,0.3); }

.btn-ghost {
  background: rgba(255,255,255,0.15);
  color: #fff; border: 1.5px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover { background: rgba(255,255,255,0.25); transform: translateY(-3px); }

/* ---- FOOTER ---- */
footer {
  background: var(--bg-mid);
  border-top: 1px solid rgba(26,58,92,0.1);
  padding: 90px 0 36px;
  position: relative;
}
footer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--gradient2);
  opacity: 0.5;
}

.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 60px;
}


.footer-logo {
  width: 200px;
  height: auto;
  max-width: 200px;
}

.footer-brand p {
  color: var(--text-secondary); font-size: 0.9rem;
  line-height: 1.8; margin: 16px 0 24px;
  max-width: 280px;
}

.social-links { display: flex; gap: 12px; }

.social-link {
  width: 40px; height: 40px;
  background: var(--bg-dark); border: 1px solid var(--border);
  border-radius: 10px; display: flex; align-items: center;
  justify-content: center; text-decoration: none;
  color: var(--text-secondary); font-size: 1.1rem;
  transition: var(--transition);
}

.social-link:hover {
  background: rgba(41,171,226,0.08);
  border-color: var(--primary); color: var(--primary-light);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem; font-weight: 700;
  margin-bottom: 20px; color: var(--text-primary);
}

.footer-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }

.footer-links a {
  color: var(--text-secondary); text-decoration: none;
  font-size: 0.9rem; transition: var(--transition);
}

.footer-links a:hover { color: var(--primary-light); padding-left: 4px; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}

.footer-bottom p { color: var(--text-secondary); font-size: 0.85rem; }
.footer-bottom a { color: var(--primary-light); text-decoration: none; }

/* ---- MOBILE NAV ---- */
.mobile-menu {
  display: none;
  position: fixed; inset: 0; z-index: 200;
  background: rgba(247,249,252,0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  flex-direction: column; align-items: center; justify-content: center;
  gap: 8px;
  padding: 80px 24px 40px;
}

.mobile-menu.open { display: flex; animation: menuFadeIn 0.25s ease; }

@keyframes menuFadeIn {
  from { opacity: 0; transform: scale(0.97); }
  to   { opacity: 1; transform: scale(1); }
}

.mobile-menu a {
  color: var(--text-primary);
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  transition: var(--transition);
  padding: 10px 24px;
  border-radius: 12px;
  width: 100%; text-align: center;
  max-width: 320px;
}

.mobile-menu a:hover,
.mobile-menu a:active {
  color: var(--accent);
  background: rgba(41,171,226,0.08);
}

.mobile-menu .btn {
  margin-top: 16px;
  width: 100%; max-width: 320px;
  justify-content: center;
  font-size: 1.05rem;
}

.mobile-menu-divider {
  width: 60px; height: 1px;
  background: var(--border);
  margin: 8px 0;
}

.mobile-close {
  position: absolute; top: 20px; right: 20px;
  width: 44px; height: 44px;
  background: rgba(26,58,92,0.06);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text-primary);
  font-size: 1.3rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  line-height: 1;
}

.mobile-close:hover {
  background: rgba(41,171,226,0.1);
  border-color: var(--primary);
  color: #fff;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .whyus-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .blog-grid { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .section { padding: 60px 0; }
  .section-sm { padding: 40px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .cta-section { padding: 44px 20px; margin: 0; border-radius: 0; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .hero-title { font-size: clamp(1.9rem, 8vw, 2.8rem); }
  .hero-desc { font-size: 1rem; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .hero-buttons .btn { width: 100%; max-width: 280px; justify-content: center; }
  .whyus-grid { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card { padding: 28px 22px; }
  .logo-img { height: 40px; max-width: 130px; }
  .btn { padding: 12px 24px; font-size: 0.95rem; }
  .btn-sm { padding: 9px 18px; font-size: 0.85rem; }
  .social-links { flex-wrap: wrap; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ---- ANIMATIONS ---- */
.fade-up {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

.fade-up:nth-child(1) { transition-delay: 0.1s; }
.fade-up:nth-child(2) { transition-delay: 0.2s; }
.fade-up:nth-child(3) { transition-delay: 0.3s; }
.fade-up:nth-child(4) { transition-delay: 0.4s; }
.fade-up:nth-child(5) { transition-delay: 0.5s; }
.fade-up:nth-child(6) { transition-delay: 0.6s; }
.fade-up:nth-child(7) { transition-delay: 0.7s; }
.fade-up:nth-child(8) { transition-delay: 0.8s; }

/* ================================================
   NEW SECTIONS — TESTIMONIALS, PROCESS, PORTFOLIO
   ================================================ */

/* ---- TESTIMONIALS ---- */
.testimonials-section {
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-mid) 100%);
  position: relative; overflow: hidden;
}
.testimonials-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(26,58,92,0.05) 0%, transparent 60%);
}
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 24px;
}
.testimonial-card {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 30px;
  backdrop-filter: blur(14px);
  transition: var(--transition);
  position: relative; overflow: hidden;
}
.testimonial-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: var(--gradient2); opacity: 0;
  transition: opacity 0.3s;
}
.testimonial-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-bright);
  box-shadow: var(--shadow);
}
.testimonial-card:hover::before { opacity: 1; }
.testimonial-quote {
  font-size: 3rem; line-height: 1;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px; display: block;
  font-family: Georgia, serif;
}
.testimonial-text {
  color: var(--text-secondary); font-size: 0.97rem;
  line-height: 1.8; margin-bottom: 28px; font-style: italic;
}
.testimonial-stars {
  color: #FBBF24; font-size: 0.85rem; margin-bottom: 20px;
  letter-spacing: 2px;
}
.testimonial-author {
  display: flex; align-items: center; gap: 14px;
}
.testimonial-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 700; color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  flex-shrink: 0;
}
.testimonial-name {
  font-weight: 700; font-size: 0.95rem; font-family: 'Plus Jakarta Sans', sans-serif;
  margin-bottom: 3px;
}
.testimonial-role { font-size: 0.8rem; color: var(--text-muted); }

/* ---- GOOGLE REVIEWS WIDGET ---- */
.g-rating-bar {
  display: flex; align-items: center; gap: 40px;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 40px;
  margin-bottom: 40px;
  backdrop-filter: blur(14px);
  flex-wrap: wrap;
}
.g-rating-logo {
  display: flex; align-items: center; gap: 16px;
  flex-shrink: 0;
}
.g-rating-text { display: flex; flex-direction: column; gap: 4px; }
.g-rating-number {
  font-family: 'Outfit', sans-serif;
  font-size: 3rem; font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.g-stars-row { display: flex; gap: 2px; }
.g-star { font-size: 1.1rem; color: #FBBF24; }
.g-rating-count { font-size: 0.82rem; color: var(--text-secondary); margin-top: 2px; }
.g-rating-count strong { color: var(--text-primary); }

.g-rating-bars {
  flex: 1; min-width: 200px;
  display: flex; flex-direction: column; gap: 8px;
}
.g-bar-row {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.8rem; color: var(--text-secondary);
}
.g-bar-row span:first-child { width: 28px; flex-shrink: 0; font-size: 0.75rem; }
.g-bar-track {
  flex: 1; height: 8px; border-radius: 4px;
  background: rgba(26,58,92,0.06);
  overflow: hidden;
}
.g-bar-fill {
  height: 100%; border-radius: 4px;
  background: linear-gradient(90deg, #FBBF24, #F59E0B);
  transition: width 1s ease;
}
.g-bar-pct { width: 32px; text-align: right; font-size: 0.75rem; flex-shrink: 0; }

.btn-google {
  background: #fff; color: #3C4043;
  border: 1.5px solid #dadce0;
  padding: 12px 22px; border-radius: 50px;
  font-size: 0.9rem; font-weight: 600;
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  flex-shrink: 0;
}
.btn-google:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  transform: translateY(-2px);
}

/* Review card Google style */
.g-review-header {
  display: flex; align-items: flex-start; gap: 12px;
  margin-bottom: 16px;
}
.g-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 700; color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  flex-shrink: 0;
}
.g-avatar-img {
  width: 44px; height: 44px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0;
  border: 2px solid var(--border);
}
/* Skeleton loading cards */
.review-skeleton {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  min-height: 180px;
  position: relative; overflow: hidden;
}
.review-skeleton::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(26,58,92,0.04) 40%,
    rgba(26,58,92,0.08) 50%,
    rgba(26,58,92,0.04) 60%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: shimmer 1.6s infinite;
}
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position:  200% 0; }
}
/* Clickable reviewer name */
a.g-reviewer-name {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.2s;
}
a.g-reviewer-name:hover { color: var(--primary-light); }
.g-reviewer-info { flex: 1; }
.g-reviewer-name { font-weight: 700; font-size: 0.95rem; margin-bottom: 2px; }
.g-review-meta { display: flex; align-items: center; gap: 8px; }
.g-review-stars { color: #FBBF24; font-size: 0.85rem; letter-spacing: 1px; }
.g-review-date { font-size: 0.78rem; color: var(--text-muted); }
.g-logo-small { flex-shrink: 0; opacity: 0.85; }
.g-verified {
  font-size: 0.75rem; color: var(--text-muted);
  margin-top: 14px; padding-top: 12px;
  border-top: 1px solid var(--border);
}

@media (max-width: 768px) {
  .g-rating-bar { flex-direction: column; align-items: flex-start; padding: 24px; gap: 24px; }
  .btn-google { width: 100%; justify-content: center; }
}


/* ---- PROCESS / HOW WE WORK ---- */
.process-section {
  background: var(--bg-dark);
  position: relative;
}
.process-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(41,171,226,0.04) 0%, transparent 60%);
}
.process-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 0;
  position: relative;
}
.process-grid::before {
  content: ''; position: absolute;
  top: 44px; left: 12%; right: 12%; height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0.3; z-index: 0;
}
.process-step {
  text-align: center; padding: 0 20px;
  position: relative; z-index: 1;
}
.process-num {
  width: 88px; height: 88px; margin: 0 auto 28px;
  border-radius: 50%;
  background: var(--bg-glass);
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.6rem; font-weight: 800;
  background-clip: text;
  transition: var(--transition);
  position: relative;
  backdrop-filter: blur(10px);
}
.process-num span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.process-step:hover .process-num {
  border-color: var(--primary);
  box-shadow: var(--glow);
  transform: scale(1.05);
}
.process-step h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.1rem; font-weight: 700;
  margin-bottom: 10px;
}
.process-step p { color: var(--text-secondary); font-size: 0.88rem; line-height: 1.7; }

/* ---- PORTFOLIO PREVIEW ---- */
.portfolio-section {
  background: linear-gradient(180deg, var(--bg-mid) 0%, var(--bg-dark) 100%);
}
.portfolio-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 24px;
}
.portfolio-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative; aspect-ratio: 4/3;
  background: var(--bg-card2);
  display: flex; align-items: center; justify-content: center;
  min-height: 240px;
}
.portfolio-card-inner {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 32px; text-align: center;
}
.portfolio-icon {
  font-size: 3.5rem; margin-bottom: 16px;
  filter: drop-shadow(0 0 20px rgba(26,58,92,0.2));
  transition: transform 0.3s;
}
.portfolio-card:hover .portfolio-icon { transform: scale(1.15); }
.portfolio-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(26,58,92,0.9) 0%, rgba(41,171,226,0.9) 100%);
  opacity: 0; transition: opacity 0.4s;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 32px; text-align: center;
}
.portfolio-card:hover .portfolio-overlay { opacity: 1; }
.portfolio-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: var(--border-bright); }
.portfolio-overlay h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.15rem; font-weight: 800; margin-bottom: 8px; color: #fff;
}
.portfolio-overlay p { font-size: 0.88rem; color: rgba(255,255,255,0.85); margin-bottom: 20px; }
.portfolio-overlay .btn-sm {
  background: rgba(255,255,255,0.2);
  color: #fff; border: 1.5px solid rgba(255,255,255,0.5);
  backdrop-filter: blur(10px); padding: 8px 20px;
}
.portfolio-tag {
  display: inline-block; margin-top: 8px;
  background: rgba(26,58,92,0.1);
  border: 1px solid var(--border);
  color: var(--primary-light);
  padding: 5px 14px; border-radius: 50px;
  font-size: 0.78rem; font-weight: 600;
}
.portfolio-card-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-card2) 100%);
  z-index: 0;
}
.portfolio-card-inner { z-index: 1; }
.portfolio-card-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700; font-size: 1rem;
  color: var(--text-secondary); margin-top: 8px;
}

/* ---- RESPONSIVE NEW SECTIONS ---- */
@media (max-width: 960px) {
  .testimonials-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: repeat(2,1fr); gap: 32px; }
  .process-grid::before { display: none; }
}
@media (max-width: 600px) {
  .portfolio-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .cta-section { padding: 56px 24px; }
}

/* ============================================================
   3D DESIGN SYSTEM — Pixel Precision Web v3
   ============================================================ */



/* ---- THREE.JS CANVAS ---- */
#global-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100vw !important;
  height: 100vh !important;
  z-index: -1;
  pointer-events: none;
  display: block;
  opacity: 0.8;
}

/* ---- HERO 3D ENHANCEMENTS ---- */
.hero {
  perspective: 1200px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none; /* FIX: Prevents this entire background container from blocking clicks */
}

.hero-content {
  position: relative;
  z-index: 3;
}

/* 3D depth orb — replaces flat hero card on desktop */
.hero-3d-orb {
  position: relative;
  width: 420px;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-3d-orb .orb-core {
  position: absolute;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%,
    rgba(26,58,92,0.6) 0%,
    rgba(43,108,176,0.35) 40%,
    rgba(41,171,226,0.2) 70%,
    transparent 100%
  );
  box-shadow:
    0 0 80px rgba(41,171,226,0.3),
    0 0 160px rgba(26,58,92,0.15),
    inset 0 0 40px rgba(255,255,255,0.1);
  animation: orbPulse 4s ease-in-out infinite;
}

.hero-3d-orb .orb-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(26,58,92,0.2);
  animation: orbRing 8s linear infinite;
}

.hero-3d-orb .orb-ring-1 {
  width: 240px; height: 240px;
  border-color: rgba(26,58,92,0.2);
  animation-duration: 10s;
}
.hero-3d-orb .orb-ring-2 {
  width: 310px; height: 310px;
  border-color: rgba(41,171,226,0.18);
  animation-duration: 15s;
  animation-direction: reverse;
}
.hero-3d-orb .orb-ring-3 {
  width: 390px; height: 390px;
  border-color: rgba(43,108,176,0.12);
  animation-duration: 20s;
}

/* Orbiting dot on ring */
.hero-3d-orb .orb-ring::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translate(-50%, -50%);
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--primary-light);
  box-shadow: 0 0 12px var(--primary);
}

.hero-3d-orb .orb-ring-2::before {
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  top: auto; bottom: 0; left: 30%;
}
.hero-3d-orb .orb-ring-3::before {
  background: var(--violet);
  box-shadow: 0 0 12px var(--violet);
  top: 25%; left: 0;
}

/* Floating Service Cards (21st.dev style glassmorphism) */
.floating-service-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(26, 58, 92, 0.15);
  border-radius: 100px;
  padding: 10px 20px 10px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(26, 58, 92, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  white-space: nowrap;
  animation: floatStatY 6s ease-in-out infinite;
  z-index: 5;
  transition: transform 0.3s ease, border-color 0.3s ease;
  cursor: default;
}

.floating-service-card:hover {
  transform: translateY(-5px) scale(1.05) !important;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.95);
}

.card-web { top: 12%; right: -5%; animation-delay: 0s; }
.card-crm { bottom: 25%; left: -10%; animation-delay: -2s; }
.card-seo { bottom: 8%; right: 15%; animation-delay: -4s; }

.fsc-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--primary), var(--violet));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  box-shadow: 0 4px 12px rgba(26, 58, 92, 0.2);
}

.fsc-text {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}

@keyframes orbPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 80px rgba(41,171,226,0.3), 0 0 160px rgba(26,58,92,0.15); }
  50%       { transform: scale(1.07); box-shadow: 0 0 120px rgba(41,171,226,0.4), 0 0 200px rgba(26,58,92,0.2); }
}

@keyframes orbRing {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes floatStatY {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-8px); }
}

/* ---- 3D TILT CARD SYSTEM ---- */
[data-tilt] {
  transform-style: preserve-3d;
  will-change: transform;
  cursor: default;
}

.tilt-glare {
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: conic-gradient(
    from 0deg,
    transparent 0%,
    rgba(255,255,255,0.06) 20%,
    transparent 40%
  );
  pointer-events: none;
  border-radius: inherit;
  transform-origin: center center;
  transition: opacity 0.3s ease;
  opacity: 0;
  mix-blend-mode: overlay;
}

/* ---- HOLOGRAPHIC SHIMMER ---- */
[data-holo] {
  --holo-x: 50%;
  --holo-y: 50%;
  position: relative;
  overflow: hidden;
}

[data-holo]::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle 120px at var(--holo-x) var(--holo-y),
    rgba(26,58,92,0.12),
    rgba(41,171,226,0.06) 40%,
    transparent 70%
  );
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
  z-index: 10;
}

[data-holo].holo-active::after {
  opacity: 1;
}

[data-holo]::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(26,58,92,0.06) 50%,
    transparent 70%
  );
  background-size: 200% 100%;
  border-radius: inherit;
  z-index: 9;
  pointer-events: none;
  animation: holoSweep 4s linear infinite;
  opacity: 0.6;
}

@keyframes holoSweep {
  0%   { background-position: -100% 0; }
  100% { background-position:  200% 0; }
}

/* ---- SERVICE CARDS 3D UPGRADE ---- */
.service-card {
  transform-style: preserve-3d;
  will-change: transform;
}

.service-card::after {
  /* Rainbow top border on hover */
  background: var(--gradient);
  height: 2px;
  opacity: 0;
  transition: opacity 0.3s;
}

.service-card:hover::after { opacity: 1; }

/* ---- PORTFOLIO FLIP CARDS ---- */
.portfolio-card[data-flip] {
  perspective: 1200px;
  cursor: pointer;
  overflow: visible;
  transform-style: preserve-3d;
  background: transparent;
  border: none;
}

.portfolio-card[data-flip] .portfolio-flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
  border-radius: inherit;
}

.portfolio-card[data-flip]:hover .portfolio-flip-inner,
.portfolio-card[data-flip]:focus .portfolio-flip-inner {
  transform: rotateY(180deg);
}

.portfolio-flip-front,
.portfolio-flip-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px;
  text-align: center;
  background: var(--bg-card2);
}

.portfolio-flip-front {
  transform: rotateY(0deg);
  z-index: 2;
}

.portfolio-flip-back {
  transform: rotateY(180deg);
  background: linear-gradient(135deg, #0C2340 0%, #29ABE2 100%);
  color: #fff;
}

.portfolio-flip-back h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.2rem; font-weight: 800;
  margin-bottom: 10px;
  color: #fff;
}

.portfolio-flip-back p {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-bottom: 20px;
  line-height: 1.6;
  color: rgba(255,255,255,0.9);
}

.portfolio-flip-back .btn-sm {
  background: rgba(255,255,255,0.2);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.5);
  padding: 8px 20px;
}

/* Remove old overlay system for flip cards */
.portfolio-card[data-flip] .portfolio-overlay { display: none; }

/* ---- ANIMATED MESH GRADIENT CTA ---- */
.cta-section {
  position: relative;
  overflow: hidden;
}

.cta-section::after {
  content: '';
  position: absolute;
  inset: -50%;
  background:
    radial-gradient(ellipse 80% 60% at 20% 50%, rgba(26,58,92,0.2) 0%, transparent 60%),
    radial-gradient(ellipse 70% 50% at 80% 30%, rgba(41,171,226,0.15) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 50% 80%, rgba(43,108,176,0.15) 0%, transparent 60%);
  animation: meshGradient 10s ease infinite alternate;
  z-index: 0;
  pointer-events: none;
}

.cta-section > * { position: relative; z-index: 1; }

@keyframes meshGradient {
  0%   { transform: translate(0%, 0%) scale(1); }
  33%  { transform: translate(3%, -4%) scale(1.05); }
  66%  { transform: translate(-4%, 3%) scale(0.98); }
  100% { transform: translate(2%, 2%) scale(1.03); }
}

/* CTA floating particles */
.cta-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.cta-particles span {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  animation: ctaFloat linear infinite;
}

@keyframes ctaFloat {
  0%   { transform: translateY(100%) scale(0); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateY(-100vh) scale(1); opacity: 0; }
}

/* ---- SECTION PARTICLES ---- */
.section-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.section-particles span {
  position: absolute;
  border-radius: 50%;
  animation: sectionParticleFloat ease-in-out infinite;
}

@keyframes sectionParticleFloat {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.2; }
  50%       { transform: translateY(-20px) scale(1.2); opacity: 0.5; }
}

/* ---- PROCESS SECTION — 3D DEPTH ---- */
.process-step {
  --step-index: 0;
  animation: processRise 0.7s cubic-bezier(0.34,1.56,0.64,1) both;
  animation-delay: calc(var(--step-index) * 0.15s);
}

@keyframes processRise {
  from {
    opacity: 0;
    transform: perspective(600px) translateZ(-60px) translateY(30px);
  }
  to {
    opacity: 1;
    transform: perspective(600px) translateZ(0) translateY(0);
  }
}

.process-num {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.process-step:hover .process-num {
  transform: perspective(400px) rotateX(-10deg) scale(1.08);
  box-shadow: var(--glow), 0 20px 40px rgba(26,58,92,0.1);
}

/* Glowing connector between steps */
.process-grid::before {
  background: linear-gradient(90deg,
    rgba(26,58,92,0.0) 0%,
    rgba(26,58,92,0.3) 20%,
    rgba(41,171,226,0.3) 50%,
    rgba(43,108,176,0.3) 80%,
    rgba(26,58,92,0.0) 100%
  );
  animation: connectorPulse 3s ease-in-out infinite;
  height: 2px;
}

@keyframes connectorPulse {
  0%, 100% { opacity: 0.3; }
  50%       { opacity: 0.8; }
}

/* ---- SECTION 3D ENTRANCE ---- */
.section-3d-enter {
  opacity: 0;
  transform: perspective(800px) translateZ(-40px) translateY(40px);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-3d-visible {
  opacity: 1;
  transform: perspective(800px) translateZ(0) translateY(0);
}

/* ---- WHY US CARDS — 3D glow on hover ---- */
.whyus-item {
  transform-style: preserve-3d;
  transition: var(--transition);
}

.whyus-item:hover {
  box-shadow:
    var(--shadow),
    0 0 0 1px rgba(26,58,92,0.15),
    0 30px 60px rgba(26,58,92,0.08);
}

/* ---- TESTIMONIAL CARDS — holographic border ---- */
.testimonial-card {
  border: 1px solid rgba(26,58,92,0.12);
  position: relative;
}

.testimonial-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(26,58,92,0.3) 0%,
    rgba(41,171,226,0.2) 30%,
    rgba(43,108,176,0.25) 60%,
    rgba(26,58,92,0.3) 100%
  );
  background-size: 300% 300%;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
  animation: holoRainbow 4s linear infinite;
}

.testimonial-card:hover::after { opacity: 1; }

@keyframes holoRainbow {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ---- BLOG CARDS — glow on hover ---- */
.blog-card:hover {
  box-shadow:
    0 0 0 1px rgba(26,58,92,0.2),
    0 20px 60px rgba(26,58,92,0.1);
}

/* ---- HEADING GLOW TEXT ---- */
.glow-text {
  text-shadow:
    0 0 20px rgba(26,58,92,0.25),
    0 0 60px rgba(26,58,92,0.1);
}

/* ---- BADGE — 3D shimmer ---- */
.badge {
  position: relative;
  overflow: hidden;
}

.badge::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  animation: badgeSweep 3s ease-in-out infinite;
  border-radius: inherit;
}

@keyframes badgeSweep {
  0%   { left: -100%; }
  50%  { left: 200%; }
  100% { left: 200%; }
}

/* ---- MAGNETIC BUTTONS — visual pulse ---- */
[data-magnetic] {
  position: relative;
  will-change: transform;
}

[data-magnetic]::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  background: var(--gradient);
  opacity: 0;
  z-index: -1;
  filter: blur(12px);
  transition: opacity 0.3s ease;
}

[data-magnetic]:hover::before { opacity: 0.5; }

/* ---- SECTION BG DEPTH GRID ---- */
.section-depth-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26,58,92,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,58,92,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

/* ---- HERO TEXT DEPTH ---- */
.hero-title {
  transform-style: preserve-3d;
}

.hero-title .depth-char {
  display: inline-block;
  animation: textFloat 6s ease-in-out infinite;
}

@keyframes textFloat {
  0%, 100% { transform: translateZ(0); }
  50%       { transform: translateZ(8px); }
}

/* ---- SCROLLBAR GLOW ---- */
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--primary), var(--accent));
  box-shadow: 0 0 6px rgba(41,171,226,0.3);
}

/* ---- SECTION TITLE — neon underline ---- */
.section-title-3d {
  position: relative;
  display: inline-block;
}

.section-title-3d::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(41,171,226,0.3);
}

.section-title-3d.visible::after { transform: scaleX(1); }

/* ---- RESPONSIVE 3D ---- */
@media (max-width: 900px) {
  .hero-3d-orb { display: none; }
  [data-tilt]  { transform: none !important; }
  .tilt-glare  { display: none; }
}

@media (max-width: 600px) {
  .section-particles { display: none; }
  [data-parallax]    { transform: none !important; }
}

/* ---- PERFORMANCE ---- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-tilt]    { transform: none !important; }
}

/* ---- FAQ SECTION ---- */
.faq-section {
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-mid) 100%);
  position: relative;
}

.faq-section::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 80% 20%, rgba(26,58,92,0.04) 0%, transparent 50%),
                    radial-gradient(circle at 20% 80%, rgba(41,171,226,0.04) 0%, transparent 50%);
  pointer-events: none;
}

.faq-grid {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  backdrop-filter: blur(12px);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover,
.faq-item.open {
  border-color: var(--border-bright);
  box-shadow: 0 8px 32px rgba(26,58,92,0.08);
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  color: var(--text-primary);
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  transition: color 0.2s;
  line-height: 1.4;
}

.faq-q:hover { color: var(--primary-light); }
.faq-item.open .faq-q { color: var(--primary-light); }

.faq-icon {
  width: 28px; height: 28px;
  min-width: 28px;
  background: rgba(26,58,92,0.08);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 400;
  color: var(--primary-light);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), background 0.2s;
  flex-shrink: 0;
  line-height: 1;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: rgba(26,58,92,0.15);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1);
}

.faq-a p {
  padding: 0 28px 22px;
  color: var(--text-secondary);
  font-size: 0.97rem;
  line-height: 1.8;
  border-top: 1px solid var(--border);
  padding-top: 18px;
  margin: 0 28px;
  padding-left: 0;
  padding-right: 0;
}

.faq-a p strong { color: var(--text-primary); }

@media (max-width: 640px) {
  .faq-q { padding: 18px 20px; font-size: 0.97rem; }
  .faq-a p { margin: 0 20px; }
}

/* ============================================================
   21ST.DEV INSPIRED — Premium CSS Animations v3
   Pure CSS: No Three.js, No libraries.
   Canvas BG replaces Three.js; this handles all other effects.
   ============================================================ */

/* ── Canvas comment update ────────────────────────────────── */
/* #global-canvas is now driven by canvas-bg.js (pure Canvas 2D) */

/* ── 1. AURORA SHIMMER TEXT (hero title gradient sweep) ─────── */
.hero-title .gradient-text {
  background: linear-gradient(
    90deg,
    #1A3A5C 0%,
    #2B6CB0 20%,
    #29ABE2 40%,
    #5CC8F5 60%,
    #1A3A5C 80%,
    #29ABE2 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: auroraShimmer 4s linear infinite;
}

@keyframes auroraShimmer {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* ── 2. ENHANCED HERO ORBS (21st.dev liquid blob style) ──────── */
.hero-orb {
  animation-timing-function: cubic-bezier(0.45, 0.05, 0.55, 0.95);
  will-change: transform;
}

.hero-orb-1 {
  width: 780px; height: 780px;
  background: radial-gradient(ellipse at 40% 40%,
    rgba(26, 58, 92, 0.2) 0%,
    rgba(43, 108, 176, 0.1) 40%,
    transparent 70%
  );
  filter: blur(90px);
  opacity: 1;
  animation: blobDrift1 12s ease-in-out infinite;
}

.hero-orb-2 {
  width: 600px; height: 600px;
  background: radial-gradient(ellipse at 60% 60%,
    rgba(41, 171, 226, 0.18) 0%,
    rgba(92, 200, 245, 0.1) 40%,
    transparent 70%
  );
  filter: blur(80px);
  opacity: 1;
  animation: blobDrift2 16s ease-in-out infinite;
}

.hero-orb-3 {
  width: 380px; height: 380px;
  background: radial-gradient(ellipse at 50% 50%,
    rgba(43, 108, 176, 0.15) 0%,
    rgba(41, 171, 226, 0.08) 50%,
    transparent 70%
  );
  filter: blur(70px);
  opacity: 1;
  animation: blobDrift3 20s ease-in-out infinite 2s;
}

@keyframes blobDrift1 {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(-40px, 30px) scale(1.08); }
  66%  { transform: translate(30px, -20px) scale(0.95); }
  100% { transform: translate(0, 0) scale(1); }
}

@keyframes blobDrift2 {
  0%   { transform: translate(0, 0) scale(1); }
  25%  { transform: translate(30px, -40px) scale(1.1); }
  50%  { transform: translate(-20px, 20px) scale(0.92); }
  75%  { transform: translate(15px, -15px) scale(1.04); }
  100% { transform: translate(0, 0) scale(1); }
}

@keyframes blobDrift3 {
  0%   { transform: translate(0, 0) rotate(0deg); }
  50%  { transform: translate(-30px, -25px) rotate(180deg) scale(1.12); }
  100% { transform: translate(0, 0) rotate(360deg); }
}

/* ── 3. DOT GRID UPGRADE (21st.dev dot matrix background) ──── */
.hero-grid {
  background-image: radial-gradient(
    circle,
    rgba(26, 58, 92, 0.12) 1px,
    transparent 1px
  );
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 30%, transparent 100%);
}

/* ── 4. GLOW BORDER CARDS (21st.dev card glow on hover) ──────── */
.service-card {
  --glow-opacity: 0;
  transition: var(--transition), box-shadow 0.4s ease;
}

.service-card:hover {
  box-shadow:
    0 0 0 1px rgba(26, 58, 92, 0.2),
    0 0 40px rgba(26, 58, 92, 0.08),
    0 20px 60px rgba(26, 58, 92, 0.1);
}

/* ── 5. ANIMATED GRADIENT BORDER (21st.dev shine effect) ────── */
@property --border-angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

.btn-primary {
  position: relative;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: conic-gradient(
    from var(--border-angle),
    #1A3A5C,
    #2B6CB0,
    #29ABE2,
    #5CC8F5,
    #1A3A5C
  );
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s;
  animation: borderSpin 3s linear infinite;
}

.btn-primary:hover::before {
  opacity: 1;
}

@keyframes borderSpin {
  to { --border-angle: 360deg; }
}

/* ── 6. HERO ORB CORE — Enhanced glow (21st.dev liquid metal) ── */
.hero-3d-orb .orb-core {
  background: radial-gradient(
    circle at 30% 30%,
    rgba(92, 200, 245, 0.7) 0%,
    rgba(43, 108, 176, 0.5) 25%,
    rgba(41, 171, 226, 0.3) 55%,
    rgba(247, 249, 252, 0.5) 80%,
    transparent 100%
  );
  box-shadow:
    0 0 60px rgba(41, 171, 226, 0.35),
    0 0 120px rgba(26, 58, 92, 0.15),
    0 0 200px rgba(43, 108, 176, 0.1),
    inset 0 0 40px rgba(255, 255, 255, 0.15);
}

/* ── 7. NOISE TEXTURE OVERLAY (subtle grain — 21st.dev style) ── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 128px 128px;
}

/* ── 8. SECTION ACCENT LINES (21st.dev divider glow) ─────────── */
.section::before {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gradient);
  border-radius: 3px;
  margin: 0 auto 0;
  opacity: 0;
}

/* ── 9. SHIMMER LOADING SKELETON (21st.dev skeleton style) ───── */
@keyframes shimmerSlide {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.skeleton {
  background: linear-gradient(
    90deg,
    rgba(26, 58, 92, 0.04) 25%,
    rgba(26, 58, 92, 0.08) 50%,
    rgba(26, 58, 92, 0.04) 75%
  );
  background-size: 200% 100%;
  animation: shimmerSlide 1.8s infinite;
  border-radius: 8px;
}

/* ── 10. GRADIENT TEXT for section headings ──────────────────── */
.section-title span {
  background: linear-gradient(
    120deg,
    #1A3A5C 0%,
    #2B6CB0 35%,
    #29ABE2 70%,
    #5CC8F5 100%
  );
  background-size: 150% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 6s ease infinite alternate;
}

@keyframes gradientShift {
  0%   { background-position: 0% center; }
  100% { background-position: 150% center; }
}

/* ── 11. GLOWING NAV CTA BUTTON ──────────────────────────────── */
.nav-cta .btn-primary {
  animation: navGlow 3s ease-in-out infinite;
}

@keyframes navGlow {
  0%, 100% { box-shadow: 0 4px 20px rgba(26,58,92,0.2); }
  50%       { box-shadow: 0 4px 30px rgba(26,58,92,0.35), 0 0 50px rgba(41,171,226,0.12); }
}

/* ── 12. CARD ENTRANCE ANIMATION (21st.dev reveal) ──────────── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16,1,0.3,1),
              transform 0.6s cubic-bezier(0.16,1,0.3,1);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* stagger children */
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }
.fade-up:nth-child(5) { transition-delay: 0.4s; }
.fade-up:nth-child(6) { transition-delay: 0.5s; }

/* ── 13. WHYUS CARDS — icon glow upgrade ────────────────────── */
.whyus-item:hover .whyus-icon-wrap {
  box-shadow: 0 0 30px rgba(41, 171, 226, 0.15);
}

/* ── 14. Reduced motion — respect OS setting ─────────────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── 15. Badge pulse dot — enhanced ─────────────────────────── */
.badge::before {
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(41, 171, 226, 0.4);
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%   { box-shadow: 0 0 0 0 rgba(41,171,226,0.4); transform: scale(1); }
  50%  { box-shadow: 0 0 0 6px rgba(41,171,226,0); transform: scale(1.2); }
  100% { box-shadow: 0 0 0 0 rgba(41,171,226,0); transform: scale(1); }
}
