/* ============================================================
   BizBinder 2026 Edition — Landing Page Styles
   Palette: blue / slate / white / light gray
   ============================================================ */

:root {
  --blue-900: #1e3a8a;
  --blue-700: #1d4ed8;
  --blue-600: #2563eb;
  --blue-50:  #eff6ff;

  --slate-900: #0f172a;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50:  #f8fafc;

  --white: #ffffff;

  /* warm paper / folder tones for a grounded business-records feel */
  --paper:   #fbf8f1;
  --paper-2: #f5efe2;
  --manila:  #e8dcc0;
  --manila-edge: #d8c8a4;
  --amber-700: #b45309;
  --amber-100: #fef3c7;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .08);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, .08), 0 12px 28px rgba(15, 23, 42, .06);
  --shadow-lg: 0 18px 48px rgba(15, 23, 42, .14);

  --maxw: 1120px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--slate-700);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { color: var(--slate-900); line-height: 1.2; margin: 0 0 .5em; }
p { margin: 0 0 1rem; }
a { color: var(--blue-700); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 820px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-weight: 600;
  font-size: .98rem;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .15s ease, border-color .15s ease;
  text-align: center;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-primary { background: var(--blue-700); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--blue-900); box-shadow: var(--shadow-md); }

.btn-ghost { background: #fff; color: var(--slate-700); border-color: var(--slate-300); }
.btn-ghost:hover { border-color: var(--slate-500); background: var(--slate-50); }

.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }

.btn-block { width: 100%; margin-top: 8px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--slate-200);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 66px; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; color: var(--slate-900); font-size: 1.18rem; }
.brand:hover { text-decoration: none; }
.brand-mark {
  display: inline-grid; place-items: center;
  width: 36px; height: 36px; border-radius: 9px;
  background: var(--blue-700); color: #fff;
}
.brand-footer { color: #fff; }
.brand-footer .brand-mark { background: rgba(255,255,255,.14); }

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--slate-600); font-weight: 500; font-size: .95rem; }
.nav-links a:hover { color: var(--slate-900); text-decoration: none; }
.nav-links .nav-cta {
  background: var(--blue-50); color: var(--blue-700);
  padding: 8px 16px; border-radius: 8px; font-weight: 600;
}
.nav-links .nav-cta:hover { background: #dbeafe; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--slate-700); border-radius: 2px; transition: .2s; }

.mobile-menu { display: none; flex-direction: column; border-top: 1px solid var(--slate-200); background: #fff; padding: 8px 24px 16px; }
.mobile-menu a { padding: 12px 0; color: var(--slate-700); font-weight: 500; border-bottom: 1px solid var(--slate-100); }

/* Language switcher (English | Tiếng Việt) */
.lang-switch { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; }
.lang-switch .lang-current { color: var(--slate-900); font-weight: 600; }
.lang-switch .lang-sep { color: var(--slate-300); }
.mobile-menu .lang-switch { padding: 12px 0; }
.mobile-menu .lang-switch a { padding: 0; border: 0; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1000px 460px at 82% -12%, var(--blue-50), transparent 62%),
    radial-gradient(900px 520px at -5% 110%, var(--paper-2), transparent 60%),
    linear-gradient(180deg, #fff 0%, var(--paper) 100%);
  padding: 72px 0 80px;
  border-bottom: 1px solid var(--slate-200);
  overflow-x: clip;
}
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }

.eyebrow {
  display: inline-block;
  font-size: .8rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--blue-700); background: var(--blue-50);
  padding: 6px 12px; border-radius: 999px; margin-bottom: 18px;
}
.eyebrow-light { color: #dbeafe; background: rgba(255,255,255,.12); }

.hero h1 { font-size: 3rem; font-weight: 800; letter-spacing: -.02em; }
.subhead { font-size: 1.32rem; font-weight: 600; color: var(--blue-700); margin: 0 0 16px; }
.lede { font-size: 1.1rem; color: var(--slate-600); max-width: 38ch; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 18px; }
.hero-actions.center { justify-content: center; }

.trust-line {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .92rem; color: var(--slate-500); margin: 0;
}
.trust-line svg { color: var(--blue-600); flex-shrink: 0; }

/* Hero business-records workspace (stylized placeholder) */
.hero-visual { display: flex; justify-content: center; }
.workspace { position: relative; width: 100%; max-width: 480px; }

.app-frame {
  position: relative; z-index: 2;
  background: #fff; border: 1px solid var(--slate-200);
  border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden;
}
.app-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 12px 16px; background: var(--slate-100); border-bottom: 1px solid var(--slate-200);
}
.app-bar .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--slate-300); }
.app-title { margin-left: 10px; font-size: .82rem; font-weight: 600; color: var(--slate-500); }

.app-body { padding: 20px; background: var(--paper); }
.ws-caption { font-size: .82rem; font-weight: 600; color: var(--slate-500); margin: 0 0 16px; }

/* labeled record / folder cards */
.record-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.record-card {
  display: flex; flex-direction: column; gap: 2px;
  background: #fff; border: 1px solid var(--slate-200);
  border-top: 3px solid var(--manila-edge);
  border-radius: 10px; padding: 12px 12px 11px;
  box-shadow: var(--shadow-sm);
}
.record-ico { font-size: 1.25rem; line-height: 1.4; }
.record-name { font-size: .82rem; font-weight: 700; color: var(--slate-900); }
.record-meta { font-size: .68rem; color: var(--slate-500); }

.ws-footer {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px;
  margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--manila-edge);
}
.folder-note {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .74rem; font-weight: 600; color: var(--slate-600);
}
.folder-note svg { color: var(--amber-700); }
.backup-note {
  font-size: .72rem; font-weight: 600; color: var(--blue-700);
  background: var(--blue-50); padding: 4px 9px; border-radius: 999px;
}

/* paper receipt slips peeking from behind the window */
.receipt-slip {
  position: absolute; z-index: 1; width: 116px; height: 150px;
  background:
    repeating-linear-gradient(180deg, transparent 0 18px, rgba(15,23,42,.05) 18px 19px),
    var(--paper-2);
  border: 1px solid var(--manila-edge); border-radius: 6px;
  box-shadow: var(--shadow-sm);
}
.slip-1 { top: 30px; left: -26px; transform: rotate(-9deg); }
.slip-2 { bottom: -14px; right: -22px; transform: rotate(7deg); }

/* ---------- Section base ---------- */
.section { padding: 78px 0; }
.section-head { text-align: center; margin-bottom: 44px; }
.section h2 { font-size: 2rem; font-weight: 700; letter-spacing: -.01em; }
.section-lede { font-size: 1.08rem; color: var(--slate-600); }
.section-lede.center { max-width: 60ch; margin-left: auto; margin-right: auto; }
.center-block { text-align: center; }

/* ---------- Problem ---------- */
.problem { background: var(--paper); border-top: 1px solid var(--slate-200); border-bottom: 1px solid var(--slate-200); }
.problem h2 { text-align: center; }
.problem .section-lede { text-align: center; max-width: 60ch; margin: 0 auto 28px; }
.problem-list { list-style: none; padding: 0; margin: 0 auto 24px; max-width: 640px; }
.problem-list li {
  position: relative; padding: 12px 0 12px 34px;
  border-bottom: 1px solid var(--slate-200); color: var(--slate-700);
}
.problem-list li::before {
  content: ""; position: absolute; left: 6px; top: 19px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--slate-400, #94a3b8);
  box-shadow: 0 0 0 4px var(--slate-100);
}
.section-close { text-align: center; font-weight: 500; color: var(--slate-700); max-width: 60ch; margin: 22px auto 0; }

/* ---------- Card grids ---------- */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature-card {
  position: relative;
  background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius);
  border-top: 3px solid var(--manila-edge);
  padding: 24px; box-shadow: var(--shadow-sm);
  transition: box-shadow .14s ease;
}
/* Subtle polish only: a soft shadow on hover, no movement — these cards are not clickable. */
.feature-card:hover { box-shadow: var(--shadow-md); }
.feature-card .icon {
  display: inline-grid; place-items: center;
  width: 46px; height: 46px; margin-bottom: 14px;
  font-size: 1.4rem; border-radius: 11px;
  background: var(--paper-2); border: 1px solid var(--manila);
}
.feature-card h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 6px; }
.feature-card p { font-size: .94rem; color: var(--slate-600); margin: 0; }
.feature-card em { color: var(--slate-500); font-style: italic; }

.features-section { background: var(--paper); border-top: 1px solid var(--slate-200); border-bottom: 1px solid var(--slate-200); }

/* ---------- Privacy ---------- */
.privacy-section { background: var(--slate-900); color: var(--slate-300); }
.privacy-section h2 { color: #fff; }
.split { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.split-copy p { color: var(--slate-300); }
.check-list { list-style: none; padding: 0; margin: 22px 0 0; }
.check-list li { position: relative; padding: 9px 0 9px 32px; color: #e2e8f0; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 14px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--blue-600);
}
.check-list li::after {
  content: ""; position: absolute; left: 6px; top: 17px;
  width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.split-visual { display: flex; justify-content: center; }
.privacy-card {
  text-align: center; background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.12); border-radius: 18px;
  padding: 36px 28px; max-width: 280px; color: #fff;
}
.privacy-card svg { color: #93c5fd; }
.privacy-card-title { font-weight: 700; font-size: 1.1rem; margin: 14px 0 6px; color: #fff; }
.privacy-card-sub { font-size: .92rem; color: var(--slate-300); margin: 0; }

/* ---------- Callout / Disclaimer ---------- */
.callout {
  background: var(--blue-50); border: 1px solid #bfdbfe; border-left: 4px solid var(--blue-600);
  border-radius: var(--radius-sm); padding: 18px 20px; color: var(--slate-700);
  font-size: .98rem; margin-top: 28px;
}
.callout strong { color: var(--blue-900); }

/* ---------- Founder ---------- */
.founder-section {
  background: linear-gradient(135deg, var(--blue-700), var(--blue-900));
  color: #fff; text-align: center;
}
.founder-section h2 { color: #fff; }
.founder-section .section-lede { color: #dbeafe; }

/* Make the primary Download button stand out against the blue banner:
   white surface, dark-blue text, subtle shadow, stronger hover. */
.founder-section .btn-primary {
  background: #fff;
  color: var(--blue-900);
  box-shadow: 0 6px 16px rgba(15, 23, 42, .22);
}
.founder-section .btn-primary:hover {
  background: #f1f5f9;
  color: var(--blue-900);
  box-shadow: 0 10px 24px rgba(15, 23, 42, .30);
}

.founder-note { font-size: .9rem; color: rgba(255,255,255,.78); margin-top: 22px; max-width: 52ch; margin-left: auto; margin-right: auto; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.price-card {
  background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm);
}
.price-card-highlight { border: 2px solid var(--blue-600); box-shadow: var(--shadow-md); }
.price-tag {
  display: inline-block; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  color: var(--blue-700); background: var(--blue-50); padding: 5px 11px; border-radius: 999px; margin-bottom: 14px;
}
.price-name { font-weight: 600; color: var(--slate-700); margin: 0 0 6px; }
.price-amount { font-size: 2.4rem; font-weight: 800; color: var(--slate-900); margin: 0 0 8px; }
.price-amount span { font-size: 1rem; font-weight: 500; color: var(--slate-500); }
.price-amount-sm { font-size: 1.5rem; }
.price-amount-sm span { display: block; font-size: .95rem; margin-top: 4px; }
.price-desc { font-size: .94rem; color: var(--slate-600); margin: 0; }
.price-fineprint { text-align: center; font-size: .86rem; color: var(--slate-500); margin-top: 24px; }

/* ---------- Disclaimer ---------- */
.disclaimer-section { background: var(--slate-50); border-top: 1px solid var(--slate-200); padding: 56px 0; }
.disclaimer-box {
  background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius);
  padding: 28px 30px;
}
.disclaimer-box h3 { font-size: 1.05rem; margin-bottom: 10px; }
.disclaimer-box p { font-size: .94rem; color: var(--slate-600); margin: 0; }
/* The disclaimer card sits on a light background, so its check-list must use
   dark body-text color (the default light .check-list color is for the dark
   privacy section). Keep the blue check icons. */
.disclaimer-box .check-list { margin-top: 4px; }
.disclaimer-box .check-list li { color: var(--slate-700); font-size: .94rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--slate-900); color: var(--slate-300); padding-top: 48px; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-tagline { font-size: .95rem; color: var(--slate-400, #94a3b8); margin: 12px 0 6px; }
.footer-contact { font-size: .95rem; margin: 0; }
.footer-contact a { color: #93c5fd; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; }
.footer-links a { color: var(--slate-300); font-size: .95rem; }
.footer-links a:hover { color: #fff; text-decoration: none; }
.footer-bottom { padding: 22px 0; }
.footer-bottom p { font-size: .88rem; color: var(--slate-500); margin: 0; }

/* ---------- Legal pages ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: 56px 24px 72px; }
.legal h1 { font-size: 2rem; margin-bottom: 8px; }
.legal .updated { color: var(--slate-500); font-size: .9rem; margin-bottom: 32px; }
.legal h2 { font-size: 1.25rem; margin-top: 36px; }
.legal p, .legal li { color: var(--slate-600); }
.legal ul { padding-left: 22px; }
.back-link { display: inline-block; margin-bottom: 24px; font-weight: 500; }

/* Polished legal/support layout: site header + card on a subtle background.
   .legal-card intentionally follows .legal so it overrides the bare layout. */
.legal-shell {
  background:
    radial-gradient(900px 420px at 100% -10%, var(--blue-50), transparent 60%),
    linear-gradient(180deg, var(--slate-50) 0%, var(--paper) 100%);
  padding: 48px 24px 72px;
}
.legal-card {
  max-width: 860px;
  margin: 0 auto;
  padding: 48px 56px;
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.legal-card h1 { margin-bottom: 6px; }
.legal-nav { display: inline-flex; align-items: center; gap: 22px; }
.legal-nav a { color: var(--slate-600); font-weight: 500; font-size: .95rem; }
.legal-nav a:hover { color: var(--slate-900); text-decoration: none; }
.legal-foot { text-align: center; }
@media (max-width: 720px) {
  .legal-shell { padding: 28px 14px 48px; }
  .legal-card { padding: 30px 20px; }
  .legal-nav { gap: 16px; font-size: .9rem; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split-visual { order: -1; }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .mobile-menu:not([hidden]) { display: flex; }

  .hero { padding: 48px 0 56px; }
  .hero h1 { font-size: 2.25rem; }
  .subhead { font-size: 1.15rem; }
  .section { padding: 56px 0; }
  .section h2 { font-size: 1.6rem; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 28px; }
}

@media (max-width: 460px) {
  .card-grid { grid-template-columns: 1fr; }
  .hero-actions .btn, .hero-actions { width: 100%; }
  .btn { width: 100%; }
  .receipt-slip { display: none; }
  .record-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
