/* SafeHazeLLC — terracotta + sand, 2px industrial edges
   Floating sharp nav, diagonal hero wash, horizontal mock drift. */

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, system-ui, -apple-system, sans-serif;
  background: #fff8f3;
  color: #1c1917;
}

h1,
h2,
h3,
h4,
.font-display {
  font-family: Outfit, Inter, system-ui, sans-serif;
  letter-spacing: -0.03em;
}

section[id] {
  scroll-margin-top: 6rem;
}

.nav-blur {
  background: rgba(255, 250, 245, 0.94);
  border: 1px solid #eadfd4;
  border-left: 3px solid #c2410c;
  border-radius: 2px;
  box-shadow: 0 10px 28px rgba(28, 25, 23, 0.07);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.gradient-text {
  background: linear-gradient(108deg, #7c2d12 0%, #c2410c 46%, #ea580c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-bg {
  background-color: #fff8f3;
  background-image:
    linear-gradient(118deg, rgba(194, 65, 12, 0.1) 0%, transparent 42%),
    linear-gradient(198deg, #fffaf5 0%, #fff1e6 48%, #f6e6d6 100%);
}

.grid-bg {
  background-image: repeating-linear-gradient(
    118deg,
    rgba(154, 52, 18, 0.055) 0,
    rgba(154, 52, 18, 0.055) 1px,
    transparent 1px,
    transparent 22px
  );
  mask-image: linear-gradient(180deg, black 22%, transparent 90%);
  -webkit-mask-image: linear-gradient(180deg, black 22%, transparent 90%);
}

.card-hover {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card-hover:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(28, 25, 23, 0.08);
  border-color: rgba(194, 65, 12, 0.35);
}

.pricing-popular {
  position: relative;
  border: 2px solid #9a3412 !important;
  box-shadow: 0 18px 36px rgba(154, 52, 18, 0.14);
  transform: translateY(-6px);
  background: #fffaf5;
}

.pricing-popular::before {
  content: "Most Popular";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #9a3412;
  color: #fff7ed;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.22rem 0.85rem;
  border-radius: 2px;
  white-space: nowrap;
}

.fade-up {
  animation: fadeUp 0.65s ease both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.float-anim {
  animation: driftX 8.5s ease-in-out infinite;
}

@keyframes driftX {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(10px);
  }
}

.mobile-menu {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.32s ease, opacity 0.2s ease;
}

.mobile-menu.open {
  max-height: 540px;
  opacity: 1;
}

.icon-box {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffedd5;
  color: #9a3412;
  flex-shrink: 0;
}

.dashboard-mock {
  background: #1c1917;
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid #292524;
  box-shadow:
    0 26px 52px rgba(28, 25, 23, 0.28),
    0 0 0 1px rgba(234, 88, 12, 0.08);
}

.dashboard-mock .title-bar {
  display: flex;
  align-items: center;
  gap: 0.38rem;
  padding: 0.75rem 1rem;
  background: #292524;
  border-bottom: 1px solid #3f3a36;
}

.dashboard-mock .dot {
  width: 0.52rem;
  height: 0.52rem;
  border-radius: 9999px;
}

.dashboard-mock .dot-r { background: #f87171; }
.dashboard-mock .dot-y { background: #fbbf24; }
.dashboard-mock .dot-g { background: #34d399; }

.mock-chart-bar {
  background: linear-gradient(180deg, #fb923c 0%, #c2410c 100%);
  border-radius: 2px 2px 0 0;
  min-height: 8px;
}

.btn-primary {
  background: #c2410c;
  color: #fff7ed;
  border-radius: 2px;
  transition: background 0.16s ease, transform 0.16s ease;
}

.btn-primary:hover {
  background: #9a3412;
}

.btn-primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.btn-ghost {
  border: 1.5px solid #c2410c;
  color: #9a3412;
  background: transparent;
  border-radius: 2px;
  transition: background 0.16s ease, color 0.16s ease;
}

.btn-ghost:hover {
  background: #ffedd5;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #c2410c;
}

.ai-panel {
  background:
    radial-gradient(36rem 20rem at 0% 0%, rgba(234, 88, 12, 0.16), transparent 55%),
    linear-gradient(165deg, #1c1917 0%, #292524 100%);
}

.success-check {
  width: 3.25rem;
  height: 3.25rem;
  margin: 0 auto 1rem;
  border-radius: 2px;
  background: #dcfce7;
  color: #15803d;
  display: flex;
  align-items: center;
  justify-content: center;
}

.code-block {
  background: #1c1917;
  color: #e7e5e4;
  border-radius: 2px;
  overflow-x: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.78rem;
  line-height: 1.65;
  padding: 1rem 1.15rem;
}

.letter-tile {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
  flex-shrink: 0;
}

input,
select,
textarea {
  border-radius: 2px;
  outline: none;
  background: #fffaf5;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #c2410c;
  box-shadow: 0 0 0 3px rgba(194, 65, 12, 0.16);
}

.login-error {
  color: #dc2626;
}
