:root {
  --color-primary: #2F4F2F;
  --color-secondary: #4A6B4A;
  --color-accent: #FFB300;
}

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

body { 
  font-family: 'Manrope', 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%;
}

/* Header scroll effects */
.header-scrolled {
  background-color: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.header-scrolled #logo {
  color: #1f2937 !important;
}

.header-scrolled .nav-link {
  color: rgba(31, 41, 55, 0.8) !important;
}

.header-scrolled .nav-link:hover {
  color: #1f2937 !important;
}

/* Animations */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

[data-animate="fade-up"] {
  opacity: 0;
  transform: translateY(30px);
}

[data-animate="fade-up"].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-animate="fade-in"] {
  opacity: 0;
  transform: none;
}

[data-animate="fade-in"].is-visible {
  opacity: 1;
}

[data-animate="slide-left"] {
  opacity: 0;
  transform: translateX(-30px);
}

[data-animate="slide-left"].is-visible {
  opacity: 1;
  transform: translateX(0);
}

[data-animate="zoom-in"] {
  opacity: 0;
  transform: scale(0.95);
}

[data-animate="zoom-in"].is-visible {
  opacity: 1;
  transform: scale(1);
}

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

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

.decor-diagonal {
  background-image: repeating-linear-gradient(45deg, 
    transparent, transparent 10px, 
    currentColor 10px, currentColor 11px);
}

.decor-subtle { opacity: 0.05; }
.decor-moderate { opacity: 0.1; }
.decor-bold { opacity: 0.2; }

.decor-gradient-blur::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, var(--color-primary), var(--color-accent));
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.1;
  z-index: -1;
}

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

.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;
}

/* Form styles */
.form-input {
  @apply w-full px-4 py-3 border border-gray-300 rounded-xl focus:ring-2 focus:ring-accent/20 focus:border-accent outline-none transition-colors;
}

.form-label {
  @apply block text-sm font-medium text-gray-700 mb-2;
}

/* FAQ Accordion */
.faq-item {
  @apply border border-gray-200 rounded-xl mb-4 overflow-hidden;
}

.faq-question {
  @apply w-full text-left p-6 bg-gray-50 hover:bg-gray-100 transition-colors flex items-center justify-between;
}

.faq-answer {
  @apply p-6 bg-white border-t border-gray-100;
}

.faq-icon {
  @apply transition-transform duration-300;
}

.faq-item.active .faq-icon {
  @apply rotate-180;
}

/* Utility classes */
.rotate-180 { 
  transform: rotate(180deg); 
}

.transition-header {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

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