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

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

body {
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #0a0a0f;
  color: #e2e2e8;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

code {
  font-family: 'Geist Mono', 'Monaco', 'Menlo', monospace;
  font-size: 0.875em;
  background: rgba(109, 139, 255, 0.12);
  color: #a8b8ff;
  padding: 0.15em 0.4em;
  border-radius: 4px;
}

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

/* ── Layout ── */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow {
  max-width: 720px;
}

/* ── Accent ── */
.accent { color: #6d8bff; }

/* ── Nav ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

.nav-logo {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.5px;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 28px;
  flex: 1;
}

.nav-links a {
  font-size: 14px;
  color: #a0a0b0;
  font-weight: 500;
  transition: color 0.15s;
}

.nav-links a:hover,
.nav-links a.active { color: #fff; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #e2e2e8;
  border-radius: 2px;
  transition: all 0.2s;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.15s;
  white-space: nowrap;
  text-decoration: none;
}

.btn-sm { padding: 7px 16px; font-size: 13px; }

.btn-primary {
  background: linear-gradient(135deg, #6d8bff, #5a6fff);
  color: #fff;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #5a7aff, #4a5fff);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(109, 139, 255, 0.35);
}

.btn-ghost {
  background: transparent;
  color: #a0a0b0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-ghost:hover { color: #fff; border-color: rgba(255, 255, 255, 0.25); }

.btn-outline {
  background: transparent;
  color: #6d8bff;
  border: 1px solid #6d8bff;
}

.btn-outline:hover {
  background: rgba(109, 139, 255, 0.08);
}

.btn-large { padding: 14px 32px; font-size: 16px; border-radius: 10px; }

/* ── Sections ── */
.section {
  padding: 96px 0;
}

.section--alt {
  background: rgba(255, 255, 255, 0.035);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.2;
}

.section-sub {
  font-size: 18px;
  color: #999;
  margin-bottom: 56px;
}

/* ── Hero ── */
.hero {
  padding: 140px 0 96px;
  text-align: center;
  background: radial-gradient(ellipse at 50% 0%, rgba(109, 139, 255, 0.13) 0%, transparent 65%);
}

.badge {
  display: inline-block;
  background: rgba(109, 139, 255, 0.12);
  color: #8fa8ff;
  border: 1px solid rgba(109, 139, 255, 0.25);
  border-radius: 100px;
  padding: 5px 14px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: clamp(16px, 2.5vw, 20px);
  color: #999;
  max-width: 580px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

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

.hero-trust {
  font-size: 13px;
  color: #666;
}

/* ── Feature Grid ── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 28px;
  transition: border-color 0.2s, background 0.2s;
}

.feature-card:hover {
  border-color: rgba(109, 139, 255, 0.3);
  background: rgba(109, 139, 255, 0.04);
}

.feature-card--highlight {
  border-color: rgba(109, 139, 255, 0.25);
  background: rgba(109, 139, 255, 0.06);
}

.feature-icon {
  font-size: 28px;
  margin-bottom: 14px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: #999;
  line-height: 1.7;
}

/* ── Feature Details Row ── */
.feature-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}

.detail-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
}

.detail-icon { font-size: 20px; flex-shrink: 0; margin-top: 2px; }

.detail-item strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #e2e2e8;
  margin-bottom: 2px;
}

.detail-item span {
  font-size: 13px;
  color: #999;
}

/* ── Shortcuts Box ── */
.shortcuts-box {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 24px 28px;
}

.shortcuts-box h4 {
  font-size: 13px;
  font-weight: 600;
  color: #6d8bff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.shortcuts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
}

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

.shortcut kbd {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom-width: 2px;
  border-radius: 6px;
  padding: 3px 8px;
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  color: #e2e2e8;
  white-space: nowrap;
  flex-shrink: 0;
}

.shortcut span {
  font-size: 13px;
  color: #999;
}

/* ── Pricing ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  max-width: 720px;
  margin: 0 auto;
}

.pricing-card {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 32px;
}

.pricing-card--pro {
  border-color: rgba(109, 139, 255, 0.35);
  background: rgba(109, 139, 255, 0.05);
}

.pricing-badge {
  position: absolute;
  top: 16px; right: 16px;
  background: rgba(109, 139, 255, 0.2);
  color: #8fa8ff;
  border: 1px solid rgba(109, 139, 255, 0.35);
  border-radius: 100px;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 600;
}

.pricing-tier {
  font-size: 13px;
  font-weight: 600;
  color: #6d8bff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.pricing-price {
  font-size: 42px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -1px;
  margin-bottom: 24px;
  line-height: 1;
}

.pricing-price span {
  font-size: 16px;
  font-weight: 400;
  color: #777;
  letter-spacing: 0;
}

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

.pricing-features li {
  font-size: 14px;
  color: #a0a0b0;
}

.pricing-note {
  font-size: 12px;
  color: #666;
  margin-top: 12px;
  text-align: center;
}

/* ── FAQ ── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item[open] {
  border-color: rgba(109, 139, 255, 0.25);
}

.faq-item summary {
  padding: 18px 20px;
  font-size: 15px;
  font-weight: 500;
  color: #e2e2e8;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  transition: color 0.15s;
}

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

.faq-item summary::after {
  content: '+';
  font-size: 20px;
  color: #555;
  font-weight: 300;
  flex-shrink: 0;
  transition: transform 0.2s, color 0.2s;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
  color: #6d8bff;
}

.faq-item summary:hover { color: #fff; }

.faq-body {
  padding: 0 20px 18px;
  font-size: 14px;
  color: #999;
  line-height: 1.75;
}

/* ── Download ── */
.download-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 48px 40px;
  margin-bottom: 32px;
}

.download-icon { font-size: 40px; margin-bottom: 20px; }

.download-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
  font-size: 13px;
  color: #666;
}

.version-badge {
  background: rgba(109, 139, 255, 0.12);
  color: #8fa8ff;
  border: 1px solid rgba(109, 139, 255, 0.2);
  border-radius: 100px;
  padding: 2px 10px;
  font-size: 12px;
  font-weight: 500;
}

.install-steps {
  margin-top: 28px;
  text-align: left;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.install-steps li {
  font-size: 14px;
  color: #999;
  line-height: 1.6;
}

.feedback-cta {
  font-size: 14px;
  color: #666;
}

.feedback-cta a {
  color: #6d8bff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── Footer ── */
.footer {
  padding: 28px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

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

.footer-brand {
  font-size: 13px;
  color: #666;
}

.footer-links {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 13px;
  color: #666;
}

.footer-links a {
  color: #666;
  transition: color 0.15s;
}

.footer-links a:hover { color: #e2e2e8; }

/* ── Mobile ── */
@media (max-width: 700px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 60px; left: 0; right: 0;
    background: rgba(10, 10, 15, 0.98);
    flex-direction: column;
    padding: 20px 24px;
    gap: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-links.open { display: flex; }

  .nav-links a {
    padding: 10px 0;
    font-size: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .nav-links a:last-child { border-bottom: none; }

  .nav-hamburger { display: flex; }

  .nav > .nav-inner > .btn { display: none; }

  .hero { padding: 100px 0 64px; }

  .section { padding: 64px 0; }

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

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

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

  .download-box { padding: 32px 24px; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
}

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

/* ── Screen-Recording Proof Split Demo ── */
.split-demo {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin: 48px 0 32px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.02);
}

.split-pane {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.split-screen-mock {
  flex: 1;
  background: #111118;
  border-radius: 0;
  overflow: hidden;
  position: relative;
  min-height: 320px;
}

.split-screen-mock--them {
  background: #0e0e14;
}

.mock-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #1a1a26;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 12px;
  font-family: 'Geist Mono', monospace;
  color: #888;
}

.mock-titlebar--them {
  background: #161620;
}

.mock-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
}

.mock-dot--them {
  background: rgba(255,255,255,0.07);
}

.mock-title {
  flex: 1;
  text-align: center;
  color: #c0c0cc;
  font-size: 12px;
}

.mock-lang {
  color: #666;
  font-size: 11px;
}

.mock-code {
  padding: 12px 0;
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  line-height: 1.7;
}

.mock-line {
  display: flex;
  gap: 12px;
  padding: 1px 14px;
  white-space: pre;
}

.mock-line--empty { opacity: 0.3; }

.mock-line--them {
  opacity: 0.45;
  filter: blur(0.3px);
}

.code-num { color: #444; min-width: 14px; text-align: right; user-select: none; }
.code-kw  { color: #a78bfa; }
.code-fn  { color: #6d8bff; }
.code-name { color: #34d399; }
.code-num-lit { color: #fb923c; }

/* Sotto overlay floating panel */
.sotto-overlay {
  position: absolute;
  bottom: 16px;
  left: 12px;
  right: 12px;
  background: rgba(10, 10, 20, 0.88);
  border: 1px solid rgba(109,139,255,0.35);
  border-radius: 10px;
  padding: 12px 14px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(109,139,255,0.15);
}

.sotto-overlay-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.sotto-badge {
  font-size: 10px;
  font-weight: 700;
  color: #6d8bff;
  background: rgba(109,139,255,0.12);
  border: 1px solid rgba(109,139,255,0.25);
  border-radius: 4px;
  padding: 1px 6px;
  letter-spacing: 0.5px;
}

.sotto-hint-label {
  font-size: 11px;
  color: #888;
}

.sotto-hint-text {
  font-size: 12px;
  color: #c8ccdd;
  line-height: 1.55;
  font-family: 'Geist', sans-serif;
}

/* Absent placeholder on interviewer side */
.sotto-absent {
  position: absolute;
  bottom: 16px;
  left: 12px;
  right: 12px;
  border: 1px dashed rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sotto-absent span {
  font-size: 11px;
  color: rgba(255,255,255,0.2);
  font-style: italic;
  letter-spacing: 0.3px;
}

/* Divider */
.split-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.split-divider-line {
  width: 2px;
  flex: 1;
  background: linear-gradient(to bottom, transparent, rgba(109,139,255,0.5) 20%, rgba(109,139,255,0.5) 80%, transparent);
}

.split-divider-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #0a0a0f;
  border: 1.5px solid rgba(109,139,255,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-family: 'Geist Mono', monospace;
  color: #6d8bff;
  flex-shrink: 0;
  box-shadow: 0 0 16px rgba(109,139,255,0.2);
}

/* Labels */
.split-label {
  padding: 14px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.split-label--you {
  color: #e2e2e8;
  background: rgba(109,139,255,0.08);
  border-top: 1px solid rgba(109,139,255,0.15);
}

.split-label--them {
  color: #888;
  background: rgba(255,255,255,0.03);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.split-footnote {
  text-align: center;
  font-size: 13px;
  color: #666;
  line-height: 1.6;
}

/* ── Best Practices ── */
.tips-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 40px;
}

.tip-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 16px 20px;
  transition: border-color 0.2s;
}

.tip-item:hover {
  border-color: rgba(109, 139, 255, 0.2);
}

.tip-num {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  color: #6d8bff;
  opacity: 0.55;
  min-width: 22px;
  padding-top: 3px;
  flex-shrink: 0;
}

.tip-item strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #e2e2e8;
  margin-bottom: 4px;
}

.tip-item p {
  font-size: 13px;
  color: #888;
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 640px) {
  .split-demo {
    flex-direction: column;
  }
  .split-divider {
    flex-direction: row;
    height: auto;
    padding: 0;
  }
  .split-divider-line {
    width: auto;
    height: 2px;
    flex: 1;
    background: linear-gradient(to right, transparent, rgba(109,139,255,0.5) 20%, rgba(109,139,255,0.5) 80%, transparent);
  }
  .split-screen-mock { min-height: 260px; }
}
