* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  background: #fff;
  color: oklch(0.22 0.01 90);
}

a { color: #3175B5; text-decoration: none; }
a:hover { color: #265d8f; }

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: oklch(0.99 0.002 90 / 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid oklch(0.93 0.006 90);
}

#features, #pricing, #how, #faq {
  scroll-margin-top: 70px;
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo-row {
  display: flex;
  align-items: center;
  gap: 9px;
}

.logo-mark {
  width: 26px;
  height: 26px;
  display: block;
  flex-shrink: 0;
}

.logo-mark-sm {
  width: 22px;
  height: 22px;
}

.logo-text {
  font-size: 15px;
  font-weight: 700;
  color: oklch(0.18 0.01 90);
}

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

.nav-link {
  font-size: 13.5px;
  font-weight: 600;
  color: oklch(0.4 0.01 90);
}
.nav-link:visited { color: oklch(0.4 0.01 90); }

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: oklch(0.18 0.01 90);
  padding: 9px 16px;
  border-radius: 8px;
  white-space: nowrap;
}
.nav-cta:hover { color: #fff; opacity: 0.9; }

.chrome-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: conic-gradient(#EA4335 0 25%, #4285F4 25% 50%, #34A853 50% 75%, #FBBC05 75% 100%);
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: oklch(0.2 0.01 90);
  border-radius: 1px;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 8px 32px 16px;
  border-top: 1px solid oklch(0.93 0.006 90);
}
.nav-mobile .nav-link {
  padding: 10px 0;
}
.nav.open .nav-mobile { display: flex; }

/* ---------- Hero ---------- */

.hero { padding: 72px 32px 56px; }

.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 56px;
  flex-wrap: wrap;
}

.hero-copy {
  flex: 1 1 380px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 8px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: oklch(0.4 0.01 90);
  background: oklch(0.96 0.006 250);
  padding: 6px 12px;
  border-radius: 20px;
  width: fit-content;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3175B5;
  flex-shrink: 0;
}

.hero-title {
  font-size: 58px;
  line-height: 0.95;
  font-weight: 800;
  color: oklch(0.14 0.01 90);
  margin: 4px 0 0 5px;
}

.hero-dot { color: #3175B5; }

.hero-sub {
  font-size: 16.5px;
  line-height: 1.55;
  color: oklch(0.48 0.01 90);
  max-width: 420px;
  margin: 0 0 0 5px;
}

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

.btn-primary {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 700;
  color: #fff;
  background: oklch(0.18 0.01 90);
  padding: 13px 20px;
  border-radius: 9px;
}
.btn-primary:hover { color: #fff; opacity: 0.9; }

.watch-demo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: oklch(0.3 0.01 90);
}

.play-glyph { font-size: 13px; }

/* ---------- Hero mock popup ---------- */

.hero-mock {
  flex: 1 1 420px;
  min-width: 0;
  max-width: 460px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mock-scene {
  background: #fff;
  border: 1px solid oklch(0.93 0.006 90);
  border-radius: 18px;
  box-shadow: 0 24px 60px oklch(0 0 0 / 0.08);
  padding: 26px 24px 30px;
}

.mock-input-line {
  font-size: 20px;
  color: oklch(0.25 0.01 90);
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid oklch(0.93 0.006 90);
}

.mock-popup {
  background: #fff;
  border: 1px solid rgba(15, 15, 15, 0.1);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(15, 15, 15, 0.12), 0 0 0 1px rgba(15, 15, 15, 0.02);
  overflow: hidden;
  margin-left: 4px;
}

.mock-row-list { padding: 6px; }

.mock-section-label {
  padding: 6px 10px 4px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: oklch(0.65 0.006 90);
}

.mock-divider {
  height: 1px;
  background: rgba(15, 15, 15, 0.08);
  margin: 4px 6px;
}

.mock-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 8px;
}

.mock-row-selected { background: rgba(46, 115, 252, 0.1); }

.mock-row-start {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.mock-row-end {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.mock-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mock-title {
  font-size: 14px;
  font-weight: 500;
  color: oklch(0.2 0.01 90);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mock-badge {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  color: oklch(0.2 0.01 90);
  opacity: 0.5;
  white-space: nowrap;
}

.mock-preview-badge {
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(46, 115, 252, 0.12);
  color: #2e73fc;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  white-space: nowrap;
}

.mock-chevron {
  color: oklch(0.72 0.006 90);
  font-size: 16px;
  line-height: 1;
}

.mock-create-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  color: oklch(0.6 0.006 90);
  font-size: 13px;
}

.mock-create-icon {
  color: oklch(0.6 0.006 90);
  font-size: 15px;
}

.mock-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-top: 1px solid rgba(15, 15, 15, 0.08);
  font-size: 11px;
  color: oklch(0.6 0.006 90);
}

.mock-footer-hint {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.mock-footer-key {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  padding: 2px 5px;
  border-radius: 4px;
  background: rgba(15, 15, 15, 0.06);
  color: oklch(0.45 0.006 90);
}

.mock-footer-settings {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  white-space: nowrap;
}

/* ---------- Shared section layout ---------- */

.section-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 32px;
}

.section-title {
  font-size: 28px;
  font-weight: 800;
  color: oklch(0.16 0.01 90);
  text-align: center;
  margin: 0 0 48px;
}

.section-title-light {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  text-align: center;
  margin: 0 0 56px;
}

/* ---------- Features ---------- */

.features-section { padding: 88px 0 96px; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}

.feature-card {
  display: flex;
  flex-direction: column;
}

.feature-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: oklch(0.955 0.012 250);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3175B5;
  margin-bottom: 16px;
}

.feature-title {
  font-size: 15px;
  font-weight: 700;
  color: oklch(0.2 0.01 90);
  margin-bottom: 8px;
}

.feature-body {
  font-size: 13px;
  line-height: 1.5;
  color: oklch(0.52 0.01 90);
}

/* ---------- Pricing ---------- */

.pricing-section { padding: 88px 0 96px; }

.billing-toggle {
  display: flex;
  gap: 2px;
  width: fit-content;
  margin: 0 auto 40px;
  padding: 3px;
  border-radius: 10px;
  background: oklch(0.96 0.006 90);
}

.billing-toggle-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: none;
  border-radius: 8px;
  background: none;
  color: oklch(0.5 0.01 90);
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
}

.billing-toggle-btn-active {
  background: #fff;
  color: oklch(0.2 0.01 90);
  box-shadow: 0 1px 3px oklch(0 0 0 / 0.08);
}

.billing-savings {
  padding: 2px 6px;
  border-radius: 999px;
  background: oklch(0.95 0.03 145);
  color: oklch(0.4 0.15 145);
  font-size: 10.5px;
  font-weight: 700;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 300px));
  justify-content: center;
  gap: 28px;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 32px;
  border: 1px solid oklch(0.92 0.006 90);
  border-radius: 16px;
  background: #fff;
}

.pricing-card-featured {
  position: relative;
  border-color: #3175B5;
  box-shadow: 0 0 0 1px #3175B5, 0 16px 40px oklch(0.5 0.15 250 / 0.14);
}

.pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 12px;
  border-radius: 999px;
  background: #3175B5;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.pricing-card-name {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: oklch(0.55 0.01 90);
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 10px;
}

.price-value {
  font-size: 42px;
  font-weight: 800;
  color: oklch(0.16 0.01 90);
  line-height: 1;
}

.price-interval {
  font-size: 14px;
  color: oklch(0.55 0.01 90);
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.feature-item {
  position: relative;
  padding-left: 22px;
  font-size: 13.5px;
  color: oklch(0.3 0.01 90);
  line-height: 1.4;
}

.feature-item::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #3175B5;
  font-weight: 700;
}

.pricing-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 9px;
  background: #3175B5;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}
.pricing-cta:hover { color: #fff; opacity: 0.9; }

.pricing-cta-secondary {
  background: oklch(0.18 0.01 90);
}

/* ---------- How it works ---------- */

.how-section {
  padding: 80px 0;
  background: oklch(0.16 0.012 260);
}

.steps-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.step-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  width: 220px;
}

.step-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: oklch(0.28 0.012 260);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
}

.step-title {
  font-size: 15.5px;
  font-weight: 700;
  color: #fff;
}

.step-body {
  font-size: 13px;
  line-height: 1.5;
  color: oklch(0.68 0.012 260);
}

.step-arrow {
  font-size: 20px;
  color: oklch(0.5 0.012 260);
  margin-top: 16px;
}

/* ---------- FAQ ---------- */

.faq-section { padding: 88px 0; }

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

.faq-item {
  border: 1px solid oklch(0.92 0.006 90);
  border-radius: 14px;
  padding: 4px 24px;
  background: #fff;
}

.faq-item[open] {
  background: #fff;
  box-shadow: 0 4px 16px oklch(0 0 0 / 0.06);
}

.faq-question {
  list-style: none;
  cursor: pointer;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 15px;
  font-weight: 700;
  color: oklch(0.2 0.01 90);
}
.faq-question::-webkit-details-marker { display: none; }

.faq-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: oklch(0.96 0.006 90);
  color: oklch(0.4 0.01 90);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 600;
  transition: transform 0.15s ease;
}
.faq-item[open] .faq-icon { transform: rotate(45deg); }

.faq-answer {
  font-size: 14px;
  line-height: 1.6;
  color: oklch(0.48 0.01 90);
  padding: 0 0 20px;
}

/* ---------- Final CTA ---------- */

.final-cta-section { padding: 0 32px 88px; }

.final-cta-inner {
  max-width: 1080px;
  margin: 0 auto;
  background: #E9F1FA;
  border-radius: 18px;
  padding: 32px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.final-cta-left {
  display: flex;
  align-items: center;
  gap: 18px;
}

.final-cta-mark {
  width: 48px;
  height: 48px;
  display: block;
  flex-shrink: 0;
}

.final-cta-title {
  font-size: 18px;
  font-weight: 700;
  color: oklch(0.18 0.01 90);
}

.final-cta-body {
  font-size: 13.5px;
  color: oklch(0.4 0.03 250);
  margin-top: 2px;
}

.final-cta-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: oklch(0.18 0.01 90);
  padding: 13px 20px;
  border-radius: 9px;
  white-space: nowrap;
}
.final-cta-btn:hover { color: #fff; opacity: 0.9; }

/* ---------- Footer ---------- */

.footer {
  padding: 28px 32px;
  border-top: 1px solid oklch(0.93 0.006 90);
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

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

.footer-link {
  font-size: 13px;
  color: oklch(0.5 0.01 90);
}
.footer-link:visited { color: oklch(0.5 0.01 90); }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pricing-grid { grid-template-columns: minmax(0, 300px); }
  .hero-title { font-size: 46px; }
}

@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .hero { padding: 48px 20px 40px; }
  .hero-mock { max-width: 100%; }
  .mock-scene { padding: 20px 16px 24px; }
  .features-section, .faq-section, .pricing-section { padding: 56px 0; }
  .how-section { padding: 56px 0; }
  .section-inner, .final-cta-section { padding-left: 20px; padding-right: 20px; }
  .final-cta-inner { padding: 24px; }
}

@media (max-width: 560px) {
  .hero-title { font-size: 38px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .step-col { width: 100%; }
  .step-arrow { transform: rotate(90deg); }
}
