:root {
  color-scheme: light dark;
  
  /* Fonts */
  --font-display: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, sans-serif;

  /* HSL tailored color palette - Light Mode */
  --hue: 245;
  --primary-glow: linear-gradient(135deg, hsl(245, 100%, 65%), hsl(280, 85%, 60%));
  
  --ink: hsl(240, 10%, 12%);
  --muted: hsl(240, 4%, 46%);
  --canvas: hsl(240, 20%, 98%);
  --surface: hsl(0, 0%, 100%);
  --surface-hover: hsl(240, 10%, 96%);
  --surface-glass: rgba(255, 255, 255, 0.75);
  --line: hsla(240, 10%, 12%, 0.08);
  --glow-shadow: 0 20px 40px -15px hsla(245, 100%, 65%, 0.15);
  
  --accent: hsl(245, 100%, 61%);
  --accent-hover: hsl(245, 100%, 66%);
  --accent-bg-glow: hsla(245, 100%, 61%, 0.05);

  --focus: hsl(245, 100%, 61%);
}

@media (prefers-color-scheme: dark) {
  :root {
    /* HSL tailored color palette - Dark Mode */
    --ink: hsl(0, 0%, 96%);
    --muted: hsl(240, 5%, 70%);
    --canvas: hsl(240, 20%, 4%);
    --surface: hsl(240, 16%, 8%);
    --surface-hover: hsl(240, 14%, 11%);
    --surface-glass: rgba(13, 13, 18, 0.7);
    --line: hsla(240, 10%, 96%, 0.07);
    --glow-shadow: 0 20px 40px -15px hsla(280, 85%, 60%, 0.3);
    
    --accent: hsl(245, 100%, 68%);
    --accent-hover: hsl(245, 100%, 73%);
    --accent-bg-glow: hsla(245, 100%, 68%, 0.1);
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--canvas);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

button {
  border: none;
  background: none;
  font: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
}

/* Accessibility Skip Link */
.skip-link {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 100;
  transform: translateY(-160%);
  border-radius: 99px;
  padding: 12px 24px;
  background: var(--primary-glow);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* Floating Navigation Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  padding: 16px 24px 0;
  pointer-events: none;
}

.site-nav-container {
  max-width: 1200px;
  margin: 0 auto;
  pointer-events: auto;
}

.site-nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 8px 20px;
  background: var(--surface-glass);
  backdrop-filter: blur(20px) saturate(190%);
  -webkit-backdrop-filter: blur(20px) saturate(190%);
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.06);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-nav:hover {
  border-color: hsla(245, 100%, 65%, 0.2);
  box-shadow: 0 12px 36px -10px rgba(0,0,0,0.08);
}

.brand {
  position: relative;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
}

.brand-logo {
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.nav-links {
  display: flex;
  gap: 28px;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}

.nav-links a {
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 99px;
  background: var(--primary-glow);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

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

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border-radius: 99px;
  padding: 0 20px;
  background: var(--ink);
  color: var(--canvas);
  font-size: 13px;
  font-weight: 600;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-download:hover {
  transform: translateY(-1px);
  opacity: 0.9;
}

.nav-download:active {
  transform: translateY(0);
}

/* Base Page Title & Typography */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -1px;
}

/* Premium Hero Section */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 96vh;
  padding: 140px 24px 80px;
  background: var(--canvas);
  overflow: hidden;
}

/* Background animated mesh glows */
.hero-bg-glows {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.glow-1, .glow-2 {
  position: absolute;
  width: min(60vw, 600px);
  height: min(60vw, 600px);
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.12;
  mix-blend-mode: screen;
}

.glow-1 {
  top: -10%;
  left: 10%;
  background: hsl(245, 100%, 65%);
  animation: floatGlow 12s infinite alternate ease-in-out;
}

.glow-2 {
  bottom: 10%;
  right: 10%;
  background: hsl(280, 85%, 60%);
  animation: floatGlow 15s infinite alternate-reverse ease-in-out;
}

@keyframes floatGlow {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(80px, 50px) scale(1.15); }
}

/* Tech Graph Grid overlay */
.hero-grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  background-image: 
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 50px 50px;
  background-position: center;
  opacity: 0.35;
  mask-image: radial-gradient(circle at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at center, black 30%, transparent 80%);
  animation: panGrid 20s linear infinite;
}

@keyframes panGrid {
  0% { background-position: 0 0; }
  100% { background-position: 50px 50px; }
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1100px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-copy {
  max-width: 820px;
  text-align: center;
  margin-bottom: 56px;
}

.hero-copy h1 {
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.05;
  letter-spacing: -2px;
  background: linear-gradient(135deg, var(--ink) 50%, var(--muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-copy .lead {
  max-width: 680px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: clamp(17px, 3.5vw, 21px);
  line-height: 1.45;
  font-weight: 400;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border-radius: 99px;
  background: var(--accent-bg-glow);
  border: 1px solid hsla(245, 100%, 65%, 0.15);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 36px;
}

/* Premium Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  border-radius: 99px;
  padding: 12px 30px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.button:active {
  transform: scale(0.96);
}

.button.primary {
  background: var(--primary-glow);
  color: #fff;
  box-shadow: 0 8px 28px -6px hsla(245, 100%, 65%, 0.4);
}

.button.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -4px hsla(245, 100%, 65%, 0.5);
}

.button.secondary {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.button.secondary:hover {
  border-color: var(--muted);
  transform: translateY(-2px);
}

.hero-note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 20px;
}

/* macOS Device Mockup Frame */
.hero-visual {
  width: 100%;
  max-width: 860px;
  perspective: 1000px;
  padding: 0 16px;
}

.macbook-frame {
  position: relative;
  background: #252528;
  border: 12px solid #000;
  border-radius: 20px;
  box-shadow: 
    0 30px 70px -15px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.05);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px; /* Inner bezel padding if needed */
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.macbook-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 6px;
  overflow: hidden;
  background: #000;
}

.macbook-frame:hover {
  /* Disabled transform to prevent drag coordinate math bugs */
}

.screen-glare {
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 100%;
  background: linear-gradient(115deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0) 40%);
  z-index: 2;
  pointer-events: none;
  transform: translate(-50%, -50%) rotate(25deg);
}

.macbook-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* Feature Band Grid */
.feature-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: -40px auto 0;
  padding: 0 24px 80px;
  position: relative;
  z-index: 10;
}

.feature-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 36px;
  background: var(--surface-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.02);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: hsla(245, 100%, 65%, 0.2);
}

.feature-num {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  color: var(--accent);
  background: var(--accent-bg-glow);
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 8px;
  margin-bottom: 24px;
}

.feature-card h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

/* Workflow Section */
.workflow {
  padding: 100px 24px;
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 80px;
}

.workflow-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.workflow h2 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  margin-top: 16px;
}

.workflow-desc {
  font-size: 18px;
  color: var(--muted);
  margin-top: 24px;
}

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

.workflow-item {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  background: var(--canvas);
  transition: border-color 0.3s ease;
}

.workflow-item:hover {
  border-color: hsla(245, 100%, 65%, 0.15);
}

.icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-bg-glow);
  color: var(--accent);
  margin-bottom: 20px;
}

.workflow-item h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.workflow-item p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

/* Pricing Section */
.section-copy.centered {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 720px;
  margin: 0 auto;
  width: 100%;
}

.pricing {
  padding: 100px 24px;
  background: var(--canvas);
  scroll-margin-top: 80px;
}

.pricing-subtitle {
  max-width: 720px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 18px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 800px;
  margin: 56px auto 0;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 32px;
  background: var(--surface);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-8px);
  border-color: hsla(245, 100%, 65%, 0.25);
  box-shadow: 0 20px 40px -15px rgba(0,0,0,0.06);
}

.card-header {
  margin-bottom: 24px;
}

.card-header h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 6px 0 12px;
}

.price-wrap {
  display: flex;
  align-items: baseline;
  margin-bottom: 12px;
}

.price-symbol {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-right: 2px;
}

.price {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -1.5px;
}

.pricing-card .period {
  font-size: 15px;
  color: var(--muted);
  margin-left: 4px;
}

.plan-desc {
  font-size: 14px;
  color: var(--muted);
}

/* Pricing features checkmarks */
.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--ink);
}

.pricing-features svg {
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 2px;
}

.pricing-card .plan-button {
  margin-top: auto;
  width: 100%;
  min-height: 44px;
  font-size: 15px;
}

.pricing-card.featured {
  border-color: var(--accent);
  background: var(--surface);
  box-shadow: 0 12px 30px -10px hsla(245, 100%, 65%, 0.1);
}

.pricing-card.featured:hover {
  box-shadow: 0 20px 48px -10px hsla(245, 100%, 65%, 0.25);
}

.featured-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 99px;
  padding: 4px 12px;
  background: var(--primary-glow);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Premium Card Glow elements */
.card-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.3s ease;
  background: var(--primary-glow);
  filter: blur(24px);
}

.pricing-card.featured:hover .card-glow {
  opacity: 0.15;
}

.pricing-card.lifetime:hover .card-glow.gold {
  opacity: 0.15;
  background: linear-gradient(135deg, hsl(45, 100%, 55%), hsl(35, 100%, 50%));
}

.pricing-card.lifetime .plan-kicker {
  color: hsl(42, 100%, 48%);
}

.pricing-card.lifetime .pricing-features svg {
  color: hsl(42, 100%, 48%);
}

.secondary-plan {
  border: 1px solid var(--line);
  background: var(--canvas);
  color: var(--ink);
}

.secondary-plan:hover {
  background: var(--surface-hover);
}

.countdown {
  font-size: 14px;
  color: var(--muted);
  text-align: center;
  margin-top: 32px;
}

/* Download Strip Banner */
.download-strip {
  position: relative;
  background: var(--ink);
  color: var(--canvas);
  padding: 80px 24px;
  overflow: hidden;
  border-top: 1px solid var(--line);
}

.strip-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(80vw, 600px);
  height: 200px;
  border-radius: 50%;
  background: var(--primary-glow);
  filter: blur(80px);
  opacity: 0.2;
  pointer-events: none;
}

.strip-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 5;
}

.download-strip h2 {
  font-size: clamp(24px, 3.5vw, 36px);
  line-height: 1.15;
  margin-top: 8px;
}

.download-strip .eyebrow {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--muted-dark);
}

/* Premium FAQ Accordion Section */
.faq {
  padding: 100px 24px;
  background: var(--canvas);
  scroll-margin-top: 80px;
}

.faq-list {
  max-width: 820px;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.faq details[open] {
  border-color: hsla(245, 100%, 65%, 0.2);
}

.faq summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 30px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  user-select: none;
  font-family: var(--font-display);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary svg {
  flex-shrink: 0;
  color: var(--muted);
  transition: transform 0.3s ease, color 0.3s ease;
}

.faq details[open] summary svg {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq-content {
  padding: 0 30px 24px;
  border-top: 1px solid transparent;
}

.faq details[open] .faq-content {
  border-top-color: var(--line);
}

.faq-content p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  padding-top: 16px;
}

/* Sleek Footer */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 40px 24px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 14px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 24px;
}

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

/* Adaptive Policy Page Layouts */
.policy-page {
  min-height: 100vh;
  padding: 120px 24px 80px;
  background: var(--canvas);
}

.policy-card {
  max-width: 780px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 48px;
  background: var(--surface);
  box-shadow: 0 10px 40px rgba(0,0,0,0.02);
}

.policy-card h1 {
  font-size: clamp(32px, 5vw, 44px);
  margin-bottom: 8px;
}

.policy-card h2 {
  font-size: 22px;
  margin-top: 40px;
  margin-bottom: 12px;
}

.plan-desc {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

/* Pricing Segmented Control */
.pricing-segment-control {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  padding: 4px;
  margin-bottom: 24px;
}

.segment-btn {
  background: transparent;
  border: none;
  border-radius: 26px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.segment-btn:hover {
  color: #fff;
}

.segment-btn.active {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.pricing-features {
  font-size: 13px;
  color: var(--muted);
}

.policy-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.policy-updated {
  font-size: 13px;
  color: var(--muted);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .feature-band {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }
  
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .nav-links {
    display: none;
  }

  .workflow-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .strip-content {
    flex-direction: column;
    align-items: flex-start;
  }

}

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

  .button {
    width: 100%;
  }

  .faq summary {
    padding: 20px;
    font-size: 16px;
  }

  .faq-content {
    padding: 0 20px 20px;
  }

  .policy-card {
    padding: 24px;
  }

}

/* Reduce Motion Accessibility */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  
  .glow-1, .glow-2, .button, .pricing-card, .faq summary svg, .macbook-frame, .route-spinner {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}

/* --- Interactive macOS Desktop Mockup --- */
.mock-desktop {
  position: absolute;
  top: 0; left: 0;
  width: 860px; height: 537.5px;
  background-color: #5122e6;
  background-image: 
    radial-gradient(at 40% 20%, #ff007f 0px, transparent 50%),
    radial-gradient(at 80% 0%, #ff5e00 0px, transparent 50%),
    radial-gradient(at 0% 50%, #00d2ff 0px, transparent 50%),
    radial-gradient(at 80% 50%, #4a00e0 0px, transparent 50%),
    radial-gradient(at 0% 100%, #f000ff 0px, transparent 50%),
    radial-gradient(at 80% 100%, #8e2de2 0px, transparent 50%),
    radial-gradient(at 0% 0%, #ff0055 0px, transparent 50%);
  z-index: 10;
  border-radius: 6px;
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}



/* Menubar */
.mock-menubar {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 28px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 12px;
  font-size: 13px;
  color: #fff;
  z-index: 50;
  box-shadow: 0 1px 0 rgba(0,0,0,0.1);
}
.menubar-left, .menubar-right { display: flex; align-items: center; gap: 12px; }
.menubar-apple { font-size: 15px; }
.active-app { font-weight: 700; }
.menubar-item { font-weight: 500; text-shadow: 0 1px 2px rgba(0,0,0,0.3); }

/* Pixel Zen Menu Bar Icon & Popover */
.status-item-btn {
  background: transparent; border: none; color: #fff; padding: 2px 6px; border-radius: 4px; cursor: pointer; transition: background 0.2s;
}
.status-item-btn:hover, .status-item-btn.active {
  background: rgba(255,255,255,0.2);
}
.mock-popover {
  position: absolute;
  top: 32px; right: 8px;
  width: 260px;
  background: rgba(30, 30, 35, 0.85);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  z-index: 100;
  opacity: 0; pointer-events: none;
  transform: translateY(-5px);
  transition: opacity 0.2s, transform 0.2s;
  color: #fff;
  text-align: left;
}
.mock-popover.open {
  opacity: 1; pointer-events: auto; transform: translateY(0);
}
.mock-popover-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.mock-popover-title { font-size: 15px; font-weight: 600; letter-spacing: -0.3px; color: #fff; }
.mock-tier-badge { background: #5122e6; color: #fff; font-size: 10px; font-weight: 600; padding: 2px 6px; border-radius: 10px; }

.mock-workspace-row { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.08); padding: 8px; border-radius: 8px; margin-bottom: 12px; }
.mock-workspace-row.cleared { opacity: 0.6; }
.row-name { display: block; font-size: 12px; color: #ccc; }
.row-meta { display: block; font-size: 12px; color: #888; }

.mock-cmd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 12px; }
.mock-pill { padding: 6px; border-radius: 12px; font-size: 12px; font-weight: 500; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 6px; border: none; transition: opacity 0.2s, transform 0.2s; }
.mock-pill:active { transform: scale(0.96); }
.mock-pill.primary { background: #fff; color: #000; }
.mock-pill.secondary { background: rgba(255,255,255,0.1); color: #fff; }
.mock-pill:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }

.mock-popover-divider { height: 1px; background: rgba(255,255,255,0.1); margin-bottom: 8px; }
.mock-popover-footer { display: flex; align-items: center; gap: 12px; }
.mock-upgrade { font-size: 11px; color: #a180ff; font-weight: 500; display: flex; align-items: center; gap: 4px; cursor: pointer; }
.mock-footer-icon { color: #888; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: color 0.2s; }
.mock-footer-icon:hover { color: #fff; }

/* Draggable Windows */
.mock-workspace { position: absolute; top: 28px; left: 0; width: 100%; height: calc(100% - 28px); overflow: hidden; }
.mock-window {
  position: absolute;
  background: var(--surface-elevated);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease, width 0.3s ease, height 0.3s ease, left 0.3s ease, top 0.3s ease;
  transform-origin: center bottom;
}
.mock-window.closed-window {
  opacity: 0;
  transform: translateY(80px) scale(0.85);
  pointer-events: none;
}
.win-header {
  height: 28px;
  background: linear-gradient(to bottom, #4a4a4a, #333);
  border-bottom: 1px solid #222;
  display: flex; align-items: center; justify-content: center;
  position: relative; cursor: grab;
}
.win-header:active { cursor: grabbing; }
.traffic-lights { position: absolute; left: 8px; display: flex; gap: 6px; }
.tl-btn { width: 10px; height: 10px; border-radius: 50%; border: none; padding: 0; cursor: pointer; }
.tl-btn.close { background: #ff5f56; }
.tl-btn.minimize { background: #ffbd2e; }
.tl-btn.maximize { background: #27c93f; }
.win-title { font-size: 12px; font-weight: 600; color: #ccc; }

.win-body { flex: 1; padding: 12px; }

/* Safari Mock */
.browser-body { background: #1e1e1e; display: flex; flex-direction: column; gap: 12px; }
.browser-address-bar { background: #2d2d2d; border-radius: 6px; padding: 6px 10px; display: flex; align-items: center; gap: 8px; font-size: 11px; color: #888; }
.browser-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; flex: 1; }
.browser-card { background: #2d2d2d; border-radius: 6px; padding: 8px; display: flex; flex-direction: column; gap: 8px; }
.card-img { height: 40px; border-radius: 4px; }
.card-line { height: 6px; background: #444; border-radius: 3px; width: 60%; }

/* Figma Mock */
.figma-body { background: #2c2c2c; padding: 0; display: flex; }
.figma-sidebar { width: 60px; background: #222; border-right: 1px solid #333; padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.figma-bar { height: 6px; background: #444; border-radius: 3px; }
.figma-canvas { flex: 1; background: #1e1e1e; display: flex; align-items: center; justify-content: center; position: relative; }
.figma-rect-card { position: absolute; top: 20%; left: 20%; width: 50%; height: 40%; background: #fff; border-radius: 6px; padding: 10px; box-shadow: 0 4px 12px rgba(0,0,0,0.2); }
.figma-avatar { width: 24px; height: 24px; border-radius: 50%; background: #ddd; margin-bottom: 8px; }
.figma-text-line { height: 6px; background: #eee; border-radius: 3px; margin-bottom: 4px; }
.figma-vector-ball { position: absolute; bottom: 20%; right: 20%; width: 30px; height: 30px; border-radius: 50%; border: 2px solid #0acf83; }

/* VS Code Mock */
.code-body { background: #1e1e1e; font-family: "Menlo", "Monaco", monospace; font-size: 10px; padding: 12px; }
.code-line { margin-bottom: 4px; color: #abb2bf; white-space: nowrap; overflow: hidden; }
.c-purple { color: #c678dd; }
.c-blue { color: #61afef; }
.c-yellow { color: #e5c07b; }
.c-green { color: #98c379; }
.c-red { color: #e06c75; }
.c-orange { color: #d19a66; }

.keyboard-hint-outside {
  margin-top: 24px; text-align: center; color: rgba(255,255,255,0.7); font-size: 14px;
}
.keyboard-hint-outside kbd {
  background: rgba(255,255,255,0.1); padding: 4px 8px; border-radius: 6px; border: 1px solid rgba(255,255,255,0.1); margin: 0 4px; font-family: -apple-system, sans-serif;
}

.mock-dock {
  position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 4px;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(25px) saturate(180%);
  -webkit-backdrop-filter: blur(25px) saturate(180%);
  padding: 5px 6px; border-radius: 18px;
  border: 0.5px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  z-index: 100;
}
.dock-icon {
  width: 38px; height: 38px; border-radius: 8px; background: transparent;
  position: relative; cursor: pointer; transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), margin 0.2s ease;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3));
}
.dock-icon:hover {
  transform: scale(1.2) translateY(-4px); margin: 0 4px;
}
.dock-icon.active::after {
  content: ""; position: absolute; bottom: -4px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 4px; background: rgba(0,0,0,0.8); border-radius: 50%;
}
.dock-icon.figma { background-image: url('/assets/figma-icon.svg'); background-size: cover; }
.dock-icon.vscode { background-image: url('/assets/vscode-icon.svg'); background-size: cover; }
.dock-icon.safari { background-image: url('/assets/safari-icon.svg'); background-size: cover; border-radius: 50%; }
.dock-icon.trash { background: rgba(255,255,255,0.8); }
.dock-divider { width: 1px; height: 30px; background: rgba(0,0,0,0.15); margin: 0 4px; }

/* Scroll Reveal Animations */
.reveal-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal-up.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
