/* Sandhata.ai — Site Stylesheet
   Custom styles layered on top of Tailwind (CDN) utility classes.
   Class names match the ones used directly in index.html. */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap");

* {
  font-family: "Inter", sans-serif;
}

html {
  scroll-behavior: smooth;
}

/* Offset anchored sections so the sticky nav does not cover their heading */
section[id] {
  scroll-margin-top: 6rem;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #5b2d8e, #cc1580);
  border-radius: 5px;
}

/* Gradient text */
.gradient-text {
  background: linear-gradient(to right, #5b2d8e, #cc1580);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.step-number {
  background: linear-gradient(135deg, #5b2d8e, #cc1580);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Entrance animations */
.animate-fade-in {
  animation: fadeIn 1s ease-in;
}

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

.animate-slide-in {
  animation: slideIn 0.8s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Social icons */
.social-icon {
  color: #9ca3af;
  transition: all 0.3s ease;
}

.social-icon-wrapper:hover .social-icon {
  color: white;
}

.social-icon-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 100%;
  background: linear-gradient(135deg, #5b2d8e, #cc1580);
  padding: 1.5px;
  transition: all 0.3s ease;
}

.social-icon-wrapper:hover {
  box-shadow: 0 10px 25px rgba(91, 45, 142, 0.3);
}

.social-icon-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: black;
  border-radius: 100%;
  transition: all 0.3s ease;
}

.social-icon-wrapper:hover .social-icon-inner {
  background: linear-gradient(135deg, #5b2d8e, #cc1580);
}

/* Stat cards */
.stat-card {
  background: linear-gradient(135deg, rgba(91, 45, 142, 0.1), rgba(204, 21, 128, 0.1));
  border: 1px solid rgba(91, 45, 142, 0.2);
  transition: all 0.3s ease;
}

.stat-card:hover {
  background: linear-gradient(135deg, rgba(91, 45, 142, 0.2), rgba(204, 21, 128, 0.2));
  border-color: rgba(91, 45, 142, 0.4);
  transform: translateY(-5px);
}

.stat-item {
  transition: all 0.3s ease;
}

.principle-card:hover .stat-item {
  transform: scale(1.05);
}

/* Hero vision card float */
@keyframes value-prop-float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.float-animation {
  animation: value-prop-float 7s ease-in-out infinite;
}

/* Footer */
.footer-overlay {
  background: linear-gradient(
    135deg,
    rgba(15, 15, 30, 0.95) 0%,
    rgba(0, 0, 0, 0.98) 50%,
    rgba(15, 15, 30, 0.95) 100%
  );
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(91, 45, 142, 0.2);
  position: relative;
}

.footer-overlay::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(91, 45, 142, 0.5) 50%, transparent 100%);
}

.footer-link {
  position: relative;
  transition: all 0.3s ease;
}

.footer-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #8b5cb2, #cc1580);
  transition: width 0.3s ease;
}

.footer-link:hover::after {
  width: 100%;
}

.section-title {
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, #8b5cb2, #cc1580);
}

.bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Arrow / bullet motion */
.arrow-bounce {
  transition: transform 0.3s ease;
}

@keyframes bounce-right {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(4px);
  }
}

.checkmark-ring {
  transition: all 0.3s ease;
}

.feature-item:hover .checkmark-ring {
  transform: scale(1.1);
  box-shadow: 0 0 0 4px rgba(91, 45, 142, 0.1);
}

.feature-item {
  transition: all 0.3s ease;
}

/* Shared card treatments: principle-card / industry-card / solution-card */
.principle-card,
.industry-card,
.solution-card {
  position: relative;
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
}

.principle-card::before,
.industry-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 2rem;
  padding: 2px;
  background: linear-gradient(135deg, transparent 0%, var(--gradient-color) 50%, transparent 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.solution-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 1.5rem;
  padding: 2px;
  background: linear-gradient(135deg, transparent 0%, var(--gradient-color) 50%, transparent 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.principle-card:hover::before,
.industry-card:hover::before,
.solution-card:hover::before {
  opacity: 1;
}

.principle-card:hover,
.industry-card:hover,
.solution-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.icon-container,
.icon-wrapper {
  position: relative;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.principle-card:hover .icon-container,
.industry-card:hover .icon-wrapper,
.solution-card:hover .icon-wrapper {
  transform: scale(1.06);
}

.icon-glow {
  position: absolute;
  inset: -10px;
  border-radius: 1.5rem;
  opacity: 0;
  transition: opacity 0.5s ease;
  filter: blur(20px);
}

.principle-card:hover .icon-glow,
.industry-card:hover .icon-glow,
.solution-card:hover .icon-glow {
  opacity: 0.6;
}

.principle-number,
.solution-number {
  position: absolute;
  pointer-events: none;
  user-select: none;
}

.principle-number {
  top: -20px;
  right: -20px;
  font-size: 8rem;
  font-weight: 900;
  line-height: 1;
  opacity: 0.04;
  transition: all 0.5s ease;
}

.principle-card:hover .principle-number {
  opacity: 0.08;
  transform: scale(1.1);
}

.solution-number {
  top: -7px;
  right: -7px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.5rem;
  opacity: 0.08;
  transition: all 0.5s ease;
  background: var(--gradient-color);
  color: white;
}

.solution-card:hover .solution-number {
  opacity: 0.15;
  transform: scale(1.2);
}

.feature-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.principle-card:hover .feature-badge {
  transform: translateX(4px);
}

.solution-card .feature-badge {
  background: rgba(91, 45, 142, 0.1);
  color: #5b2d8e;
  border: 1px solid rgba(91, 45, 142, 0.2);
}

.solution-card:hover .feature-badge {
  transform: scale(1.05);
  background: rgba(91, 45, 142, 0.15);
}

.solution-card:hover .arrow-bounce,
.industry-card:hover .feature-item {
  transform: translateX(4px);
}

/* Shimmer sweep on hover */
.shimmer {
  position: relative;
  overflow: hidden;
}

.shimmer::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transition: left 0.7s ease;
}

.principle-card:hover .shimmer::after,
.industry-card:hover .shimmer::after,
.solution-card:hover .shimmer::after {
  left: 100%;
}

/* Decorative floating blobs */
@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  33% {
    transform: translateY(-10px) rotate(2deg);
  }
  66% {
    transform: translateY(-5px) rotate(-2deg);
  }
}

.float-slow {
  animation: float 8s ease-in-out infinite;
  opacity: 0.5 !important;
}

.float-medium {
  animation: float 6s ease-in-out infinite;
  animation-delay: -2s;
  opacity: 0.5 !important;
}

.float-fast {
  animation: float 5s ease-in-out infinite;
  animation-delay: -4s;
  opacity: 0.5 !important;
}

.grid-pattern {
  background-image: linear-gradient(rgba(91, 45, 142, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 45, 142, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
}

.glass-morph {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

@keyframes gradient-shift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.animated-gradient {
  background: linear-gradient(270deg, #667eea, #764ba2, #f093fb, #667eea);
  background-size: 400% 400%;
  animation: gradient-shift 8s ease infinite;
}

/* Buttons */
.btn-glass {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn-glass::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.btn-glass:hover::before {
  left: 100%;
}

.btn-glass:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 30px -10px rgba(91, 45, 142, 0.4);
}

.bookDemoBtn {
  cursor: pointer;
}

/* Trusted-collaborators marquee */
.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (min-width: 768px) {
  .animate-scroll {
    animation: scroll 25s linear infinite;
  }
}
