/* WhisperDesk — Professional Monochrome Website (White & Black / Black & White) */

:root {
  --bg: #ffffff;
  --bg-subtle: #fafafa;
  --bg-muted: #f4f4f5;
  --fg: #0a0a0a;
  --fg-muted: #525252;
  --fg-subtle: #737373;
  --border: #e5e5e5;
  --border-strong: #171717;
  --invert-bg: #0a0a0a;
  --invert-fg: #ffffff;
  --invert-hover: #262626;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

html.dark {
  --bg: #0a0a0a;
  --bg-subtle: #111111;
  --bg-muted: #171717;
  --fg: #fafafa;
  --fg-muted: #a3a3a3;
  --fg-subtle: #737373;
  --border: #262626;
  --border-strong: #e5e5e5;
  --invert-bg: #ffffff;
  --invert-fg: #0a0a0a;
  --invert-hover: #e5e5e5;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

html.dark {
  color-scheme: dark;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: 'Segoe UI Variable', 'Segoe UI', Inter, system-ui, -apple-system, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  transition: background-color 160ms ease, color 160ms ease;
}

::selection {
  background: var(--invert-bg);
  color: var(--invert-fg);
}

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

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.02em;
}

.brand span.muted {
  font-weight: 400;
  color: var(--fg-muted);
}

.brand-logo {
  width: 32px;
  height: 32px;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-muted);
}

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

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 140ms ease, color 140ms ease, border-color 140ms ease, transform 120ms ease;
  font-family: inherit;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--invert-bg);
  color: var(--invert-fg);
  border-color: var(--invert-bg);
}

.btn-primary:hover {
  background: var(--invert-hover);
  border-color: var(--invert-hover);
}

.btn-outline {
  background: var(--bg);
  color: var(--fg);
  border-color: var(--border);
}

.btn-outline:hover {
  border-color: var(--border-strong);
  background: var(--bg-subtle);
}

.btn-sm {
  padding: 7px 12px;
  font-size: 12px;
  border-radius: 7px;
}

.btn-lg {
  padding: 13px 24px;
  font-size: 15px;
  border-radius: 10px;
}

.btn-block {
  width: 100%;
}

/* Hero */
.hero {
  padding: 76px 0 84px;
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-subtle);
  font-size: 12px;
  font-weight: 600;
  color: var(--fg-muted);
  margin-bottom: 20px;
}

.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--fg);
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(34px, 4.6vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 800;
}

.hero-sub {
  margin: 0 0 28px;
  font-size: 17px;
  color: var(--fg-muted);
  max-width: 520px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 13px;
  color: var(--fg-subtle);
}

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

/* Live Interactive App Mockup */
.app-mockup {
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--bg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.mock-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.mock-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
}

.mock-visible-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-subtle);
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
}

.mock-switch {
  width: 24px;
  height: 14px;
  border-radius: 999px;
  background: var(--border);
  position: relative;
  transition: background-color 140ms ease;
}

.mock-switch.on {
  background: var(--invert-bg);
}

.mock-switch::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--bg);
  transition: transform 140ms ease;
}

.mock-switch.on::after {
  transform: translateX(10px);
}

.mock-modes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-subtle);
}

.mock-mode-btn {
  padding: 6px 8px;
  border-radius: 6px;
  border: none;
  background: transparent;
  color: var(--fg-muted);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all 140ms ease;
}

.mock-mode-btn.active {
  background: var(--invert-bg);
  color: var(--invert-fg);
}

.mock-question-banner {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-muted);
}

.mock-q-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--fg);
  animation: pulse 1.4s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

.mock-q-text {
  margin: 0;
  font-size: 12px;
  color: var(--fg-muted);
}

.mock-body {
  padding: 14px;
}

.mock-answer-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
  background: var(--bg-subtle);
}

.mock-answer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--fg-muted);
  padding-bottom: 8px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.mock-answer-list {
  margin: 0;
  padding-left: 16px;
  font-size: 13px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mock-answer-list strong {
  color: var(--fg);
}

/* Sections */
.section {
  padding: 84px 0;
  border-bottom: 1px solid var(--border);
}

.section-subtle {
  background: var(--bg-subtle);
}

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

.section-eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--fg-subtle);
  margin-bottom: 10px;
}

.section-header h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 3.4vw, 38px);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.section-header p {
  margin: 0;
  font-size: 16px;
  color: var(--fg-muted);
}

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

.feature-card {
  padding: 26px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg);
  transition: border-color 150ms ease;
}

.feature-card:hover {
  border-color: var(--border-strong);
}

.feature-icon {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.feature-card p {
  margin: 0;
  font-size: 14px;
  color: var(--fg-muted);
}

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

.step-card {
  padding: 28px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg);
}

.step-num {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--invert-bg);
  color: var(--invert-fg);
  display: inline-block;
  margin-bottom: 16px;
}

.step-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
}

.step-card p {
  margin: 0;
  font-size: 14px;
  color: var(--fg-muted);
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: stretch;
}

.price-card {
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--bg);
  position: relative;
  transition: border-color 150ms ease, transform 150ms ease;
}

.price-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.price-card.featured {
  border: 2px solid var(--border-strong);
  background: var(--bg-subtle);
}

.price-badge {
  position: absolute;
  top: -11px;
  left: 24px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--invert-bg);
  color: var(--invert-fg);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.price-name {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 6px;
}

.price-desc {
  font-size: 13px;
  color: var(--fg-muted);
  margin: 0 0 20px;
  min-height: 40px;
}

.price-amount {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 4px;
}

.price-figure {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.price-period {
  font-size: 13px;
  color: var(--fg-muted);
}

.price-sub {
  font-size: 12px;
  color: var(--fg-subtle);
  margin: 0 0 22px;
  min-height: 18px;
}

.price-features {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  font-size: 13px;
  color: var(--fg-muted);
}

.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.price-features svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--fg);
}

/* Download Box */
.download-box {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  padding: 40px;
  border-radius: 16px;
  border: 2px solid var(--border-strong);
  background: var(--bg-subtle);
}

.download-info h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.download-info p {
  margin: 0 0 20px;
  font-size: 15px;
  color: var(--fg-muted);
  max-width: 500px;
}

.download-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-subtle);
}

.download-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.download-sub-note {
  font-size: 11px;
  color: var(--fg-subtle);
  text-align: center;
  margin-bottom: 8px;
}

/* FAQ */
.faq-list {
  max-width: 740px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
  overflow: hidden;
}

.faq-trigger {
  width: 100%;
  padding: 18px 20px;
  background: transparent;
  border: none;
  color: var(--fg);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
}

.faq-answer {
  display: none;
  padding: 0 20px 18px;
  font-size: 14px;
  color: var(--fg-muted);
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-plus {
  font-size: 18px;
  font-weight: 400;
  transition: transform 150ms ease;
}

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

/* Footer */
.footer {
  padding: 44px 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 13px;
  color: var(--fg-muted);
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 100;
}

.modal-backdrop.open {
  display: flex;
}

.modal {
  width: 100%;
  max-width: 440px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--fg);
  padding: 28px;
  box-shadow: var(--shadow);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.modal h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.modal-close {
  border: 1px solid var(--border);
  background: var(--bg-subtle);
  color: var(--fg);
  width: 30px;
  height: 30px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
}

.modal p {
  margin: 0 0 18px;
  font-size: 14px;
  color: var(--fg-muted);
}

.modal-summary {
  padding: 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-subtle);
  margin-bottom: 18px;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-input {
  width: 100%;
  padding: 11px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-subtle);
  color: var(--fg);
  font-size: 14px;
  font-family: inherit;
  margin-bottom: 12px;
}

.modal-input:focus {
  outline: none;
  border-color: var(--border-strong);
}

.modal-status {
  font-size: 13px;
  font-weight: 600;
  margin-top: 10px;
  min-height: 20px;
}

/* Responsive */
@media (max-width: 980px) {
  .hero-grid,
  .download-box {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-grid,
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
  }
  .pricing-grid,
  .features-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 48px 0 56px;
  }
}
