html {
  scroll-behavior: smooth;
  scroll-padding-top: 70px;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #0a0a0a;
  color: #f0f0f0;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── Noise texture overlay ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  z-index: 0;
}

/* ── Fade-in animation ── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Nav ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #f0f0f0;
}

.nav-logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: contain;
}

.nav-title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.3px;
}

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

.nav-links a {
  color: #aaa;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #f0f0f0;
}

.nav-cta {
  margin-left: 16px;
  padding: 10px 22px;
  font-size: 0.9rem;
}

/* ── CTA Button ── */
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: linear-gradient(135deg, #4f8ef7, #1a56e8);
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.2px;
  box-shadow: 0 0 24px rgba(26, 86, 232, 0.4);
  transition: box-shadow 0.2s, transform 0.2s;
}

.cta-button:hover {
  box-shadow: 0 0 36px rgba(26, 86, 232, 0.65);
  transform: translateY(-1px);
}

/* ── Secondary Button ── */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: transparent;
  color: #f0f0f0;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 600;
  font-size: 1rem;
  transition: border-color 0.2s, background 0.2s;
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.05);
}

/* ── Hero ── */
.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 32px 40px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(26, 86, 232, 0.15) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-left h1 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.15;
}

.hero-desc {
  font-size: 0.9rem;
  color: #888;
  line-height: 1.7;
  max-width: 420px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.sys-req {
  font-size: 0.82rem;
  color: #555;
}

/* ── Mac window chrome ── */
.glow-wrap {
  position: relative;
}

.glow-wrap::before {
  content: '';
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse, rgba(26, 86, 232, 0.2) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.mac-window {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255,255,255,0.04);
  background: #1a1a1a;
}

.mac-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #242424;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot-red    { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green  { background: #28c840; }

.screenshot-img {
  width: 100%;
  display: block;
  object-fit: cover;
}

/* ── Light sections ── */
.section-light {
  background: #ffffff;
  color: #111;
  padding: 24px 32px;
  position: relative;
  z-index: 1;
}

.section-light-border {
  border-top: 1px solid #e5e7eb;
}

/* ── Problem section ── */
.problem-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: center;
}

.problem-left {
  display: flex;
  justify-content: center;
}

.missing-fonts-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 14px 18px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 260px;
}

.mf-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.mf-title {
  font-weight: 700;
  font-size: 0.85rem;
  color: #111;
}

.mf-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mf-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: #333;
}

.mf-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
  flex-shrink: 0;
}

.mf-more {
  color: #888 !important;
  font-size: 0.85rem !important;
  padding-left: 18px;
}

.problem-right {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.problem-right h2 {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.2;
  color: #111;
}

.problem-right p {
  font-size: 0.875rem;
  color: #555;
  line-height: 1.6;
}

.checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 2px;
}

.checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #222;
}

.checklist li svg {
  color: #1a56e8;
  flex-shrink: 0;
}

/* ── How It Works ── */
.hiw-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.hiw-inner h2 {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #111;
}

.hiw-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  width: 100%;
}

.hiw-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex: 1;
  max-width: 220px;
  position: relative;
}

.hiw-icon-wrap {
  position: relative;
  display: inline-flex;
}

.hiw-icon {
  width: 72px;
  height: 72px;
  background: #f0f4ff;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.hiw-num {
  position: absolute;
  top: -10px;
  left: -10px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #1a56e8;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
}

.hiw-step h3 {
  font-size: 0.875rem;
  font-weight: 700;
  color: #111;
}

.hiw-step p {
  font-size: 0.8rem;
  color: #666;
  line-height: 1.5;
}

.hiw-connector {
  flex-shrink: 0;
  width: 60px;
  border-top: 2px dashed #d1d5db;
  margin-top: 52px;
}

/* ── Features ── */
.features-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.features-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.features-left h2 {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.2;
  color: #111;
}

/* ── Audience ── */
.audience-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.audience-inner h2 {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #111;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
}

.audience-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 24px 16px;
  text-align: center;
  border-right: 1px solid #e5e7eb;
}

.audience-card:last-child {
  border-right: none;
}

.audience-icon {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.audience-card h3 {
  font-size: 0.85rem;
  font-weight: 700;
  color: #111;
}

.audience-card p {
  font-size: 0.78rem;
  color: #666;
  line-height: 1.5;
}

/* ── Sections ── */
.section {
  padding: 40px 32px;
  position: relative;
  z-index: 1;
}

.section-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}

.section-inner h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.5px;
}

/* ── Demo inner ── */
.demo-inner {
  color: #111;
}

.demo-inner h2 {
  color: #111;
}

/* ── Demo video ── */
.demo-video {
  width: 100%;
  border-radius: 14px;
  display: block;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

/* ── CTA Section ── */
.cta-section {
  background: #0d0d1a;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 48px 32px;
  position: relative;
  z-index: 1;
}

.cta-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cta-left h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #f0f0f0;
}

.cta-left p {
  font-size: 0.9rem;
  color: #888;
  max-width: 400px;
}

.cta-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* ── Cards ── */
.card {
  width: 100%;
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 24px;
  padding: 28px 40px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}

.card p {
  color: #777;
  font-size: 1rem;
}

.card-download {
  background: linear-gradient(135deg, #141414, #111a2e);
  border-color: rgba(26, 86, 232, 0.2);
}

/* ── Price ── */
.price {
  font-size: 1.1rem;
  font-weight: 600;
  color: #60a5fa !important;
}

/* ── Footer ── */
footer {
  background: #0d0d1a;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 24px 32px;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer-brand {
  align-self: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.footer-links a {
  color: #666;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

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

.footer-copy {
  font-size: 0.8rem;
  color: #444;
}

.attribution {
  text-align: center;
  font-size: 0.72rem;
  color: #333;
}

.attribution a {
  color: #444;
  text-decoration: none;
}

.attribution a:hover {
  text-decoration: underline;
}

/* ── Responsive ── */
@media (max-width: 768px) {

  /* ── Nav ── */
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; padding: 8px 16px; font-size: 0.85rem; }
  .nav-inner { padding: 12px 16px; }

  /* ── Hero ── */
  .hero {
    grid-template-columns: 1fr;
    padding: 32px 16px 24px;
    gap: 28px;
  }
  .hero-left { gap: 14px; }
  .hero-left h1 { font-size: 1.6rem; letter-spacing: -0.5px; }
  .hero-desc { font-size: 0.875rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 10px; }
  .cta-button, .btn-secondary { width: 100%; justify-content: center; }

  /* ── Light sections ── */
  .section-light { padding: 28px 16px; }

  /* ── Problem ── */
  .problem-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .missing-fonts-card { max-width: 100%; }

  /* ── How It Works ── */
  .hiw-steps {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .hiw-connector {
    width: 2px;
    height: 24px;
    border-top: none;
    border-left: 2px dashed #d1d5db;
    margin-top: 0;
  }

  /* ── Features ── */
  .features-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* ── Audience ── */
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .audience-card { border-bottom: 1px solid #e5e7eb; }
  .audience-card:nth-child(2) { border-right: none; }
  .audience-card:last-child { border-bottom: none; border-right: none; }

  /* ── Dark sections ── */
  .section { padding: 28px 16px; }
  .section-inner { gap: 16px; }

  /* ── CTA ── */
  .cta-section { padding: 32px 16px; }
  .cta-inner {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }
  .cta-left p { max-width: 100%; }
  .cta-right { width: 100%; }
  .cta-right .cta-button { width: 100%; justify-content: center; }

  /* ── Footer ── */
  footer { padding: 20px 16px; }
  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }
  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }
  .footer-copy { text-align: center; }
}
