/* ===== Variables ===== */
:root {
  --bg: #0a0a0a;
  --bg-subtle: #111111;
  --bg-card: #161616;
  --bg-card-hover: #1a1a1a;
  --border: #222222;
  --border-light: #2a2a2a;
  --text: #f5f5f7;
  --text-secondary: #a1a1a6;
  --text-muted: #6e6e73;
  --cyan: #32d6ff;
  --cyan-dim: rgba(50, 214, 255, 0.15);
  --cyan-glow: rgba(50, 214, 255, 0.3);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --max-width: 1100px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--cyan);
  text-decoration: none;
  transition: opacity 0.2s;
}
a:hover { opacity: 0.8; }

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

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

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-primary {
  background: var(--cyan);
  color: #000;
}
.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 8px 30px var(--cyan-glow);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
  background: var(--cyan);
  color: #000;
  border-radius: var(--radius-xs);
}

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

/* ===== Nav ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: 18px;
}
.nav-logo:hover { opacity: 1; }
.nav-logo img { border-radius: 6px; }

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

.nav-links a {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
}
.nav-links a:hover { color: var(--text); }
.nav-links .btn { color: #000; }
.nav-links .btn:hover { color: #000; }

/* ===== Hero ===== */
.hero {
  padding: 140px 24px 100px;
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
}

.hero-content {
  flex: 1;
}

.hero-badge {
  display: inline-block;
  padding: 6px 14px;
  background: var(--cyan-dim);
  color: var(--cyan);
  font-size: 13px;
  font-weight: 600;
  border-radius: 20px;
  margin-bottom: 24px;
  border: 1px solid rgba(50, 214, 255, 0.2);
}

.hero h1 {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 32px;
}
.hero-sub strong { color: var(--text); }

.hero-cta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-req {
  font-size: 13px;
  color: var(--text-muted);
}

.hero-image {
  flex-shrink: 0;
}

.mascot {
  width: 320px;
  height: auto;
  filter: drop-shadow(0 0 60px rgba(50, 214, 255, 0.2));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ===== Problem ===== */
.problem {
  padding: 100px 0;
  text-align: center;
}

.problem h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.problem p {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== Values ===== */
.values {
  padding: 0 0 100px;
}

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

.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color 0.3s, transform 0.3s;
}
.value-card:hover {
  border-color: var(--border-light);
  transform: translateY(-2px);
}

.value-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--cyan-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--cyan);
}

.value-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

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

/* ===== Features ===== */
.features {
  padding: 100px 0;
}

.features > .container > h2 {
  text-align: center;
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 80px;
}

.feature-row {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 100px;
}
.feature-row:last-child { margin-bottom: 0; }

.feature-row.reverse {
  flex-direction: row-reverse;
}

.feature-text {
  flex: 1;
}

.feature-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.feature-text h3 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

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

.feature-examples {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature-examples code {
  display: block;
  padding: 10px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  font-size: 13px;
  color: var(--text-secondary);
  font-family: 'SF Mono', 'Fira Code', monospace;
}

.feature-visual {
  flex: 1;
  max-width: 460px;
}

/* ===== macOS Native Cards ===== */
.macos-card {
  background: #1c1c1e;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.macos-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 4px;
}

.macos-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.macos-card-meta {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
}

.macos-card-subtitle {
  font-size: 12px;
  color: var(--text-muted);
  padding: 2px 16px 10px;
}

/* Reminder item */
.macos-reminder-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 16px;
  background: #2c2c2e;
  border-radius: var(--radius-sm);
  margin: 0 10px 10px;
}

.reminder-checkbox {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--text-muted);
  flex-shrink: 0;
  margin-top: 2px;
}

.reminder-content {
  flex: 1;
  min-width: 0;
}

.reminder-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 6px;
}

.reminder-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--text-muted);
}

.reminder-date {
  display: flex;
  align-items: center;
  gap: 4px;
}

.date-red {
  color: #ff6961;
}

.reminder-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.reminder-priority {
  color: #ff6961;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}

/* Calendar event item */
.macos-event-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-top: 1px solid var(--border);
}

.macos-event-item:first-of-type {
  border-top: none;
}

.event-color-bar {
  width: 4px;
  height: 36px;
  border-radius: 2px;
  flex-shrink: 0;
}

.event-color-bar.orange {
  background: #ff9f0a;
}

.event-content {
  flex: 1;
  min-width: 0;
}

.event-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

.event-title.muted {
  color: var(--text-secondary);
}

.event-meta {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
  display: flex;
  align-items: center;
}

.event-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 6px;
  flex-shrink: 0;
}

.event-badge.upcoming {
  color: #32d74b;
  border: 1px solid rgba(50, 215, 75, 0.3);
  background: rgba(50, 215, 75, 0.1);
}

/* ===== Demo Cards ===== */
.feature-card-demo {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

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

.demo-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-light);
}

.demo-dot.red {
  background: #ff453a;
  animation: pulse-red 2s ease-in-out infinite;
}

@keyframes pulse-red {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.recording-label {
  font-size: 12px;
  font-weight: 600;
  color: #ff453a;
  margin-left: 6px;
}

.demo-content {
  padding: 20px;
}

/* Email demo */
.demo-email {
  background: var(--bg-subtle);
  border-radius: var(--radius-xs);
  padding: 14px;
  margin-bottom: 12px;
}

.demo-from {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.demo-subject {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}

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

.demo-arrow {
  display: flex;
  justify-content: center;
  margin: 8px 0;
}

.demo-reminder {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  background: var(--cyan-dim);
  border: 1px solid rgba(50, 214, 255, 0.2);
  border-radius: var(--radius-xs);
  font-size: 13px;
  color: var(--cyan);
}

/* Chat demo */
.chat-msg {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.5;
}

.chat-msg.user {
  background: var(--cyan-dim);
  color: var(--text);
  margin-left: 40px;
}

.chat-msg.assistant {
  background: var(--bg-subtle);
  color: var(--text-secondary);
  margin-right: 20px;
}

.tool-badge {
  display: inline-block;
  padding: 2px 8px;
  background: var(--cyan-dim);
  color: var(--cyan);
  font-size: 11px;
  font-weight: 600;
  border-radius: 4px;
  margin-bottom: 8px;
  font-family: 'SF Mono', monospace;
}

/* Contact demo */
.contact-card {
  padding: 4px;
}

.contact-name {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 2px;
}

.contact-role {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.contact-memory {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.memory-item {
  padding: 8px 12px;
  background: var(--bg-subtle);
  border-radius: var(--radius-xs);
  font-size: 13px;
  color: var(--text-secondary);
}

.contact-stats {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: var(--text-muted);
}

/* File demo */
.file-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.file-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--bg-subtle);
  border-radius: var(--radius-xs);
}

.file-icon {
  width: 40px;
  height: 40px;
  background: var(--cyan-dim);
  color: var(--cyan);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  flex-shrink: 0;
}

.file-name {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 4px;
}

.file-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.tag {
  padding: 2px 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 11px;
  color: var(--text-muted);
}

/* Meeting demo */
.meeting-summary {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.summary-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.summary-item {
  padding: 8px 12px;
  background: var(--bg-subtle);
  border-radius: var(--radius-xs);
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.summary-item.action {
  border-left: 2px solid var(--cyan);
}

/* ===== How It Works ===== */
.how-it-works {
  padding: 100px 0;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.how-it-works h2 {
  text-align: center;
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 60px;
}

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

.step {
  text-align: center;
  padding: 0 16px;
}

.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--cyan);
  color: #000;
  font-size: 20px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.step h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.step p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== Privacy ===== */
.privacy {
  padding: 100px 0;
  text-align: center;
}

.privacy-mascot {
  width: 240px;
  height: auto;
  margin: 0 auto 48px;
  filter: drop-shadow(0 0 60px rgba(50, 214, 255, 0.2));
  animation: float 6s ease-in-out infinite;
}

.privacy h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.privacy-content > p {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.privacy-diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 48px 0 32px;
  flex-wrap: wrap;
}

.privacy-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px 28px;
  min-height: 120px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
}

.ollama-icon {
  filter: invert(1);
}

.apple-apps-icons {
  display: flex;
  gap: 6px;
  align-items: center;
}

.privacy-arrow {
  flex-shrink: 0;
}

.privacy-note {
  font-size: 14px;
  color: var(--text-muted);
  font-style: italic;
}

/* ===== Use Cases ===== */
.use-cases {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}

.use-cases h2 {
  text-align: center;
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 60px;
}

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

.use-case {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.3s;
}
.use-case:hover { border-color: var(--border-light); }

.use-case h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.use-case p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== Download ===== */
.download {
  padding: 120px 0;
  text-align: center;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
}

.download-icon {
  margin: 0 auto 24px;
  border-radius: var(--radius);
}

.download h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.download > .container > p {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.download .btn {
  margin-bottom: 16px;
}

.download-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
}

.download-meta a {
  color: var(--cyan);
}

/* ===== FAQ ===== */
.faq {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}

.faq h2 {
  text-align: center;
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 48px;
}

.faq-list {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item summary {
  padding: 20px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: color 0.2s;
}

.faq-item summary:hover {
  color: var(--cyan);
}

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

.faq-item summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 400;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  padding: 0 0 20px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.faq-item code {
  padding: 2px 6px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 13px;
  font-family: 'SF Mono', 'Fira Code', monospace;
}

.faq-item a {
  color: var(--cyan);
}

/* ===== Footer ===== */
.footer {
  padding: 24px 0;
  border-top: 1px solid var(--border);
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-muted);
}
.footer-logo img { border-radius: 4px; }

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

.footer-links a {
  color: var(--text-muted);
  font-size: 14px;
}
.footer-links a:hover { color: var(--text); }

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 120px 24px 60px;
    gap: 48px;
  }

  .hero-sub {
    margin: 0 auto 32px;
  }

  .hero-cta {
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }

  .mascot {
    width: 220px;
  }

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

  .feature-row,
  .feature-row.reverse {
    flex-direction: column;
    gap: 32px;
  }

  .feature-visual {
    max-width: 100%;
  }

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

  .privacy-diagram {
    flex-direction: column;
  }

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

  .use-cases-grid {
    grid-template-columns: 1fr;
  }

  .nav-links a:not(.btn) {
    display: none;
  }

  .footer-inner {
    flex-direction: column;
    gap: 12px;
  }
}
