/* ==========================================================================
   Desk Dangle - Warm Minimalist Landing Page
   Aesthetic: Warm Apple / Linear Off-White & Sand Minimal Design
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

:root {
  --bg-page: #fbfbf9;
  --bg-card: #ffffff;
  --bg-subtle: #f4f4f0;
  --bg-sand: #f0ebe4;
  
  --text-main: #141413;
  --text-body: #61605c;
  --text-muted: #8c8b85;

  --accent-gold: #e59325;
  --accent-gold-light: #fef3e2;
  --accent-gold-text: #b46b08;

  --border-subtle: rgba(0, 0, 0, 0.07);
  --border-card: rgba(0, 0, 0, 0.06);

  --btn-black: #141413;
  --btn-black-hover: #262624;

  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 26px;
  --radius-full: 9999px;

  --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.04);
  --shadow-laptop: 0 24px 60px -12px rgba(0, 0, 0, 0.16), 0 0 1px 1px rgba(0, 0, 0, 0.05);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 96px;
  background: var(--bg-page);
  z-index: 100;
  display: flex;
  align-items: center;
  border-bottom: none;
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* ==========================================================================
   TOP CENTER HEADER STACK (Dynamic Notch Island + Segmented Pill Menu)
   ========================================================================== */
.top-center-header-stack {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px; /* Generous breathing room: moves the menu bar more down */
  pointer-events: none;
}

.apple-dynamic-notch-wrap {
  position: relative;
  pointer-events: auto;
}

.apple-dynamic-notch {
  position: relative;
  display: block;
  background: #000000;
  color: #ffffff;
  border-radius: 0 0 14px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: none;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
  text-decoration: none;
  overflow: hidden;
  width: 215px;
  height: 28px;
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              height 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-radius 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s ease;
  user-select: none;
  cursor: pointer;
}

/* Hover: Apple Dynamic Island Spring Expansion */
.apple-dynamic-notch:hover {
  width: 320px;
  height: 52px;
  border-radius: 0 0 18px 18px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(255, 255, 255, 0.18);
}

/* Segmented Pill Menu (Down from Notch Island - Warm Minimalist Theme) */
.nav-segmented-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  background: rgba(244, 244, 240, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  padding: 4px;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 10px rgba(20, 20, 19, 0.04), inset 0 1px 1.5px rgba(0, 0, 0, 0.02);
  pointer-events: auto;
  user-select: none;
  isolation: isolate;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}

.nav-segmented-pill:hover {
  box-shadow: 0 4px 16px rgba(20, 20, 19, 0.07);
  border-color: rgba(0, 0, 0, 0.1);
}

/* Smooth Sliding Pill Glider */
.pill-glider {
  position: absolute;
  top: 4px;
  left: 4px;
  height: calc(100% - 8px);
  background: var(--btn-black);
  border-radius: var(--radius-full);
  box-shadow: 0 2px 8px rgba(20, 20, 19, 0.2);
  z-index: 1;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-segmented-pill .pill-item {
  position: relative;
  z-index: 2;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-body);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  transition: color 0.22s ease, transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-segmented-pill .pill-item:hover {
  color: var(--text-main);
  transform: translateY(-1.5px) scale(1.04);
}

.nav-segmented-pill .pill-item:active {
  transform: translateY(0.5px) scale(0.96);
}

/* Only the item currently under the glider has white text */
.nav-segmented-pill .pill-item.is-selected {
  color: #ffffff !important;
  font-weight: 550;
}

/* Compact Resting State */
.notch-compact-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 12px;
  opacity: 1;
  transition: opacity 0.18s ease, transform 0.2s ease;
}

.apple-dynamic-notch:hover .notch-compact-content {
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
}

.notch-live-indicator {
  width: 6.5px;
  height: 6.5px;
  border-radius: 50%;
  background: #34c759;
  box-shadow: 0 0 7px rgba(52, 199, 89, 0.9);
  display: inline-block;
  animation: notchPulse 2.2s infinite ease-in-out;
  flex-shrink: 0;
}

@keyframes notchPulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 7px rgba(52, 199, 89, 0.9);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.85);
    box-shadow: 0 0 2px rgba(52, 199, 89, 0.5);
  }
}

.notch-text-compact {
  font-size: 11.5px;
  font-weight: 500;
  color: #ededf0;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.notch-tag-compact {
  font-size: 10px;
  font-weight: 600;
  color: #8e8e93;
  background: rgba(255, 255, 255, 0.12);
  padding: 1px 5px;
  border-radius: 4px;
}

/* Expanded Dynamic State */
.notch-expanded-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.22s ease 0.08s, transform 0.22s cubic-bezier(0.16, 1, 0.3, 1) 0.08s;
  pointer-events: none;
}

.apple-dynamic-notch:hover .notch-expanded-content {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.notch-expanded-left {
  display: flex;
  align-items: center;
  gap: 9px;
}

.notch-expanded-info {
  display: flex;
  flex-direction: column;
}

.notch-expanded-title {
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
}

.notch-expanded-subtitle {
  font-size: 10px;
  color: #8e8e93;
}

.notch-download-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  color: #000000;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 11.5px;
  font-weight: 600;
  transition: background 0.15s ease, transform 0.15s ease;
}

.notch-download-cta:hover {
  background: #e5e5ea;
  transform: scale(1.03);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-main);
}

.brand-logo-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
}

.brand-text {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}



.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-body);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: var(--text-main);
}

.nav-btn-windows {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--btn-black);
  color: #ffffff;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  transition: all 0.18s ease;
}

.nav-btn-windows:hover {
  background: var(--btn-black-hover);
  transform: translateY(-1px);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  padding-top: 130px;
  padding-bottom: 70px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-badge-pill {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-body);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-main);
}

.badge-tag-official {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-gold-text);
  background: var(--accent-gold-light);
  padding: 2px 7px;
  border-radius: 4px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--text-main);
}

.word-alive {
  color: var(--accent-gold);
  position: relative;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-body);
  line-height: 1.6;
  max-width: 440px;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 6px;
}

.hero-btn-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-hero-windows,
.btn-hero-mac-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  min-width: 232px;
  padding: 0 24px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
  user-select: none;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-hero-windows {
  background: var(--btn-black);
  color: #ffffff;
  border: 1px solid var(--btn-black);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.btn-hero-windows:hover {
  background: var(--btn-black-hover);
  border-color: var(--btn-black-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

.btn-hero-mac-toggle {
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.btn-hero-mac-toggle:hover {
  background: var(--bg-subtle);
  border-color: rgba(0, 0, 0, 0.14);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.btn-hero-windows svg,
.btn-hero-mac-toggle svg {
  flex-shrink: 0;
  width: 17px;
  height: 17px;
  transition: transform 0.2s ease;
}

.btn-hero-mac-toggle:hover svg {
  transform: scale(1.1);
}

.hero-meta-text {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
}

/* ==========================================================================
   MAC BUTTON WRAP & POPOVER
   ========================================================================== */
.mac-btn-wrap {
  position: relative;
  display: inline-block;
}

.mac-chevron-icon {
  margin-left: 2px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--text-muted);
}

.mac-btn-wrap.open .mac-chevron-icon {
  transform: rotate(180deg);
  color: var(--text-main);
}

.mac-popover {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 252px;
  max-width: 88vw;
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 16px 16px 15px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.10), 0 2px 8px rgba(0, 0, 0, 0.04);
  text-align: left;
  z-index: 500;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(0.96);
  transform-origin: top left;
  transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s ease;
  pointer-events: none;
}

.mac-btn-wrap.open .mac-popover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Arrow pointer anchored to Mac button */
.mac-popover::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 36px;
  width: 12px;
  height: 12px;
  background: #ffffff;
  border-left: 1px solid var(--border-card);
  border-top: 1px solid var(--border-card);
  transform: rotate(45deg);
  border-radius: 2px 0 0 0;
}

.mac-popover-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.mac-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 650;
  color: var(--text-main);
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  padding: 2px 7px;
  border-radius: var(--radius-full);
}

.btn-popover-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: none;
  background: var(--bg-subtle);
  color: var(--text-body);
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-popover-close:hover {
  background: #eaedf1;
  color: var(--text-main);
}

.mac-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 4px;
}

.mac-desc {
  font-size: 12px;
  line-height: 1.45;
  color: var(--text-body);
  margin-bottom: 12px;
}

.btn-mac-vote {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: var(--btn-black);
  color: #ffffff;
  border: none;
  padding: 8px 12px;
  border-radius: var(--radius-full);
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(20, 20, 19, 0.12);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
}

.btn-mac-vote:hover {
  background: #2a2a29;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(20, 20, 19, 0.18);
}

.btn-mac-vote:active {
  transform: scale(0.97);
}

.mac-success-state {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 600;
  color: #7a4603;
  background: var(--accent-gold-light);
  border: 1px solid rgba(229, 147, 37, 0.2);
  padding: 7px 10px;
  border-radius: var(--radius-full);
  margin-top: 3px;
  width: 100%;
  animation: fadeIn 0.25s ease;
}

/* ==========================================================================
   DIRECT TOP-EDGE HANGING CHARM (IN FRONT OF MENU BAR & UNCLIPPED)
   ========================================================================== */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  width: 100%;
  min-height: 480px;
  position: relative;
  padding-bottom: 40px;
}

.top-screen-dangle-wrap {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1000; /* IN FRONT OF MENU BAR & ALWAYS ON SCREEN ACROSS SCROLLING */
  pointer-events: none;
  overflow: visible;
}

#heroCanvas {
  width: 100%;
  height: 100%;
  background: transparent;
  pointer-events: none; /* Dynamically enabled on charm hover */
  touch-action: none;
}

.hero-charm-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  pointer-events: auto;
  z-index: 10;
}

.btn-shuffle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-body);
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-shuffle:hover {
  background: #ecece8;
  color: var(--text-main);
  transform: scale(1.05);
}

/* ==========================================================================
   INTERACTIVE SANDBOX SECTION
   ========================================================================== */
.sandbox-section {
  padding: 60px 0 80px;
}

.sandbox-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 44px;
  align-items: center;
}

.sandbox-left {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.sandbox-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.sandbox-tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-gold);
}

.sandbox-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--text-main);
}

.sandbox-desc {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.6;
}

/* Controls Block */
.sandbox-controls {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 4px;
}

.control-label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
}

/* Dangle Avatar Selector */
.dangle-avatar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.dangle-avatar-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--bg-subtle);
  border: 1.5px solid rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.dangle-avatar-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.dangle-avatar-btn:hover {
  background: #ecece8;
  transform: translateY(-2px);
}

.dangle-avatar-btn.active {
  background: #ffffff;
  border-color: #141413;
  box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px rgba(229, 147, 37, 0.85);
  transform: scale(1.06);
}

/* Size Slider */
.slider-control-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.custom-slider {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 2px;
  background: #e4e4e0;
  outline: none;
  cursor: pointer;
}

.custom-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--btn-black);
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: transform 0.12s ease;
}

.custom-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.slider-val-badge {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-body);
  min-width: 44px;
  text-align: right;
}

/* Position Segmented Switch */
.position-segmented {
  display: flex;
  background: var(--bg-subtle);
  padding: 3px;
  border-radius: var(--radius-sm);
  gap: 3px;
  max-width: 320px;
}

.pos-btn {
  flex: 1;
  padding: 7px 12px;
  border: none;
  background: transparent;
  color: var(--text-body);
  font-size: 12.5px;
  font-weight: 550;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.pos-btn.active {
  background: var(--btn-black);
  color: #ffffff;
}

/* Sandbox Right Screen */
.sandbox-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.sandbox-screen {
  width: 100%;
  height: 310px;
  background: linear-gradient(180deg, #f7efe7 0%, #ebe2d8 100%);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}

#sandboxCanvas {
  width: 100%;
  height: 100%;
  cursor: grab;
}

#sandboxCanvas:active {
  cursor: grabbing;
}

.sandbox-hint {
  font-size: 12.5px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   "IT BELONGS ON YOUR DESKTOP" GALLERY
   ========================================================================== */
.gallery-section {
  padding: 70px 0 90px;
}

.section-title-center {
  text-align: center;
  margin-bottom: 40px;
}

.gallery-heading {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-main);
  margin-bottom: 8px;
}

.gallery-subheading {
  font-size: 15px;
  color: var(--text-body);
}

.setups-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

@media (max-width: 1024px) {
  .setups-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .setups-grid {
    grid-template-columns: 1fr;
  }
}

.setup-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 16 / 10;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border-subtle);
  background: #ffffff;
  cursor: pointer;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease;
}

.setup-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
}

.setup-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Overlay Charm hanging inside setup card */
.setup-charm-overlay {
  position: absolute;
  top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
  z-index: 2;
}

.charm-pos-center {
  left: 50%;
  transform: translateX(-50%);
}

.charm-pos-right {
  left: 68%;
  transform: translateX(-50%);
}

.charm-pos-kakashi {
  left: 74%;
  transform: translateX(-50%);
}

.setup-rope-line {
  width: 1.5px;
  height: 44px;
  background: #785338;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.setup-charm-overlay img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.45));
  animation: setup-gentle-sway 4s ease-in-out infinite alternate;
  transform-origin: top center;
}

.setup-card:nth-child(2) .setup-charm-overlay img {
  animation-delay: -1.2s;
}

.setup-card:nth-child(3) .setup-charm-overlay img {
  animation-delay: -2.4s;
}

.setup-card:nth-child(4) .setup-charm-overlay img {
  animation-delay: -0.7s;
}

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

/* ==========================================================================
   FEATURES / HOW IT WORKS
   ========================================================================== */
.features-section {
  padding: 60px 0 80px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  box-shadow: var(--shadow-soft);
}

.feature-icon-pill {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  margin-bottom: 18px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.feature-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}

.feature-desc {
  font-size: 13.5px;
  color: var(--text-body);
  line-height: 1.6;
}

/* ==========================================================================
   FAQ SECTION (Clean Apple Minimalist Accordion)
   ========================================================================== */
.faq-section {
  padding: 90px 0 60px;
}

.faq-container,
.privacy-container {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-header-center {
  text-align: center;
  margin-bottom: 36px;
}

.section-badge {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-gold-text);
  background: var(--accent-gold-light);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 750;
  letter-spacing: -0.03em;
  color: var(--text-main);
  line-height: 1.25;
}

.section-subtitle {
  font-size: 15px;
  color: var(--text-body);
  margin-top: 8px;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  overflow: hidden;
  transition: box-shadow 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

.faq-item:hover {
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}

.faq-item.active {
  border-color: rgba(0, 0, 0, 0.14);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-heading);
  font-size: 15.5px;
  font-weight: 650;
  color: var(--text-main);
  text-align: left;
  cursor: pointer;
  user-select: none;
  gap: 16px;
  transition: color 0.15s ease;
}

.faq-question:focus,
.faq-question:focus-visible {
  outline: none;
  box-shadow: none;
}

.faq-question:hover {
  color: #000000;
}

.faq-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--text-main);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.32s cubic-bezier(0.16, 1, 0.3, 1), padding 0.25s ease;
  padding: 0 24px;
}

.faq-item.active .faq-answer {
  max-height: 220px;
  padding: 16px 24px 20px 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.faq-answer p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-body);
}

/* ==========================================================================
   PRIVACY SECTION (Warm Minimalist Assurance)
   ========================================================================== */
.privacy-section {
  padding: 40px 0 90px;
}

.privacy-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 24px;
  padding: 40px 36px;
  box-shadow: var(--shadow-soft);
}

.privacy-card-header {
  text-align: center;
  margin-bottom: 32px;
}

.privacy-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-main);
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

.privacy-heading {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-main);
  line-height: 1.25;
}

.privacy-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}

.privacy-pillar {
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.privacy-pillar:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.pillar-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  color: var(--text-main);
}

.pillar-title {
  font-family: var(--font-heading);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
  line-height: 1.35;
}

.pillar-desc {
  font-size: 12.5px;
  color: var(--text-body);
  line-height: 1.55;
}

.privacy-note-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--accent-gold-light);
  border: 1px solid rgba(229, 147, 37, 0.2);
  border-radius: 16px;
  padding: 16px 20px;
  text-align: left;
}

.note-icon {
  color: var(--accent-gold-text);
  flex-shrink: 0;
  margin-top: 2px;
}

.note-content-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.note-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-gold-text);
}

.note-content {
  font-size: 13.5px;
  color: #7a4603;
  font-weight: 500;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .privacy-pillars-grid {
    grid-template-columns: 1fr;
  }
  .privacy-card {
    padding: 30px 20px;
  }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 40px 0 30px;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-main);
  font-weight: 600;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
}

.footer-links a {
  color: var(--text-body);
  text-decoration: none;
  transition: color 0.12s ease;
}

.footer-links a:hover {
  color: var(--text-main);
}

/* ==========================================================================
   RESPONSIVE (MOBILE & TABLET)
   ========================================================================== */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }
  .hero-content {
    align-items: center;
    text-align: center;
  }
  .hero-badge-pill {
    align-self: center;
  }
  .hero-title {
    font-size: 2.85rem;
  }
  .hero-subtitle {
    max-width: 100%;
    margin: 0 auto;
  }
  .hero-cta {
    width: 100%;
    max-width: 330px;
    margin: 0 auto;
    align-items: center;
  }
  .hero-btn-row {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
    gap: 10px;
  }
  .btn-hero-windows {
    width: 100%;
    min-width: 0;
    justify-content: center;
  }
  .mac-btn-wrap {
    width: 100%;
    display: block;
  }
  .btn-hero-mac-toggle {
    width: 100%;
    min-width: 0;
    justify-content: center;
  }
  .mac-popover {
    width: 100%;
    left: 0;
    right: 0;
    box-sizing: border-box;
  }
  .mac-popover::before {
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
  }
  .hero-meta-text {
    justify-content: center;
    text-align: center;
    width: 100%;
  }
  .hero-visual {
    min-height: 50px;
    padding-bottom: 0;
    align-items: center;
    justify-content: center;
  }
  .hero-charm-badge {
    position: static;
    margin: 0 auto;
  }
  .top-screen-dangle-wrap {
    height: 100vh;
  }
  .sandbox-card {
    grid-template-columns: 1fr;
  }
  .setups-grid {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   MOBILE SIDEBAR DRAWER & TINY MENU ICON TRIGGER
   ========================================================================== */
.mobile-menu-btn {
  display: none;
  position: fixed;
  top: 12px;
  left: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  box-shadow: 0 2px 8px rgba(20, 20, 19, 0.08);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1002;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu-btn:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: scale(1.06);
}

.mobile-sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.mobile-sidebar {
  position: fixed;
  top: 12px;
  left: 12px;
  bottom: 12px;
  width: 240px;
  max-width: 78vw;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.04);
  z-index: 2001;
  transform: translateX(calc(-100% - 24px));
  transition: transform 0.34s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  padding: 16px 14px 14px;
  box-sizing: border-box;
}

body.sidebar-open .mobile-sidebar-overlay {
  opacity: 1;
  pointer-events: auto;
}

body.sidebar-open .mobile-sidebar {
  transform: translateX(0);
}

.mobile-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  margin-bottom: 10px;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.sidebar-brand-img {
  width: 22px;
  height: 22px;
  border-radius: 5px;
}

.sidebar-brand-name {
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.btn-sidebar-close {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.05);
  color: var(--text-body);
  font-size: 16px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-sidebar-close:hover {
  background: rgba(0, 0, 0, 0.1);
  color: #000000;
}

.mobile-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}

.sidebar-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--text-main);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.sidebar-item-icon {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: color 0.15s ease;
}

.sidebar-nav-item:hover,
.sidebar-nav-item:active {
  background: rgba(0, 0, 0, 0.05);
  color: #000000;
}

.sidebar-nav-item:hover .sidebar-item-icon {
  color: var(--text-main);
}

.mobile-sidebar-footer {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.btn-sidebar-download {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--btn-black);
  color: #ffffff;
  padding: 9px 12px;
  height: 38px;
  border-radius: var(--radius-full);
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 650;
  box-shadow: 0 3px 10px rgba(20, 20, 19, 0.16);
  transition: all 0.2s ease;
}

.btn-sidebar-download:hover {
  background: var(--btn-black-hover);
  transform: translateY(-1px);
}

@media (max-width: 992px) {
  /* REMOVE NOTCH, LOGO & TOP SEGMENTED MENU ON MOBILE */
  .brand,
  .navbar {
    display: none !important;
  }
  .top-center-header-stack,
  .apple-dynamic-notch-wrap,
  .apple-dynamic-notch,
  .nav-segmented-pill {
    display: none !important;
  }
  
  /* SHOW TINY SMALL MENU ICON */
  .mobile-menu-btn {
    display: flex !important;
  }

  /* OPTIMIZE DANGLE CANVAS: only 240px tall on mobile instead of full 100vh for ultra-smooth 60fps */
  .top-screen-dangle-wrap {
    height: 240px !important;
  }
  
  .hero {
    padding-top: 54px !important;
    padding-bottom: 40px;
  }
  .hero-title {
    font-size: 2.3rem;
    line-height: 1.1;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .sandbox-card {
    padding: 22px 18px;
  }
  .faq-section {
    padding: 60px 0 40px;
  }
  .section-title {
    font-size: 1.75rem;
  }
  .privacy-heading {
    font-size: 1.75rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.05rem;
  }
}
