/* ===== VeriTime — clean rebuild stylesheet ===== */
:root {
  --c-primary: #4a90e2;
  --c-primary-600: #3a7bc8;
  --c-primary-700: #2f6bb2;
  --c-primary-50: #e9f4fd;
  --c-primary-100: #d3e7fb;
  --c-accent: #62ce88;
  --c-accent-600: #16a34a;
  --c-accent-50: #f0fdf4;
  --c-gold: #ffc857;
  --ink: #333333;
  --ink-2: #3f4652;
  --muted: #5b6472;
  --muted-2: #838b98;
  --bg: #ffffff;
  --bg-soft: #f9fafb;
  --bg-soft-2: #e9f4fd;
  --border: #e5e7eb;
  --border-2: #d1d5db;
  --shadow-sm: 0 1px 2px rgba(20, 40, 70, .06), 0 1px 3px rgba(20, 40, 70, .08);
  --shadow-md: 0 4px 6px -1px rgba(20, 40, 70, .08), 0 2px 4px -2px rgba(20, 40, 70, .06);
  --shadow-lg: 0 12px 28px -8px rgba(20, 40, 70, .14), 0 8px 16px -8px rgba(20, 40, 70, .08);
  --shadow-xl: 0 24px 48px -12px rgba(30, 60, 100, .2);
  --radius: 12px;
  --radius-lg: 16px;
  --radius-sm: 8px;
  --maxw: 1180px;
  --grad: linear-gradient(to right bottom, #4a90e2 0%, #589dcf 100%);
  --grad-green: linear-gradient(to right bottom, #62ce88 0%, #16a34a 100%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Lato', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--muted);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--c-primary); text-decoration: none; }
a:hover { color: var(--c-primary-600); }
h1, h2, h3, h4, h5 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; letter-spacing: normal; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.75rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.8vw, 3rem); font-weight: 700; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }
.text-accent { color: var(--c-primary); }
p { margin: 0 0 1rem; color: var(--muted); }
ul { margin: 0; padding: 0; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 820px; }
.section { padding: 84px 0; }
.section-sm { padding: 56px 0; }
.bg-soft { background: var(--bg-soft); }
.bg-ink { background: #0d1530; color: #fff; }
.text-center { text-align: center; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 46px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a { color: var(--ink-2); font-weight: 500; font-size: .98rem; }
.nav-links a:hover { color: var(--c-primary); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; color: var(--ink); }
.nav-toggle svg { width: 26px; height: 26px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 8px; font-weight: 700; font-size: 1rem;
  border: 2px solid transparent; cursor: pointer; transition: all .18s ease; white-space: nowrap;
}
.btn-primary { background: var(--c-primary); color: #fff; border-color: var(--c-primary); box-shadow: 0 6px 16px -6px rgba(74,144,226,.6); }
.btn-primary:hover { background: var(--c-primary-600); border-color: var(--c-primary-600); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--c-primary); border-color: var(--c-primary); }
.btn-ghost:hover { background: var(--c-primary-50); color: var(--c-primary-600); border-color: var(--c-primary-600); }
.btn-white { background: #fff; color: var(--c-primary); border-color: #fff; }
.btn-white:hover { color: var(--c-primary-600); transform: translateY(-1px); }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-outline-white:hover { background: rgba(255,255,255,.14); color: #fff; }
.btn-sm { padding: 9px 16px; font-size: .92rem; border-radius: 8px; }
.btn-lg { padding: 15px 30px; font-size: 1.05rem; }

/* ===== Badges & eyebrows ===== */
.eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--c-primary-50); color: var(--c-primary-600);
  font-weight: 600; font-size: .85rem; padding: 6px 14px; border-radius: 999px;
  margin-bottom: 20px; border: 1px solid var(--c-primary-100);
}
.eyebrow.accent { background: var(--c-accent); color: #fff; border-color: var(--c-accent); }
.eyebrow svg { width: 15px; height: 15px; }
.pill { display: inline-block; background: var(--c-primary-50); color: var(--c-primary-600); font-weight: 700; font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.pill.gold { background: var(--c-gold); color: #6b4900; }
.pill.accent { background: var(--c-accent); color: #fff; }

/* ===== Hero ===== */
.hero { position: relative; padding: 90px 0 70px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to right bottom, #e9f4fd 0%, #ffffff 60%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero .lead { font-size: 1.18rem; color: var(--muted); max-width: 560px; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 18px; }
.hero-note { font-size: .92rem; color: var(--muted-2); display: flex; align-items: center; gap: 8px; }
.hero-media { position: relative; }
.hero-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-xl); }
.hero-stat {
  position: absolute; background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg);
  padding: 14px 18px; border: 1px solid var(--border); display: flex; flex-direction: column;
}
.hero-stat .num { font-size: 1.5rem; font-weight: 800; color: var(--c-primary); line-height: 1; }
.hero-stat .lbl { font-size: .82rem; color: var(--muted); font-weight: 500; }
.hero-stat.s1 { top: 22px; left: -22px; }
.hero-stat.s2 { bottom: 24px; right: -18px; }
.hero-stat.s2 .num { color: var(--c-accent); }

/* ===== Section head ===== */
.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-head p { font-size: 1.1rem; }
.section-head.left { margin-left: 0; text-align: left; }

/* ===== Cards & grids ===== */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card h3 { margin-bottom: 8px; }
.card p { margin-bottom: 0; font-size: .98rem; }
.card .tag { margin-top: 14px; }

.icon-box {
  width: 50px; height: 50px; border-radius: 13px; display: flex; align-items: center; justify-content: center;
  background: var(--c-primary-50); color: var(--c-primary); margin-bottom: 18px;
}
.icon-box svg { width: 26px; height: 26px; }
.icon-box.accent { background: var(--c-accent-50); color: var(--c-accent); }
.icon-box.round { border-radius: 999px; }

/* checklists */
.check-list { list-style: none; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 32px; color: var(--ink-2); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 999px;
  background: var(--c-accent-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/13px no-repeat;
}
.cross-list { list-style: none; display: grid; gap: 12px; }
.cross-list li { position: relative; padding-left: 32px; color: var(--muted); }
.cross-list li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 999px;
  background: #fdecec url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e5484d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* two-column feature block */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }

/* stats band */
.stats-band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; }
.stat .num { font-size: 2.6rem; font-weight: 800; color: var(--c-primary); line-height: 1; }
.stat .lbl { color: var(--muted); font-weight: 500; margin-top: 6px; }

/* ===== Pricing ===== */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.price-card { position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px 28px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.price-card.featured { border-color: var(--c-primary); box-shadow: var(--shadow-xl); transform: scale(1.03); }
.price-card .price { font-size: 2.4rem; font-weight: 800; color: var(--ink); margin: 12px 0 2px; }
.price-card .price span { font-size: 1rem; font-weight: 500; color: var(--muted); }
.price-card .price-sub { font-size: .85rem; color: var(--muted-2); margin-bottom: 6px; }
.price-card .incl { font-weight: 600; color: var(--ink-2); margin: 14px 0 2px; }
.price-card .extra { font-size: .88rem; color: var(--muted); margin-bottom: 18px; }
.price-card ul { list-style: none; display: grid; gap: 10px; margin: 4px 0 24px; }
.price-card ul li { position: relative; padding-left: 28px; font-size: .95rem; color: var(--ink-2); }
.price-card ul li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 999px;
  background: var(--c-primary-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a90e2' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat;
}
.price-card .btn { margin-top: auto; }
.price-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); }

/* ===== FAQ accordion ===== */
.faq-list { display: grid; gap: 14px; max-width: 820px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 20px 22px; font-size: 1.05rem; font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: inherit; }
.faq-q .chev { flex: none; width: 22px; height: 22px; transition: transform .22s ease; color: var(--c-primary); }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .28s ease; }
.faq-a-inner { padding: 0 22px 20px; color: var(--muted); }
.faq-a-inner p { margin-bottom: .6rem; }
.faq-a-inner ul { list-style: disc; padding-left: 20px; color: var(--muted); }

/* faq groups */
.faq-group-title { margin: 44px 0 18px; font-size: 1.35rem; }

/* ===== Forms ===== */
.form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-md); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 7px; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border-2); border-radius: 10px;
  font-family: inherit; font-size: 1rem; color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 3px rgba(43,85,230,.14); }
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: .85rem; color: var(--muted-2); margin-top: 8px; }

/* ===== Steps ===== */
.step { display: grid; grid-template-columns: 56px 1fr; gap: 20px; align-items: start; }
.step-num { width: 48px; height: 48px; border-radius: 999px; background: var(--grad); color: #fff; font-weight: 800; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-md); }
.steps { display: grid; gap: 34px; }

/* ===== Testimonials ===== */
.quote-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.quote-card .stars { color: #f5b301; margin-bottom: 14px; letter-spacing: 2px; }
.quote-card blockquote { margin: 0 0 20px; font-size: 1.02rem; color: var(--ink-2); line-height: 1.65; }
.quote-author { display: flex; align-items: center; gap: 13px; margin-top: auto; }
.avatar { width: 46px; height: 46px; border-radius: 999px; background: var(--grad); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: .95rem; flex: none; }
.quote-author .name { font-weight: 700; color: var(--ink); font-size: .96rem; line-height: 1.2; }
.quote-author .role { font-size: .85rem; color: var(--muted); }

/* ===== CTA band ===== */
.cta-band { background: var(--grad); border-radius: var(--radius-lg); padding: 60px 48px; text-align: center; color: #fff; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); font-size: 1.12rem; max-width: 620px; margin: 0 auto 26px; }
.cta-band .btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-trust { display: flex; gap: 26px; justify-content: center; flex-wrap: wrap; margin-top: 24px; color: rgba(255,255,255,.9); font-size: .92rem; }
.cta-trust span { display: inline-flex; align-items: center; gap: 7px; }

/* ===== Feature/simple list rows ===== */
.mini-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 28px; }
.mini-item { display: flex; gap: 12px; align-items: flex-start; }
.mini-item .dot { flex: none; width: 22px; height: 22px; border-radius: 999px; background: var(--c-accent-50); color: var(--c-accent); display: flex; align-items: center; justify-content: center; margin-top: 2px; }
.mini-item .dot svg { width: 14px; height: 14px; }

/* ===== Legal / prose ===== */
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { font-size: 1.5rem; margin-top: 40px; }
.prose h3 { font-size: 1.15rem; margin-top: 26px; }
.prose p, .prose li { color: var(--muted); }
.prose ul { list-style: disc; padding-left: 22px; margin: 0 0 1rem; display: grid; gap: 6px; }
.prose table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: .95rem; }
.prose th, .prose td { border: 1px solid var(--border); padding: 10px 14px; text-align: left; }
.prose th { background: var(--bg-soft); color: var(--ink); }
.legal-meta { color: var(--muted-2); font-size: .95rem; margin-bottom: 8px; }
.legal-box { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 24px; margin: 6px 0 8px; }

/* ===== Footer ===== */
.site-footer { background: #2d3a4d; color: #c8cfda; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 16px; }
.site-footer a { color: #c4cbe0; }
.site-footer a:hover { color: #fff; }
.site-footer .f-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.site-footer .f-brand img { height: 52px; width: auto; }
.site-footer .f-about { font-size: .95rem; color: #9aa3bf; max-width: 320px; }
.site-footer .f-vat { font-size: .85rem; color: #7c86a6; margin-top: 10px; }
.footer-links { list-style: none; display: grid; gap: 10px; font-size: .95rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .88rem; color: #8a93b2; }
.footer-bottom a { color: #8a93b2; }
.footer-bottom .fb-links { display: flex; gap: 20px; flex-wrap: wrap; }

/* ===== Kiosk mock (home) ===== */
.kiosk { background: #0d1530; border-radius: var(--radius-lg); padding: 26px; color: #fff; box-shadow: var(--shadow-xl); }
.kiosk-title { text-align: center; margin-bottom: 4px; font-weight: 700; }
.kiosk-sub { text-align: center; font-size: .85rem; color: #9aa3bf; margin-bottom: 18px; }
.kiosk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.kiosk-person { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 16px 8px; text-align: center; font-size: .9rem; }
.kiosk-person .k-av { width: 40px; height: 40px; border-radius: 999px; margin: 0 auto 8px; background: var(--grad); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.kiosk-person .k-status { display: inline-block; width: 8px; height: 8px; border-radius: 999px; background: var(--c-accent); margin-top: 6px; }
.kiosk-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.kiosk-actions .btn { width: 100%; }

/* utility */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.muted { color: var(--muted); }
.center-btn { text-align: center; margin-top: 36px; }
.divider-note { text-align: center; color: var(--muted-2); font-size: .95rem; margin-top: 30px; }

/* ===== Responsive ===== */
@media (max-width: 940px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header.open .nav-links {
    display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column;
    background: #fff; padding: 18px 24px; gap: 18px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg);
  }
  .site-header.open .nav-links a { padding: 4px 0; }
  .hero-grid, .split, .split.reverse .split-media { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .hero-media { margin-top: 10px; }
  .grid-3, .grid-4, .price-grid, .stats-band { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .price-card.featured { transform: none; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .section { padding: 56px 0; }
  .grid-2, .grid-3, .grid-4, .price-grid, .stats-band, .form-row, .mini-grid, .kiosk-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .cta-band { padding: 40px 24px; }
  .hero-stat { position: static; margin-top: 12px; display: inline-flex; }
  .hero-stat.s1, .hero-stat.s2 { top: auto; left: auto; right: auto; bottom: auto; }
  .kiosk-grid { grid-template-columns: 1fr 1fr; }
}
