/* ==========================================================================
   AuraSnap Official Website Design System (Apple Pro Native Studio Edition)
   Crafted with ui-ux-pro-max + taste-skill + interface-design principles
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,600&family=JetBrains+Mono:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Noto+Sans+SC:wght@400;500;700;800&display=swap');

:root {
  /* Surface System (Apple Pro Clean Studio & Dual-Tone Canvas) */
  --bg-page: #f8fafc;
  --bg-canvas: #f1f5f9;
  --bg-card: #ffffff;
  --bg-card-subtle: #f8fafc;
  --bg-dark-stage: #0f172a;
  
  /* Text Hierarchy */
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-tertiary: #64748b;
  --text-muted: #94a3b8;
  --text-on-dark: #ffffff;
  --text-on-dark-subtle: #cbd5e1;

  /* Refined Apple Accent Colors */
  --accent-blue: #0071e3;
  --accent-blue-hover: #0077ed;
  --accent-blue-subtle: rgba(0, 113, 227, 0.08);
  --accent-sky: #0284c7;
  --accent-emerald: #059669;
  --accent-amber: #d97706;
  --accent-rose: #e11d48;
  --accent-purple: #7c3aed;

  /* Borders & Dividers */
  --border-subtle: rgba(15, 23, 42, 0.08);
  --border-medium: rgba(15, 23, 42, 0.14);
  --border-active: rgba(0, 113, 227, 0.4);
  --border-hover: rgba(15, 23, 42, 0.25);
  --border-dark-mode: rgba(255, 255, 255, 0.12);

  /* Shadows (Apple Layered Physical Elevation) */
  --shadow-sm: 0 2px 6px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.06), 0 4px 10px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 40px -10px rgba(15, 23, 42, 0.08), 0 8px 16px -4px rgba(15, 23, 42, 0.04);
  --shadow-card: 0 12px 32px -8px rgba(15, 23, 42, 0.06), 0 0 1px rgba(15, 23, 42, 0.12);
  --shadow-floating: 0 25px 60px -15px rgba(15, 23, 42, 0.16), 0 0 1px rgba(15, 23, 42, 0.15);
  --shadow-mac: 0 30px 80px -20px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(15, 23, 42, 0.08);

  /* Typography Stacks */
  --font-main: 'Plus Jakarta Sans', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', sans-serif;
  --font-mono: 'JetBrains Mono', SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Radii */
  --radius-full: 9999px;
  --radius-2xl: 24px;
  --radius-xl: 18px;
  --radius-lg: 14px;
  --radius-md: 10px;
  --radius-sm: 6px;
  --radius-xs: 4px;

  /* Transitions */
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.15s var(--ease-spring);
  --transition-normal: 0.25s var(--ease-spring);
}

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

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

body {
  background-color: var(--bg-page);
  color: var(--text-primary);
  font-family: var(--font-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
  background-image: 
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(0, 113, 227, 0.05), transparent 70%),
    radial-gradient(ellipse 60% 40% at 85% 45%, rgba(56, 189, 248, 0.04), transparent 60%);
  background-attachment: fixed;
}

::selection {
  background: rgba(0, 113, 227, 0.15);
  color: var(--text-primary);
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-page);
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 100px 0;
}

.section-alt {
  background-color: #f1f5f9;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3.5rem;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-blue);
  background: var(--accent-blue-subtle);
  padding: 0.25rem 0.8rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.18;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ==========================================================================
   Navigation Bar (Apple Frosted Glass)
   ========================================================================== */
#navbar {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 3rem);
  max-width: 1200px;
  height: 56px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-full);
  z-index: 1000;
  transition: all var(--transition-normal);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

#navbar.scrolled {
  top: 10px;
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.08);
}

.nav-container {
  height: 100%;
  padding: 0 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text-primary);
  transition: transform var(--transition-fast);
}

.logo:hover {
  transform: translateY(-1px);
}

.logo-badge-img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  object-fit: cover;
  display: block;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(15, 23, 42, 0.08);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.logo:hover .logo-badge-img {
  transform: scale(1.05);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(0, 113, 227, 0.3);
}

.footer-brand-img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  object-fit: cover;
  display: block;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(15, 23, 42, 0.08);
}

.logo-badge {
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, #0071e3 0%, #0284c7 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 113, 227, 0.3);
  color: #ffffff;
}

.logo-text {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.logo-tag {
  font-size: 0.68rem;
  font-family: var(--font-mono);
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  background: var(--accent-blue-subtle);
  border: 1px solid rgba(0, 113, 227, 0.2);
  color: var(--accent-blue);
  border-radius: var(--radius-xs);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: color var(--transition-fast);
  padding: 0.35rem 0.6rem;
  border-radius: var(--radius-xs);
}

.nav-link:hover {
  color: var(--accent-blue);
}

.nav-cta-group {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.btn-github {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.85rem;
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-full);
  color: var(--text-primary);
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.btn-github:hover {
  background: #f8fafc;
  border-color: var(--border-hover);
  transform: translateY(-1px);
}

.btn-nav-download {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 1rem;
  background: var(--accent-blue);
  color: #ffffff;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 14px rgba(0, 113, 227, 0.3);
}

.btn-nav-download:hover {
  background: var(--accent-blue-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 113, 227, 0.4);
}

/* Mobile Toggle & Drawer - Strict Desktop Isolation */
.mobile-menu-toggle {
  display: none !important;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
  width: 36px;
  height: 36px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border-radius: var(--radius-sm);
}

.mobile-menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: all 0.25s ease;
}

.mobile-nav-drawer {
  display: none !important;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-mac);
  flex-direction: column;
  gap: 0.4rem;
  z-index: 1001;
}

.mobile-nav-link {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
}

.mobile-nav-link:hover, .mobile-nav-link:active {
  background: var(--accent-blue-subtle);
  color: var(--accent-blue);
}

.mobile-nav-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-subtle);
}

.mobile-btn {
  width: 100%;
  justify-content: center;
  padding: 0.7rem;
  font-size: 0.9rem;
}

/* ==========================================================================
   Hero Section (Apple Studio Headline & Ambient Light)
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 140px 1.5rem 60px;
  text-align: center;
  max-width: 1240px;
  margin: 0 auto;
}

.hero-glow-sphere {
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 113, 227, 0.08) 0%, rgba(2, 132, 199, 0.04) 45%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: -1;
}

.chip-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.35rem 1.1rem;
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background-color: var(--accent-blue);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-blue);
  animation: pulse-ring 2.4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse-ring {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.45; }
}

.hero-title {
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.04em;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
}

.gradient-title-text {
  background: linear-gradient(135deg, #0f172a 0%, #0071e3 65%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 820px;
  margin: 0 auto 2.2rem;
  font-weight: 400;
  line-height: 1.65;
}

.hero-subtitle strong {
  color: var(--text-primary);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.8rem;
}

.btn-primary-lg {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 2.2rem;
  background: var(--accent-blue);
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all var(--transition-normal);
  box-shadow: 0 8px 25px rgba(0, 113, 227, 0.35);
}

.btn-primary-lg:hover {
  background: var(--accent-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(0, 113, 227, 0.45);
}

.btn-secondary-lg {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.9rem 1.8rem;
  background: #ffffff;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.98rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  border: 1px solid var(--border-medium);
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.btn-secondary-lg:hover {
  background: #f8fafc;
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.hero-meta-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  color: var(--text-tertiary);
  font-size: 0.84rem;
  font-weight: 500;
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.meta-item svg {
  color: var(--accent-emerald);
}

.meta-divider {
  opacity: 0.3;
}

/* ==========================================================================
   Interactive macOS Desktop Simulator (Realistic Wallpaper Backdrop)
   ========================================================================== */
.hero-desktop-stage {
  margin-top: 3.5rem;
  position: relative;
}

.mac-desktop-frame {
  background: #f8fafc;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 20px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  position: relative;
  text-align: left;
  user-select: none;
}

/* macOS Top Menu Bar (Native Light Frosted Glass) */
.mac-system-menubar {
  height: 28px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(25px) saturate(180%);
  -webkit-backdrop-filter: blur(25px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1rem;
  font-size: 0.76rem;
  font-weight: 600;
  color: #1e293b;
}

.menubar-left, .menubar-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.apple-icon {
  font-size: 0.9rem;
  color: #0f172a;
}

.menubar-item {
  color: #475569;
  font-size: 0.75rem;
  cursor: default;
}
.menubar-item.active {
  color: #0f172a;
  font-weight: 700;
}

.menubar-right {
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #475569;
}

/* Simulated Desktop Canvas with Vibrant macOS Sonoma Wallpaper */
.mac-desktop-canvas {
  height: 480px;
  background: 
    linear-gradient(135deg, rgba(238, 112, 68, 0.75) 0%, rgba(225, 29, 72, 0.65) 30%, rgba(124, 58, 237, 0.75) 70%, rgba(2, 132, 199, 0.85) 100%),
    radial-gradient(circle at 30% 20%, #f97316 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, #0284c7 0%, transparent 60%);
  position: relative;
  overflow: hidden;
  cursor: crosshair;
}

/* Simulated Windows on Desktop */
.sim-app-window {
  position: absolute;
  border-radius: 12px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  backdrop-filter: blur(20px);
}

.sim-app-window.xcode {
  left: 40px;
  top: 40px;
  width: 540px;
  height: 380px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(30px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.08);
  z-index: 10;
}

.sim-app-window.browser {
  right: 50px;
  top: 70px;
  width: 460px;
  height: 330px;
  background: rgba(255, 255, 255, 0.95);
  z-index: 5;
  color: #0f172a;
}

.sim-window-header {
  height: 34px;
  background: rgba(241, 245, 249, 0.85);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  padding: 0 12px;
  position: relative;
}

.sim-app-window.browser .sim-window-header {
  background: rgba(0, 0, 0, 0.04);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.traffic-lights {
  display: flex;
  gap: 6px;
}

.traffic-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.traffic-dot.r { background: #ff5f56; }
.traffic-dot.y { background: #ffbd2e; }
.traffic-dot.g { background: #27c93f; }

.sim-win-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.72rem;
  font-weight: 600;
  color: #475569;
}

.sim-app-window.browser .sim-win-title {
  color: #64748b;
}

.sim-window-body {
  padding: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1.7;
  color: #0f172a;
}

.sim-app-window.browser .sim-window-body {
  font-family: var(--font-main);
  color: #334155;
}

.code-kw { color: #d946ef; font-weight: 700; }
.code-fn { color: #0284c7; font-weight: 700; }
.code-str { color: #e11d48; }
.code-comment { color: #64748b; }

/* Selection Snapping Border */
.sim-snapping-border {
  position: absolute;
  border: 2px solid #0071e3;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2), inset 0 0 20px rgba(0, 113, 227, 0.12);
  pointer-events: none;
  z-index: 20;
  transition: all 0.25s var(--ease-spring);
}

.resizer-handle {
  position: absolute;
  width: 9px;
  height: 9px;
  background: #ffffff;
  border: 1.5px solid #0071e3;
  border-radius: 2px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.handle-tl { top: -5px; left: -5px; }
.handle-tc { top: -5px; left: calc(50% - 4.5px); }
.handle-tr { top: -5px; right: -5px; }
.handle-ml { top: calc(50% - 4.5px); left: -5px; }
.handle-mr { top: calc(50% - 4.5px); right: -5px; }
.handle-bl { bottom: -5px; left: -5px; }
.handle-bc { bottom: -5px; left: calc(50% - 4.5px); }
.handle-br { bottom: -5px; right: -5px; }

/* Live Pixel Magnifier */
.sim-live-magnifier {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 3px solid #ffffff;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(15px);
  overflow: hidden;
  pointer-events: none;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.2s;
}

.mag-crosshair-h, .mag-crosshair-v {
  position: absolute;
  background: rgba(0, 113, 227, 0.35);
}
.mag-crosshair-h { width: 100%; height: 1px; }
.mag-crosshair-v { height: 100%; width: 1px; }

.mag-grid-matrix {
  position: absolute;
  width: 42px;
  height: 42px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  border: 1px solid rgba(0, 0, 0, 0.15);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
  z-index: 1;
  pointer-events: none;
}

.mag-grid-matrix span {
  border: 0.5px solid rgba(0, 0, 0, 0.1);
  background: rgba(0, 113, 227, 0.05);
}

.mag-center-cell {
  background: #0071e3 !important;
  border: 1.5px solid #ffffff !important;
  box-shadow: 0 0 8px rgba(0, 113, 227, 0.6);
  z-index: 3;
}

.mag-color-capsule {
  position: absolute;
  bottom: 12px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
}

/* ==========================================================================
   1:1 Authentic 3-Tier AuraSnap Floating Toolbar (Exact Match to App)
   ========================================================================== */
.aurasnap-toolbar-stack {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  z-index: 40;
  user-select: none;
}

/* Tier 1: Secondary Options Bar (Color Palette + Stroke Width) */
.aurasnap-tier-options {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(25px) saturate(180%);
  -webkit-backdrop-filter: blur(25px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--radius-full);
  padding: 4px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  min-height: 32px;
}

.color-palette-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.color-dot-btn {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: var(--dot-color);
  border: 1px solid rgba(0, 0, 0, 0.15);
  position: relative;
  cursor: pointer;
  padding: 0;
  transition: transform 0.15s ease;
}

.color-white-dot {
  border: 1px solid rgba(0, 0, 0, 0.25) !important;
}

.color-dot-btn:hover {
  transform: scale(1.15);
}

.color-dot-btn.active::after {
  content: '';
  position: absolute;
  top: -3.5px;
  left: -3.5px;
  right: -3.5px;
  bottom: -3.5px;
  border-radius: 50%;
  border: 2px solid var(--dot-color);
}

.line-width-slider-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.slider-dot-min {
  font-size: 8px;
  color: #64748b;
}

.native-width-slider {
  width: 75px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: #e2e8f0;
  border-radius: 2px;
  outline: none;
}

.native-width-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
  cursor: pointer;
}

.slider-dot-preview {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.native-menu-btn {
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  gap: 2px;
  color: #1e293b;
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 4px;
  transition: background 0.15s;
}

.native-menu-btn:hover {
  background: rgba(0, 0, 0, 0.06);
}

.native-toggle-btn {
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 11px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 3px;
  transition: all 0.15s ease;
}

.native-toggle-btn:hover {
  background: rgba(0, 0, 0, 0.08);
  color: #0f172a;
}

.native-toggle-btn.active {
  background: rgba(0, 113, 227, 0.15);
  border-color: rgba(0, 113, 227, 0.3);
  color: var(--accent-blue);
}

.native-icon-toggle {
  background: transparent;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.native-icon-toggle.active {
  color: var(--accent-blue);
}

.native-watermark-input {
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 11px;
  color: #1e293b;
  width: 130px;
  outline: none;
}

/* Tier 2: Main Toolbar Row */
.aurasnap-tier-main {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(25px) saturate(180%);
  -webkit-backdrop-filter: blur(25px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 12px;
  padding: 5px 8px;
  display: flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.native-tool-btn {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: none;
  background: transparent;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.native-tool-btn:hover {
  background: rgba(0, 0, 0, 0.06);
  color: #0f172a;
}

.native-tool-btn.active {
  background: var(--accent-blue) !important;
  color: #ffffff !important;
  box-shadow: 0 2px 6px rgba(0, 113, 227, 0.35);
}

.native-divider {
  width: 1px;
  height: 16px;
  background: rgba(0, 0, 0, 0.12);
  margin: 0 2px;
}

.corner-radius-control {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 2px;
}

.native-corner-slider {
  width: 44px;
  accent-color: var(--accent-blue);
}

.btn-cancel:hover { color: var(--accent-rose); }
.btn-copy { background: rgba(0, 113, 227, 0.12); color: var(--accent-blue); }
.btn-copy:hover { background: var(--accent-blue); color: #ffffff; }
.btn-save:hover { color: var(--accent-emerald); }
.btn-pin:hover { color: var(--accent-amber); }

/* Tier 3: Bottom AI Action Pill Bar (Native Frosted Glass) */
.aurasnap-tier-ai {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(25px) saturate(180%);
  -webkit-backdrop-filter: blur(25px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-full);
  padding: 4px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  color: #0f172a;
}

.ai-pill-input-capsule {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-full);
  font-size: 11px;
  color: #475569;
}

.ai-pill-action-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  background: transparent;
  border: none;
  border-radius: var(--radius-full);
  color: #334155;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.ai-pill-action-btn:hover {
  background: rgba(0, 113, 227, 0.1);
  color: var(--accent-blue);
}

.sim-toast-msg {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s var(--ease-spring);
  z-index: 100;
}
.sim-toast-msg.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   Interactive Studio Section
   ========================================================================== */
.studio-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.studio-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.15rem;
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.studio-tab-btn:hover {
  background: #f8fafc;
  color: var(--text-primary);
  border-color: var(--border-hover);
}

.studio-tab-btn.active {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 113, 227, 0.35);
}

.studio-panel {
  display: none;
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-2xl);
  padding: 2.75rem;
  box-shadow: var(--shadow-card);
  animation: fadeIn 0.3s ease;
}

.studio-panel.active {
  display: block;
}

.studio-panel-layout {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 2.75rem;
  align-items: center;
}

.studio-panel-info h3 {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.85rem;
  color: var(--text-primary);
}

.studio-panel-info p {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.studio-feature-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.8rem;
}

.studio-feature-bullets li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  line-height: 1.5;
}

.studio-feature-bullets li > div,
.studio-feature-bullets li > span {
  flex: 1;
}

.studio-feature-bullets li strong {
  color: var(--text-primary);
}

.studio-feature-bullets li svg {
  color: var(--accent-blue);
  flex-shrink: 0;
  margin-top: 3px;
}

/* Studio Stage Area (Authentic macOS Wallpaper Backdrop) */
.studio-stage-box {
  background: 
    linear-gradient(135deg, rgba(249, 115, 22, 0.75) 0%, rgba(236, 72, 153, 0.65) 40%, rgba(139, 92, 246, 0.75) 75%, rgba(59, 130, 246, 0.85) 100%);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-xl);
  min-height: 360px;
  position: relative;
  overflow: hidden;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.2), 0 15px 35px -10px rgba(0, 0, 0, 0.15);
}

/* ==========================================================================
   Theme Showcase Cards (Modular Themes Panel with Real Optical Contrast)
   ========================================================================== */
.theme-wallpaper-switcher {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  background: rgba(0, 0, 0, 0.35);
  padding: 4px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(10px);
}

.theme-wp-btn {
  padding: 0.3rem 0.8rem;
  background: transparent;
  border: none;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.theme-wp-btn.active {
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.theme-showcase-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  width: 100%;
  max-width: 480px;
}

.theme-card {
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  position: relative;
  transition: transform var(--transition-fast);
}

/* 🔮 Liquid Glass Mode: Genuine Specular Refraction & Background Bleed */
.theme-card.glass-mode {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(20px) saturate(190%);
  -webkit-backdrop-filter: blur(20px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  color: #ffffff;
}

/* 🌫️ High-Contrast HUD Mode: Deep Matte Anti-Glare Noise Absorption */
.theme-card.hud-mode {
  background: rgba(18, 22, 31, 0.94);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
  color: #ffffff;
}

.theme-card-badge {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.theme-card.glass-mode .theme-card-badge {
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.theme-card.hud-mode .theme-card-badge {
  color: #f8fafc;
}

.theme-toolbar-preview {
  display: flex;
  gap: 0.35rem;
  background: rgba(0, 0, 0, 0.2);
  padding: 0.4rem;
  border-radius: 8px;
}

.preview-tool {
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  color: #ffffff;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.preview-tool.active {
  background: var(--accent-blue);
  color: #ffffff;
}

.theme-ocr-preview {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  background: rgba(0, 0, 0, 0.4);
  padding: 0.6rem;
  border-radius: 6px;
}

.hud-text-strong {
  font-size: 0.74rem;
  font-weight: 700;
  color: #34d399;
  font-family: var(--font-mono);
}

.hud-text-desc {
  font-size: 0.68rem;
  color: #94a3b8;
  line-height: 1.4;
}

.theme-card-caption {
  font-size: 0.72rem;
  line-height: 1.4;
}

.theme-card.glass-mode .theme-card-caption {
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.theme-card.hud-mode .theme-card-caption {
  color: #64748b;
}

/* ==========================================================================
   OCR Studio (1:1 Native macOS OCR Window Simulator)
   ========================================================================== */
.ocr-interactive-actions-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.ocr-action-btn {
  padding: 0.4rem 0.9rem;
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.ocr-action-btn:hover {
  background: #f8fafc;
  border-color: var(--border-hover);
}

.ocr-action-btn.active {
  background: var(--accent-blue) !important;
  border-color: var(--accent-blue) !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(0, 113, 227, 0.35);
}

.sim-ocr-window {
  width: 100%;
  max-width: 440px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 14px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 0.95rem;
  color: #0f172a;
}

.sim-ocr-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.ocr-header-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ocr-tag-lang {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent-blue);
  background: rgba(0, 113, 227, 0.1);
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-xs);
}

.ocr-meta-text {
  font-size: 0.72rem;
  color: #64748b;
  font-family: var(--font-mono);
}

.ocr-header-right {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.ocr-header-btn {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-xs);
  color: #334155;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  cursor: pointer;
  transition: all 0.15s ease;
}

.ocr-header-btn:hover {
  background: rgba(0, 0, 0, 0.08);
  color: #0f172a;
}

.ocr-header-btn.active {
  background: rgba(16, 185, 129, 0.15);
  border-color: #10b981;
  color: #059669;
}

.ocr-header-icon-btn {
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-xs);
  color: #64748b;
  padding: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.ocr-header-icon-btn:hover, .ocr-header-icon-btn.active {
  background: rgba(0, 0, 0, 0.06);
  color: #0f172a;
}

.sim-ocr-barcode-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 113, 227, 0.08);
  border: 1px solid rgba(0, 113, 227, 0.25);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.65rem;
  gap: 0.5rem;
}

.barcode-badge {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.68rem;
  font-weight: 700;
  color: #0071e3;
}

.barcode-payload {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  color: #0f172a;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}

.barcode-actions {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.barcode-open-btn {
  font-size: 0.68rem;
  font-weight: 700;
  color: #ffffff;
  background: var(--accent-blue);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-xs);
  text-decoration: none;
}

.barcode-copy-btn {
  background: transparent;
  border: none;
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.barcode-copy-btn:hover {
  color: #0f172a;
}

.sim-ocr-quickbar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.ocr-menu-capsule {
  font-size: 0.72rem;
  font-weight: 600;
  color: #334155;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: all 0.15s ease;
}

.ocr-menu-capsule:hover {
  background: rgba(0, 0, 0, 0.08);
  color: #0f172a;
}

.ocr-ai-capsule {
  font-size: 0.72rem;
  font-weight: 700;
  color: #0071e3;
  background: rgba(0, 113, 227, 0.1);
  border: 1px solid rgba(0, 113, 227, 0.25);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-xs);
  cursor: pointer;
  margin-left: auto;
  transition: all 0.15s ease;
}

.ocr-ai-capsule:hover {
  background: var(--accent-blue);
  color: #ffffff;
}

.sim-ocr-editor-area {
  width: 100%;
}

.sim-ocr-textarea {
  width: 100%;
  height: 120px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: var(--radius-sm);
  color: #0f172a;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1.55;
  padding: 0.65rem;
  resize: vertical;
  outline: none;
  transition: border-color 0.15s;
}

.sim-ocr-textarea:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.15);
}

.sim-ocr-ai-panel {
  background: rgba(248, 250, 252, 0.98);
  border: 1px solid rgba(0, 113, 227, 0.25);
  border-radius: var(--radius-sm);
  padding: 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  animation: fadeIn 0.25s ease;
}

.ocr-ai-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ocr-ai-panel-title {
  font-size: 0.74rem;
  font-weight: 700;
  color: #0071e3;
}

.ocr-ai-copy-btn {
  font-size: 0.68rem;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #334155;
  border-radius: var(--radius-xs);
  padding: 0.15rem 0.45rem;
  cursor: pointer;
}

.ocr-ai-copy-btn:hover {
  background: rgba(0, 0, 0, 0.08);
  color: #0f172a;
}

.ocr-ai-think-card {
  background: rgba(245, 158, 11, 0.08);
  border-left: 2px solid #f59e0b;
  border-radius: 4px;
  padding: 0.35rem 0.5rem;
}

.ocr-think-header {
  font-size: 0.7rem;
  color: #d97706;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
}

.ocr-think-body {
  font-size: 0.68rem;
  color: #475569;
  font-style: italic;
  margin-top: 0.25rem;
  line-height: 1.4;
}

.ocr-ai-markdown-body {
  font-size: 0.72rem;
  color: #1e293b;
  line-height: 1.55;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 0.45rem;
  border-radius: 4px;
}

.ocr-ai-typing-cursor {
  color: var(--accent-blue);
  font-style: italic;
}

.sim-ocr-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.45rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.ocr-footer-hint {
  font-size: 0.7rem;
  color: #64748b;
}

.ocr-footer-btns {
  display: flex;
  gap: 0.4rem;
}

.ocr-btn-secondary {
  padding: 0.25rem 0.65rem;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-xs);
  color: #334155;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.ocr-btn-secondary:hover {
  background: rgba(0, 0, 0, 0.08);
  color: #0f172a;
}

.ocr-btn-primary {
  padding: 0.25rem 0.75rem;
  background: var(--accent-blue);
  border: none;
  border-radius: var(--radius-xs);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
}

/* ==========================================================================
   Pin Stage Interactive Widget
   ========================================================================== */
/* ==========================================================================
   Pin Stage Interactive Widget (Native Light Frosted Glass)
   ========================================================================== */
.sim-pin-widget {
  width: 280px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(25px) saturate(180%);
  -webkit-backdrop-filter: blur(25px) saturate(180%);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 12px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  padding: 1.2rem;
  position: relative;
  transition: opacity 0.2s, transform 0.2s;
  cursor: grab;
  color: #0f172a;
}
.sim-pin-widget:active { cursor: grabbing; }

.sim-pin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.pin-badge {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  background: rgba(245, 158, 11, 0.15);
  color: #d97706;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-xs);
  font-weight: 700;
}

.pin-controls-bar {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.pin-slider-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  font-family: var(--font-mono);
  color: #64748b;
}
.pin-slider-row input[type="range"] {
  width: 110px;
  accent-color: var(--accent-blue);
}

.pin-ghost-toggle-btn {
  padding: 0.4rem 0.8rem;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-sm);
  color: #334155;
  font-size: 0.78rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: all 0.15s ease;
}
.pin-ghost-toggle-btn:hover {
  background: rgba(0, 0, 0, 0.08);
  color: #0f172a;
}
.pin-ghost-toggle-btn.ghost-active {
  background: rgba(99, 102, 241, 0.15);
  border-color: #6366f1;
  color: #4f46e5;
  font-weight: 600;
}

/* ==========================================================================
   Matting Studio Styles
   ========================================================================== */
.matting-pill-group {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.matting-pill-btn {
  padding: 0.4rem 0.85rem;
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.matting-pill-btn.active {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  color: #ffffff;
}

.matting-demo-container {
  width: 100%;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.matting-preview-card {
  height: 200px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  background: #ffffff;
  position: relative;
  overflow: hidden;
  transition: background 0.3s ease;
}

.matting-preview-card.matting-cutout-active {
  background-image: 
    linear-gradient(45deg, #e2e8f0 25%, transparent 25%),
    linear-gradient(-45deg, #e2e8f0 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #e2e8f0 75%),
    linear-gradient(-45deg, transparent 75%, #e2e8f0 75%);
  background-size: 16px 16px;
  background-position: 0 0, 0 8px, 8px -8px, -8px 0px;
  background-color: #f8fafc;
}

.matting-content-box {
  padding: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.6;
  color: #0f172a;
}

.matting-toggle-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(15px);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   AI Studio & Floating Card
   ========================================================================== */
.ai-action-pills-bar {
  display: flex;
  gap: 0.5rem;
}

.ai-action-pill-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.ai-action-pill-btn.active {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  color: #ffffff;
}

.ai-screenshot-preview {
  position: relative;
  width: 100%;
  max-width: 380px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  padding: 1rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  line-height: 1.6;
  color: #0f172a;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.red-circle-annotation {
  position: absolute;
  top: 38px;
  left: 20px;
  width: 210px;
  height: 48px;
  border: 2.5px solid #f43f5e;
  border-radius: 50% 45% 55% 48% / 48% 55% 45% 52%;
  box-shadow: 0 0 15px rgba(244, 63, 94, 0.4);
  pointer-events: none;
  animation: pulse-border 2s infinite alternate;
}

@keyframes pulse-border {
  from { transform: scale(1); }
  to { transform: scale(1.03); }
}

.ai-pill-window-card {
  width: 100%;
  max-width: 380px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(25px) saturate(180%);
  -webkit-backdrop-filter: blur(25px) saturate(180%);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 12px;
  padding: 1rem;
  margin-top: 1rem;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  color: #0f172a;
}

.ai-think-block {
  font-size: 0.72rem;
  color: #64748b;
  font-style: italic;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ai-think-line {
  width: 4px;
  height: 14px;
  background: var(--accent-blue);
  border-radius: 2px;
}

.ai-pill-response-text {
  font-size: 0.78rem;
  line-height: 1.5;
  color: #1e293b;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 0.6rem;
  border-radius: 6px;
  margin-bottom: 0.75rem;
}

.ai-pill-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ai-followup-input-box {
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-full);
  padding: 2px 8px;
  width: 220px;
}

.ai-followup-input-box input {
  background: transparent;
  border: none;
  outline: none;
  font-size: 0.74rem;
  color: #0f172a;
  width: 100%;
}

.ai-send-btn {
  background: transparent;
  border: none;
  color: var(--accent-blue);
  cursor: pointer;
  display: flex;
  align-items: center;
}

.ai-footer-actions {
  display: flex;
  gap: 0.35rem;
}

.ai-icon-btn {
  background: transparent;
  border: none;
  color: #64748b;
  padding: 0.25rem;
  cursor: pointer;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-icon-btn:hover { color: var(--accent-blue); }

/* TextPin & Remark Tools */
.native-text-pin-window {
  width: 100%;
  max-width: 380px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(25px) saturate(180%);
  -webkit-backdrop-filter: blur(25px) saturate(180%);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 12px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  padding: 1.25rem;
  position: relative;
  overflow: hidden;
  color: #0f172a;
}

.native-text-pin-body {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  line-height: 1.65;
  color: #0f172a;
}

.native-text-pin-tear {
  margin-top: 0.75rem;
  padding-top: 0.5rem;
  border-top: 1px dashed rgba(0, 0, 0, 0.15);
  font-size: 0.68rem;
  color: #64748b;
  font-family: var(--font-mono);
  text-align: center;
}

.native-remark-stage {
  display: flex;
  align-items: center;
  position: relative;
}

.native-remark-anchor {
  width: 8px;
  height: 8px;
  background: var(--accent-blue);
  border: 1.5px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
}

.native-remark-line-svg {
  flex-shrink: 0;
  margin-left: -1px;
  margin-right: -1px;
}

.native-remark-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1.5px solid var(--accent-blue);
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 113, 227, 0.2);
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-blue);
  white-space: nowrap;
}

.native-waterdrop-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.native-waterdrop-pin {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s var(--ease-spring);
}

.native-waterdrop-pin:hover {
  transform: translateY(-3px) scale(1.08);
}

.waterdrop-svg {
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.3));
}

.waterdrop-num {
  position: absolute;
  top: 6px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 800;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Rounded", system-ui;
}

.waterdrop-caption {
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-mono);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

/* Recording Drag Area */
.record-format-pills {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.fmt-pill {
  padding: 0.3rem 0.75rem;
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-full);
  font-size: 0.74rem;
  font-family: var(--font-mono);
  color: #ffffff;
  cursor: pointer;
  transition: all 0.15s ease;
}
.fmt-pill.active {
  background: #ffffff;
  color: #0071e3;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.record-drag-target-zone {
  width: 100%;
  max-width: 360px;
  height: 180px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 2px dashed rgba(0, 113, 227, 0.35);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  text-align: center;
  padding: 1rem;
  position: relative;
}

.draggable-video-chip {
  padding: 0.65rem 1.35rem;
  background: linear-gradient(135deg, #0071e3, #0284c7);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 20px rgba(0, 113, 227, 0.4);
  cursor: grab;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.draggable-video-chip:active { cursor: grabbing; }

/* ==========================================================================
   Keyboard Shortcut HUD Tester (Physical Keycaps)
   ========================================================================== */
.hud-keyboard-tester {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-2xl);
  padding: 3rem;
  box-shadow: var(--shadow-card);
  text-align: center;
}

.hud-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

.hud-key-card {
  background: #f8fafc;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  transition: all var(--transition-fast);
}

.hud-key-card kbd {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-bottom: 2.5px solid #94a3b8;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 700;
  color: #0f172a;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.hud-key-card span {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.hud-key-card.active-key {
  background: var(--accent-blue-subtle);
  border-color: var(--accent-blue);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 113, 227, 0.15);
}

.hud-key-card.active-key kbd {
  background: var(--accent-blue);
  color: #ffffff;
  border-color: var(--accent-blue);
  border-bottom-width: 1px;
  transform: translateY(1.5px);
}

/* ==========================================================================
   Architecture Comparison Table (Clean High-Contrast Matrix)
   ========================================================================== */
.benchmark-container {
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.benchmark-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.benchmark-table th, .benchmark-table td {
  padding: 1.1rem 1.4rem;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.9rem;
}

.benchmark-table thead th {
  background: #f8fafc;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 0.88rem;
}

.col-aurasnap {
  color: var(--accent-blue) !important;
  background: rgba(0, 113, 227, 0.03) !important;
}

.highlight-good {
  color: var(--text-primary);
  background: rgba(0, 113, 227, 0.02);
  font-weight: 500;
}

.benchmark-badge-win {
  color: var(--accent-emerald);
  font-weight: 700;
}

.dimmed {
  color: var(--text-tertiary);
}

/* ==========================================================================
   Download Hub (Apple Pro Conversion Banner)
   ========================================================================== */
.download-card-wrapper {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: var(--radius-2xl);
  padding: 4rem 2rem;
  text-align: center;
  color: #ffffff;
  box-shadow: var(--shadow-mac);
  position: relative;
  overflow: hidden;
}

.download-card-wrapper h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.download-card-wrapper p {
  font-size: 1.1rem;
  color: #94a3b8;
  max-width: 600px;
  margin: 0 auto 2.2rem;
}

.download-btn-group {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.8rem;
}

.version-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: #94a3b8;
}

.version-meta-pill strong {
  color: #f1f5f9;
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
  background: #ffffff;
  border-top: 1px solid var(--border-subtle);
  padding: 4.5rem 0 2rem;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-brand-col {
  max-width: 380px;
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.85rem;
}

.footer-brand-col p {
  font-size: 0.88rem;
  color: var(--text-tertiary);
  line-height: 1.6;
}

.footer-links-grid {
  display: flex;
  gap: 4rem;
}

.footer-links-col h5 {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.footer-links-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links-col a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.84rem;
  transition: color var(--transition-fast);
}

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

.footer-legal-disclaimer {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.5rem;
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  font-size: 0.74rem;
  color: var(--text-tertiary);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.footer-bottom-bar {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 0;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-tertiary);
}

/* ==========================================================================
   Pricing & Licensing Section
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  max-width: 1280px;
  margin: 0 auto;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-2xl);
  padding: 2.2rem 1.6rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s var(--ease-spring), border-color 0.25s ease;
  box-shadow: var(--shadow-sm);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-hover);
}

.pricing-card.featured {
  background: linear-gradient(180deg, #ffffff 0%, #f0f7ff 100%);
  border: 2px solid var(--accent-blue);
  box-shadow: 0 16px 36px -10px rgba(0, 113, 227, 0.18);
}

.pricing-card.lifetime {
  background: linear-gradient(180deg, #ffffff 0%, #faf5ff 100%);
  border: 2px solid #a855f7;
  box-shadow: 0 16px 36px -10px rgba(168, 85, 247, 0.2);
}

.pricing-badge-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #0071e3 0%, #0284c7 100%);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(0, 113, 227, 0.35);
  white-space: nowrap;
}

.pricing-badge-lifetime {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #9333ea 0%, #7c3aed 100%);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(147, 51, 234, 0.35);
  white-space: nowrap;
}

.pricing-header {
  margin-bottom: 1.5rem;
}

.pricing-plan-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.pricing-plan-desc {
  font-size: 0.88rem;
  color: var(--text-tertiary);
  min-height: 42px;
}

.pricing-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.pricing-currency {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
}

.pricing-amount {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  line-height: 1;
}

.pricing-period {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
}

.pricing-features-list {
  list-style: none;
  margin-bottom: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.pricing-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.pricing-features-list li.disabled {
  color: var(--text-muted);
  text-decoration: line-through;
  opacity: 0.6;
}

.pricing-icon-check {
  color: var(--accent-emerald);
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-icon-cross {
  color: var(--text-muted);
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 20px;
  border-radius: var(--radius-lg);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  text-align: center;
}

.pricing-btn-secondary {
  background: var(--bg-canvas);
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
}
.pricing-btn-secondary:hover {
  background: #e2e8f0;
  border-color: var(--border-hover);
}

.pricing-btn-primary {
  background: var(--accent-blue);
  color: #ffffff;
  border: 1px solid var(--accent-blue);
  box-shadow: 0 4px 14px rgba(0, 113, 227, 0.25);
}
.pricing-btn-primary:hover {
  background: var(--accent-blue-hover);
  box-shadow: 0 6px 18px rgba(0, 113, 227, 0.35);
}

.pricing-guarantee-banner {
  max-width: 860px;
  margin: 3.5rem auto 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.pricing-guarantee-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.pricing-guarantee-item strong {
  color: var(--text-primary);
}

/* ==========================================================================
   Free vs Pro Feature Comparison Matrix
   ========================================================================== */
.pricing-comparison-wrap {
  max-width: 1040px;
  margin: 4.5rem auto 0;
  text-align: center;
}

.comparison-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.comparison-desc {
  font-size: 0.92rem;
  color: var(--text-tertiary);
  margin-bottom: 2rem;
}

.comparison-table-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th, .comparison-table td {
  padding: 1rem 1.4rem;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.9rem;
}

.comparison-table thead th {
  background: #f8fafc;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 0.95rem;
}

.comparison-table thead th.th-pro {
  background: rgba(0, 113, 227, 0.06);
  color: var(--accent-blue);
}

.comparison-table td.td-pro {
  background: rgba(0, 113, 227, 0.02);
}

.comparison-table tr.tr-group td {
  background: #f1f5f9;
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  padding: 0.65rem 1.4rem;
}

.feat-check {
  color: var(--accent-emerald);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.feat-cross {
  color: var(--text-muted);
  font-weight: 500;
}

.feat-pro-badge {
  color: var(--accent-blue);
  background: rgba(0, 113, 227, 0.08);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.8rem;
  display: inline-block;
}

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

@media (max-width: 680px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
  }
  .pricing-guarantee-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .comparison-table th, .comparison-table td {
    padding: 0.75rem 0.85rem;
    font-size: 0.82rem;
  }
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 1024px) {
  .studio-panel-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hud-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  #navbar {
    width: calc(100% - 1.5rem);
    top: 12px;
  }
  .nav-links, .nav-cta-group {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex !important;
  }
  .mobile-nav-drawer.open {
    display: flex !important;
  }
  .section {
    padding: 70px 1rem;
  }
  .hero-section {
    padding: 110px 1rem 40px;
  }
  .hero-desktop-stage {
    margin-top: 2rem;
  }
  .sim-app-window.browser {
    display: none;
  }
  .sim-app-window.xcode {
    left: 10px;
    top: 10px;
    width: calc(100% - 20px);
    height: 250px;
  }
  .aurasnap-toolbar-stack {
    transform: translateX(-50%) scale(0.65);
    bottom: 8px;
  }
  .theme-showcase-cards {
    grid-template-columns: 1fr;
  }
  .studio-panel {
    padding: 1.5rem 1rem;
  }
  .footer-inner {
    flex-direction: column;
    gap: 2rem;
  }
  .footer-links-grid {
    gap: 2rem;
  }
  .footer-bottom-bar {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hud-grid {
    grid-template-columns: 1fr;
  }
  .aurasnap-toolbar-stack {
    transform: translateX(-50%) scale(0.53);
    bottom: 5px;
  }
}
