@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Forum:wght@400&display=swap");

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "DM Sans", sans-serif;
  line-height: 1.6;
  color: #374151;
}

.font-serif {
  font-family: "Forum", serif;
}

/* Utility classes */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Color utilities */
.text-teal-600 {
  color: #0d9488;
}
.text-teal-400 {
  color: #2dd4bf;
}
.text-teal-300 {
  color: #5eead4;
}
.text-teal-200 {
  color: #99f6e4;
}
.text-teal-100 {
  color: #ccfbf1;
}
.text-gray-900 {
  color: #111827;
}
.text-gray-700 {
  color: #374151;
}
.text-gray-600 {
  color: #4b5563;
}
.text-gray-500 {
  color: #6b7280;
}
.text-gray-200 {
  color: #e5e7eb;
}
.text-white {
  color: #ffffff;
}

.bg-teal-800 {
  background-color: #115e59;
}
.bg-teal-700 {
  background-color: #0f766e;
}
.bg-teal-600 {
  background-color: #0d9488;
}
.bg-white {
  background-color: #ffffff;
}
.bg-gray-900 {
  background-color: #111827;
}
.bg-gray-100 {
  background-color: #f3f4f6;
}
.bg-gray-50 {
  background-color: #f9fafb;
}

/* Layout utilities */
.flex {
  display: flex;
}
.grid {
  display: grid;
}
.hidden {
  display: none;
}
.block {
  display: block;
}
.inline-block {
  display: inline-block;
}

.items-center {
  align-items: center;
}
.items-start {
  align-items: flex-start;
}
.justify-between {
  justify-content: space-between;
}
.justify-center {
  justify-content: center;
}

.grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid-cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gap-4 {
  gap: 1rem;
}
.gap-6 {
  gap: 1.5rem;
}
.gap-8 {
  gap: 2rem;
}
.gap-12 {
  gap: 3rem;
}

.space-x-2 > * + * {
  margin-left: 0.5rem;
}
.space-x-3 > * + * {
  margin-left: 0.75rem;
}
.space-x-4 > * + * {
  margin-left: 1rem;
}
.space-x-8 > * + * {
  margin-left: 2rem;
}

.space-y-2 > * + * {
  margin-top: 0.5rem;
}
.space-y-4 > * + * {
  margin-top: 1rem;
}

/* Spacing utilities */
.p-4 {
  padding: 1rem;
}
.p-6 {
  padding: 1.5rem;
}
.p-8 {
  padding: 2rem;
}
.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}
.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}
.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.px-8 {
  padding-left: 2rem;
  padding-right: 2rem;
}
.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}
.py-20 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.mb-1 {
  margin-bottom: 0.25rem;
}
.mb-2 {
  margin-bottom: 0.5rem;
}
.mb-4 {
  margin-bottom: 1rem;
}
.mb-6 {
  margin-bottom: 1.5rem;
}
.mb-8 {
  margin-bottom: 2rem;
}
.mb-12 {
  margin-bottom: 3rem;
}
.mt-1 {
  margin-top: 0.25rem;
}
.mt-4 {
  margin-top: 1rem;
}
.mt-8 {
  margin-top: 2rem;
}

/* Typography utilities */
.text-xs {
  font-size: 0.75rem;
}
.text-sm {
  font-size: 0.875rem;
}
.text-lg {
  font-size: 1.125rem;
}
.text-xl {
  font-size: 1.25rem;
}
.text-2xl {
  font-size: 1.5rem;
}
.text-4xl {
  font-size: 2.25rem;
}
.text-5xl {
  font-size: 3rem;
}
.text-6xl {
  font-size: 3.75rem;
}

.font-medium {
  font-weight: 500;
}
.font-semibold {
  font-weight: 600;
}
.font-bold {
  font-weight: 700;
}

.leading-tight {
  line-height: 1.25;
}
.leading-relaxed {
  line-height: 1.625;
}

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

/* Border utilities */
.border {
  border-width: 1px;
}
.border-b {
  border-bottom-width: 1px;
}
.border-t {
  border-top-width: 1px;
}
.border-gray-100 {
  border-color: #f3f4f6;
}
.border-gray-300 {
  border-color: #d1d5db;
}
.border-teal-700 {
  border-color: #0f766e;
}

.rounded {
  border-radius: 0.25rem;
}
.rounded-lg {
  border-radius: 0.5rem;
}
.rounded-t-lg {
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
}
.rounded-full {
  border-radius: 9999px;
}

/* Size utilities */
.w-2 {
  width: 0.5rem;
}
.w-full {
  width: 100%;
}
.h-2 {
  height: 0.5rem;
}
.h-5 {
  height: 1.25rem;
}
.h-6 {
  height: 1.5rem;
}
.h-8 {
  height: 2rem;
}
.h-16 {
  height: 4rem;
}
.h-48 {
  height: 12rem;
}
.h-96 {
  height: 24rem;
}
.h-screen {
  height: 100vh;
}

.max-w-2xl {
  max-width: 42rem;
}
.max-w-3xl {
  max-width: 48rem;
}
.max-w-7xl {
  max-width: 80rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* Position utilities */
.relative {
  position: relative;
}
.absolute {
  position: absolute;
}
.sticky {
  position: sticky;
}
.top-0 {
  top: 0;
}
.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.z-50 {
  z-index: 50;
}

/* Background utilities */
.bg-cover {
  background-size: cover;
}
.bg-center {
  background-position: center;
}

/* Object utilities */
.object-cover {
  object-fit: cover;
}

/* Shadow utilities */
.shadow-sm {
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
.shadow-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Transition utilities */
.transition-colors {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-shadow {
  transition-property: box-shadow;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

/* Hover utilities */
.hover\:bg-teal-700:hover {
  background-color: #0f766e;
}
.hover\:bg-gray-100:hover {
  background-color: #f3f4f6;
}
.hover\:text-teal-600:hover {
  color: #0d9488;
}
.hover\:text-teal-700:hover {
  color: #0f766e;
}
.hover\:text-white:hover {
  color: #ffffff;
}
.hover\:shadow-lg:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Focus utilities */
.focus\:outline-none:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}
.focus\:ring-2:focus {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}
.focus\:ring-teal-500:focus {
  --tw-ring-color: #14b8a6;
}
.focus\:border-transparent:focus {
  border-color: transparent;
}

/* Form styles */
input,
textarea,
select {
  font-family: inherit;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  appearance: none;
}

/* Hero overlay */
.hero .overlay {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 0) 100%);
}

/* Background slideshow (3 slides — 5s per slide) */
.hero .bg-slide {
  opacity: 0;
  transition: opacity 1s ease-in-out;
  animation: hero-slide 15s linear infinite;
  will-change: opacity;
}
.hero .bg-slide.slide-1 { animation-delay: 0s; }
.hero .bg-slide.slide-2 { animation-delay: 5s; }
.hero .bg-slide.slide-3 { animation-delay: 10s; }

/* Fallback / reduced-motion: show first slide */
.hero .bg-slide.slide-1 { opacity: 1; }

@keyframes hero-slide {
  0% { opacity: 0; }
  3.333% { opacity: 1; }
  33.333% { opacity: 1; }
  36.666% { opacity: 0; }
  100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero .bg-slide { animation: none; opacity: 0; }
  .hero .bg-slide.slide-1 { opacity: 1; }
}

/* Hero content positioning */
.hero .hero-content {
  position: relative;
  height: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 25vh;
}

/* CTA button styling */
.hero .cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  background-color: #ffffff;
  color: #111827;
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: background-color 0.3s;
}

.hero .cta-button:hover {
  background-color: #f3f4f6;
}

/* Responsive utilities */
@media (min-width: 640px) {
  .sm\:px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 768px) {
  .md\:flex {
    display: flex;
  }
  .md\:hidden {
    display: none;
  }
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .md\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .md\:text-6xl {
    font-size: 3.75rem;
  }
}

@media (min-width: 1024px) {
  .lg\:px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
  }
  .lg\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Custom styles */
.bg-gradient-to-r {
  background-image: linear-gradient(to right, var(--tw-gradient-stops));
}

.from-gray-900\/70 {
  --tw-gradient-from: rgba(17, 24, 39, 0.7);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(17, 24, 39, 0));
}

.to-gray-900\/50 {
  --tw-gradient-to: rgba(17, 24, 39, 0.5);
}

/* Pricing card decorations */
.pricing-card {
  position: relative;
  overflow: visible;
}
.pricing-card .dot-pattern {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 68px;
  height: 68px;
  background-image: radial-gradient(currentColor 12%, transparent 13%);
  background-size: 8px 8px;
  color: rgba(16, 185, 129, 0.12);
  opacity: 0.45;
  pointer-events: none;
  border-radius: 0.375rem;
  transform: translate(8px, -8px);
}
.pricing-card.popular {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(2, 6, 23, 0.08);
  border-color: rgba(6, 182, 164, 0.15);
}
.badge-popular {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.625rem;
  background-color: #dcfce7;
  color: #065f46;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

@media (prefers-reduced-motion: reduce) {
  .pricing-card.popular {
    transform: none;
    transition: none;
  }
}
/* Animation for mobile menu */
.mobile-menu-enter {
  opacity: 0;
  transform: translateY(-10px);
}

.mobile-menu-enter-active {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 300ms, transform 300ms;
}

.mobile-menu-exit {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu-exit-active {
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 300ms, transform 300ms;
}
