:root {
  --color-primary: #3D4A3D;
  --color-secondary: #566556;
  --color-accent: #8FBC8F;
}

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

body { 
  font-family: 'Plus Jakarta Sans', 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: translateX(32px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

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

/* Decorative elements */
.decor-grid-dots {
  background-image: radial-gradient(circle at 1px 1px, var(--color-accent) 1px, transparent 0);
  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) 11px
  );
}

.decor-mesh::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, var(--color-accent) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, var(--color-primary) 0%, transparent 50%),
              radial-gradient(circle at 40% 80%, var(--color-secondary) 0%, transparent 50%);
  filter: blur(40px);
  opacity: 0.1;
}

.decor-gradient-blur::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, var(--color-accent), var(--color-primary));
  filter: blur(60px);
  opacity: 0.05;
  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-accent), transparent);
  opacity: 0.1;
}

.decor-glow-element {
  position: relative;
}

.decor-glow-element::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--color-accent), transparent);
  opacity: 0.1;
  filter: blur(40px);
  z-index: -1;
}

.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='%23567a56' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='8'/%3E%3Ccircle cx='30' cy='30' r='16'/%3E%3Ccircle cx='30' cy='30' r='24'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Intensity modifiers */
.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:border-accent focus:ring-2 focus:ring-accent/20 outline-none transition-colors;
}

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

/* Custom checkbox */
.checkbox-custom {
  @apply w-5 h-5 text-accent bg-white border-gray-300 rounded focus:ring-accent focus:ring-2;
}

/* Consultation form specific */
#consultation-form {
  @apply bg-white rounded-3xl shadow-md p-6 lg:p-8;
}

/* FAQ styling */
.faq-item {
  @apply bg-gray-50 p-6 rounded-xl;
}

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

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

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

.article-card img {
  @apply w-full h-48 object-cover;
}

.article-card-content {
  @apply p-6;
}

/* Hero section */
.hero-content {
  @apply text-center max-w-4xl mx-auto;
}

.hero-title {
  @apply text-4xl md:text-5xl lg:text-6xl font-semibold text-gray-900 mb-6;
}

.hero-subtitle {
  @apply text-lg text-gray-600 mb-8 max-w-2xl mx-auto;
}

/* Benefits grid */
.benefit-card {
  @apply text-center p-6 rounded-3xl bg-white shadow-md;
}

.benefit-icon {
  @apply w-12 h-12 mx-auto mb-4 text-accent;
}

.benefit-title {
  @apply text-xl md:text-2xl font-semibold text-gray-900 mb-3;
}

.benefit-description {
  @apply text-gray-600;
}

/* Stats section */
.stat-item {
  @apply text-center;
}

.stat-number {
  @apply text-3xl md:text-4xl font-semibold text-primary mb-2;
}

.stat-label {
  @apply text-gray-600;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .hero-title {
    @apply text-3xl;
  }
  
  .benefit-card {
    @apply p-4;
  }
  
  #consultation-form {
    @apply p-4;
  }
}