:root {
  --brand: #00e676;
  --brand-dark: #00c853;
  --brand-glow: rgba(0, 230, 118, 0.18);
  --text: #1a1a2e;
  --text-muted: #5c6370;
  --bg: #fafbfc;
  --surface: #ffffff;
  --border: #e8ecf0;
  --store: #0078d4;
  --store-hover: #106ebe;
  --radius: 16px;
  --shadow: 0 8px 32px rgba(26, 26, 46, 0.08);
  --shadow-lg: 0 24px 64px rgba(26, 26, 46, 0.12);
  --font: "Inter", "Noto Sans SC", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 251, 252, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a:not(.btn) {
  font-size: 0.925rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav-links a:not(.btn):hover {
  color: var(--text);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.925rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, background 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
  border-radius: 12px;
}

.btn-store {
  background: var(--store);
  color: #fff;
  box-shadow: 0 4px 16px rgba(0, 120, 212, 0.28);
}

.btn-store:hover {
  background: var(--store-hover);
  box-shadow: 0 6px 24px rgba(0, 120, 212, 0.36);
}

.btn-outline {
  background: var(--surface);
  color: var(--text);
  border: 1.5px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--brand);
  color: var(--brand-dark);
}

.store-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 96px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 0%, var(--brand-glow), transparent),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(0, 120, 212, 0.06), transparent);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.badge {
  display: inline-block;
  padding: 6px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.15;
  font-weight: 700;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}

.hero h1 .accent {
  color: var(--brand-dark);
}

.hero-desc {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 0 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.hero-meta li::before {
  content: "✓ ";
  color: var(--brand-dark);
  font-weight: 700;
}

.window-frame {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
  transition: transform 0.4s ease;
}

.window-frame:hover {
  transform: perspective(1200px) rotateY(0) rotateX(0);
}

.window-frame img {
  width: 100%;
  height: auto;
}

/* Sections */
.section {
  padding: 80px 0;
}

.section-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 48px;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.section-head p {
  color: var(--text-muted);
  margin: 0;
  font-size: 1.025rem;
}

/* Features */
.features {
  background: var(--surface);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.feature-card:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  background: color-mix(in srgb, var(--accent) 12%, white);
  border-radius: 12px;
  margin-bottom: 16px;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.feature-card p {
  margin: 0;
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Screenshots */
.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.screenshot-item {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}

.screenshot-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.screenshot-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top;
}

.screenshot-item figcaption {
  padding: 14px 16px;
  font-size: 0.875rem;
  color: var(--text-muted);
  text-align: center;
  border-top: 1px solid var(--border);
}

/* Highlights */
.highlights {
  padding: 48px 0;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.highlight-item {
  text-align: center;
  padding: 28px 16px;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.highlight-item strong {
  display: block;
  font-size: 1.25rem;
  color: var(--brand-dark);
  margin-bottom: 4px;
}

.highlight-item span {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Privacy */
.privacy-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 48px;
  background: linear-gradient(135deg, #f0fdf4 0%, var(--surface) 60%);
  border: 1px solid #bbf7d0;
  border-radius: calc(var(--radius) + 4px);
}

.privacy-content h2 {
  margin: 0 0 12px;
  font-size: 1.5rem;
}

.privacy-content p {
  margin: 0 0 16px;
  color: var(--text-muted);
  max-width: 560px;
}

.privacy-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  font-size: 0.875rem;
  font-weight: 500;
}

.privacy-list li::before {
  content: "● ";
  color: var(--brand-dark);
}

/* CTA */
.cta {
  padding-bottom: 96px;
}

.cta-box {
  text-align: center;
  padding: 64px 32px;
  background: var(--text);
  color: #fff;
  border-radius: calc(var(--radius) + 8px);
  box-shadow: var(--shadow-lg);
}

.cta-logo {
  margin: 0 auto 20px;
  border-radius: 14px;
}

.cta-box h2 {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.cta-box p {
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.72);
}

/* Footer */
.site-footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-brand span {
  font-weight: 600;
}

.footer-copy {
  width: 100%;
  margin: 4px 0 0 38px;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 24px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--brand-dark);
}

/* Privacy page */
.page-header {
  padding: 48px 0 32px;
  text-align: center;
}

.page-header h1 {
  margin: 0 0 8px;
  font-size: 2rem;
}

.page-header p {
  color: var(--text-muted);
  margin: 0;
}

.privacy-doc {
  max-width: 720px;
  margin: 0 auto 80px;
  padding: 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  line-height: 1.75;
}

.privacy-doc h2 {
  font-size: 1.15rem;
  margin: 32px 0 12px;
}

.privacy-doc h2:first-child {
  margin-top: 0;
}

.privacy-doc p,
.privacy-doc li {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.privacy-doc ul {
  padding-left: 1.25rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 24px;
  font-size: 0.875rem;
  color: var(--store);
}

.back-link:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-desc {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-meta {
    justify-content: center;
  }

  .window-frame {
    transform: none;
    max-width: 560px;
    margin-inline: auto;
  }

  .feature-grid,
  .screenshot-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .highlight-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .privacy-box {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
  }

  .privacy-list {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .nav-links a:not(.btn) {
    display: none;
  }

  .feature-grid,
  .screenshot-grid,
  .highlight-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    flex-direction: column;
    text-align: center;
  }

  .footer-copy {
    margin-left: 0;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    padding-top: 48px;
  }
}
