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

:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --fg: #1d1d1f;
  --fg-2: #555;
  --fg-3: #888;
  --border: rgba(0, 0, 0, 0.07);
  --accent-from: #3b82f6;
  --accent-to: #06b6d4;
  --green: #22c55e;
  --btn-bg: #1d1d1f;
  --btn-fg: #ffffff;
  --radius-card: 18px;
  --radius-btn: 100px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.5;
}

/* NAV */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 700;
  color: var(--fg);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.nav-logo img {
  width: 32px;
  height: 32px;
  border-radius: 9px;
}

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

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-2);
  text-decoration: none;
  padding: 7px 14px;
  border-radius: 10px;
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}

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

.nav-links .btn-primary {
  background: var(--btn-bg);
  color: var(--btn-fg);
  border-radius: var(--radius-btn);
  font-weight: 600;
  padding: 8px 18px;
}

.nav-links .btn-primary:hover {
  background: #333;
  color: var(--btn-fg);
}

/* HERO */
.hero {
  text-align: center;
  padding: 64px 5% 78px;
  background: var(--bg);
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-bottom: 42px;
  font-size: 14px;
  font-weight: 650;
  color: var(--fg-2);
}

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

.hero-stat-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-from), var(--accent-to));
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.hero-stats .sep {
  color: #d6dae2;
}

.app-icon {
  display: block;
  width: 108px;
  height: 108px;
  border-radius: 28px;
  margin: 0 auto 36px;
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.12),
    0 12px 40px rgba(0, 0, 0, 0.14);
}

.hero h1 {
  font-size: 70px;
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: 0;
  color: var(--fg);
  margin-bottom: 22px;
}

.hero h1 .gradient {
  background: linear-gradient(130deg, var(--accent-from) 0%, var(--accent-to) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 19px;
  color: var(--fg-2);
  max-width: 760px;
  margin: 0 auto 38px;
  line-height: 1.55;
}

.hero-cta {
  margin-bottom: 28px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 16px;
  font-weight: 600;
  padding: 15px 30px;
  border-radius: var(--radius-btn);
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
  letter-spacing: -0.01em;
}

.btn-primary:hover {
  background: #2d2d2f;
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-icon {
  font-size: 17px;
  line-height: 1;
}

.hero-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 13.5px;
  color: var(--fg-2);
}

.hero-badges span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.chk {
  color: var(--green);
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

/* FEATURES */
.features {
  padding: 88px 5%;
  background: var(--bg);
}

.section-title {
  text-align: center;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 56px;
  line-height: 1.1;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 56px;
}

.feature-card {
  background: var(--bg);
  border-radius: var(--radius-card);
  padding: 28px;
  border: 1px solid var(--border);
  transition: box-shadow 0.2s, transform 0.2s;
}

.feature-card:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--fg);
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 14px;
  color: var(--fg-2);
  line-height: 1.6;
}

.section-cta {
  text-align: center;
}

/* EXAMPLES */
.examples {
  padding: 76px 5% 88px;
  background: var(--bg-alt);
}

.examples-subtitle {
  text-align: center;
  font-size: 16px;
  color: var(--fg-2);
  margin-top: -44px;
  margin-bottom: 42px;
}

.examples-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 1160px;
  margin: 0 auto;
}

.example-card {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border-radius: var(--radius-card);
  padding: 26px;
  border: 1px solid var(--border);
  min-height: 286px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.example-card:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.07);
  transform: translateY(-2px);
}

.example-card h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--fg);
}

.example-route {
  color: var(--accent-from);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.hotkey-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: -4px 0 14px;
}

.hotkey {
  min-width: 28px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  border: 1px solid rgba(0, 0, 0, 0.11);
  border-bottom-color: rgba(0, 0, 0, 0.22);
  border-radius: 8px;
  background: linear-gradient(#fff, #f6f6f8);
  color: var(--fg-2);
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.hotkey-plus {
  color: var(--fg-3);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.before,
.after {
  border-radius: 14px;
  padding: 14px;
  font-size: 14px;
  line-height: 1.55;
  min-height: 74px;
}

.before {
  display: flex;
  align-items: center;
  height: 116px;
  color: var(--fg-3);
  background: var(--bg-alt);
  margin-bottom: 0;
}

.transform-arrow {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  margin: 4px 0;
}

.transform-arrow::before {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.28), transparent);
}

.transform-arrow span {
  position: relative;
  z-index: 1;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--accent-from);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 6px 14px rgba(59, 130, 246, 0.22);
}

.after {
  position: relative;
  display: flex;
  align-items: center;
  height: 96px;
  color: var(--fg);
  background: #eff6ff;
  border: 1px solid rgba(59, 130, 246, 0.22);
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(59, 130, 246, 0.08);
}

/* PRICING */
.pricing {
  padding: 96px 5%;
  background: var(--bg-alt);
}

.pricing-subtitle {
  text-align: center;
  font-size: 16px;
  color: var(--fg-2);
  margin-top: -44px;
  margin-bottom: 56px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: stretch;
  gap: 22px;
  max-width: 760px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg);
  border: 1.5px solid #e5e7eb;
  border-radius: 22px;
  min-height: 360px;
  padding: 40px 36px 36px;
  transition: box-shadow 0.2s;
}

.pricing-card:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.07);
}

.pricing-card.featured {
  border-color: var(--accent-from);
  position: relative;
}

.featured-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-from);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  padding: 8px 18px;
  border-radius: 100px;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.pricing-card h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--fg-2);
  margin-bottom: 8px;
  min-height: 23px;
}

.price-amount {
  display: flex;
  align-items: baseline;
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--fg);
  height: 58px;
  line-height: 58px;
  margin-bottom: 6px;
  min-height: 58px;
  overflow: visible;
}

.price-amount sup {
  align-self: flex-start;
  font-size: 24px;
  vertical-align: top;
  margin-top: 8px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}

.price-amount sub {
  align-self: flex-end;
  font-size: 16px;
  font-weight: 500;
  color: var(--fg-3);
  letter-spacing: 0;
  line-height: 1;
  margin-bottom: 8px;
}

.pricing-tagline {
  font-size: 13px;
  color: var(--fg-3);
  margin-bottom: 26px;
  min-height: 20px;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.pricing-features li {
  font-size: 14px;
  color: #444;
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.pricing-features li .chk {
  flex-shrink: 0;
  margin-top: 1px;
}

/* CONTACT */
.contact {
  padding: 96px 5%;
  background: var(--bg);
  text-align: center;
}

.contact-body {
  font-size: 18px;
  color: var(--fg-2);
  margin-bottom: 16px;
}

.contact-email {
  font-size: 22px;
  font-weight: 700;
  color: var(--accent-from);
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: opacity 0.15s;
}

.contact-email:hover {
  opacity: 0.75;
}

/* FOOTER */
footer {
  background: #1d1d1f;
  color: rgba(255, 255, 255, 0.4);
  padding: 28px 5%;
  text-align: center;
  font-size: 13px;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.15s;
}

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

footer strong {
  color: rgba(255, 255, 255, 0.8);
}

/* LEGAL */
.legal-page {
  background: var(--bg-alt);
  padding: 72px 5% 96px;
}

.legal-document {
  max-width: 820px;
  margin: 0 auto;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 48px;
}

.legal-document h1 {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
  margin-bottom: 12px;
}

.legal-updated {
  color: var(--fg-3);
  font-size: 14px;
  margin-bottom: 36px;
}

.legal-document h2 {
  font-size: 20px;
  font-weight: 750;
  letter-spacing: -0.015em;
  margin: 34px 0 10px;
}

.legal-document p {
  color: var(--fg-2);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 14px;
}

.legal-document a {
  color: var(--accent-from);
  font-weight: 600;
}

/* RESPONSIVE */
@media (max-width: 860px) {
  .cards-grid,
  .examples-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  nav {
    padding: 0 20px;
  }

  .nav-links {
    gap: 2px;
  }

  .nav-links a {
    padding: 7px 8px;
    font-size: 13px;
  }

  .nav-links .btn-primary,
  .nav-links a[href="#examples"] {
    display: none;
  }
}

@media (max-width: 600px) {
  .cards-grid,
  .examples-grid {
    grid-template-columns: 1fr;
  }

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

  .hero h1 {
    font-size: 38px;
  }

  .legal-page {
    padding: 48px 18px 70px;
  }

  .legal-document {
    padding: 28px;
  }
}
