/* Base styles */
body {
  font-family: 'Inter', sans-serif;
  color: #0f172a;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.font-geist-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  letter-spacing: -0.02em;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Typography refinements */
h1, h2, h3, h4, h5, h6 {
  letter-spacing: -0.015em;
}

/* Navigation links */
.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: #475569;
  position: relative;
  transition: color 0.2s ease-in-out;
}

.nav-link:hover {
  color: #0f172a;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 1px;
  bottom: -4px;
  left: 0;
  background-color: #0f172a;
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: right;
}

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.mobile-nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: #475569;
  padding: 0.5rem 0;
  transition: color 0.2s ease-in-out;
}

.mobile-nav-link:hover {
  color: #0f172a;
}

/* Footer links */
.footer-link {
  font-size: 0.875rem;
  color: #94a3b8;
  transition: color 0.2s ease-in-out;
}

.footer-link:hover {
  color: #f8fafc;
}

/* Buttons */
.btn-primary {
  display: inline-block;
  background-color: #0f172a;
  color: white;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  transition: all 0.2s ease-in-out;
}

.btn-primary:hover {
  background-color: #1e293b;
  transform: translateY(-1px);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

/* Service cards */
.service-card {
  background-color: white;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.service-icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f1f5f9;
  border-radius: 0.5rem;
  margin-bottom: 1.25rem;
}

/* Advantage cards */
.advantage-card {
  display: flex;
  align-items: flex-start;
  background-color: white;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  padding: 1.25rem;
  transition: all 0.3s ease;
}

.advantage-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.advantage-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.25rem;
  margin-right: 1rem;
  color: #4f46e5;
}

/* Testimonial cards */
.testimonial-card {
  background-color: white;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

/* Form inputs */
.form-input {
  width: 100%;
  padding: 0.625rem 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.375rem;
  transition: all 0.2s ease;
}

.form-input:focus {
  outline: none;
  border-color: #4f46e5;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.consultation-input {
  width: 100%;
  padding: 0.625rem 0.75rem;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.375rem;
  color: white;
  transition: all 0.2s ease;
}

.consultation-input:focus {
  outline: none;
  border-color: white;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
}

.consultation-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

/* Mobile menu animation */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-menu-active {
  animation: slideDown 0.3s ease forwards;
}

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

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background-color: #cbd5e1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #94a3b8;
}
