/* =========================================
   NEXIP.IN — style.css
   ========================================= */

/* Google Fonts loaded via <link> in HTML for performance */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent !important;
}

/* Z-index scale:
   Scroll progress: 999
   Custom cursor: 9999
   Toast: 9999
   Navbar: 90
   Mobile drawer: 89
   Drawer backdrop: 88
   Skip link: 10000
   Noise overlay: 10001
*/

:root {
  --bg:        #050816;
  --bg2:       #0E1324;
  --primary:   #4F8CFF;
  --secondary: #6C63FF;
  --accent:    #00D9FF;
  --text:      #FFFFFF;
  --muted:     #AEB8D0;
  --card-bg:   rgba(255,255,255,0.05);
  --card-bd:   rgba(255,255,255,0.08);
  --radius:    16px;
  --radius-lg: 20px;
  --radius-pill: 50px;
  --error:     #f87171;
  --success:   #34d399;
  --nav-height: 72px;
  color-scheme: dark;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) var(--bg2);
  -webkit-tap-highlight-color: transparent !important;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent !important;
}

a, button, input, select, textarea, [tabindex], label {
  -webkit-tap-highlight-color: transparent !important;
  outline: none;
}

:focus:not(:focus-visible) {
  outline: none !important;
  box-shadow: none !important;
}

/* Noise texture overlay for premium feel */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 10001;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-repeat: repeat;
}

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

/* ---- Selection ---- */
::selection { background: rgba(0, 217, 255, 0.25); color: #fff; }
::-moz-selection { background: rgba(0, 217, 255, 0.25); color: #fff; }

/* ---- Skip navigation ---- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  padding: 12px 24px;
  border-radius: 0 0 8px 8px;
  z-index: 10000;
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus-visible {
  top: 0;
  outline: 2px solid var(--accent);
}

/* ---- Focus visible ---- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.service-tag:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* =========================================
   ENTERPRISE PRELOADER & LOADING ANIMATION
   ========================================= */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: radial-gradient(circle at center, #0e1324 0%, #050816 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s ease;
  will-change: opacity, transform;
}
body.loaded .preloader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(1.03);
}

.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  position: relative;
  z-index: 2;
  padding: 20px;
}

.preloader-visual {
  position: relative;
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader-glow {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 217, 255, 0.35) 0%, rgba(79, 140, 255, 0.15) 50%, transparent 70%);
  filter: blur(18px);
  animation: preloaderPulse 2.4s ease-in-out infinite alternate;
}

.preloader-ring-outer {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px dashed rgba(79, 140, 255, 0.35);
  animation: preloaderSpin 10s linear infinite;
}

.preloader-ring-inner {
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 217, 255, 0.5);
  border-top-color: transparent;
  border-bottom-color: transparent;
  animation: preloaderSpinReverse 4s linear infinite;
}

.preloader-core {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #162447, #0e1324);
  border: 1.5px solid rgba(0, 217, 255, 0.6);
  box-shadow: 0 0 20px rgba(0, 217, 255, 0.4), inset 0 0 10px rgba(79, 140, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: preloaderFloat 3s ease-in-out infinite;
}

.preloader-core-icon {
  font-size: 1.2rem;
  color: var(--accent);
  text-shadow: 0 0 10px var(--accent);
  line-height: 1;
}

.preloader-brand {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1;
}
.preloader-brand span {
  color: var(--primary);
}

.preloader-tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.preloader-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 1.5s infinite;
}

.preloader-track {
  width: 180px;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin-top: 8px;
  position: relative;
}

.preloader-progress {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
  border-radius: var(--radius-pill);
  box-shadow: 0 0 10px var(--accent);
  animation: preloaderLoad 1.4s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

@keyframes preloaderSpin {
  to { transform: rotate(360deg); }
}
@keyframes preloaderSpinReverse {
  to { transform: rotate(-360deg); }
}
@keyframes preloaderPulse {
  0% { transform: scale(0.9); opacity: 0.4; }
  100% { transform: scale(1.15); opacity: 0.85; }
}
@keyframes preloaderFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}
@keyframes preloaderLoad {
  0% { width: 5%; }
  40% { width: 55%; }
  75% { width: 88%; }
  100% { width: 100%; }
}

/* =========================================
   SCROLL PROGRESS
   ========================================= */
#scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; z-index: 999;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
  width: 0%; transition: width .1s linear;
}

/* =========================================
   CUSTOM CURSOR
   ========================================= */
#cursor-dot, #cursor-ring {
  position: fixed; border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%,-50%);
  transition: opacity .3s;
  will-change: transform, left, top;
}
#cursor-dot  { width:8px; height:8px; background:var(--accent); top:0; left:0; }
#cursor-ring {
  width:36px; height:36px;
  border: 1.5px solid rgba(0,217,255,.5);
  top:0; left:0;
  transition: transform .12s ease, width .2s, height .2s;
}
@media (hover: none) { #cursor-dot, #cursor-ring { display: none; } }

/* =========================================
   NAVBAR
   ========================================= */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(5,8,22,.6);
  border-bottom: 1px solid var(--card-bd);
  transition: background .3s, box-shadow .3s;
}
#navbar.scrolled {
  background: rgba(5,8,22,.92);
  box-shadow: 0 4px 40px rgba(0,0,0,.4);
}
.nav-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 0 24px; height: var(--nav-height);
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { font-size: 1.4rem; font-weight: 800; letter-spacing: -.03em; text-decoration: none; color: #fff; }
.nav-logo span { color: var(--primary); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  font-size: .875rem; font-weight: 500;
  color: var(--muted); text-decoration: none;
  transition: color .2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
  transition: width 0.3s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}
.nav-links a:hover { color: #fff; }
.nav-links a.active { color: #fff; }
.nav-cta {
  padding: 10px 24px; border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff; font-weight: 700; font-size: .875rem;
  text-decoration: none; cursor: pointer;
  box-shadow: 0 0 20px rgba(79,140,255,.35);
  transition: opacity .2s, transform .2s;
  border: none;
}
.nav-cta:hover { opacity: .9; transform: scale(1.03); }
.nav-cta:active { transform: scale(0.98); }
.nav-secondary-btn {
  padding: 10px 20px; border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.03); color: var(--muted);
  border: 1px solid rgba(255,255,255,0.15);
  font-weight: 600; font-size: .875rem;
  text-decoration: none; 
  cursor: pointer;
  transition: all .2s;
}
.nav-secondary-btn:hover { 
  background: rgba(255,255,255,0.08); 
  border-color: rgba(255,255,255,0.3); 
  color: #fff; 
}
.nav-secondary-btn:active { transform: scale(0.97); }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: #fff; border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.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); }

/* Drawer backdrop */
#drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 88;
  background: rgba(5, 8, 22, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s cubic-bezier(0.16, 1, 0.3, 1), visibility .3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
#drawer-backdrop.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Mobile drawer */
#mobile-drawer {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  z-index: 89;
  padding: 8px 16px 20px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-16px) scale(0.98);
  transition: opacity .3s cubic-bezier(0.16, 1, 0.3, 1), transform .3s cubic-bezier(0.16, 1, 0.3, 1), visibility .3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
#mobile-drawer.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.drawer-inner {
  background: rgba(14, 19, 36, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.05);
  padding: 8px;
}
.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.drawer-inner a.drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  color: var(--muted);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 12px;
  border: none;
  transition: background .2s ease, color .2s ease, transform .2s ease;
  -webkit-tap-highlight-color: transparent !important;
  outline: none;
}
.drawer-inner a.drawer-link:hover,
.drawer-inner a.drawer-link:active {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  transform: translateX(4px);
}
.drawer-cta-wrap {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--card-bd);
}
.drawer-cta-wrap a.drawer-cta {
  display: block;
  text-align: center;
  padding: 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(79, 140, 255, 0.35);
  border: none;
  text-decoration: none;
  transform: none !important;
  transition: opacity .2s, box-shadow .2s;
}
.drawer-cta-wrap a.drawer-cta:hover,
.drawer-cta-wrap a.drawer-cta:active {
  opacity: 0.95;
  box-shadow: 0 6px 24px rgba(79, 140, 255, 0.5);
}

.drawer-socials {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 16px !important;
  margin-top: 14px !important;
  padding: 14px 0 6px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  width: 100% !important;
}
.drawer-socials .social-link {
  display: inline-flex !important;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  max-width: 44px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: var(--muted) !important;
  text-decoration: none !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s !important;
}
.drawer-socials .social-link:hover,
.drawer-socials .social-link:active {
  background: rgba(79, 140, 255, 0.25) !important;
  border-color: var(--primary) !important;
  color: #fff !important;
  transform: scale(1.1) !important;
}
.drawer-socials .social-link.instagram-link:hover,
.drawer-socials .social-link.instagram-link:active {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%) !important;
  border-color: rgba(214, 36, 159, 0.7) !important;
  color: #fff !important;
  box-shadow: 0 0 16px rgba(214, 36, 159, 0.45) !important;
}

/* NEW: Hide secondary buttons on tablets/small laptops so they don't crush the logo */
@media (max-width: 1024px) {
  .nav-secondary-btn { display: none !important; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta, .nav-actions { display: none; }
  .hamburger { display: flex; }
}

/* =========================================
   SECTIONS — shared
   ========================================= */
section { position: relative; overflow: hidden; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 18px; border-radius: var(--radius-pill);
  border: 1px solid var(--card-bd); background: var(--card-bg);
  font-size: .8rem; font-weight: 500; color: rgba(255,255,255,.8);
  margin-bottom: 24px;
}
.section-badge .dot { width:8px; height:8px; border-radius:50%; background:var(--accent); animation: pulse 2s infinite; }
.section-title { font-size: clamp(2rem,5vw,3.5rem); font-weight: 800; letter-spacing: -.04em; margin-bottom: 16px; line-height:1.1; }
.section-sub { font-size: 1.1rem; color: var(--muted); max-width: 600px; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--accent), var(--secondary));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Reveal animation (Safe default: visible, smooth fade-in on scroll) */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s cubic-bezier(0.16, 1, 0.3, 1), transform .6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* Hero Entrance Animations (Pure CSS — renders immediately without blocking) */
.hero-content > .section-badge { animation: heroFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both; }
.hero-content > .hero-title   { animation: heroFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both; }
.hero-content > .hero-sub     { animation: heroFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both; }
.hero-content > .hero-btns    { animation: heroFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both; }

@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================
   HERO
   ========================================= */
#hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex; align-items: center; justify-content: center;
  padding: 100px 24px 60px; text-align: center;
  background: var(--bg);
}
.hero-bg {
  position: absolute; inset: 0; overflow: hidden; z-index: 0;
}
.hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(120px); animation: float 8s ease-in-out infinite;
  will-change: transform;
  backface-visibility: hidden;
}
.hero-orb-1 { width:50vw; height:50vw; top:15%; left:20%; background:rgba(79,140,255,.22); }
.hero-orb-2 { width:40vw; height:40vw; top:25%; right:20%; background:rgba(108,99,255,.2); animation-delay:-4s; }
.hero-orb-3 { width:60vw; height:60vw; bottom:10%; left:50%; transform:translateX(-50%); background:rgba(0,217,255,.08); animation-delay:-2s; }

/* Mouse spotlight */
#mouse-spotlight {
  position: absolute; width:400px; height:400px;
  border-radius:50%; pointer-events:none;
  background: radial-gradient(circle, rgba(79,140,255,.12) 0%, transparent 70%);
  transform: translate(-50%,-50%);
  transition: left .15s ease, top .15s ease;
  z-index:1;
}

.hero-content { position:relative; z-index:2; max-width:900px; }
.hero-title {
  font-size: clamp(2.8rem, 8vw, 6rem);
  font-weight: 800; letter-spacing: -.05em;
  line-height: 1.05; margin-bottom: 24px;
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--muted); max-width: 700px; margin: 0 auto 48px;
}
.hero-btns { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.btn-primary {
  padding: 16px 36px; border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff; font-weight: 700; font-size: 1rem;
  text-decoration: none; border: none; cursor: pointer;
  box-shadow: 0 0 30px rgba(79,140,255,.4);
  transition: transform .2s, box-shadow .2s;
  display: inline-block;
}
.btn-primary:hover { transform: scale(1.05); box-shadow: 0 0 40px rgba(79,140,255,.6); }
.btn-primary:active { transform: scale(0.97); }
.btn-outline {
  padding: 16px 36px; border-radius: var(--radius-pill);
  border: 1.5px solid rgba(79,140,255,.5);
  color: #fff; font-weight: 700; font-size: 1rem;
  background: none; cursor: pointer;
  text-decoration: none; display: inline-block;
  transition: background .2s, transform .2s;
}
.btn-outline:hover { background: rgba(79,140,255,.1); }
.btn-outline:active { transform: scale(0.97); }
.btn-ghost {
  padding: 16px 24px; border-radius: var(--radius-pill);
  background: none; border: none; color: #fff;
  font-weight: 700; font-size: 1rem; cursor: pointer;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  transition: color .2s, transform .2s;
}
.btn-ghost:hover { color: var(--accent); }
.btn-ghost:active { transform: scale(0.97); }

/* Hero SVG wave */
.hero-wave { margin-top: 60px; opacity: .5; width:100%; max-width:900px; height:150px; }
.wave-path { stroke-dasharray: 1500; stroke-dashoffset: 1500; animation: drawPath 2.5s ease forwards; }
.wave-path2 { stroke-dasharray: 2000; stroke-dashoffset: 2000; animation: drawPath 3.5s ease forwards .5s; }
@keyframes drawPath { to { stroke-dashoffset: 0; } }

/* =========================================
   TRUSTED BY
   ========================================= */
#trusted { padding: 60px 0; background: var(--bg2); border-top: 1px solid var(--card-bd); border-bottom: 1px solid var(--card-bd); }
.marquee-wrap { overflow: hidden; }
.marquee-track {
  display: flex; width: max-content;
  animation: marquee 25s linear infinite;
  will-change: transform;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
  padding: 0 48px;
  font-size: .95rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255,255,255,.25); white-space: nowrap;
  display: flex; align-items: center; gap: 16px;
}
.marquee-item::after { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--card-bd); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* =========================================
   SERVICES
   ========================================= */
#services { padding: 100px 0; background: var(--bg); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px; margin-top: 60px;
}
.service-card {
  background: var(--card-bg);
  border: 1px solid var(--card-bd);
  border-radius: var(--radius-lg); padding: 32px;
  transition: transform .3s, border-color .3s, box-shadow .3s;
  cursor: default; position: relative; overflow: hidden;
  contain: layout style paint;
}
.service-card::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(135deg, rgba(79,140,255,.08), transparent);
  opacity: 0; transition: opacity .3s;
}
.service-card:hover { transform: translateY(-4px) scale(1.01); border-color: rgba(79,140,255,.4); box-shadow: 0 0 30px rgba(79,140,255,.15); }
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(79,140,255,.12); border: 1px solid rgba(79,140,255,.2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.service-card:hover .service-icon {
  transform: scale(1.1) rotate(-3deg);
  box-shadow: 0 0 20px rgba(79,140,255,.25);
}
.service-icon svg { width: 22px; height: 22px; stroke: var(--primary); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.service-name { font-size: 1rem; font-weight: 700; margin-bottom: 8px; color: #fff; }
.service-desc { font-size: .875rem; color: var(--muted); line-height: 1.6; }

/* =========================================
   AI MARKETING
   ========================================= */
#ai-marketing {
  padding: 100px 0;
  background: var(--bg2);
  border-top: 1px solid var(--card-bd);
  border-bottom: 1px solid var(--card-bd);
}
.ai-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(0, 217, 255, 0.3);
  background: rgba(0, 217, 255, 0.08);
  color: var(--accent);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.ai-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}
.ai-features {
  list-style: none;
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ai-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .92rem;
  color: var(--muted);
  line-height: 1.5;
}
.ai-features li strong {
  color: #fff;
}
.ai-features li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px 2px rgba(0, 217, 255, 0.5);
  flex-shrink: 0;
  margin-top: 6px;
}

/* Network visualizer */
.ai-viz {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.ai-viz-container {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ai-glow-orb {
  position: absolute;
  inset: 15%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 140, 255, 0.22) 0%, rgba(108, 99, 255, 0.12) 45%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}
.ai-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
  pointer-events: none;
  will-change: transform;
}
.ai-ring-outer {
  width: 85%;
  height: 85%;
  border-color: rgba(255, 255, 255, 0.06);
  border-style: dashed;
  animation: spin 70s linear infinite;
}
.ai-ring-inner {
  width: 58%;
  height: 58%;
  border-color: rgba(0, 217, 255, 0.18);
  animation: spin 45s linear infinite reverse;
}
.ai-svg-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
.ai-hex-line {
  fill: rgba(79, 140, 255, 0.02);
  stroke: rgba(79, 140, 255, 0.25);
  stroke-width: 1.5;
  stroke-dasharray: 6 6;
  animation: dashOffset 20s linear infinite;
}
.ai-spoke {
  stroke: url(#aiLineGrad);
  stroke-width: 1.5;
  stroke-dasharray: 4 4;
  opacity: 0.7;
  animation: linePulse 3s ease-in-out infinite;
}
.spoke-1 { animation-delay: 0s; }
.spoke-2 { animation-delay: 0.4s; }
.spoke-3 { animation-delay: 0.8s; }
.spoke-4 { animation-delay: 1.2s; }
.spoke-5 { animation-delay: 1.6s; }
.spoke-6 { animation-delay: 2.0s; }

.ai-pulse-dot {
  fill: var(--accent);
  filter: drop-shadow(0 0 6px var(--accent));
}

@keyframes dashOffset {
  to { stroke-dashoffset: 200; }
}
@keyframes linePulse {
  0%, 100% { opacity: 0.35; stroke-width: 1.5; }
  50% { opacity: 0.9; stroke-width: 2.2; }
}

/* Central AI Core Hub */
.ai-core-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 96px;
  height: 96px;
  border-radius: 50%;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ai-core-pulse {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 140, 255, 0.4), rgba(0, 217, 255, 0.1) 60%, transparent 80%);
  animation: pulse-glow 3s ease-in-out infinite;
  pointer-events: none;
}
.ai-core-badge {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: linear-gradient(135deg, #162447 0%, #0e1324 100%);
  border: 2px solid rgba(0, 217, 255, 0.5);
  box-shadow: 0 0 30px rgba(0, 217, 255, 0.4), inset 0 0 15px rgba(79, 140, 255, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  transition: transform .3s ease;
}
.ai-core-badge:hover {
  transform: scale(1.06);
}
.ai-core-icon {
  font-size: 1.3rem;
  line-height: 1;
}
.ai-core-text {
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .08em;
  color: #fff;
  background: linear-gradient(135deg, #fff, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hexagonal Nodes */
.ai-node {
  position: absolute;
  transform: translate(-50%, -50%);
  background: rgba(14, 19, 36, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-pill);
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 3;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.05);
  transition: all .3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
  white-space: nowrap;
}
.ai-node:hover {
  border-color: var(--accent);
  background: rgba(18, 26, 50, 0.95);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 217, 255, 0.3);
  transform: translate(-50%, -50%) scale(1.08);
}
.node-icon {
  font-size: 1rem;
  line-height: 1;
}
.node-title {
  font-size: .75rem;
  font-weight: 700;
  color: #e2e8f0;
  letter-spacing: .02em;
}
.ai-node:hover .node-title {
  color: #fff;
}

/* Precise Hexagonal Coordinates */
.node-top       { top: 13.75%; left: 50%; }
.node-top-right { top: 32%;    left: 81.5%; }
.node-btm-right { top: 68%;    left: 81.5%; }
.node-btm       { top: 86.25%; left: 50%; }
.node-btm-left  { top: 68%;    left: 18.5%; }
.node-top-left  { top: 32%;    left: 18.5%; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse-glow { 0%,100%{box-shadow:0 0 25px rgba(79,140,255,.5)} 50%{box-shadow:0 0 55px rgba(0,217,255,.8)} }

@media (max-width: 900px) {
  .ai-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .ai-viz-container {
    max-width: 380px;
  }
}
@media (max-width: 480px) {
  .ai-viz-container {
    max-width: 330px;
  }
  .ai-node {
    padding: 6px 10px;
    gap: 5px;
  }
  .node-icon { font-size: .85rem; }
  .node-title { font-size: .65rem; }
  .ai-core-badge {
    width: 72px;
    height: 72px;
  }
  .ai-core-icon { font-size: 1.1rem; }
  .ai-core-text { font-size: .55rem; }
}

/* =========================================
   GROWTH PROCESS
   ========================================= */
#growth { padding: 100px 0; background: var(--bg); }
.growth-steps { display: flex; flex-wrap: wrap; gap: 0; margin-top: 60px; position:relative; }
.growth-steps::before {
  content:''; position:absolute; top:36px; left:0; right:0; height:2px;
  background: linear-gradient(90deg, transparent, var(--primary), var(--secondary), transparent);
  opacity:.3;
}
.growth-step {
  flex: 1; min-width: 140px; text-align: center; padding: 0 16px;
  position:relative;
}
.step-num {
  width:72px; height:72px; border-radius:50%; margin:0 auto 20px;
  background: linear-gradient(135deg, rgba(79,140,255,.15), rgba(108,99,255,.15));
  border: 1px solid rgba(79,140,255,.3);
  display:flex; align-items:center; justify-content:center;
  font-size:1.5rem; font-weight:800; color:var(--primary);
  position:relative; z-index:1;
  transition: box-shadow .3s, transform .3s;
}
.growth-step:hover .step-num { box-shadow:0 0 30px rgba(79,140,255,.5); transform: scale(1.08); }
.step-name { font-size:1rem; font-weight:700; color:#fff; margin-bottom:8px; }
.step-desc { font-size:.8rem; color:var(--muted); line-height:1.5; }
@media(max-width:768px){ .growth-steps::before{display:none;} .growth-steps{flex-direction:column;gap:32px;} .growth-step{text-align:left; display:flex; gap:20px; align-items:flex-start;} .step-num{flex-shrink:0; margin:0;} }

/* =========================================
   INDUSTRIES
   ========================================= */
#industries { padding: 100px 0; background: var(--bg2); border-top: 1px solid var(--card-bd); border-bottom: 1px solid var(--card-bd); }
.industries-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; margin-top: 60px;
}
.industry-card {
  background: var(--card-bg); border: 1px solid var(--card-bd);
  border-radius: var(--radius); padding: 28px 20px;
  display:flex; flex-direction:column; align-items:center; gap:14px;
  text-align:center; transition: border-color .3s, transform .3s, box-shadow .3s; cursor:default;
  contain: layout style paint;
}
.industry-card:hover { border-color:rgba(79,140,255,.5); transform:translateY(-4px); box-shadow:0 0 24px rgba(79,140,255,.15); }
.industry-icon { font-size:2rem; transition: transform .3s ease; }
.industry-card:hover .industry-icon { transform: scale(1.2); }
.industry-name { font-size:.9rem; font-weight:700; color:#fff; }

/* =========================================
   WHY NEXIP
   ========================================= */
#why-us { padding: 100px 0; background: var(--bg); }
.why-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin-top: 60px; }
.why-card {
  background: var(--card-bg); border: 1px solid var(--card-bd);
  border-radius: var(--radius-lg); padding: 32px;
  transition: border-color .3s, transform .3s, box-shadow .3s;
  contain: layout style paint;
}
.why-card:hover { border-color: rgba(79,140,255,.4); transform:translateY(-4px); box-shadow: 0 0 30px rgba(79,140,255,.12); }
.why-icon {
  width:48px; height:48px; border-radius:12px;
  background:rgba(0,217,255,.1); border:1px solid rgba(0,217,255,.2);
  display:flex; align-items:center; justify-content:center; margin-bottom:20px;
  font-size:1.4rem;
  transition: transform .3s ease;
}
.why-card:hover .why-icon { transform: scale(1.1) rotate(3deg); }
.why-title { font-size:1rem; font-weight:700; color:#fff; margin-bottom:8px; }
.why-desc { font-size:.875rem; color:var(--muted); line-height:1.6; }

/* =========================================
   PORTFOLIO (OUR WORK)
   ========================================= */
#portfolio {
  padding: 100px 0;
  background: var(--bg2);
  border-top: 1px solid var(--card-bd);
  border-bottom: 1px solid var(--card-bd);
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 56px;
}
.portfolio-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--card-bd);
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: transform .35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .35s ease, border-color .35s ease;
  contain: layout style paint;
  -webkit-tap-highlight-color: transparent !important;
}
.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7), 0 0 35px rgba(79, 140, 255, 0.2);
  border-color: rgba(79, 140, 255, 0.45);
}

/* Visual telemetry top preview */
.portfolio-card-visual {
  position: relative;
  padding: 20px 24px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
}
.pvis-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: .75rem;
}
.pvis-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.1);
  letter-spacing: .02em;
}
.pvis-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 2s infinite;
}
.pvis-channel {
  color: var(--muted);
  font-weight: 500;
  font-size: .7rem;
  letter-spacing: .02em;
}
.pvis-chart {
  position: relative;
  height: 80px;
  width: 100%;
  display: flex;
  align-items: center;
}
.pvis-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.pvis-stat-pill {
  position: absolute;
  top: 6px;
  right: 12px;
  background: rgba(14, 19, 36, 0.85);
  border: 1px solid rgba(0, 217, 255, 0.3);
  padding: 4px 10px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}
.pvis-pill-num {
  font-size: .95rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.1;
}
.pvis-pill-label {
  font-size: .6rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.pvis-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  background: rgba(5, 8, 22, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 8px 12px;
}
.pvis-kpi {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.pk-val {
  font-size: .9rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.02em;
}
.pk-lbl {
  font-size: .65rem;
  color: var(--muted);
  font-weight: 500;
  text-transform: uppercase;
}

/* Bottom content body */
.portfolio-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.portfolio-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.portfolio-tag {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
}
.portfolio-metric {
  font-size: .75rem;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}
.portfolio-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.3;
}
.portfolio-desc {
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.6;
  transition: color .2s;
}
.portfolio-card:hover .portfolio-desc {
  color: #cbd5e1;
}

@media (max-width: 900px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .portfolio-card-visual {
    padding: 16px 16px 12px;
  }
  .portfolio-card-body {
    padding: 20px 16px;
  }
  .pvis-kpis {
    gap: 6px;
    padding: 6px 8px;
  }
  .pk-val {
    font-size: .8rem;
  }
  .pk-lbl {
    font-size: .58rem;
  }
}

/* =========================================
   TESTIMONIALS
   ========================================= */
#testimonials { padding: 100px 0; background: var(--bg); }
.testimonial-slider { margin-top:60px; position:relative; }
.testimonials-viewport { overflow:hidden; width:100%; border-radius:24px; }
.testimonials-track { display:flex; width:100%; will-change:transform; transition:transform .5s cubic-bezier(.4,0,.2,1); }
.testimonials-track:focus-visible { outline:2px solid var(--accent); outline-offset:4px; border-radius:24px; }
.testimonial-card {
  min-width:100%; width:100%; background:var(--card-bg); border:1px solid var(--card-bd);
  border-radius:24px; padding:40px; position:relative; flex-shrink:0; box-sizing:border-box;
  transition: border-color .3s;
  contain: layout style paint;
}
.testimonial-card:hover { border-color:rgba(79,140,255,.3); }
.quote-mark { font-size:5rem; line-height:1; color:rgba(79,140,255,.2); font-family:Georgia, serif; position:absolute; top:24px; right:32px; user-select:none; pointer-events:none; }
.testimonial-text { font-size:1.1rem; color:#fff; line-height:1.7; margin-bottom:28px; max-width:700px; }
.testimonial-author { display:flex; align-items:center; gap:14px; }
.author-avatar {
  width:48px; height:48px; border-radius:50%;
  background:linear-gradient(135deg,var(--primary),var(--secondary));
  display:flex; align-items:center; justify-content:center;
  font-weight:800; color:#fff; font-size:1.1rem;
}
.author-name { font-weight:700; color:#fff; }
.author-title { font-size:.8rem; color:var(--muted); }
.slider-dots { display:flex; gap:8px; justify-content:center; margin-top:32px; }
.slider-dot {
  width:8px; height:8px; border-radius:4px;
  background:var(--card-bd); border:none; cursor:pointer;
  transition:background .3s, width .3s;
}
.slider-dot.active { background:var(--primary); width:24px; }
.slider-nav { display:flex; gap:12px; justify-content:center; margin-top:16px; }
.slider-btn {
  width:44px; height:44px; border-radius:50%;
  background:var(--card-bg); border:1px solid var(--card-bd);
  color:#fff; cursor:pointer; font-size:1.2rem;
  transition:background .2s, border-color .2s, transform .2s;
  display:flex; align-items:center; justify-content:center;
}
.slider-btn:hover { background:rgba(79,140,255,.15); border-color:var(--primary); }
.slider-btn:active { transform: scale(0.92); }

/* =========================================
   STATS
   ========================================= */
#stats { padding:80px 0; background:var(--bg2); border-top:1px solid var(--card-bd); border-bottom:1px solid var(--card-bd); }
.stats-grid { display:flex; flex-wrap:wrap; justify-content:center; gap:64px; }
.stat-block { text-align:center; }
.stat-big { font-size:clamp(3rem,6vw,5rem); font-weight:800; letter-spacing:-.05em; line-height:1; background:linear-gradient(135deg,var(--primary),var(--accent)); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }
.stat-suffix { font-size:clamp(2rem,4vw,3.5rem); }
.stat-lbl { font-size:1rem; color:var(--muted); margin-top:8px; font-weight:500; }

/* =========================================
   CONTACT SECTION
   ========================================= */
#contact { padding: 100px 0; background: var(--bg); position:relative; }
#contact .glow-top { position:absolute; top:0; left:50%; transform:translateX(-50%); width:80vw; height:60vw; max-width:900px; max-height:600px; background:rgba(79,140,255,.08); border-radius:50%; filter:blur(140px); pointer-events:none; }
#contact .glow-btm { position:absolute; bottom:0; right:20%; width:40vw; height:40vw; max-width:500px; background:rgba(108,99,255,.07); border-radius:50%; filter:blur(100px); pointer-events:none; }
.contact-grid { display:grid; grid-template-columns:2fr 3fr; gap:40px; margin-top:60px; }
@media(max-width:900px){ .contact-grid{grid-template-columns:1fr;} }

/* Contact info cards */
.contact-info-box {
  background:var(--card-bg); border:1px solid var(--card-bd);
  border-radius:var(--radius-lg); padding:36px;
}
.contact-info-box h3 { font-size:1.4rem; font-weight:800; margin-bottom:6px; }
.contact-info-box p { font-size:.875rem; color:var(--muted); margin-bottom:32px; }
.contact-items { display:flex; flex-direction:column; gap:20px; }
.contact-item { display:flex; align-items:flex-start; gap:16px; }
.contact-item-icon {
  width:40px; height:40px; border-radius:10px; flex-shrink:0;
  background:rgba(79,140,255,.1); border:1px solid rgba(79,140,255,.2);
  display:flex; align-items:center; justify-content:center; font-size:1rem;
}
.contact-item-label { font-size:.7rem; color:var(--muted); font-weight:700; letter-spacing:.12em; text-transform:uppercase; margin-bottom:3px; }
.contact-item-val { font-size:.875rem; color:#fff; }
.contact-item-val a { color:#fff; text-decoration:none; transition:color .2s; }
.contact-item-val a:hover { color:var(--primary); }
.why-box {
  background:linear-gradient(135deg,rgba(79,140,255,.08),rgba(108,99,255,.08));
  border:1px solid var(--card-bd); border-radius:var(--radius-lg); padding:28px; margin-top:16px;
}
.why-box h4 { font-size:1rem; font-weight:700; margin-bottom:14px; }
.why-box ul { list-style:none; display:flex; flex-direction:column; gap:10px; }
.why-box li { display:flex; align-items:flex-start; gap:10px; font-size:.85rem; color:var(--muted); }
.why-box li::before { content:'✓'; color:var(--accent); font-weight:700; flex-shrink:0; margin-top:1px; }

/* Form */
.form-box {
  background:var(--card-bg); border:1px solid var(--card-bd);
  border-radius:var(--radius-lg); padding:40px; position:relative; overflow:hidden;
}
.form-box::before {
  content:''; position:absolute; inset:0;
  background:linear-gradient(135deg,rgba(79,140,255,.06),transparent,rgba(108,99,255,.06));
  pointer-events:none;
}
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
@media(max-width:600px){ .form-row{grid-template-columns:1fr;} }
.form-group { display:flex; flex-direction:column; gap:6px; }
.form-group label { font-size:.7rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:var(--muted); }
.form-group input,
.form-group select,
.form-group textarea {
  width:100%; padding:12px 16px; border-radius:12px;
  background:rgba(255,255,255,.05); border:1px solid var(--card-bd);
  color:#fff; font-family:inherit; font-size:.9rem;
  outline:none; transition:border-color .2s, box-shadow .2s;
  -webkit-appearance:none;
}
.form-group select {
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23AEB8D0' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 12px center;
  padding-right:40px;
}
.form-group select option { background:var(--bg2); color:#fff; }
.form-group textarea { resize:none; min-height:120px; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color:rgba(79,140,255,.6);
  box-shadow:0 0 0 3px rgba(79,140,255,.12);
}
.form-group input.error,
.form-group textarea.error { border-color:rgba(248,113,113,.6); }
.field-error { font-size:.75rem; color:var(--error); margin-top:2px; }
.char-count { font-size:.7rem; color:var(--muted); text-align:right; margin-top:4px; }

/* Services multiselect */
.services-wrap {
  display:flex; flex-wrap:wrap; gap:8px;
  background:rgba(255,255,255,.04); border:1px solid var(--card-bd);
  border-radius:12px; padding:12px; min-height:56px;
}
.service-tag {
  padding:6px 14px; border-radius:var(--radius-pill); font-size:.75rem; font-weight:600;
  border:1px solid var(--card-bd); background:rgba(255,255,255,.04);
  color:var(--muted); cursor:pointer; transition:all .2s; user-select:none;
}
.service-tag.active { background:rgba(79,140,255,.2); border-color:rgba(79,140,255,.5); color:#fff; }
.service-tag:hover:not(.active) { border-color:rgba(255,255,255,.2); color:#fff; }

/* Submit button */
.btn-submit {
  width:100%; padding:16px; border-radius:14px; border:none; cursor:pointer;
  font-size:1.05rem; font-weight:700; color:#fff;
  background:linear-gradient(135deg,var(--primary),var(--secondary),var(--accent));
  box-shadow:0 0 30px rgba(79,140,255,.35);
  transition:opacity .2s, transform .2s;
  display:flex; align-items:center; justify-content:center; gap:10px;
  position:relative; overflow:hidden;
}
.btn-submit:hover:not(:disabled) { opacity:.9; transform:scale(1.01); }
.btn-submit:active:not(:disabled) { transform: scale(0.98); }
.btn-submit:disabled { opacity:.6; cursor:not-allowed; }
.spinner {
  width:20px; height:20px; border:2.5px solid rgba(255,255,255,.3);
  border-top-color:#fff; border-radius:50%;
  animation:spin 0.7s linear infinite; display:none;
}
.btn-submit.loading .spinner { display:block; }
.btn-submit.loading .btn-text { opacity:.5; }
.form-note { font-size:.75rem; color:var(--muted); text-align:center; margin-top:10px; }

/* Success */
.form-success {
  display:none; flex-direction:column; align-items:center; justify-content:center;
  text-align:center; padding:60px 20px; gap:20px;
}
.form-success.show { display:flex; }
.success-icon {
  width:80px; height:80px; border-radius:50%;
  background:rgba(0,217,255,.12); border:1px solid rgba(0,217,255,.35);
  display:flex; align-items:center; justify-content:center; font-size:2.5rem;
  color:var(--success);
  animation:pop .4s cubic-bezier(.34,1.56,.64,1);
}
@keyframes pop { from{transform:scale(0)} to{transform:scale(1)} }
.form-success h3 { font-size:2rem; font-weight:800; color:#fff; }
.form-success p { color:var(--muted); max-width:360px; }
.form-success button { padding:12px 28px; border-radius:var(--radius-pill); border:1px solid var(--card-bd); background:none; color:#fff; cursor:pointer; font-size:.9rem; transition:background .2s, transform .2s; }
.form-success button:hover { background:rgba(255,255,255,.08); }
.form-success button:active { transform: scale(0.96); }

/* =========================================
   CTA
   ========================================= */
#cta { padding:110px 0; text-align:center; background:var(--bg); position:relative; overflow:hidden; }
#cta .cta-glow-1 { position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); width:80vw; height:80vw; max-width:800px; max-height:800px; background:rgba(79,140,255,.15); border-radius:50%; filter:blur(120px); pointer-events:none; }
#cta .cta-glow-2 { position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); width:60vw; height:60vw; max-width:600px; max-height:600px; background:rgba(108,99,255,.12); border-radius:50%; filter:blur(100px); pointer-events:none; mix-blend-mode:screen; }
.cta-inner { position:relative; z-index:1; }
.cta-title { font-size:clamp(2.5rem,6vw,5rem); font-weight:800; letter-spacing:-.05em; color:#fff; margin-bottom:20px; line-height:1.1; }
.cta-sub { font-size:1.1rem; color:var(--muted); max-width:580px; margin:0 auto 48px; }
.cta-btns { display:flex; flex-wrap:wrap; gap:20px; justify-content:center; }
.btn-cta-white {
  padding:18px 40px; border-radius:var(--radius-pill);
  background:#fff; color:var(--bg); font-weight:700; font-size:1rem;
  text-decoration:none; cursor:pointer; border:none;
  box-shadow:0 0 40px rgba(255,255,255,.25);
  transition:background .2s, transform .2s;
}
.btn-cta-white:hover { background:#e8edf5; transform:scale(1.04); }
.btn-cta-white:active { transform: scale(0.97); }
.btn-cta-outline {
  padding:18px 40px; border-radius:var(--radius-pill);
  border:2px solid rgba(255,255,255,.2); color:#fff;
  font-weight:700; font-size:1rem; background:none;
  text-decoration:none; cursor:pointer;
  transition:background .2s, transform .2s;
}
.btn-cta-outline:hover { background:rgba(255,255,255,.08); }
.btn-cta-outline:active { transform: scale(0.97); }

/* =========================================
   FOOTER
   ========================================= */
/* =========================================
   FOOTER
   ========================================= */
footer { background:var(--bg); border-top:1px solid var(--card-bd); padding:80px 0 40px; }

/* NEW: Updated Grid for 5 Columns instead of 4 */
.footer-grid { display:grid; grid-template-columns:1.5fr 1fr 1fr 1fr 1fr; gap:32px; margin-bottom:60px; }
@media(max-width:1024px){ .footer-grid{grid-template-columns:1fr 1fr 1fr;} }
@media(max-width:768px){ .footer-grid{grid-template-columns:1fr 1fr;} }
@media(max-width:520px){ .footer-grid{grid-template-columns:1fr;} }
.footer-brand-name { font-size:1.6rem; font-weight:800; letter-spacing:-.04em; color:#fff; margin-bottom:12px; }
.footer-brand-name span { color:var(--primary); }
.footer-brand-desc { font-size:.875rem; color:var(--muted); max-width:240px; line-height:1.6; margin-bottom:24px; }
.footer-socials { display:flex; gap:12px; }
.social-link {
  width:38px; height:38px; border-radius:50%;
  background:rgba(255,255,255,.05); border:1px solid var(--card-bd);
  display:flex; align-items:center; justify-content:center;
  color:var(--muted); text-decoration:none; font-size:.9rem;
  transition:background .2s, border-color .2s, color .2s, transform .2s;
}
.social-link:hover { background:rgba(79,140,255,.2); border-color:var(--primary); color:#fff; transform: scale(1.1); }
.social-link.instagram-link:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  border-color: rgba(214, 36, 159, 0.6);
  color: #fff;
  box-shadow: 0 0 16px rgba(214, 36, 159, 0.4);
}
.social-link:active { transform: scale(0.95); }
.footer-col h4 { font-size:.875rem; font-weight:700; color:#fff; margin-bottom:20px; }
.footer-col ul { list-style:none; display:flex; flex-direction:column; gap:12px; }
.footer-col ul a { font-size:.85rem; color:var(--muted); text-decoration:none; transition:color .2s, padding-left .2s; }
.footer-col ul a:hover { color:#fff; padding-left:4px; }
.footer-bottom { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px; padding-top:32px; border-top:1px solid var(--card-bd); font-size:.8rem; color:var(--muted); }

/* =========================================
   UTILITY ANIMATIONS
   ========================================= */
@keyframes float { 0%,100%{transform:translateY(0) scale(1)} 50%{transform:translateY(-24px) scale(1.05)} }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }
@keyframes fadeInUp { from{opacity:0;transform:translateY(24px)} to{opacity:1;transform:none} }

/* =========================================
   RESPONSIVE
   ========================================= */
@media(max-width:768px){
  .section-title { font-size: clamp(1.8rem,6vw,2.5rem); }
  .services-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { gap:32px; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .hero-title { font-size:clamp(2.2rem,9vw,3.5rem); }
  .growth-steps { gap:0; }
}
@media(max-width:480px){
  .industries-grid { grid-template-columns: repeat(2,1fr); }
  .cta-title { font-size:2.2rem; }
}
@media(max-width:380px){
  .container { padding: 0 16px; }
  .hero-title { font-size: 2rem; }
  .section-title { font-size: 1.6rem; }
  .cta-title { font-size: 1.8rem; }
  .form-box { padding: 24px 16px; }
  .contact-info-box { padding: 24px 16px; }
  .testimonial-card { padding: 24px 16px; }
  .service-card { padding: 24px 16px; }
  .hero-btns { flex-direction: column; align-items: center; }
  .hero-btns .btn-primary,
  .hero-btns .btn-outline { width: 100%; text-align: center; }
}

/* Ultra-wide screens */
@media(min-width:1920px){
  .container { max-width: 1440px; }
  .hero-title { font-size: 6.5rem; }
  .section-title { font-size: 4rem; }
}

/* =========================================
   REDUCED MOTION
   ========================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  html { scroll-behavior: auto; }
  .hero-orb, .ai-ring, .marquee-track, .wave-path, .wave-path2,
  .ai-core, .ai-line, .section-badge .dot, .spinner {
    animation: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .reveal.visible {
    opacity: 1;
    transform: none;
  }
}
