:root {
  --bg-dark: #111827;
  --bg-darker: #0b1020;
  --bg-light: #f6f7fb;
  --card: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --accent: #c9794c;
  --accent-light: #f4b183;
  --border: #e5e7eb;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg-light);
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  background: rgba(11, 16, 32, 0.96);
  color: white;
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.logo {
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 20px;
  font-size: 0.95rem;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.nav-links a:hover {
  color: white;
}

.hero {
  background:
    radial-gradient(circle at top left, rgba(201, 121, 76, 0.35), transparent 35%),
    linear-gradient(135deg, var(--bg-darker), var(--bg-dark));
  color: white;
  padding: 76px 22px 64px;
}

.hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 46px;
  align-items: center;
}

.eyebrow {
  color: var(--accent-light);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  margin-bottom: 12px;
}

.hero h1 {
  font-size: clamp(2.35rem, 6vw, 4.9rem);
  line-height: 0.98;
  margin: 0 0 22px;
  letter-spacing: -0.065em;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.84);
  max-width: 650px;
  margin-bottom: 28px;
}

.hero-note {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.98rem;
  max-width: 620px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0;
}

.button {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
}

.button.primary {
  background: var(--accent);
  color: white;
}

.button.secondary {
  color: white;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.hero-image img,
.screenshot-card img,
.featured-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
}

.hero-image {
  background: #f8fafc;
  padding: 14px;
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.hero-image img {
  box-shadow: none;
}

.section {
  padding: 68px 22px;
}

.section.white {
  background: white;
}

.section-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.section h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.1;
  margin: 0 0 16px;
  letter-spacing: -0.035em;
}

.section-intro {
  color: var(--muted);
  max-width: 760px;
  font-size: 1.08rem;
  margin-bottom: 34px;
}

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

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 1.12rem;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: center;
}

.check-list {
  padding-left: 0;
  list-style: none;
}

.check-list li {
  margin: 12px 0;
  padding-left: 28px;
  position: relative;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 900;
}

.notice {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: var(--radius);
  padding: 22px;
  color: #7c2d12;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.screenshot-card {
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 22px;
  padding: 18px;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.12);
}

.screenshot-card img {
  background: #f8fafc;
  padding: 8px;
  border: 1px solid #e5e7eb;
}

.screenshot-card h3 {
  margin: 14px 6px 4px;
  font-size: 1rem;
}

.screenshot-card p {
  margin: 0 6px 8px;
  color: var(--muted);
  font-size: 0.95rem;
}

.callout {
  background:
    radial-gradient(circle at top right, rgba(244, 177, 131, 0.3), transparent 30%),
    linear-gradient(135deg, #1f2937, #0b1020);
  color: white;
  border-radius: 28px;
  padding: 40px;
}

.callout p {
  color: rgba(255, 255, 255, 0.78);
}

.site-footer {
  background: #0b1020;
  color: rgba(255, 255, 255, 0.74);
  padding: 30px 22px;
  font-size: 0.9rem;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  gap: 18px;
  margin-bottom: 12px;
}

.footer-links a {
  color: white;
  text-decoration: none;
}

.page-hero {
  background:
    radial-gradient(circle at top left, rgba(201, 121, 76, 0.32), transparent 32%),
    linear-gradient(135deg, #0b1020, #111827);
  color: white;
  padding: 54px 22px;
}

.page-hero-inner {
  max-width: 900px;
  margin: 0 auto;
}

.page-hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.8rem);
  line-height: 1;
  margin: 0 0 16px;
  letter-spacing: -0.05em;
}

.content-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 52px 22px;
  background: white;
}

.content-page h2 {
  margin-top: 36px;
}

.content-page code {
  background: #f3f4f6;
  padding: 2px 6px;
  border-radius: 6px;
}

/* Homepage screenshot zoom behavior */

.zoomable {
  cursor: zoom-in;
}

.zoom-hint {
  display: inline-block;
  margin: 10px 6px 0;
  padding: 5px 10px;
  border-radius: 999px;
  background: #fff7ed;
  color: #9a3412;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.hero-zoom-hint {
  margin-left: 4px;
  margin-top: 12px;
}

.screenshot-card:hover,
.hero-image:hover {
  transform: translateY(-2px);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.screenshot-card:hover {
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.16);
}

.hero-image:hover {
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.45);
}

/* Manual page screenshots */

.manual-screenshot {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 24px auto 8px;
  border-radius: 18px;
  background: #f8fafc;
  padding: 8px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
}

/* Image popup for homepage screenshots */

.image-modal {
  display: none;
  position: fixed;
  z-index: 999;
  inset: 0;
  padding: 34px;
  background: rgba(3, 7, 18, 0.88);
  align-items: center;
  justify-content: center;
  overflow: auto;
}

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

.image-modal img {
  max-width: 92vw;
  max-height: 82vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
  background: #f8fafc;
  padding: 10px;
}

.image-modal-close {
  position: fixed;
  top: 18px;
  right: 24px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  background: white;
  color: #111827;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.image-modal-close:hover {
  background: #f3f4f6;
}

/* Small screens */

@media (max-width: 850px) {
  .hero-inner,
  .split {
    grid-template-columns: 1fr;
  }

  .hero-image {
    transform: none;
  }

  .feature-grid,
  .gallery {
    grid-template-columns: 1fr;
  }

  .nav {
    align-items: flex-start;
    gap: 12px;
    flex-direction: column;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 14px;
  }
}