:root {
  --bg: #ffffff;
  --bg-soft: #f6f8fc;
  --ink: #0f172a;
  --ink-soft: #475569;
  --muted: #64748b;
  --line: #e2e8f0;
  --primary: #16a34a;
  --primary-dark: #15803d;
  --primary-soft: #f0fdf4;
  --grad: linear-gradient(135deg, #22c55e 0%, #15803d 100%);
  --success: #10b981;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 8px 30px rgba(15, 23, 42, .08);
  --shadow-lg: 0 20px 60px rgba(22, 163, 74, .18);
  --font-thai: "Noto Sans Thai", "Inter", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

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

.container { width: min(1120px, 92%); margin-inline: auto; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--primary); color: #fff;
  padding: 10px 16px; z-index: 1000; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 15px;
  cursor: pointer; border: 2px solid transparent; transition: all .2s ease; white-space: nowrap;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: var(--shadow-lg); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 22px 55px rgba(22,163,74,.3); }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-ghost { color: var(--primary-dark); background: transparent; padding-inline: 8px; }
.btn-ghost:hover { background: var(--primary-soft); }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-lg { padding: 16px 34px; font-size: 16px; }

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.85);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.nav.scrolled { box-shadow: 0 4px 20px rgba(15,23,42,.06); }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; }
.logo-mark { display: inline-flex; align-items: center; justify-content: center; font-size: 24px; }
.logo-mark svg { display: block; }
.logo-text span { color: var(--primary); }

.nav-links { display: flex; gap: 24px; }
.nav-links a { font-weight: 600; color: var(--ink-soft); font-size: 15px; position: relative; white-space: nowrap; }
.nav-links a:hover { color: var(--primary); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px;
  background: var(--primary); transition: width .2s ease; border-radius: 2px;
}
.nav-links a:hover::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang-toggle {
  font-family: inherit; font-weight: 800; font-size: 13px; color: var(--primary);
  background: var(--primary-soft); border: 1.5px solid var(--primary); border-radius: 999px;
  padding: 6px 14px; cursor: pointer; transition: all .2s;
}
.lang-toggle:hover { background: var(--primary); color: #fff; }

.hamburger {
  display: none; flex-direction: column; gap: 5px; background: none; border: none;
  cursor: pointer; padding: 6px;
}
.hamburger span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: .25s; }

/* ---------- HERO ---------- */
.hero { position: relative; padding: 90px 0 70px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(600px 300px at 15% 0%, rgba(22,163,74,.12), transparent 60%),
    radial-gradient(500px 300px at 90% 100%, rgba(5,150,105,.12), transparent 60%);
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center;
}
.badge {
  display: inline-flex; align-items: center; gap: 8px; background: var(--primary-soft);
  color: var(--primary-dark); border: 1px solid #bbf7d0; padding: 8px 16px;
  border-radius: 999px; font-size: 13px; font-weight: 700; margin-bottom: 22px;
}
.hero-title { font-size: clamp(32px, 4.6vw, 54px); font-weight: 800; line-height: 1.15; letter-spacing: -1px; }
.accent {
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero-sub { margin-top: 18px; font-size: 17px; color: var(--muted); max-width: 520px; }
.hero-actions { margin-top: 30px; display: flex; gap: 16px; flex-wrap: wrap; }
.hero-trust { margin-top: 34px; display: flex; flex-direction: column; gap: 8px; color: var(--ink-soft); font-size: 14px; font-weight: 500; }
.hero-trust li { display: flex; gap: 8px; align-items: center; }

/* app mockup */
.hero-visual { position: relative; }
.app-window {
  background: #0f172a; border-radius: 18px; box-shadow: var(--shadow-lg);
  border: 1px solid #1e293b; overflow: hidden;
  transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
  transition: transform .4s ease;
}
.hero-visual:hover .app-window { transform: perspective(1200px) rotateY(0) rotateX(0); }
.app-bar {
  display: flex; align-items: center; gap: 7px; padding: 12px 16px;
  background: #1e293b; border-bottom: 1px solid #334155;
}
.app-bar .dot { width: 11px; height: 11px; border-radius: 50%; }
.dot.red { background: #ef4444; } .dot.yellow { background: #f59e0b; } .dot.green { background: #22c55e; }
.app-title { margin-left: 8px; color: #94a3b8; font-size: 12px; }

.app-body { padding: 18px; background: #f1f5f9; }
.dash-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 14px; }
.stat {
  background: #fff; border-radius: 12px; padding: 12px 14px; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.stat-label { font-size: 11px; color: var(--muted); font-weight: 600; }
.stat-value { font-size: 20px; font-weight: 800; color: var(--ink); }

.pos-row { display: grid; grid-template-columns: 1fr 1.3fr; gap: 12px; }
.pos-panel { display: flex; flex-direction: column; gap: 8px; }
.pos-cat {
  background: #fff; border: 1.5px solid var(--line); border-radius: 10px;
  padding: 11px 12px; font-size: 13px; font-weight: 600; color: var(--ink-soft);
}
.pos-cat.active { border-color: var(--primary); background: var(--primary-soft); color: var(--primary-dark); }
.pos-cart { background: #fff; border-radius: 12px; padding: 12px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 8px; }
.cart-item { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-soft); border-bottom: 1px dashed var(--line); padding-bottom: 7px; }
.cart-item b { color: var(--ink); }
.cart-total { display: flex; justify-content: space-between; font-size: 14px; font-weight: 700; margin-top: 2px; }
.cart-pay {
  background: var(--grad); color: #fff; text-align: center; font-weight: 700; font-size: 13px;
  padding: 11px; border-radius: 10px; margin-top: 4px;
}

.float-chip {
  position: absolute; background: #fff; border-radius: 999px; padding: 10px 16px;
  font-size: 13px; font-weight: 700; color: var(--ink); box-shadow: var(--shadow-lg);
  border: 1px solid var(--line); animation: float 5s ease-in-out infinite;
}
.float-chip.one { top: -16px; right: -18px; }
.float-chip.two { bottom: -16px; left: -22px; animation-delay: 2.5s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- STATS ---------- */
.stats { background: var(--ink); color: #fff; padding: 42px 0; }
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat-big strong { font-size: 30px; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-big span { display: block; font-size: 14px; color: #94a3b8; margin-top: 4px; }

/* ---------- SECTIONS ---------- */
.section { padding: 90px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 54px; }
.eyebrow { color: var(--primary); font-weight: 800; font-size: 13px; letter-spacing: 2px; }
.section-title { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; margin-top: 10px; letter-spacing: -.5px; }
.section-sub { margin-top: 14px; color: var(--muted); font-size: 16px; }

/* features */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: all .25s ease;
}
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #bbf7d0; }
.feature-card .icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  font-size: 22px; background: var(--primary-soft); margin-bottom: 16px;
}
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 14.5px; color: var(--muted); }

/* how it works */
.how { background: var(--bg-soft); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.step { text-align: center; padding: 30px; }
.step-num {
  width: 58px; height: 58px; margin: 0 auto 18px; border-radius: 50%;
  display: grid; place-items: center; font-size: 22px; font-weight: 800; color: #fff;
  background: var(--grad); box-shadow: var(--shadow-lg);
}
.step h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }

/* pricing */
.pricing { background: var(--bg-soft); }
.billing-toggle { display: inline-flex; background: #f1f5f9; border-radius: 10px; padding: 4px; gap: 4px; }
.billing-toggle button { border: none; background: transparent; padding: 7px 16px; border-radius: 8px; font-size: 14px; font-weight: 700; color: var(--muted); cursor: pointer; }
.billing-toggle button.active { background: var(--primary); color: #fff; }
.pricing-toggle-wrap { text-align: center; margin-bottom: 26px; }
.pricing-toggle-wrap .billing-toggle { margin: 0 auto; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; align-items: stretch; }
.price-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; display: flex; flex-direction: column; position: relative; transition: all .25s;
}
.price-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.price-card.featured {
  border: 2px solid var(--primary); box-shadow: var(--shadow-lg);
  transform: scale(1.03);
}
.price-card.featured:hover { transform: scale(1.03) translateY(-5px); }
.price-card h3 { font-size: 18px; font-weight: 700; color: var(--muted); }
.price { font-size: 40px; font-weight: 800; margin: 12px 0 18px; }
.price span { font-size: 15px; font-weight: 500; color: var(--muted); }
.popular {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--grad); color: #fff; font-size: 12px; font-weight: 700;
  padding: 6px 16px; border-radius: 999px; letter-spacing: .5px;
}
.price-perks { display: flex; flex-direction: column; gap: 11px; margin-bottom: 26px; flex: 1; }
.price-perks li { font-size: 14.5px; color: var(--ink-soft); display: flex; gap: 9px; align-items: flex-start; }
.price-perks li::before { content: "✓"; color: var(--success); font-weight: 800; }
.pricing-note { text-align: center; color: var(--muted); font-size: 13px; margin-top: 26px; }

/* testimonials */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi-card {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column; gap: 14px;
}
.testi-card p { font-size: 15px; color: var(--ink-soft); flex: 1; }
.stars { color: #f59e0b; letter-spacing: 2px; }
.testi-author strong { display: block; font-size: 15px; }
.testi-author span { font-size: 13px; color: var(--muted); }

/* faq */
.faq-wrap { max-width: 760px; }
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-list details {
  border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; background: #fff;
}
.faq-list summary {
  padding: 18px 22px; font-weight: 700; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; font-size: 22px; color: var(--primary); font-weight: 500; transition: transform .2s;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 22px 18px; color: var(--muted); font-size: 15px; }

/* cta */
.cta {
  background: var(--grad); padding: 80px 0; text-align: center; color: #fff;
}
.cta h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; }
.cta p { margin: 14px 0 28px; opacity: .9; font-size: 16px; }
.cta .btn-primary { background: #fff; color: var(--primary-dark); box-shadow: none; }
.cta .btn-primary:hover { transform: translateY(-2px); }

/* footer */
.footer { background: var(--ink); color: #cbd5e1; padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand .logo-text { color: #fff; }
.footer-brand .logo-text span { color: var(--primary); }
.footer-brand p { margin-top: 14px; font-size: 14px; color: #94a3b8; max-width: 260px; }
.footer h4 { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 16px; }
.footer ul { display: flex; flex-direction: column; gap: 10px; }
.footer ul a { font-size: 14px; color: #94a3b8; transition: color .2s; }
.footer ul a:hover { color: #fff; }
.footer-btm { border-top: 1px solid #1e293b; margin-top: 50px; padding: 22px 0; font-size: 13px; color: #64748b; }

.compliance { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.compliance-badge {
  font-size: 10.5px; font-weight: 700; letter-spacing: .8px; color: #cbd5e1;
  border: 1px solid #334155; border-radius: 6px; padding: 5px 9px;
}

.price-note-inline { font-size: 12.5px; color: var(--muted); margin: -10px 0 16px; }

/* signup */
.signup { background: var(--bg); }
.signup-wrap { max-width: 980px; }
.signup-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 34px; align-items: start; }
.signup-form {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 18px;
}
.form-row { display: flex; gap: 14px; }
.form-row.two { flex-wrap: wrap; }
.form-row.two .field { flex: 1; min-width: 180px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 14px; font-weight: 700; color: var(--ink); }
.field input, .field select {
  font-family: inherit; font-size: 15px; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 13px 15px; background: #fff; transition: border-color .2s, box-shadow .2s;
  width: 100%;
}
.field input:focus, .field select:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(22,163,74,.15);
}
.field input.error { border-color: #ef4444; }
.btn-block { width: 100%; }
.form-status { display: none; font-size: 14.5px; font-weight: 600; border-radius: var(--radius-sm); padding: 12px 14px; }
.form-status.show { display: block; }
.form-status.success { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.form-status.error { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.form-privacy { font-size: 12.5px; color: var(--muted); text-align: center; }

.signup-side { display: flex; flex-direction: column; gap: 16px; }
.side-card {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px;
}
.side-card.demo { background: var(--primary-soft); border-color: #bbf7d0; }
.side-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.side-card p { font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.side-link { color: var(--primary-dark); font-weight: 700; font-size: 14px; }

@media (max-width: 900px) {
  .signup-grid { grid-template-columns: 1fr; }
}

/* signup-cta banner */
.signup-cta { background: var(--bg-soft); }
.signup-cta-inner {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 44px 46px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
}
.signup-cta-inner .section-title { margin-top: 0; }
.signup-cta-inner .section-sub { margin-top: 8px; }
@media (max-width: 760px) {
  .signup-cta-inner { flex-direction: column; text-align: center; padding: 34px 24px; }
}

/* ---------- admin page ---------- */
.admin-main { padding: 40px 0 70px; }
.admin-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; }
.admin-head h1 { font-size: 30px; font-weight: 800; letter-spacing: -.5px; }
.admin-sub { color: var(--muted); font-size: 14px; margin-top: 4px; }

.admin-filters { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.admin-filters input, .admin-filters select {
  font-family: inherit; font-size: 14px; padding: 11px 14px;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff;
}
.admin-filters .admin-search { flex: 1; min-width: 200px; }
.admin-filters select { min-width: 150px; cursor: pointer; }
.admin-filters select:focus, .admin-filters input:focus { outline: none; border-color: var(--primary); }

.admin-reminder {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  background: #fffbeb; border: 1px solid #fde68a; border-radius: var(--radius-sm);
  padding: 12px 16px; margin-bottom: 20px;
}
.reminder-label { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: #92400e; }
.reminder-days {
  font-family: inherit; font-size: 14px; padding: 9px 12px; width: 90px;
  border: 1.5px solid #fcd34d; border-radius: var(--radius-sm); background: #fff; color: #92400e;
}
.reminder-days:focus { outline: none; border-color: var(--primary); }
.reminder-unit { font-size: 14px; color: #92400e; }
.reminder-result { font-size: 13px; font-weight: 600; color: #047857; }

.admin-table-wrap {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow-x: auto; box-shadow: var(--shadow);
}
.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 860px; }
.admin-table thead th {
  text-align: left; padding: 14px 16px; font-size: 12px; text-transform: uppercase;
  letter-spacing: .6px; color: var(--muted); background: var(--bg-soft);
  border-bottom: 1px solid var(--line); font-weight: 700; white-space: nowrap;
}
.admin-table tbody td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.admin-table tbody tr:last-child td { border-bottom: none; }
.admin-table tbody tr:hover { background: #fafbff; }
.td-muted { color: var(--muted); }
.td-main { font-weight: 700; color: var(--ink); }
.td-sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
.td-email { color: var(--primary-dark); }
.admin-loading { text-align: center; color: var(--muted); padding: 40px 0 !important; }

.plan-badge {
  display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 700;
}
.plan-starter { background: #f1f5f9; color: #475569; }
.plan-free { background: #ecfdf5; color: #047857; }
.plan-pro { background: var(--primary-soft); color: var(--primary-dark); }
.plan-enterprise { background: #f5f3ff; color: #6d28d9; }

.status-badge {
  display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 700;
}
.status-lead { background: #fffbeb; color: #b45309; border: 1px solid #fde68a; }
.status-active { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.status-inactive { background: #f1f5f9; color: #64748b; border: 1px solid #e2e8f0; }

.td-actions { display: flex; gap: 8px; align-items: center; }
.status-select {
  font-family: inherit; font-size: 13px; padding: 7px 10px;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; cursor: pointer;
}
.status-select:focus { outline: none; border-color: var(--primary); }
.btn-del {
  font-family: inherit; font-size: 13px; font-weight: 600; color: #dc2626;
  background: #fef2f2; border: 1px solid #fecaca; border-radius: var(--radius-sm);
  padding: 7px 12px; cursor: pointer; transition: all .15s;
}
.btn-del:hover { background: #dc2626; color: #fff; }

.btn-save {
  font-family: inherit; font-size: 13px; font-weight: 600; color: #047857;
  background: #ecfdf5; border: 1px solid #a7f3d0; border-radius: var(--radius-sm);
  padding: 7px 14px; cursor: pointer; transition: all .15s; white-space: nowrap;
}
.btn-save:hover:not(:disabled) { background: #047857; border-color: #047857; color: #fff; }
.btn-save:disabled { opacity: .45; cursor: not-allowed; }

.admin-empty {
  text-align: center; padding: 50px 20px; color: var(--muted); font-size: 15px;
  border: 1px dashed var(--line); border-radius: var(--radius); margin-top: 16px;
}

.date-input, .link-input {
  font-family: inherit; font-size: 13px; padding: 7px 10px; width: 100%;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff;
}
.date-input:focus, .link-input:focus { outline: none; border-color: var(--primary); }
.link-input { min-width: 160px; }

.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: #1e293b; color: #fff; padding: 10px 18px; border-radius: 999px;
  font-size: 13px; font-weight: 600; box-shadow: 0 10px 30px -8px rgba(0,0,0,.4);
  opacity: 0; pointer-events: none; transition: all .25s; z-index: 9999;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.admin-pagination { display: flex; gap: 8px; justify-content: center; margin-top: 22px; flex-wrap: wrap; }
.page-btn {
  min-width: 38px; height: 38px; padding: 0 10px; border-radius: 9px;
  border: 1.5px solid var(--line); background: #fff; font-family: inherit; font-weight: 600;
  color: var(--ink); cursor: pointer; transition: all .15s;
}
.page-btn:hover:not(:disabled) { border-color: var(--primary); color: var(--primary); }
.page-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.page-btn:disabled { opacity: .4; cursor: not-allowed; }

a.active-nav { color: var(--primary); }
a.active-nav::after { width: 100%; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1120px) {
  .nav-links {
    position: fixed; inset: 72px 0 auto 0; background: #fff; flex-direction: column;
    gap: 0; padding: 10px 6%; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); transform: translateY(-130%); transition: transform .3s ease;
    z-index: 99;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-links a::after { display: none; }
  .hamburger { display: flex; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero { padding: 60px 0 50px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .price-card.featured { transform: none; order: -1; }
  .price-card.featured:hover { transform: translateY(-5px); }
  .testi-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .nav-links {
    position: fixed; inset: 72px 0 auto 0; background: #fff; flex-direction: column;
    gap: 0; padding: 10px 6%; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); transform: translateY(-130%); transition: transform .3s ease;
    z-index: 99;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-links a::after { display: none; }
  .hamburger { display: flex; }
  .nav .btn-sm { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .float-chip.one { right: -4px; }
  .float-chip.two { left: -4px; }
  .hero-visual { padding: 8px; }
  .pos-row { grid-template-columns: 1fr; }
}
