/* ============================================================
   GOD.SOFTWARE — ULTRA GODMODE MAX CSS
   The #1 Software Company in the Universe
   ============================================================ */

:root {
  --bg: #030306;
  --bg2: #080812;
  --bg3: #0e0e1a;
  --surface: rgba(18,18,35,0.7);
  --surface-solid: #121223;
  --surface2: rgba(26,26,50,0.6);
  --border: rgba(255,255,255,0.05);
  --border2: rgba(255,255,255,0.08);
  --border-glow: rgba(41,151,255,0.15);
  --text: #e4e4f0;
  --text2: #8888a0;
  --text3: #555568;
  --white: #ffffff;
  --blue: #2997ff;
  --blue2: #60b5ff;
  --purple: #bf5af2;
  --purple2: #d98aff;
  --gold: #c9a84c;
  --green: #30d158;
  --red: #ff453a;
  --gradient: linear-gradient(135deg, #2997ff 0%, #bf5af2 100%);
  --gradient2: linear-gradient(135deg, #bf5af2, #ff6b9d);
  --gradient3: linear-gradient(135deg, #2997ff, #30d158);
  --gradient-subtle: linear-gradient(135deg, rgba(41,151,255,0.08), rgba(191,90,242,0.08));
  --glow-blue: 0 0 60px rgba(41,151,255,0.12), 0 0 120px rgba(41,151,255,0.05);
  --glow-purple: 0 0 60px rgba(191,90,242,0.12), 0 0 120px rgba(191,90,242,0.05);
  --glow-intense: 0 8px 40px rgba(41,151,255,0.2), 0 0 80px rgba(191,90,242,0.1);
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --font: 'Inter', -apple-system, system-ui, sans-serif;
  --font2: 'Space Grotesk', var(--font);
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-padding-top: 90px; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; cursor: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
::selection { background: rgba(41,151,255,0.3); color: var(--white); }

.container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }

/* ============================================================
   LOADER — Premium spinning orb
   ============================================================ */
.loader {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  transition: opacity .8s ease-out, visibility .8s;
}
.loaded .loader { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-orb { position: relative; width: 90px; height: 90px; margin-bottom: 32px; }
.loader-ring {
  position: absolute; inset: 0; border: 2px solid transparent;
  border-top-color: var(--blue); border-right-color: rgba(41,151,255,0.3);
  border-radius: 50%; animation: spin 1s linear infinite;
}
.loader-ring.r2 {
  inset: 10px; border-top-color: var(--purple); border-right-color: rgba(191,90,242,0.3);
  animation-duration: 1.6s; animation-direction: reverse;
}
.loader-core {
  position: absolute; inset: 24px;
  background: var(--gradient); border-radius: 50%;
  animation: pulse-core 1.5s ease-in-out infinite;
  box-shadow: 0 0 30px rgba(41,151,255,0.4), 0 0 60px rgba(191,90,242,0.2);
}
.loader-text { font-family: var(--font2); font-size: 30px; font-weight: 700; color: var(--white); letter-spacing: 3px; }
.loader-text span { color: var(--blue); }
.loader-sub { color: var(--text3); font-size: 13px; margin-top: 10px; letter-spacing: 1px; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse-core { 0%, 100% { opacity: .5; transform: scale(.85); } 50% { opacity: 1; transform: scale(1.05); } }

/* ============================================================
   CURSOR — Fluid magnetic cursor
   ============================================================ */
.cursor {
  position: fixed; width: 40px; height: 40px;
  border: 1.5px solid rgba(41,151,255,0.35);
  border-radius: 50%; pointer-events: none; z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width .35s var(--ease-spring), height .35s var(--ease-spring), border-color .35s, background .35s;
  mix-blend-mode: exclusion;
}
.cursor.hover {
  width: 64px; height: 64px;
  border-color: rgba(191,90,242,0.5);
  background: rgba(191,90,242,0.06);
}
.cursor-dot {
  position: fixed; width: 5px; height: 5px;
  background: var(--blue); border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 8px rgba(41,151,255,0.6);
}

/* ============================================================
   PARTICLES
   ============================================================ */
#particles {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .4;
}

/* ============================================================
   PROGRESS BAR
   ============================================================ */
.progress-bar {
  position: fixed; top: 0; left: 0; height: 2px;
  background: var(--gradient); z-index: 9997; width: 0;
  box-shadow: 0 0 12px rgba(41,151,255,0.6), 0 0 30px rgba(41,151,255,0.3);
}

/* ============================================================
   NAV — Glass morphism navbar
   ============================================================ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  backdrop-filter: blur(24px) saturate(1.6); -webkit-backdrop-filter: blur(24px) saturate(1.6);
  background: rgba(3,3,6,0.75);
  border-bottom: 1px solid var(--border);
}
.n-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1240px; margin: 0 auto; padding: 0 32px; height: var(--nav-h);
}
.n-logo { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 18px; }
.logo-mark {
  width: 34px; height: 34px;
  background: var(--gradient); border-radius: 9px;
  position: relative;
  box-shadow: 0 0 20px rgba(41,151,255,0.3);
}
.logo-mark::after {
  content: ''; position: absolute; inset: 6px;
  border: 2px solid rgba(255,255,255,0.25); border-radius: 5px;
}
.logo-text { font-family: var(--font2); color: var(--white); font-size: 19px; letter-spacing: .5px; }
.logo-dot { color: var(--blue); }
.n-links { display: flex; gap: 36px; }
.nav-link {
  color: var(--text2); font-size: 14px; font-weight: 500; transition: color .3s;
  position: relative; padding: 4px 0;
}
.nav-link:hover, .nav-link.active { color: var(--white); }
.nav-link.active::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 2px;
  background: var(--gradient); border-radius: 1px;
}
.n-cta {
  padding: 10px 24px; border-radius: 10px; font-size: 14px; font-weight: 600;
  background: var(--gradient); color: var(--white);
  transition: opacity .3s, transform .2s, box-shadow .3s;
  box-shadow: 0 2px 12px rgba(41,151,255,0.25);
}
.n-cta:hover { opacity: .9; transform: translateY(-1px); box-shadow: 0 4px 20px rgba(41,151,255,0.35); }

/* Hamburger */
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--white); margin: 5px 0; transition: .3s; border-radius: 1px; }
.nav-open .hamburger span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-open .hamburger span:nth-child(2) { opacity: 0; }
.nav-open .hamburger span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.mobile-menu {
  display: none; flex-direction: column; padding: 16px 32px 28px;
  border-top: 1px solid var(--border);
  background: rgba(3,3,6,0.95);
}
.mobile-menu a { padding: 14px 0; color: var(--text2); font-size: 17px; font-weight: 500; border-bottom: 1px solid var(--border); }
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--white); }
.mm-cta {
  margin-top: 16px; padding: 16px; text-align: center;
  background: var(--gradient); border-radius: 12px; color: var(--white); font-weight: 600;
  border-bottom: none;
}
.nav-open .mobile-menu { display: flex; }

/* ============================================================
   BUTTONS — Polished with glow
   ============================================================ */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 15px 30px; border-radius: 12px; font-weight: 600; font-size: 15px;
  background: var(--gradient); color: var(--white); border: none; cursor: pointer;
  transition: all .3s var(--ease);
  box-shadow: 0 2px 16px rgba(41,151,255,0.25);
  position: relative; overflow: hidden;
}
.btn-primary::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0; transition: opacity .3s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--glow-intense); }
.btn-primary:hover::before { opacity: 1; }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 15px 30px; border-radius: 12px; font-weight: 600; font-size: 15px;
  background: rgba(255,255,255,0.04); color: var(--white);
  border: 1px solid var(--border2);
  cursor: pointer; transition: all .3s var(--ease);
  backdrop-filter: blur(8px);
}
.btn-secondary:hover { background: rgba(255,255,255,0.08); transform: translateY(-2px); border-color: var(--border-glow); }
.btn-full { width: 100%; justify-content: center; }

/* ============================================================
   HERO — Cinematic entrance
   ============================================================ */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  justify-content: center; text-align: center; padding: 140px 32px 100px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; overflow: hidden; }
.hero-glow {
  position: absolute; border-radius: 50%; opacity: .25;
}
.hero-glow.g1 {
  width: 700px; height: 700px; top: -300px; left: -150px;
  background: radial-gradient(circle, var(--blue) 0%, transparent 70%);
  filter: blur(80px);
  animation: glow-float1 12s ease-in-out infinite;
}
.hero-glow.g2 {
  width: 600px; height: 600px; bottom: -200px; right: -150px;
  background: radial-gradient(circle, var(--purple) 0%, transparent 70%);
  filter: blur(80px);
  animation: glow-float2 15s ease-in-out infinite;
}
.hero-glow.g3 {
  width: 400px; height: 400px; top: 40%; left: 50%; transform: translate(-50%, -50%);
  background: radial-gradient(circle, var(--gold) 0%, transparent 60%);
  filter: blur(100px);
  opacity: .08;
  animation: glow-float3 10s ease-in-out infinite;
}
@keyframes glow-float1 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(40px,30px); } }
@keyframes glow-float2 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-30px,-40px); } }
@keyframes glow-float3 { 0%,100% { transform: translate(-50%,-50%) scale(1); } 50% { transform: translate(-50%,-50%) scale(1.2); } }

.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at center, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at center, black 20%, transparent 70%);
}
.hero-content { position: relative; z-index: 2; max-width: 820px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 20px; border-radius: 100px;
  background: rgba(41,151,255,0.08); border: 1px solid rgba(41,151,255,0.18);
  font-size: 13px; font-weight: 600; color: var(--blue);
  margin-bottom: 32px;
  backdrop-filter: blur(8px);
}
.badge-dot {
  width: 7px; height: 7px; background: var(--green); border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
  box-shadow: 0 0 8px rgba(48,209,88,0.5);
}
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: .3; } }

.hero h1 {
  font-family: var(--font2); font-size: clamp(42px, 6.5vw, 78px);
  font-weight: 700; line-height: 1.08; color: var(--white);
  margin-bottom: 28px; letter-spacing: -1.5px;
}
.gradient-text {
  background: linear-gradient(135deg, var(--blue) 0%, var(--purple2) 50%, var(--blue2) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 6s ease-in-out infinite;
}
@keyframes gradient-shift { 0%,100% { background-position: 0% center; } 50% { background-position: 100% center; } }

.hero-sub {
  font-size: 19px; color: var(--text2); max-width: 600px; margin: 0 auto 40px;
  line-height: 1.75; font-weight: 400;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; margin-bottom: 72px; flex-wrap: wrap; }

.hero-stats {
  display: flex; align-items: center; justify-content: center; gap: 0; flex-wrap: wrap;
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
  border-radius: 16px; padding: 0; backdrop-filter: blur(8px);
  overflow: hidden;
}
.h-stat {
  text-align: center; padding: 20px 36px;
  position: relative;
}
.h-stat:not(:last-child)::after {
  content: ''; position: absolute; right: 0; top: 20%; height: 60%;
  width: 1px; background: var(--border2);
}
.h-stat-n { display: block; font-family: var(--font2); font-size: 30px; font-weight: 700; color: var(--white); }
.h-stat-l { font-size: 12px; color: var(--text3); text-transform: uppercase; letter-spacing: 1.5px; margin-top: 2px; }
.h-stat-divider { display: none; }

.scroll-indicator {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  animation: float 3s ease-in-out infinite;
}
.scroll-mouse {
  width: 24px; height: 40px; border: 2px solid rgba(255,255,255,0.15);
  border-radius: 12px; position: relative;
}
.scroll-wheel {
  width: 3px; height: 8px; background: var(--blue);
  border-radius: 3px; position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  animation: scrollwheel 2s ease-in-out infinite;
  box-shadow: 0 0 6px rgba(41,151,255,0.5);
}
@keyframes float { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(10px); } }
@keyframes scrollwheel { 0%,100% { opacity: 1; top: 8px; } 50% { opacity: 0; top: 22px; } }

/* ============================================================
   CLIENTS BAR — Infinite marquee
   ============================================================ */
.clients-bar {
  overflow: hidden; padding: 24px 0;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: rgba(8,8,18,0.8);
}
.clients-track {
  display: flex; gap: 64px; white-space: nowrap;
  animation: marquee 30s linear infinite;
}
.clients-track span {
  font-family: var(--font2); font-size: 13px; font-weight: 600;
  color: var(--text3); letter-spacing: 4px; text-transform: uppercase;
  opacity: .6; transition: opacity .3s;
}
.clients-track span:hover { opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   SECTIONS — Cinematic spacing
   ============================================================ */
.section { padding: 140px 0; position: relative; }
.section-dark {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-header { text-align: center; margin-bottom: 72px; }
.section-label {
  display: inline-block; font-size: 12px; font-weight: 700;
  color: var(--blue); text-transform: uppercase; letter-spacing: 3px;
  margin-bottom: 18px;
  padding: 6px 16px; border-radius: 6px;
  background: rgba(41,151,255,0.06); border: 1px solid rgba(41,151,255,0.12);
}
.section-header h2 {
  font-family: var(--font2); font-size: clamp(34px, 4.5vw, 52px);
  font-weight: 700; color: var(--white); line-height: 1.15; letter-spacing: -.5px;
}
.section-desc { color: var(--text2); font-size: 17px; max-width: 580px; margin: 18px auto 0; line-height: 1.7; }

/* ============================================================
   SERVICES GRID — Equal cards, no span-2
   ============================================================ */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px;
  transition: all .4s var(--ease);
  position: relative; overflow: hidden;
  backdrop-filter: blur(12px);
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--gradient); opacity: 0; transition: opacity .4s;
}
.service-card::after {
  content: ''; position: absolute; inset: 0;
  background: var(--gradient-subtle);
  opacity: 0; transition: opacity .4s;
  border-radius: var(--radius-lg);
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  box-shadow: var(--glow-blue);
}
.service-card:hover::before { opacity: 1; }
.service-card:hover::after { opacity: 1; }
.service-card > * { position: relative; z-index: 1; }
.sc-large { grid-column: span 1; }
.sc-icon {
  width: 52px; height: 52px; margin-bottom: 22px; color: var(--blue);
  padding: 12px; background: rgba(41,151,255,0.08); border-radius: 14px;
  border: 1px solid rgba(41,151,255,0.12);
}
.sc-icon svg { width: 100%; height: 100%; }
.service-card h3 { font-family: var(--font2); font-size: 21px; font-weight: 600; color: var(--white); margin-bottom: 12px; }
.service-card p { color: var(--text2); font-size: 14px; margin-bottom: 18px; line-height: 1.65; }
.sc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.sc-tags span {
  padding: 5px 12px; border-radius: 8px; font-size: 11px; font-weight: 600;
  background: rgba(41,151,255,0.06); color: var(--blue); border: 1px solid rgba(41,151,255,0.1);
  letter-spacing: .3px;
}
.sc-price { font-size: 14px; color: var(--text3); }
.sc-price strong { color: var(--white); font-size: 20px; font-family: var(--font2); }

/* ============================================================
   PRICING — Tabbed product catalog
   ============================================================ */
.pricing-tabs {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 44px;
}
.pt-tab {
  padding: 10px 22px; border-radius: 10px; font-size: 14px; font-weight: 500;
  background: rgba(255,255,255,0.03); color: var(--text2); border: 1px solid var(--border);
  cursor: pointer; transition: all .3s;
}
.pt-tab:hover { color: var(--white); border-color: var(--border2); background: rgba(255,255,255,0.05); }
.pt-tab.active {
  background: var(--gradient); color: var(--white); border-color: transparent;
  box-shadow: 0 2px 16px rgba(41,151,255,0.25);
}

.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  min-height: 200px;
}
.price-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px;
  transition: all .4s var(--ease);
  display: flex; flex-direction: column; position: relative;
  animation: fadeInUp .5s var(--ease-out) both;
  backdrop-filter: blur(12px);
  overflow: hidden;
}
.price-card::after {
  content: ''; position: absolute; inset: 0;
  background: var(--gradient-subtle);
  opacity: 0; transition: opacity .4s;
  pointer-events: none;
}
.price-card:nth-child(2) { animation-delay: .08s; }
.price-card:nth-child(3) { animation-delay: .16s; }
.price-card:nth-child(4) { animation-delay: .24s; }
.price-card:nth-child(5) { animation-delay: .32s; }
.price-card:nth-child(6) { animation-delay: .4s; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.price-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  box-shadow: var(--glow-blue);
}
.price-card:hover::after { opacity: 1; }
.price-card > * { position: relative; z-index: 1; }
.pc-name { font-family: var(--font2); font-size: 17px; font-weight: 600; color: var(--white); margin-bottom: 10px; }
.pc-desc { font-size: 13px; color: var(--text3); margin-bottom: 20px; line-height: 1.55; flex: 1; }
.pc-price {
  font-family: var(--font2); font-size: 30px; font-weight: 700; color: var(--white);
  margin-bottom: 18px;
}
.pc-price .pc-currency { font-size: 15px; color: var(--text3); font-weight: 400; margin-left: 4px; }
.pc-buy {
  padding: 13px; border-radius: 10px; font-weight: 600; font-size: 14px;
  background: var(--gradient); color: var(--white); border: none;
  cursor: pointer; transition: all .3s var(--ease);
  width: 100%; position: relative; overflow: hidden;
  box-shadow: 0 2px 12px rgba(41,151,255,0.2);
}
.pc-buy::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.12), transparent);
  opacity: 0; transition: opacity .3s;
}
.pc-buy:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(41,151,255,0.35); }
.pc-buy:hover::before { opacity: 1; }

.pricing-custom {
  margin-top: 44px; padding: 48px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); text-align: center;
  backdrop-filter: blur(12px);
  position: relative; overflow: hidden;
}
.pricing-custom::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: var(--gradient);
}
.pc-content h3 { font-family: var(--font2); font-size: 26px; color: var(--white); margin-bottom: 14px; }
.pc-content p { color: var(--text2); margin-bottom: 24px; max-width: 480px; margin-left: auto; margin-right: auto; }

/* ============================================================
   PROCESS
   ============================================================ */
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.process-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 40px 32px; text-align: center;
  position: relative; backdrop-filter: blur(12px);
  transition: all .4s var(--ease);
}
.process-card:hover { transform: translateY(-6px); box-shadow: var(--glow-purple); border-color: rgba(191,90,242,0.15); }
.proc-num {
  font-family: var(--font2); font-size: 52px; font-weight: 800;
  background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 18px; line-height: 1;
}
.proc-line {
  width: 44px; height: 2px; background: var(--gradient); margin: 0 auto 22px; border-radius: 1px;
  box-shadow: 0 0 8px rgba(41,151,255,0.4);
}
.process-card h4 { font-family: var(--font2); font-size: 21px; color: var(--white); margin-bottom: 14px; }
.process-card p { color: var(--text2); font-size: 14px; line-height: 1.65; }

/* ============================================================
   PRODUCTS (Own ecosystem)
   ============================================================ */
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.product-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px; position: relative;
  transition: all .4s var(--ease); backdrop-filter: blur(12px);
  overflow: hidden;
}
.product-card::after {
  content: ''; position: absolute; inset: 0;
  background: var(--gradient-subtle); opacity: 0; transition: opacity .4s;
  pointer-events: none;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--glow-blue); border-color: var(--border-glow); }
.product-card:hover::after { opacity: 1; }
.product-card > * { position: relative; z-index: 1; }
.prod-badge {
  position: absolute; top: 18px; right: 18px;
  padding: 5px 12px; border-radius: 8px; font-size: 10px;
  font-weight: 700; letter-spacing: 1px; z-index: 2;
}
.prod-badge.live { background: rgba(48,209,88,0.12); color: var(--green); border: 1px solid rgba(48,209,88,0.2); }
.prod-badge.build { background: rgba(191,90,242,0.12); color: var(--purple); border: 1px solid rgba(191,90,242,0.2); }
.prod-icon { font-size: 40px; margin-bottom: 18px; }
.product-card h4 { font-family: var(--font2); font-size: 19px; color: var(--white); margin-bottom: 8px; }
.prod-cat { font-size: 11px; color: var(--blue); text-transform: uppercase; letter-spacing: 1.5px; display: block; margin-bottom: 14px; font-weight: 600; }
.product-card p { font-size: 14px; color: var(--text2); line-height: 1.6; }

/* ============================================================
   DIVISIONS
   ============================================================ */
.divisions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.div-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  transition: all .35s var(--ease);
  backdrop-filter: blur(12px);
}
.div-card:hover {
  transform: translateY(-4px); border-color: var(--border-glow);
  box-shadow: 0 4px 24px rgba(41,151,255,0.08);
}
.div-num {
  font-family: var(--font2); font-size: 13px; font-weight: 700;
  color: var(--blue); margin-bottom: 14px;
  padding: 4px 10px; border-radius: 6px; display: inline-block;
  background: rgba(41,151,255,0.06); border: 1px solid rgba(41,151,255,0.1);
}
.div-card h4 { font-family: var(--font2); font-size: 17px; color: var(--white); margin-bottom: 6px; }
.div-card p { font-size: 13px; color: var(--text3); }

/* ============================================================
   QUOTE
   ============================================================ */
.quote-block {
  text-align: center; max-width: 720px; margin: 0 auto;
  padding: 64px 48px; position: relative;
}
.quote-mark {
  font-family: Georgia, serif; font-size: 140px; line-height: 1;
  background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: .2; position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
}
blockquote {
  font-size: 26px; color: var(--white); font-weight: 300; line-height: 1.6;
  font-style: italic; margin-bottom: 28px; position: relative;
}
.quote-author { display: flex; align-items: center; justify-content: center; gap: 14px; }
.qa-avatar {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--gradient);
  box-shadow: 0 0 16px rgba(41,151,255,0.25);
}
.quote-author strong { color: var(--white); font-size: 15px; }
.quote-author span { color: var(--text3); font-size: 12px; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.contact-info h2 { font-family: var(--font2); font-size: 40px; color: var(--white); margin-bottom: 18px; letter-spacing: -.5px; }
.contact-info > p { color: var(--text2); margin-bottom: 32px; font-size: 16px; line-height: 1.7; }
.contact-details { display: flex; flex-direction: column; gap: 18px; margin-bottom: 32px; }
.cd-item {
  display: flex; align-items: center; gap: 14px; color: var(--text2); font-size: 15px;
  padding: 14px 18px; border-radius: 12px;
  background: rgba(255,255,255,0.02); border: 1px solid var(--border);
}
.cd-item svg { width: 20px; height: 20px; color: var(--blue); flex-shrink: 0; }
.contact-trust { display: flex; gap: 28px; }
.ct-item { font-size: 14px; color: var(--text3); }
.ct-item strong { color: var(--white); display: block; font-size: 22px; font-family: var(--font2); margin-bottom: 2px; }

.contact-form-wrap {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 40px;
  backdrop-filter: blur(12px);
  position: relative; overflow: hidden;
}
.contact-form-wrap::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: var(--gradient);
}
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-group { position: relative; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
input, select, textarea {
  width: 100%; padding: 15px 18px; border-radius: 12px;
  background: rgba(3,3,6,0.6); color: var(--white); font-size: 14px;
  border: 1px solid var(--border); outline: none;
  transition: border-color .3s, box-shadow .3s;
}
input:focus, select:focus, textarea:focus {
  border-color: rgba(41,151,255,0.3);
  box-shadow: 0 0 0 3px rgba(41,151,255,0.08);
}
input::placeholder, textarea::placeholder { color: var(--text3); }
select { appearance: none; cursor: pointer; }
select option { background: var(--bg); color: var(--white); }
textarea { resize: vertical; min-height: 110px; }

.form-success {
  display: none; text-align: center; padding: 24px;
  background: rgba(48,209,88,0.04); border: 1px solid rgba(48,209,88,0.15);
  border-radius: 12px;
}
.form-success.show { display: block; }
.fs-icon { font-size: 36px; margin-bottom: 10px; color: var(--green); }
.form-success strong { color: var(--green); display: block; margin-bottom: 6px; font-size: 16px; }
.form-success p { color: var(--text2); font-size: 14px; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  padding: 72px 0 36px; border-top: 1px solid var(--border);
  background: var(--bg);
}
.footer-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 56px; }
.f-brand { display: flex; align-items: center; gap: 12px; }
.f-tagline { color: var(--text3); font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; margin-bottom: 56px; }
.f-col h5 { color: var(--white); font-size: 14px; font-weight: 600; margin-bottom: 18px; letter-spacing: .3px; }
.f-col a { display: block; color: var(--text3); font-size: 14px; margin-bottom: 10px; transition: color .3s; }
.f-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px; border-top: 1px solid var(--border);
  font-size: 13px; color: var(--text3);
}

/* ============================================================
   AI CHATBOT — Premium floating panel
   ============================================================ */
/* --- Bot Trigger --- */
.bot-trigger {
  position: fixed; bottom: 28px; right: 28px; z-index: 900;
  width: 62px; height: 62px; border-radius: 50%;
  background: var(--gradient); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: transform .35s var(--ease-spring), box-shadow .4s;
  box-shadow: 0 6px 28px rgba(41,151,255,0.45), 0 0 0 0 rgba(41,151,255,0);
}
.bot-trigger:hover {
  transform: scale(1.12) rotate(-4deg);
  box-shadow: 0 8px 36px rgba(41,151,255,0.55), 0 0 0 6px rgba(41,151,255,0.08);
}
.bot-trigger svg { width: 26px; height: 26px; filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2)); }
.bot-trigger-pulse {
  position: absolute; inset: -6px; border-radius: 50%;
  border: 2px solid rgba(41,151,255,0.5);
  animation: bot-pulse 3s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
@keyframes bot-pulse {
  0% { transform: scale(1); opacity: .6; }
  50% { opacity: .15; }
  100% { transform: scale(1.7); opacity: 0; }
}

/* --- Bot Panel --- */
.bot-panel {
  position: fixed; bottom: 28px; right: 28px; z-index: 901;
  width: 400px; max-height: 600px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(12,12,24,0.98) 0%, rgba(6,6,14,0.99) 100%);
  border: 1px solid rgba(255,255,255,0.06);
  display: flex; flex-direction: column; overflow: hidden;
  transform: scale(0.4) translateY(40px); transform-origin: bottom right;
  opacity: 0; pointer-events: none;
  transition: transform .5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity .3s ease;
  box-shadow:
    0 32px 80px rgba(0,0,0,0.65),
    0 0 60px rgba(41,151,255,0.06),
    inset 0 1px 0 rgba(255,255,255,0.04);
}
.bot-panel.open {
  transform: scale(1) translateY(0); opacity: 1; pointer-events: all;
}

/* --- Bot Header --- */
.bot-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 22px;
  background: linear-gradient(180deg, rgba(41,151,255,0.06) 0%, transparent 100%);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.bot-header-info { display: flex; align-items: center; gap: 14px; }
.bot-avatar {
  width: 42px; height: 42px; border-radius: 14px;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 18px; color: var(--white);
  position: relative;
  box-shadow: 0 4px 20px rgba(41,151,255,0.35);
}
.bot-avatar-pulse {
  position: absolute; bottom: -2px; right: -2px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--green); border: 2.5px solid #0c0c18;
  box-shadow: 0 0 8px rgba(48,209,88,0.6);
}
.bot-header strong {
  color: var(--white); font-size: 15px; display: block;
  font-family: 'Space Grotesk', sans-serif; letter-spacing: -0.01em;
}
.bot-status { font-size: 11px; color: var(--green); letter-spacing: 0.02em; }
.bot-close {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06);
  color: var(--text3); font-size: 18px; line-height: 1;
  cursor: pointer; padding: 6px 9px; border-radius: 10px;
  transition: all .25s;
}
.bot-close:hover {
  color: var(--white); background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.1);
}

/* --- Bot Messages --- */
.bot-messages {
  flex: 1; overflow-y: auto; padding: 20px 22px;
  display: flex; flex-direction: column; gap: 16px;
  max-height: 380px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.08) transparent;
}
.bot-messages::-webkit-scrollbar { width: 4px; }
.bot-messages::-webkit-scrollbar-track { background: transparent; }
.bot-messages::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 4px; }

.bot-msg { display: flex; gap: 10px; animation: msg-in .35s ease-out both; }
@keyframes msg-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.bot-msg-ai .bot-msg-avatar {
  width: 28px; height: 28px; min-width: 28px; border-radius: 9px;
  background: var(--gradient); display: flex; align-items: center;
  justify-content: center; font-weight: 800; font-size: 11px; color: var(--white);
  margin-top: 2px;
  box-shadow: 0 2px 8px rgba(41,151,255,0.2);
}
.bot-msg-content {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 4px 16px 16px 16px;
  padding: 14px 18px;
  max-width: 82%;
}
.bot-msg-content p {
  font-size: 13.5px; color: var(--text); line-height: 1.6; margin: 0;
}
.bot-msg-content strong { color: var(--white); font-weight: 600; }

.bot-msg-user { flex-direction: row-reverse; }
.bot-msg-user .bot-msg-content {
  background: var(--gradient); border: none;
  border-radius: 16px 4px 16px 16px;
  box-shadow: 0 4px 20px rgba(41,151,255,0.25);
}
.bot-msg-user .bot-msg-content p { color: var(--white); }

/* --- Quick Actions --- */
.bot-quick-actions {
  display: flex; flex-wrap: wrap; gap: 8px; padding-top: 8px;
}
.bot-quick-actions button {
  padding: 8px 16px; border-radius: 20px; font-size: 12px; font-weight: 500;
  background: rgba(255,255,255,0.03); color: var(--text2);
  border: 1px solid rgba(255,255,255,0.06);
  cursor: pointer; transition: all .25s;
  letter-spacing: 0.01em;
}
.bot-quick-actions button:hover {
  border-color: var(--blue); color: var(--white);
  background: rgba(41,151,255,0.08);
  box-shadow: 0 0 16px rgba(41,151,255,0.1);
  transform: translateY(-1px);
}

/* --- Product Recommendations --- */
.bot-recommend {
  display: flex; align-items: center; gap: 14px; margin-top: 12px;
  padding: 14px 16px; border-radius: 14px;
  background: rgba(41,151,255,0.04);
  border: 1px solid rgba(41,151,255,0.1);
  transition: border-color .3s, background .3s;
}
.bot-recommend:hover {
  border-color: rgba(41,151,255,0.25);
  background: rgba(41,151,255,0.07);
}
.bot-recommend-info { flex: 1; min-width: 0; }
.bot-recommend-name {
  font-size: 13px; font-weight: 600; color: var(--white);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.bot-recommend-price {
  font-size: 12px; color: var(--blue2); font-weight: 500; margin-top: 2px;
}
.bot-recommend-buy {
  padding: 8px 18px; border-radius: 10px; font-size: 12px; font-weight: 600;
  background: var(--gradient); color: var(--white); border: none;
  cursor: pointer; white-space: nowrap;
  box-shadow: 0 3px 12px rgba(41,151,255,0.3);
  transition: all .25s;
}
.bot-recommend-buy:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 20px rgba(41,151,255,0.4);
}

/* --- Input Area --- */
.bot-input-wrap {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 20px;
  border-top: 1px solid rgba(255,255,255,0.05);
  background: rgba(255,255,255,0.015);
}
.bot-input-wrap input {
  flex: 1; padding: 10px 0; background: none; border: none;
  font-size: 14px; color: var(--white);
  font-family: 'Inter', sans-serif;
}
.bot-input-wrap input::placeholder { color: var(--text3); }
.bot-input-wrap input:focus { outline: none; }

.bot-send {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--gradient); border: none; color: var(--white);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; flex-shrink: 0;
  transition: all .3s var(--ease-spring);
  box-shadow: 0 3px 14px rgba(41,151,255,0.3);
}
.bot-send svg { width: 16px; height: 16px; }
.bot-send:hover {
  transform: scale(1.08);
  box-shadow: 0 5px 20px rgba(41,151,255,0.45);
}
.bot-send:active { transform: scale(0.95); }

/* --- Typing Indicator --- */
.bot-typing {
  display: flex; gap: 5px; padding: 14px 18px;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.05);
  border-radius: 4px 16px 16px 16px; width: fit-content;
}
.bot-typing span {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue);
  animation: typing .9s ease-in-out infinite;
}
.bot-typing span:nth-child(2) { animation-delay: .15s; }
.bot-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes typing {
  0%, 100% { opacity: .2; transform: translateY(0) scale(0.85); }
  50% { opacity: 1; transform: translateY(-6px) scale(1); }
}

/* ============================================================
   STICKY CTA
   ============================================================ */
.sticky-cta {
  position: fixed; bottom: 28px; left: 28px; z-index: 900;
  padding: 13px 26px; border-radius: 12px;
  background: rgba(18,18,35,0.85); color: var(--white); font-weight: 600; font-size: 14px;
  border: 1px solid var(--border); backdrop-filter: blur(16px);
  opacity: 0; transform: translateY(20px); pointer-events: none;
  transition: all .4s var(--ease);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.sticky-cta.visible { opacity: 1; transform: translateY(0); pointer-events: all; }
.sticky-cta:hover { border-color: var(--border-glow); box-shadow: 0 4px 24px rgba(41,151,255,0.12); }

/* ============================================================
   CHECKOUT MODAL
   ============================================================ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,0.75); backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .35s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal-content {
  background: var(--bg2); border: 1px solid var(--border2);
  border-radius: var(--radius-xl); padding: 44px;
  max-width: 460px; width: 90%; position: relative; text-align: center;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
}
.modal-close {
  position: absolute; top: 18px; right: 18px;
  background: rgba(255,255,255,0.05); border: 1px solid var(--border);
  color: var(--text3); font-size: 20px;
  cursor: pointer; transition: all .3s;
  border-radius: 8px; padding: 2px 8px; line-height: 1.2;
}
.modal-close:hover { color: var(--white); background: rgba(255,255,255,0.08); }
.modal-icon {
  font-size: 40px; margin-bottom: 14px;
  background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.modal-content h3 { font-family: var(--font2); font-size: 24px; color: var(--white); margin-bottom: 10px; }
.modal-content > p { color: var(--text2); font-size: 14px; margin-bottom: 24px; }
.modal-product {
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
  border-radius: 12px; padding: 16px 20px; margin-bottom: 24px;
  text-align: left;
}
.modal-product .mp-name { font-weight: 600; color: var(--white); font-size: 15px; margin-bottom: 4px; }
.modal-product .mp-price { color: var(--blue); font-family: var(--font2); font-size: 20px; font-weight: 700; }
.modal-secure {
  font-size: 12px; color: var(--text3); margin-top: 18px;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
#checkoutForm { display: flex; flex-direction: column; gap: 14px; }

/* ============================================================
   SUCCESS PAGE
   ============================================================ */
.success-page {
  position: fixed; inset: 0; z-index: 3000;
  background: var(--bg); display: none;
  align-items: center; justify-content: center;
}
.success-page.show { display: flex; }
.success-content { text-align: center; }
.success-icon { font-size: 72px; color: var(--green); margin-bottom: 24px; }
.success-content h2 { font-family: var(--font2); font-size: 40px; color: var(--white); margin-bottom: 18px; }
.success-content p { color: var(--text2); margin-bottom: 36px; font-size: 16px; }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .container { padding: 0 24px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .sc-large { grid-column: span 1; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .container { padding: 0 20px; }
  .n-links, .n-cta { display: none; }
  .hamburger { display: block; }
  .cursor, .cursor-dot { display: none; }
  body { cursor: auto; }

  .services-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .divisions-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { flex-direction: column; gap: 8px; text-align: center; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: row; flex-wrap: wrap; border-radius: 14px; }
  .h-stat { padding: 16px 24px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero { padding: 110px 20px 80px; }
  .section { padding: 100px 0; }

  .bot-panel { width: calc(100vw - 24px); right: 12px; bottom: 12px; max-height: 82vh; border-radius: 20px; }
  .bot-panel .bot-messages { max-height: 50vh; }
  .bot-trigger { bottom: 18px; right: 18px; width: 56px; height: 56px; }
  .bot-trigger svg { width: 24px; height: 24px; }
  .bot-header { padding: 16px 18px; }
  .bot-messages { padding: 16px 18px; gap: 14px; }
  .bot-input-wrap { padding: 14px 16px; }
  .bot-msg-content { max-width: 88%; }

  .pricing-tabs { gap: 6px; }
  .pt-tab { padding: 8px 14px; font-size: 12px; }
  .sticky-cta { display: none; }

  .quote-block { padding: 40px 20px; }
  blockquote { font-size: 20px; }
}

@media (max-width: 480px) {
  .divisions-grid { grid-template-columns: 1fr; }
  .hero { padding: 100px 16px 60px; }
  .section { padding: 80px 0; }
  .hero-stats { flex-direction: column; }
  .h-stat::after { display: none; }
}

/* ============================================================
   SCROLLBAR — Custom dark
   ============================================================ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.15); }
