/* =============================================
   VISIONOIDS SOLUTIONS — Main Stylesheet
   ============================================= */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');

/* --- CSS Variables --- */
:root {
  --bg:          #0b1120;
  --bg-card:     #111827;
  --bg-card-alt: #162040;
  --border:      rgba(255,255,255,0.08);
  --border-blue: rgba(59,130,246,0.25);
  --primary:     #3b82f6;
  --primary-hover:#2563eb;
  --violet:      #8b5cf6;
  --violet-dim:  rgba(139,92,246,0.15);
  --violet-border:rgba(139,92,246,0.25);
  --text:        #ffffff;
  --muted:       #9ca3af;
  --font-sans:   'Inter', sans-serif;
  --font-display:'Space Grotesk', sans-serif;
  --radius:      0.75rem;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
input, textarea, button { font-family: inherit; }

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  padding: 1.25rem 0;
  transition: background 0.3s, padding 0.3s, border-bottom 0.3s;
}
.navbar.scrolled {
  background: rgba(11,17,32,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.nav-logo img {
  width: 40px; height: 40px;
  border-radius: 6px;
  background: #fff;
  padding: 3px;
  object-fit: contain;
}
.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
}
.nav-logo-text span { color: var(--primary); font-weight: 500; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: #fff; }
.btn-nav {
  padding: 0.6rem 1.25rem;
  background: var(--primary);
  color: #fff !important;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 0.5rem;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 15px rgba(59,130,246,0.3);
}
.btn-nav:hover {
  background: var(--primary-hover) !important;
  box-shadow: 0 0 25px rgba(59,130,246,0.5);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.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); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(11,17,32,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  transform: translateX(100%);
  transition: transform 0.35s ease;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--primary); }
.mobile-menu .btn-nav { font-size: 1rem; padding: 0.75rem 2rem; }

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 5rem;
  overflow: hidden;
}
#particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(11,17,32,0.4) 0%, rgba(11,17,32,0.8) 60%, rgba(11,17,32,1) 100%);
  pointer-events: none;
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.2);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}
.hero-badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 1.5rem;
}
.hero h1 .gradient-text {
  background: linear-gradient(90deg, #93c5fd, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 24px rgba(59,130,246,0.3));
}
.hero-desc {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 2.5rem;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-primary {
  padding: 1rem 2rem;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 20px rgba(59,130,246,0.4);
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.btn-primary:hover {
  background: var(--primary-hover);
  box-shadow: 0 0 30px rgba(59,130,246,0.6);
}
.btn-outline {
  padding: 1rem 2rem;
  background: transparent;
  color: #fff;
  font-weight: 600;
  border-radius: 0.5rem;
  border: 1px solid rgba(255,255,255,0.15);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.btn-outline:hover {
  border-color: rgba(59,130,246,0.5);
  background: rgba(59,130,246,0.05);
}
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  z-index: 2;
}
.scroll-indicator span {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(156,163,175,0.5), transparent);
}

/* =============================================
   SECTION COMMONS
   ============================================= */
section { position: relative; z-index: 10; }
.section-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}
.section-header p {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto;
}
.section-divider { border-top: 1px solid var(--border); }

/* Reveal animations (JS-driven) */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}
.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }
.delay-4 { transition-delay: 0.32s; }
.delay-5 { transition-delay: 0.40s; }
.delay-6 { transition-delay: 0.48s; }

/* =============================================
   SERVICES
   ============================================= */
#services {
  padding: 6rem 0;
  background: var(--bg);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}
.service-card {
  position: relative;
  padding: 2rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.3s;
}
.service-card::before {
  content: '';
  position: absolute;
  top: -4rem; right: -4rem;
  width: 8rem; height: 8rem;
  border-radius: 50%;
  background: rgba(59,130,246,0.2);
  filter: blur(50px);
  opacity: 0;
  transition: opacity 0.3s;
}
.service-card:hover::before { opacity: 1; }
.service-card:hover { border-color: rgba(59,130,246,0.4); }
.service-card.ai-card {
  background: rgba(88,28,135,0.15);
  border-color: rgba(139,92,246,0.3);
}
.service-card.ai-card::before {
  background: rgba(139,92,246,0.2);
}
.service-card.ai-card:hover { border-color: rgba(139,92,246,0.6); }
.service-badge {
  position: absolute;
  top: 1rem; right: 1rem;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #a78bfa;
  background: rgba(139,92,246,0.1);
  border: 1px solid rgba(139,92,246,0.2);
  padding: 0.2rem 0.5rem;
  border-radius: 9999px;
}
.service-icon {
  width: 3.5rem; height: 3.5rem;
  border-radius: 0.75rem;
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
}
.service-icon.ai-icon {
  background: rgba(139,92,246,0.1);
  border-color: rgba(139,92,246,0.2);
}
.service-icon svg { width: 28px; height: 28px; fill: none; stroke: var(--primary); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service-icon.ai-icon svg { stroke: #a78bfa; }
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}
.service-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.65; }

/* More Services */
.more-services-label {
  text-align: center;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: 2.5rem;
  margin-bottom: 2rem;
}
.more-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.more-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.02);
  border: 1px solid transparent;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 500;
  color: #fff;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  cursor: default;
}
.more-card:hover {
  background: var(--bg-card);
  border-color: var(--border);
  transform: translateY(-4px);
}
.more-card svg { width: 22px; height: 22px; fill: none; stroke: rgba(59,130,246,0.7); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* =============================================
   SPLIT SECTION
   ============================================= */
#split {
  padding: 6rem 0;
  background: var(--bg);
  overflow: hidden;
}
#split .glow-left {
  position: absolute;
  top: 50%; left: 0;
  transform: translate(-40%, -50%);
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(59,130,246,0.08);
  filter: blur(100px);
  pointer-events: none;
}
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
/* 3D Device Mockup */
.device-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
  position: relative;
  min-height: 440px;
}
.device-ring {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.05);
}
.device-ring:nth-child(1) { width: 110%; aspect-ratio: 1; }
.device-ring:nth-child(2) { width: 140%; aspect-ratio: 1; border-style: dashed; }

.device-mockup {
  position: relative;
  width: 240px;
  aspect-ratio: 9/19;
  border-radius: 2rem;
  background: rgba(17,24,39,0.6);
  border: 1px solid rgba(59,130,246,0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 0 50px rgba(59,130,246,0.15);
  overflow: hidden;
  animation: float3d 6s ease-in-out infinite;
  transform-style: preserve-3d;
}
@keyframes float3d {
  0%,100% { transform: rotateX(10deg) rotateY(-15deg) translateY(0px); }
  50%      { transform: rotateX(15deg) rotateY(-10deg) translateY(-15px); }
}
.device-inner {
  position: absolute; inset: 0;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  gap: 1rem;
}
.device-notch {
  position: absolute;
  top: 1rem; left: 50%;
  transform: translateX(-50%);
  width: 5rem; height: 1.25rem;
  background: var(--bg);
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,0.08);
  z-index: 2;
}
.device-glow-top {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 10rem;
  background: linear-gradient(to bottom, rgba(59,130,246,0.18), transparent);
  pointer-events: none;
}
.device-screen-grad {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(59,130,246,0.08), transparent);
  pointer-events: none;
}
.device-bar {
  height: 3rem;
  border-radius: 0.75rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  animation: shimmer 2s ease-in-out infinite;
}
.device-bar-sm {
  height: 1.5rem;
  width: 75%;
  border-radius: 0.5rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  animation: shimmer 2s ease-in-out infinite 0.3s;
}
@keyframes shimmer {
  0%,100% { opacity: 0.5; }
  50% { opacity: 1; }
}
.device-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-top: auto;
}
.device-card-blue {
  height: 5rem;
  border-radius: 0.75rem;
  background: rgba(59,130,246,0.2);
  border: 1px solid rgba(59,130,246,0.3);
}
.device-card-dim {
  height: 5rem;
  border-radius: 0.75rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
}

/* Split content */
.split-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}
.split-content h2 .gradient-text {
  background: linear-gradient(90deg, #93c5fd, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.split-content > p {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}
.bullet-list { display: flex; flex-direction: column; gap: 1.5rem; }
.bullet-item { display: flex; gap: 1rem; }
.bullet-icon {
  flex-shrink: 0;
  margin-top: 2px;
}
.bullet-icon svg {
  width: 24px; height: 24px;
  fill: none;
  stroke: var(--primary);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.bullet-item h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
}
.bullet-item p { font-size: 0.9rem; color: var(--muted); }

/* =============================================
   AI & AUTOMATION
   ============================================= */
#ai {
  padding: 6rem 0;
  background: var(--bg);
  overflow: hidden;
}
.ai-glow-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 900px; height: 500px;
  border-radius: 50%;
  background: rgba(109,40,217,0.04);
  filter: blur(120px);
  pointer-events: none;
}
.ai-glow-left {
  position: absolute;
  top: 0; left: 0;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(59,130,246,0.04);
  filter: blur(100px);
  pointer-events: none;
}
.ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  background: rgba(139,92,246,0.1);
  border: 1px solid rgba(139,92,246,0.25);
  color: #a78bfa;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.ai-badge svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ai-title .gradient-text {
  background: linear-gradient(90deg, #a78bfa, #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Stats bar */
.ai-stats {
  display: flex;
  align-items: stretch;
  justify-content: center;
  border-radius: var(--radius);
  background: rgba(88,28,135,0.12);
  border: 1px solid rgba(139,92,246,0.15);
  margin-bottom: 4rem;
  overflow: hidden;
}
.ai-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem 2.5rem;
  border-right: 1px solid rgba(139,92,246,0.15);
}
.ai-stat:last-child { border-right: none; }
.ai-stat-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
}
.ai-stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #a78bfa;
  margin-top: 0.25rem;
}

/* AI capability cards */
.ai-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.ai-card {
  position: relative;
  padding: 1.75rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.3s;
}
.ai-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(139,92,246,0), rgba(59,130,246,0));
  transition: background 0.4s;
}
.ai-card:hover::before {
  background: linear-gradient(135deg, rgba(139,92,246,0.04), rgba(59,130,246,0.04));
}
.ai-card::after {
  content: '';
  position: absolute;
  top: -3rem; right: -3rem;
  width: 6rem; height: 6rem;
  border-radius: 50%;
  background: rgba(139,92,246,0.1);
  filter: blur(40px);
  opacity: 0;
  transition: opacity 0.3s;
}
.ai-card:hover::after { opacity: 1; }
.ai-card:hover { border-color: rgba(139,92,246,0.4); }
.ai-card-icon {
  width: 3rem; height: 3rem;
  border-radius: 0.75rem;
  background: rgba(139,92,246,0.1);
  border: 1px solid rgba(139,92,246,0.2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  position: relative;
}
.ai-card-icon svg { width: 24px; height: 24px; fill: none; stroke: #a78bfa; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ai-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.6rem;
  position: relative;
}
.ai-card p { font-size: 0.85rem; color: var(--muted); line-height: 1.65; position: relative; }

/* AI tools + CTA row */
.ai-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  overflow: hidden;
}
.ai-tools { padding: 2rem; }
.ai-tools-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.ai-tools-header svg { width: 20px; height: 20px; fill: none; stroke: #a78bfa; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ai-tools-header h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}
.ai-tools > p { font-size: 0.875rem; color: var(--muted); margin-bottom: 1.25rem; }
.ai-tools-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.ai-tool-tag {
  padding: 0.35rem 0.75rem;
  border-radius: 0.4rem;
  background: rgba(139,92,246,0.1);
  border: 1px solid rgba(139,92,246,0.2);
  font-size: 0.8rem;
  color: #c4b5fd;
  transition: background 0.2s;
}
.ai-tool-tag:hover { background: rgba(139,92,246,0.2); }

.ai-cta {
  padding: 2rem;
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ai-cta h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 1rem;
}
.ai-cta p { font-size: 0.9rem; color: var(--muted); margin-bottom: 1.75rem; }
.btn-violet {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  background: linear-gradient(90deg, #7c3aed, #3b82f6);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 20px rgba(124,58,237,0.3);
  width: fit-content;
}
.btn-violet:hover {
  opacity: 0.9;
  box-shadow: 0 0 30px rgba(124,58,237,0.5);
}
.btn-violet svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* =============================================
   TECHNOLOGIES
   ============================================= */
#technologies {
  padding: 6rem 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.tech-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}
.tech-col {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.tech-col.ai-col {
  background: rgba(88,28,135,0.12);
  border-color: rgba(139,92,246,0.25);
}
.tech-col-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}
.tech-col.ai-col .tech-col-title {
  color: #c4b5fd;
  border-color: rgba(139,92,246,0.3);
}
.tech-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tech-tag {
  padding: 0.3rem 0.65rem;
  border-radius: 0.35rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 0.78rem;
  color: var(--muted);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  cursor: default;
}
.tech-tag:hover {
  color: #fff;
  border-color: rgba(59,130,246,0.4);
  background: rgba(59,130,246,0.08);
}
.ai-col .tech-tag {
  background: rgba(139,92,246,0.08);
  border-color: rgba(139,92,246,0.18);
  color: #c4b5fd;
}
.ai-col .tech-tag:hover {
  background: rgba(139,92,246,0.2);
}

/* =============================================
   ABOUT
   ============================================= */
#about {
  padding: 6rem 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
  overflow: hidden;
}
.about-glow {
  position: absolute;
  top: 0; right: 0;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: rgba(59,130,246,0.04);
  filter: blur(120px);
  pointer-events: none;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.25rem;
}
.about-divider {
  width: 5rem; height: 4px;
  background: var(--primary);
  border-radius: 9999px;
  margin-bottom: 2rem;
}
.about-text p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.stat-card {
  position: relative;
  padding: 2rem;
  border-radius: var(--radius);
  background: rgba(17,24,39,0.8);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
  transition: border-color 0.3s;
}
.stat-card::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(59,130,246,0.08);
  opacity: 0;
  transition: opacity 0.3s;
}
.stat-card:hover::before { opacity: 1; }
.stat-card:hover { border-color: rgba(59,130,246,0.35); }
.stat-value {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
  position: relative;
}
.stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  position: relative;
}

/* =============================================
   CONTACT
   ============================================= */
#contact {
  padding: 6rem 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
}
.contact-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 3rem;
  max-width: 960px;
  margin: 0 auto;
}
.contact-info {
  padding: 2rem;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--border);
}
.contact-info h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2rem;
}
.contact-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.contact-item:last-child { margin-bottom: 0; }
.contact-icon {
  width: 2.5rem; height: 2.5rem;
  border-radius: 0.5rem;
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.2);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.contact-icon svg { width: 18px; height: 18px; fill: none; stroke: var(--primary); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-item-label { font-size: 0.8rem; color: var(--muted); margin-bottom: 0.2rem; }
.contact-item-value { font-size: 0.925rem; color: #fff; font-weight: 500; }

/* Form */
.contact-form {
  padding: 2rem;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--border);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label {
  font-size: 0.85rem;
  font-weight: 500;
  color: #fff;
}
.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  color: #fff;
  font-size: 0.925rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--muted); }
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
}
.form-group textarea { resize: none; }
.form-group.full { margin-bottom: 1.25rem; }
.btn-submit {
  width: 100%;
  padding: 1rem;
  background: var(--primary);
  color: #fff;
  font-size: 0.925rem;
  font-weight: 700;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  margin-top: 0.5rem;
}
.btn-submit:hover { background: var(--primary-hover); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.btn-submit svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.form-msg {
  display: none;
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
}
.form-msg.success {
  display: block;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.3);
  color: #86efac;
}
.form-msg.error {
  display: block;
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.3);
  color: #fca5a5;
}

/* =============================================
   FOOTER
   ============================================= */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}
.footer-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-brand { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-logo {
  display: flex; align-items: center; gap: 0.75rem;
}
.footer-logo img {
  width: 48px; height: 48px;
  border-radius: 6px;
  background: #fff;
  padding: 3px;
  object-fit: contain;
}
.footer-logo-text {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
}
.footer-logo-text span { color: var(--primary); font-weight: 500; }
.footer-tagline { font-size: 0.875rem; color: var(--muted); max-width: 240px; }

.social-links { display: flex; gap: 0.75rem; }
.social-link {
  width: 2.5rem; height: 2.5rem;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.social-link:hover {
  color: #fff;
  border-color: var(--primary);
  background: rgba(59,130,246,0.1);
}
.social-link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.footer-bottom {
  max-width: 1280px;
  margin: 3rem auto 0;
  padding: 2rem 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  text-align: center;
}
.footer-bottom p { font-size: 0.85rem; color: var(--muted); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .split-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .ai-bottom { grid-template-columns: 1fr; }
  .ai-cta { border-left: none; border-top: 1px solid var(--border); }
  .ai-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .more-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .ai-stats { flex-direction: column; }
  .ai-stat { border-right: none; border-bottom: 1px solid rgba(139,92,246,0.15); }
  .ai-stat:last-child { border-bottom: none; }
  .ai-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 2.2rem; }
  .hero-actions { flex-direction: column; width: 100%; }
  .btn-primary, .btn-outline { width: 100%; justify-content: center; }
  .tech-grid { grid-template-columns: 1fr; }
}
