/* ==========================================================================
   Farme Digital — VibeCoding App Storefront
   Visual Design System faithful to SaaSHub Directory Architecture
   ========================================================================== */

:root {
  --bg-primary: #ffffff;
  --bg-soft: #fefefe;
  --bg-dark: #111111;
  --bg-surface: #ffffff;
  --bg-search-outer: #f8f8f8;
  --bg-logo-well: #fafafa;

  --text-heading: #222222;
  --text-strong: #000000;
  --text-body: #444444;
  --text-secondary: #4a4340;
  --text-muted: #555555;
  --text-subtle: #585858;
  --text-caption: #888888;
  --text-footer: #a0a0a0;
  --text-on-dark: #ffffff;

  --border-nav: #ebe7e0;
  --border-search: #f4f4f4;
  --border-cat: #f6f6f6;
  --border-faq: #f3f3f3;
  --border-faq-hover: #e2e2e2;

  --brand-gradient: linear-gradient(177.72deg, #75c3d9 1.92%, #b8e364 124.43%);
  --star-green: #00b67a;
  --clothesline-mint: #a3e5c7;

  --shadow-warm:
    0px 0px 2px rgba(95, 74, 46, 0.08),
    0px 2px 3px rgba(95, 74, 46, 0.04),
    0px 4px 6px rgba(95, 74, 46, 0.04),
    0px 20px 32px -12px rgba(95, 74, 46, 0.12);

  --shadow-icon-tile:
    0px 0px 0px 1px rgba(14, 63, 126, 0.06),
    0px 1px 1px -0.5px rgba(42, 51, 70, 0.04),
    0px 3px 3px -1.5px rgba(42, 51, 70, 0.04),
    0px 6px 6px -3px rgba(42, 51, 70, 0.04),
    0px 12px 12px -6px rgba(14, 63, 126, 0.04),
    0px 24px 24px -12px rgba(14, 63, 126, 0.04);

  --shadow-hero-card: 0px 8px 24px rgba(0, 0, 0, 0.06);
  --shadow-uf-card: 0px 4px 24px rgba(0, 0, 0, 0.02);
  --shadow-soft-row: 0px 4px 4px rgba(236, 236, 236, 0.25);

  --font-display: 'Hubot Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-ui: 'Inter Tight', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-heading);
}

body {
  font-family: var(--font-ui);
  background-color: var(--bg-primary);
  color: var(--text-heading);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

.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;
}

/* ==========================================================================
   Shared Ambient Glows & Buttons
   ========================================================================== */

.ambient-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.glow-cyan {
  background: #cef4ff;
  filter: blur(180px);
  opacity: 0.72;
}

.glow-lime {
  background: #ebffc3;
  filter: blur(175px);
  opacity: 0.78;
}

/* 3D Flip Buttons (exact signature micro-interaction) */
.btn-flip {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 22px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  box-shadow: var(--shadow-warm);
  transition: background 0.35s ease, color 0.35s ease, transform 0.25s ease, border-color 0.25s ease;
  perspective: 600px;
  white-space: nowrap;
}

.btn-flip-text {
  display: inline-block;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  transform-style: preserve-3d;
}

.btn-flip:hover .btn-flip-text,
.btn-flip:focus-visible .btn-flip-text {
  transform: rotateX(360deg);
}

.btn-dark {
  background: #020202;
  color: #ffffff;
}

.btn-dark:hover,
.btn-dark:focus-visible {
  background: var(--brand-gradient);
  color: #ffffff;
}

.btn-light {
  background: #ffffff;
  color: var(--text-secondary);
  border-color: rgba(235, 231, 224, 0.8);
}

.btn-light:hover,
.btn-light:focus-visible {
  background: var(--brand-gradient);
  color: #ffffff;
  border-color: transparent;
}

.btn-gradient {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 22px;
  border: none;
  border-radius: 10px;
  background: var(--brand-gradient);
  color: #ffffff;
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 500;
  box-shadow: 0px 4px 14px rgba(117, 195, 217, 0.28);
  transition: transform 0.22s ease, filter 0.22s ease, box-shadow 0.22s ease;
  white-space: nowrap;
}

.btn-gradient:hover,
.btn-gradient:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.03);
  box-shadow: 0px 8px 20px rgba(117, 195, 217, 0.36);
}

.section-header-centered {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  padding: 0 24px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.2vw, 80px);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--text-heading);
}

.section-subtitle {
  margin: 20px auto 0;
  max-width: 560px;
  font-family: var(--font-ui);
  font-size: clamp(16px, 1.35vw, 20px);
  font-weight: 400;
  line-height: 1.38;
  color: var(--text-caption);
}

/* ==========================================================================
   SECTION 1: HERO + FLOATING PILL NAVBAR + ANIMATED CLOTHESLINE
   ========================================================================== */

.header-section {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  width: 100%;
  background-color: var(--bg-primary);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 128px;
}

.hero-dot-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#d5d5d5 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.9;
}

.hero-radial-wash {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 92% 62% at 50% 0%, #d8ecfb 0%, rgba(216, 236, 251, 0.45) 42%, rgba(251, 251, 252, 0) 76%);
  pointer-events: none;
  z-index: 0;
}

/* Floating Pill Navbar (matches template: anchored cleanly inside Hero) */
.floating-navbar {
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: min(900px, calc(100% - 32px));
  height: 56px;
  padding: 0 12px 0 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow-warm);
  border: 1px solid rgba(235, 231, 224, 0.65);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 50;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.nav-logo-box {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #000000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.nav-brand:hover .nav-logo-box {
  transform: scale(1.06);
}

.nav-divider {
  width: 1px;
  height: 24px;
  background: var(--border-nav);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text-strong);
}

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

.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 2px;
  border-radius: 8px;
  background: #f3f3f2;
  border: 1px solid var(--border-nav);
}

.lang-btn {
  border: none;
  background: transparent;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  transition: background 0.2s ease, color 0.2s ease;
}

.lang-btn.is-active {
  background: #ffffff;
  color: #111111;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.mobile-lang-row {
  display: flex;
  gap: 8px;
  padding: 4px 0;
}

.mobile-lang-row .lang-btn {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid var(--border-nav);
  background: #f8f8f7;
}

.mobile-lang-row .lang-btn.is-active {
  background: #111111;
  color: #ffffff;
  border-color: #111111;
}

.nav-search-link {
  border: none;
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 6px 4px;
  transition: color 0.2s ease;
}

.nav-search-link:hover,
.nav-search-link:focus-visible {
  color: var(--text-strong);
}

.nav-cta {
  height: 36px;
  padding: 0 16px;
  border-radius: 8px;
  font-size: 14px;
  box-shadow: none;
}

.nav-mobile-toggle {
  display: none;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border-nav);
  border-radius: 8px;
  background: #ffffff;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-mobile-toggle span {
  display: block;
  width: 16px;
  height: 1.8px;
  background: #111111;
  border-radius: 2px;
}

.mobile-nav-panel {
  position: fixed;
  top: 90px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 440px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-nav);
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow-warm);
  z-index: 49;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-nav-panel[hidden] {
  display: none;
}

.mobile-nav-panel a {
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-heading);
}

.mobile-nav-panel a:hover {
  background: #f6f6f6;
}

.mobile-nav-cta {
  width: 100%;
  margin-top: 4px;
}

/* Hero Typography */
.hero-content {
  position: relative;
  z-index: 5;
  max-width: 1000px;
  width: 100%;
  padding: 0 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(46px, 6vw, 90px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--text-heading);
  max-width: 820px;
}

.hero-subtitle {
  margin-top: 22px;
  max-width: 430px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--text-body);
}

.hero-ctas {
  margin-top: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Curved Clothesline Layer */
.cards-layer {
  position: relative;
  z-index: 4;
  width: 100%;
  height: 465px;
  margin-top: 6px;
  overflow: hidden;
  user-select: none;
}

.clothesline-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 465px;
  pointer-events: none;
  z-index: 1;
}

.clothesline-cards {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.clothesline-card-anchor {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  will-change: transform;
}

.clothesline-card-sway {
  position: relative;
  transform-origin: top center;
  animation: gentle-sway 4.4s ease-in-out infinite alternate;
}

@keyframes gentle-sway {
  0% {
    transform: rotate(-3.2deg);
  }
  100% {
    transform: rotate(3.2deg);
  }
}

.card-pin {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 30px;
  border-radius: 5px;
  background: var(--brand-gradient);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.14);
  z-index: 4;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 5px;
  pointer-events: none;
}

.card-pin::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-product-card {
  position: relative;
  width: 249px;
  height: 261px;
  transform: translateX(-50%);
  border-radius: 16px;
  background: #ffffff;
  padding: 10px 10px 14px;
  border: 1px solid rgba(236, 236, 236, 0.9);
  box-shadow: var(--shadow-hero-card);
  display: flex;
  flex-direction: column;
  text-align: left;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.hero-product-card:hover,
.hero-product-card:focus-visible {
  box-shadow: 0px 16px 36px rgba(17, 17, 17, 0.12);
  border-color: #bfe8d5;
  outline: none;
}

.hero-card-well {
  width: 100%;
  height: 128px;
  border-radius: 12px;
  background: var(--bg-logo-well);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  overflow: hidden;
}

.hero-card-well img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 16px;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.1));
}

.hero-card-name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.15;
  color: var(--text-strong);
  padding: 0 6px;
}

.hero-card-cat {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-muted);
  padding: 4px 6px 0;
}

.hero-card-rating {
  margin-top: auto;
  padding: 10px 6px 0;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
}

.star-icon {
  color: var(--star-green);
  flex-shrink: 0;
}

/* ==========================================================================
   SECTION 2: ABOUT US / GIANT EDITORIAL STATEMENT + 4 FEATURE CHIPS
   ========================================================================== */

.aboutus-section {
  position: relative;
  min-height: 100vh;
  background: var(--bg-soft);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px;
}

.about-glow-left {
  width: 560px;
  height: 560px;
  bottom: -140px;
  left: -140px;
}

.about-glow-right {
  width: 560px;
  height: 560px;
  top: -120px;
  right: -120px;
}

.aboutus-container {
  position: relative;
  z-index: 2;
  max-width: 1040px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.aboutus-statement {
  font-family: var(--font-display);
  font-size: clamp(38px, 5.2vw, 78px);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -0.025em;
  color: var(--text-heading);
  text-align: center;
  max-width: 1018px;
}

.inline-icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(44px, 4.6vw, 69px);
  height: clamp(44px, 4.6vw, 69px);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: var(--shadow-icon-tile);
  vertical-align: middle;
  margin: 0 6px 8px;
  padding: 8px;
}

.inline-icon-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
}

.features-grid {
  margin-top: 52px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 18px;
  max-width: 1120px;
}

.feature-pair {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.feature-pill {
  height: 82px;
  padding: 0 26px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.8vw, 42px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: #ffffff;
  white-space: nowrap;
}

.feature-icon-chip {
  width: 82px;
  height: 82px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-pill.chip-yellow {
  background: #eab738;
  color: #ffffff;
}
.feature-icon-chip.chip-yellow {
  background: #eab738;
}

.feature-pill.chip-green {
  background: #43be84;
  color: #ffffff;
}
.feature-icon-chip.chip-green {
  background: #2eb67d;
}

.feature-pill.chip-crimson {
  background: #e46089;
  color: #ffffff;
}
.feature-icon-chip.chip-crimson {
  background: #e01e5a;
}

.feature-pill.chip-cyan {
  background: #36c5f0;
  color: #ffffff;
}
.feature-icon-chip.chip-cyan {
  background: #1fb3e0;
}

/* ==========================================================================
   SECTION 3: TOP VIBECODING APPS 3-ROW INFINITE MARQUEE
   ========================================================================== */

.bestsaas-section {
  position: relative;
  min-height: 92vh;
  background: var(--bg-primary);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 0;
}

.best-glow-left {
  width: 580px;
  height: 580px;
  top: 40px;
  left: -180px;
}

.best-glow-right {
  width: 580px;
  height: 580px;
  bottom: 20px;
  right: -180px;
}

.marquee-stack {
  position: relative;
  z-index: 2;
  margin-top: 68px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.marquee-row {
  display: flex;
  width: max-content;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 36px;
  padding-right: 36px;
  will-change: transform;
}

.marquee-row-left .marquee-track {
  animation: marquee-left 42s linear infinite;
}

.marquee-row-right .marquee-track {
  animation: marquee-right 48s linear infinite;
}

.marquee-row:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marquee-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes marquee-right {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

.marquee-chip {
  border: none;
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 6px 8px;
  border-radius: 14px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.marquee-chip:hover,
.marquee-chip:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.best-chip-icon-box {
  width: 58px;
  height: 58px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-icon-tile);
  overflow: hidden;
  flex-shrink: 0;
}

.best-chip-icon-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.marquee-chip-label {
  font-family: var(--font-ui);
  font-size: clamp(28px, 3vw, 45px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #3a3a3a;
  white-space: nowrap;
}

/* ==========================================================================
   SECTION 4: POPULAR CATEGORIES + ELEVATED SEARCH PILL
   ========================================================================== */

.popular-section {
  position: relative;
  min-height: 100vh;
  background: var(--bg-soft);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 24px;
}

.pop-glow-left {
  width: 560px;
  height: 560px;
  bottom: -80px;
  left: -160px;
}

.pop-glow-right {
  width: 560px;
  height: 560px;
  top: -80px;
  right: -160px;
}

.popular-interactive-wrap {
  position: relative;
  z-index: 2;
  margin-top: 54px;
  width: 100%;
  max-width: 607px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.search-outer-frame {
  position: relative;
  z-index: 4;
  width: 100%;
  max-width: 607px;
  padding: 8px 12px;
  border-radius: 14px;
  background: var(--bg-search-outer);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.04);
}

.search-inner-card {
  width: 100%;
  min-height: 75px;
  padding: 10px 14px 10px 22px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  gap: 14px;
}

.search-input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  font-size: 16px;
  font-weight: 400;
  color: var(--text-heading);
  outline: none;
}

.search-input::placeholder {
  color: #8f8f8f;
}

.search-mag-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.search-vdivider {
  width: 2px;
  height: 40px;
  background: var(--border-search);
  flex-shrink: 0;
}

.search-browse-btn {
  min-width: 112px;
  height: 42px;
  padding: 0 18px;
  font-size: 15px;
}

.category-marquee-window {
  position: relative;
  z-index: 2;
  margin-top: -15px;
  width: 100%;
  max-width: 552px;
  height: 408px;
  overflow: hidden;
  padding-top: 22px;
  mask-image: linear-gradient(to bottom, transparent 0%, black 12%, black 88%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 12%, black 88%, transparent 100%);
}

.category-marquee-track {
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: vertical-marquee 18s linear infinite;
}

.category-marquee-window:hover .category-marquee-track {
  animation-play-state: paused;
}

@keyframes vertical-marquee {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}

.category-row-card {
  width: 100%;
  height: 72px;
  padding: 0 22px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid var(--border-cat);
  box-shadow: var(--shadow-soft-row);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.category-row-card:hover,
.category-row-card:focus-visible {
  border-color: #d7eee2;
  transform: translateX(3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  outline: none;
}

.category-row-title {
  font-family: var(--font-ui);
  font-size: clamp(20px, 2vw, 27px);
  font-weight: 300;
  color: #2b2b2b;
  letter-spacing: -0.015em;
}

.category-row-icons {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.cat-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow-icon-tile);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cat-icon-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Live Search Results Panel */
.search-results-panel {
  width: 100%;
  max-width: 552px;
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.search-results-panel[hidden] {
  display: none;
}

.search-result-item {
  width: 100%;
  padding: 14px 18px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid #ececec;
  box-shadow: var(--shadow-soft-row);
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.search-result-item:hover {
  transform: translateY(-2px);
  border-color: #84d0c7;
}

.search-result-item img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  flex-shrink: 0;
}

.search-result-meta {
  flex: 1;
  min-width: 0;
}

.search-result-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--text-strong);
}

.search-result-sub {
  font-size: 13px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-result-price {
  font-size: 14px;
  font-weight: 600;
  color: var(--star-green);
  flex-shrink: 0;
}

.search-empty-state {
  padding: 28px 20px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px dashed #dcdcdc;
  text-align: center;
  color: var(--text-muted);
  font-size: 15px;
}

/* ==========================================================================
   SECTION 5: USER'S FAVORITE & RECENTLY ADDED ASYMMETRIC BENTO
   ========================================================================== */

.uf-section {
  position: relative;
  min-height: 100vh;
  background: var(--bg-primary);
  overflow: hidden;
  padding: 112px clamp(20px, 4vw, 60px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.uf-dot-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#e5e5e5 1.5px, transparent 1.5px);
  background-size: 15px 15px;
  pointer-events: none;
  z-index: 0;
}

.uf-radial-wash {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 95% 65% at 50% 0%, #f0fed4 0%, rgba(240, 254, 212, 0.52) 45%, rgba(251, 251, 252, 0) 80%);
  pointer-events: none;
  z-index: 0;
}

.uf-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1480px;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.uf-row {
  display: grid;
  gap: 28px;
  align-items: center;
}

.uf-row-top {
  grid-template-columns: minmax(260px, 360px) 1fr;
}

.uf-row-bottom {
  grid-template-columns: 1fr minmax(260px, 380px);
}

.uf-editorial {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.uf-title {
  font-family: var(--font-display);
  font-size: clamp(46px, 4.8vw, 76px);
  font-weight: 500;
  line-height: 1.03;
  letter-spacing: -0.025em;
  color: var(--text-heading);
}

.uf-subtitle {
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.48;
  color: var(--text-muted);
  max-width: 340px;
}

.uf-cta-btn {
  margin-top: 24px;
  min-width: 185px;
  height: 44px;
}

.uf-cards-group {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.uf-card {
  min-height: 292px;
  padding: 24px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(235, 235, 235, 0.9);
  box-shadow: var(--shadow-uf-card);
  display: flex;
  flex-direction: column;
  text-align: left;
  transition: transform 0.26s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.26s ease, border-color 0.26s ease;
}

.uf-card:hover,
.uf-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0px 18px 36px rgba(17, 17, 17, 0.08);
  border-color: #c8ebd8;
  outline: none;
}

.uf-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.uf-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: #000000;
  box-shadow: var(--shadow-icon-tile);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.uf-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.uf-card-badge {
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f5f7f6;
  color: #3a3a3a;
  border: 1px solid #eceeed;
}

.uf-card-badge.badge-bundle {
  background: #111111;
  color: #ffffff;
  border-color: #111111;
}

.uf-card-name {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.12;
  color: var(--text-strong);
}

.uf-card-cat {
  margin-top: 4px;
  font-size: 13px;
  font-weight: 400;
  color: var(--text-caption);
}

.uf-card-desc {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.48;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.uf-card-footer {
  margin-top: auto;
  padding-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
}

.uf-rating-pair {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.uf-price-tag {
  font-weight: 600;
  color: var(--text-strong);
}

/* ==========================================================================
   SECTION 6: TESTIMONIALS + 3D SPHERICAL ICON GLOBE
   ========================================================================== */

.testimonial-section {
  position: relative;
  min-height: 100vh;
  background: var(--bg-primary);
  overflow: hidden;
  padding: 120px clamp(20px, 4vw, 60px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.test-glow-left {
  width: 560px;
  height: 560px;
  bottom: 0;
  left: -180px;
}

.test-glow-right {
  width: 560px;
  height: 560px;
  top: 40px;
  right: -180px;
}

.test-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1440px;
  margin: 56px auto 0;
}

.test-bento {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
}

/* 3D Globe Card */
.test-globe-card {
  min-height: 492px;
  border-radius: 20px;
  background: linear-gradient(180deg, #ebffc3 0%, #d8f6ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.globe-scene {
  width: 400px;
  height: 400px;
  perspective: 950px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.globe-sphere {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  animation: rotate-globe 22s linear infinite;
}

.test-globe-card:hover .globe-sphere {
  animation-play-state: paused;
}

@keyframes rotate-globe {
  0% {
    transform: rotateX(-12deg) rotateY(0deg);
  }
  100% {
    transform: rotateX(-12deg) rotateY(360deg);
  }
}

.globe-node {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 56px;
  height: 56px;
  margin-left: -28px;
  margin-top: -28px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(14, 63, 126, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  backface-visibility: visible;
  padding: 10px;
}

.globe-node img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: cover;
}

/* Right Testimonial Column */
.test-right-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.test-quote-box {
  min-height: 215px;
  padding: 28px 32px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid #f2f2f2;
  box-shadow: var(--shadow-soft-row);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.test-quote-text {
  font-family: var(--font-ui);
  font-size: clamp(22px, 2.25vw, 32px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-strong);
}

.test-author-name {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-strong);
}

.test-author-role {
  margin-top: 2px;
  font-size: 16px;
  font-weight: 400;
  color: var(--text-subtle);
}

.test-pills-box {
  height: 257px;
  padding: 18px 0;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid #f2f2f2;
  box-shadow: var(--shadow-soft-row);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.pill-marquee-row {
  display: flex;
  width: max-content;
}

.pill-marquee-track {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-right: 10px;
  will-change: transform;
}

.pill-marquee-row:nth-child(odd) .pill-marquee-track {
  animation: marquee-left 28s linear infinite;
}

.pill-marquee-row:nth-child(even) .pill-marquee-track {
  animation: marquee-right 32s linear infinite;
}

.test-pills-box:hover .pill-marquee-track {
  animation-play-state: paused;
}

.reviewer-pill {
  height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  border: none;
  background: #000000;
  color: #ffffff;
  font-family: var(--font-ui);
  font-size: 21px;
  font-weight: 400;
  letter-spacing: -0.015em;
  white-space: nowrap;
  transition: transform 0.2s ease, background 0.25s ease;
}

.reviewer-pill:hover,
.reviewer-pill:focus-visible {
  transform: scale(1.03);
  outline: none;
}

.reviewer-pill.is-active {
  background: var(--brand-gradient);
  color: #ffffff;
}

/* ==========================================================================
   SECTION 7: FAQ ACCORDION
   ========================================================================== */

.faq-section {
  position: relative;
  min-height: 92vh;
  background: var(--bg-primary);
  overflow: hidden;
  padding: 120px 24px 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.faq-glow-left {
  width: 560px;
  height: 560px;
  top: -120px;
  left: -160px;
}

.faq-glow-right {
  width: 560px;
  height: 560px;
  bottom: -140px;
  right: -160px;
}

.faq-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 732px;
  margin-top: 52px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid var(--border-faq);
  box-shadow: var(--shadow-soft-row);
  transition: border-color 0.2s ease;
  overflow: hidden;
}

.faq-item:hover {
  border-color: var(--border-faq-hover);
}

.faq-trigger {
  width: 100%;
  border: none;
  background: transparent;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
}

.faq-question {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 400;
  line-height: 1.35;
  color: var(--text-heading);
}

.faq-plus {
  position: relative;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.faq-plus::before,
.faq-plus::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: #211c1c;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.faq-plus::before {
  width: 16px;
  height: 2px;
  transform: translate(-50%, -50%);
}

.faq-plus::after {
  width: 2px;
  height: 16px;
  transform: translate(-50%, -50%);
}

.faq-item.open .faq-plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq-answer-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-item.open .faq-answer-wrap {
  grid-template-rows: 1fr;
}

.faq-answer-inner {
  overflow: hidden;
}

.faq-answer {
  padding: 0 26px 22px;
  font-size: 16px;
  line-height: 1.58;
  color: var(--text-subtle);
}

/* ==========================================================================
   SECTION 8: DARK FOOTER + OVERSIZED WORDMARK
   ========================================================================== */

.footer-section {
  position: relative;
  min-height: 92vh;
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: 80px clamp(24px, 6.5vw, 100px) 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  flex-wrap: wrap;
}

.footer-mission {
  max-width: 400px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-footer);
}

.footer-columns {
  display: flex;
  gap: clamp(48px, 8vw, 120px);
  flex-wrap: wrap;
}

.footer-col-title {
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a,
.footer-link-btn {
  border: none;
  background: transparent;
  padding: 0;
  font-size: 14px;
  color: var(--text-footer);
  transition: color 0.2s ease;
  text-align: left;
}

.footer-col a:hover,
.footer-link-btn:hover {
  color: #ffffff;
}

.footer-bottom {
  margin-top: 84px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.footer-contact {
  padding-bottom: 40px;
  flex-shrink: 0;
}

.footer-contact p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-footer);
  margin-bottom: 10px;
}

.footer-wordmark {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 11.6vw, 13.8rem);
  font-weight: 600;
  line-height: 0.8;
  letter-spacing: -0.045em;
  color: #ffffff;
  white-space: nowrap;
  user-select: none;
  margin-bottom: -0.08em;
}

/* ==========================================================================
   NATIVE MODAL DIALOGS (Clean, Minimal & Scroll-Free)
   ========================================================================== */

dialog.fd-dialog {
  margin: auto;
  padding: 0;
  border: 1px solid #eeeeee;
  border-radius: 20px;
  background: #ffffff;
  color: var(--text-heading);
  width: min(490px, calc(100vw - 32px));
  max-height: 90vh;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.16);
}

dialog.fd-dialog.fd-dialog-wide {
  width: min(760px, calc(100vw - 32px));
}

/* Scoped to [open] per modern-web-guidance: never set display unconditionally on dialog */
dialog.fd-dialog[open] {
  display: block;
}

/* Mandatory scroll containment per prevent-page-scroll-under-modal-dialog */
dialog.fd-dialog:modal {
  overscroll-behavior: contain;
}

dialog.fd-dialog::backdrop {
  overflow: hidden;
  overscroll-behavior: contain;
  background: rgba(17, 17, 17, 0.36);
  backdrop-filter: blur(6px);
}

.dialog-shell {
  padding: 24px;
}

.dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.dialog-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: none;
  background: #f5f5f5;
  color: #555555;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease;
}

.dialog-close-btn:hover {
  background: #eaeaea;
  color: #111111;
}

.dialog-hero-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.dialog-app-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: #fafafa;
  box-shadow: var(--shadow-icon-tile);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.dialog-app-icon-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dialog-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-strong);
}

.dialog-submeta {
  margin-top: 4px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-caption);
}

.dialog-rating-inline {
  color: var(--star-green);
  font-weight: 600;
}

.dialog-description {
  margin-top: 18px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-body);
}

.dialog-features-list {
  margin-top: 16px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dialog-features-list li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--text-muted);
}

.dialog-features-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--star-green);
  font-weight: 700;
}

.dialog-footer-bar {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.dialog-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.dialog-price-main {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  color: #111111;
}

.dialog-price-strike {
  font-size: 14px;
  color: #9a9a9a;
  text-decoration: line-through;
}

.dialog-platform {
  margin-top: 2px;
  font-size: 12px;
  color: var(--text-caption);
}

.dialog-buy-btn {
  height: 42px;
  padding: 0 22px;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.25s ease, transform 0.2s ease;
}

.dialog-buy-btn:hover {
  transform: translateY(-1px);
}

/* Step 2: Minimal Checkout View */
.dialog-checkout-view {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #f0f0f0;
}

.dialog-checkout-view[hidden],
#product-overview-view[hidden] {
  display: none;
}

.dialog-checkout-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.dialog-back-btn {
  border: none;
  background: transparent;
  padding: 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
}

.dialog-back-btn:hover {
  color: #111111;
}

.dialog-checkout-price {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: #111111;
}

.dialog-order-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dialog-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
}

.dialog-field input {
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid #e4e4e4;
  background: #fafafa;
  font-size: 14px;
  color: #111111;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.dialog-field input:focus {
  outline: none;
  background: #ffffff;
  border-color: #111111;
}

.dialog-order-actions {
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.dialog-secondary-btn {
  height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid #e6e6e6;
  background: #ffffff;
  color: #444444;
  font-size: 13px;
  font-weight: 500;
}

.dialog-secondary-btn:hover {
  background: #f6f6f6;
}

.dialog-submit-btn {
  height: 40px;
  padding: 0 18px;
  border: none;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
}

.dialog-submit-btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

.dialog-order-feedback {
  min-height: 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--star-green);
}

.dialog-order-feedback[data-state='error'] {
  color: #dc2626;
}

/* Catalog Modal Grid */
.catalog-modal-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.catalog-modal-card {
  padding: 14px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid #eeeeee;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.catalog-modal-card:hover {
  border-color: #cccccc;
  background: #fafafa;
}

.catalog-modal-card.is-bundle {
  background: #fafafa;
  border-color: #e2e2e2;
}

.catalog-modal-card img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  flex-shrink: 0;
}

.catalog-modal-info {
  flex: 1;
  min-width: 0;
}

.catalog-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.catalog-modal-name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: #111111;
}

.catalog-modal-price {
  font-size: 14px;
  font-weight: 600;
  color: var(--star-green);
  white-space: nowrap;
}

.catalog-modal-cat {
  font-size: 12px;
  color: var(--text-caption);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (<= 1024px & <= 640px)
   ========================================================================== */

@media (max-width: 1120px) {
  .uf-row-top,
  .uf-row-bottom {
    grid-template-columns: 1fr;
  }

  .uf-row-bottom .uf-editorial-right {
    order: -1;
  }

  .test-bento {
    grid-template-columns: 1fr;
  }

  .test-globe-card {
    min-height: 380px;
  }

  .globe-scene {
    width: 320px;
    height: 320px;
  }
}

@media (max-width: 1024px) {
  .nav-links,
  .nav-actions {
    display: none;
  }

  .nav-mobile-toggle {
    display: inline-flex;
  }

  .uf-cards-group {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-contact {
    padding-bottom: 12px;
  }

  .footer-wordmark {
    font-size: clamp(2.8rem, 13vw, 6.8rem);
  }
}

@media (max-width: 680px) {
  .header-section {
    padding-top: 106px;
  }

  .cards-layer {
    height: 370px;
  }

  .hero-product-card {
    width: 214px;
    height: 232px;
  }

  .hero-card-well {
    height: 104px;
  }

  .feature-pill {
    height: 62px;
    padding: 0 20px;
  }

  .feature-icon-chip {
    width: 62px;
    height: 62px;
  }

  .uf-cards-group,
  .catalog-modal-grid,
  .dialog-field-row {
    grid-template-columns: 1fr;
  }

  .search-inner-card {
    padding: 8px 10px 8px 14px;
    gap: 10px;
  }

  .search-vdivider {
    display: none;
  }

  .category-row-card {
    padding: 0 14px;
  }

  .cat-icon-box {
    width: 34px;
    height: 34px;
  }

  .reviewer-pill {
    height: 42px;
    font-size: 16px;
    padding: 0 16px;
  }

  .test-quote-box {
    padding: 22px;
  }
}
