/* Fonts */
body {
  font-family: 'Inter', sans-serif;
  scroll-behavior: smooth;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Mobile optimizations */
* {
  -webkit-tap-highlight-color: transparent;
}

img {
  max-width: 100%;
  height: auto;
}

/* Ensure readable font sizes on mobile */
@media (max-width: 639px) {
  html {
    font-size: 16px;
  }
}

h1, h2, h3, .font-lexend {
  font-family: 'Lexend', sans-serif;
}

/* Navbar Styles */
.navbar {
  transition: all 0.5s ease;
  padding: 0.875rem 0;
}

/* Mobile-first: Ensure touch targets are at least 44x44px */
button:not(.whatsapp-button),
a[role="button"],
input[type="submit"],
input[type="button"],
select {
  min-height: 44px;
  min-width: 44px;
  touch-action: manipulation;
}

/* Improve scrolling on mobile */
* {
  -webkit-overflow-scrolling: touch;
}

/* Prevent text size adjustment on orientation change */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgb(241, 245, 249);
  padding: 0.75rem 0;
}

@media (min-width: 768px) {
  .navbar {
    padding: 1rem 0;
  }
  
  .navbar.scrolled {
    padding: 1rem 0;
  }
}

.nav-link {
  position: relative;
  text-align: center;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: rgb(100, 116, 139);
  transition: color 0.3s ease;
  text-decoration: none;
}

.nav-link:hover {
  color: rgb(37, 99, 235);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: rgb(37, 99, 235);
  transition: width 0.3s ease;
}

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

/* Logo Styles */
.navbar img,
footer img {
  transition: transform 0.3s ease;
  object-fit: contain;
}

.navbar img:hover {
  transform: scale(1.05);
}

.navbar a:focus img,
footer a:focus img {
  outline: 2px solid rgb(37, 99, 235);
  outline-offset: 2px;
  border-radius: 0.5rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgb(37, 99, 235);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 900;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.3s ease;
  box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.2);
  text-decoration: none;
  min-height: 44px;
  min-width: 44px;
}

@media (min-width: 640px) {
  .btn-primary {
    padding: 0.75rem 1.75rem;
    font-size: 10px;
  }
}

.btn-primary:hover {
  background: rgb(29, 78, 216);
  transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh; /* Dynamic viewport height for mobile */
}

.hero-bg-1 {
  position: absolute;
  top: 0;
  right: 0;
  z-index: -10;
  width: 600px;
  height: 600px;
  background: rgba(239, 246, 255, 0.5);
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.7;
  transform: translate(50%, -50%);
  animation: float1 10s ease-in-out infinite;
}

.hero-bg-2 {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: -10;
  width: 500px;
  height: 500px;
  background: rgba(238, 242, 255, 0.5);
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  transform: translate(-50%, 50%);
  animation: float2 15s ease-in-out infinite;
}

@keyframes float1 {
  0%, 100% {
    transform: translate(50%, -50%) scale(1);
  }
  50% {
    transform: translate(calc(50% + 30px), calc(-50% - 20px)) scale(1.1);
  }
}

@keyframes float2 {
  0%, 100% {
    transform: translate(-50%, 50%) scale(1);
  }
  50% {
    transform: translate(calc(-50% - 40px), calc(50% + 30px)) scale(1.2);
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.875rem;
  border-radius: 9999px;
  background: rgb(239, 246, 255);
  color: rgb(29, 78, 216);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid rgb(219, 234, 254);
}

@media (min-width: 640px) {
  .hero-badge {
    font-size: 10px;
    padding: 0.5rem 1rem;
  }
}

.ping-animation {
  animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
  75%, 100% {
    transform: scale(2);
    opacity: 0;
  }
}

.hero-title {
  font-size: 2rem;
  line-height: 0.95;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
  font-weight: 900;
  color: rgb(15, 23, 42);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem;
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 3rem;
    gap: 0.5rem;
    margin-bottom: 2rem;
  }
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 4.5rem;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 9rem;
    gap: 1rem;
  }
}

.hero-title-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(50px) rotateX(90deg);
  animation: wordReveal 0.8s ease forwards;
  animation-fill-mode: forwards;
  transition: all 0.3s ease;
  position: relative;
}

.hero-title-word.word-1 {
  animation-delay: 0.2s;
}

.hero-title-word.word-2 {
  animation-delay: 0.4s;
}

.hero-title-word.word-3 {
  animation-delay: 0.6s;
}

.hero-title-word.word-4 {
  animation-delay: 0.8s;
}

.hero-title-word.word-5 {
  animation-delay: 1s;
}

.hero-title-word.word-6 {
  animation-delay: 1.2s;
}

@keyframes wordReveal {
  0% {
    opacity: 0;
    transform: translateY(50px) rotateX(90deg) scale(0.8);
  }
  60% {
    transform: translateY(-10px) rotateX(0deg) scale(1.05);
  }
  100% {
    opacity: 1;
    transform: translateY(0) rotateX(0deg) scale(1);
  }
}

/* Animation for gradient words */
.hero-title-word.word-5,
.hero-title-word.word-6 {
  position: relative;
  display: inline-block;
}

.hero-title-word.word-5::after,
.hero-title-word.word-6::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, rgb(37, 99, 235), rgb(99, 102, 241));
  animation: underlineGrow 0.6s ease forwards;
  animation-delay: 1.5s;
}

.hero-title-word.word-5::after {
  animation-delay: 1.5s;
}

.hero-title-word.word-6::after {
  animation-delay: 1.7s;
}

@keyframes underlineGrow {
  to {
    width: 100%;
  }
}

/* Pulse effect for gradient words */
.hero-title-word.word-5,
.hero-title-word.word-6 {
  animation: wordReveal 0.8s ease forwards, gradientPulse 3s ease-in-out infinite;
  animation-fill-mode: forwards;
}

.hero-title-word.word-5 {
  animation-delay: 1s, 2s;
}

.hero-title-word.word-6 {
  animation-delay: 1.2s, 2s;
}

@keyframes gradientPulse {
  0%, 100% {
    filter: brightness(1);
    transform: scale(1);
  }
  50% {
    filter: brightness(1.2);
    transform: scale(1.02);
  }
}


.hero-subtitle {
  font-size: 0.9375rem;
  color: rgb(71, 85, 105);
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.625;
}

@media (min-width: 640px) {
  .hero-subtitle {
    font-size: 1.125rem;
  }
}

@media (min-width: 1024px) {
  .hero-subtitle {
    font-size: 1.5rem;
  }
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  justify-content: center;
  width: 100%;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
    gap: 1.25rem;
    width: auto;
  }
}

.btn-hero-primary {
  padding: 1rem 2rem;
  background: rgb(37, 99, 235);
  color: white;
  border-radius: 0.875rem;
  font-weight: 900;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.3s ease;
  box-shadow: 0 25px 50px -12px rgba(37, 99, 235, 0.3);
  text-decoration: none;
  display: inline-block;
  text-align: center;
  min-height: 48px;
  min-width: 48px;
}

.btn-hero-primary:hover {
  background: rgb(29, 78, 216);
  transform: scale(1.02);
}

@media (min-width: 640px) {
  .btn-hero-primary {
    padding: 1.25rem 2.5rem;
    font-size: 0.875rem;
  }
}

@media (min-width: 768px) {
  .btn-hero-primary {
    padding: 1.5rem 3rem;
  }
}

.btn-hero-secondary {
  padding: 1rem 2rem;
  background: white;
  color: rgb(15, 23, 42);
  border: 2px solid rgb(226, 232, 240);
  border-radius: 0.875rem;
  font-weight: 900;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
  text-decoration: none;
  min-height: 48px;
  min-width: 48px;
}

.btn-hero-secondary:hover {
  border-color: rgb(37, 99, 235);
  color: rgb(37, 99, 235);
  transform: scale(1.02);
}

@media (min-width: 640px) {
  .btn-hero-secondary {
    padding: 1.25rem 2.5rem;
    font-size: 0.875rem;
    gap: 0.75rem;
  }
}

@media (min-width: 768px) {
  .btn-hero-secondary {
    padding: 1.5rem 3rem;
  }
}


/* Fade-in animations */
.fade-in {
  animation: fadeIn 0.6s ease forwards;
}

.fade-in-delay-1 {
  animation: fadeInUp 0.8s ease 0.2s forwards;
  opacity: 0;
}

.fade-in-delay-2 {
  animation: fadeInUp 0.8s ease 0.4s forwards;
  opacity: 0;
}

.fade-in-delay-3 {
  animation: fadeInUp 0.5s ease 0.6s forwards;
  opacity: 0;
}

.fade-in-delay-4 {
  animation: fadeIn 1s ease 1.2s forwards;
  opacity: 0;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

/* Section Backgrounds */
.section-bg-blue-1 {
  position: absolute;
  top: -10%;
  right: -10%;
  width: 40%;
  height: 40%;
  background: rgb(59, 130, 246);
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.5;
}

.section-bg-blue-2 {
  position: absolute;
  bottom: -10%;
  left: -10%;
  width: 30%;
  height: 30%;
  background: rgb(67, 56, 202);
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
}

/* Benefit Cards */
.benefit-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1.5rem;
  border-radius: 1.5rem;
  transition: all 0.3s ease;
}

@media (min-width: 640px) {
  .benefit-card {
    padding: 2rem;
    border-radius: 2.5rem;
  }
}

.benefit-card:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
}

.fade-in-left {
  animation: fadeInLeft 0.8s ease forwards;
  opacity: 0;
}

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

.fade-in-up {
  animation: fadeInUp 0.5s ease forwards;
  opacity: 0;
}

.delay-1 {
  animation-delay: 0.1s;
}

.delay-2 {
  animation-delay: 0.2s;
}

.delay-3 {
  animation-delay: 0.3s;
}

.delay-4 {
  animation-delay: 0.4s;
}

/* Feature Cards */
.feature-card {
  padding: 1.5rem;
  border-radius: 1.5rem;
  background: white;
  border: 1px solid rgba(226, 232, 240, 0.5);
  transition: all 0.5s ease;
}

@media (min-width: 640px) {
  .feature-card {
    padding: 2rem;
    border-radius: 2rem;
  }
}

@media (min-width: 1024px) {
  .feature-card {
    padding: 2.5rem;
    border-radius: 2.5rem;
  }
}

.feature-card:hover {
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: 0 20px 60px -15px rgba(37, 99, 235, 0.08);
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  background: rgb(248, 250, 252);
  border-radius: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgb(15, 23, 42);
  margin-bottom: 1.5rem;
  transition: all 0.5s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

@media (min-width: 640px) {
  .feature-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    margin-bottom: 2rem;
  }
}

.feature-card:hover .feature-icon {
  background: rgb(37, 99, 235);
  color: white;
}

/* Solution Cards */
.solution-card {
  padding: 1.5rem;
  border-radius: 1.5rem;
  background: white;
  border: 1px solid rgba(226, 232, 240, 0.5);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.5s ease;
}

@media (min-width: 640px) {
  .solution-card {
    padding: 2rem;
    border-radius: 2rem;
  }
}

@media (min-width: 1024px) {
  .solution-card {
    padding: 2.5rem;
    border-radius: 2.5rem;
  }
}

.solution-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.solution-icon {
  width: 2.75rem;
  height: 2.75rem;
  background: rgb(239, 246, 255);
  color: rgb(37, 99, 235);
  border-radius: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.5s ease;
}

@media (min-width: 640px) {
  .solution-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    margin-bottom: 2rem;
  }
}

.solution-card:hover .solution-icon {
  background: rgb(37, 99, 235);
  color: white;
}

.solution-link {
  color: rgb(37, 99, 235);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.solution-link svg {
  transition: transform 0.3s ease;
}

.solution-link:hover svg {
  transform: translateX(4px);
}

/* Ripple effect */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  transform: scale(0);
  animation: ripple-animation 0.6s ease-out;
  pointer-events: none;
}

@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Section reveal */
section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile specific optimizations */
@media (max-width: 639px) {
  /* Reduce animation complexity on mobile for performance */
  .hero-bg-1,
  .hero-bg-2 {
    animation-duration: 20s;
  }
  
  /* Optimize card hover effects on mobile */
  .feature-card:hover,
  .solution-card:hover,
  .benefit-card:hover {
    transform: translateY(-4px);
  }
  
  /* Better spacing for mobile */
  section {
    scroll-margin-top: 80px;
  }
}

.portfolio-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.5);
  transition: all 0.7s ease;
}

.portfolio-item:hover .portfolio-image {
  filter: grayscale(0);
  transform: scale(1.05);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(37, 99, 235, 0.9);
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

/* Process Steps */
.process-step {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  background: rgb(248, 250, 252);
  border-radius: 1.5rem;
  border: 1px solid rgb(241, 245, 249);
  transition: all 0.3s ease;
}

@media (min-width: 640px) {
  .process-step {
    gap: 2rem;
    padding: 2rem;
    border-radius: 2rem;
  }
}

.process-step:hover {
  background: white;
  border-color: rgb(191, 219, 254);
  box-shadow: 0 20px 25px -5px rgba(37, 99, 235, 0.05);
}

.step-number {
  font-size: 1.875rem;
  font-weight: 900;
  color: rgb(226, 232, 240);
  line-height: 1;
  transition: color 0.3s ease;
}

@media (min-width: 640px) {
  .step-number {
    font-size: 2.25rem;
  }
}

.process-step:hover .step-number {
  color: rgb(191, 219, 254);
}

/* Pricing Cards */
.pricing-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  border-radius: 2rem;
  border: 1px solid rgb(226, 232, 240);
  transition: all 0.5s ease;
  background: white;
  color: rgb(15, 23, 42);
}

@media (min-width: 640px) {
  .pricing-card {
    padding: 2rem;
    border-radius: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .pricing-card {
    padding: 2.5rem;
    border-radius: 3rem;
  }
}

.pricing-card:hover {
  box-shadow: 0 25px 50px -12px rgba(37, 99, 235, 0.1);
}

.pricing-card-popular {
  background: rgb(15, 23, 42);
  border-color: rgb(15, 23, 42);
  color: white;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  z-index: 10;
}

@media (min-width: 1024px) {
  .pricing-card-popular {
    transform: scale(1.05);
  }
}

.badge-popular {
  display: inline-block;
  align-self: flex-start;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  background: rgb(37, 99, 235);
  color: white;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3);
}

.btn-pricing-primary {
  width: 100%;
  padding: 1rem 0;
  border-radius: 1rem;
  font-weight: 900;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.3s ease;
  text-align: center;
  background: rgb(37, 99, 235);
  color: white;
  box-shadow: 0 20px 25px -5px rgba(37, 99, 235, 0.3);
  text-decoration: none;
  display: block;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 640px) {
  .btn-pricing-primary {
    padding: 1.25rem 0;
  }
}

.btn-pricing-primary:hover {
  background: rgb(29, 78, 216);
  box-shadow: 0 20px 25px -5px rgba(37, 99, 235, 0.5);
  transform: translateY(-4px);
}

.btn-pricing-secondary {
  width: 100%;
  padding: 1rem 0;
  border-radius: 1rem;
  font-weight: 900;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.3s ease;
  text-align: center;
  background: rgb(241, 245, 249);
  color: rgb(15, 23, 42);
  text-decoration: none;
  display: block;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 640px) {
  .btn-pricing-secondary {
    padding: 1.25rem 0;
  }
}

.btn-pricing-secondary:hover {
  background: rgb(226, 232, 240);
  transform: translateY(-4px);
}

/* WhatsApp Button */
.whatsapp-button {
  position: relative;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
  min-width: 56px;
  min-height: 56px;
}

.whatsapp-ping {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgb(34, 197, 94);
  animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
  opacity: 0.2;
}

.whatsapp-popup {
  animation: slideUp 0.3s ease forwards;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.whatsapp-popup.hidden {
  display: none;
}

.whatsapp-button.active .whatsapp-ping {
  display: none;
}

.whatsapp-button.active > div {
  background: rgb(15, 23, 42);
  color: white;
}

/* Mobile Menu */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  z-index: 40;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-content {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: white;
  padding: 6rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: right 0.3s ease;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
}

.mobile-menu-overlay.active .mobile-menu-content {
  right: 0;
}

.mobile-menu-link {
  padding: 1rem;
  font-size: 0.875rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgb(100, 116, 139);
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
  text-decoration: none;
}

.mobile-menu-link:hover {
  color: rgb(37, 99, 235);
  border-bottom-color: rgb(37, 99, 235);
}

.mobile-menu-cta {
  background: rgb(37, 99, 235);
  color: white;
  border-radius: 9999px;
  text-align: center;
  padding: 1rem 2rem;
  margin-top: 1rem;
  border: none;
}

.mobile-menu-cta:hover {
  background: rgb(29, 78, 216);
  border-bottom-color: transparent;
}

/* Technologies Section */
.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 1.25rem;
  background: rgb(248, 250, 252);
  border: 1px solid rgb(241, 245, 249);
  transition: all 0.3s ease;
  cursor: pointer;
  min-height: 120px;
}

@media (min-width: 640px) {
  .tech-item {
    gap: 1rem;
    padding: 1.5rem;
    border-radius: 1.5rem;
    min-height: 140px;
  }
}

.tech-item:hover {
  transform: translateY(-8px) scale(1.05);
  background: white;
  border-color: rgb(37, 99, 235);
  box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.1);
}

.tech-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
  transition: transform 0.3s ease;
}

@media (min-width: 640px) {
  .tech-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 1rem;
  }
}

@media (min-width: 1024px) {
  .tech-icon {
    width: 64px;
    height: 64px;
  }
}

.tech-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(0.3);
  transition: all 0.3s ease;
}

.tech-item:hover .tech-icon {
  transform: scale(1.1);
}

.tech-item:hover .tech-icon img {
  filter: grayscale(0);
  transform: scale(1.1);
}

.tech-name {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgb(71, 85, 105);
  text-align: center;
}

@media (min-width: 640px) {
  .tech-name {
    font-size: 0.875rem;
  }
}

.tech-item:hover .tech-name {
  color: rgb(37, 99, 235);
  font-weight: 700;
}

.tech-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(0.3);
  transition: all 0.3s ease;
}

.tech-item:hover .tech-icon img {
  filter: grayscale(0);
  transform: scale(1.1);
}

/* Form Input Styles */
.form-input {
  transition: all 0.3s ease;
  font-size: 16px; /* Prevent zoom on iOS */
  -webkit-appearance: none;
  appearance: none;
  min-height: 48px;
}

.form-input:focus {
  transform: scale(1.01);
}

select.form-input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23666'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1.5em 1.5em;
  padding-right: 2.5rem;
}

/* Form Validation Styles */
.form-input.error {
  border-color: rgb(239, 68, 68);
  background-color: rgb(254, 242, 242);
}

.form-input.success {
  border-color: rgb(34, 197, 94);
  background-color: rgb(240, 253, 244);
}

.error-message {
  display: block;
}

.success-message {
  background: rgb(240, 253, 244);
  border: 1px solid rgb(34, 197, 94);
  color: rgb(22, 163, 74);
}

.error-message-display {
  background: rgb(254, 242, 242);
  border: 1px solid rgb(239, 68, 68);
  color: rgb(220, 38, 38);
}

/* Mobile Menu Styles */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 40;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-content {
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: white;
  padding: 1.5rem;
  max-height: calc(100vh - 70px);
  overflow-y: auto;
  transform: translateY(-20px);
  transition: transform 0.3s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

@media (min-width: 640px) {
  .mobile-menu-content {
    top: 80px;
    padding: 2rem;
    max-height: calc(100vh - 80px);
  }
}

.mobile-menu-overlay.active .mobile-menu-content {
  transform: translateY(0);
}

.mobile-menu-link {
  display: block;
  padding: 1rem 0;
  font-size: 1rem;
  font-weight: 600;
  color: rgb(15, 23, 42);
  text-decoration: none;
  border-bottom: 1px solid rgb(241, 245, 249);
  transition: all 0.3s ease;
  min-height: 48px;
  display: flex;
  align-items: center;
}

@media (min-width: 640px) {
  .mobile-menu-link {
    font-size: 1.125rem;
  }
}

.mobile-menu-link:hover {
  color: rgb(37, 99, 235);
  padding-left: 1rem;
}

.mobile-menu-link.mobile-menu-cta {
  margin-top: 1rem;
  padding: 1rem;
  background: rgb(37, 99, 235);
  color: white;
  border-radius: 0.75rem;
  text-align: center;
  border: none;
}

.mobile-menu-link.mobile-menu-cta:hover {
  background: rgb(29, 78, 216);
  padding-left: 1rem;
}

/* Utility Classes */
.hidden {
  display: none !important;
}

/* Additional Animations */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes rotateIn {
  from {
    opacity: 0;
    transform: rotate(-10deg) scale(0.9);
  }
  to {
    opacity: 1;
    transform: rotate(0) scale(1);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

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

@keyframes shake {
  0%, 100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  75% {
    transform: translateX(5px);
  }
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 5px rgba(37, 99, 235, 0.5);
  }
  50% {
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.8);
  }
}

.animate-slide-down {
  animation: slideDown 0.6s ease forwards;
}

.animate-slide-right {
  opacity: 0;
  animation: slideRight 0.6s ease forwards;
}

.animate-slide-left {
  opacity: 0;
  animation: slideLeft 0.6s ease forwards;
}

.fade-in-right {
  opacity: 0;
  animation: fadeInRight 0.8s ease forwards;
}

.animate-scale-in {
  animation: scaleIn 0.5s ease forwards;
}

.animate-pulse-custom {
  animation: pulse 2s ease-in-out infinite;
}

.animate-bounce-custom {
  animation: bounce 1s ease-in-out infinite;
}

.animate-shake {
  animation: shake 0.5s ease-in-out;
}

.animate-glow {
  animation: glow 2s ease-in-out infinite;
}

/* Check icon animation */
.check-icon {
  animation: scaleIn 0.4s ease forwards;
  animation-delay: 0.2s;
  opacity: 0;
}

.check-icon.visible {
  opacity: 1;
}

/* Button hover animations */
.btn-hero-primary:hover {
  animation: pulse 0.5s ease;
}

.btn-hero-secondary:hover svg {
  animation: bounce 0.6s ease;
}

/* Navbar logo animation */
.navbar .w-9 {
  transition: transform 0.3s ease;
}

.navbar:hover .w-9 {
  animation: rotateIn 0.5s ease;
}

/* Icon hover effects */
.feature-icon, .solution-icon {
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon,
.solution-card:hover .solution-icon {
  animation: bounce 0.6s ease;
}

/* Pricing card hover effects */
.pricing-card:hover {
  animation: scaleIn 0.3s ease;
}

.pricing-card-popular {
  animation: glow 3s ease-in-out infinite;
}

/* Process step number animation */
.step-number {
  transition: transform 0.3s ease;
}

.process-step:hover .step-number {
  animation: bounce 0.5s ease;
}

/* Benefit card icon animation */
.benefit-card .text-blue-300 {
  transition: transform 0.3s ease;
}

.benefit-card:hover .text-blue-300 {
  animation: rotateIn 0.5s ease;
}

/* Scroll Animations */
@media (prefers-reduced-motion: no-preference) {
  .fade-in-up,
  .fade-in-left,
  .fade-in,
  .fade-in-right {
    opacity: 0;
  }
  
  .fade-in-up.visible,
  .fade-in-left.visible,
  .fade-in.visible,
  .fade-in-right.visible {
    animation: fadeInUp 0.6s ease forwards;
  }
  
  .fade-in-left.visible {
    animation: fadeInLeft 0.8s ease forwards;
  }
  
  .fade-in-right.visible {
    animation: fadeInRight 0.8s ease forwards;
  }
  
  .animate-slide-down.visible,
  .animate-slide-right.visible,
  .animate-slide-left.visible {
    animation-timing-function: ease;
  }
}

/* Loading animations */
@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

.shimmer {
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 100%
  );
  background-size: 1000px 100%;
  animation: shimmer 2s infinite;
}

/* Gradient text animation */
@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.text-gradient-animated {
  background: linear-gradient(
    90deg,
    rgb(37, 99, 235),
    rgb(99, 102, 241),
    rgb(139, 92, 246),
    rgb(99, 102, 241),
    rgb(37, 99, 235)
  );
  background-size: 300% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient 4s linear infinite;
  position: relative;
}

/* Glow effect for gradient words */
.hero-title-word.word-5,
.hero-title-word.word-6 {
  text-shadow: 0 0 30px rgba(37, 99, 235, 0.3);
  transition: all 0.3s ease;
}

.hero-title-word.word-5:hover,
.hero-title-word.word-6:hover {
  text-shadow: 0 0 50px rgba(37, 99, 235, 0.6);
  transform: scale(1.05);
}


