﻿html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

.nav-link {
  position: relative;
  color: #111827;
  transition: color 180ms ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  border-radius: 999px;
  background: #ff6a00;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-link:hover {
  color: #ff6a00;
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.step-card,
.feature-card,
.quote-card {
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: #fff;
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: 0 18px 60px rgba(15, 23, 42, 0.08);
  transition: transform 220ms cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 220ms cubic-bezier(0.22, 0.61, 0.36, 1), border-color 220ms ease;
}

.step-card:hover,
.feature-card:hover,
.quote-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 106, 0, 0.35);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  background: #fff7ed;
  color: #ff6a00;
  font-size: 0.875rem;
  font-weight: 900;
}

.step-card h3,
.feature-card h3,
.quote-card h3 {
  margin-top: 1.1rem;
  font-size: 1.15rem;
  line-height: 1.2;
  font-weight: 900;
  color: #020617;
}

.step-card p,
.feature-card p,
.quote-card p {
  margin-top: 0.75rem;
  color: #64748b;
  line-height: 1.7;
}

.feature-card span {
  display: inline-flex;
  border-radius: 999px;
  background: #fff7ed;
  color: #ff6a00;
  padding: 0.35rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.quote-card {
  min-height: 190px;
}

.form-field {
  display: grid;
  gap: 0.55rem;
}

.form-field span {
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #475569;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 1rem;
  background: #fff;
  padding: 0.95rem 1rem;
  color: #0f172a;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.form-field textarea {
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: #ff6a00;
  box-shadow: 0 0 0 4px rgba(255, 106, 0, 0.14);
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition: opacity 520ms cubic-bezier(0.22, 0.61, 0.36, 1), transform 520ms cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (max-width: 640px) {
  .step-card,
  .feature-card,
  .quote-card {
    border-radius: 1.25rem;
    padding: 1.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
