.grid-pattern {
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
}

.hero-studio {
  background: #020617;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.42;
  pointer-events: none;
  filter: saturate(0.85) contrast(1.05);
}

.hero-video--still {
  display: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 20%, rgba(15, 23, 42, 0.25), transparent 50%),
    linear-gradient(180deg, rgba(2, 6, 23, 0.78) 0%, rgba(2, 6, 23, 0.52) 38%, rgba(2, 6, 23, 0.92) 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.7;
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 72%, transparent);
}

.gradient-text {
  background: linear-gradient(135deg, #93c5fd 0%, #3b82f6 45%, #fb923c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.15rem;
  width: 100%;
}

.hero-actions__main {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
}

.hero-actions__label {
  margin: 0.15rem 0 0;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #64748b;
}

.hero-actions__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}

.btn-hero {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3.15rem;
  padding: 0.85rem 1.55rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease, color 0.22s ease;
}

.btn-hero__icon {
  width: 1.05rem;
  height: 1.05rem;
  transition: transform 0.22s ease;
}

.btn-hero--primary {
  color: #fff;
  background: linear-gradient(135deg, #60a5fa 0%, #2563eb 52%, #1d4ed8 100%);
  border: 1px solid rgba(147, 197, 253, 0.45);
  box-shadow:
    0 0 0 1px rgba(59, 130, 246, 0.15),
    0 10px 28px rgba(37, 99, 235, 0.38),
    0 0 48px rgba(59, 130, 246, 0.28);
}

.btn-hero--primary::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent 42%);
}

.btn-hero--primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(96, 165, 250, 0.35),
    0 14px 36px rgba(37, 99, 235, 0.5),
    0 0 56px rgba(59, 130, 246, 0.4);
}

.btn-hero--primary:hover .btn-hero__icon {
  transform: translateX(3px);
}

.btn-hero--ghost {
  color: #bfdbfe;
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(96, 165, 250, 0.45);
  backdrop-filter: blur(10px);
}

.btn-hero--ghost:hover {
  transform: translateY(-2px);
  color: #fff;
  border-color: rgba(147, 197, 253, 0.75);
  background: rgba(37, 99, 235, 0.22);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.45);
}

.btn-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.4rem;
  padding: 0.45rem 0.95rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #e2e8f0;
  text-decoration: none;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.28);
  backdrop-filter: blur(10px);
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.btn-chip svg {
  width: 0.95rem;
  height: 0.95rem;
  opacity: 0.9;
}

.btn-chip:hover {
  transform: translateY(-1px);
  color: #fff;
  border-color: rgba(148, 163, 184, 0.55);
  background: rgba(30, 41, 59, 0.75);
}

.btn-chip--accent {
  color: #fdba74;
  border-color: rgba(249, 115, 22, 0.38);
}

.btn-chip--accent:hover {
  color: #ffedd5;
  border-color: rgba(251, 146, 60, 0.7);
  background: rgba(154, 52, 18, 0.22);
}

.btn-hero:focus-visible,
.btn-chip:focus-visible {
  outline: 2px solid #60a5fa;
  outline-offset: 3px;
}

@media (max-width: 639px) {
  .btn-hero {
    width: 100%;
    max-width: 22rem;
  }
}

.card-ai {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.92), rgba(2, 6, 23, 0.88));
  border: 1px solid rgba(59, 130, 246, 0.18);
  backdrop-filter: blur(12px);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.card-ai:hover {
  transform: translateY(-6px);
  border-color: rgba(249, 115, 22, 0.4);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.5), 0 0 36px rgba(59, 130, 246, 0.16);
}

.orb {
  position: absolute;
  border-radius: 9999px;
  filter: blur(64px);
  pointer-events: none;
  animation: float 10s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}

.nodes {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.35) 1px, transparent 1.5px),
    radial-gradient(circle at 70% 60%, rgba(249, 115, 22, 0.28) 1px, transparent 1.5px),
    radial-gradient(circle at 40% 80%, rgba(59, 130, 246, 0.2) 1px, transparent 1.5px);
  background-size: 180px 180px;
  opacity: 0.45;
  pointer-events: none;
}

.portrait-frame {
  width: 168px;
  height: 168px;
  margin: 0 auto 1.25rem;
  padding: 5px;
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(59, 130, 246, 0.85), rgba(15, 23, 42, 1) 42%, rgba(249, 115, 22, 0.55));
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.8), 0 0 36px rgba(59, 130, 246, 0.35);
}

.portrait-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 23px;
  overflow: hidden;
  background: #020617;
}

.portrait-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.img-shivani { object-position: center 22%; }
.img-raj { object-position: center 18%; }

.img-aakashi { object-position: center 18%; }
.img-dhaval { object-position: center 15%; }
.img-mukesh { object-position: center 12%; }
.img-manan { object-position: center 22%; }

.founder-thought {
  border-left: 3px solid rgba(59, 130, 246, 0.65);
  box-shadow: inset 4px 0 24px rgba(59, 130, 246, 0.06);
}

.portrait-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 2.35rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #93c5fd;
  background: linear-gradient(155deg, rgba(30, 58, 95, 0.95) 0%, #0f172a 55%, rgba(15, 23, 42, 0.98) 100%);
}

.vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 38%, transparent 42%, rgba(2, 6, 23, 0.55) 72%, #020617 100%);
  pointer-events: none;
}

.linkedin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #0a66c2;
  color: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.linkedin-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(10, 102, 194, 0.45);
}

.contact-linkedin {
  margin-top: 0.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  align-self: flex-start;
  color: #93c5fd;
  font-weight: 600;
  text-decoration: none;
}

.contact-linkedin svg {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  max-width: 1.25rem;
  max-height: 1.25rem;
}

.contact-linkedin:hover {
  color: #bfdbfe;
  text-decoration: underline;
}

.contact-whatsapp {
  margin-top: 0.4rem;
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  align-self: flex-start;
  gap: 0.55rem;
  color: #25d366;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
}

.contact-whatsapp svg {
  flex-shrink: 0;
  width: 1.25rem !important;
  height: 1.25rem !important;
  max-width: 1.25rem !important;
  max-height: 1.25rem !important;
  color: #25d366;
}

.contact-whatsapp:hover {
  color: #2ee66d;
  text-decoration: underline;
}

.contact-whatsapp:hover svg {
  color: #2ee66d;
}

.step-line::after {
  content: "";
  position: absolute;
  top: 28px;
  left: calc(50% + 28px);
  width: calc(100% - 56px);
  height: 2px;
  background: linear-gradient(90deg, #3b82f6, transparent);
}

.step-line:last-child::after { display: none; }

@media (max-width: 767px) {
  .step-line::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-video {
    display: none;
  }

  .orb {
    animation: none;
  }

  .card-ai {
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
  }

  .card-ai:hover {
    transform: none;
  }

  .btn-hero:hover,
  .btn-chip:hover,
  .btn-hero--primary:hover .btn-hero__icon {
    transform: none;
  }
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}
