/* ==========================================================================
   KuTasks — Static Website Design System
   Matches KuTasks Atomic 5-Layer Design System (Warm Modernism & Glassmorphism)
   ========================================================================== */

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

/* --- Layer 1: Design Tokens --- */
:root {
  /* Default Theme: Deep Warm Espresso (Dark) */
  --bg-canvas: #141210;
  --bg-surface: rgba(30, 27, 24, 0.85);
  --bg-surface-elevated: #282420;
  --bg-card: rgba(35, 32, 28, 0.85);
  --bg-card-hover: rgba(45, 41, 36, 0.95);
  --bg-input: rgba(37, 33, 29, 0.9);
  --bg-glass-overlay: rgba(255, 255, 255, 0.04);
  
  --border-subtle: #3A342E;
  --border-focus: #B76935;
  --border-glass: rgba(255, 255, 255, 0.08);

  --text-primary: #F5F5F4;
  --text-secondary: #A8A29E;
  --text-muted: #78716C;
  --text-inverse: #141210;

  /* Brand Accents */
  --color-primary: #D4845A;
  --color-primary-rgb: 212, 132, 90;
  --color-primary-variant: #B76935;
  --color-on-primary: #1A1714;
  --color-sandstone: #DEC5A9;
  --color-espresso: #1F1C19;

  /* Semantics */
  --color-success: #34D399;
  --color-warning: #FBBF24;
  --color-error: #F87171;
  --color-info: #60A5FA;

  /* Priority Tokens */
  --priority-urgent: #EF4444;
  --priority-high: #F97316;
  --priority-medium: #3B82F6;
  --priority-low: #78716C;

  /* MoSCoW Agile Tiers */
  --moscow-must: #EF4444;
  --moscow-should: #F59E0B;
  --moscow-could: #3B82F6;
  --moscow-wont: #78716C;

  /* Shadows & Glow */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 12px 36px rgba(212, 132, 90, 0.16);

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 9999px;

  /* Typography */
  --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;

  /* Layout */
  --max-width: 1200px;
  --header-height: 76px;
}

/* Light Theme: Warm Cream Porcelain */
[data-theme="light"] {
  --bg-canvas: #FAF8F5;
  --bg-surface: rgba(255, 255, 255, 0.9);
  --bg-surface-elevated: #F4EFEA;
  --bg-card: rgba(255, 255, 255, 0.95);
  --bg-card-hover: #FFFFFF;
  --bg-input: #F4EFEA;
  --bg-glass-overlay: rgba(255, 255, 255, 0.6);

  --border-subtle: #E8E2DA;
  --border-focus: #B76935;
  --border-glass: rgba(0, 0, 0, 0.06);

  --text-primary: #1C1917;
  --text-secondary: #78716C;
  --text-muted: #A8A29E;
  --text-inverse: #FAF8F5;

  --color-primary: #B76935;
  --color-primary-rgb: 183, 105, 53;
  --color-primary-variant: #815839;
  --color-on-primary: #FFFFFF;

  --color-success: #10B981;
  --color-warning: #F59E0B;
  --color-error: #EF4444;
  --color-info: #3B82F6;

  --shadow-sm: 0 2px 8px rgba(183, 105, 53, 0.05);
  --shadow-md: 0 8px 24px rgba(183, 105, 53, 0.08);
  --shadow-lg: 0 16px 40px rgba(183, 105, 53, 0.12);
  --shadow-glow: 0 12px 36px rgba(183, 105, 53, 0.15);
}

/* AMOLED Pure Black Theme */
[data-theme="amoled"] {
  --bg-canvas: #000000;
  --bg-surface: #0A0A0A;
  --bg-surface-elevated: #141414;
  --bg-card: #0F0F0F;
  --bg-card-hover: #171717;
  --bg-input: #121212;
  --border-subtle: #262626;
  --border-glass: #2A2A2A;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.8);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.9);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 1);
  --shadow-glow: 0 12px 36px rgba(212, 132, 90, 0.22);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); font-weight: 600; }
h4 { font-size: 1.15rem; font-weight: 600; }

p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-sandstone);
}

code, pre {
  font-family: var(--font-mono);
}

/* Glassmorphism Primitives */
.glass-panel {
  background: var(--bg-surface);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1),
              box-shadow 0.25s cubic-bezier(0.2, 0.8, 0.2, 1),
              border-color 0.25s ease,
              background 0.25s ease;
}

.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
  border-color: rgba(var(--color-primary-rgb), 0.4);
  background: var(--bg-card-hover);
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-md);
  padding-right: var(--space-md);
}

.section {
  padding-top: var(--space-4xl);
  padding-bottom: var(--space-4xl);
  position: relative;
}

.section-alt {
  background: var(--bg-surface-elevated);
  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 var(--space-3xl);
}

.section-header h2 {
  margin-top: var(--space-sm);
  margin-bottom: var(--space-md);
}

.section-header p {
  font-size: 1.15rem;
}

/* Badges & Chips */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  background: rgba(var(--color-primary-rgb), 0.14);
  color: var(--color-primary);
  border: 1px solid rgba(var(--color-primary-rgb), 0.35);
  font-family: var(--font-body);
}

.badge-green {
  background: rgba(16, 185, 129, 0.12);
  color: var(--color-success);
  border-color: rgba(16, 185, 129, 0.35);
}

.badge-amber {
  background: rgba(245, 158, 11, 0.12);
  color: var(--color-warning);
  border-color: rgba(245, 158, 11, 0.35);
}

.badge-blue {
  background: rgba(59, 130, 246, 0.12);
  color: var(--color-info);
  border-color: rgba(59, 130, 246, 0.35);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  text-decoration: none;
  line-height: 1.2;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-on-primary);
  border-color: var(--color-primary);
  box-shadow: 0 4px 16px rgba(var(--color-primary-rgb), 0.35);
}

.btn-primary:hover {
  background: #E89D73;
  color: #141210;
  box-shadow: 0 6px 22px rgba(var(--color-primary-rgb), 0.45);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-primary);
  border-color: var(--border-subtle);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: var(--bg-surface-elevated);
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: transparent;
}

.btn-ghost:hover {
  background: var(--bg-glass-overlay);
  color: var(--text-primary);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.88rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.1rem;
  border-radius: var(--radius-lg);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  background: var(--bg-surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.brand-link:hover .brand-logo-img {
  transform: scale(1.05);
}

.brand-wordmark {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.brand-wordmark span {
  color: var(--color-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color 0.2s ease;
  padding: 8px 4px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.theme-switch-btn {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-secondary);
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.theme-switch-btn:hover {
  color: var(--text-primary);
  border-color: var(--color-primary);
  transform: rotate(15deg);
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
  line-height: 1;
}

/* Base: mobile-nav-drawer MUST be hidden on desktop/tablet */
.mobile-nav-drawer {
  display: none;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding-top: calc(var(--space-3xl) + 20px);
  padding-bottom: var(--space-4xl);
  overflow: hidden;
  position: relative;
}

.hero-glow-bg {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(circle, rgba(var(--color-primary-rgb), 0.16) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
  filter: blur(50px);
}

.hero-content {
  text-align: center;
  max-width: 920px;
  margin: 0 auto var(--space-3xl);
}

.hero-eyebrow {
  margin-bottom: var(--space-md);
}

.hero-headline {
  margin-bottom: var(--space-md);
  letter-spacing: -0.03em;
}

.hero-subheadline {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  max-width: 780px;
  margin: 0 auto var(--space-xl);
  color: var(--text-secondary);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: var(--space-2xl);
}

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

.hero-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* App Mockup Showcase Frame */
.hero-mockup-wrapper {
  margin-top: var(--space-xl);
  position: relative;
}

.mockup-frame {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 18px;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  position: relative;
  overflow: hidden;
}

.mockup-tabs-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.mockup-window-controls {
  display: flex;
  gap: 8px;
}

.mockup-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #3A342E;
}

.mockup-dot.red { background: #EF4444; }
.mockup-dot.yellow { background: #F59E0B; }
.mockup-dot.green { background: #10B981; }

.mockup-platform-switcher {
  display: flex;
  gap: 6px;
  background: var(--bg-input);
  padding: 4px;
  border-radius: var(--radius-pill);
}

.platform-tab-btn {
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.platform-tab-btn.active {
  background: var(--color-primary);
  color: var(--color-on-primary);
  box-shadow: var(--shadow-sm);
}

.mockup-screen-container {
  min-height: 440px;
  display: grid;
  place-items: center;
  background: var(--bg-canvas);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 24px;
}

/* ==========================================================================
   Desktop Announcement Banner (Launch in ~2 Weeks)
   ========================================================================== */
.announcement-banner {
  background: linear-gradient(135deg, rgba(var(--color-primary-rgb), 0.12) 0%, var(--bg-surface-elevated) 100%);
  border: 1.5px solid rgba(var(--color-primary-rgb), 0.35);
  border-radius: var(--radius-xl);
  padding: 32px 40px;
  margin: var(--space-xl) auto var(--space-4xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  box-shadow: var(--shadow-glow);
  position: relative;
  overflow: hidden;
}

.announcement-banner::after {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(var(--color-primary-rgb), 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.announcement-text h3 {
  font-size: 1.6rem;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.announcement-text p {
  font-size: 1.05rem;
  max-width: 650px;
  color: var(--text-secondary);
}

.announcement-action {
  flex-shrink: 0;
}

/* ==========================================================================
   Pillars & Architecture Grid
   ========================================================================== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.pillar-card {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pillar-icon-box {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: rgba(var(--color-primary-rgb), 0.14);
  border: 1px solid rgba(var(--color-primary-rgb), 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--color-primary);
}

.pillar-card h3 {
  font-size: 1.35rem;
}

.pillar-card p {
  font-size: 0.98rem;
  line-height: 1.65;
}

/* ==========================================================================
   Feature Showcase (Detailed Cards)
   ========================================================================== */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: var(--space-4xl);
}

.feature-row.reversed {
  direction: rtl;
}

.feature-row.reversed > * {
  direction: ltr;
}

.feature-description {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.feature-description h3 {
  font-size: 2rem;
  line-height: 1.25;
}

.feature-visual {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-md);
}

.feature-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.feature-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.98rem;
  color: var(--text-secondary);
}

.feature-bullet-item svg, .feature-bullet-item i {
  color: var(--color-primary);
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 3px;
}

/* Feature UI Demonstrators */

/* 1. Eat That Frog Demo */
.frog-demo-card {
  background: var(--bg-canvas);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.frog-banner {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.frog-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.frog-badge-icon {
  font-size: 1.5rem;
}

.frog-title {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-primary);
}

.frog-sub {
  font-size: 0.82rem;
  color: var(--color-success);
}

/* 2. MoSCoW Board Demo */
.moscow-demo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.moscow-col {
  background: var(--bg-canvas);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.moscow-header {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-subtle);
}

.moscow-must-hdr { color: var(--moscow-must); }
.moscow-should-hdr { color: var(--moscow-should); }
.moscow-could-hdr { color: var(--moscow-could); }
.moscow-wont-hdr { color: var(--moscow-wont); }

.moscow-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 8px;
  font-size: 0.8rem;
  color: var(--text-primary);
}

/* 3. NLP Interactive Simulator */
.nlp-simulator-container {
  background: var(--bg-canvas);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.nlp-input-wrapper {
  position: relative;
  margin-bottom: 18px;
}

.nlp-input {
  width: 100%;
  padding: 16px 20px;
  background: var(--bg-input);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1.05rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nlp-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.2);
}

.nlp-chips-result {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 42px;
  align-items: center;
}

.nlp-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid transparent;
}

.nlp-chip-date {
  background: rgba(59, 130, 246, 0.15);
  color: #60A5FA;
  border-color: rgba(59, 130, 246, 0.35);
}

.nlp-chip-priority {
  background: rgba(239, 68, 68, 0.15);
  color: #F87171;
  border-color: rgba(239, 68, 68, 0.35);
}

.nlp-chip-project {
  background: rgba(212, 132, 90, 0.18);
  color: var(--color-primary);
  border-color: rgba(212, 132, 90, 0.4);
}

.nlp-chip-tag {
  background: rgba(168, 85, 247, 0.15);
  color: #C084FC;
  border-color: rgba(168, 85, 247, 0.35);
}

.nlp-chip-subtask {
  background: rgba(16, 185, 129, 0.15);
  color: #34D399;
  border-color: rgba(16, 185, 129, 0.35);
}

.nlp-presets-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.nlp-preset-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.nlp-preset-pill {
  font-size: 0.8rem;
  padding: 3px 10px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.nlp-preset-pill:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* 4. Pomodoro Focus Dial Demo */
.pomodoro-dial-widget {
  background: var(--bg-canvas);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.timer-circle {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  border: 6px solid var(--border-subtle);
  border-top-color: var(--color-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 0 24px rgba(var(--color-primary-rgb), 0.15);
}

.timer-digits {
  font-family: var(--font-mono);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-primary);
}

.timer-phase {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-primary);
}

.timer-controls {
  display: flex;
  gap: 12px;
}

.soundscapes-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}

.soundscape-chip {
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  cursor: pointer;
}

.soundscape-chip.active {
  background: rgba(var(--color-primary-rgb), 0.2);
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* ==========================================================================
   Android Glance Widgets Suite Section
   ========================================================================== */
.widgets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 20px;
}

.widget-item-card {
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.widget-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.widget-header-row h4 {
  font-size: 1.15rem;
}

.widget-size-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
}

.widget-item-card p {
  font-size: 0.92rem;
  line-height: 1.55;
}

/* ==========================================================================
   Desktop Native Power Suite Grid
   ========================================================================== */
.desktop-suite-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.desktop-feature-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hotkey-badge {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--color-sandstone);
  display: inline-block;
  margin-top: 6px;
}

/* ==========================================================================
   Data Sovereignty & Portability
   ========================================================================== */
.portability-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.portability-card {
  padding: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.portability-icon {
  font-size: 2.2rem;
  color: var(--color-primary);
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item:hover {
  border-color: rgba(var(--color-primary-rgb), 0.35);
}

.faq-question {
  padding: 20px 24px;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  color: var(--text-primary);
}

.faq-icon {
  font-size: 1.2rem;
  transition: transform 0.25s ease;
  color: var(--color-primary);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  padding: 0 24px;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.65;
}

.faq-item.open .faq-answer {
  max-height: 400px;
  padding-bottom: 20px;
  transition: max-height 0.3s cubic-bezier(0.9, 0, 0.8, 0.2);
}

/* ==========================================================================
   Privacy Policy Page Specifics
   ========================================================================== */
.policy-page-header {
  padding-top: calc(var(--space-2xl) + 20px);
  padding-bottom: var(--space-xl);
  text-align: center;
  max-width: 840px;
  margin: 0 auto;
}

.policy-card {
  padding: 36px 40px;
  margin-bottom: 32px;
}

.policy-summary-box {
  background: rgba(16, 185, 129, 0.08);
  border: 1.5px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 32px;
}

.policy-summary-box h3 {
  color: var(--color-success);
  margin-bottom: 12px;
}

.policy-table-wrapper {
  overflow-x: auto;
  margin: 20px 0;
}

.policy-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  text-align: left;
}

.policy-table th, .policy-table td {
  padding: 14px 18px;
  border: 1px solid var(--border-subtle);
}

.policy-table th {
  background: var(--bg-surface-elevated);
  font-weight: 700;
  color: var(--text-primary);
}

.policy-table tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.02);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  padding: var(--space-3xl) 0 var(--space-xl);
  margin-top: var(--space-4xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: var(--space-3xl);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand p {
  font-size: 0.95rem;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
  color: var(--text-muted);
  font-size: 0.88rem;
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .mobile-nav-drawer {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--bg-surface);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 24px;
    gap: 16px;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.25s ease;
    z-index: 999;
    box-shadow: var(--shadow-lg);
  }
  .mobile-nav-drawer.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .feature-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .feature-row.reversed {
    direction: ltr;
  }
  .announcement-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .moscow-demo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-headline {
    font-size: 2.2rem;
  }
  .policy-card {
    padding: 24px 18px;
  }
  .moscow-demo-grid {
    grid-template-columns: 1fr;
  }
}
