/* ============================================
   KedarnathAI – UI/UX Pro Max Redesign
   Glassmorphism + Aurora + Bento Grid + AI Palette
   ============================================ */

/* ---------- CSS Variables (AI/SaaS Palette) ---------- */
:root {
  --primary: #7C3AED;
  --primary-light: #A78BFA;
  --primary-dark: #6D28D9;
  --cta: #06B6D4;
  --cta-dark: #0891B2;
  --accent: #00C0A3;
  --accent-dark: #00A88E;
  --bg: #ffffff;
  --bg-white: #ffffff;
  --text: #1E1B4B;
  --text-muted: #475569;
  --border: #DDD6FE;
  --border-light: rgba(124, 58, 237, 0.08);
  --navy: #0F172A;
  --glass-bg: rgba(255, 255, 255, 0.80);
  --glass-border: rgba(255, 255, 255, 0.3);
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-sans: 'DM Sans', system-ui, sans-serif;
  --radius: 16px;
  --radius-lg: 24px;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: light;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: #ffffff;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.65;
  font-size: 16px;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color 0.2s ease-out; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Utilities ---------- */
.hidden { display: none !important; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

.text-accent { color: var(--cta); }
.text-primary { color: var(--primary); }

.section-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}
@media (min-width: 640px) { .section-title { font-size: 2.5rem; } }

.section-subtitle {
  margin-top: 1rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.section-header { text-align: center; }

.section-header-left .section-title { text-align: left; }
.section-subtitle-left {
  margin-top: 1rem;
  color: var(--text-muted);
}

/* ---------- Skip Link ---------- */
.skip-link {
  position: fixed;
  left: -9999px;
  top: 1rem;
  z-index: 100;
  border-radius: var(--radius);
  background: var(--primary);
  padding: 0.5rem 1rem;
  color: #fff;
  font-weight: 500;
}
.skip-link:focus {
  left: 1rem;
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* ---------- Glassmorphism Card ---------- */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 24px rgba(124, 58, 237, 0.06);
  transition: transform 200ms ease-out, box-shadow 200ms ease-out;
}
.glass-card:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 48px rgba(124, 58, 237, 0.12);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 12px;
  padding: 0.8rem 1.75rem;
  font-weight: 600;
  font-size: 0.95rem;
  min-height: 48px;
  transition: all 200ms ease-out;
  cursor: pointer;
  border: none;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.btn:hover { transform: scale(1.03); }
.btn:active { transform: scale(0.97); }
.btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--cta));
  color: #fff;
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.3);
}
.btn-primary:hover {
  box-shadow: 0 8px 28px rgba(124, 58, 237, 0.4);
}

.btn-secondary {
  border: 2px solid var(--primary-light);
  color: var(--primary);
  background: rgba(124, 58, 237, 0.05);
}
.btn-secondary:hover { background: rgba(124, 58, 237, 0.1); }

.btn-whatsapp {
  border: 2px solid rgba(37, 211, 102, 0.4);
  background: rgba(37, 211, 102, 0.08);
  color: #128C7E;
  font-weight: 600;
}
.btn-whatsapp:hover { background: rgba(37, 211, 102, 0.15); }

.btn-full { width: 100%; }

/* ---------- Animations ---------- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.stagger-children .animate-on-scroll:nth-child(1) { transition-delay: 0ms; }
.stagger-children .animate-on-scroll:nth-child(2) { transition-delay: 80ms; }
.stagger-children .animate-on-scroll:nth-child(3) { transition-delay: 160ms; }
.stagger-children .animate-on-scroll:nth-child(4) { transition-delay: 240ms; }
.stagger-children .animate-on-scroll:nth-child(5) { transition-delay: 320ms; }

/* Aurora gradient animation */
@keyframes aurora-flow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Floating animation */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Pulse glow */
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(124, 58, 237, 0.2); }
  50% { box-shadow: 0 0 40px rgba(124, 58, 237, 0.4); }
}

/* ============================================
   HEADER – Floating Glassmorphism Nav
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: #ffffff;
  transition: box-shadow 0.3s ease-out;
}

.header.scrolled {
  box-shadow: 0 4px 30px rgba(124, 58, 237, 0.08);
  border-bottom: 1px solid rgba(124, 58, 237, 0.06);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
}
@media (min-width: 640px) { .header-inner { padding: 0.75rem 1.5rem; } }
@media (min-width: 1024px) { .header-inner { padding: 0.75rem 2rem; } }

.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: var(--text);
  transition: background 200ms ease-out;
}
.mobile-menu-btn:hover { background: rgba(124, 58, 237, 0.06); }
@media (min-width: 768px) { .mobile-menu-btn { display: none; } }

.logo-link { display: flex; align-items: center; }
.logo {
  height: auto;
  width: 55vw;
  max-width: 260px;
  background: #ffffff;
  border-radius: 6px;
}
@media (min-width: 640px) { .logo { width: 220px; } }
@media (min-width: 768px) { .logo { width: 200px; } }
@media (min-width: 1024px) { .logo { width: 240px; } }

.desktop-nav {
  display: none;
  align-items: center;
  gap: 0.5rem;
}
.desktop-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  transition: color 200ms ease-out, background 200ms ease-out;
}
.desktop-nav a:hover {
  color: var(--primary);
  background: rgba(124, 58, 237, 0.06);
}
@media (min-width: 768px) { .desktop-nav { display: flex; } }

.header-cta { display: none; }
@media (min-width: 768px) { .header-cta { display: flex; align-items: center; gap: 0.75rem; } }

.mobile-spacer { width: 44px; }
@media (min-width: 768px) { .mobile-spacer { display: none; } }

/* Mobile Menu */
.mobile-overlay {
  position: fixed;
  inset: 0;
  top: 0;
  z-index: 40;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
@media (min-width: 768px) { .mobile-overlay { display: none !important; } }

.mobile-drawer {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 50;
  height: 100dvh;
  width: 18rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 8px 0 40px rgba(0, 0, 0, 0.15);
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-drawer.open { transform: translateX(0); }
@media (min-width: 768px) { .mobile-drawer { display: none !important; } }

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 5rem 1rem 1.5rem;
  height: 100%;
}
.mobile-nav a {
  border-radius: 12px;
  padding: 0.85rem 1rem;
  color: var(--text-muted);
  font-weight: 500;
  transition: background 200ms ease-out, color 200ms ease-out;
}
.mobile-nav a:hover {
  background: rgba(124, 58, 237, 0.06);
  color: var(--primary);
}
.mobile-nav-cta {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

/* ============================================
   HERO – Aurora Gradient Background
   ============================================ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 8rem 1rem 6rem;
}
@media (min-width: 640px) { .hero { padding: 10rem 1.5rem 8rem; } }

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

/* Aurora gradient base */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: -50%;
  background: conic-gradient(
    from 0deg at 50% 50%,
    rgba(124, 58, 237, 0.15),
    rgba(6, 182, 212, 0.12),
    rgba(167, 139, 250, 0.10),
    rgba(0, 192, 163, 0.08),
    rgba(124, 58, 237, 0.15)
  );
  background-size: 200% 200%;
  animation: aurora-flow 10s ease infinite;
}

/* Soft overlay for readability */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7) 0%, rgba(255,255,255,0.95) 100%);
}

/* Floating orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  z-index: -1;
}
.hero-orb-1 {
  width: 400px;
  height: 400px;
  background: rgba(124, 58, 237, 0.2);
  top: -100px;
  right: -100px;
  animation: float 8s ease-in-out infinite;
}
.hero-orb-2 {
  width: 300px;
  height: 300px;
  background: rgba(6, 182, 212, 0.2);
  bottom: -50px;
  left: -80px;
  animation: float 10s ease-in-out infinite reverse;
}
.hero-orb-3 {
  width: 200px;
  height: 200px;
  background: rgba(0, 192, 163, 0.15);
  top: 40%;
  left: 50%;
  animation: float 12s ease-in-out infinite;
}

.hero-content {
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.15);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
}
.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse-glow 2s ease infinite;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.15;
}
@media (min-width: 640px) { .hero-title { font-size: 3.25rem; } }
@media (min-width: 768px) { .hero-title { font-size: 4rem; } }

.hero-title .gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--cta));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.75;
}
@media (min-width: 640px) { .hero-subtitle { font-size: 1.25rem; } }

.hero-buttons {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
@media (min-width: 640px) { .hero-buttons { flex-direction: row; } }

/* Stats row in hero */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(124, 58, 237, 0.1);
}
.hero-stat-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}
.hero-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

/* ============================================
   SERVICES – Bento Grid with Glassmorphism
   ============================================ */
.services {
  background: #ffffff;
  overflow: hidden;
  position: relative;
}
.services .container {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.services-carousel-wrapper {
  position: relative;
  margin-top: 3.5rem;
}

.services-scroll {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 1rem;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.services-scroll::-webkit-scrollbar { display: none; }

.service-card {
  flex-shrink: 0;
  width: calc(50% - 10px);
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(124, 58, 237, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: transform 200ms ease-out, box-shadow 200ms ease-out, border-color 200ms ease-out;
}
.service-card:hover {
  border-color: rgba(124, 58, 237, 0.2);
  box-shadow: 0 20px 48px -12px rgba(124, 58, 237, 0.15);
  transform: translateY(-4px);
}
@media (min-width: 640px) { .service-card { width: calc(33.333% - 14px); } }
@media (min-width: 1024px) { .service-card { width: calc(25% - 16px); } }

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(6, 182, 212, 0.08));
  color: var(--primary);
}

.service-card h3 {
  margin-top: 1rem;
  font-weight: 600;
  color: var(--text);
  font-size: 0.95rem;
}
.service-card p {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  transform: translateY(-50%);
  border-radius: 50%;
  border: 1px solid rgba(124, 58, 237, 0.1);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--primary);
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.1);
  transition: all 200ms ease-out;
}
.carousel-arrow:hover {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.25);
}
.carousel-arrow-left { left: -0.5rem; }
.carousel-arrow-right { right: -0.5rem; }
@media (min-width: 640px) {
  .carousel-arrow-left { left: -1rem; }
  .carousel-arrow-right { right: -1rem; }
}

/* ============================================
   CAPABILITIES CAROUSEL
   ============================================ */
.capabilities {
  background: #ffffff;
  padding-top: 6rem;
  padding-bottom: 6rem;
  overflow: hidden;
  position: relative;
}

.capabilities-slider {
  position: relative;
  margin-top: 3rem;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg);
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

.capabilities-slide {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 320px;
  width: 100%;
  transition: opacity 0.35s ease-out;
}
@media (min-width: 768px) {
  .capabilities-slide {
    grid-template-columns: 1fr 1fr;
    min-height: 420px;
  }
}
@media (min-width: 1024px) {
  .capabilities-slide { min-height: 480px; }
}

.cap-slide-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}
@media (min-width: 768px) {
  .cap-slide-image {
    aspect-ratio: auto;
    min-height: 420px;
  }
}
@media (min-width: 1024px) {
  .cap-slide-image { min-height: 480px; }
}

.cap-slide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform 0.4s ease-out;
}
.capabilities-slide:hover .cap-slide-image img {
  transform: scale(1.03);
}

.cap-slide-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #ffffff;
  padding: 2.5rem 1.5rem;
}
@media (min-width: 768px) { .cap-slide-text { padding: 3.5rem 3rem; } }
@media (min-width: 1024px) { .cap-slide-text { padding: 5rem 4rem; } }

.cap-slide-text h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}
@media (min-width: 768px) { .cap-slide-text h3 { font-size: 2rem; } }
@media (min-width: 1024px) { .cap-slide-text h3 { font-size: 2.5rem; } }

.cap-slide-text p {
  margin-top: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
}
@media (min-width: 768px) { .cap-slide-text p { font-size: 1.125rem; } }

.cap-arrow {
  position: absolute;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  transform: translateY(-50%);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(124, 58, 237, 0.1);
  color: var(--primary);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  transition: all 200ms ease-out;
  z-index: 10;
}
.cap-arrow:hover {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.25);
}
.cap-arrow-left { left: 1rem; }
.cap-arrow-right { right: 1rem; }
@media (min-width: 768px) {
  .cap-arrow-left { left: 1.5rem; }
  .cap-arrow-right { right: 1.5rem; }
}

.cap-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.cap-dot {
  height: 0.5rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease-out;
  background: rgba(124, 58, 237, 0.15);
  width: 0.5rem;
}
.cap-dot:hover { background: rgba(124, 58, 237, 0.3); }
.cap-dot.active {
  width: 2.5rem;
  background: linear-gradient(135deg, var(--primary), var(--cta));
}

/* ============================================
   HOW IT WORKS – Connected Steps
   ============================================ */
.how-it-works {
  background: #ffffff;
  overflow: hidden;
  position: relative;
}
.how-it-works .container {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.steps-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 4rem;
}
@media (min-width: 640px) { .steps-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .steps-grid { grid-template-columns: repeat(4, 1fr); } }

.step-card {
  border: 1px solid rgba(124, 58, 237, 0.08);
  border-radius: var(--radius-lg);
  background: #ffffff;
  padding: 2rem;
  transition: all 200ms ease-out;
  position: relative;
  overflow: hidden;
}
.step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--cta));
  opacity: 0;
  transition: opacity 200ms ease-out;
}
.step-card:hover {
  border-color: rgba(124, 58, 237, 0.15);
  box-shadow: 0 12px 36px -8px rgba(124, 58, 237, 0.12);
  transform: translateY(-2px);
}
.step-card:hover::before { opacity: 1; }

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(6, 182, 212, 0.08));
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary);
}

.step-title {
  margin-top: 1.25rem;
  font-weight: 600;
  color: var(--text);
  font-size: 1.05rem;
}
.step-desc {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================
   WHY CHOOSE US – Glass Cards
   ============================================ */
.why-us {
  background: #ffffff;
  overflow: hidden;
}
.why-us .container {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.why-us-grid {
  display: grid;
  gap: 3rem;
  margin-top: 4rem;
}
@media (min-width: 1024px) {
  .why-us-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

.why-us-image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(124, 58, 237, 0.12);
}
.why-us-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease-out;
}
.why-us-image:hover img { transform: scale(1.03); }

/* Decorative element */
.why-us-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, transparent 60%);
}

.why-us-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.why-us-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: var(--text-muted);
  padding: 0.75rem;
  border-radius: 12px;
  transition: background 200ms ease-out;
}
.why-us-list li:hover { background: rgba(124, 58, 237, 0.04); }

.check-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(6, 182, 212, 0.08));
  color: var(--primary);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.stat-card {
  border: 1px solid rgba(124, 58, 237, 0.08);
  border-radius: var(--radius);
  background: #ffffff;
  padding: 1.25rem;
  text-align: center;
  transition: all 200ms ease-out;
}
.stat-card:hover {
  border-color: rgba(124, 58, 237, 0.2);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.1);
  transform: translateY(-2px);
}

.stat-value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--cta));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
@media (min-width: 640px) { .stat-value { font-size: 2rem; } }

.stat-label {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}
@media (min-width: 640px) { .stat-label { font-size: 0.85rem; } }

/* ============================================
   TECH STACK – Glowing Pills
   ============================================ */
.tech-stack {
  background: #ffffff;
  padding: 5rem 0;
  overflow: hidden;
}
.tech-stack .container { text-align: center; }

.tech-sub {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.tech-sub + .tech-pills { margin-top: 1rem; }
.tech-pills + .tech-sub { margin-top: 2.5rem; }

.tech-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.tech-pill {
  border: 1px solid rgba(124, 58, 237, 0.1);
  border-radius: 12px;
  background: #ffffff;
  padding: 0.6rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all 200ms ease-out;
  cursor: default;
}
.tech-pill:hover {
  border-color: var(--primary-light);
  color: var(--primary);
  background: rgba(124, 58, 237, 0.05);
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.12);
  transform: translateY(-2px);
}

/* ============================================
   CONTACT FORM – Glass Container
   ============================================ */
.contact {
  background: #ffffff;
  overflow: hidden;
  position: relative;
}

.contact-inner {
  max-width: 42rem;
  margin: 0 auto;
  padding: 6rem 1rem;
}
@media (min-width: 640px) { .contact-inner { padding: 6rem 1.5rem; } }
@media (min-width: 1024px) { .contact-inner { padding: 6rem 2rem; } }

.contact-form {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(124, 58, 237, 0.08);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(124, 58, 237, 0.06);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}
.form-group input,
.form-group textarea {
  width: 100%;
  border: 1.5px solid rgba(124, 58, 237, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.8);
  padding: 0.8rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text);
  min-height: 48px;
  transition: border-color 200ms ease-out, box-shadow 200ms ease-out;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(71, 85, 105, 0.5);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}
.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-error {
  font-size: 0.8rem;
  color: #dc2626;
  min-height: 1.1rem;
}

.form-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 0.5rem;
}
@media (min-width: 640px) {
  .form-actions { flex-direction: row; align-items: center; }
}

/* Success State */
.form-success {
  text-align: center;
  border: 1px solid rgba(124, 58, 237, 0.15);
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  padding: 3rem;
  box-shadow: 0 16px 48px rgba(124, 58, 237, 0.1);
}
.success-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(6, 182, 212, 0.08));
  color: var(--primary);
  margin: 0 auto;
}
.form-success .section-title { margin-top: 1.5rem; }
.success-text {
  margin-top: 1rem;
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* ============================================
   FOOTER – Dark with gradient accents
   ============================================ */
.footer {
  background: var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
}

/* Subtle gradient top border */
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--cta), var(--accent));
}

.footer .container {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.footer-grid {
  display: grid;
  gap: 3rem;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1.2fr; } }

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}
.footer-desc {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
}

.footer-heading {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.9);
}

.footer-links {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  transition: color 200ms ease-out;
}
.footer-links a:hover { color: var(--cta); }

.footer-contact {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-contact a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  transition: color 200ms ease-out;
}
.footer-contact a:hover { color: var(--cta); }
.footer-contact a svg { flex-shrink: 0; }

.footer-address {
  display: flex;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
}
.footer-address svg {
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.social-icons {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.6);
  transition: all 200ms ease-out;
}
.social-whatsapp:hover { background: #25D366; color: #fff; transform: translateY(-2px); }
.social-instagram:hover { background: linear-gradient(135deg, #f09433, #dc2743, #bc1888); color: #fff; transform: translateY(-2px); }
.social-linkedin:hover { background: #0A66C2; color: #fff; transform: translateY(-2px); }

.copyright {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}
