/* ==========================================================================
   Esitian OÜ — Custom styles (complements Tailwind utility classes)
   ========================================================================== */

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

/* Header background transition on scroll */
#site-header {
  background: transparent;
}
#site-header.scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06);
}

.hero-bg {
  background-image: radial-gradient(circle at 20% 20%, rgba(24, 181, 107, 0.06), transparent 40%);
}

/* Service cards */
.service-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 1.25rem;
  padding: 2rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(13, 148, 87, 0.25);
  border-color: rgba(24, 181, 107, 0.35);
}
.icon-box {
  width: 3rem;
  height: 3rem;
  border-radius: 0.9rem;
  background: linear-gradient(135deg, #18b56b, #0c7548);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

/* Stats */
.stat-item {
  padding: 0.5rem;
}

/* Process steps */
.process-step {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 1.25rem;
  padding: 1.75rem;
  position: relative;
}
.step-number {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: #0b1220;
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

/* Pricing cards */
.price-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 1.5rem;
  padding: 2.25rem;
  position: relative;
}
.price-card-featured {
  background: linear-gradient(160deg, #18b56b, #0c7548);
  color: #fff;
  border: none;
  transform: scale(1.03);
  box-shadow: 0 30px 60px -25px rgba(13, 148, 87, 0.55);
}
.price-card-featured h3,
.price-card-featured .text-4xl {
  color: #fff;
}
.badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #0b1220;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 1rem;
  border-radius: 999px;
}

/* FAQ accordion */
.faq-item {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 1rem;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-weight: 700;
  font-size: 0.95rem;
  color: #0b1220;
  background: transparent;
  border: none;
  cursor: pointer;
}
.faq-question i {
  transition: transform 0.25s ease;
  color: #18b56b;
}
.faq-item.open .faq-question i {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1.5rem;
  color: #475569;
  font-size: 0.9rem;
  line-height: 1.6;
}
.faq-item.open .faq-answer {
  max-height: 240px;
  padding: 0 1.5rem 1.25rem;
}

/* Cookie banner entrance */
#cookie-banner.show {
  display: block;
  animation: slideUp 0.4s ease forwards;
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Scrollbar polish (optional, non-critical) */
::selection {
  background: #18b56b;
  color: #fff;
}
