:root {
  --bg: #fffdfb;
  --text: #1f2937;
  --muted: #6b7280;
  --primary: #b7791f;
  --primary-2: #8b5e16;
  --surface: #ffffff;
  --line: #eee7df;
  --soft: #fff7ed;
  --dark: #111827;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: "Plus Jakarta Sans", sans-serif; color: var(--text); background: var(--bg); }
.container { width: min(1120px, 92%); margin: 0 auto; }
.header { position: sticky; top: 0; z-index: 100; background: rgba(255,253,251,.95); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.nav { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; }
.logo { color: var(--text); text-decoration: none; font-size: 1.2rem; font-weight: 800; }
.logo span { color: var(--primary); }
.nav-desktop { display: flex; gap: 20px; align-items: center; }
.nav-desktop a { color: var(--text); text-decoration: none; font-weight: 600; }
.hamburger { display: none; border: 0; background: transparent; cursor: pointer; width: 40px; }
.hamburger span { display: block; height: 2px; background: var(--text); margin: 6px 0; }
.nav-mobile { max-height: 0; opacity: 0; overflow: hidden; padding: 0 4%; border-top: 0 solid var(--line); background: var(--surface); transform: translateY(-6px); transition: max-height .22s ease, opacity .18s ease, transform .18s ease, padding .18s ease; will-change: max-height, opacity, transform; }
.nav-mobile a { display: block; padding: 10px 0; color: var(--text); text-decoration: none; font-weight: 600; }
.nav-mobile.open { max-height: 260px; opacity: 1; padding: 8px 4% 16px; border-top-width: 1px; transform: translateY(0); }

.hero { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; align-items: center; padding: 56px 0; }
.tagline { color: var(--primary-2); font-weight: 700; }
h1 { font-size: clamp(2rem, 3.8vw, 3rem); line-height: 1.2; margin: 10px 0; }
.sub { color: var(--muted); max-width: 62ch; }
.hero-cta { display: flex; gap: 12px; margin: 24px 0; }
.btn { display: inline-block; background: var(--primary); color: #fff; text-decoration: none; border-radius: 10px; padding: 12px 18px; font-weight: 700; }
.btn:hover { background: var(--primary-2); }
.btn-soft { background: #fce7c8; color: #7a4d0f; }
.btn-sm { padding: 10px 14px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stats article { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.stats h3 { margin: 0; font-size: 1.3rem; }
.stats p { margin: 4px 0 0; color: var(--muted); }
.hero-side { background: linear-gradient(170deg, #2c1a08, #5f3c14); color: #fef3c7; padding: 24px; border-radius: 16px; }
.hero-side h2 { color: #fff; margin-top: 0; }

.section { padding: 56px 0; }
.section h2 { margin-top: 0; font-size: clamp(1.45rem, 3vw, 2rem); }
.section-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 16px; }
.section-head a { color: var(--primary-2); font-weight: 700; text-decoration: none; }
.template-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.template { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
.template h3 { margin: 10px 0 6px; }
.template p { margin: 0; color: var(--muted); font-size: .93rem; }
.template span { display: inline-block; margin-top: 10px; color: var(--primary-2); font-weight: 800; }
.thumb { border-radius: 10px; min-height: 120px; width: 100%; object-fit: cover; display:block; }
.section-soft { background: var(--soft); }
.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.feature-grid article { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.feature-grid p { color: var(--muted); }
.pricing { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.price-card { border: 1px solid var(--line); border-radius: 14px; padding: 20px; background: #fff; position: relative; }
.price { font-size: 1.9rem; margin: 8px 0; font-weight: 800; }
.price-card ul { color: var(--muted); padding-left: 18px; }
.featured { border: 2px solid var(--primary); transform: translateY(-4px); }
.badge { position: absolute; top: -11px; left: 14px; background: var(--primary); color: #fff; font-size: .75rem; border-radius: 999px; padding: 4px 8px; }
.section-dark { background: var(--dark); color: #d1d5db; }
.reseller { display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.reseller h2 { color: #fff; }
.center { text-align: center; }
.footer { text-align: center; border-top: 1px solid var(--line); padding: 22px 0; color: var(--muted); }

@media (max-width: 980px) {
  .nav-desktop { display: none; }
  .hamburger { display: block; }
  .hero, .template-grid, .feature-grid, .pricing, .reseller, .marketing-grid { grid-template-columns: 1fr; display: grid; }
  .stats { grid-template-columns: 1fr; }
  .featured { transform: none; }
}


/* Professional motion system */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.22,.61,.36,1); }
.reveal.in-view { opacity: 1; transform: translateY(0); }

.btn, .template, .price-card, .feature-grid article, .stats article {
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(183,121,31,.28); }
.template:hover, .price-card:hover, .feature-grid article:hover, .stats article:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(17,24,39,.08);
  border-color: #e7d5bc;
}

.hero-side {
  animation: floatCard 5s ease-in-out infinite;
}

@keyframes floatCard {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.hero-img { width: 100%; border-radius: 12px; margin-bottom: 14px; border: 1px solid rgba(255,255,255,.2); }
.marketing-grid { display:grid; grid-template-columns: repeat(3,1fr); gap:14px; margin-bottom:16px; }
.marketing-grid article, .api-box { background:#fff; border:1px solid var(--line); border-radius:12px; padding:14px; }
.api-box ul { margin:0; padding-left:18px; color:var(--muted); }
