:root {
  --bg: #FEF7F0;
  --bg-dark: #0B1120;
  --ink: #0B1120;
  --ink-soft: #374151;
  --ink-muted: #6B7280;
  --accent: #F59E0B;
  --accent-soft: #FEF3C7;
  --surface: #FFFFFF;
  --surface-dark: #1C2333;
  --surface-raised: #F3F1ED;
  --border: #E5DDD5;
  --ep-color: #3B82F6;
  --ga-color: #10B981;
  --log-color: #8B5CF6;
  --ai-color: #F59E0B;
  --listing-color: #EF4444;
  --data-color: #06B6D4;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
}
.nav-logo {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.nav-wordmark {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
}
.nav-tag {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-muted);
  background: var(--surface-raised);
  padding: 3px 8px;
  border-radius: 4px;
}

/* Hero */
.hero {
  position: relative;
  padding: 140px 0 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.hero-orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245,158,11,0.12) 0%, transparent 70%);
  top: -100px;
  right: -100px;
}
.hero-orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(59,130,246,0.08) 0%, transparent 70%);
  bottom: 0;
  left: 10%;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(11,17,32,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11,17,32,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}
.hero-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 700;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 24px;
}
.hero-headline em {
  font-style: italic;
  color: var(--accent);
}
.hero-sub {
  font-size: 18px;
  color: var(--ink-soft);
  line-height: 1.7;
  max-width: 440px;
}

/* Module grid in hero */
.module-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}
.module-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.module-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(11,17,32,0.08);
}
.module-card-epos { border-top: 3px solid var(--ep-color); }
.module-card-gift { border-top: 3px solid var(--ga-color); }
.module-card-logistics { border-top: 3px solid var(--log-color); }
.module-card-vision { border-top: 3px solid var(--ai-color); }
.module-card-listing { border-top: 3px solid var(--listing-color); }
.module-card-reporting { border-top: 3px solid var(--data-color); }

.module-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.module-card-epos .module-icon { background: rgba(59,130,246,0.1); color: var(--ep-color); }
.module-card-gift .module-icon { background: rgba(16,185,129,0.1); color: var(--ga-color); }
.module-card-logistics .module-icon { background: rgba(139,92,246,0.1); color: var(--log-color); }
.module-card-vision .module-icon { background: rgba(245,158,11,0.1); color: var(--ai-color); }
.module-card-listing .module-icon { background: rgba(239,68,68,0.1); color: var(--listing-color); }
.module-card-reporting .module-icon { background: rgba(6,182,212,0.1); color: var(--data-color); }

.module-card span {
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
}
.module-card p {
  font-size: 11px;
  color: var(--ink-muted);
  font-weight: 400;
}

/* Stats bar */
.stats {
  background: var(--ink);
  padding: 32px 0;
}
.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-number {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
}
.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}
.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.12);
}

/* Section shared */
.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 56px;
}

/* Modules detail section */
.modules {
  padding: 100px 0;
  background: var(--surface-raised);
}
.modules-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}
.module-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.module-feature {
  display: grid;
  grid-template-columns: 56px 1fr 160px;
  gap: 24px;
  align-items: start;
  padding: 32px;
  background: var(--surface);
  border-radius: 16px;
  border: 1px solid var(--border);
  margin-bottom: 8px;
  transition: box-shadow 0.2s ease;
}
.module-feature:hover {
  box-shadow: 0 4px 20px rgba(11,17,32,0.06);
}
.module-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.ep { background: rgba(59,130,246,0.1); color: var(--ep-color); }
.ga { background: rgba(16,185,129,0.1); color: var(--ga-color); }
.log { background: rgba(139,92,246,0.1); color: var(--log-color); }
.ai { background: rgba(245,158,11,0.1); color: var(--ai-color); }
.listing { background: rgba(239,68,68,0.1); color: var(--listing-color); }
.data { background: rgba(6,182,212,0.1); color: var(--data-color); }

.module-feature-body h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}
.module-feature-body p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.6;
}
.module-feature-price {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  text-align: right;
  padding-top: 4px;
}
.module-feature-price span {
  display: block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  color: var(--ink-muted);
  margin-top: 2px;
}
.free-tag {
  font-size: 13px;
  color: var(--accent) !important;
}

/* Why section */
.why {
  padding: 100px 0;
  background: var(--bg);
}
.why-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.why-body {
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-top: 24px;
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}
.why-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: var(--surface);
  border-radius: 12px;
  border: 1px solid var(--border);
}
.why-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.why-item p {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
}

/* Manifesto */
.manifesto {
  background: var(--surface-dark);
  padding: 100px 0;
}
.manifesto-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}
.manifesto-quote {
  max-width: 800px;
  margin: 0 auto 72px;
  text-align: center;
}
.manifesto-quote blockquote {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 400;
  font-style: italic;
  color: #FFFFFF;
  line-height: 1.4;
  margin-bottom: 24px;
}
.manifesto-quote cite {
  font-size: 14px;
  font-style: normal;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
}
.manifesto-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
  border-radius: 16px;
  overflow: hidden;
}
.manifesto-stat {
  background: var(--surface-dark);
  padding: 40px;
  text-align: center;
}
.manifesto-stat span {
  display: block;
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}
.manifesto-stat p {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
}

/* Closing */
.closing {
  background: var(--bg-dark);
  padding: 100px 0;
}
.closing-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 40px;
  text-align: center;
}
.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.15;
  margin-bottom: 20px;
}
.closing p {
  font-size: 18px;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}
.closing-rule {
  width: 40px;
  height: 2px;
  background: var(--accent);
  margin: 40px auto;
}
.closing-tagline {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.02em;
}

/* Footer */
.footer {
  background: var(--bg-dark);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 28px 0;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-brand {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.footer-wordmark {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
}
.footer-sub {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}
.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
}
.footer-links a:hover { color: var(--accent); }

/* Responsive */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-right { order: -1; }
  .module-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-inner { flex-wrap: wrap; gap: 24px; }
  .stat-divider { display: none; }
  .stat-item { flex: 1; min-width: 120px; }
  .why-inner { grid-template-columns: 1fr; }
  .manifesto-stats { grid-template-columns: 1fr; }
  .module-feature { grid-template-columns: 44px 1fr; }
  .module-feature-price { grid-column: 2; text-align: left; margin-top: 8px; }
  .footer-inner { flex-direction: column; gap: 12px; }
}
@media (max-width: 600px) {
  .hero { padding: 100px 0 60px; }
  .hero-inner, .modules-inner, .why-inner, .manifesto-inner, .closing-inner { padding: 0 24px; }
  .module-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .module-list { gap: 0; }
  .module-feature { padding: 20px; }
}