:root {
  --color-bg: #ffffff;
  --color-surface: #f5f5f5;
  --color-surface-hover: #eeeeee;
  --color-border: #e0e0e0;
  --color-primary: #1a1a1a;
  --color-primary-hover: #000000;
  --color-primary-muted: rgba(0, 0, 0, 0.05);
  --color-text: #1a1a1a;
  --color-text-secondary: #666666;
  --color-text-muted: #999999;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --max-w: 1120px;
}

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn-lg { font-size: 16px; padding: 14px 28px; border-radius: var(--radius-md); }

.btn-primary {
  background: var(--color-primary);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
}

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

.btn-outline:hover {
  border-color: var(--color-text-secondary);
  background: var(--color-surface);
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav-logo-icon { flex-shrink: 0; }

.hero-icon { object-fit: contain; }

.nav-logo-text {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-logo-text.show {
  opacity: 1;
}

.nav-logo-icon { flex-shrink: 0; }

.nav-links {
  display: none;
  gap: 24px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-secondary);
}

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

.nav-cta { margin-left: auto; }

@media (min-width: 768px) {
  .nav-links { display: flex; }
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 600px 400px at 50% 30%, rgba(0, 0, 0, 0.03), transparent),
              radial-gradient(ellipse 400px 300px at 80% 60%, rgba(0, 0, 0, 0.02), transparent);
  pointer-events: none;
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 720px;
}

.hero-icon-wrap {
  display: inline-flex;
  padding: 12px;
  border-radius: var(--radius-lg);
  background: var(--color-primary-muted);
  border: 1px solid var(--color-border);
  margin-bottom: 32px;
}

.hero-icon { object-fit: contain; }

.hero-icon-label {
  display: none;
}

#hero-icon.flying {
  position: fixed;
  z-index: 101;
  padding: 0;
  border: none;
  background: none;
  border-radius: 0;
  margin: 0;
  pointer-events: none;
  transition: none;
}

#hero-icon.flying img {
  width: 24px;
  height: 24px;
}

#hero-icon.flying .hero-icon-label {
  display: inline;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #1a1a1a;
  white-space: nowrap;
}

.hero-title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.gradient-text {
  background: linear-gradient(135deg, #1a1a1a, #888888);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.7;
  color: var(--color-text-secondary);
  max-width: 580px;
  margin: 0 auto 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 32px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--color-text-muted);
  padding: 8px 16px;
  border-radius: 100px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
}

.section {
  padding: 100px 24px;
}

.section-dark {
  background: var(--color-surface);
}

.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  text-align: center;
}

.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  padding: 4px 12px;
  border-radius: 100px;
  background: var(--color-primary-muted);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 17px;
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto 56px;
  line-height: 1.7;
}

.feature-icon {
  display: inline-flex;
  padding: 10px;
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, 0.05);
  color: #1a1a1a;
  margin-bottom: 16px;
}

.feature-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 48px;
  text-align: left;
}

.feature-block {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 768px) {
  .feature-block {
    flex-direction: row;
    align-items: flex-start;
    gap: 40px;
  }
  .feature-block-text { flex: 0 0 320px; }
  .feature-block-images { flex: 1; }
}

.feature-block-text .feature-icon {
  margin-bottom: 12px;
}

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

.feature-block-images {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.feature-block-images-stacked {
  grid-template-columns: 1fr !important;
}

@media (min-width: 640px) {
  .feature-block-images { grid-template-columns: repeat(2, 1fr); }
}

.feature-block-images figure {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.2s ease;
}

.fig-widescreen img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.feature-block-images figure:hover {
  border-color: rgba(0, 0, 0, 0.15);
}

.feature-block-images img {
  width: 100%;
  height: auto;
  display: block;
}

.feature-block-images figcaption {
  font-size: 13px;
  color: var(--color-text-muted);
  padding: 12px 16px;
  border-top: 1px solid var(--color-border);
  line-height: 1.5;
}

.showcase-screenshot {
  width: 100%;
  max-width: 440px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.showcase-screenshot img {
  width: 100%;
  height: auto;
  display: block;
}

.showcase-screenshot figcaption {
  font-size: 13px;
  color: var(--color-text-muted);
  padding: 10px 16px;
  border-top: 1px solid var(--color-border);
  background: var(--color-surface);
}

.showcase {
  display: grid;
  gap: 40px;
  align-items: center;
  text-align: left;
}

@media (min-width: 768px) {
  .showcase { grid-template-columns: 1fr 1fr; }
}

.showcase-visual {
  display: flex;
  justify-content: center;
}

.showcase-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 24px;
  width: 100%;
  max-width: 360px;
}

.showcase-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--color-text-secondary);
}

.showcase-badge {
  margin-left: auto;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 100px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
}

.waveform {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 32px;
  margin-bottom: 16px;
}

.waveform span {
  width: 3px;
  background: #555555;
  border-radius: 2px;
  animation: wave 0.8s ease-in-out infinite;
}

.waveform span:nth-child(1) { height: 12px; animation-delay: 0s; }
.waveform span:nth-child(2) { height: 24px; animation-delay: 0.1s; }
.waveform span:nth-child(3) { height: 16px; animation-delay: 0.2s; }
.waveform span:nth-child(4) { height: 28px; animation-delay: 0.3s; }
.waveform span:nth-child(5) { height: 20px; animation-delay: 0.15s; }
.waveform span:nth-child(6) { height: 10px; animation-delay: 0.05s; }

@keyframes wave {
  0%, 100% { transform: scaleY(0.6); opacity: 0.6; }
  50% { transform: scaleY(1); opacity: 1; }
}

.showcase-text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  font-style: italic;
  margin-bottom: 16px;
}

.showcase-card-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--color-text-muted);
}

.showcase-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse-dot 1.5s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.showcase-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.showcase-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  text-align: left;
}

.showcase-item svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: #333333;
}

.showcase-item strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.showcase-item p {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.pricing-card-wrap {
  display: flex;
  justify-content: center;
}

.pricing-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 40px;
  max-width: 440px;
  width: 100%;
  text-align: left;
  transition: all 0.25s ease;
}

.pricing-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

.pricing-icon {
  display: inline-flex;
  padding: 8px;
  border-radius: var(--radius-md);
  background: var(--color-primary-muted);
  margin-bottom: 20px;
}

.pricing-icon img { object-fit: contain; }

.pricing-name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.pricing-price {
  margin-bottom: 12px;
}

.pricing-amount {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.pricing-period {
  font-size: 15px;
  color: var(--color-text-secondary);
  font-weight: 500;
}

.pricing-desc {
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.6;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 24px;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
}

.pricing-features li svg {
  flex-shrink: 0;
  color: #333333;
}

.pricing-cta {
  width: 100%;
  text-align: center;
  margin-bottom: 16px;
}

.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.waitlist-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-secondary);
}

.waitlist-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.waitlist-input {
  width: 100%;
  min-height: 48px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: #ffffff;
  color: var(--color-text);
  font: inherit;
  font-size: 15px;
  padding: 0 16px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.waitlist-input::placeholder {
  color: var(--color-text-muted);
}

.waitlist-input:focus {
  border-color: rgba(0, 0, 0, 0.3);
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.05);
}

.waitlist-status {
  min-height: 20px;
  font-size: 13px;
  color: var(--color-text-secondary);
}

@media (min-width: 640px) {
  .waitlist-row {
    flex-direction: row;
  }

  .waitlist-input {
    flex: 1;
  }

  .pricing-cta {
    width: auto;
    margin-bottom: 0;
  }
}

.pricing-footnote {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.6;
  text-align: center;
}

.footer {
  padding: 48px 24px;
  border-top: 1px solid var(--color-border);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  text-align: center;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.footer-brand img { opacity: 0.7; }

.footer-tagline {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

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

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

.clickable { cursor: pointer; }

.fig-clipped img {
  max-height: 320px;
  object-fit: cover;
  object-position: top;
}

.lightbox {
  display: none;
  position: fixed;
  z-index: 200;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  align-items: center;
  justify-content: center;
  padding: 32px;
}

.lightbox.active {
  display: flex;
}

.lightbox-img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 36px;
  color: #fff;
  cursor: pointer;
  line-height: 1;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.lightbox-close:hover { opacity: 1; }
