:root {
  color-scheme: light;
  font-family: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  --bg: #ffffff;
  --surface: #f8fbff;
  --surface-2: #eef4ff;
  --text: #0f172a;
  --muted: #475569;
  --border: #cbd5e1;
  --accent: #1d4ed8;
  --accent-strong: #1e40af;
  --accent-soft: #dbeafe;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--surface);
  color: var(--text);
}

img { max-width: 100%; display: block; }
button, a { font: inherit; }

.page-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 64px;
}

/* ── Header ── */
header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #ffffff;
  border-bottom: 1px solid rgba(0,0,0,.08);
}

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

.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  letter-spacing: -0.01em;
  font-size: 0.95rem;
  white-space: nowrap;
}

.brand-mark {
  width: 26px;
  height: 26px;
  border: 1.5px solid #000;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text);
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 28px;
  flex-wrap: nowrap;
  align-items: center;
}

.nav-link {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.925rem;
  transition: color .2s;
}
.nav-link:hover { color: var(--text); }

.nav-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-shrink: 0;
}

.cart-btn {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  transition: color .2s;
}
.cart-btn:hover { color: var(--text); }

/* ── Buttons ── */
.button, a.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1.5px solid transparent;
  transition: all .2s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn-accent {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}
.btn-accent:hover { background: var(--accent-strong); border-color: var(--accent-strong); }

.btn-dark {
  background: #1d4ed8;
  color: #ffffff;
}
.btn-dark:hover { background: #1e40af; }

.btn-light {
  background: #ffffff;
  color: var(--text);
  border: 1px solid var(--border) !important;
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border) !important;
  width: 100%;
  justify-content: center;
  padding: 12px 18px;
}
.btn-outline:hover { border-color: #b0aca4; background: rgba(0,0,0,.02); }

.play-icon {
  width: 30px;
  height: 30px;
  background: #1d4ed8;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.play-icon svg { margin-left: 2px; }

/* ── Eyebrow ── */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: '';
  display: block;
  width: 26px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  flex-shrink: 0;
}

/* ── Hero ── */
.hero {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 56px;
  align-items: center;
  padding: 88px 0 60px;
}

.hero-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(3rem, 5vw, 5rem);
  line-height: 0.95;
  margin: 0 0 26px;
  letter-spacing: -.03em;
  font-weight: 700;
  color: var(--text);
}
.hero-title .accent { color: var(--accent); }

.hero-text {
  color: var(--muted);
  font-size: 1rem;
  margin: 0 0 36px;
  line-height: 1.7;
  max-width: 540px;
}
.hero-text .dim { color: #b0aca6; }

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* ── Hero Visual ── */
.hero-visual {
  position: relative;
  min-height: 390px;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(219, 234, 254, .96) 0%, rgba(248, 250, 255, 0.85) 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 20px;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(0,0,0,.07);
  box-shadow: 0 8px 28px rgba(0,0,0,.1), 0 2px 6px rgba(0,0,0,.04);
  min-width: 195px;
}

.chip-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.chip-icon.warm   { background: rgba(194,98,42,.12);  color: var(--accent); }
.chip-icon.blue   { background: rgba(100,130,240,.1); color: #5470e6; }
.chip-icon.slate  { background: rgba(100,116,139,.1); color: #64748b; }
.chip-icon.purple { background: rgba(139,92,246,.1);  color: #8b5cf6; }

.chip-text strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: #1c1c1c;
  margin-bottom: 2px;
}
.chip-text span {
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: #888;
  font-weight: 600;
}

.hero-chip-1 { top: 10%; right: 6%; }
.hero-chip-2 { top: 40%; left: 4%; }
.hero-chip-3 { bottom: 20%; right: 10%; }
.hero-chip-4 { bottom: 4%;  left: 8%; }

.hero-badges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 32px;
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid var(--border);
}

.badge-icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--surface-2);
  font-size: 1rem;
  flex-shrink: 0;
}

.badge-item strong {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}

/* ── Section ── */
.section { padding: 72px 0; }

.section-header { margin-bottom: 36px; }

.section-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.8rem;
  margin: 0 0 14px;
  letter-spacing: -.02em;
  font-weight: 700;
  line-height: 1.1;
  color: var(--text);
}
.section-title .accent { color: var(--accent); }

.section-subtitle {
  max-width: 640px;
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.7;
}
.section-subtitle .dim { color: #b8b4ae; }

/* ── Filter Tabs ── */
.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 14px 18px;
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid var(--border);
  margin-bottom: 28px;
}

.filter-tab {
  padding: 7px 18px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid transparent;
  background: transparent;
  color: var(--muted);
  transition: all .18s;
}
.filter-tab:hover { color: var(--text); border-color: var(--border); }
.filter-tab.active {
  background: #1d4ed8;
  color: #ffffff;
  border-color: #1d4ed8;
}

/* ── Product Grid ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.product-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(0,0,0,.09);
}

.product-card-top {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.product-card-top.cat-agent      { background: linear-gradient(145deg, #fdf0e8 0%, #f5dfc5 100%); }
.product-card-top.cat-automation { background: linear-gradient(145deg, #eef2ff 0%, #dde5ff 100%); }
.product-card-top.cat-template   { background: linear-gradient(145deg, #f3faf5 0%, #dcf0e3 100%); }
.product-card-top.cat-openclaw   { background: linear-gradient(145deg, #faf5ff 0%, #ede9fe 100%); }

/* Dot grid overlay */
.product-card-top::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(0,0,0,.12) 1.5px, transparent 1.5px),
    radial-gradient(circle, rgba(0,0,0,.06) 1px,   transparent 1px);
  background-size: 30px 30px, 15px 15px;
  background-position: 0 0, 7px 7px;
  opacity: .55;
}

/* Center node highlight */
.product-card-top::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(0,0,0,.22);
  box-shadow: 0 0 0 7px rgba(0,0,0,.06), 0 0 0 14px rgba(0,0,0,.03);
}

.product-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 1;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.badge-bestseller { background: #111111; color: #ffffff; }
.badge-api        { background: rgba(194,98,42,.16); color: #9d4c1a; }
.badge-popular    { background: rgba(99,130,235,.13); color: #4f6ad4; }

.product-card-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.product-icon {
  width: 28px;
  height: 28px;
  color: var(--muted);
  flex-shrink: 0;
}

.product-card h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.product-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.6;
  flex: 1;
}

.product-price {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  margin-top: 2px;
}
.product-price .note {
  font-weight: 400;
  color: var(--muted);
  font-size: 0.82rem;
}

.product-footer { padding-top: 10px; margin-top: auto; }

/* ── Feature & Review Cards ── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.feature-card, .review-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px 28px 32px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.feature-card:hover, .review-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(0,0,0,.06);
}

.feature-icon {
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.feature-card h3, .review-card h3 { margin: 0 0 10px; font-size: 1rem; font-weight: 700; }
.feature-card p, .review-card p  { margin: 0; color: var(--muted); font-size: 0.875rem; line-height: 1.7; }

.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.review-card p { margin-bottom: 18px; }
.review-author { font-size: 0.84rem; color: var(--muted); font-weight: 500; }

/* ── Separator & Footer ── */
hr.separator {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

.footer { padding: 48px 0 20px; color: var(--muted); }

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.footer a {
  color: var(--muted);
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
  font-size: 0.875rem;
  transition: color .2s;
}
.footer a:hover { color: var(--text); }

.logo-text { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.footer p  { font-size: 0.85rem; line-height: 1.6; margin: 0 0 6px; }

/* ── Mobile menu ── */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 4px;
  align-items: center;
  transition: color .2s;
}
.menu-toggle:hover { color: var(--text); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: #111111;
  display: flex;
  flex-direction: column;
  padding: 20px 24px 32px;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
}
.mobile-menu.open { transform: translateX(0); }

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

.mobile-brand {
  color: #ffffff !important;
}
.mobile-brand .brand-mark {
  border-color: rgba(255,255,255,.5) !important;
  color: #ffffff !important;
}

.mobile-cart-icon { color: rgba(255,255,255,.7) !important; }

.menu-close {
  background: none;
  border: none;
  color: rgba(255,255,255,.8);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  transition: color .2s;
}
.menu-close:hover { color: #ffffff; }

.mobile-nav {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.mobile-nav-link {
  color: #ffffff;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 500;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: color .2s;
}
.mobile-nav-link:hover { color: rgba(255,255,255,.7); }

.mobile-menu-footer {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 8px;
}

.mobile-sep {
  border: none;
  border-top: 1px solid rgba(255,255,255,.12);
  margin: 0;
}

.mobile-cart-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.75);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: color .2s;
}
.mobile-cart-link:hover { color: #ffffff; }

.mobile-cta {
  width: 100%;
  border-radius: 12px !important;
  padding: 18px 22px !important;
  font-size: 1rem !important;
  justify-content: center;
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 56px;
  }
  .hero-visual { min-height: 280px; margin-top: 32px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .navbar { padding: 14px 18px; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .menu-toggle { display: flex; }
  .page-wrapper { padding: 0 18px 48px; }
  .hero { padding-top: 40px; gap: 36px; }
  .card-grid { grid-template-columns: 1fr; }
  .cta-group { flex-direction: column; align-items: stretch; }
  .cta-group .button { width: 100%; justify-content: center; }
  .section-title { font-size: 2.2rem; }
}
