:root {
  --bg: #f6faf8;
  --surface: #ffffff;
  --surface-alt: #edf5f1;
  --text: #10201a;
  --muted: #4b6158;
  --border: #d5e3dc;
  --accent: #0f766e;
  --accent-hover: #0d5e58;
  --accent-soft: #e6f6f3;
  --accent-border: #99d8cf;
  --drop-bg: #ecfdf3;
  --drop-text: #166534;
  --old-text: #7c8d86;
  --radius: 14px;
  --radius-sm: 10px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--text);
  font-size: 1.02rem;
  letter-spacing: -0.01em;
}
.brand:hover { text-decoration: none; }
.brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.94rem;
}
.nav a { color: var(--muted); font-weight: 500; }
.nav a:hover { color: var(--text); text-decoration: none; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.96rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: var(--accent);
  color: #ffffff;
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}
.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}
.btn-secondary:hover {
  border-color: var(--accent-border);
  background: var(--accent-soft);
}
.btn-sm {
  padding: 9px 15px;
  font-size: 0.88rem;
}

/* Hero */
.hero {
  padding: 64px 0 48px;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 36px;
  align-items: center;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 600;
  border: 1px solid var(--accent-border);
  margin-bottom: 16px;
}
.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  line-height: 1.14;
  letter-spacing: -0.025em;
  color: var(--text);
}
h2 {
  margin: 0 0 14px;
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
}
h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  line-height: 1.35;
}
.lead {
  font-size: 1.07rem;
  color: var(--muted);
  margin: 0 0 24px;
  max-width: 60ch;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.88rem;
  color: var(--muted);
}
.trust-strip span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Interactive Demo Card */
.demo-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(16, 32, 26, 0.06);
  overflow: hidden;
}
.demo-topbar {
  padding: 12px 14px;
  background: var(--surface-alt);
  border-bottom: 1px solid var(--border);
}
.demo-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tab-pill {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  padding: 6px 11px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}
.tab-pill.active {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}
.demo-body {
  padding: 20px;
}
.demo-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 12px;
}
.demo-product {
  font-weight: 700;
  font-size: 1.06rem;
  margin-bottom: 14px;
}
.price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}
.price-old {
  font-size: 1.05rem;
  color: var(--old-text);
  text-decoration: line-through;
}
.price-new {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--drop-text);
  letter-spacing: -0.02em;
}
.price-pill {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--drop-bg);
  color: var(--drop-text);
  font-size: 0.8rem;
  font-weight: 700;
}
.demo-note {
  background: var(--surface-alt);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.92rem;
  color: var(--text);
  margin-bottom: 12px;
}
.demo-footer {
  font-size: 0.8rem;
  color: var(--muted);
}

/* Sections & Cards */
.section {
  padding: 56px 0;
}
.section-alt {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-header {
  max-width: 68ch;
  margin-bottom: 28px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.section-alt .card {
  background: var(--bg);
}
.card-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 3px 9px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Article / Store Layout */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--muted);
  margin-bottom: 14px;
}
.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.75fr);
  gap: 32px;
  align-items: start;
}
.article-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  margin-bottom: 20px;
}
.article-block p {
  margin: 0 0 12px;
  color: var(--muted);
}
.article-block p:last-child { margin-bottom: 0; }
.tip-box {
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  margin-top: 14px;
}
.tip-box strong {
  display: block;
  color: var(--accent);
  margin-bottom: 4px;
  font-size: 0.92rem;
}
.aside-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 18px;
}
.aside-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.aside-list a {
  font-size: 0.92rem;
  font-weight: 500;
}

/* Directory & Search */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 28px;
}
.search-input {
  flex: 1 1 280px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-size: 0.96rem;
  background: var(--surface);
  color: var(--text);
}
.store-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 34px;
}
.store-link-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  transition: border-color 0.15s ease, transform 0.12s ease;
}
.store-link-card:hover {
  text-decoration: none;
  border-color: var(--accent);
  transform: translateY(-1px);
}
.store-link-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 4px;
}
.store-link-title {
  font-weight: 700;
  color: var(--text);
  font-size: 1rem;
}
.store-domain {
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
}
.store-link-desc {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 14px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
}
.faq-item h3 {
  font-size: 1rem;
  margin: 0 0 6px;
}
.faq-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

/* CTA Banner */
.cta-banner {
  background: var(--text);
  color: #ffffff;
  border-radius: var(--radius);
  padding: 34px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.cta-banner h2 {
  color: #ffffff;
  margin: 0 0 6px;
}
.cta-banner p {
  color: #c8dbd3;
  margin: 0;
  max-width: 56ch;
}

/* Footer */
.site-footer {
  padding: 36px 0;
  border-top: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.88rem;
  color: var(--muted);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

@media (max-width: 900px) {
  .hero-grid, .content-grid, .grid-3 {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 680px) {
  .grid-2, .store-grid {
    grid-template-columns: 1fr;
  }
  .nav { gap: 12px; }
  .nav .hide-sm { display: none; }
}
