/* ==========================================================================
   WANTS.STUDIO — Kinetic Design System & Animation Engine
   High-conversion direct-order aesthetic, bespoke animations & trust polish
   ========================================================================== */

:root {
  /* Color Palette */
  --paper: #f8f8f4;
  --paper-subtle: #f0f2eb;
  --paper-card: #ffffff;
  --white: #ffffff;
  --ink: #161a17;
  --ink-secondary: #404741;
  --muted: #6e756a;
  --muted-light: #9ea599;
  --line: #e1e5da;
  --line-strong: #c5cbbe;
  
  /* Brand accents */
  --brand-green: #6c8a32;
  --brand-green-light: #edf4e0;
  --brand-green-hover: #587226;
  --forest: #1e2922;
  --forest-deep: #121915;
  --purple: #ded8f5;
  --orange: #eb7c3f;
  --orange-light: #fdede4;
  --gold: #d89e2e;
  
  /* Typography */
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --display: 'Plus Jakarta Sans', var(--sans);
  --mono: 'Space Grotesk', monospace;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(22, 26, 23, 0.04);
  --shadow-md: 0 10px 28px rgba(22, 26, 23, 0.07);
  --shadow-lg: 0 20px 50px rgba(22, 26, 23, 0.1);
  --shadow-float: 0 30px 70px -10px rgba(30, 41, 34, 0.2);

  /* Radius */
  --radius-xs: 5px;
  --radius-sm: 9px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  /* Easing curves */
  --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.25);
  --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out-smooth: cubic-bezier(0.65, 0, 0.35, 1);
}

/* Base resets */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  overflow-x: hidden;
  position: relative;
}

/* Scroll Reading Progress Bar */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #82a83b, #d89e2e, #eb7c3f);
  z-index: 1000;
  transition: width 0.1s linear;
}

/* Interactive Custom Cursor Follower */
.custom-cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--brand-green);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: opacity 0.2s, transform 0.1s;
  opacity: 0;
}
.custom-cursor-ring {
  width: 32px;
  height: 32px;
  border: 1.5px solid rgba(108, 138, 50, 0.4);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, border-color 0.2s, opacity 0.2s;
  opacity: 0;
}
body:hover .custom-cursor-dot,
body:hover .custom-cursor-ring {
  opacity: 1;
}
.cursor-hover .custom-cursor-ring {
  width: 52px;
  height: 52px;
  border-color: var(--brand-green);
  background: rgba(108, 138, 50, 0.08);
}

/* Ambient glow backgrounds */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(140px);
  z-index: 0;
  opacity: 0.6;
}
.glow-1 {
  width: 520px;
  height: 520px;
  top: -100px;
  right: -50px;
  background: radial-gradient(circle, rgba(197, 222, 142, 0.5) 0%, rgba(248, 248, 244, 0) 70%);
}
.glow-2 {
  width: 650px;
  height: 650px;
  bottom: 25%;
  left: -150px;
  background: radial-gradient(circle, rgba(245, 219, 186, 0.4) 0%, rgba(248, 248, 244, 0) 70%);
}
.glow-3 {
  width: 480px;
  height: 480px;
  top: 45%;
  right: 5%;
  background: radial-gradient(circle, rgba(222, 216, 245, 0.4) 0%, rgba(248, 248, 244, 0) 70%);
}

/* Reveal on scroll system */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1), transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Common form & buttons */
button, input, select, textarea {
  font: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
.skip-link {
  position: absolute;
  z-index: 100;
  top: -60px;
  left: 16px;
  padding: 12px 20px;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 16px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Kinetic Magnetic Buttons */
.button {
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.1px;
  cursor: pointer;
  transition: transform 0.24s var(--ease-out-quint), background 0.24s, box-shadow 0.24s;
  position: relative;
  overflow: hidden;
}
.button:hover {
  transform: translateY(-2px);
}
.button:active {
  transform: translateY(0);
}
.button-dark {
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(22, 26, 23, 0.15);
}
.button-dark:hover {
  background: #2a332c;
  box-shadow: 0 8px 24px rgba(22, 26, 23, 0.25);
}
.button-light {
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}
.button-light:hover {
  background: #fbfbfa;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
}
.button-outline {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}
.button-outline:hover {
  background: var(--paper-subtle);
  border-color: var(--ink);
}

/* ==========================================================================
   Header & Sticky Glass Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  height: 76px;
  padding: 0 7.2%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(248, 248, 244, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(30, 38, 32, 0.06);
  z-index: 90;
  transition: box-shadow 0.3s ease, height 0.3s ease;
}
.site-header.scrolled {
  height: 68px;
  box-shadow: 0 4px 24px rgba(18, 24, 20, 0.05);
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -1.2px;
  transition: transform 0.2s ease;
}
.wordmark:hover {
  transform: scale(1.02);
}
.wordmark-badge {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: var(--brand-green-light);
  color: var(--brand-green);
  font-size: 13px;
  line-height: 1;
}
.wordmark-tld {
  font-weight: 600;
  color: var(--brand-green);
  font-size: 14px;
  margin-left: 1px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-secondary);
}
.nav-link {
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-green);
  transition: width 0.25s var(--ease-out-quint);
  border-radius: 2px;
}
.nav-link:hover {
  color: var(--ink);
}
.nav-link:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Order Availability Indicator */
.availability-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  background: rgba(108, 138, 50, 0.12);
  border: 1px solid rgba(108, 138, 50, 0.25);
  font-size: 11px;
  font-weight: 700;
  color: var(--brand-green-hover);
}
.status-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #50b336;
  box-shadow: 0 0 0 2px rgba(80, 179, 54, 0.3);
  animation: pulse-ring 2s infinite;
}

.saved-tray-toggle {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-secondary);
  cursor: pointer;
  transition: all 0.2s var(--ease-out-quint);
}
.saved-tray-toggle:hover {
  border-color: var(--brand-green);
  color: var(--ink);
  transform: translateY(-1px);
}
.saved-tray-toggle svg {
  color: var(--brand-green);
  transition: transform 0.2s var(--ease-spring);
}
.saved-tray-toggle:hover svg {
  transform: scale(1.15);
}
.saved-count {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--paper-subtle);
  color: var(--ink);
  font-size: 10px;
  font-weight: 700;
  display: inline-grid;
  place-items: center;
}

.header-cta {
  min-height: 40px;
  padding: 0 18px;
  font-size: 12px;
  border-radius: var(--radius-full);
}
.header-cta .cta-arrow {
  transition: transform 0.2s ease;
}
.header-cta:hover .cta-arrow {
  transform: translate(2px, -2px);
}

/* ==========================================================================
   Hero Section & Interactive Elements
   ========================================================================== */
.hero {
  position: relative;
  min-height: 650px;
  padding: 70px 11.8% 60px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
  z-index: 1;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}
.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(108, 138, 50, 0.1);
  border: 1px solid rgba(108, 138, 50, 0.22);
  color: var(--brand-green-hover);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-green);
  box-shadow: 0 0 0 4px rgba(108, 138, 50, 0.25);
  animation: pulse-ring 2.5s infinite;
}
.curated-count-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
}

.hero-title {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(46px, 5.2vw, 74px);
  line-height: 1.02;
  letter-spacing: -3.2px;
  color: var(--ink);
}

.wants-highlight {
  position: relative;
  display: inline-block;
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -1.5px;
  color: var(--forest);
  padding: 0 4px;
}
.wants-highlight::before {
  content: '';
  position: absolute;
  z-index: -1;
  left: -2px;
  right: -2px;
  bottom: 8px;
  height: 32%;
  border-radius: 20px;
  background: #cbe38c;
  transform: rotate(-1.2deg);
  opacity: 0.85;
}

.spark {
  position: absolute;
  top: -0.1em;
  right: -0.35em;
  color: var(--brand-green);
  font-family: var(--sans);
  font-size: 0.35em;
  animation: twinkle 3s ease-in-out infinite;
}

.hero-text {
  max-width: 470px;
  margin: 20px 0 28px;
  color: var(--ink-secondary);
  font-size: 15px;
  line-height: 1.7;
}

/* Hero Metrics Trust Counters */
.hero-metrics {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  max-width: 480px;
}
.metric-item {
  display: flex;
  flex-direction: column;
}
.metric-value {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 800;
  color: var(--forest);
  letter-spacing: -0.5px;
}
.metric-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.metric-divider {
  width: 1px;
  height: 30px;
  background: var(--line);
}

/* Search Form */
.search-form {
  max-width: 480px;
  height: 60px;
  padding: 5px 6px 5px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(22, 26, 23, 0.05);
  transition: all 0.25s var(--ease-out-quint);
}
.search-form:focus-within {
  border-color: var(--brand-green);
  box-shadow: 0 14px 40px rgba(108, 138, 50, 0.16), 0 0 0 3px rgba(108, 138, 50, 0.12);
  transform: translateY(-2px);
}
.search-icon-wrap {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.search-icon-wrap svg {
  width: 18px;
  height: 18px;
  stroke: var(--muted-light);
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.2s ease;
}
.search-form:focus-within .search-icon-wrap svg {
  stroke: var(--brand-green);
}
.search-form input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 14px;
  color: var(--ink);
}
.search-form input::placeholder {
  color: var(--muted-light);
}
.search-key-badge {
  padding: 3px 6px;
  border-radius: var(--radius-xs);
  background: var(--paper-subtle);
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
  user-select: none;
}
.search-submit-btn {
  height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: calc(var(--radius-md) - 4px);
  background: var(--forest);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.search-submit-btn:hover {
  background: var(--brand-green-hover);
  transform: scale(1.02);
}

.search-hints {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  font-size: 12px;
}
.hint-label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}
.hint-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.hint-pills button {
  padding: 3px 10px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius-full);
  color: var(--ink-secondary);
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}
.hint-pills button:hover {
  border-color: var(--brand-green);
  background: var(--brand-green-light);
  color: var(--forest);
  transform: translateY(-1px);
}

/* ==========================================================================
   Hero Art & 3D Interactive Card
   ========================================================================== */
.hero-art {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

.art-orbit {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.orbit-one {
  width: 420px;
  height: 420px;
  border: 1px solid rgba(108, 138, 50, 0.15);
  animation: orbit-breathe 6s ease-in-out infinite;
}
.orbit-two {
  width: 320px;
  height: 320px;
  border: 1px dashed rgba(108, 138, 50, 0.25);
  animation: spin-slow 40s linear infinite;
}
.orbit-three {
  width: 220px;
  height: 220px;
  border: 1px solid rgba(235, 124, 63, 0.15);
  animation: orbit-breathe 8s ease-in-out reverse infinite;
}

.art-star {
  position: absolute;
  pointer-events: none;
}
.star-one {
  top: 40px;
  left: 20px;
  font-size: 24px;
  color: var(--brand-green);
  animation: twinkle 3.2s infinite;
}
.star-two {
  bottom: 50px;
  right: 25px;
  font-size: 18px;
  color: var(--orange);
  animation: twinkle 2.8s 1.2s infinite;
}
.star-three {
  top: 15%;
  right: 15%;
  font-size: 16px;
  color: #9284d2;
  animation: twinkle 4s 0.8s infinite;
}

/* Interactive 3D Tilt Card */
.feature-card {
  position: relative;
  z-index: 3;
  width: 300px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(225, 229, 218, 0.9);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-float);
  cursor: pointer;
  transition: transform 0.2s ease-out, box-shadow 0.3s ease;
  transform-style: preserve-3d;
}
.feature-card:hover {
  box-shadow: 0 35px 80px -10px rgba(30, 41, 34, 0.25);
}
.feature-card-glow {
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(108, 138, 50, 0.4), transparent 60%);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.feature-card:hover .feature-card-glow {
  opacity: 1;
}

.hero-feature-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 8px;
  color: var(--muted);
}
.tiny-label {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: var(--brand-green);
}
.card-dots {
  display: flex;
  gap: 3px;
}
.card-dots span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--line-strong);
}

.abstract-window {
  height: 170px;
  margin-top: 6px;
  padding: 12px;
  display: flex;
  gap: 12px;
  background: #f3f5ed;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
}
.window-sidebar {
  width: 24px;
  border-right: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 2px;
}
.window-sidebar i {
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: #dadfd1;
  transition: background 0.2s ease;
}
.window-sidebar i.active {
  background: var(--brand-green);
}
.window-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.window-line {
  height: 6px;
  margin-bottom: 8px;
  border-radius: 3px;
  background: #e2e5dc;
}
.window-line.short {
  width: 42%;
  height: 8px;
  background: #a4bf6b;
}
.window-line.mid {
  width: 72%;
}
.window-line.full {
  width: 90%;
}
.window-line.mid-alt {
  width: 55%;
}

.window-block {
  height: 52px;
  margin: 8px 0 10px;
  display: flex;
  gap: 8px;
}
.block-card {
  flex: 1;
  border-radius: 6px;
  padding: 8px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.block-left {
  background: #f9eedf;
}
.block-right {
  background: #e6efe1;
}
.mini-bar {
  width: 60%;
  height: 4px;
  border-radius: 2px;
  background: #e09f6e;
}
.mini-sparkle {
  color: #c77b42;
  font-size: 10px;
  align-self: flex-end;
}
.mini-circle {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #8fa85d;
}
.mini-wave {
  width: 80%;
  height: 4px;
  border-radius: 2px;
  background: #bfcf9e;
}

.hero-app-meta {
  display: flex;
  align-items: center;
  gap: 11px;
  padding-top: 14px;
}
.app-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
}
.mark-orange {
  background: #feeee4;
  color: #cb7340;
}

.app-title-group strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.2px;
}
.app-title-group span {
  display: block;
  font-size: 10px;
  color: var(--muted);
}
.hero-rating-badge {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  background: var(--brand-green-light);
  color: var(--brand-green-hover);
  font-size: 11px;
  font-weight: 700;
}

.card-order-tag {
  margin-top: 12px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: var(--forest);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 600;
}
.order-chip-cta {
  color: #cbe38c;
  font-weight: 700;
}

/* Floating Trust Badges */
.floating-note {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
}
.floating-note:hover {
  transform: translateY(-4px) scale(1.02);
}
.note-top {
  top: 15px;
  right: -10px;
  animation: float-note-top 5s ease-in-out infinite;
}
.note-bottom {
  bottom: 25px;
  left: -20px;
  animation: float-note-bottom 5.5s 1.5s ease-in-out infinite;
}
.note-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
}
.note-lime {
  background: #edf5e2;
  color: var(--brand-green);
}
.note-lavender {
  background: #f1edfb;
  color: #7b65b6;
}
.note-text b {
  display: block;
  font-size: 11px;
  font-weight: 700;
}
.note-text small {
  display: block;
  font-size: 9px;
  color: var(--muted);
}

.status-sticker {
  position: absolute;
  bottom: -15px;
  right: 25px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 10px;
  font-weight: 600;
  color: var(--ink-secondary);
  box-shadow: var(--shadow-sm);
  z-index: 4;
}
.status-sticker i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #50b372;
}

.hero-bottom {
  position: absolute;
  bottom: 16px;
  left: 7.2%;
  right: 7.2%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted-light);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
}
.scroll-prompt {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  transition: color 0.2s ease, transform 0.2s ease;
}
.scroll-prompt:hover {
  color: var(--ink);
  transform: translateY(2px);
}
.mouse-icon {
  width: 14px;
  height: 22px;
  border: 1.5px solid var(--muted-light);
  border-radius: 8px;
  position: relative;
}
.mouse-icon i {
  position: absolute;
  left: 50%;
  top: 4px;
  transform: translateX(-50%);
  width: 2px;
  height: 4px;
  border-radius: 2px;
  background: var(--brand-green);
  animation: mouse-scroll 1.6s infinite;
}

/* ==========================================================================
   Trust Marquee Infinite Ticker
   ========================================================================== */
.trust-marquee {
  position: relative;
  overflow: hidden;
  background: var(--forest);
  color: #d1dcce;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 28s linear infinite;
}
.marquee-track:hover {
  animation-play-state: paused;
}
.marquee-content {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-right: 24px;
}
.marquee-content .separator {
  color: #9abf55;
  font-size: 9px;
}

/* ==========================================================================
   Category Filter Section (Pill Carousel)
   ========================================================================== */
.category-strip {
  position: relative;
  min-height: 170px;
  padding: 40px 11.8%;
  display: grid;
  grid-template-columns: 240px 1fr;
  align-items: center;
  gap: 40px;
  background: var(--paper-subtle);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-kicker {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.6px;
  color: var(--brand-green);
  text-transform: uppercase;
}

.category-intro h2 {
  margin: 6px 0 0;
  font-family: var(--display);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.8px;
}

.category-list-wrap {
  overflow-x: auto;
  scrollbar-width: none;
  padding: 6px 0;
}
.category-list-wrap::-webkit-scrollbar {
  display: none;
}
.category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.category-chip {
  height: 44px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  background: var(--white);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-secondary);
  cursor: pointer;
  transition: all 0.22s var(--ease-out-quint);
  user-select: none;
}
.category-chip:hover {
  border-color: var(--ink);
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.category-chip.active {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
  box-shadow: 0 6px 18px rgba(22, 26, 23, 0.16);
  transform: translateY(-1px);
}
.category-chip .chip-icon {
  font-size: 13px;
  color: var(--brand-green);
}
.category-chip.active .chip-icon {
  color: #c9e689;
}
.category-chip .chip-count {
  font-size: 10px;
  padding: 1px 6px;
  border-radius: var(--radius-full);
  background: var(--paper-subtle);
  color: var(--muted);
}
.category-chip.active .chip-count {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

/* ==========================================================================
   Listings & App Grid Section
   ========================================================================== */
.section-wrap {
  padding-left: 11.8%;
  padding-right: 11.8%;
}

.listings {
  padding-top: 80px;
  padding-bottom: 90px;
  position: relative;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
}
.heading-badge {
  display: flex;
  align-items: center;
  gap: 8px;
}
.pulse-dot-green {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-green);
  animation: pulse-ring 2s infinite;
}
.section-heading h2 {
  margin: 8px 0 6px;
  font-family: var(--display);
  font-size: clamp(32px, 3.8vw, 44px);
  font-weight: 700;
  letter-spacing: -1.8px;
  line-height: 1.1;
}
.heading-period {
  color: var(--brand-green);
}
.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  max-width: 520px;
}

.listing-controls {
  display: flex;
  align-items: center;
  gap: 20px;
}
.results-stats {
  font-size: 12px;
  color: var(--muted);
}
.results-stats strong {
  color: var(--ink);
}
.sort-wrapper select {
  height: 38px;
  padding: 0 32px 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background-color: var(--white);
  color: var(--ink-secondary);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  outline: 0;
  transition: border-color 0.2s ease;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236e756a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}
.sort-wrapper select:hover,
.sort-wrapper select:focus {
  border-color: var(--brand-green);
}

.active-filter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: -10px 0 24px;
  padding: 10px 16px;
  background: var(--brand-green-light);
  border: 1px solid rgba(108, 138, 50, 0.25);
  border-radius: var(--radius-sm);
  color: var(--forest);
  font-size: 12px;
}
.active-filter-content {
  display: flex;
  align-items: center;
  gap: 8px;
}
.clear-filter-btn {
  border: 0;
  background: transparent;
  color: var(--forest);
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--radius-xs);
  transition: background 0.2s ease;
}
.clear-filter-btn:hover {
  background: rgba(108, 138, 50, 0.2);
}

/* ==========================================================================
   App Grid & Stagger Loading Animations
   ========================================================================== */
.app-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.app-card {
  position: relative;
  min-height: 250px;
  padding: 24px;
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.28s var(--ease-out-quint), 
              box-shadow 0.28s var(--ease-out-quint), 
              border-color 0.28s var(--ease-out-quint);
  will-change: transform, opacity;
}

.app-card:hover {
  transform: translateY(-6px);
  border-color: #cbd4be;
  box-shadow: 0 18px 40px rgba(22, 26, 23, 0.09);
}

.app-card.card-enter {
  animation: card-appear 0.75s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
  transform: translateY(32px) scale(0.95);
}

/* Skeleton loader state during content transitions */
.skeleton-card {
  position: relative;
  min-height: 250px;
  padding: 24px;
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.skeleton-shimmer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(238, 242, 233, 0.8) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  animation: skeleton-sweep 1.2s infinite;
  transform: skewX(-20deg);
}
.skeleton-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}
.skeleton-mark {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: #ebeee6;
}
.skeleton-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ebeee6;
}
.skeleton-title {
  width: 55%;
  height: 18px;
  border-radius: 4px;
  background: #ebeee6;
  margin-bottom: 12px;
}
.skeleton-desc {
  width: 90%;
  height: 12px;
  border-radius: 4px;
  background: #f1f3ee;
  margin-bottom: 6px;
}
.skeleton-desc-sub {
  width: 70%;
  height: 12px;
  border-radius: 4px;
  background: #f1f3ee;
  margin-bottom: auto;
}
.skeleton-footer {
  margin-top: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.skeleton-pill {
  width: 70px;
  height: 16px;
  border-radius: 8px;
  background: #ebeee6;
}
.skeleton-tag {
  width: 50px;
  height: 16px;
  border-radius: 8px;
  background: #ebeee6;
}

/* App Card Inner Details */
.app-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.app-card-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  font-family: var(--display);
  font-weight: 800;
  font-size: 19px;
  transition: transform 0.25s var(--ease-spring);
}
.app-card:hover .app-card-mark {
  transform: scale(1.08) rotate(-2deg);
}

.tone-lime { background: #eff4e4; color: #6d8837; }
.tone-purple { background: #f0ecfa; color: #7f68b3; }
.tone-peach { background: #fff0e7; color: #cb7445; }
.tone-blue { background: #e9f3f4; color: #4e7f80; }
.tone-yellow { background: #fbf2d9; color: #aa8730; }
.tone-pink { background: #f8e8ec; color: #b76c81; }
.tone-sky { background: #ebf2fb; color: #567ea9; }
.tone-mint { background: #e8f4ee; color: #578a6c; }
.tone-gray { background: #f0f0ed; color: #686b63; }

.save-button {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--muted-light);
  font-size: 16px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.22s var(--ease-spring);
}
.save-button:hover {
  border-color: #d85c72;
  color: #d85c72;
  background: #fff5f6;
  transform: scale(1.1);
}
.save-button.saved {
  border-color: #f7ced6;
  background: #fff0f3;
  color: #d85c72;
  transform: scale(1.05);
  animation: heart-pop 0.35s var(--ease-spring);
}

.app-card h3 {
  margin: 16px 0 6px;
  font-family: var(--display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--ink);
}
.app-card-description {
  margin: 0;
  color: var(--ink-secondary);
  font-size: 12px;
  line-height: 1.6;
  flex: 1;
}

.app-card-bottom {
  margin-top: 18px;
  padding-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
}
.app-category {
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  background: var(--paper-subtle);
  padding: 3px 8px;
  border-radius: var(--radius-full);
}
.app-card-rating {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 3px;
}
.app-card-rating b {
  color: var(--brand-green-hover);
}
.app-card-rating span {
  color: var(--brand-green);
  font-size: 10px;
}
.app-card-live-pill {
  font-size: 11px;
  font-weight: 700;
  color: #276749;
  background: #e6fffa;
  border: 1px solid #b2f5ea;
  padding: 4px 9px;
  border-radius: var(--radius-xs);
  display: inline-flex;
  align-items: center;
  gap: 3px;
  transition: all 0.2s ease;
}
.app-card-live-pill:hover {
  background: #276749;
  color: #ffffff;
  border-color: #276749;
  transform: translateY(-1px);
}
.app-card-order-btn {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
  background: var(--paper-subtle);
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}
.app-card:hover .app-card-order-btn {
  background: var(--forest);
  color: var(--white);
  gap: 7px;
}

/* Order Assurance Banner inside catalog */
.order-guarantee-card {
  margin-top: 40px;
  padding: 24px 30px;
  background: linear-gradient(135deg, #ffffff, #f7f9f2);
  border: 1px solid #d4dec4;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 24px;
  box-shadow: var(--shadow-sm);
}
.guarantee-icon {
  font-size: 36px;
  flex-shrink: 0;
}
.guarantee-text {
  flex: 1;
}
.guarantee-text strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--forest);
  margin-bottom: 4px;
}
.guarantee-text span {
  font-size: 13px;
  color: var(--ink-secondary);
  line-height: 1.5;
}

/* Empty State */
.empty-state {
  padding: 60px 24px;
  text-align: center;
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.5);
}
.empty-radar {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-green-light);
  color: var(--brand-green);
  font-size: 26px;
}
.empty-state h3 {
  margin: 0 0 6px;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
}
.empty-state p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 13px;
}
.empty-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
}

/* ==========================================================================
   How the Order Process Works
   ========================================================================== */
.how-section {
  padding-top: 100px;
  padding-bottom: 100px;
}
.how-heading {
  margin-bottom: 46px;
}
.how-heading h2 {
  margin: 10px 0 0;
  font-family: var(--display);
  font-size: clamp(34px, 3.8vw, 44px);
  font-weight: 700;
  letter-spacing: -1.8px;
  line-height: 1.15;
}
.serif-accent {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -1px;
}
.how-heading h2 .serif-accent {
  color: var(--brand-green);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.step {
  padding: 28px 22px;
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  position: relative;
  transition: transform 0.3s var(--ease-out-quint), box-shadow 0.3s var(--ease-out-quint);
}
.step:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: #cbd4be;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--brand-green-light);
  font-family: var(--display);
  font-size: 14px;
  font-weight: 800;
  color: var(--brand-green-hover);
  margin-bottom: 20px;
  letter-spacing: -0.3px;
}
.step h3 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.4px;
}
.step p {
  margin: 0 0 16px;
  color: var(--ink-secondary);
  font-size: 12.5px;
  line-height: 1.6;
}
.step-subtext {
  font-size: 11px;
  font-weight: 600;
  color: var(--brand-green-hover);
}

/* ==========================================================================
   Order Commission Section & Form
   ========================================================================== */
.order-section {
  padding: 90px 11.8%;
  background: var(--forest);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.order-section::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(108, 138, 50, 0.25) 0%, transparent 70%);
  pointer-events: none;
}
.order-container {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 60px;
  align-items: start;
  position: relative;
  z-index: 2;
}
.order-copy .section-kicker {
  color: #c9e689;
}
.order-copy h2 {
  margin: 14px 0 16px;
  font-family: var(--display);
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -2px;
}
.order-copy h2 .serif-accent {
  color: #d8eeb3;
}
.order-copy p {
  color: #c2c9bf;
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 30px;
}
.order-perks {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.perk-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: #e4e9e1;
}
.perk-check {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(108, 138, 50, 0.3);
  color: #bce573;
  font-weight: 800;
  font-size: 11px;
}

.order-form-card {
  background: var(--white);
  color: var(--ink);
  padding: 36px;
  border-radius: var(--radius-md);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
}
.bespoke-order-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
}
.form-group label span {
  color: #d85c72;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--paper-card);
  font-size: 13px;
  color: var(--ink);
  outline: 0;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--brand-green);
  box-shadow: 0 0 0 3px rgba(108, 138, 50, 0.15);
}
.order-submit-btn {
  margin-top: 8px;
  min-height: 52px;
  font-size: 14px;
}
.order-form-note {
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  margin: 4px 0 0;
}

.order-success-banner {
  text-align: center;
  padding: 30px 10px;
}
.success-icon-wrap {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-green-light);
  color: var(--brand-green-hover);
  font-size: 28px;
}
.order-success-banner h3 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 24px;
  font-weight: 700;
}
.order-success-banner p {
  color: var(--ink-secondary);
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 24px;
}

/* ==========================================================================
   Testimonials & Proof Section
   ========================================================================== */
.testimonials-section {
  padding-top: 90px;
  padding-bottom: 90px;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testi-card {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.testi-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.testi-rating-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.stars-group {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.stars-group svg {
  width: 15px;
  height: 15px;
  fill: #df9c2c;
  filter: drop-shadow(0 1px 2px rgba(223, 156, 44, 0.25));
  transition: transform 0.2s ease;
}
.testi-card:hover .stars-group svg {
  transform: scale(1.08);
}
.rating-score {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
  color: var(--forest);
  letter-spacing: -0.2px;
}
.testi-card p {
  margin: 0 0 20px;
  font-size: 13.5px;
  color: var(--ink-secondary);
  line-height: 1.7;
  font-style: italic;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.author-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--brand-green-light);
  color: var(--brand-green-hover);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 12px;
}
.testi-author strong {
  display: block;
  font-size: 13px;
  color: var(--ink);
}
.testi-author span {
  font-size: 11px;
  color: var(--muted);
}

/* ==========================================================================
   Shortlist Drawer (Order Basket)
   ========================================================================== */
.saved-drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0.3s ease;
}
.saved-drawer.open {
  pointer-events: auto;
  visibility: visible;
}
.saved-drawer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(18, 25, 20, 0.5);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.saved-drawer.open .saved-drawer-overlay {
  opacity: 1;
}
.saved-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(100%, 420px);
  background: var(--white);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  padding: 30px;
}
.saved-drawer.open .saved-drawer-panel {
  transform: translateX(0);
}
.saved-drawer-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.saved-drawer-title-group h2 {
  margin: 6px 0 0;
  font-family: var(--display);
  font-size: 24px;
  font-weight: 700;
}
.drawer-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 16px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.2s ease;
}
.drawer-close-btn:hover {
  background: var(--white);
  border-color: var(--ink);
}
.saved-drawer-content {
  flex: 1;
  overflow-y: auto;
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.saved-item-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s ease;
}
.saved-item-card:hover {
  border-color: var(--brand-green);
}
.saved-item-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.saved-item-mark {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 15px;
}
.saved-item-info strong {
  display: block;
  font-size: 13px;
  color: var(--ink);
}
.saved-item-info span {
  font-size: 11px;
  color: var(--muted);
}
.saved-item-remove {
  background: none;
  border: 0;
  color: var(--muted-light);
  font-size: 16px;
  cursor: pointer;
  padding: 6px;
  transition: color 0.2s ease;
}
.saved-item-remove:hover {
  color: #d85c72;
}
.saved-empty-message {
  text-align: center;
  padding: 40px 20px;
  color: var(--muted);
  font-size: 13px;
}
.saved-empty-message span {
  display: block;
  font-size: 28px;
  margin-bottom: 8px;
  color: var(--muted-light);
}
.saved-drawer-footer {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.full-width {
  width: 100%;
}

/* ==========================================================================
   Detail Modal (Blueprint Preview & Order CTA)
   ========================================================================== */
.detail-modal {
  width: min(92vw, 560px);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 25px 80px rgba(18, 25, 20, 0.25);
  animation: modal-pop 0.35s var(--ease-spring) both;
  overflow: hidden;
}
.detail-modal::backdrop {
  background: rgba(18, 25, 20, 0.6);
  backdrop-filter: blur(8px);
}
.modal-card {
  padding: 32px;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  font-size: 15px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.2s ease;
}
.modal-close:hover {
  background: var(--white);
  border-color: var(--ink);
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-right: 48px;
}
.modal-badge-group {
  display: flex;
  align-items: center;
  gap: 14px;
}
.modal-app-mark {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: 22px;
}
.modal-category {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.modal-title {
  margin: 2px 0 0;
  font-family: var(--display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.6px;
}
.modal-rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--brand-green-light);
  color: var(--brand-green-hover);
  font-weight: 700;
  font-size: 13px;
}
.modal-desc {
  color: var(--ink-secondary);
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 20px;
}

/* Modal UI sandbox mockup */
.preview-mockup {
  background: #f4f5ee;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 24px;
}
.mockup-bar {
  background: #ebede3;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--line);
}
.mockup-bar .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.mockup-bar .dot.red { background: #f26f63; }
.mockup-bar .dot.yellow { background: #eab84c; }
.mockup-bar .dot.green { background: #7ab859; }
.mockup-title {
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
  margin-left: 8px;
}
.mockup-content {
  padding: 18px;
}
.mockup-skeleton-hero {
  height: 60px;
  background: #e2e5db;
  border-radius: 6px;
  margin-bottom: 12px;
}
.mockup-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.mockup-grid div {
  height: 40px;
  background: #eaece4;
  border-radius: 4px;
}

.modal-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 26px;
}
.feat-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.feat-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-green);
  margin-top: 5px;
  flex-shrink: 0;
}
.feat-item strong {
  display: block;
  font-size: 12px;
  color: var(--ink);
}
.feat-item span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.4;
}
.modal-footer {
  display: flex;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.modal-save-btn {
  flex: 1;
}
.modal-visit-btn {
  flex: 1.3;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  padding: 50px 7.2% 24px;
  background: var(--paper);
}
.footer-main {
  padding-bottom: 40px;
  display: grid;
  grid-template-columns: 1.2fr 1.5fr auto;
  align-items: start;
  gap: 40px;
  border-bottom: 1px solid var(--line);
}
.footer-brand p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}
.footer-nav {
  display: flex;
  gap: 80px;
}
.footer-nav > div {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: var(--muted-light);
  margin-bottom: 4px;
}
.footer-nav a {
  font-size: 13px;
  color: var(--ink-secondary);
  transition: color 0.2s ease;
}
.footer-nav a:hover {
  color: var(--brand-green-hover);
}
.footer-status-pill {
  font-size: 11px;
  font-weight: 600;
  color: var(--brand-green);
}
.footer-version {
  font-size: 11px;
  color: var(--muted-light);
}
.back-top {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  background: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: var(--ink-secondary);
  transition: all 0.2s ease;
}
.back-top:hover {
  border-color: var(--ink);
  color: var(--ink);
  transform: translateY(-2px);
}
.arrow-up {
  transition: transform 0.2s ease;
}
.back-top:hover .arrow-up {
  transform: translateY(-2px);
}

.footer-bottom {
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  color: var(--muted-light);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   Toast Notification
   ========================================================================== */
.toast {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 120;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: var(--radius-sm);
  background: var(--forest);
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
  box-shadow: 0 10px 30px rgba(22, 26, 23, 0.25);
  opacity: 0;
  transform: translateY(14px) scale(0.95);
  pointer-events: none;
  transition: all 0.28s var(--ease-spring);
}
.toast.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.toast-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #9fe266;
  box-shadow: 0 0 8px #9fe266;
}

/* ==========================================================================
   Keyframes & Animations
   ========================================================================== */
@keyframes card-appear {
  0% { opacity: 0; transform: translateY(32px) scale(0.95); }
  65% { transform: translateY(-4px) scale(1.01); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes skeleton-sweep {
  0% { transform: translateX(-150%) skewX(-20deg); }
  100% { transform: translateX(200%) skewX(-20deg); }
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(108, 138, 50, 0.4); }
  70% { box-shadow: 0 0 0 7px rgba(108, 138, 50, 0); }
  100% { box-shadow: 0 0 0 0 rgba(108, 138, 50, 0); }
}

@keyframes twinkle {
  0%, 100% { opacity: 0.4; transform: scale(0.8) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.2) rotate(25deg); }
}

@keyframes float-note-top {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes float-note-bottom {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

@keyframes orbit-breathe {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.05); opacity: 1; }
}

@keyframes spin-slow {
  to { transform: rotate(360deg); }
}

@keyframes mouse-scroll {
  0% { transform: translate(-50%, 0); opacity: 1; }
  70% { transform: translate(-50%, 8px); opacity: 0; }
  71% { transform: translate(-50%, 0); opacity: 0; }
  100% { opacity: 1; }
}

@keyframes heart-pop {
  0% { transform: scale(1); }
  50% { transform: scale(1.35); }
  100% { transform: scale(1.05); }
}

@keyframes modal-pop {
  from { opacity: 0; transform: scale(0.92) translateY(12px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
    padding-left: 6%;
    padding-right: 6%;
  }
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .order-container {
    grid-template-columns: 1fr;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .category-strip, .section-wrap, .order-section {
    padding-left: 6%;
    padding-right: 6%;
  }
  .app-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }
  .hero-art {
    margin-top: 30px;
    min-height: 380px;
  }
  .category-strip {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 30px 5%;
  }
  .section-wrap {
    padding-left: 5%;
    padding-right: 5%;
  }
  .section-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-main {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-nav {
    gap: 40px;
  }
  .hero-bottom {
    display: none;
  }
}

@media (max-width: 520px) {
  .app-grid {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 42px;
    letter-spacing: -2px;
  }
  .hero-metrics {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .metric-divider {
    display: none;
  }
  .order-form-card {
    padding: 24px 18px;
  }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


/* ==========================================================================
   Auth Widget, Modals & Community Forum Styles
   ========================================================================== */

/* Auth Header Widget */
.auth-header-widget {
  position: relative;
  display: flex;
  align-items: center;
}
.auth-signin-btn {
  height: 42px;
  min-width: 190px;
  padding: 0 18px;
  font-size: 13px;
  font-weight: 600;
  gap: 10px;
  border-radius: var(--radius-full);
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.auth-signin-btn:hover {
  background: #fbfbfb;
  border-color: rgba(0, 0, 0, 0.22);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}
.auth-signin-btn svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}
.auth-signin-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.user-profile-menu[hidden],
[hidden] {
  display: none !important;
}
.user-profile-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 14px 4px 6px;
  height: 42px;
  border-radius: var(--radius-full);
  background: var(--white);
  border: 1px solid var(--line);
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}
.user-profile-menu:hover {
  border-color: var(--brand-green);
  transform: translateY(-1px);
}
.user-avatar-img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--paper-subtle);
}
.user-avatar-img:not([src]),
.user-avatar-img[src=""] {
  display: none;
}
.user-name-text {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}
.user-dropdown-pane {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 220px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 12px;
  display: none;
  flex-direction: column;
  gap: 6px;
  z-index: 100;
  animation: modal-pop 0.2s var(--ease-spring);
}
.user-dropdown-pane.show {
  display: flex;
}
.dropdown-user-info {
  padding: 4px 6px 8px;
}
.dropdown-user-info strong {
  display: block;
  font-size: 13px;
  color: var(--ink);
}
.dropdown-user-info span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dropdown-divider {
  height: 1px;
  background: var(--line);
  margin: 4px 0;
}
.dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: var(--radius-xs);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-secondary);
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition: all 0.15s ease;
}
.dropdown-item:hover {
  background: var(--paper-subtle);
  color: var(--ink);
}
.dropdown-item.admin-link {
  color: var(--brand-green-hover);
  background: var(--brand-green-light);
}
.dropdown-item.text-danger:hover {
  color: #c53030;
  background: #fff5f5;
}

/* Auth Modal */
.auth-modal {
  width: min(92vw, 440px);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-float);
  overflow: hidden;
}
.auth-modal::backdrop {
  background: rgba(18, 25, 20, 0.6);
  backdrop-filter: blur(8px);
}
.auth-modal-card {
  padding: 32px;
  position: relative;
}
.auth-modal-header {
  margin-bottom: 24px;
}
.auth-modal-header h2 {
  margin: 6px 0 8px;
  font-family: var(--display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.8px;
}
.auth-modal-header p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.google-btn-container {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}
.google-custom-btn {
  width: 100%;
  height: 48px;
  font-size: 13px;
  gap: 12px;
  border-color: var(--line-strong);
}
.google-custom-btn:hover {
  border-color: var(--ink);
}
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0 16px;
  color: var(--muted-light);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.2px;
}
.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}
.admin-passkey-form {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.admin-passkey-form label {
  font-size: 11px;
  font-weight: 700;
}
.passkey-input-row {
  display: flex;
  gap: 8px;
}
.passkey-input-row input {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font-size: 13px;
  outline: 0;
}
.passkey-input-row input:focus {
  border-color: var(--brand-green);
}
.auth-hint {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}
.auth-hint code {
  background: var(--paper-subtle);
  padding: 2px 6px;
  border-radius: 4px;
}

/* ==========================================================================
   Community Forum Section
   ========================================================================== */
.forum-section {
  padding-top: 80px;
  padding-bottom: 90px;
}
.forum-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.forum-cat-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.forum-pill {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  background: var(--white);
  color: var(--ink-secondary);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.forum-pill:hover {
  border-color: var(--ink);
  color: var(--ink);
}
.forum-pill.active {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}
.forum-search-wrap input {
  height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-size: 12px;
  width: 240px;
  outline: 0;
  transition: border-color 0.2s ease;
}
.forum-search-wrap input:focus {
  border-color: var(--brand-green);
}

/* Forum Compose Card */
.forum-compose-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px;
  margin-bottom: 30px;
  box-shadow: var(--shadow-sm);
  animation: filter-slide 0.3s var(--ease-out-quint);
}
.compose-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.compose-header h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
}
.compose-close-btn {
  background: none;
  border: 0;
  font-size: 20px;
  color: var(--muted);
  cursor: pointer;
}
.compose-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
}
.compose-note {
  font-size: 11px;
  color: var(--muted);
}
.flex-1 { flex: 1; }
.flex-2 { flex: 2; }

/* Forum Feed Items */
.forum-feed {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.forum-post-card {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s var(--ease-out-quint);
}
.forum-post-card:hover {
  border-color: #cbd4be;
  box-shadow: var(--shadow-md);
}
.post-vote-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.upvote-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 44px;
  min-height: 48px;
  padding: 6px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper-subtle);
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s var(--ease-spring);
}
.upvote-btn:hover {
  border-color: var(--brand-green);
  color: var(--brand-green-hover);
  transform: translateY(-2px);
}
.upvote-btn.upvoted {
  background: var(--brand-green-light);
  border-color: var(--brand-green);
  color: var(--brand-green-hover);
}
.vote-count {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 800;
}

.post-content-col {
  flex: 1;
}
.post-header-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 11px;
  color: var(--muted);
}
.post-cat-tag {
  font-weight: 700;
  color: var(--brand-green-hover);
  background: var(--brand-green-light);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}
.pinned-pill {
  font-weight: 800;
  font-size: 9px;
  letter-spacing: 0.8px;
  color: #c05621;
  background: #feebc8;
  padding: 2px 6px;
  border-radius: 4px;
}
.post-author-name {
  font-weight: 600;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.admin-author-badge {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.5px;
  background: var(--forest);
  color: var(--white);
  padding: 2px 6px;
  border-radius: 4px;
}
.post-title {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.4px;
  color: var(--ink);
}
.post-body {
  margin: 0 0 16px;
  font-size: 13.5px;
  color: var(--ink-secondary);
  line-height: 1.6;
}
.post-footer-bar {
  display: flex;
  align-items: center;
  gap: 16px;
}
.toggle-replies-btn,
.reply-trigger-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--radius-xs);
  transition: all 0.2s ease;
}
.toggle-replies-btn:hover,
.reply-trigger-btn:hover {
  color: var(--ink);
  background: var(--paper-subtle);
}

/* Replies Thread */
.post-replies-thread {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.replies-stream {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.forum-reply-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.reply-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--paper-subtle);
  flex-shrink: 0;
}
.reply-bubble {
  background: var(--paper-subtle);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  flex: 1;
}
.reply-author-line {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 4px;
}
.reply-author-line strong {
  color: var(--ink);
}
.reply-text {
  margin: 0;
  font-size: 12.5px;
  color: var(--ink-secondary);
  line-height: 1.5;
}
.reply-form {
  display: flex;
  gap: 8px;
  margin-top: 6px;
}
.reply-form input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 12px;
  outline: 0;
}
.reply-form input:focus {
  border-color: var(--brand-green);
}
.reply-form button {
  min-height: 36px;
  padding: 0 16px;
  font-size: 12px;
}

/* ==========================================================================
   Admin Console Styles (admin.html)
   ========================================================================== */
.admin-page-body {
  background: var(--paper);
  min-height: 100vh;
}
.admin-header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}
.admin-badge {
  font-size: 11px;
  font-weight: 700;
  background: var(--forest);
  color: var(--white);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 0.3px;
}
.admin-gate-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 80px 20px;
}
.admin-gate-card {
  width: min(100%, 460px);
  padding: 36px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.gate-header h2 {
  margin: 6px 0 8px;
  font-family: var(--display);
  font-size: 26px;
  font-weight: 700;
}
.gate-header p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 24px;
}
.admin-login-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Admin Dashboard Bar */
.admin-dashboard {
  padding-top: 40px;
  padding-bottom: 80px;
}
.admin-heading-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 20px;
}
.admin-heading-bar h1 {
  margin: 6px 0 0;
  font-family: var(--display);
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -1px;
}
.admin-tabs {
  display: flex;
  gap: 8px;
}
.admin-tab {
  padding: 10px 18px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s ease;
}
.admin-tab.active {
  background: var(--forest);
  color: var(--white);
  border-color: var(--forest);
}

/* Stats Grid */
.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}
.admin-stat-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.stat-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.stat-number {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -1px;
}

/* Pane Controls */
.pane-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.pane-header h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
}
.pane-controls {
  display: flex;
  gap: 12px;
  align-items: center;
}
.pane-controls select {
  height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-size: 12px;
}

/* Orders List in Admin */
.admin-orders-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.admin-order-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.order-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
}
.order-id-badge {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  background: var(--paper-subtle);
  padding: 3px 8px;
  border-radius: 4px;
  margin-right: 8px;
}
.order-client-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-right: 8px;
}
.order-client-email {
  font-size: 13px;
  color: var(--brand-green-hover);
}
.order-status-group {
  display: flex;
  align-items: center;
  gap: 8px;
}
.order-status-select {
  height: 32px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  font-size: 11px;
  font-weight: 700;
}
.order-delete-btn {
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 18px;
  color: var(--muted);
}
.order-delete-btn:hover {
  color: #c53030;
  border-color: #c53030;
}
.order-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  background: var(--paper-subtle);
  padding: 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}
.order-meta-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 2px;
}
.order-meta-val {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.order-details-box {
  margin-bottom: 16px;
}
.order-details-box p {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--ink-secondary);
  line-height: 1.6;
  white-space: pre-wrap;
}

/* Posts in Admin */
.admin-posts-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.admin-post-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
}
.admin-post-card.post-is-deleted {
  opacity: 0.6;
  background: #fffafa;
  border-style: dashed;
}
.post-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.post-author-box {
  display: flex;
  align-items: center;
  gap: 10px;
}
.post-author-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}
.post-author-box strong {
  display: block;
  font-size: 13px;
  color: var(--ink);
}
.post-author-box span {
  font-size: 11px;
  color: var(--muted);
}
.post-mod-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.mod-btn {
  height: 32px;
  padding: 0 12px;
  font-size: 11px;
}
.text-danger {
  color: #c53030 !important;
}
.text-danger:hover {
  border-color: #c53030 !important;
}
.post-title-text {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 17px;
  font-weight: 700;
}
.post-body-text {
  margin: 0 0 16px;
  font-size: 13px;
  color: var(--ink-secondary);
  line-height: 1.6;
}
.post-replies-section {
  background: var(--paper-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
}
.post-replies-section > strong {
  font-size: 12px;
  color: var(--ink);
  display: block;
  margin-bottom: 8px;
}
.replies-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.reply-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
  padding: 8px 12px;
  border-radius: var(--radius-xs);
  font-size: 12px;
}
.reply-delete-btn {
  background: none;
  border: 0;
  font-size: 16px;
  color: var(--muted);
  cursor: pointer;
}
.reply-delete-btn:hover {
  color: #c53030;
}

@media (max-width: 900px) {
  .admin-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .order-meta-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .admin-stats-grid {
    grid-template-columns: 1fr;
  }
  .order-meta-grid {
    grid-template-columns: 1fr;
  }
}
