:root {
  --sc-primary: #16a34a;
  --sc-primary-dark: #15803d;
  --sc-primary-soft: #ecfdf3;
  --sc-text: #0f172a;
  --sc-muted: #64748b;
  --sc-line: #e2e8f0;
  --sc-bg: #f8fafc;
  --sc-card: #ffffff;
  --sc-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  --sc-radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: #fff;
  color: var(--sc-text);
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

/* Header */
#siteHeader {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.header-inner {
  width: min(1180px, calc(100% - 32px));
  min-height: 78px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--sc-text);
  text-decoration: none;
  font-size: 1.65rem;
  font-weight: 800;
}

.logo-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #dbeafe, #dcfce7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.logo strong {
  color: var(--sc-primary);
}

#mainNav {
  display: flex;
  align-items: center;
  gap: 26px;
}

#mainNav a {
  color: #334155;
  text-decoration: none;
  font-size: 0.97rem;
  font-weight: 700;
}

#mainNav a:hover {
  color: var(--sc-primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Button */
.btn-primary,
.btn-outline,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border: none;
  border-radius: 16px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  transition: 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  box-shadow: 0 14px 28px rgba(22, 163, 74, 0.24);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(22, 163, 74, 0.28);
}

.btn-outline {
  border: 1px solid #bbf7d0;
  background: #fff;
  color: var(--sc-primary-dark);
}

.btn-outline:hover {
  background: var(--sc-primary-soft);
}

.btn-ghost {
  border: 1px solid var(--sc-line);
  background: #fff;
  color: #334155;
}

.btn-ghost:hover {
  background: #f8fafc;
}

.btn-lg {
  min-height: 56px;
  padding: 0 26px;
}

.btn-full {
  width: 100%;
}

/* Hero */
.landing-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 44px;
  background:
    radial-gradient(circle at top right, rgba(34, 197, 94, 0.15), transparent 28%),
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.12), transparent 22%),
    linear-gradient(180deg, #ffffff 0%, #f8fffb 100%);
}

.landing-hero::before {
  position: absolute;
  inset: 0;
  content: '';
  background-image:
    linear-gradient(rgba(226, 232, 240, 0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(226, 232, 240, 0.35) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.28), transparent 88%);
  pointer-events: none;
}

.landing-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  align-items: center;
  gap: 42px;
}

.hero-eyebrow,
.eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--sc-primary-soft);
  color: var(--sc-primary-dark);
  font-size: 0.85rem;
  font-weight: 800;
}

.hero-eyebrow {
  margin-bottom: 18px;
}

.eyebrow {
  margin-bottom: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.landing-hero-text h1 {
  margin: 0 0 18px;
  font-size: clamp(2.3rem, 5vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.landing-hero-text h1 em {
  color: var(--sc-primary);
  font-style: normal;
}

.landing-hero-text > p {
  max-width: 640px;
  margin: 0;
  color: var(--sc-muted);
  font-size: 1.08rem;
  line-height: 1.8;
}

.hero-feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 24px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid #dcfce7;
  border-radius: 999px;
  background: #fff;
  color: #166534;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
  font-size: 0.9rem;
  font-weight: 700;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 26px 0 24px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  width: fit-content;
  padding: 18px 20px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--sc-shadow);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat strong {
  font-size: 1.2rem;
  font-weight: 800;
}

.stat span {
  color: var(--sc-muted);
  font-size: 0.9rem;
}

.stat-div {
  width: 1px;
  height: 34px;
  background: #e2e8f0;
}

.hero-admin-box {
  margin-top: 22px;
  padding: 18px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--sc-shadow);
}

.hero-admin-box h4 {
  margin: 0 0 12px;
  font-size: 1rem;
}

.hero-admin-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.hero-admin-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 16px;
  background: #f8fafc;
  color: #334155;
  font-size: 0.92rem;
  font-weight: 700;
}

.hero-admin-item i {
  color: var(--sc-primary);
}

/* Hero dashboard preview */
.hero-visual-shell {
  position: relative;
  isolation: isolate;
  padding: 22px;
  border: 1px solid rgba(226, 232, 240, 0.94);
  border-radius: 34px;
  background: linear-gradient(145deg, rgba(255,255,255,0.98), rgba(238,252,244,0.92));
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.15), 0 10px 24px rgba(22, 163, 74, 0.08);
}

.hero-visual-glow {
  position: absolute;
  z-index: -1;
  width: 150px;
  height: 150px;
  border-radius: 999px;
  filter: blur(10px);
  pointer-events: none;
}

.hero-visual-glow-one {
  top: -48px;
  right: 14%;
  background: rgba(34, 197, 94, 0.22);
}

.hero-visual-glow-two {
  bottom: -54px;
  left: 12%;
  background: rgba(96, 165, 250, 0.18);
}

.hero-visual-badge {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px 11px 11px;
  border: 1px solid rgba(226, 232, 240, 0.92);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  color: #334155;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.13);
  font-size: 0.8rem;
  line-height: 1.35;
}

.hero-visual-badge strong,
.hero-visual-badge span > span {
  display: block;
}

.hero-visual-badge strong {
  margin-bottom: 1px;
  color: #0f172a;
  font-size: 0.84rem;
}

.hero-badge-icon {
  width: 34px;
  height: 34px;
  display: grid;
  flex: 0 0 34px;
  place-items: center;
  border-radius: 12px;
  background: #dcfce7;
  color: #16a34a;
}

.hero-badge-icon.badge-purple {
  background: #ede9fe;
  color: #7c3aed;
}

.hero-badge-1 { top: -18px; right: 18px; }
.hero-badge-2 { bottom: 14px; left: -22px; }

.hero-browser-window {
  position: relative;
  overflow: hidden;
  border: 1px solid #dbe4ef;
  border-radius: 25px;
  background: #fff;
  box-shadow: 0 14px 24px rgba(15, 23, 42, 0.08);
}

.hero-browser-bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 8px 12px;
  border-bottom: 1px solid #e8edf4;
  background: linear-gradient(180deg, #fff, #f8fafc);
}

.hero-browser-dots { display: flex; gap: 5px; }
.hero-browser-dots span { width: 7px; height: 7px; border-radius: 999px; background: #cbd5e1; }
.hero-browser-dots span:first-child { background: #fda4af; }
.hero-browser-dots span:nth-child(2) { background: #fde68a; }
.hero-browser-dots span:last-child { background: #86efac; }

.hero-browser-address {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 0;
  min-height: 25px;
  padding: 0 10px;
  border: 1px solid #e2e8f0;
  border-radius: 9px;
  background: #fff;
  color: #94a3b8;
  font-size: 0.64rem;
}

.hero-browser-address span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero-browser-address i { color: #22c55e; font-size: 0.58rem; }

.hero-browser-profile { display: flex; align-items: center; gap: 9px; color: #64748b; font-size: 0.75rem; }
.hero-browser-profile span { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 9px; background: #dcfce7; color: #15803d; font-size: 0.62rem; font-weight: 800; }

.hero-app-preview {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  min-height: 360px;
  background: #f8fafc;
}

.hero-app-sidebar {
  display: flex;
  flex-direction: column;
  padding: 14px 10px 12px;
  background: linear-gradient(180deg, #101827, #172136);
  color: #dbeafe;
}

.hero-app-brand { display: flex; align-items: center; gap: 7px; margin-bottom: 20px; padding: 0 4px; color: #fff; font-size: 0.72rem; font-weight: 800; }
.hero-app-brand-mark { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 8px; background: #fff; color: #16a34a; font-size: 0.68rem; }
.hero-app-side-label { margin: 0 5px 7px; color: #718096; font-size: 0.48rem; font-weight: 800; letter-spacing: .08em; }
.hero-app-side-label.second { margin-top: 14px; }

.hero-app-nav { display: flex; align-items: center; gap: 7px; margin-bottom: 3px; padding: 7px 7px; border-radius: 8px; color: #a9b7ca; font-size: 0.58rem; font-weight: 700; }
.hero-app-nav i { width: 11px; text-align: center; font-size: 0.6rem; }
.hero-app-nav.active { background: linear-gradient(90deg, #22c55e, #16a34a); color: #fff; box-shadow: 0 8px 14px rgba(22, 163, 74, .22); }

.hero-app-user { display: flex; align-items: center; gap: 7px; margin-top: auto; padding: 10px 5px 2px; border-top: 1px solid rgba(255,255,255,.08); }
.hero-app-user > span { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 7px; background: rgba(255,255,255,.12); font-size: .56rem; }
.hero-app-user strong, .hero-app-user small { display: block; }
.hero-app-user strong { color: #e2e8f0; font-size: .55rem; }
.hero-app-user small { color: #7d8ca3; font-size: .48rem; }

.hero-app-main { min-width: 0; padding: 15px; }
.hero-app-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; margin-bottom: 13px; }
.hero-app-eyebrow { display: block; margin-bottom: 3px; color: #16a34a; font-size: .48rem; font-weight: 800; letter-spacing: .08em; }
.hero-app-heading h3 { margin: 0 0 2px; color: #0f172a; font-size: 1rem; letter-spacing: -.025em; }
.hero-app-heading p { margin: 0; color: #94a3b8; font-size: .59rem; }
.hero-app-live { display: inline-flex; align-items: center; gap: 5px; padding: 6px 8px; border-radius: 999px; background: #ecfdf3; color: #15803d; font-size: .54rem; font-weight: 800; }
.hero-app-live i { font-size: .38rem; color: #22c55e; }

.hero-app-stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 8px; margin-bottom: 10px; }
.hero-app-stat { display: flex; align-items: flex-start; gap: 7px; min-width: 0; padding: 10px 8px; border: 1px solid #e7edf5; border-radius: 13px; background: #fff; }
.hero-stat-icon { width: 23px; height: 23px; display: grid; flex: 0 0 23px; place-items: center; border-radius: 8px; font-size: .6rem; }
.hero-app-stat.money .hero-stat-icon { background: #dcfce7; color: #16a34a; }
.hero-app-stat.order .hero-stat-icon { background: #dbeafe; color: #2563eb; }
.hero-app-stat.table .hero-stat-icon { background: #ede9fe; color: #7c3aed; }
.hero-app-stat.product .hero-stat-icon { background: #ffedd5; color: #ea580c; }
.hero-app-stat small, .hero-app-stat strong { display: block; }
.hero-app-stat small { min-height: 22px; color: #94a3b8; font-size: .5rem; font-weight: 700; line-height: 1.2; }
.hero-app-stat strong { overflow: hidden; color: #0f172a; font-size: .7rem; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }

.hero-app-content-grid { display: grid; grid-template-columns: minmax(0,1.18fr) minmax(125px,.82fr); gap: 10px; }
.hero-revenue-card, .hero-orders-card { padding: 12px; border: 1px solid #e7edf5; border-radius: 15px; background: #fff; }
.hero-card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.hero-card-heading strong, .hero-card-heading span { display: block; }
.hero-card-heading strong { color: #1e293b; font-size: .66rem; }
.hero-card-heading span { margin-top: 3px; color: #94a3b8; font-size: .48rem; }
.hero-card-heading button { border: 1px solid #e2e8f0; border-radius: 7px; background: #fff; color: #64748b; padding: 4px 5px; font: inherit; font-size: .47rem; }
.hero-card-heading.compact a { color: #16a34a; font-size: .5rem; font-weight: 800; text-decoration: none; }

.hero-chart-area { position: relative; height: 142px; margin-top: 9px; overflow: hidden; }
.hero-chart-lines { position: absolute; inset: 0 0 19px; display: grid; grid-template-rows: repeat(4, 1fr); }
.hero-chart-lines span { border-top: 1px dashed #e8edf4; }
.hero-chart-columns { position: absolute; inset: 0 2px 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; }
.hero-chart-column { display: flex; flex: 1; flex-direction: column; align-items: center; justify-content: flex-end; gap: 5px; height: 100%; }
.hero-chart-column i { display: block; width: min(100%, 16px); border-radius: 7px 7px 3px 3px; background: linear-gradient(180deg,#86efac,#16a34a); box-shadow: inset 0 1px 0 rgba(255,255,255,.38); }
.hero-chart-column.featured i { background: linear-gradient(180deg,#4ade80,#15803d); box-shadow: 0 6px 14px rgba(22,163,74,.2); }
.hero-chart-column span { color: #94a3b8; font-size: .43rem; }

.hero-orders-card { display: flex; flex-direction: column; }
.hero-order-status { display: grid; gap: 9px; margin-top: 11px; }
.hero-status-row { display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 7px; }
.hero-status-icon { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 7px; font-size: .53rem; }
.hero-status-icon.waiting { background: #fef3c7; color: #d97706; }
.hero-status-icon.cooking { background: #ffedd5; color: #ea580c; }
.hero-status-icon.ready { background: #dcfce7; color: #16a34a; }
.hero-status-row strong, .hero-status-row small { display: block; }
.hero-status-row strong { color: #334155; font-size: .53rem; }
.hero-status-row small { margin-top: 2px; color: #94a3b8; font-size: .45rem; }
.hero-status-row b { width: 18px; height: 18px; display: grid; place-items: center; border-radius: 999px; background: #f1f5f9; color: #475569; font-size: .5rem; }
.hero-order-footer { margin-top: auto; padding-top: 10px; color: #16a34a; font-size: .48rem; font-weight: 700; }
.hero-order-footer i { margin-right: 4px; }

/* Trust */
.trust-bar {
  padding: 18px 0 6px;
}

.trust-bar .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border: 1px solid #edf2f7;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.04);
}

.trust-bar p {
  margin: 0;
  color: #475569;
  font-weight: 700;
}

.trust-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.trust-logos span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #f8fafc;
  color: #334155;
  font-size: 0.9rem;
  font-weight: 700;
}

/* Generic sections */
.section-block,
.section-features,
.section-faq {
  padding: 88px 0;
}

.section-soft {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.section-head {
  max-width: 760px;
  margin: 0 auto 40px;
  text-align: center;
}

.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.section-head p {
  margin: 0;
  color: var(--sc-muted);
  font-size: 1.02rem;
  line-height: 1.8;
}

/* Admin cards */
.admin-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.admin-card {
  padding: 22px;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.05);
  transition: 0.2s ease;
}

.admin-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.09);
}

.admin-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, #ecfeff, #dcfce7);
  color: var(--sc-primary-dark);
  font-size: 1.35rem;
}

.admin-card h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
}

.admin-card p {
  margin: 0 0 14px;
  color: var(--sc-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.admin-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.admin-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #334155;
  font-size: 0.9rem;
}

.admin-list i {
  margin-top: 3px;
  color: var(--sc-primary);
}

/* Highlight */
.highlight-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
}

.highlight-card {
  padding: 28px;
  border: 1px solid #e2e8f0;
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--sc-shadow);
}

.highlight-card h3 {
  margin: 0 0 12px;
  font-size: 1.4rem;
}

.highlight-card > p {
  margin: 0;
  color: var(--sc-muted);
  line-height: 1.8;
}

.highlight-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.highlight-point {
  display: flex;
  gap: 12px;
  padding: 16px;
  border: 1px solid #eef2f7;
  border-radius: 18px;
  background: #f8fafc;
}

.highlight-point i {
  margin-top: 4px;
  color: var(--sc-primary);
  font-size: 1.15rem;
}

.highlight-point strong {
  display: block;
  margin-bottom: 6px;
}

.highlight-point span {
  color: #64748b;
  font-size: 0.92rem;
  line-height: 1.6;
}

.mockup-board {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  padding: 24px;
  border-radius: 28px;
  background: linear-gradient(180deg, #0f172a 0%, #111827 100%);
  color: #fff;
}

.mockup-board::after {
  position: absolute;
  right: -30px;
  bottom: -70px;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.16);
  filter: blur(10px);
  content: '';
}

.board-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.board-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.84rem;
  font-weight: 800;
}

.board-modules {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.board-module {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.board-module strong {
  display: block;
  margin-bottom: 6px;
}

.board-module span {
  color: #dbeafe;
  font-size: 0.88rem;
  line-height: 1.5;
}

/* Dynamic feature preview */
.landing-features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.landing-feature-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.06);
  transition: 0.2s ease;
}

.landing-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
}

.feature-screenshot-wrap {
  position: relative;
  padding: 14px;
  background: linear-gradient(180deg, #f8fafc, #eefbf3);
}

.feature-screenshot {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 1px solid #dbe4ef;
  border-radius: 18px;
  background: #fff;
  cursor: pointer;
  object-fit: cover;
}

.feature-preview-button {
  position: absolute;
  right: 26px;
  bottom: 26px;
  border: none;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  color: #0f172a;
  box-shadow: 0 14px 24px rgba(15, 23, 42, 0.12);
  padding: 11px 14px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.feature-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
}

.feature-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.feature-title-row h3 {
  margin: 0;
  font-size: 1.16rem;
}

.feature-mini-icon,
.feature-icon {
  width: 48px;
  height: 48px;
  display: grid;
  flex-shrink: 0;
  place-items: center;
  border-radius: 16px;
  background: var(--sc-primary-soft);
  color: var(--sc-primary-dark);
  font-size: 1.1rem;
}

.feature-card-content p {
  margin: 0;
  color: var(--sc-muted);
  line-height: 1.75;
}

.feature-demo-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--sc-primary-dark);
  font-weight: 800;
  text-decoration: none;
}

.feature-demo-link:hover {
  text-decoration: underline;
}

.feature-hidden {
  display: none !important;
}

.landing-feature-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 34px;
  max-height: 76px;
  overflow: hidden;
  transition: opacity .3s ease, transform .3s ease, max-height .3s ease, margin .3s ease;
}

.landing-feature-more-wrap.is-complete {
  max-height: 0;
  margin-top: 0;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
}

.landing-feature-more-btn {
  appearance: none;
  -webkit-appearance: none;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px 0 20px;
  border: 1px solid #16a34a;
  border-radius: 14px;
  background: #16a34a;
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(22, 163, 74, .18);
  cursor: pointer;
  font: inherit;
  font-size: .94rem;
  font-weight: 800;
  line-height: 1;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.landing-feature-more-btn:hover {
  background: #15803d;
  box-shadow: 0 16px 30px rgba(22, 163, 74, .24);
  transform: translateY(-2px);
}

.landing-feature-more-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, .22), 0 16px 30px rgba(22, 163, 74, .24);
}

.landing-feature-more-btn:disabled {
  cursor: default;
}

.landing-feature-more-btn > i {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: rgba(255,255,255,.18);
  font-size: .76rem;
  transition: transform .2s ease;
}

.landing-feature-more-btn:hover > i {
  transform: translateY(2px);
}

.landing-feature-more-btn.is-complete {
  background: #0f172a;
  border-color: #0f172a;
  box-shadow: none;
}

.landing-feature-more-btn.is-complete > i {
  background: rgba(255,255,255,.14);
}

.feature-revealed {
  animation: featureReveal .32s ease both;
}

@keyframes featureReveal {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.landing-empty-features {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 42px 20px;
  border: 1px dashed #bbf7d0;
  border-radius: 24px;
  background: #f0fdf4;
  color: #166534;
  text-align: center;
}

/* Workflow */
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.workflow-card {
  padding: 24px 20px;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.05);
}

.workflow-no {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  font-weight: 800;
}

.workflow-card > i {
  display: block;
  margin-bottom: 12px;
  color: var(--sc-primary);
  font-size: 1.4rem;
}

.workflow-card h4 {
  margin: 0 0 8px;
  font-size: 1.08rem;
}

.workflow-card p {
  margin: 0;
  color: var(--sc-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.pricing-card {
  position: relative;
  padding: 28px 24px;
  border: 1px solid #e2e8f0;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06);
}

.pricing-card.popular {
  border-color: #86efac;
  box-shadow: 0 20px 42px rgba(22, 163, 74, 0.14);
}

.popular-badge {
  position: absolute;
  top: -12px;
  right: 22px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #16a34a;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
}

.pricing-badge {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #ecfdf3;
  color: #166534;
  font-size: 0.83rem;
  font-weight: 800;
}

.pricing-price {
  margin-bottom: 10px;
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.pricing-price span {
  color: #64748b;
  font-size: 0.95rem;
  font-weight: 700;
}

.pricing-desc {
  margin: 0 0 16px;
  color: #64748b;
  line-height: 1.7;
}

.pricing-features {
  display: grid;
  gap: 10px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.pricing-features li {
  display: flex;
  gap: 10px;
  color: #334155;
  font-size: 0.94rem;
}

.pricing-features li i {
  margin-top: 3px;
  color: var(--sc-primary);
}

.pricing-features li.disabled {
  color: #94a3b8;
}

.pricing-features li.disabled i {
  color: #cbd5e1;
}

/* FAQ */
.section-faq {
  background: #fff;
}

.faq-list {
  display: grid;
  max-width: 860px;
  margin: 0 auto;
  gap: 14px;
}

.faq-item {
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.03);
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  border: none;
  background: #fff;
  color: #0f172a;
  padding: 20px 22px;
  cursor: pointer;
  font: inherit;
  font-size: 1rem;
  font-weight: 800;
  text-align: left;
}

.faq-a {
  display: none;
  max-height: none;
  overflow: visible;
  padding: 0 22px 20px;
  color: #64748b;
  line-height: 1.8;
}

.faq-item.active .faq-a {
  display: block;
}

.faq-item.active .faq-q i {
  transform: rotate(180deg);
}

/* CTA and footer */
.landing-cta {
  padding: 92px 0;
  background:
    radial-gradient(circle at top right, rgba(34, 197, 94, 0.18), transparent 24%),
    linear-gradient(135deg, #0f172a 0%, #111827 100%);
  color: #fff;
  text-align: center;
}

.landing-cta .container {
  max-width: 840px;
}

.landing-cta h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.landing-cta p {
  max-width: 680px;
  margin: 0 auto 28px;
  color: #d1d5db;
  line-height: 1.9;
}

.landing-footer {
  background: #0f172a;
  color: #fff;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 26px;
  padding: 36px 0;
}

.footer-brand p,
.footer-contact p {
  color: #cbd5e1;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links h5,
.footer-contact h5 {
  margin: 0 0 8px;
  font-size: 1rem;
}

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

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  padding: 18px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  font-size: 0.9rem;
  text-align: center;
}

/* Feature lightbox */
.feature-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
}

.feature-lightbox.is-open {
  display: block;
}

.feature-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.68);
  backdrop-filter: blur(6px);
}

.feature-lightbox-dialog {
  position: relative;
  z-index: 2;
  width: min(980px, calc(100% - 24px));
  margin: 5vh auto 0;
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.28);
}

.feature-lightbox-close {
  position: absolute;
  z-index: 3;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.7);
  color: #fff;
  cursor: pointer;
}

.feature-lightbox-image-wrap {
  padding: 18px;
  background: #f8fafc;
}

.feature-lightbox-image-wrap img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
}

.feature-lightbox-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 22px;
}

.feature-lightbox-kicker {
  display: block;
  margin-bottom: 4px;
  color: #64748b;
  font-size: 0.82rem;
}

.feature-lightbox-close-text {
  border: none;
  border-radius: 14px;
  background: #16a34a;
  color: #fff;
  padding: 12px 16px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

body.feature-lightbox-open {
  overflow: hidden;
}


/* Mobile navigation */
.mobile-menu-toggle,
.mobile-nav {
  display: none;
}

@media (max-width: 860px) {
  .mobile-menu-toggle {
    width: 44px;
    height: 44px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0;
    border: 1px solid #dbe4ef;
    border-radius: 14px;
    background: #ffffff;
    color: #0f172a;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .06);
    transition: .2s ease;
  }

  .mobile-menu-toggle:hover,
  .mobile-menu-toggle.is-open {
    border-color: #86efac;
    background: #ecfdf3;
  }

  .mobile-menu-toggle span {
    width: 18px;
    height: 2px;
    display: block;
    border-radius: 99px;
    background: #166534;
    transform-origin: center;
    transition: transform .2s ease, opacity .2s ease;
  }

  .mobile-menu-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .mobile-menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .mobile-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    z-index: 45;
    display: grid;
    gap: 6px;
    padding: 12px;
    border: 1px solid rgba(226, 232, 240, .95);
    border-radius: 20px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 20px 42px rgba(15, 23, 42, .16);
    backdrop-filter: blur(14px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px) scale(.98);
    transform-origin: top right;
    transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
  }

  .mobile-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .mobile-nav a {
    min-height: 46px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 14px;
    border-radius: 13px;
    color: #334155;
    font-size: .94rem;
    font-weight: 800;
    text-decoration: none;
    transition: background .18s ease, color .18s ease, transform .18s ease;
  }

  .mobile-nav a i {
    width: 18px;
    color: #16a34a;
    text-align: center;
  }

  .mobile-nav a:hover,
  .mobile-nav a:focus-visible {
    background: #ecfdf3;
    color: #166534;
    transform: translateX(2px);
  }

  .mobile-nav .mobile-nav-register {
    margin-top: 5px;
    justify-content: center;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #ffffff;
    box-shadow: 0 12px 22px rgba(22, 163, 74, .18);
  }

  .mobile-nav .mobile-nav-register i {
    color: #ffffff;
  }

  body.mobile-menu-open {
    overflow: hidden;
  }
}

/* Responsive */
@media (max-width: 1100px) {
  .landing-hero-inner,
  .highlight-grid {
    grid-template-columns: 1fr;
  }

  .admin-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .landing-features-grid,
  .workflow-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  #mainNav {
    display: none;
  }

  .hero-mini-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-mini-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .landing-hero {
    padding-top: 52px;
  }

  .header-inner {
    min-height: 68px;
  }

  .header-actions .btn-primary {
    min-height: 42px;
    padding: 0 14px;
    font-size: 0.82rem;
  }

  .logo {
    font-size: 1.25rem;
  }

  .logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
  }

  .hero-admin-list,
  .highlight-points,
  .admin-grid,
  .landing-features-grid,
  .workflow-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-stats {
    width: 100%;
    justify-content: space-between;
  }

  .stat-div {
    display: none;
  }

  .trust-bar .container {
    padding: 16px;
  }

  .section-block,
  .section-features,
  .section-faq,
  .landing-cta {
    padding: 66px 0;
  }

  .hero-visual-badge {
    position: static;
    margin-bottom: 10px;
  }

  .feature-preview-button {
    position: static;
    width: 100%;
    margin-top: 12px;
  }

  .feature-screenshot-wrap {
    padding-bottom: 14px;
  }

  .feature-lightbox-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .landing-feature-more-btn {
    width: 100%;
    min-height: 50px;
  }

  .board-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .board-modules {
    grid-template-columns: 1fr;
  }
}


/* Refined responsive behavior for the hero dashboard preview */
@media (max-width: 860px) {
  .hero-app-preview { min-height: 410px; }
  .hero-app-sidebar { padding-inline: 9px; }
}

@media (max-width: 640px) {
  .hero-visual-shell { padding: 12px; border-radius: 24px; }
  .hero-browser-window { border-radius: 18px; }
  .hero-browser-bar { grid-template-columns: auto 1fr auto; min-height: 36px; padding: 6px 8px; }
  .hero-browser-profile i { display: none; }
  .hero-browser-profile span { width: 21px; height: 21px; font-size: .55rem; }
  .hero-app-preview { grid-template-columns: 74px minmax(0, 1fr); min-height: 330px; }
  .hero-app-sidebar { padding: 10px 6px; }
  .hero-app-brand { justify-content: center; margin-bottom: 14px; }
  .hero-app-brand > span:last-child, .hero-app-nav span, .hero-app-side-label, .hero-app-user > div { display: none; }
  .hero-app-brand-mark { width: 25px; height: 25px; }
  .hero-app-nav { justify-content: center; padding: 8px 4px; }
  .hero-app-nav i { width: auto; font-size: .65rem; }
  .hero-app-user { justify-content: center; padding: 10px 0 0; }
  .hero-app-main { padding: 10px; }
  .hero-app-heading h3 { font-size: .85rem; }
  .hero-app-heading p { display: none; }
  .hero-app-stat-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 6px; }
  .hero-app-stat { padding: 7px; gap: 5px; border-radius: 10px; }
  .hero-stat-icon { width: 20px; height: 20px; flex-basis: 20px; font-size: .53rem; }
  .hero-app-stat small { min-height: auto; font-size: .42rem; }
  .hero-app-stat strong { font-size: .58rem; }
  .hero-app-content-grid { grid-template-columns: 1fr; gap: 7px; }
  .hero-revenue-card, .hero-orders-card { padding: 9px; border-radius: 12px; }
  .hero-chart-area { height: 106px; }
  .hero-orders-card { min-height: 100px; }
  .hero-order-status { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 4px; }
  .hero-status-row { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 3px; }
  .hero-status-row small, .hero-status-row b { display: none; }
  .hero-status-row strong { font-size: .43rem; white-space: nowrap; }
  .hero-order-footer { display: none; }
  .hero-badge-1, .hero-badge-2 { position: static; margin: 10px 2px 0; }
  .hero-visual-badge { display: flex; width: 100%; }
  .hero-visual-badge:last-of-type { margin-bottom: 2px; }
}

/* ================================================================
   RESPONSIVE GRID KHUSUS LANDING
   Desktop: kartu admin 4 kolom, preview screenshot 3 kolom
   Laptop:  kartu admin 3 kolom, preview screenshot 3 kolom
   Tablet:  2 kolom
   HP:      2 kolom yang lebih ringkas
   Layar sangat kecil: 1 kolom agar isi tetap terbaca
   ================================================================ */

.admin-grid,
.landing-features-grid,
.workflow-grid,
.pricing-grid {
  align-items: stretch;
}

.admin-card,
.landing-feature-card {
  min-width: 0;
}

.admin-card h3,
.admin-card p,
.admin-card li,
.landing-feature-card h3,
.landing-feature-card p {
  overflow-wrap: anywhere;
}

/* Laptop / desktop sedang */
@media (min-width: 901px) and (max-width: 1199px) {
  .admin-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .landing-features-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .workflow-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Tablet */
@media (min-width: 641px) and (max-width: 900px) {
  .admin-grid,
  .landing-features-grid,
  .workflow-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* HP: tampil 2 kartu per baris agar susunannya 2 - 2 - 2 */
@media (max-width: 640px) {
  .admin-grid,
  .landing-features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .admin-card {
    padding: 14px;
    border-radius: 18px;
  }

  .admin-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 11px;
    border-radius: 14px;
    font-size: 1rem;
  }

  .admin-card h3 {
    margin-bottom: 8px;
    font-size: .91rem;
    line-height: 1.35;
  }

  .admin-card p {
    margin-bottom: 10px;
    font-size: .78rem;
    line-height: 1.6;
  }

  .admin-list {
    gap: 6px;
  }

  .admin-list li {
    gap: 7px;
    font-size: .73rem;
    line-height: 1.45;
  }

  .admin-list i {
    margin-top: 2px;
    font-size: .68rem;
  }

  .landing-feature-card {
    border-radius: 18px;
  }

  .feature-screenshot-wrap {
    padding: 8px;
  }

  .feature-screenshot {
    aspect-ratio: 4 / 3;
    border-radius: 12px;
  }

  .feature-card-content {
    padding: 14px;
    gap: 9px;
  }

  .feature-title-row {
    align-items: flex-start;
    gap: 8px;
  }

  .feature-mini-icon,
  .feature-icon {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    font-size: .8rem;
  }

  .feature-title-row h3 {
    font-size: .85rem;
    line-height: 1.35;
  }

  .feature-card-content p {
    font-size: .74rem;
    line-height: 1.58;
  }

  .feature-demo-link {
    gap: 5px;
    font-size: .76rem;
    line-height: 1.35;
  }

  .feature-preview-button {
    padding: 9px 10px;
    margin-top: 8px;
    border-radius: 11px;
    font-size: .72rem;
  }
}

/* HP sangat kecil, supaya kartu tidak terlalu sempit */
@media (max-width: 380px) {
  .admin-grid,
  .landing-features-grid {
    grid-template-columns: 1fr;
  }

  .admin-card,
  .landing-feature-card {
    max-width: 100%;
  }
}

/* =========================================================
   ANIMASI SAAT KONTEN MASUK KE LAYAR
   Dikendalikan oleh IntersectionObserver di index.php.
   ========================================================= */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity .62s cubic-bezier(.22, 1, .36, 1) var(--reveal-delay, 0ms),
    transform .62s cubic-bezier(.22, 1, .36, 1) var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.scroll-reveal.reveal-left {
  transform: translateX(-34px);
}

.scroll-reveal.reveal-right {
  transform: translateX(34px);
}

.scroll-reveal.is-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Kartu yang dibuka melalui tombol "Lihat Semua Fitur" tetap muncul halus. */
.landing-feature-card.feature-revealed {
  animation: featureCardReveal .48s cubic-bezier(.22, 1, .36, 1) both;
}

@keyframes featureCardReveal {
  from {
    opacity: 0;
    transform: translateY(18px) scale(.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-reveal,
  .scroll-reveal.reveal-left,
  .scroll-reveal.reveal-right {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .landing-feature-card.feature-revealed {
    animation: none;
  }
}


@media (max-width: 480px) {
  .header-inner {
    width: min(100% - 24px, 1180px);
    gap: 10px;
  }

  .header-actions {
    gap: 8px;
  }

  .header-register-btn {
    min-height: 42px !important;
    padding: 0 12px !important;
    font-size: .76rem !important;
  }

  .mobile-menu-toggle {
    width: 42px;
    height: 42px;
    border-radius: 13px;
  }

  .mobile-nav {
    left: 12px;
    right: 12px;
  }
}
