:root {
  --color-primary: #1E3A5F;
  --color-secondary: #2D5080;
  --color-accent: #00D9FF;
  --color-bg-light: #F0FAFF;
  --color-bg-alt: #E0F5FF;
}

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

body {
  font-family: 'Source Sans 3', system-ui, sans-serif;
}

/* ===== Button base ===== */
button,
.btn,
[class*="btn-"],
a[href="#order_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%;
  display: flex;
}

/* ===== Scroll animations ===== */
html.js-anim html.js-anim [data-animate] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

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

/* ===== Decorative backgrounds ===== */
.decor-grid-dots {
  background-image: radial-gradient(circle, var(--color-primary) 1px, transparent 1px);
  background-size: 28px 28px;
}

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

.decor-diagonal {
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(0, 217, 255, 0.05) 10px,
    rgba(0, 217, 255, 0.05) 20px
  );
}

.decor-mesh {
  background:
    radial-gradient(ellipse at 20% 50%, rgba(0, 217, 255, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(30, 58, 95, 0.08) 0%, transparent 60%);
}

/* ===== Accent decorative elements ===== */
.decor-gradient-blur::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 217, 255, 0.15), transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  top: -100px;
  right: -100px;
  z-index: 0;
}

.decor-gradient-blur::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 58, 95, 0.1), transparent 70%);
  filter: blur(50px);
  pointer-events: none;
  bottom: -80px;
  left: -80px;
  z-index: 0;
}

.decor-corner-tr::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, rgba(0, 217, 255, 0.12), transparent);
  border-bottom-left-radius: 100%;
  pointer-events: none;
}

.decor-corner-bl::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200px;
  height: 200px;
  background: linear-gradient(315deg, rgba(0, 217, 255, 0.10), transparent);
  border-top-right-radius: 100%;
  pointer-events: none;
}

.decor-glow-element {
  position: relative;
}
.decor-glow-element::before {
  content: '';
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 217, 255, 0.18), transparent 70%);
  filter: blur(30px);
  pointer-events: none;
  z-index: -1;
}

/* ===== Intensity modifiers ===== */
.decor-subtle  { opacity: 0.05; }
.decor-moderate { opacity: 0.10; }
.decor-bold    { opacity: 0.20; }

/* ===== Star rating ===== */
.stars {
  color: #F59E0B;
  letter-spacing: 0.05em;
}

/* ===== FAQ accordion ===== */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-answer.open {
  max-height: 600px;
}

/* ===== Order form ===== */
.form-input {
  width: 100%;
  padding: 0.75rem 1.25rem;
  border: 1.5px solid #D1E9FF;
  border-radius: 9999px;
  background: #F0FAFF;
  font-size: 0.95rem;
  color: #1E3A5F;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: 'Source Sans 3', system-ui, sans-serif;
}

.form-input:focus {
  border-color: #00D9FF;
  box-shadow: 0 0 0 3px rgba(0, 217, 255, 0.15);
}

.form-input.error {
  border-color: #EF4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-input::placeholder {
  color: #94A3B8;
}

/* ===== Testimonial slider ===== */
.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-slide {
  min-width: 100%;
  flex-shrink: 0;
}

/* ===== Product image glow ===== */
.product-glow {
  filter: drop-shadow(0 0 40px rgba(0, 217, 255, 0.25));
}

/* ===== Section accent line ===== */
.section-accent-line {
  display: inline-block;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, #00D9FF, #1E3A5F);
  border-radius: 9999px;
  margin-bottom: 1rem;
}

/* ===== Price display ===== */
.price-tag {
  font-size: 2.25rem;
  font-weight: 700;
  color: #1E3A5F;
  line-height: 1;
}

.price-old {
  text-decoration: line-through;
  color: #94A3B8;
  font-size: 1rem;
}

.price-badge {
  background: #EF4444;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
}

/* ===== Trust row ===== */
.trust-icon {
  color: var(--color-accent);
}

/* ===== Mobile menu transition ===== */
#mobile-menu {
  transition: max-height 0.3s ease, opacity 0.3s ease;
}

/* ===== Gradient text ===== */
.gradient-text {
  background: linear-gradient(135deg, #1E3A5F 0%, #00D9FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== Accent bg gradient ===== */
.bg-accent-gradient {
  background: linear-gradient(135deg, #1E3A5F 0%, #2D5080 50%, #00D9FF 100%);
}

/* ===== Ingredient card ===== */
.ingredient-card {
  background: #fff;
  border: 1.5px solid #E0F5FF;
  border-radius: 1.5rem;
  padding: 1.5rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.ingredient-card:hover {
  border-color: #00D9FF;
  box-shadow: 0 4px 20px rgba(0, 217, 255, 0.12);
}

/* ===== Process step connector ===== */
.step-connector {
  position: relative;
}

.step-connector::after {
  content: '';
  position: absolute;
  top: 2rem;
  left: calc(50% + 2rem);
  width: calc(100% - 4rem);
  height: 2px;
  background: linear-gradient(90deg, #00D9FF, transparent);
  border-radius: 9999px;
}

/* ===== Focus visible ===== */
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid #00D9FF;
  outline-offset: 2px;
}

/* ===== Responsive image ===== */
img {
  max-width: 100%;
  height: auto;
}