/* ============================================================
   INTELLIGIN — PREMIUM LIGHT THEME V2.0
   Blue & White Corporate · GSAP Powered · Fully Responsive
   ============================================================ */

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

/* --- DESIGN TOKENS --- */
:root {
  --blue: #1a3cff;
  --blue-mid: #2d5bef;
  --blue-light: #60a5fa;
  --blue-pale: #eff6ff;
  --blue-dark: #1e3a8a;
  --grad: linear-gradient(135deg, #1a3cff 0%, #60a5fa 100%);
  --grad-text: linear-gradient(135deg, #1a3cff 0%, #3b82f6 50%, #60a5fa 100%);

  --bg: rgba(255, 255, 255, 0.2);
  --bg2: rgba(255, 255, 255, 0.4);
  --bg3: rgba(240, 245, 255, 0.6);
  --text: #0f172a;
  --text2: #334155;
  --text3: #64748b;
  --border: rgba(26,60,255,0.1);
  --border-mid: rgba(26,60,255,0.2);
  --glass: rgba(255,255,255,0.88);
  --glass-heavy: rgba(255,255,255,0.96);

  --shadow-sm: 0 2px 8px rgba(26,60,255,0.08);
  --shadow-md: 0 8px 30px rgba(26,60,255,0.12);
  --shadow-lg: 0 20px 60px rgba(26,60,255,0.16);
  --shadow-xl: 0 30px 80px rgba(26,60,255,0.2);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  --nav-h: 90px;
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- RESET & BASE --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #f8faff;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}
body::before {
  content: '';
  position: fixed; inset: 0; z-index: -2;
  background: 
    radial-gradient(ellipse 80% 60% at 20% 30%, rgba(26,60,255,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 60% 80% at 80% 60%, rgba(0,240,255,0.05) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 50% 80%, rgba(139,92,246,0.04) 0%, transparent 70%);
  animation: radiantShift 12s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes radiantShift {
  0%   { opacity: 0.6; transform: scale(1) rotate(0deg); }
  50%  { opacity: 1; transform: scale(1.05) rotate(1deg); }
  100% { opacity: 0.7; transform: scale(1.02) rotate(-1deg); }
}

/* --- SCROLLBAR --- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--grad); border-radius: 99px; }

/* --- TYPOGRAPHY ANIMATION BASE --- */
.typo-line {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  line-height: 1.15;
  padding-bottom: 0.05em; /* prevents descender clipping */
}
.typo-w { display: inline-block; will-change: transform; }
.typo-label { display: inline-block; overflow: hidden; }
.typo-label span { display: inline-block; }

/* --- GRADIENT TEXT --- */
.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- CUSTOM CURSOR (desktop only) --- */
@media (pointer: fine) {
  #cur {
    position: fixed; top: 0; left: 0; width: 10px; height: 10px;
    background: var(--blue); border-radius: 50%;
    pointer-events: none; z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background 0.3s;
    mix-blend-mode: multiply;
  }
  #cur-follower {
    position: fixed; top: 0; left: 0; width: 32px; height: 32px;
    border: 1.5px solid rgba(26,60,255,0.4); border-radius: 50%;
    pointer-events: none; z-index: 9998;
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s, border-color 0.3s;
  }
  body { cursor: none; }
  a, button, .svc-card, input, select, textarea { cursor: none; }
}
@media (pointer: coarse) {
  #cur, #cur-follower { display: none; }
  body { cursor: auto; }
}

/* --- PRELOADER --- */
#preloader {
  position: fixed; inset: 0; background: linear-gradient(145deg, #0f1f6e 0%, #1e3a8a 100%);
  z-index: 10000; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 24px;
  overflow: hidden;
}
#preloader::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(96,165,250,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(96,165,250,0.08) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridShift 8s linear infinite;
}
@keyframes gridShift { from { background-position: 0 0; } to { background-position: 60px 60px; } }
.pre-logo { display: flex; align-items: center; gap: 14px; position: relative; z-index: 1; }
.pre-logo-img {
  width: 72px; height: 72px; object-fit: contain;
  /* Use the actual logo with a white glow instead of inverting */
  filter: drop-shadow(0 0 20px rgba(96,165,250,0.8)) drop-shadow(0 0 40px rgba(96,165,250,0.4));
  animation: logoGlow 2s ease-in-out infinite alternate;
}
@keyframes logoGlow {
  from { filter: drop-shadow(0 0 12px rgba(96,165,250,0.6)) drop-shadow(0 0 30px rgba(96,165,250,0.3)); }
  to { filter: drop-shadow(0 0 24px rgba(96,165,250,1)) drop-shadow(0 0 50px rgba(96,165,250,0.5)); }
}
.pre-brand { font-size: 2rem; font-weight: 900; color: #fff; letter-spacing: -1px; }
.pre-bar { width: 240px; height: 3px; background: rgba(255,255,255,0.2); border-radius: 99px; overflow: hidden; }
.pre-fill { height: 100%; width: 0; background: var(--grad); border-radius: 99px; animation: preLoad 1.8s cubic-bezier(0.22,1,0.36,1) forwards; }
@keyframes preLoad { to { width: 100%; } }
.pre-msg { font-size: 0.8rem; color: rgba(255,255,255,0.6); letter-spacing: 2px; text-transform: uppercase; }
#preloader.done { animation: fadeOut 0.5s ease forwards; }
@keyframes fadeOut { to { opacity: 0; pointer-events: none; visibility: hidden; } }

/* --- CONTAINER --- */
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* --- SECTION COMMON --- */
section { padding: 96px 0; }
.sec-head { text-align: center; margin-bottom: 64px; }
.sec-label {
  display: inline-block; padding: 6px 18px;
  background: rgba(26,60,255,0.08); color: var(--blue);
  border-radius: 99px; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 20px; border: 1px solid var(--border);
}
.sec-title {
  font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 900;
  line-height: 1.1; letter-spacing: -1.5px; color: var(--text);
  margin-bottom: 20px;
}
.sec-sub { font-size: 1.05rem; color: var(--text3); max-width: 560px; margin: 0 auto; }

/* ============================================================
   NAVIGATION — ANIMATED
   ============================================================ */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h); display: flex; align-items: center;
  transition: background 0.5s cubic-bezier(0.16,1,0.3,1),
              backdrop-filter 0.5s ease,
              box-shadow 0.5s ease,
              border-color 0.5s ease;
  animation: navSlideDown 0.8s cubic-bezier(0.16,1,0.3,1) both;
}
@keyframes navSlideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
#nav.scrolled {
  background: var(--glass-heavy); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-logo {
  width: 65px; height: 65px; object-fit: contain; flex-shrink: 0;
  filter: drop-shadow(0 2px 6px rgba(26,60,255,0.25));
  transition: filter 0.3s, transform 0.4s cubic-bezier(0.16,1,0.3,1);
  animation: logoFloat 4s ease-in-out infinite;
}
@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-4px); }
}
.brand:hover .brand-logo {
  filter: drop-shadow(0 4px 16px rgba(26,60,255,0.55));
  transform: scale(1.08) rotate(-3deg);
}
.brand-name {
  font-size: 1.15rem; font-weight: 900; color: var(--text); letter-spacing: -0.5px;
  animation: navSlideDown 0.8s cubic-bezier(0.16,1,0.3,1) 0.15s both;
}
.nav-links { list-style: none; display: flex; align-items: center; gap: 4px; }
.nav-links li {
  animation: navLinkFade 0.6s cubic-bezier(0.16,1,0.3,1) both;
}
.nav-links li:nth-child(1) { animation-delay: 0.2s; }
.nav-links li:nth-child(2) { animation-delay: 0.3s; }
.nav-links li:nth-child(3) { animation-delay: 0.4s; }
.nav-links li:nth-child(4) { animation-delay: 0.5s; }
.nav-links li:nth-child(5) { animation-delay: 0.6s; }
.nav-links li:nth-child(6) { animation-delay: 0.7s; }
@keyframes navLinkFade {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.nav-links a {
  font-size: 0.9rem; font-weight: 600; color: var(--text2);
  text-decoration: none; padding: 8px 14px; border-radius: var(--r-sm);
  transition: color 0.3s, background 0.3s, transform 0.3s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: 2px; left: 50%; width: 0; height: 2px;
  background: var(--grad);
  border-radius: 2px;
  transition: width 0.35s cubic-bezier(0.16,1,0.3,1), left 0.35s cubic-bezier(0.16,1,0.3,1);
}
.nav-links a:hover::after {
  width: 60%; left: 20%;
}
.nav-links a:hover { color: var(--blue); background: var(--blue-pale); transform: translateY(-2px); }
.nav-links a.nav-cta {
  background: var(--grad); color: #fff; padding: 10px 20px;
  box-shadow: var(--shadow-sm);
  animation: ctaPulse 3s ease-in-out infinite;
}
.nav-links a.nav-cta::after { display: none; }
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 2px 8px rgba(26,60,255,0.15); }
  50%      { box-shadow: 0 4px 24px rgba(26,60,255,0.4), 0 0 40px rgba(26,60,255,0.1); }
}
.nav-links a.nav-cta:hover { opacity: 0.9; transform: translateY(-2px) scale(1.04); box-shadow: var(--shadow-md); }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 8px; cursor: pointer;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 99px; transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .hamburger { display: flex; }
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; background: var(--glass-heavy);
    backdrop-filter: blur(20px); border-bottom: 1px solid var(--border);
    padding: 24px; gap: 8px;
    transform: translateY(-100%); opacity: 0; pointer-events: none;
    transition: var(--transition);
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: all; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 12px 16px; text-align: center; }
}

/* ============================================================
   HERO — ANIMATED BACKGROUND SYSTEM
   ============================================================ */
#hero {
  min-height: 100vh; display: flex; flex-direction: column;
  justify-content: center; padding-top: var(--nav-h);
  position: relative; overflow: hidden;
  background: transparent;
}

/* === CANVAS for animated background === */
#hero-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
  opacity: 0.65;
}

/* === GRADIENT MESH ORBS (CSS layer) === */
.hero-bg {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0;
}
.orb {
  position: absolute; border-radius: 50%;
  will-change: transform;
}
.orb-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle at center, rgba(59,130,246,0.28) 0%, rgba(99,102,241,0.12) 50%, transparent 75%);
  top: -250px; right: -150px;
  filter: blur(60px);
  animation: orbFloat1 12s ease-in-out infinite;
}
.orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle at center, rgba(165,180,252,0.35) 0%, rgba(96,165,250,0.15) 50%, transparent 75%);
  bottom: -150px; left: -120px;
  filter: blur(70px);
  animation: orbFloat2 15s ease-in-out infinite;
}
.orb-3 {
  width: 350px; height: 350px;
  background: radial-gradient(circle at center, rgba(96,165,250,0.25) 0%, rgba(59,130,246,0.1) 50%, transparent 75%);
  top: 40%; left: 38%;
  filter: blur(50px);
  animation: orbFloat3 10s ease-in-out infinite;
}
.orb-4 {
  width: 250px; height: 250px;
  background: radial-gradient(circle at center, rgba(199,210,254,0.45) 0%, transparent 70%);
  top: 15%; left: 20%;
  filter: blur(40px);
  animation: orbFloat1 9s ease-in-out infinite reverse;
}

@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.97); }
}
@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  40% { transform: translate(-35px, 30px) scale(1.08); }
  70% { transform: translate(20px, -15px) scale(0.95); }
}
@keyframes orbFloat3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(25px, -30px) scale(1.1); }
}

/* Grid mesh overlay for texture */
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(26,60,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,60,255,0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

.hero-grid {
  flex: 1; display: grid; grid-template-columns: 1fr 420px;
  gap: 64px; align-items: center; padding: 80px 24px 40px;
  position: relative; z-index: 2;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 99px;
  background: rgba(26,60,255,0.08); border: 1px solid var(--border);
  font-size: 0.8rem; font-weight: 700; color: var(--blue);
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 24px;
}
.badge-dot { width: 8px; height: 8px; background: #22c55e; border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.6; transform: scale(0.8); } }

.hero-title {
  font-size: clamp(2.6rem, 5.5vw, 5rem); font-weight: 900;
  line-height: 1.0; letter-spacing: -3px; color: var(--text);
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 1.1rem; color: var(--text3); line-height: 1.7;
  max-width: 540px; margin-bottom: 36px;
}
.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats { display: flex; gap: 16px; flex-wrap: wrap; }
.stat-pill {
  display: flex; flex-direction: column; align-items: center;
  padding: 12px 20px; background: var(--glass); border: 1px solid var(--border);
  border-radius: var(--r-md); backdrop-filter: blur(12px);
}
.stat-pill strong { font-size: 1.4rem; font-weight: 900; color: var(--blue); }
.stat-pill span { font-size: 0.72rem; color: var(--text3); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }

/* Hero Panel */
.hero-panel {
  background: var(--glass-heavy); border: 1px solid var(--border-mid);
  border-radius: var(--r-xl); padding: 28px;
  box-shadow: var(--shadow-xl); backdrop-filter: blur(24px);
}
.panel-header {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.8rem; font-weight: 700; color: var(--text3);
  margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--border);
}
.panel-dot { width: 10px; height: 10px; border-radius: 50%; }
.panel-dot.green { background: #22c55e; }
.panel-dot.yellow { background: #f59e0b; }
.panel-dot.red { background: #ef4444; }
.metric-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0; border-bottom: 1px solid rgba(0,0,0,0.04); font-size: 0.88rem;
}
.metric-label { color: var(--text3); font-weight: 500; }
.metric-val { font-weight: 800; font-size: 0.9rem; }
.metric-val.green { color: #16a34a; }
.metric-val.blue { color: var(--blue); }
.metric-val.purple { color: #7c3aed; }
.metric-val.red { color: #dc2626; }
.metric-bar-row {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 0; font-size: 0.88rem;
}
.metric-bar-row .metric-label { flex: 1; color: var(--text3); font-weight: 500; }
.mbar { flex: 1; height: 4px; background: var(--blue-pale); border-radius: 99px; overflow: hidden; }
.mbar-fill { height: 100%; background: var(--grad); border-radius: 99px; }
.panel-cta {
  margin-top: 20px; padding: 14px; text-align: center;
  background: var(--grad); color: #fff; border-radius: var(--r-md);
  font-size: 0.85rem; font-weight: 700; letter-spacing: 0.5px;
}

/* Ticker */
.ticker-wrap {
  overflow: hidden; border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg2); padding: 14px 0; margin-top: 40px;
  position: relative; z-index: 2;
}
.ticker-track {
  display: flex; align-items: center; gap: 20px; white-space: nowrap;
  animation: ticker 30s linear infinite; will-change: transform;
}
.ticker-track span { font-size: 0.82rem; font-weight: 700; color: var(--text3); text-transform: uppercase; letter-spacing: 1px; }
.ticker-track .sep { color: var(--blue); opacity: 0.6; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ABOUT */
#about-sec { background: var(--bg2); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-left .sec-label { margin-bottom: 20px; }
.about-left .sec-title { text-align: left; margin-bottom: 20px; }
.about-body { font-size: 1.05rem; color: var(--text2); line-height: 1.8; margin-bottom: 32px; }
.about-badges { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 36px; }
.about-badge {
  display: flex; flex-direction: column; padding: 14px 20px;
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}
.about-badge strong { font-size: 1.5rem; font-weight: 900; color: var(--blue); }
.about-badge span { font-size: 0.78rem; color: var(--text3); font-weight: 600; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.feat-item {
  display: flex; align-items: flex-start; gap: 14px; padding: 18px 20px;
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-md);
  box-shadow: var(--shadow-sm); transition: var(--transition);
}
.feat-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--border-mid); }
.feat-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--blue-pale); display: flex; align-items: center;
  justify-content: center; color: var(--blue); flex-shrink: 0;
}
.feat-title { font-size: 0.9rem; font-weight: 700; color: var(--text); }
.feat-sub { font-size: 0.78rem; color: var(--text3); margin-top: 2px; }

/* ============================================================
   SERVICES — 3D FLIP CARDS
   ============================================================ */
#services-sec { background: var(--bg); }
.services-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.svc-card {
  perspective: 1200px; height: 320px;
  outline: none; cursor: pointer; position: relative;
}
.svc-inner {
  width: 100%; height: 100%; position: relative;
  transition: transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  transform-style: preserve-3d; border-radius: var(--r-lg);
}
.svc-card:hover .svc-inner,
.svc-card:focus .svc-inner,
.svc-card.flipped .svc-inner { transform: rotateY(180deg); }

.svc-front, .svc-back {
  position: absolute; inset: 0; width: 100%; height: 100%;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
  border-radius: var(--r-lg); padding: 28px;
  display: flex; flex-direction: column;
  border: 1px solid var(--border);
}
.svc-front {
  background: var(--glass-heavy); backdrop-filter: blur(16px);
  box-shadow: var(--shadow-md); transition: var(--transition);
}
.svc-card:hover .svc-front { border-color: var(--border-mid); box-shadow: var(--shadow-lg); }
.svc-back {
  background: linear-gradient(145deg, var(--blue-dark) 0%, #1a3cff 100%);
  transform: rotateY(180deg); color: #fff; border-color: transparent;
  box-shadow: var(--shadow-xl); overflow-y: auto;
}

.svc-icon-wrap {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--blue-pale); display: flex; align-items: center;
  justify-content: center; color: var(--blue); margin-bottom: 12px; flex-shrink: 0;
}
.svc-card.featured .svc-icon-wrap { background: rgba(26,60,255,0.15); }
.svc-stat { font-size: 0.75rem; font-weight: 800; color: var(--blue); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
.svc-title { font-size: 1.1rem; font-weight: 800; color: var(--text); margin-bottom: 8px; }
.svc-desc { font-size: 0.85rem; color: var(--text3); line-height: 1.6; flex: 1; }
.svc-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.svc-tags span { font-size: 0.7rem; font-weight: 700; padding: 3px 10px; background: var(--blue-pale); color: var(--blue); border-radius: 99px; }
.svc-hint { font-size: 0.7rem; color: var(--text3); margin-top: 8px; opacity: 0.7; }
.svc-badge-hot {
  position: absolute; top: 16px; right: 16px;
  background: var(--grad); color: #fff; font-size: 0.65rem;
  font-weight: 800; padding: 4px 10px; border-radius: 99px;
  letter-spacing: 0.5px;
}
.svc-card.featured .svc-front { border-color: var(--border-mid); box-shadow: var(--shadow-lg), 0 0 0 2px rgba(26,60,255,0.15); }

/* Back side */
.svc-back-title { font-size: 1.1rem; font-weight: 800; margin-bottom: 10px; }
.svc-back-stats { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.svc-back-stats span { font-size: 0.65rem; font-weight: 800; padding: 4px 10px; background: rgba(255,255,255,0.15); border-radius: 99px; }
.svc-section { margin-bottom: 10px; }
.svc-sec-label { font-size: 0.7rem; font-weight: 800; opacity: 0.7; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.svc-back ul { list-style: none; padding: 0; }
.svc-back ul li { font-size: 0.78rem; padding: 2px 0; opacity: 0.9; }
.svc-back ul li::before { content: "→ "; opacity: 0.6; }
.svc-tech { font-size: 0.7rem; opacity: 0.7; margin-top: 8px; border-top: 1px solid rgba(255,255,255,0.2); padding-top: 8px; }
.svc-back-cta {
  display: inline-block; margin-top: 10px; padding: 10px 16px;
  background: rgba(255,255,255,0.2); color: #fff; border-radius: var(--r-sm);
  text-decoration: none; font-size: 0.8rem; font-weight: 700;
  transition: var(--transition); text-align: center;
  border: 1px solid rgba(255,255,255,0.3);
}
.svc-back-cta:hover { background: rgba(255,255,255,0.3); }

/* ============================================================
   METRICS BELT
   ============================================================ */
.metrics-belt {
  background: var(--blue-dark); padding: 20px 0;
  overflow: hidden;
}
.metrics-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 20px; flex-wrap: wrap; padding: 0 24px;
}
.metric-chip { font-size: 0.88rem; font-weight: 700; color: rgba(255,255,255,0.85); }
.metric-chip strong { color: #fff; margin-right: 4px; }
.metric-sep { color: rgba(255,255,255,0.3); font-size: 1.2rem; }

/* ============================================================
   PROCESS
   ============================================================ */
#proc-sec { background: transparent; }
.process-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px;
}
.proc-step {
  position: relative; padding: 32px 24px;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--r-lg); text-align: center;
  transition: var(--transition); box-shadow: var(--shadow-sm);
}
.proc-step::before {
  content: ''; position: absolute; top: 50%; right: -10px;
  width: 20px; height: 2px; background: var(--border-mid);
}
.proc-step:last-child::before { display: none; }
.proc-step:hover { transform: translateY(-8px); box-shadow: 0 20px 60px rgba(26,60,255,0.16), 0 0 30px rgba(0,240,255,0.08); border-color: var(--border-mid); }
.proc-num { font-size: 2.5rem; font-weight: 900; color: var(--blue-pale); line-height: 1; margin-bottom: 12px; }
.proc-step:hover .proc-num { color: rgba(26,60,255,0.15); }
.proc-title { font-size: 1rem; font-weight: 800; color: var(--text); margin-bottom: 10px; }
.proc-desc { font-size: 0.82rem; color: var(--text3); line-height: 1.6; }

/* ============================================================
   BENEFITS
   ============================================================ */
#ben-sec { background: transparent; }
.benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ben-card {
  padding: 28px 24px; background: var(--bg2);
  border: 1px solid var(--border); border-radius: var(--r-lg);
  transition: var(--transition); box-shadow: var(--shadow-sm);
}
.ben-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--border-mid); background: var(--bg); }
.ben-stat { font-size: 2.5rem; font-weight: 900; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1; margin-bottom: 12px; }
.ben-title { font-size: 1rem; font-weight: 800; color: var(--text); margin-bottom: 8px; }
.ben-card p { font-size: 0.83rem; color: var(--text3); line-height: 1.6; }

/* ============================================================
   WHY US
   ============================================================ */
#why-sec { background: var(--bg2); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-card {
  padding: 32px 28px; background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--r-lg); transition: var(--transition); box-shadow: var(--shadow-sm);
}
.why-card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(26,60,255,0.16), 0 0 30px rgba(0,240,255,0.08); border-color: var(--border-mid); }
.why-stat { font-size: 2rem; font-weight: 900; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 12px; }
.why-title { font-size: 1.1rem; font-weight: 800; color: var(--text); margin-bottom: 10px; }
.why-desc { font-size: 0.85rem; color: var(--text3); line-height: 1.6; margin-bottom: 16px; }
.why-bullets { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.why-bullets li { font-size: 0.82rem; color: var(--text2); display: flex; align-items: flex-start; gap: 8px; }
.why-bullets li::before { content: "->"; color: var(--blue); font-weight: 800; flex-shrink: 0; font-size: 0.75rem; }

/* ============================================================
   TEAM
   ============================================================ */
#about-team { background: var(--bg); }
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; max-width: 900px; margin: 0 auto; }
.team-card {
  display: flex; align-items: flex-start; gap: 24px;
  padding: 36px 32px; background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--r-xl); transition: var(--transition); box-shadow: var(--shadow-sm);
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); border-color: var(--border-mid); }
.team-avatar {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--blue-pale); display: flex; align-items: center;
  justify-content: center; color: var(--blue); flex-shrink: 0;
  border: 3px solid var(--border-mid);
}
.team-name { font-size: 1.15rem; font-weight: 800; color: var(--text); margin-bottom: 4px; }
.team-role { font-size: 0.82rem; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 12px; }
.team-bio { font-size: 0.85rem; color: var(--text3); line-height: 1.6; margin-bottom: 16px; }
.team-links { display: flex; gap: 10px; flex-wrap: wrap; }
.team-link {
  font-size: 0.8rem; font-weight: 700; padding: 8px 16px;
  border-radius: var(--r-sm); text-decoration: none; transition: var(--transition);
}
.team-link.phone { background: var(--blue-pale); color: var(--blue); border: 1px solid var(--border); }
.team-link.wa { background: #22c55e; color: #fff; }
.team-link:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }

/* ============================================================
   REVIEWS
   ============================================================ */
#reviews-sec { background: var(--bg2); }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 40px; }
.review-card {
  padding: 28px; background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--r-lg); box-shadow: var(--shadow-sm); transition: var(--transition);
}
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.review-stars { color: #f59e0b; font-size: 1.2rem; margin-bottom: 12px; }
.review-text { font-size: 0.9rem; color: var(--text2); line-height: 1.7; font-style: italic; margin-bottom: 16px; }
.reviewer { display: flex; flex-direction: column; gap: 2px; }
.reviewer strong { font-size: 0.85rem; font-weight: 800; color: var(--text); }
.reviewer span { font-size: 0.78rem; color: var(--text3); }
.rating-badge { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.rating-score { font-size: 3rem; font-weight: 900; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.rating-stars { color: #f59e0b; font-size: 1.4rem; }
.rating-count { font-size: 0.85rem; color: var(--text3); }

/* ============================================================
   CONTACT
   ============================================================ */
#con-sec {
  background: linear-gradient(160deg, #f0f5ff 0%, #ffffff 100%);
}
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.ci-item { display: flex; align-items: flex-start; gap: 14px; font-size: 0.9rem; color: var(--text2); }
.ci-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 2px; }
.ci-item a { color: var(--blue); text-decoration: none; font-weight: 600; }
.ci-item a:hover { text-decoration: underline; }
.contact-socials { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.soc-btn {
  padding: 8px 16px; border-radius: var(--r-sm); font-size: 0.8rem;
  font-weight: 700; text-decoration: none; background: var(--blue-pale);
  color: var(--blue); border: 1px solid var(--border); transition: var(--transition);
}
.soc-btn:hover { background: var(--blue); color: #fff; }
.soc-btn.wa { background: #dcfce7; color: #16a34a; border-color: #bbf7d0; }
.soc-btn.wa:hover { background: #16a34a; color: #fff; }

/* Form */
.contact-form-wrap { background: var(--glass-heavy); border: 1px solid var(--border-mid); border-radius: var(--r-xl); padding: 40px; box-shadow: var(--shadow-xl); }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.82rem; font-weight: 700; color: var(--text2); }
.form-group input, .form-group select, .form-group textarea {
  padding: 12px 16px; border: 1.5px solid var(--border);
  border-radius: var(--r-sm); font-size: 0.9rem;
  font-family: inherit; color: var(--text); background: var(--bg);
  transition: var(--transition); outline: none;
  -webkit-appearance: none; appearance: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26,60,255,0.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-msg {
  display: none; padding: 12px 16px; border-radius: var(--r-sm);
  font-size: 0.85rem; font-weight: 700; text-align: center;
  background: #f0fdf4; color: #16a34a; border: 1px solid #bbf7d0;
}
.form-msg.error { background: #fef2f2; color: #dc2626; border-color: #fecaca; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; background: var(--grad);
  color: #fff; font-size: 0.92rem; font-weight: 800;
  border: none; border-radius: 99px; text-decoration: none;
  transition: var(--transition); box-shadow: var(--shadow-md);
  letter-spacing: 0.3px; white-space: nowrap;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: var(--shadow-xl); opacity: 0.95; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; background: transparent;
  color: var(--text); font-size: 0.92rem; font-weight: 700;
  border: 1.5px solid var(--border-mid); border-radius: 99px;
  text-decoration: none; transition: var(--transition); white-space: nowrap;
}
.btn-ghost:hover { background: var(--blue-pale); color: var(--blue); border-color: var(--blue); }

/* ============================================================
   FOOTER
   ============================================================ */
#footer { background: var(--text); color: rgba(255,255,255,0.75); }
.footer-top { padding: 80px 0 48px; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-logo {
  width: 44px; height: 44px; object-fit: contain;
  /* Show real logo — it's blue. On dark footer bg, we make it glow white */
  filter: brightness(0) invert(1);
  margin-bottom: 12px;
  opacity: 0.9;
}
.footer-name { font-size: 1.2rem; font-weight: 900; color: #fff; margin-bottom: 8px; }
.footer-logo {
  width: 75px; height: 75px; object-fit: contain;
  margin-bottom: 12px;
}
.footer-tagline { font-size: 0.8rem; color: rgba(255,255,255,0.5); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 16px; }
.footer-desc { font-size: 0.84rem; line-height: 1.7; color: rgba(255,255,255,0.55); margin-bottom: 24px; }
.footer-socials { display: flex; gap: 12px; }
.footer-socials a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.7); transition: var(--transition); text-decoration: none; }
.footer-socials a:hover { background: var(--blue); color: #fff; transform: translateY(-3px); }
.footer-col-title { font-size: 0.78rem; font-weight: 800; color: #fff; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 20px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li { font-size: 0.84rem; }
.footer-col ul li a { color: rgba(255,255,255,0.6); text-decoration: none; transition: var(--transition); }
.footer-col ul li a:hover { color: var(--blue-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 0;
  display: flex;
}
.footer-bottom .container {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 8px;
  font-size: 0.78rem; color: rgba(255,255,255,0.4);
}

/* WhatsApp Float */
.wa-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 56px; height: 56px; background: #25d366;
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; color: #fff;
  box-shadow: 0 8px 24px rgba(37,211,102,0.4); transition: var(--transition);
  text-decoration: none;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 12px 32px rgba(37,211,102,0.5); }

/* ============================================================
   REVEAL ANIMATION BASE
   ============================================================ */
.rv-item {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.rv-item.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .benefits-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; padding-top: 100px; }
  .hero-panel { max-width: 500px; }
}
@media (max-width: 900px) {
  section { padding: 72px 0; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(3, 1fr); }
  .proc-step::before { display: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .team-grid { grid-template-columns: 1fr; }
  .team-card { flex-direction: column; }
  .reviews-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .about-features { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .hero-title { letter-spacing: -2px; }
  .sec-title { letter-spacing: -1px; }
  .services-grid { grid-template-columns: 1fr; }
  .svc-card { height: 280px; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-stats { gap: 10px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .contact-form-wrap { padding: 24px; }
  .metrics-inner { flex-direction: column; gap: 8px; }
  .metric-sep { display: none; }
  .metrics-belt { padding: 16px 0; }
}
@media (max-width: 400px) {
  .container { padding: 0 16px; }
  .sec-title { font-size: 1.8rem; }
  .hero-title { font-size: 2.2rem; }
}

/* ============================================================
   GLOBAL DETAILS MODAL
   ============================================================ */
.global-modal-overlay {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(15, 23, 42, 0.4); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.4s;
}
.global-modal-overlay.active { opacity: 1; pointer-events: all; }
.global-modal {
  background: var(--bg); width: 90%; max-width: 600px;
  border-radius: var(--r-lg); padding: 40px; position: relative;
  box-shadow: var(--shadow-xl); border: 1px solid var(--border-mid);
  transform: translateY(40px) scale(0.95); opacity: 0;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s;
}
.global-modal-overlay.active .global-modal { transform: translateY(0) scale(1); opacity: 1; }
.modal-close {
  position: absolute; top: 20px; right: 20px; background: var(--bg2);
  border: none; width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; cursor: none;
  font-size: 1.2rem; font-weight: bold; color: var(--text2); transition: var(--transition);
}
.modal-close:hover { background: var(--blue-pale); color: var(--blue); transform: rotate(90deg); }
.modal-title { font-size: 1.8rem; font-weight: 900; margin-bottom: 12px; color: var(--text); }
.modal-body { font-size: 0.95rem; line-height: 1.7; color: var(--text3); margin-bottom: 24px; }
.modal-cta { display: inline-block; background: var(--grad); color: #fff; padding: 12px 24px; border-radius: var(--r-sm); font-weight: 700; text-decoration: none; box-shadow: var(--shadow-sm); transition: var(--transition); cursor: none;}
.modal-cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); opacity: 0.9; }

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ============================================================
   TICKER (MARQUEE) STYLES
   ============================================================ */
.ticker-wrap {
  width: 100%;
  overflow: hidden;
  background: var(--bg3);
  padding: 15px 0;
  display: block;
  white-space: nowrap;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  position: relative;
  z-index: 5;
}

.ticker-track {
  display: inline-flex;
  white-space: nowrap;
  animation: ticker-scroll 35s linear infinite;
  will-change: transform;
  flex-shrink: 0;
  min-width: max-content;
}

.ticker-track span {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--blue-dark);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 0 25px;
}

.ticker-track span.sep {
  color: var(--blue);
  opacity: 0.4;
  padding: 0 10px;
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

#footer .ticker-wrap {
  margin-bottom: 0;
}
