/* ==========================================================================
   NallaNeram Charm — Woblo Design System (https://woblo.in/?ref=landingfolio)
   Crafted with Inter, Instrument Serif, Geist Mono, Tactile Glossy Surfaces,
   Bento Micro-Chrome Cards, Fanned Interactive Decks, and Verlet Physics.
   ========================================================================== */

:root {
  color-scheme: light;
  --bg-page: #ffffff;
  --bg-surface: #ffffff;
  --bg-surface-sunken: #f7f8fa;
  --bg-surface-elevated: #ffffff;

  /* Ink & Typography Colors */
  --color-ink: #101013;
  --color-ink-body: #4a4a52;
  --color-ink-subtle: #71717a;
  --color-ink-muted: #a1a1aa;

  /* Accent Blues (Woblo Electric Craft) */
  --color-accent: #0f7fff;
  --color-accent-strong: #0066e6;
  --color-accent-wash: rgba(15, 127, 255, 0.08);
  --color-accent-border: #6ba0ef;

  /* Lines & Borders */
  --border-line: rgba(0, 0, 0, 0.08);
  --border-line-strong: rgba(0, 0, 0, 0.16);

  /* Fonts */
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, Cambria, serif;
  --font-mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Radii */
  --radius-card: 16px;
  --radius-chrome: 12px;
  --radius-pill: 9999px;

  /* Shadows */
  --shadow-subtle: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.05), 0 6px 16px -6px rgba(0, 0, 0, 0.05);
  --shadow-card-hover: 0 4px 12px rgba(0, 0, 0, 0.06), 0 16px 32px -8px rgba(0, 0, 0, 0.10);
  --shadow-window: 0 1px 2px rgba(0, 0, 0, 0.04), 0 24px 60px -20px rgba(0, 0, 0, 0.18);
  --shadow-pill: 0 10px 24px rgba(0, 0, 0, 0.16);
  --shadow-deck: 0 4px 14px rgba(16, 24, 48, 0.20);

  /* Layout Containers */
  --max-width: 1024px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg-page);
  color: var(--color-ink);
  font-family: var(--font-sans);
  font-size: 15.5px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

button, input, select, textarea {
  font: inherit;
}

/* Typography Utilities */
.font-serif { font-family: var(--font-serif); }
.font-mono { font-family: var(--font-mono); }
.text-center { text-align: center; }
.text-accent { color: var(--color-accent); }
.text-ink { color: var(--color-ink); }
.text-body { color: var(--color-ink-body); }
.text-subtle { color: var(--color-ink-subtle); }
.text-muted { color: var(--color-ink-muted); }

.woblo-container {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.max-w-3xl { max-width: 768px; }
.max-w-4xl { max-width: 896px; }
.max-w-5xl { max-width: 1024px; }

/* Sections */
.woblo-section {
  padding-top: clamp(64px, 9vw, 96px);
  padding-bottom: clamp(64px, 9vw, 96px);
  position: relative;
}

.woblo-section.bg-sunken {
  background-color: var(--bg-surface-sunken);
  border-top: 1px solid var(--border-line);
  border-bottom: 1px solid var(--border-line);
}

.woblo-h2 {
  font-family: var(--font-sans);
  font-size: clamp(28px, 3.8vw, 40px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--color-ink);
}

.woblo-lede {
  margin-top: 12px;
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.5;
  color: var(--color-ink-body);
  max-width: 58ch;
  margin-left: auto;
  margin-right: auto;
}

.woblo-h3 {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--color-ink);
  line-height: 1.3;
}

.woblo-body {
  font-size: 14px;
  line-height: 1.55;
  color: var(--color-ink-body);
  margin-top: 6px;
}

/* ==========================================================================
   Tactile & Glossy Buttons (Woblo Signature Aesthetic)
   ========================================================================== */

.btn-glossy-primary {
  position: relative;
  display: inline-flex;
  height: 42px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: var(--radius-pill);
  padding: 0 22px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #000000;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.85);
  background: linear-gradient(#edf4ff 0%, #d6e7ff 18%, #a2c7ff 50%, #99cbf8 80%, #a2d2f7 100%);
  border: 1px solid var(--color-accent-border);
  box-shadow: var(--shadow-pill);
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
}

.btn-glossy-primary::before {
  content: "";
  position: absolute;
  inset-inline: 12px;
  top: 2px;
  height: 11px;
  border-radius: var(--radius-pill);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.btn-glossy-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-pill);
  box-shadow: inset 0 -15px 2px -12px rgba(255, 255, 255, 0.35);
  mix-blend-mode: screen;
  pointer-events: none;
}

.btn-glossy-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

.btn-glossy-primary:active {
  transform: scale(0.97);
}

.btn-glossy-secondary {
  position: relative;
  display: inline-flex;
  height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-pill);
  padding: 0 20px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--color-ink);
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.85);
  background: linear-gradient(#ffffff 0%, #f7f7f7 42%, #f1f1f1 100%);
  border: 1px solid rgba(0, 0, 0, 0.14);
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
}

.btn-glossy-secondary::before {
  content: "";
  position: absolute;
  inset-inline: 12px;
  top: 2px;
  height: 11px;
  border-radius: var(--radius-pill);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.btn-glossy-secondary:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 0, 0, 0.26);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.btn-glossy-secondary:active {
  transform: scale(0.97);
}

.btn-frosted-pill {
  position: relative;
  display: inline-flex;
  height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-pill);
  padding: 0 18px;
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--color-accent);
  background: #ffffff;
  border: 1px solid rgba(15, 127, 255, 0.28);
  box-shadow: 0 2px 8px rgba(15, 127, 255, 0.08);
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease;
  cursor: pointer;
  text-decoration: none;
}

.btn-frosted-pill:hover {
  background: rgba(15, 127, 255, 0.04);
  border-color: var(--color-accent);
  transform: translateY(-1px);
}

.tag-soon {
  background: var(--color-accent);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 99px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.btn-line {
  background: #ffffff;
  color: var(--color-ink);
  border: 1px solid var(--border-line);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  padding: 8px 16px;
  font-size: 13.5px;
  font-weight: 500;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-line:hover {
  border-color: var(--border-line-strong);
  background: #fafafa;
  transform: translateY(-1px);
}

/* ==========================================================================
   Announcement Teaser Banner
   ========================================================================== */

.mobile-teaser-banner {
  background: #0d1326;
  color: #ffffff;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  z-index: 920;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  text-align: center;
}

.mobile-teaser-banner .teaser-link {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1.2;
  transition: background 0.15s ease, transform 0.15s ease;
}

.mobile-teaser-banner .teaser-link:hover {
  background: rgba(255, 255, 255, 0.26);
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .mobile-teaser-banner {
    padding: 6px 12px;
    font-size: 11.5px;
    gap: 8px;
    line-height: 1.35;
  }
  .mobile-teaser-banner .teaser-link {
    font-size: 11px;
    padding: 3px 10px;
  }
}

/* ==========================================================================
   Sticky 52px Navigation Bar (Woblo Clean Minimal Header)
   ========================================================================== */

.woblo-header {
  position: sticky;
  top: 0;
  z-index: 900;
  height: 52px;
  background: rgba(247, 248, 250, 0.90);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-line);
}

.woblo-header-inner {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  gap: 16px;
}

.woblo-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.woblo-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-ink);
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.woblo-brand-icon {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.woblo-nav-link {
  font-size: 14.5px;
  color: rgba(0, 0, 0, 0.58);
  font-weight: 500;
  letter-spacing: -0.02em;
  transition: color 0.15s ease;
}

.woblo-nav-link:hover {
  color: var(--color-ink);
}

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

.woblo-header-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  background: var(--color-accent);
  box-shadow: 0 2px 8px rgba(15, 127, 255, 0.28);
  transition: background 0.15s ease, transform 0.15s ease;
}

.woblo-header-cta:hover {
  background: var(--color-accent-strong);
  transform: translateY(-1px);
}

.woblo-mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-ink);
  padding: 6px;
  cursor: pointer;
}

@media (max-width: 820px) {
  .woblo-nav-link {
    display: none;
  }
  .woblo-mobile-toggle {
    display: inline-flex;
  }
}

/* ==========================================================================
   Hero Section (Radial Glow, Typography Accent, Showcase Window)
   ========================================================================== */

.woblo-hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(48px, 8vw, 80px);
  padding-bottom: clamp(56px, 8vw, 96px);
}

.hero-ambient-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90vmin;
  height: 60vmin;
  background: radial-gradient(ellipse at center, rgba(15, 127, 255, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 450;
  color: var(--color-ink-subtle);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-line);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 94vw;
  text-decoration: none;
}

.hero-eyebrow-pill:hover {
  transform: translateY(-1px);
  border-color: rgba(15, 127, 255, 0.35);
  box-shadow: 0 4px 14px rgba(15, 127, 255, 0.12);
  color: var(--color-ink);
}

.hero-eyebrow-pill strong {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--color-ink);
  font-variant-numeric: tabular-nums;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25);
  display: inline-block;
  flex-shrink: 0;
  animation: pulseBeacon 2s infinite ease-in-out;
}

@keyframes pulseBeacon {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
  70% { transform: scale(1.15); box-shadow: 0 0 0 5px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

@media (max-width: 540px) {
  .hero-eyebrow-pill {
    font-size: 11.5px;
    padding: 5px 12px;
    gap: 6px;
    white-space: nowrap;
  }
}

.woblo-hero-h1 {
  font-family: var(--font-sans);
  font-size: clamp(36px, 5.5vw, 60px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--color-ink);
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
}

.woblo-serif-accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--color-accent);
  display: inline-block;
  letter-spacing: -0.01em;
}

.woblo-hero-desc {
  margin-top: 18px;
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.55;
  color: var(--color-ink-body);
  max-width: 44rem;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: -0.02em;
}

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

@media (max-width: 560px) {
  .woblo-hero-ctas {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
    gap: 10px;
  }
  .woblo-hero-ctas > a,
  .woblo-hero-ctas > button {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

/* ==========================================================================
   Hero Showcase Window (The 16:10 Curved Stage with Live Physics)
   ========================================================================== */

.hero-showcase-wrapper {
  margin-top: clamp(40px, 6vw, 56px);
  position: relative;
  z-index: 2;
}

.hero-showcase-frame {
  position: relative;
  width: 100%;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  height: 480px;
  background: #ffffff;
  border: 1px solid var(--border-line);
  border-bottom: 0;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  box-shadow: var(--shadow-window);
  overflow: clip;
  display: flex;
  flex-direction: column;
}

@media (max-width: 768px) {
  .hero-showcase-frame {
    height: 420px;
  }
}

.showcase-chrome-bar {
  height: 38px;
  background: var(--bg-surface-sunken);
  border-bottom: 1px solid var(--border-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  font-size: 11.5px;
  color: var(--color-ink-subtle);
  user-select: none;
  z-index: 10;
  position: relative;
}

.chrome-traffic-lights {
  display: flex;
  align-items: center;
  gap: 6px;
}

.chrome-traffic-lights .light {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.chrome-traffic-lights .light.red { background: #ff5f56; }
.chrome-traffic-lights .light.yellow { background: #ffbd2e; }
.chrome-traffic-lights .light.green { background: #27c93f; }

.chrome-url-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid var(--border-line);
  padding: 3px 14px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--color-ink-subtle);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.chrome-status-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #10b981;
}
.chrome-status-tag .live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
}

/* SVG Dangle Stage inside Showcase */
.dg-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  z-index: 2;
}

#dgBeads:empty { display: none; }

.dg-handle {
  position: absolute;
  left: 0;
  top: 0;
  width: 160px;
  height: 165px;
  border-radius: 50%;
  cursor: grab;
  z-index: 8;
  touch-action: none;
  transform-origin: 0 0;
}

.dg-handle:active {
  cursor: grabbing;
}

.showcase-stage-hint {
  position: absolute;
  bottom: 14px;
  left: 16px;
  z-index: 10;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-line);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--color-ink);
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  pointer-events: none;
}

.showcase-stage-hint .sub-hint {
  color: var(--color-ink-subtle);
}

/* Horizontal Hero Charms Switcher Tray */
.hero-charms-bar {
  max-width: 920px;
  margin: 0 auto;
  background: var(--bg-surface-sunken);
  border: 1px solid var(--border-line);
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  padding: 12px 16px;
}

.hero-charms-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 12px;
  flex-wrap: wrap;
  gap: 6px;
}

.hero-charms-title {
  font-weight: 600;
  color: var(--color-ink);
}

.hero-charms-spec {
  font-size: 11px;
  color: var(--color-ink-subtle);
}

.hero-charms-tray {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.hero-charms-tray::-webkit-scrollbar { height: 4px; }
.hero-charms-tray::-webkit-scrollbar-track { background: transparent; }
.hero-charms-tray::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 99px; }

.hero-charm-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-line);
  background: #ffffff;
  color: var(--color-ink);
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.hero-charm-chip:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-1px);
}

.hero-charm-chip.is-active {
  background: var(--color-ink);
  color: #ffffff;
  border-color: var(--color-ink);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* ==========================================================================
   Woblo Bento Features Grid ("Everything a screen talisman is crafted from")
   ========================================================================== */

.woblo-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 40px;
}

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

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

.woblo-bento-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-card);
  padding: 14px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.woblo-bento-card:hover {
  border-color: var(--border-line-strong);
  box-shadow: var(--shadow-card);
}

.woblo-bento-chrome {
  height: 104px;
  border-radius: var(--radius-chrome);
  background: var(--bg-surface-sunken);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  position: relative;
  overflow: hidden;
}

/* Bento Card 1: Physics Sim */
.bento-physics-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
}

.bento-tag-mono {
  font-family: var(--font-mono);
  font-size: 10px;
  background: var(--color-ink);
  color: #ffffff;
  padding: 2px 6px;
  border-radius: 4px;
}

.bento-tag-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--color-ink-subtle);
}

.bento-pendulum-sim {
  display: flex;
  flex-direction: column;
  align-items: center;
  transform-origin: top center;
  animation: bentoSway 2.4s ease-in-out infinite;
}

.sim-pivot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-ink);
}

.sim-rod {
  width: 1.5px;
  height: 24px;
  background: #8b5a2b;
}

.sim-bob {
  font-size: 16px;
  line-height: 1;
}

@keyframes bentoSway {
  0%, 100% { transform: rotate(14deg); }
  50% { transform: rotate(-14deg); }
}

/* Bento Card 2: Cultural Swatches */
.bento-charms-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.bento-color-row {
  display: flex;
  gap: 6px;
  width: 100%;
}

.bento-swatch {
  flex: 1;
  height: 32px;
  border-radius: 6px;
  border: 1px solid var(--border-line);
}

.bento-meta-mono {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--color-ink-subtle);
}

/* Bento Card 3: Clickthrough */
.bento-clickthrough-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
}

.bento-editor-snippet {
  background: #ffffff;
  border: 1px solid var(--border-line);
  padding: 4px 10px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.bento-pass-badge {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  font-size: 9px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 4px;
}

/* Bento Card 4: Audio Wave */
.bento-audio-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.bento-wave-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 32px;
}

.wave-bar {
  width: 4px;
  background: var(--color-accent);
  border-radius: 2px;
  animation: waveBar 1.2s ease-in-out infinite alternate;
}
.wave-bar.h-3 { height: 12px; animation-delay: 0.1s; }
.wave-bar.h-6 { height: 22px; animation-delay: 0.25s; }
.wave-bar.h-10 { height: 30px; animation-delay: 0.4s; }
.wave-bar.h-7 { height: 24px; animation-delay: 0.15s; }
.wave-bar.h-4 { height: 14px; animation-delay: 0.3s; }

@keyframes waveBar {
  0% { transform: scaleY(0.4); }
  100% { transform: scaleY(1); }
}

/* Bento Card 5: Glow Halo */
.bento-glow-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.bento-glow-disc {
  font-size: 24px;
  filter: drop-shadow(0 0 12px rgba(245, 158, 11, 0.85)) drop-shadow(0 0 20px rgba(16, 185, 129, 0.65));
  animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.6)); }
  50% { transform: scale(1.1); filter: drop-shadow(0 0 18px rgba(245, 158, 11, 0.95)) drop-shadow(0 0 30px rgba(16, 185, 129, 0.8)); }
}

/* Bento Card 6: Privacy Spec */
.bento-privacy-preview {
  background: #ffffff;
  border: 1px solid var(--border-line);
  border-radius: 6px;
  width: 100%;
  max-width: 220px;
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 9.5px;
}

.bento-file-header {
  background: var(--bg-surface-sunken);
  border-bottom: 1px solid var(--border-line);
  padding: 3px 8px;
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--color-ink-subtle);
}

.dot-green {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #10b981;
}

.bento-file-content {
  padding: 4px 8px;
  line-height: 1.4;
  color: var(--color-ink-subtle);
}

/* ==========================================================================
   Dual Fanned Interactive Decks ("hover to open")
   ========================================================================== */

.woblo-decks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 36px;
}

@media (max-width: 768px) {
  .woblo-decks-grid {
    grid-template-columns: 1fr;
  }
}

.woblo-deck-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-card);
  padding: 14px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.woblo-deck-card:hover {
  border-color: var(--border-line-strong);
  box-shadow: var(--shadow-card-hover);
}

.woblo-deck-hint {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--color-ink-subtle);
  position: absolute;
  top: 12px;
  left: 0;
  right: 0;
  pointer-events: none;
  z-index: 10;
}

.woblo-fanned-deck {
  list-style: none;
  position: relative;
  height: 180px;
  margin-top: 10px;
}

.fanned-item {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow-deck);
  overflow: hidden;
  border: 1px solid var(--border-line);
  display: grid;
  place-items: center;
  transition: transform 520ms cubic-bezier(.2, .9, .25, 1);
}

.fanned-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}

/* Formula for resting transforms */
.f-1 { transform: translate(calc(-50% - 130px), calc(-50% + 15px)) rotate(-12deg) scale(0.92); }
.f-2 { transform: translate(calc(-50% - 90px), calc(-50% + 10px)) rotate(-8deg) scale(0.92); }
.f-3 { transform: translate(calc(-50% - 50px), calc(-50% + 5px)) rotate(-4deg) scale(0.92); }
.f-4 { transform: translate(calc(-50% - 10px), calc(-50% + 0px)) rotate(0deg) scale(0.92); }
.f-5 { transform: translate(calc(-50% + 30px), calc(-50% + 5px)) rotate(4deg) scale(0.92); }
.f-6 { transform: translate(calc(-50% + 70px), calc(-50% + 10px)) rotate(8deg) scale(0.92); }
.f-7 { transform: translate(calc(-50% + 110px), calc(-50% + 15px)) rotate(12deg) scale(0.92); }
.f-8 { transform: translate(calc(-50% + 150px), calc(-50% + 20px)) rotate(16deg) scale(0.92); }

/* Fanned Out on Hover */
.woblo-deck-card:hover .f-1 { transform: translate(calc(-50% - 170px), calc(-50% + 0px)) rotate(-18deg) scale(1.05); }
.woblo-deck-card:hover .f-2 { transform: translate(calc(-50% - 120px), calc(-50% - 8px)) rotate(-12deg) scale(1.05); }
.woblo-deck-card:hover .f-3 { transform: translate(calc(-50% - 70px), calc(-50% - 14px)) rotate(-6deg) scale(1.05); }
.woblo-deck-card:hover .f-4 { transform: translate(calc(-50% - 20px), calc(-50% - 16px)) rotate(0deg) scale(1.05); }
.woblo-deck-card:hover .f-5 { transform: translate(calc(-50% + 30px), calc(-50% - 14px)) rotate(6deg) scale(1.05); }
.woblo-deck-card:hover .f-6 { transform: translate(calc(-50% + 80px), calc(-50% - 8px)) rotate(12deg) scale(1.05); }
.woblo-deck-card:hover .f-7 { transform: translate(calc(-50% + 130px), calc(-50% + 0px)) rotate(18deg) scale(1.05); }
.woblo-deck-card:hover .f-8 { transform: translate(calc(-50% + 180px), calc(-50% + 10px)) rotate(24deg) scale(1.05); }

/* Fanned Pills Deck */
.fanned-pill {
  position: absolute;
  left: 50%;
  top: 50%;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: var(--shadow-deck);
  transition: transform 520ms cubic-bezier(.2, .9, .25, 1);
}

.fp-1 { transform: translate(calc(-50% - 110px), calc(-50% + 12px)) rotate(-10deg) scale(0.92); }
.fp-2 { transform: translate(calc(-50% - 70px), calc(-50% + 6px)) rotate(-6deg) scale(0.92); }
.fp-3 { transform: translate(calc(-50% - 30px), calc(-50% + 0px)) rotate(-2deg) scale(0.92); }
.fp-4 { transform: translate(calc(-50% + 10px), calc(-50% + 2px)) rotate(3deg) scale(0.92); }
.fp-5 { transform: translate(calc(-50% + 50px), calc(-50% + 8px)) rotate(7deg) scale(0.92); }
.fp-6 { transform: translate(calc(-50% + 90px), calc(-50% + 14px)) rotate(11deg) scale(0.92); }
.fp-7 { transform: translate(calc(-50% + 130px), calc(-50% + 20px)) rotate(15deg) scale(0.92); }

.woblo-deck-card:hover .fp-1 { transform: translate(calc(-50% - 140px), calc(-50% - 6px)) rotate(-14deg) scale(1.04); }
.woblo-deck-card:hover .fp-2 { transform: translate(calc(-50% - 90px), calc(-50% - 12px)) rotate(-8deg) scale(1.04); }
.woblo-deck-card:hover .fp-3 { transform: translate(calc(-50% - 40px), calc(-50% - 15px)) rotate(-3deg) scale(1.04); }
.woblo-deck-card:hover .fp-4 { transform: translate(calc(-50% + 10px), calc(-50% - 12px)) rotate(4deg) scale(1.04); }
.woblo-deck-card:hover .fp-5 { transform: translate(calc(-50% + 60px), calc(-50% - 6px)) rotate(9deg) scale(1.04); }
.woblo-deck-card:hover .fp-6 { transform: translate(calc(-50% + 110px), calc(-50% + 2px)) rotate(15deg) scale(1.04); }
.woblo-deck-card:hover .fp-7 { transform: translate(calc(-50% + 160px), calc(-50% + 12px)) rotate(20deg) scale(1.04); }

.woblo-deck-footer {
  margin-top: auto;
  border-radius: var(--radius-card);
  background: var(--bg-surface-sunken);
  padding: 16px;
}

/* ==========================================================================
   40 Cultural Charms Gallery (Woblo Card Aesthetic)
   ========================================================================== */

.gallery-controls {
  margin: 32px 0 24px;
}

.gallery-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.tab-btn {
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-line);
  background: #ffffff;
  color: var(--color-ink-subtle);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.tab-btn:hover {
  border-color: var(--border-line-strong);
  color: var(--color-ink);
}

.tab-btn.is-active {
  background: var(--color-ink);
  color: #ffffff;
  border-color: var(--color-ink);
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.14);
}

.tab-btn.trending-btn {
  background: #fff7ed;
  color: #c2410c;
  border-color: #fed7aa;
}

.tab-btn.trending-btn.is-active {
  background: #ea580c;
  color: #ffffff;
  border-color: #ea580c;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}

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

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

.card {
  background: #ffffff;
  border: 1px solid var(--border-line);
  border-radius: var(--radius-card);
  padding: 16px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.card:hover {
  border-color: var(--border-line-strong);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.card .art {
  height: 120px;
  width: 100%;
  border-radius: var(--radius-chrome);
  background: var(--bg-surface-sunken);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 0;
  padding: 0;
  position: relative;
  overflow: hidden;
}

.card .art img {
  height: 84px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 8px rgba(16, 24, 48, 0.15));
  transition: transform 0.25s ease, filter 0.25s ease;
}

.card:hover .art img {
  transform: scale(1.06);
}

.card h3 {
  font-size: 16.5px;
  font-weight: 600;
  margin-top: 14px;
  color: var(--color-ink);
}

.pill {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--color-ink-subtle);
  margin-top: 4px;
}

.card p {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--color-ink-body);
  margin-top: 8px;
  flex: 1;
}

.card .btn-line {
  margin-top: 16px;
  width: 100%;
}

.trending-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #ea580c;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  z-index: 5;
  box-shadow: 0 2px 6px rgba(234, 88, 12, 0.35);
}

/* ==========================================================================
   Woblo Pricing & Comparison Grid (100% Free Forever)
   ========================================================================== */

.woblo-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
  align-items: stretch;
}

@media (max-width: 860px) {
  .woblo-pricing-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }
}

.woblo-pricing-card {
  background: #ffffff;
  border: 1px solid var(--border-line);
  border-radius: var(--radius-card);
  padding: 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-subtle);
}

.woblo-pricing-card.is-featured {
  border: 2px solid var(--color-accent);
  box-shadow: 0 8px 24px rgba(15, 127, 255, 0.14);
}

.pricing-badge-pill {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-accent);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 12px;
  border-radius: 99px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pricing-card-header {
  margin-bottom: 20px;
}

.pricing-tier-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-ink-subtle);
}

.pricing-amount {
  font-family: var(--font-sans);
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--color-ink);
  margin-top: 6px;
  line-height: 1;
}

.pricing-amount small {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-ink-subtle);
  margin-left: 4px;
}

.pricing-sub {
  font-size: 13px;
  color: var(--color-ink-subtle);
  margin-top: 6px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.pricing-features li {
  font-size: 13.5px;
  color: var(--color-ink-body);
  display: flex;
  align-items: center;
  gap: 8px;
}

.feat-check::before {
  content: "✓";
  color: #10b981;
  font-weight: 800;
}

.feat-cross::before {
  content: "✕";
  color: #ef4444;
  font-weight: 800;
}

.w-full { width: 100%; }

/* ==========================================================================
   Reviews Wall (Masonry Grid & Bottom Banner)
   ========================================================================== */

.woblo-reviews-columns {
  column-count: 3;
  column-gap: 16px;
  margin-top: 40px;
}

@media (max-width: 860px) {
  .woblo-reviews-columns {
    column-count: 2;
  }
}

@media (max-width: 580px) {
  .woblo-reviews-columns {
    column-count: 1;
  }
}

.woblo-review-card {
  break-inside: avoid;
  background: #ffffff;
  border: 1px solid var(--border-line);
  border-radius: var(--radius-card);
  padding: 18px;
  margin-bottom: 16px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.woblo-review-card:hover {
  border-color: var(--border-line-strong);
  box-shadow: var(--shadow-card);
}

.review-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.review-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-ink);
}

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

.review-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--color-ink);
}

.review-date {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--color-ink-subtle);
}

.review-stars {
  color: #f59e0b;
  font-size: 12px;
}

.review-quote {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--color-ink-body);
  margin-top: 12px;
}

.woblo-review-summary-banner {
  margin-top: 24px;
  border-radius: 18px;
  padding: 2px;
  background: linear-gradient(103deg, #9cc9ff 0%, #4da3ff 38%, #0f7fff 72%, #1d6ee5 100%);
}

.review-summary-inner {
  background: #ffffff;
  border-radius: 16px;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.summary-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.avatar-stack {
  display: flex;
}

.avatar-stack .av {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 600;
  margin-left: -8px;
}
.avatar-stack .av:first-child { margin-left: 0; }
.avatar-stack .av-count {
  background: var(--color-ink);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 9px;
}

.summary-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
}
.rating-num { font-weight: 700; }
.rating-stars { color: #f59e0b; }
.rating-text { color: var(--color-ink-subtle); }

.summary-cta {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ==========================================================================
   Woblo FAQ Accordion Cards
   ========================================================================== */

.woblo-faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 36px;
}

.woblo-faq-card {
  background: #ffffff;
  border: 1px solid var(--border-line);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.woblo-faq-card:hover {
  border-color: var(--border-line-strong);
}

.woblo-faq-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-ink);
  letter-spacing: -0.02em;
}

.woblo-faq-plus {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-surface-sunken);
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 400;
  color: var(--color-ink);
  transition: transform 0.25s ease, background 0.25s ease;
  flex: none;
}

.woblo-faq-card[open] .woblo-faq-plus,
.woblo-faq-card.is-open .woblo-faq-plus {
  transform: rotate(45deg);
  background: var(--color-ink);
  color: #ffffff;
}

.woblo-faq-content {
  padding: 0 22px 20px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--color-ink-body);
}

/* ==========================================================================
   Woblo Footer (Minimal Modern 4-Column)
   ========================================================================== */

.woblo-footer {
  background: #ffffff;
  border-top: 1px solid var(--border-line);
  padding: 64px 20px 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 48px;
}

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

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

.footer-brand-header {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-bottom: 12px;
}

.footer-brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}

.footer-brand h4,
.footer-brand-header h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-ink);
  margin: 0;
}

.footer-brand p {
  font-size: 14px;
  color: var(--color-ink-body);
  line-height: 1.55;
  max-width: 32ch;
  margin-bottom: 12px;
}

.footer-col h5 {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-ink-subtle);
  margin-bottom: 14px;
}

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

.footer-col a {
  font-size: 14px;
  color: var(--color-ink-subtle);
  transition: color 0.15s ease;
}

.footer-col a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  border-top: 1px solid var(--border-line);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--color-ink-subtle);
}

.footer-bottom a:hover {
  color: var(--color-accent);
}

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 16px);
  opacity: 0;
  background: var(--color-ink);
  color: #ffffff;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 500;
  z-index: 999;
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}

.toast.show {
  transform: translate(-50%, 0);
  opacity: 1;
}

/* ==========================================================================
   Preserved SVG Animations & Charm Ritual Keyframes
   ========================================================================== */

@keyframes wave { 0%,100%{transform:rotate(0)} 15%{transform:rotate(-16deg)} 35%{transform:rotate(3deg)} 55%{transform:rotate(-14deg)} 75%{transform:rotate(2deg)} 90%{transform:rotate(-8deg)} }
@keyframes bell { 0%{transform:rotate(0)} 10%{transform:rotate(9deg)} 25%{transform:rotate(-8deg)} 40%{transform:rotate(6deg)} 55%{transform:rotate(-4deg)} 70%{transform:rotate(2.5deg)} 85%{transform:rotate(-1deg)} 100%{transform:rotate(0)} }
@keyframes clap { 0%{transform:rotate(0)} 10%{transform:rotate(-14deg)} 25%{transform:rotate(13deg)} 40%{transform:rotate(-10deg)} 55%{transform:rotate(7deg)} 70%{transform:rotate(-4deg)} 85%{transform:rotate(2deg)} 100%{transform:rotate(0)} }
@keyframes wings { 0%{opacity:0;transform:scale(.3,.85)} 18%{opacity:1;transform:scale(1,1)} 75%{opacity:1;transform:scale(1,1)} 100%{opacity:0;transform:scale(.4,.9)} }
@keyframes spin3d { 0%{transform:scaleX(1)} 25%{transform:scaleX(.08)} 50%{transform:scaleX(-1)} 75%{transform:scaleX(-.08)} 100%{transform:scaleX(1)} }
@keyframes knot { 0%{transform:scale(1,1)} 12%{transform:scale(.9,1.08)} 30%{transform:scale(1.03,.98)} 50%{transform:scale(.98,1.02)} 100%{transform:scale(1,1)} }
/* All-Device Universal Cross-Platform Radiant Glow Keyframes */
@keyframes glowUniversal {
  0% {
    -webkit-filter: drop-shadow(0 4px 7px rgba(0, 0, 0, 0.35)) brightness(1);
    filter: drop-shadow(0 4px 7px rgba(0, 0, 0, 0.35)) brightness(1);
  }
  35% {
    -webkit-filter: drop-shadow(0 0 16px rgba(251, 191, 36, 0.98)) drop-shadow(0 0 34px rgba(245, 158, 11, 0.88)) drop-shadow(0 0 54px rgba(217, 119, 6, 0.6)) drop-shadow(0 4px 7px rgba(0, 0, 0, 0.35)) brightness(1.32);
    filter: drop-shadow(0 0 16px rgba(251, 191, 36, 0.98)) drop-shadow(0 0 34px rgba(245, 158, 11, 0.88)) drop-shadow(0 0 54px rgba(217, 119, 6, 0.6)) drop-shadow(0 4px 7px rgba(0, 0, 0, 0.35)) brightness(1.32);
  }
  70% {
    -webkit-filter: drop-shadow(0 0 12px rgba(251, 191, 36, 0.85)) drop-shadow(0 0 24px rgba(245, 158, 11, 0.7)) drop-shadow(0 4px 7px rgba(0, 0, 0, 0.35)) brightness(1.18);
    filter: drop-shadow(0 0 12px rgba(251, 191, 36, 0.85)) drop-shadow(0 0 24px rgba(245, 158, 11, 0.7)) drop-shadow(0 4px 7px rgba(0, 0, 0, 0.35)) brightness(1.18);
  }
  100% {
    -webkit-filter: drop-shadow(0 4px 7px rgba(0, 0, 0, 0.35)) brightness(1);
    filter: drop-shadow(0 4px 7px rgba(0, 0, 0, 0.35)) brightness(1);
  }
}

@keyframes scarabGlowUniversal {
  0% {
    -webkit-filter: drop-shadow(0 4px 7px rgba(0, 0, 0, 0.35)) brightness(1);
    filter: drop-shadow(0 4px 7px rgba(0, 0, 0, 0.35)) brightness(1);
  }
  30% {
    -webkit-filter: drop-shadow(0 0 18px rgba(52, 211, 153, 0.95)) drop-shadow(0 0 34px rgba(251, 191, 36, 0.85)) drop-shadow(0 0 52px rgba(16, 185, 129, 0.7)) drop-shadow(0 4px 7px rgba(0, 0, 0, 0.35)) brightness(1.35);
    filter: drop-shadow(0 0 18px rgba(52, 211, 153, 0.95)) drop-shadow(0 0 34px rgba(251, 191, 36, 0.85)) drop-shadow(0 0 52px rgba(16, 185, 129, 0.7)) drop-shadow(0 4px 7px rgba(0, 0, 0, 0.35)) brightness(1.35);
  }
  70% {
    -webkit-filter: drop-shadow(0 0 12px rgba(52, 211, 153, 0.8)) drop-shadow(0 0 24px rgba(251, 191, 36, 0.7)) drop-shadow(0 4px 7px rgba(0, 0, 0, 0.35)) brightness(1.2);
    filter: drop-shadow(0 0 12px rgba(52, 211, 153, 0.8)) drop-shadow(0 0 24px rgba(251, 191, 36, 0.7)) drop-shadow(0 4px 7px rgba(0, 0, 0, 0.35)) brightness(1.2);
  }
  100% {
    -webkit-filter: drop-shadow(0 4px 7px rgba(0, 0, 0, 0.35)) brightness(1);
    filter: drop-shadow(0 4px 7px rgba(0, 0, 0, 0.35)) brightness(1);
  }
}

#dgCharm {
  will-change: transform, filter;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transition: -webkit-filter 0.35s ease, filter 0.35s ease;
}

#dgCharm.r-glow,
.r-glow {
  animation: glowUniversal 1.6s cubic-bezier(0.25, 1, 0.5, 1) !important;
  will-change: filter;
}

#dgCharm.r-scarab-glow,
.r-scarab-glow {
  animation: scarabGlowUniversal 2.6s cubic-bezier(0.25, 1, 0.5, 1) !important;
  will-change: filter;
}

#dgCharm image, #dgCharm text, #dgCharm g { -webkit-backface-visibility: hidden; backface-visibility: hidden; }
#dgCharm .arm, .cs .arm { transform-box: fill-box; transform-origin: 57% 80.5%; }
#dgCharm .clapper, .cs .clapper { transform-box: fill-box; transform-origin: 50% 0; }
#dgCharm .wings, .cs .wings { transform-box: fill-box; transform-origin: 50% 50%; }
.wings { opacity: 0; }
.r-wave .arm, .card:hover .cs .arm { animation: wave 1.6s ease-in-out; }
.r-ring image:first-child { animation: bell 2s ease-out; transform-box: fill-box; transform-origin: 50% 0; }
.r-ring .clapper { animation: clap 2s ease-out; }
.r-wings .wings { animation: wings 3.2s ease-in-out; }
.r-spin > image { animation: spin3d 1.6s ease-in-out; transform-origin: 50% 50%; transform-box: fill-box; }
.r-knot > image { animation: knot 2.2s ease-out; transform-origin: 50% 0; transform-box: fill-box; }

.mac-glow-pulse {
  -webkit-filter: drop-shadow(0 0 18px rgba(251, 191, 36, 0.92)) drop-shadow(0 0 34px rgba(245, 158, 11, 0.75)) !important;
  filter: drop-shadow(0 0 18px rgba(251, 191, 36, 0.92)) drop-shadow(0 0 34px rgba(245, 158, 11, 0.75)) !important;
  transition: -webkit-filter 0.3s ease, filter 0.3s ease;
}

.card.card-glow-pulse,
.hero-charm-chip.chip-glow-pulse {
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.45), 0 0 20px rgba(251, 191, 36, 0.45) !important;
  border-color: rgba(245, 158, 11, 0.8) !important;
  transition: all 0.3s ease;
}

.card[data-id="scarab"]:hover .art img,
.card[data-id="khepri"]:hover .art img,
#dgCharm[data-charm="scarab"] image,
#dgCharm[data-charm="khepri"] image {
  transition: filter .4s ease, transform .3s ease;
}

.card[data-id="scarab"]:hover .art img,
.card[data-id="khepri"]:hover .art img {
  filter: brightness(1.2) drop-shadow(0 0 14px rgba(251,191,36,.85)) drop-shadow(0 0 26px rgba(16,185,129,.6)) !important;
  transform: scale(1.06);
}

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

/* ==========================================================================
   Real-Time Telemetry & Global Downloads Section
   ========================================================================== */

.telemetry-section {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border-line);
  border-bottom: 1px solid var(--border-line);
}

.telemetry-header {
  margin-bottom: 36px;
}

.telemetry-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(16, 185, 129, 0.10);
  border: 1px solid rgba(16, 185, 129, 0.30);
  color: #047857;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

.telemetry-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.kpi-card {
  background: #ffffff;
  border: 1px solid var(--border-line);
  border-radius: var(--radius-card);
  padding: 22px 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.kpi-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  border-color: rgba(15, 127, 255, 0.30);
}

.kpi-icon-wrap {
  font-size: 24px;
  margin-bottom: 10px;
}

.kpi-num {
  font-family: var(--font-mono);
  font-size: clamp(26px, 3.5vw, 34px);
  font-weight: 700;
  color: var(--color-ink);
  letter-spacing: -0.04em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.kpi-label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--color-ink);
  margin-top: 6px;
}

.kpi-sub {
  font-size: 11.5px;
  color: var(--color-ink-subtle);
  margin-top: 3px;
}

.telemetry-main-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
}

.telemetry-stream-box,
.telemetry-breakdown-box {
  background: #ffffff;
  border: 1px solid var(--border-line);
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.stream-box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-line);
}

.stream-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  color: var(--color-ink);
}

.stream-status {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #10b981;
  background: rgba(16, 185, 129, 0.10);
  padding: 2px 8px;
  border-radius: 99px;
  font-weight: 500;
}

.stream-feed-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 380px;
  overflow-y: auto;
}

.feed-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: var(--bg-surface-sunken);
  border: 1px solid var(--border-line);
  border-radius: 10px;
  animation: feedSlideIn 0.35s ease-out;
}

@keyframes feedSlideIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.feed-badge {
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
}

.feed-details {
  flex: 1;
  min-width: 0;
}

.feed-title {
  font-size: 13px;
  color: var(--color-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.feed-sub {
  font-size: 11px;
  color: var(--color-ink-subtle);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.feed-time {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--color-ink-subtle);
  flex-shrink: 0;
}

.country-bars-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.country-bar-row {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.country-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
}

.country-meta .country-flag {
  margin-right: 6px;
}

.country-meta .country-name {
  font-weight: 500;
  color: var(--color-ink);
  flex: 1;
}

.country-meta .country-count {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--color-ink);
}

.bar-track {
  width: 100%;
  height: 6px;
  background: var(--bg-surface-sunken);
  border-radius: 99px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #0f7fff, #00c6ff);
  border-radius: 99px;
  transition: width 0.6s ease;
}

.device-ratio-wrap {
  border-top: 1px solid var(--border-line);
  padding-top: 18px;
}

.device-ratio-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  margin-bottom: 8px;
}

.device-ratio-val {
  font-family: var(--font-mono);
  color: var(--color-ink-subtle);
  font-size: 11px;
}

.device-stacked-bar {
  display: flex;
  height: 10px;
  border-radius: 99px;
  overflow: hidden;
  background: var(--bg-surface-sunken);
  gap: 2px;
}

.device-bar-segment.mac {
  background: #0f7fff;
}
.device-bar-segment.win {
  background: #00b4d8;
}
.device-bar-segment.mob {
  background: #10b981;
}

.device-legend {
  display: flex;
  gap: 14px;
  margin-top: 10px;
  font-size: 11px;
  color: var(--color-ink-subtle);
  flex-wrap: wrap;
}

.legend-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-right: 4px;
}
.legend-dot.mac { background: #0f7fff; }
.legend-dot.win { background: #00b4d8; }
.legend-dot.mob { background: #10b981; }

/* Responsive adjustments for mobile */
@media (max-width: 860px) {
  .telemetry-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .telemetry-main-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .telemetry-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .kpi-card {
    padding: 16px 14px;
  }
  .kpi-num {
    font-size: 22px;
  }
  .kpi-label {
    font-size: 12px;
  }
  .telemetry-stream-box,
  .telemetry-breakdown-box {
    padding: 16px;
  }
  .feed-item {
    padding: 8px 10px;
    gap: 8px;
  }
  .feed-badge {
    font-size: 18px;
  }
  .feed-title {
    font-size: 12px;
  }
}

/* ==========================================================================
   Hero Rope Style Switcher
   ========================================================================== */
.rope-style-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.rope-style-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--color-ink-subtle);
  font-weight: 500;
}
.rope-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-line);
  background: #ffffff;
  color: var(--color-ink-body);
  cursor: pointer;
  transition: all 0.18s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.rope-pill:hover {
  background: var(--bg-surface-sunken);
  border-color: var(--border-line-strong);
  color: var(--color-ink);
}
.rope-pill.is-active {
  background: #101013;
  color: #ffffff;
  border-color: #101013;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

/* ==========================================================================
   Universal Device & Developer Support Grid
   ========================================================================== */
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 36px;
}
.platform-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-card);
  padding: 28px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.platform-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--border-line-strong);
}
.platform-card-wide {
  grid-column: 1 / -1;
}
.platform-icon-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.platform-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  background: var(--bg-surface-sunken);
  border: 1px solid var(--border-line);
}
.platform-icon.mac { background: #f0f7ff; border-color: #d0e5ff; }
.platform-icon.win { background: #f0f4ff; border-color: #dbe4ff; }
.platform-icon.mob { background: #ecfdf5; border-color: #a7f3d0; }
.platform-icon.web { background: #f8fafc; border-color: #e2e8f0; }
.platform-icon.dev { background: #fefce8; border-color: #fef08a; }

.platform-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 9999px;
  background: var(--bg-surface-sunken);
  color: var(--color-ink-subtle);
  border: 1px solid var(--border-line);
}
.platform-card h3 {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 600;
  color: var(--color-ink);
  margin-bottom: 8px;
}
.platform-card p {
  font-family: var(--font-sans);
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--color-ink-body);
  margin-bottom: 18px;
  flex: 1;
}
.platform-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--color-ink-subtle);
  margin-bottom: 20px;
}
.btn-platform-pri {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px 18px;
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
  color: #ffffff;
  background: var(--color-ink);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.btn-platform-pri:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}
.dev-card-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.dev-snippet-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.dev-snippet-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--color-ink-body);
}
.dev-code-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #0f172a;
  border-radius: 9px;
  padding: 9px 14px;
  gap: 12px;
}
.dev-code-box code {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: #38bdf8;
  overflow-x: auto;
  white-space: nowrap;
}
.dev-copy-btn {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s ease;
  flex-shrink: 0;
}
.dev-copy-btn:hover {
  background: rgba(255, 255, 255, 0.24);
}

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

/* ==========================================================================
   UniMock-Style macOS Download Modal
   ========================================================================== */
.unimock-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}
.unimock-modal-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}
.unimock-modal-dialog {
  width: 100%;
  max-width: 540px;
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 25px 60px -12px rgba(15, 23, 42, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  transform: translateY(16px) scale(0.97);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}
.unimock-modal-backdrop.is-open .unimock-modal-dialog {
  transform: translateY(0) scale(1);
}
.unimock-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 18px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}
.unimock-traffic-lights {
  display: flex;
  gap: 7px;
}
.unimock-traffic-lights span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.unimock-traffic-lights .t-red { background: #ff5f56; border: 1px solid #e0443e; }
.unimock-traffic-lights .t-yellow { background: #ffbd2e; border: 1px solid #dea123; }
.unimock-traffic-lights .t-green { background: #27c93f; border: 1px solid #1aab29; }
.unimock-title {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: #475569;
}
.unimock-close-btn {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
  padding: 2px 6px;
  border-radius: 6px;
}
.unimock-close-btn:hover {
  color: #0f172a;
  background: #e2e8f0;
}
.unimock-dmg-stage {
  padding: 28px 24px 20px;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.unimock-dmg-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  width: 100%;
}
.unimock-app-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.unimock-icon-img {
  width: 76px;
  height: 76px;
  border-radius: 18px;
  box-shadow: 0 10px 24px -4px rgba(15, 23, 42, 0.22);
  background: #ffffff;
  padding: 6px;
  border: 1px solid #e2e8f0;
}
.unimock-icon-label {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  color: #1e293b;
}
.unimock-arrow-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.unimock-arrow-svg {
  width: 64px;
  height: 24px;
}
.unimock-arrow-trail {
  stroke: #2563eb;
  stroke-dasharray: 5 4;
  animation: arrowTrailAnim 1.2s linear infinite;
}
@keyframes arrowTrailAnim {
  to { stroke-dashoffset: -18; }
}
.unimock-folder-icon {
  width: 76px;
  height: 76px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.unimock-folder-img {
  width: 76px;
  height: 76px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #60a5fa 0%, #2563eb 100%);
  color: #ffffff;
  box-shadow: 0 10px 24px -4px rgba(37, 99, 235, 0.28);
}
.unimock-caption {
  margin-top: 16px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: #64748b;
  text-align: center;
}
.unimock-modal-content {
  padding: 24px;
}
.unimock-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.unimock-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #475569;
  background: #f1f5f9;
  padding: 4px 10px;
  border-radius: 9999px;
  border: 1px solid #e2e8f0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.unimock-primary-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  padding: 13px 20px;
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%);
  border-radius: 12px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.unimock-primary-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
}
.unimock-alt-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 14px;
  font-family: var(--font-sans);
  font-size: 12.5px;
}
.unimock-alt-links a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.15s ease;
}
.unimock-alt-links a:hover {
  color: #0f172a;
  text-decoration: underline;
}
.unimock-helper-box {
  margin-top: 18px;
  padding: 13px 15px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
}
.unimock-helper-title {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.unimock-helper-desc {
  font-family: var(--font-sans);
  font-size: 11.5px;
  color: #64748b;
  margin-bottom: 9px;
  line-height: 1.4;
}
.unimock-cli-row {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #0f172a;
  padding: 7px 11px;
  border-radius: 8px;
}
.unimock-cli-row code {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: #38bdf8;
  flex: 1;
  overflow-x: auto;
  white-space: nowrap;
}
.unimock-copy-btn {
  font-family: var(--font-mono);
  font-size: 11px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 3px 9px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s ease;
}
.unimock-copy-btn:hover {
  background: rgba(255, 255, 255, 0.26);
}

/* Helper tabs in UniMock modal */
.unimock-helper-tabs {
  display: flex;
  gap: 6px;
  margin-top: 18px;
  margin-bottom: 10px;
  background: #f1f5f9;
  padding: 3px;
  border-radius: 9px;
}
.helper-tab-btn {
  flex: 1;
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 600;
  padding: 6px 8px;
  border: none;
  background: transparent;
  color: #64748b;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.helper-tab-btn:hover {
  color: #0f172a;
}
.helper-tab-btn.is-active {
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
.unimock-helper-panel {
  padding: 12px 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
}
.unimock-hash-row {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #0f172a;
  padding: 7px 11px;
  border-radius: 7px;
  overflow: hidden;
}
.unimock-hash-row .hash-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: #94a3b8;
  white-space: nowrap;
}
.unimock-hash-row code {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: #38bdf8;
  flex: 1;
  overflow-x: auto;
  white-space: nowrap;
}
.unimock-security-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #059669;
  font-weight: 500;
  flex-wrap: wrap;
}
.detected-os-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  color: #059669;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 2px 7px;
  border-radius: 9999px;
  margin-left: 6px;
  font-weight: 600;
  text-transform: uppercase;
}
.unimock-download-status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 8px;
  margin-bottom: 14px;
  font-family: var(--font-sans);
  font-size: 12px;
  color: #065f46;
}
.unimock-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid #059669;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  flex-shrink: 0;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}


