:root {
  --color-primary: #0F1729;
  --color-secondary: #1E293B;
  --color-accent: #3B82F6;
}

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

body { 
  font-family: 'Urbanist', 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);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

.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,
    var(--color-accent),
    var(--color-accent) 1px,
    transparent 1px,
    transparent 10px
  );
}

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

.decor-gradient-blur::before {
  content: '';
  position: absolute;
  top: 20%;
  right: 20%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--color-accent), transparent);
  filter: blur(60px);
  opacity: 0.1;
  pointer-events: none;
}

.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;
  pointer-events: none;
}

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

.form-checkbox {
  @apply w-4 h-4 rounded text-accent focus:ring-accent/20;
}

/* Article preview cards */
.article-card {
  @apply bg-white rounded-3xl overflow-hidden hover:shadow-md transition-shadow duration-300;
}

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

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

.faq-answer {
  @apply px-4 pb-4 text-gray-600 text-sm leading-relaxed;
}

/* Benefits alternating layout */
.benefit-item {
  @apply flex items-center gap-6;
}

.benefit-item:nth-child(even) {
  @apply flex-row-reverse;
}

@media (max-width: 768px) {
  .benefit-item,
  .benefit-item:nth-child(even) {
    @apply flex-col text-center;
  }
}

/* Loading states */
.loading {
  @apply opacity-50 pointer-events-none;
}

.spinner {
  @apply animate-spin rounded-full h-4 w-4 border-2 border-gray-300 border-t-accent;
}