/* Clocky landing — corporate B2B styling. Sober navy + restrained blue palette,
   centralized in :root. No photography: product visuals are CSS mockups
   (.ui-card, .ui-panel) so the page stays clean and image-free. */
:root {
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e6e8ef;
  --bg: #ffffff;
  --bg-alt: #f6f7fb;
  --brand: #2563eb;       /* sober corporate blue */
  --brand-dark: #1e40af;
  --brand-2: #1e293b;     /* deep slate (replaces violet) */
  --tint: #eff4fe;        /* light blue tint for icon/eyebrow chips */
  --ok: #16a34a;
  --radius: 14px;
  --max: 1140px;
  --shadow: 0 18px 40px rgba(15, 23, 42, 0.10);
  --shadow-sm: 0 6px 18px rgba(15, 23, 42, 0.06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink); background: var(--bg); line-height: 1.55; -webkit-font-smoothing: antialiased;
}
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
p { margin: 0 0 1rem; color: var(--ink-2); }
a { color: var(--brand); text-decoration: none; }
svg { display: block; }

/* line-icon defaults */
.card-ico svg, .logomark, .nav-toggle svg { fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* kicker label above headings */
.kicker { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: 12px; }
.kicker.light { color: #60a5fa; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: 12px 20px; border-radius: 10px; font-weight: 600; font-size: .95rem; cursor: pointer; border: 1.5px solid transparent; transition: transform .05s, background .15s, box-shadow .15s, color .15s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-outline { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn-outline:hover { background: var(--brand); color: #fff; }
.btn-lg { padding: 15px 28px; font-size: 1.02rem; border-radius: 12px; }
.btn-block { width: 100%; }

/* ---------- law-update banner ---------- */
.lawbanner { display: block; background: var(--ink); color: #fff; text-align: center; font-size: .85rem; font-weight: 500; padding: 9px 16px; text-decoration: none; letter-spacing: .01em; }
.lawbanner:hover { background: #0b1220; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; gap: 22px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 1.3rem; color: var(--ink); letter-spacing: -.03em; }
.logomark { width: 26px; height: 26px; color: var(--brand); }
.nav-links { display: flex; gap: 26px; margin-left: 14px; flex: 1; }
.nav-links a { color: var(--ink-2); font-weight: 500; font-size: .95rem; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { margin-left: auto; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 26px; height: 26px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 96px) 0; background: linear-gradient(180deg, #fff 0%, var(--bg-alt) 100%); }
.hero-pattern { position: absolute; inset: 0; background-image: radial-gradient(rgba(100,116,139,.16) 1.4px, transparent 1.4px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(ellipse 80% 60% at 70% 20%, #000 0%, transparent 70%); mask-image: radial-gradient(ellipse 80% 60% at 70% 20%, #000 0%, transparent 70%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 52px; align-items: center; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--brand); background: #eef2ff; padding: 7px 14px; border-radius: 999px; margin-bottom: 20px; }
.lead { font-size: 1.18rem; max-width: 40ch; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0 18px; }
.hero-trust { list-style: none; padding: 0; margin: 0; display: flex; gap: 22px; flex-wrap: wrap; color: var(--muted); font-size: .9rem; font-weight: 500; }
.hero-trust li { position: relative; padding-left: 18px; }
.hero-trust li::before { content: ""; position: absolute; left: 0; top: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); transform: translateY(-50%); }

/* hero visual: demo video as the "screen" + WhatsApp phone floating over a corner */
.hero-visual { position: relative; min-height: 300px; }
.hero-video { width: 100%; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #000; }
.hero-video video { display: block; width: 100%; height: auto; }
.phone { position: relative; width: 280px; max-width: 86%; background: #ece5dd; border-radius: 26px; border: 9px solid #0f172a; box-shadow: var(--shadow); overflow: hidden; }
/* shrink + anchor the phone over the video's lower-right corner */
.hero-phone { position: absolute; left: 4px; bottom: 4px; transform: scale(.56); transform-origin: bottom left; z-index: 2; }
.wa-header { display: flex; align-items: center; gap: 10px; background: #075e54; color: #fff; padding: 11px 13px; }
.wa-avatar { width: 34px; height: 34px; border-radius: 50%; background: #25d366; display: grid; place-items: center; font-weight: 700; }
.wa-name { font-weight: 700; font-size: .92rem; } .wa-status { font-size: .7rem; opacity: .8; }
.wa-body { padding: 13px; display: flex; flex-direction: column; gap: 9px; min-height: 320px; }
.bubble { max-width: 88%; padding: 9px 12px; border-radius: 12px; font-size: .85rem; color: #111; box-shadow: 0 1px 1px rgba(0,0,0,.08); }
.bubble.out { align-self: flex-end; background: #dcf8c6; border-bottom-right-radius: 3px; }
.bubble.in { align-self: flex-start; background: #fff; border-bottom-left-radius: 3px; }
.wa-link { display: block; margin-top: 5px; color: var(--brand); font-weight: 600; }
.bubble.card { width: 90%; }
.selfie { height: 104px; border-radius: 9px; margin-bottom: 8px; background: linear-gradient(135deg, #dbe3ef, #c3ccda); }
.verify { display: flex; flex-direction: column; gap: 4px; }
.chip { font-size: .68rem; font-weight: 600; padding: 4px 9px; border-radius: 7px; background: #eef2ff; color: var(--brand-dark); width: fit-content; }
.approved { margin-top: 8px; font-weight: 700; color: var(--ok); font-size: .82rem; }

/* ---------- stats band ---------- */
.stats { background: var(--ink); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 40px 24px; }
.stat { text-align: center; }
.stat-n { display: block; font-size: 2.4rem; font-weight: 800; letter-spacing: -.03em; }
.stat-l { display: block; font-size: .9rem; opacity: .9; margin-top: 4px; }

/* ---------- video (contained autoplay loop) ---------- */
.video-section { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(40px, 6vw, 72px); }
.video-wrap { text-align: center; }
.video-wrap .kicker { display: inline-block; }
.video-frame { position: relative; max-width: 560px; margin: 22px auto 0; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); background: #000; }
.demo-video { display: block; width: 100%; height: auto; }
.video-sound { position: absolute; right: 12px; bottom: 12px; background: rgba(15,23,42,.72); color: #fff; border: 0; border-radius: 999px; padding: 7px 13px; font-size: .8rem; font-weight: 600; cursor: pointer; backdrop-filter: blur(4px); }
.video-sound:hover { background: rgba(15,23,42,.9); }

/* ---------- logos strip ---------- */
.logos { padding: 36px 0; border-bottom: 1px solid var(--line); }
.logos-label { text-align: center; color: var(--muted); font-size: .95rem; margin-bottom: 22px; }
.logos-row { display: flex; gap: 30px; justify-content: center; align-items: center; flex-wrap: wrap; }
.logo-ph { width: 120px; height: 34px; border-radius: 7px; background: linear-gradient(90deg, #eef0f6, #e3e6f0); }

/* ---------- sections ---------- */
.section { padding: clamp(54px, 7vw, 92px) 0; }
.section.alt { background: var(--bg-alt); }
.section-sub { max-width: 64ch; margin: 0 0 44px; color: var(--muted); font-size: 1.08rem; }

/* ---------- card grids ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.card-ico { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: #eef2ff; color: var(--brand); margin-bottom: 16px; }
.card-ico svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.12rem; }
.card p { margin: 0; font-size: .95rem; }

/* ---------- steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.step-n { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--brand); color: #fff; font-weight: 700; margin-bottom: 14px; }
.steps h3 { font-size: 1.05rem; } .steps p { margin: 0; font-size: .92rem; }

/* ---------- feature rows (image + text) ---------- */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-bottom: 64px; }
.feature-row:last-child { margin-bottom: 0; }
.feature-row.reverse .feature-media { order: 2; }
.feature-media { min-height: 320px; border-radius: 18px; padding: 30px; display: grid; place-items: center; background: linear-gradient(165deg, #f3f5f9, #e6eaf1); border: 1px solid var(--line); }

/* CSS product mockups (no photography) */
.ui-card { width: 100%; max-width: 280px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; box-shadow: var(--shadow); }
.ui-selfie { height: 120px; border-radius: 10px; background: linear-gradient(135deg, #dbe3ef, #c3ccda); margin-bottom: 14px; }
.ui-check { display: flex; align-items: center; gap: 9px; font-size: .9rem; color: var(--ink-2); padding: 5px 0; }
.ui-dot { width: 16px; height: 16px; border-radius: 50%; background: var(--ok); position: relative; flex: none; }
.ui-dot::after { content: ""; position: absolute; left: 5px; top: 4px; width: 5px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.ui-approved { margin-top: 12px; background: #ecfdf3; color: #15803d; font-weight: 700; font-size: .85rem; text-align: center; padding: 8px; border-radius: 9px; }

.ui-panel { width: 100%; max-width: 340px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; box-shadow: var(--shadow); }
.ui-panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.ui-panel-title { font-weight: 700; color: var(--ink); font-size: .95rem; }
.ui-pill { font-size: .72rem; font-weight: 600; color: var(--brand-dark); background: var(--tint); padding: 4px 9px; border-radius: 999px; }
.ui-trow { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); }
.ui-avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: .8rem; font-weight: 700; flex: none; }
.ui-meta { display: flex; flex-direction: column; flex: 1; line-height: 1.25; }
.ui-meta b { font-size: .86rem; color: var(--ink); } .ui-meta small { font-size: .74rem; color: var(--muted); }
.ui-badge { font-size: .72rem; font-weight: 700; padding: 4px 9px; border-radius: 999px; }
.ui-badge.ok { background: #ecfdf3; color: #15803d; }
.ui-badge.warn { background: #fef3c7; color: #b45309; }
.feature-list { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-direction: column; gap: 10px; }
.feature-list li { position: relative; padding-left: 28px; color: var(--ink-2); }
.feature-list li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #eef2ff; }
.feature-list li::after { content: ""; position: absolute; left: 6px; top: 8px; width: 6px; height: 3px; border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg); }

/* ---------- sectors ---------- */
.sectors { display: flex; flex-wrap: wrap; gap: 12px; }
.sector { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 13px 20px; font-weight: 600; color: var(--ink-2); box-shadow: var(--shadow-sm); position: relative; padding-left: 34px; }
.sector::before { content: ""; position: absolute; left: 16px; top: 50%; width: 9px; height: 9px; border-radius: 2px; background: var(--brand); transform: translateY(-50%); }

/* ---------- pricing ---------- */
.pricing { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; max-width: 900px; align-items: start; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 30px; position: relative; box-shadow: var(--shadow-sm); }
.plan-main { border: 2px solid var(--brand); box-shadow: var(--shadow); }
.plan-badge { position: absolute; top: -13px; left: 30px; background: var(--brand); color: #fff; font-size: .72rem; font-weight: 700; padding: 5px 13px; border-radius: 999px; letter-spacing: .03em; }
.plan h3 { font-size: 1.25rem; margin-top: 4px; }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin: 6px 0 14px; }
.amount { font-size: 3rem; font-weight: 800; letter-spacing: -.03em; }
.amount-sm { font-size: 1.8rem; font-weight: 800; }
.per { color: var(--muted); font-size: .92rem; }
.plan-pilot { background: #eef2ff; border: 1px solid #e0e7ff; color: var(--ink-2); border-radius: 10px; padding: 11px 13px; font-size: .9rem; margin: 0 0 18px; }
.plan-features { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-direction: column; gap: 9px; }
.plan-features li { position: relative; padding-left: 26px; font-size: .94rem; color: var(--ink-2); }
.plan-features li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 6px; height: 3px; border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg); }
.plan-note { font-size: .8rem; color: var(--muted); margin: 14px 0 0; text-align: center; }
.pricing-foot { color: var(--muted); font-size: .9rem; margin-top: 24px; }

/* ---------- demo / form ---------- */
.cta-section { background: var(--ink); color: #fff; }
.demo-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 48px; align-items: start; }
.demo-copy h2 { color: #fff; }
.demo-copy p { color: #cbd5e1; }
.demo-points { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-direction: column; gap: 9px; color: #e2e8f0; font-weight: 500; }
.demo-points li { position: relative; padding-left: 26px; }
.demo-points li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 6px; height: 3px; border-left: 2px solid #60a5fa; border-bottom: 2px solid #60a5fa; transform: rotate(-45deg); }
.lead-form { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.lead-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lead-form label { display: flex; flex-direction: column; font-size: .85rem; font-weight: 600; color: var(--ink-2); margin-bottom: 14px; gap: 6px; }
.lead-form input, .lead-form select, .lead-form textarea { font: inherit; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { outline: 2px solid var(--brand); border-color: var(--brand); }
.form-note { font-size: .82rem; color: var(--muted); margin: 12px 0 0; text-align: center; }
.form-note.error { color: #dc2626; } .form-note.success { color: var(--ok); font-weight: 600; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 30px 0; }
.footer-inner { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer .brand { font-size: 1.1rem; } .footer .logomark { width: 22px; height: 22px; }
.footer .muted { color: var(--muted); font-size: .9rem; }
.footer-links { margin-left: auto; display: flex; gap: 18px; }
.footer-links a { color: var(--muted); font-size: .9rem; }

/* ============================ responsive ============================ */
@media (max-width: 880px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; margin-left: auto; }
  body.nav-open .nav-links { display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 16px 24px; gap: 14px; }
  .hero-grid, .demo-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 360px; margin-top: 8px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .cards-3, .steps { grid-template-columns: 1fr; }
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; gap: 26px; }
  .feature-row.reverse .feature-media { order: 0; }
  .pricing { grid-template-columns: 1fr; }
}
@media (min-width: 881px) and (max-width: 1024px) { .steps { grid-template-columns: repeat(2, 1fr); } }
