/* ============================================
   Paracera Brand Site - Custom Styles
   Olive Green on White - Tech Minimal
   ============================================ */

:root {
  --olive-50:  #f6f7f0;
  --olive-100: #e8ecd6;
  --olive-200: #d3dcae;
  --olive-300: #b6c47c;
  --olive-400: #98ac54;
  --olive-500: #7a8f3a;    /* primary olive */
  --olive-600: #5f7029;
  --olive-700: #4a5722;
  --olive-800: #3c4720;
  --olive-900: #333d1e;
  --olive-950: #1c2110;
  --ink:       #1f2317;
  --paper:     #fafaf7;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #ffffff;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.005em;
}

/* Olive utility classes */
.text-olive       { color: var(--olive-600); }
.text-olive-dark  { color: var(--olive-800); }
.text-olive-light { color: var(--olive-400); }
.bg-olive         { background-color: var(--olive-600); }
.bg-olive-dark    { background-color: var(--olive-800); }
.bg-olive-50      { background-color: var(--olive-50); }
.bg-olive-100     { background-color: var(--olive-100); }
.border-olive     { border-color: var(--olive-600); }
.border-olive-light { border-color: var(--olive-200); }
.ring-olive       { --tw-ring-color: var(--olive-600); }

/* Hero gradient background — subtle olive on white */
.hero-bg {
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(122, 143, 58, 0.10), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(122, 143, 58, 0.08), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #fafaf5 100%);
}

/* Grid pattern overlay */
.grid-pattern {
  background-image:
    linear-gradient(rgba(122, 143, 58, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(122, 143, 58, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: -1px -1px;
}

.dot-pattern {
  background-image: radial-gradient(rgba(122, 143, 58, 0.18) 1px, transparent 1px);
  background-size: 22px 22px;
}

/* Olive button */
.btn-olive {
  background: var(--olive-600);
  color: #fff;
  transition: all .25s ease;
  box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 8px 24px -8px rgba(95, 112, 41, .35);
}
.btn-olive:hover {
  background: var(--olive-700);
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 12px 28px -8px rgba(95, 112, 41, .45);
}

.btn-outline {
  background: #fff;
  color: var(--olive-700);
  border: 1px solid var(--olive-200);
  transition: all .25s ease;
}
.btn-outline:hover {
  border-color: var(--olive-600);
  background: var(--olive-50);
}

/* Card */
.card {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 16px;
  transition: all .3s ease;
}
.card:hover {
  border-color: var(--olive-300);
  box-shadow: 0 20px 40px -20px rgba(95, 112, 41, .18);
  transform: translateY(-2px);
}

.card-flat {
  background: var(--olive-50);
  border: 1px solid var(--olive-100);
  border-radius: 16px;
}

/* Section number tag */
.sec-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: .15em;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--olive-600);
}
.sec-tag::before {
  content: "";
  width: 28px;
  height: 1.5px;
  background: var(--olive-600);
}

/* Section heading */
.sec-h {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--ink);
}

/* Mega heading */
.mega-h {
  font-size: clamp(36px, 6.5vw, 76px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.02;
  color: var(--ink);
}

/* Mono label */
.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, "Cascadia Mono", monospace;
  letter-spacing: 0;
}

/* Image styles */
.img-frame {
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  background: var(--olive-50);
}
.img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.img-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: inherit;
  pointer-events: none;
}

/* Tag chip */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--olive-100);
  color: var(--olive-700);
  border: 1px solid var(--olive-200);
}

.chip-dark {
  background: var(--olive-900);
  color: var(--olive-100);
  border-color: rgba(255,255,255,.05);
}

/* Animated marquee */
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-track {
  animation: marquee 38s linear infinite;
  width: max-content;
}

/* Subtle float */
@keyframes float {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-6px); }
}
.float-slow { animation: float 6s ease-in-out infinite; }

/* Pulse dot */
.pulse-dot {
  position: relative;
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--olive-500);
}
.pulse-dot::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--olive-500);
  opacity: .35;
  animation: ping 1.8s cubic-bezier(0,0,.2,1) infinite;
}
@keyframes ping {
  75%,100% { transform: scale(2.4); opacity: 0; }
}

/* Process arrow connector */
.flow-arrow::after {
  content: "↓";
  display: block;
  text-align: center;
  color: var(--olive-400);
  font-size: 20px;
  margin: 6px 0;
}

/* Number badge */
.num-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--olive-600);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* Stat number */
.stat-num {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--olive-700);
  line-height: 1;
}

/* Underline link */
.u-link {
  position: relative;
  color: var(--olive-700);
  font-weight: 500;
}
.u-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%;
  height: 1px;
  background: var(--olive-600);
  transform-origin: right;
  transition: transform .35s ease;
}
.u-link:hover::after { transform: scaleX(0); transform-origin: left; }

/* Nav backdrop */
.nav-glass {
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(255,255,255,.78);
  border-bottom: 1px solid rgba(0,0,0,.04);
}

/* Table-like data row */
.data-row {
  display: grid;
  grid-template-columns: 200px 1fr 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--olive-200);
}
.data-row:last-child { border-bottom: 0; }

@media (max-width: 768px) {
  .data-row { grid-template-columns: 1fr; gap: 4px; }
}

/* Scenario card hover */
.scene-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
}
.scene-card img {
  transition: transform .8s ease;
}
.scene-card:hover img {
  transform: scale(1.05);
}
.scene-card .scene-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(28,33,16,.85) 100%);
}

/* Process step number */
.step-num {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  font-weight: 600;
  color: var(--olive-500);
  letter-spacing: .1em;
}

/* Audience card */
.audience-card {
  position: relative;
  border-radius: 20px;
  padding: 36px 32px;
  background: #fff;
  border: 1px solid #ececec;
  transition: all .35s ease;
  overflow: hidden;
}
.audience-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--olive-50) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}
.audience-card:hover {
  border-color: var(--olive-300);
  transform: translateY(-4px);
}
.audience-card:hover::before { opacity: 1; }

/* Footer */
footer {
  background: var(--olive-950);
  color: #d1d5c2;
}
footer a:hover { color: #fff; }

/* Hide scrollbar but allow scroll */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* Hover reveal arrow */
.arr-hover {
  display: inline-block;
  transition: transform .3s ease;
}
.group:hover .arr-hover { transform: translateX(4px); }

/* Fade-in on scroll */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Section divider */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--olive-200) 30%, var(--olive-200) 70%, transparent);
}
