:root {
  --color-primary: #2C3E50;
  --color-secondary: #3D5266;
  --color-accent: #48C9B0;
}

html { 
  scroll-behavior: smooth; 
  scroll-padding-top: 5rem; 
}

body { 
  font-family: 'Outfit', system-ui, sans-serif; 
}

/* Button fixes */
button, .btn, [class*="btn-"], a[href="#consultation_form"] {
  white-space: nowrap;
  min-width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

form button[type="submit"] {
  white-space: normal;
  width: 100%;
}

/* Animations */
[data-animate] {
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.rotate-180 { 
  transform: rotate(180deg); 
}

/* Decorative Elements */
.decor-grid-dots {
  background-image: radial-gradient(circle, var(--color-accent) 1px, transparent 1px);
  background-size: 20px 20px;
}

.decor-grid-lines {
  background-image: 
    linear-gradient(var(--color-accent) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-accent) 1px, transparent 1px);
  background-size: 20px 20px;
}

.decor-diagonal {
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    var(--color-accent) 10px,
    var(--color-accent) 12px
  );
}

.decor-mesh::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 80%, var(--color-accent) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, var(--color-primary) 0%, transparent 50%);
  opacity: 0.1;
  pointer-events: none;
}

.decor-gradient-blur::before {
  content: '';
  position: absolute;
  top: 10%;
  left: 10%;
  width: 200px;
  height: 200px;
  background: var(--color-accent);
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.1;
  pointer-events: none;
}

.decor-gradient-blur::after {
  content: '';
  position: absolute;
  bottom: 10%;
  right: 10%;
  width: 150px;
  height: 150px;
  background: var(--color-primary);
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.1;
  pointer-events: none;
}

.decor-corner-tr::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: linear-gradient(-45deg, var(--color-accent), transparent);
  opacity: 0.1;
  pointer-events: none;
}

.decor-corner-bl::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100px;
  height: 100px;
  background: linear-gradient(45deg, var(--color-primary), transparent);
  opacity: 0.1;
  pointer-events: none;
}

.decor-glow-element::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  background: var(--color-accent);
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.1;
  pointer-events: none;
}

.decor-rings-svg {
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2348C9B0' fill-opacity='0.1'%3E%3Ccircle cx='30' cy='30' r='8'/%3E%3Ccircle cx='30' cy='30' r='18'/%3E%3Ccircle cx='30' cy='30' r='28'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.decor-subtle { 
  opacity: 0.05; 
}

.decor-moderate { 
  opacity: 0.1; 
}

.decor-bold { 
  opacity: 0.2; 
}

/* Form Styling */
.form-input {
  @apply w-full px-4 py-3 border border-gray-300 rounded-full focus:ring-2 focus:ring-accent focus:border-transparent transition-all;
}

.form-checkbox {
  @apply w-4 h-4 text-accent border-gray-300 rounded focus:ring-accent;
}

/* Card Styling */
.card {
  @apply bg-white rounded-3xl shadow-lg p-6;
}

.card-hover {
  @apply hover:shadow-2xl transition-all duration-300;
}

/* CTA Button Styling */
.cta-gradient {
  @apply bg-gradient-to-r from-accent to-primary text-white hover:opacity-90 rounded-full shadow-lg transition-all duration-200;
}

/* FAQ Styling */
.faq-item {
  @apply py-4 border-b border-gray-200;
}

.faq-question {
  @apply w-full flex justify-between items-center text-left font-medium text-gray-900 hover:text-primary transition-colors;
}

.faq-answer {
  @apply mt-3 text-gray-600 text-sm leading-relaxed;
}

/* Section Spacing */
.section-py {
  @apply py-16 lg:py-20;
}

.container-px {
  @apply px-4 sm:px-6 lg:px-8;
}

/* Typography */
.hero-title {
  @apply text-5xl md:text-6xl lg:text-7xl font-bold;
}

.section-title {
  @apply text-3xl md:text-4xl lg:text-5xl font-bold;
}

.subsection-title {
  @apply text-xl md:text-2xl font-bold;
}

/* Responsive utilities */
@media (max-width: 640px) {
  .hero-title {
    @apply text-4xl;
  }
  
  .section-title {
    @apply text-2xl;
  }
}