/* ============================================
   NextNote Landing Page — Design System
   Color palette from NextNote DESIGN_SYSTEM.md
   ============================================ */

:root {
  /* Light Mode Colors */
  --bg: #FEFEFE;
  --bg-warm: #FBF7ED;
  --surface: #FFFFFF;
  --border: #F0EEEB;
  --border-light: #F5F5F5;

  --text-primary: #545454;
  --text-secondary: #808080;
  --text-warm: #8C7367;
  --text-heading: #3A3A3A;

  --accent: #C4B8B1;
  --accent-light: #CEC4BF;
  --accent-dark: #A89A8F;
  --accent-gold: #C4B8B1;

  --paper-bg: #FBF7ED;
  --paper-text: #8C7367;
  --paper-line: rgba(140, 115, 103, 0.12);

  --destructive: #D05857;
  --success: #22C55E;
  --warning: #F7A648;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.03);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.06), 0 2px 4px rgba(0,0,0,0.03);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.1), 0 8px 20px rgba(0,0,0,0.05);

  --nav-bg: rgba(254, 254, 254, 0.85);
  --nav-border: rgba(0,0,0,0.05);

  --radius-xs: 3px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  --font: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

  --transition-fast: 100ms cubic-bezier(0.33, 0, 0.67, 1);
  --transition-normal: 250ms cubic-bezier(0.33, 0, 0.67, 0);
  --transition-smooth: 300ms cubic-bezier(0.33, 0, 0.67, 0);
  --ease-out-cubic: cubic-bezier(0.33, 0, 0.67, 0);

  --container-max: 1200px;
  --section-spacing: 140px;
}

/* Dark Mode */
[data-theme="dark"] {
  --bg: #141414;
  --bg-warm: #1C1916;
  --surface: #1C1C1E;
  --border: #2C2C2E;
  --border-light: #2C2C2E;

  --text-primary: #E6E6E6;
  --text-secondary: #B0B0B0;
  --text-warm: #ECE4DA;
  --text-heading: #F0F0F0;

  --paper-bg: #1C1916;
  --paper-text: #ECE4DA;
  --paper-line: rgba(183, 171, 160, 0.12);

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.2);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.3);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.4);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.5);

  --nav-bg: rgba(20, 20, 20, 0.85);
  --nav-border: rgba(255,255,255,0.06);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font);
  color: var(--text-primary);
  background: var(--bg);
  line-height: 1.7;
  font-size: 15px;
  font-weight: 400;
  transition: background-color 0.4s ease, color 0.4s ease;
  overflow-x: hidden;
}

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

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

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   Section Common
   ============================================ */
.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--accent-dark);
  background: linear-gradient(135deg, rgba(196,184,177,0.15), rgba(196,184,177,0.08));
  padding: 6px 16px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(196,184,177,0.2);
  margin-bottom: 20px;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 72px;
}

.section-title {
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 600;
  line-height: 1.25;
  color: var(--text-heading);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ============================================
   Scroll Reveal Animation
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Navigation
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--nav-bg);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.nav.scrolled {
  border-bottom-color: var(--nav-border);
  box-shadow: 0 1px 12px rgba(0,0,0,0.04);
}

.nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo-img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.nav-logo-text {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-heading);
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background var(--transition-fast);
}

.nav-link:hover {
  color: var(--text-primary);
  background: rgba(0,0,0,0.03);
}

[data-theme="dark"] .nav-link:hover {
  background: rgba(255,255,255,0.05);
}

.nav-btn {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-heading);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  background: var(--accent);
  color: white;
  margin-left: 8px;
  transition: transform var(--transition-fast), opacity var(--transition-fast), background 0.2s;
}

.nav-btn:hover {
  opacity: 0.9;
  transform: scale(0.98);
}

.nav-btn:active {
  transform: scale(0.96);
}

.nav-theme-toggle {
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  transition: color var(--transition-fast), background var(--transition-fast);
  margin-left: 4px;
}

.nav-theme-toggle:hover {
  color: var(--text-primary);
  background: rgba(0,0,0,0.04);
}

[data-theme="dark"] .nav-theme-toggle:hover {
  background: rgba(255,255,255,0.06);
}

.theme-icon-dark { display: none; }
[data-theme="dark"] .theme-icon-light { display: none; }
[data-theme="dark"] .theme-icon-dark { display: block; }

.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-mobile-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 24px 60px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 37px,
      var(--paper-line) 37px,
      var(--paper-line) 38px
    );
  opacity: 0.3;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 70%);
}

.hero-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(196,184,177,0.12) 0%, transparent 70%);
  pointer-events: none;
}

[data-theme="dark"] .hero-glow {
  background: radial-gradient(ellipse, rgba(196,184,177,0.06) 0%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  margin-bottom: 32px;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34,197,94,0.3); }
  50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(34,197,94,0); }
}

.hero-title {
  font-size: clamp(36px, 7vw, 72px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-heading);
  margin-bottom: 24px;
}

.hero-title-line {
  display: block;
}

.hero-title-accent {
  background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 50%, var(--paper-text) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--text-secondary);
  max-width: 520px;
  line-height: 1.8;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 56px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: transform 100ms ease, opacity 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

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

.btn-primary {
  background: var(--text-heading);
  color: var(--bg);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  box-shadow: var(--shadow-lg);
  opacity: 0.92;
}

[data-theme="dark"] .btn-primary {
  background: #E6E6E6;
  color: #141414;
}

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  background: rgba(0,0,0,0.03);
  border-color: var(--accent-light);
}

[data-theme="dark"] .btn-ghost:hover {
  background: rgba(255,255,255,0.05);
}

.btn-large {
  font-size: 15px;
  padding: 14px 32px;
}

.btn-large svg {
  flex-shrink: 0;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.hero-stat-number {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-heading);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.hero-stat-label {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 400;
}

.hero-stat-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
}

/* Hero Phone Mockup */
.hero-mockup {
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  display: none;
}

@media (min-width: 1100px) {
  .hero {
    flex-direction: row;
    justify-content: flex-start;
    padding-left: 80px;
  }

  .hero-content {
    align-items: flex-start;
    text-align: left;
    max-width: 560px;
  }

  .hero-mockup {
    display: block;
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    flex-shrink: 0;
    margin-left: auto;
  }
}

.hero-phone {
  width: 300px;
  transform: translateX(-320px) scale(2.9);
  transform-origin: center center;
}

.hero-phone-frame {
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  transform: none;
  transition: none;
}

.hero-phone-frame:hover {
  transform: none;
}

.hero-phone-screen {
  background: transparent;
  border-radius: 0;
  overflow: visible;
  display: block;
}

.hero-phone-video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.hero-phone-video.is-hidden {
  display: none;
}

/* Mock UI Elements */
.mock-statusbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.mock-statusbar-right {
  color: var(--text-primary);
}

.mock-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px 12px;
  color: var(--text-secondary);
}

.mock-nav-title {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-heading);
}

.mock-nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mock-ai-icon {
  font-size: 11px;
  font-weight: 600;
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  color: white;
  padding: 2px 6px;
  border-radius: 4px;
}

.mock-tags {
  display: flex;
  gap: 6px;
  padding: 4px 16px 12px;
  overflow: hidden;
}

.mock-tag {
  font-size: 11px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  background: color-mix(in srgb, var(--tag-color) 12%, transparent);
  color: var(--tag-color);
  border: 1px solid color-mix(in srgb, var(--tag-color) 25%, transparent);
  transition: all 0.2s ease;
}

.mock-tag.active {
  background: var(--tag-color);
  color: white;
  border-color: var(--tag-color);
}

.mock-cards {
  padding: 0 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mock-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  transition: transform 0.12s ease;
}

.mock-card:hover {
  transform: scale(0.98);
}

.mock-card-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-heading);
  margin-bottom: 4px;
}

.mock-card-preview {
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 8px;
}

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

.mock-card-tags {
  display: flex;
  gap: 4px;
}

.mock-card-tag {
  font-size: 9px;
  padding: 2px 6px;
  border-radius: var(--radius-xs);
  background: color-mix(in srgb, var(--tag-color) 12%, transparent);
  color: var(--tag-color);
  font-weight: 500;
}

.mock-card-time {
  font-size: 10px;
  color: var(--text-secondary);
}

.mock-input-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  margin: 8px 12px 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
}

.mock-mic-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mock-input {
  flex: 1;
  font-size: 12px;
  color: var(--text-secondary);
}

.mock-send-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--text-heading);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ============================================
   Features Section
   ============================================ */
.features {
  padding: var(--section-spacing) 0;
}

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

.feature-card {
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s ease,
              border-color 0.3s ease;
}

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

.feature-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--icon-color);
  transition: transform 0.25s var(--ease-out-cubic);
}

.feature-card:hover .feature-icon {
  transform: scale(1.12) rotate(-3deg);
}

[data-theme="dark"] .feature-icon {
  color: var(--icon-color);
}
}

.feature-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.feature-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ============================================
   Editor Section
   ============================================ */
.editor-section {
  padding: var(--section-spacing) 0;
  background: var(--bg-warm);
  position: relative;
  overflow: hidden;
}

.editor-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 37px,
      var(--paper-line) 37px,
      var(--paper-line) 38px
    );
  opacity: 0.4;
  pointer-events: none;
}

.editor-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.editor-info .section-tag { margin-bottom: 16px; }
.editor-info .section-title { text-align: left; margin-bottom: 16px; }
.editor-info .section-desc { text-align: left; margin-bottom: 36px; }

.editor-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.editor-detail {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.6);
  border-radius: var(--radius-md);
  border: 1px solid rgba(196,184,177,0.15);
  backdrop-filter: blur(8px);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

[data-theme="dark"] .editor-detail {
  background: rgba(28,25,22,0.6);
}

.editor-detail:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

.editor-detail-color {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  border: 1px solid rgba(0,0,0,0.06);
}

.editor-detail-number {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--paper-text);
  background: rgba(140,115,103,0.1);
  flex-shrink: 0;
}

.editor-detail-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--paper-text);
  background: rgba(140,115,103,0.1);
  flex-shrink: 0;
}

.editor-detail strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 2px;
}

.editor-detail span {
  font-size: 12px;
  color: var(--text-secondary);
}

/* Editor Paper Mockup */
.editor-mockup {
  perspective: 1200px;
}

.editor-paper {
  background: var(--paper-bg);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(140,115,103,0.08);
  position: relative;
  overflow: hidden;
  transform: rotateY(4deg) rotateX(-2deg);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.editor-paper:hover {
  transform: rotateY(1deg) rotateX(-1deg);
}

.editor-paper-lines {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 37px,
      var(--paper-line) 37px,
      var(--paper-line) 38px
    );
  pointer-events: none;
}

.editor-paper-content {
  position: relative;
  z-index: 1;
}

.editor-paper-date {
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 12px;
  font-weight: 400;
}

.editor-paper-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--paper-text);
  margin-bottom: 20px;
  line-height: 38px;
  letter-spacing: -0.01em;
}

.editor-paper-body {
  color: var(--paper-text);
  font-size: 15px;
  line-height: 38px;
}

.editor-paper-body p {
  margin-bottom: 0;
}

.editor-paper-highlight {
  background: linear-gradient(to bottom, transparent 60%, rgba(196,184,177,0.2) 60%);
  display: inline;
}

.editor-paper-body strong {
  font-weight: 600;
}

.editor-cursor {
  position: absolute;
  bottom: 82px;
  right: 36px;
  width: 2px;
  height: 20px;
  background: var(--paper-text);
  border-radius: 1px;
  animation: cursor-blink 1.2s ease-in-out infinite;
}

@keyframes cursor-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ============================================
   Second Brain Section
   ============================================ */
.brain-section {
  padding: var(--section-spacing) 0;
  background: var(--surface);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
}

/* Brain Chat Demo */
.brain-demo {
  max-width: 640px;
  margin: 0 auto 64px;
}

.brain-chat {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.brain-chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border-light);
}

.brain-chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.brain-chat-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-heading);
}

.brain-chat-subtitle {
  font-size: 11px;
  color: var(--accent-dark);
  margin-top: 1px;
}

.brain-chat-body {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.brain-msg {
  display: flex;
}

.brain-msg-user {
  justify-content: flex-end;
}

.brain-msg-user .brain-msg-bubble {
  background: var(--text-heading);
  color: var(--bg);
  border-radius: 16px 16px 4px 16px;
  padding: 10px 16px;
  font-size: 14px;
  max-width: 80%;
}

[data-theme="dark"] .brain-msg-user .brain-msg-bubble {
  background: #E6E6E6;
  color: #141414;
}

.brain-msg-ai .brain-msg-bubble {
  background: rgba(196,184,177,0.08);
  border: 1px solid rgba(196,184,177,0.12);
  border-radius: 16px 16px 16px 4px;
  padding: 14px 18px;
  font-size: 14px;
  max-width: 95%;
}

.brain-msg-ai .brain-msg-bubble p {
  color: var(--text-primary);
  line-height: 1.7;
  margin-bottom: 12px;
}

.brain-msg-ai .brain-msg-bubble p:last-child {
  margin-bottom: 0;
}

.brain-msg-report {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  margin: 8px 0;
}

.brain-report-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-light);
}

.brain-report-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-primary);
  line-height: 1.6;
  padding: 5px 0;
}

.brain-report-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 7px;
}

.brain-msg-source {
  font-size: 11px !important;
  color: var(--accent-dark) !important;
  margin-top: 4px;
  margin-bottom: 0 !important;
}

/* Brain Features Grid */
.brain-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 64px;
}

.brain-feature {
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  background: var(--bg);
  border: 1px solid var(--border);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.brain-feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.brain-feature-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--accent-dark);
}

.brain-feature h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.brain-feature p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* Brain Context Flow */
.brain-context {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 32px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
}

.brain-context-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-heading);
  text-align: center;
  margin-bottom: 28px;
}

.brain-context-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.brain-context-step {
  flex: 1;
  min-width: 180px;
}

.brain-context-note {
  padding: 14px 16px;
  background: rgba(196,184,177,0.06);
  border: 1px solid rgba(196,184,177,0.15);
  border-radius: var(--radius-md);
  transition: transform 0.2s ease;
}

.brain-context-note:hover {
  transform: translateY(-2px);
}

.brain-context-note-ai {
  background: linear-gradient(135deg, rgba(196,184,177,0.1), rgba(196,184,177,0.04));
  border-color: var(--accent-light);
}

.brain-note-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--accent-dark);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.brain-note-text {
  font-size: 13px;
  color: var(--text-primary);
  line-height: 1.6;
}

.brain-context-arrow {
  color: var(--accent);
  opacity: 0.4;
  flex-shrink: 0;
}

.brain-context-caption {
  text-align: center;
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 20px;
}

/* ============================================
   Platform Badge Styles
   ============================================ */
.platform-item {
  position: relative;
}

.platform-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  font-size: 10px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: var(--success);
  color: white;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px rgba(34,197,94,0.3);
}

.platform-badge-coming {
  background: var(--accent);
  box-shadow: 0 2px 8px rgba(196,184,177,0.3);
}

.platform-coming {
  opacity: 0.65;
}

.platform-coming .platform-icon {
  color: var(--text-secondary);
}

/* ============================================
   AI Section
   ============================================ */
.ai-section {
  padding: var(--section-spacing) 0;
}

.ai-capabilities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.ai-demo-phone {
  max-width: 320px;
  margin: 0 auto;
}

.ai-demo-screen {
  background: var(--surface);
  border-radius: 24px;
  padding: 20px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
}

.ai-demo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-heading);
  margin-bottom: 20px;
  color: var(--text-secondary);
}

.ai-demo-header span {
  color: var(--text-heading);
}

.ai-demo-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--accent-dark);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.ai-demo-original {
  padding: 16px;
  background: var(--bg);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  border: 1px solid var(--border-light);
}

.ai-demo-original p {
  font-size: 14px;
  color: var(--text-primary);
  line-height: 1.7;
}

.ai-demo-actions {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.ai-action {
  font-family: var(--font);
  font-size: 12px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.ai-action:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
}

.ai-action.active {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.ai-demo-result {
  padding: 16px;
  background: linear-gradient(135deg, rgba(196,184,177,0.06) 0%, rgba(196,184,177,0.02) 100%);
  border-radius: var(--radius-md);
  border: 1px solid rgba(196,184,177,0.15);
  margin-bottom: 16px;
}

.ai-demo-result p {
  font-size: 14px;
  color: var(--text-primary);
  line-height: 1.8;
}

.ai-typing::after {
  content: '|';
  animation: cursor-blink 1s infinite;
  color: var(--accent);
  margin-left: 2px;
}

.ai-demo-buttons {
  display: flex;
  gap: 10px;
}

.ai-reject, .ai-accept {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: transform 0.1s ease, opacity 0.15s ease;
}

.ai-reject:active, .ai-accept:active {
  transform: scale(0.96);
}

.ai-reject {
  background: var(--bg);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.ai-accept {
  background: var(--text-heading);
  color: var(--bg);
}

[data-theme="dark"] .ai-accept {
  background: #E6E6E6;
  color: #141414;
}

/* AI Features List */
.ai-features-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ai-feature {
  display: flex;
  gap: 20px;
  padding: 24px;
  border-radius: var(--radius-lg);
  transition: background 0.25s ease, transform 0.2s ease;
}

.ai-feature:hover {
  background: rgba(0,0,0,0.02);
  transform: translateX(4px);
}

[data-theme="dark"] .ai-feature:hover {
  background: rgba(255,255,255,0.03);
}

.ai-feature-number {
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  flex-shrink: 0;
  width: 44px;
  opacity: 0.6;
  font-variant-numeric: tabular-nums;
}

.ai-feature-content h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 4px;
}

.ai-feature-content p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================
   Voice Section
   ============================================ */
.voice-section {
  padding: var(--section-spacing) 0;
  background: var(--surface);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.voice-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.voice-info .section-tag { margin-bottom: 16px; }
.voice-info .section-title { text-align: left; margin-bottom: 16px; }
.voice-info .section-desc { text-align: left; margin-bottom: 36px; }

.voice-gestures {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.voice-gesture {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: var(--bg);
  border: 1px solid var(--border-light);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.voice-gesture:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

.voice-gesture-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(196,184,177,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent-dark);
}

.voice-gesture strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 2px;
}

.voice-gesture span {
  font-size: 12px;
  color: var(--text-secondary);
}

/* Voice Visual */
.voice-visual {
  display: flex;
  justify-content: center;
}

.voice-waveform {
  position: relative;
  width: 320px;
  height: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.voice-wave-container {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 60px;
}

.voice-wave {
  width: 4px;
  border-radius: 2px;
  background: var(--accent);
  animation: wave 1.4s ease-in-out infinite;
  animation-delay: calc(var(--i) * 0.07s);
}

@keyframes wave {
  0%, 100% { height: 8px; opacity: 0.3; }
  50% { height: calc(16px + var(--i) * 2px); opacity: 0.8; }
}

.voice-transcription {
  width: 100%;
}

.voice-transcription-bubble {
  background: rgba(196,184,177,0.08);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(196,184,177,0.15);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  display: inline-flex;
  align-items: baseline;
}

.voice-transcription-text {
  font-size: 14px;
  color: var(--text-primary);
  line-height: 1.6;
}

.voice-transcription-cursor {
  display: inline-block;
  width: 2px;
  height: 16px;
  background: var(--accent);
  border-radius: 1px;
  margin-left: 3px;
  animation: cursor-blink 1s infinite;
  vertical-align: text-bottom;
}

.voice-mic-ring {
  position: relative;
  width: 72px;
  height: 72px;
}

.voice-mic-ring-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--accent);
  animation: mic-pulse 2s ease-out infinite;
}

.voice-mic-ring-pulse.delay {
  animation-delay: 0.8s;
}

@keyframes mic-pulse {
  0% { transform: scale(1); opacity: 0.4; }
  100% { transform: scale(1.8); opacity: 0; }
}

.voice-mic-center {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(196,184,177,0.4);
}

/* ============================================
   Tags Section
   ============================================ */
.tags-section {
  padding: var(--section-spacing) 0;
}

.tags-showcase {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 800px;
  margin: 0 auto;
}

.tag-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px 10px 14px;
  border-radius: var(--radius-full);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  cursor: default;
}

.tag-item:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--shadow-md);
  border-color: var(--tag-color);
}

.tag-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--tag-color);
  flex-shrink: 0;
  transition: transform 0.25s var(--ease-out-cubic);
}

.tag-item:hover .tag-circle {
  transform: scale(1.15);
}

.tag-info {
  display: flex;
  flex-direction: column;
}

.tag-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-heading);
}

.tag-meaning {
  font-size: 11px;
  color: var(--text-secondary);
}

/* ============================================
   Philosophy Section
   ============================================ */
.philosophy-section {
  padding: var(--section-spacing) 0;
  background: var(--surface);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.philosophy-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

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

.philosophy-card-large {
  grid-column: 1 / -1;
}

.philosophy-card-content {
  padding: 36px 32px;
}

.philosophy-number {
  font-size: 36px;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.4;
  margin-bottom: 12px;
  display: block;
  letter-spacing: -0.02em;
}

.philosophy-card-content h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.philosophy-card-content p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
}

.philosophy-visual {
  margin-top: 28px;
}

.philosophy-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px;
  background: rgba(196,184,177,0.05);
  border-radius: var(--radius-md);
}

.flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.flow-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-dark);
  transition: transform 0.25s ease;
}

.flow-step:hover .flow-icon {
  transform: scale(1.08);
}

.flow-step span {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
}

.flow-arrow {
  color: var(--accent);
  opacity: 0.4;
}

/* ============================================
   Micro Interactions Section
   ============================================ */
.micro-section {
  padding: var(--section-spacing) 0;
}

.micro-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.micro-info .section-tag { margin-bottom: 16px; }
.micro-info .section-title { text-align: left; margin-bottom: 16px; }
.micro-info .section-desc { text-align: left; }

.micro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.micro-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.micro-item:hover {
  border-color: var(--accent-light);
}

.micro-target {
  padding: 12px 32px;
  background: var(--accent);
  color: white;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  transition: transform 100ms ease, opacity 100ms ease;
  user-select: none;
}

.micro-item:active .micro-target {
  transform: scale(0.96);
  opacity: 0.8;
}

.micro-target-icon {
  background: none;
  color: var(--text-primary);
  padding: 12px;
}

.micro-item[data-type="icon"]:active .micro-target {
  transform: scale(0.85);
  opacity: 0.6;
}

.micro-target-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 28px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.micro-card-line {
  height: 4px;
  background: var(--border);
  border-radius: 2px;
}

.micro-card-line.short {
  width: 60%;
}

.micro-item[data-type="card"]:active .micro-target {
  transform: scale(0.98);
}

.micro-target-capsule {
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent-dark);
  border-radius: var(--radius-full);
  font-size: 13px;
  padding: 8px 24px;
}

.micro-item[data-type="capsule"]:active .micro-target {
  transform: scale(0.94);
  opacity: 0.8;
}

.micro-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.micro-label span {
  font-size: 11px;
  color: var(--text-secondary);
}

/* ============================================
   Platforms Section
   ============================================ */
.platforms-section {
  padding: var(--section-spacing) 0;
  background: var(--surface);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.platforms-grid {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.platform-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 28px 32px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  min-width: 120px;
}

.platform-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-light);
}

.platform-icon {
  color: var(--text-secondary);
  transition: color 0.2s ease, transform 0.3s ease;
}

.platform-item:hover .platform-icon {
  color: var(--accent-dark);
  transform: scale(1.1);
}

.platform-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-heading);
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
  padding: var(--section-spacing) 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 37px,
      var(--paper-line) 37px,
      var(--paper-line) 38px
    );
  opacity: 0.2;
  pointer-events: none;
}

.cta-content {
  position: relative;
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
  z-index: 1;
}

.cta-title {
  font-size: clamp(32px, 6vw, 52px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-heading);
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

.cta-desc {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-community-link {
  margin-top: 22px;
  font-size: 14px;
  color: var(--text-secondary);
}

.cta-community-link a {
  color: var(--accent-dark);
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--accent-dark) 40%, transparent);
}

.cta-community-link a:hover {
  border-bottom-color: var(--accent-dark);
}

/* ============================================
   Footer
   ============================================ */
.footer {
  padding: 60px 0 36px;
  background: var(--surface);
  border-top: 1px solid var(--border-light);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-light);
}

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

.footer-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  margin-bottom: 4px;
}

.footer-brand-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-heading);
}

.footer-tagline {
  font-size: 13px;
  color: var(--text-secondary);
}

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

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-heading);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.footer-col a {
  font-size: 13px;
  color: var(--text-secondary);
  transition: color 0.15s ease;
}

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

.footer-bottom {
  padding-top: 24px;
  text-align: center;
}

.footer-bottom span {
  font-size: 12px;
  color: var(--text-secondary);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1100px) {
  .hero {
    justify-content: center;
    padding-left: 24px;
    flex-direction: column;
    padding-bottom: 0;
    overflow: hidden;
  }
  .hero-content { align-items: center; text-align: center; max-width: 600px; }
  .hero-mockup {
    display: block;
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: 70%;
    max-width: 320px;
    margin: 0 auto;
    margin-bottom: -40px;
    pointer-events: none;
  }
  .hero-phone {
    width: 100%;
    transform: none;
  }
  .hero-phone-screen {
    overflow: hidden;
    border-radius: 28px;
  }
}

@media (max-width: 900px) {
  :root {
    --section-spacing: 100px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .editor-layout,
  .ai-capabilities,
  .voice-layout,
  .micro-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .editor-info .section-title,
  .editor-info .section-desc,
  .voice-info .section-title,
  .voice-info .section-desc,
  .micro-info .section-title,
  .micro-info .section-desc {
    text-align: center;
  }

  .editor-details,
  .voice-gestures {
    max-width: 480px;
    margin: 0 auto;
  }

  .philosophy-grid {
    grid-template-columns: 1fr;
  }

  .brain-features {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto 64px;
  }

  .brain-context-flow {
    flex-direction: column;
    gap: 8px;
  }

  .brain-context-arrow {
    transform: rotate(90deg);
  }

  .brain-context-step {
    min-width: auto;
    width: 100%;
  }

  .editor-paper {
    transform: none;
  }

  .editor-paper:hover {
    transform: none;
  }
}

@media (max-width: 640px) {
  :root {
    --section-spacing: 80px;
  }

  .nav-links {
    display: none;
  }

  .nav-mobile-toggle {
    display: flex;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-subtitle br {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    max-width: 280px;
  }

  .hero-actions .btn {
    justify-content: center;
  }

  .hero-stats {
    gap: 20px;
  }

  .hero-stat-number {
    font-size: 24px;
  }

  .hero-mockup {
    width: 75%;
    max-width: 300px;
    margin-bottom: -60px;
  }

  .micro-grid {
    grid-template-columns: 1fr;
  }

  .platforms-grid {
    gap: 10px;
  }

  .platform-item {
    min-width: 100px;
    padding: 20px 24px;
  }

  .brain-demo {
    margin-bottom: 48px;
  }

  .brain-chat-body {
    padding: 16px;
  }

  .brain-msg-report {
    padding: 12px;
  }

  .brain-context {
    padding: 24px 16px;
  }

  .tags-showcase {
    gap: 8px;
  }

  .tag-item {
    padding: 8px 14px 8px 10px;
    gap: 8px;
  }

  .tag-circle {
    width: 20px;
    height: 20px;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .footer-content {
    flex-direction: column;
    gap: 32px;
  }

  .footer-links {
    gap: 40px;
  }

  .ai-demo-phone {
    max-width: 100%;
  }

  .philosophy-flow {
    gap: 10px;
    padding: 16px;
  }

  .flow-icon {
    width: 44px;
    height: 44px;
  }

  .section-desc br {
    display: none;
  }

  .voice-visual {
    order: -1;
  }

  .voice-waveform {
    width: 100%;
    height: 280px;
  }
}

/* ============================================
   Smooth Page Load Animation
   ============================================ */
@keyframes page-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

body {
  animation: page-fade-in 0.5s ease;
}

/* ============================================
   Selection Style
   ============================================ */
::selection {
  background: rgba(196, 184, 177, 0.25);
  color: var(--text-heading);
}

/* Scrollbar (WebKit) */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--accent-light);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}
