/* CountPro — brand colors sampled from LOGO.pdf */
:root {
  --indigo: #2B1464;
  --indigo-700: #1F0E4A;
  --indigo-900: #140934;
  --indigo-50: #F3F0FA;
  --lime: #9CD365;
  --lime-600: #7DB948;
  --lime-50: #F2FAEA;
  --ink: #1B1530;
  --muted: #5C5670;
  --line: #E6E3EE;
  --bg: #FFFFFF;
  --bg-soft: #F8F7FC;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(43, 20, 100, .08);
  --shadow-lg: 0 24px 60px rgba(43, 20, 100, .16);
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: "Inter", sans-serif; line-height: 1.15; margin: 0 0 .5em; color: var(--indigo); letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em;
  color: var(--lime-600); margin-bottom: 12px;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 14px 26px; border-radius: 999px;
  font-weight: 700; font-size: .98rem; border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  font-family: inherit; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--lime); color: var(--indigo-900); box-shadow: 0 8px 20px rgba(156, 211, 101, .35); }
.btn-primary:hover { background: var(--lime-600); }
.btn-outline { border-color: var(--indigo); color: var(--indigo); background: transparent; }
.btn-outline:hover { background: var(--indigo); color: #fff; }
.btn-light { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-light:hover { background: #fff; color: var(--indigo); }
.link-arrow { color: var(--indigo); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.link-arrow::after { content: "→"; transition: transform .2s ease; }
.link-arrow:hover::after { transform: translateX(4px); }

/* Header */
.topbar { background: var(--indigo); color: #fff; font-size: .85rem; }
.topbar .container { display: flex; justify-content: flex-end; gap: 24px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { opacity: .85; }
.topbar a:hover { opacity: 1; color: var(--lime); }
.header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--line);
}
.header .container { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.logo img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font-weight: 600; color: var(--ink); font-size: .96rem; position: relative; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0; background: var(--lime); transition: width .2s ease;
}
.nav a:not(.btn):hover::after { width: 100%; }
.nav .btn { padding: 10px 20px; }
.lang {
  display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; font-size: .8rem; font-weight: 700;
}
.lang button { border: 0; background: transparent; padding: 6px 10px; cursor: pointer; color: var(--muted); font-family: inherit; font-weight: 700; }
.lang button[aria-pressed="true"] { background: var(--indigo); color: #fff; }
.menu-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--indigo); margin: 5px 0; transition: .2s; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 96px 0 110px; background:
  radial-gradient(900px 500px at 90% -10%, var(--lime-50), transparent 60%),
  radial-gradient(800px 500px at -10% 110%, var(--indigo-50), transparent 60%); }
.hero .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.hero h1 span { color: var(--lime-600); }
.hero-lead { font-size: 1.2rem; color: var(--muted); max-width: 560px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 14px 6px 6px; font-size: .88rem; font-weight: 600; color: var(--indigo); margin-bottom: 24px; box-shadow: var(--shadow);
}
.hero-badge b { background: var(--lime); color: var(--indigo-900); border-radius: 999px; padding: 2px 10px; font-size: .75rem; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.hero-swoosh { position: absolute; inset: auto -10% -40% auto; width: 70%; opacity: .5; pointer-events: none; }

/* Hero visual: monthly-close card */
.hero-card {
  background: #fff; border-radius: 22px; box-shadow: var(--shadow-lg); padding: 28px; position: relative; border: 1px solid var(--line);
}
.hero-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.hero-card-head strong { font-family: "Inter", sans-serif; color: var(--indigo); font-size: 1.05rem; }
.pill { font-size: .75rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--lime-50); color: var(--lime-600); }
.task { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.task:last-of-type { border-bottom: 0; }
.check { width: 22px; height: 22px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: .75rem; font-weight: 800; }
.check.done { background: var(--lime); color: var(--indigo-900); }
.check.todo { border: 2px solid var(--line); }
.task .when { white-space: nowrap; margin-left: auto; color: var(--muted); font-size: .8rem; }
.progress { margin-top: 18px; height: 8px; background: var(--indigo-50); border-radius: 999px; overflow: hidden; }
.progress span { display: block; height: 100%; width: 80%; background: linear-gradient(90deg, var(--indigo), var(--lime)); border-radius: inherit; }
.float-chip {
  position: absolute; background: var(--indigo); color: #fff; border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow-lg);
  font-size: .85rem; display: flex; gap: 10px; align-items: center;
}
.float-chip b { color: var(--lime); font-size: 1.1rem; font-family: "Inter", sans-serif; }
.float-chip.one { left: -36px; bottom: -26px; }
.float-chip.two { right: -24px; top: -22px; background: var(--lime); color: var(--indigo-900); }
.float-chip.two b { color: var(--indigo); }

/* Problem */
.problem .container { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.pain-list { display: grid; gap: 16px; }
.pain {
  display: flex; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow);
}
.pain-icon { width: 46px; height: 46px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--indigo-50); color: var(--indigo); }
.pain h3 { margin-bottom: .25em; font-size: 1.05rem; }
.pain p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Cards (audiences) */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card p { color: var(--muted); font-size: .96rem; flex: 1; }
.card-icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px;
  background: linear-gradient(135deg, var(--indigo), #4A2A9A); color: var(--lime);
}
.card-icon svg, .pain-icon svg, .why-item svg { width: 26px; height: 26px; }

/* Services */
.service {
  background: #fff; border-radius: var(--radius); padding: 32px; border: 1px solid var(--line); position: relative; overflow: hidden;
  transition: box-shadow .2s ease, transform .2s ease;
}
.service::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: linear-gradient(90deg, var(--indigo), var(--lime)); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.service:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.service:hover::before { transform: scaleX(1); }
.service .num { font-family: "Inter", sans-serif; font-weight: 800; color: var(--lime); font-size: .9rem; letter-spacing: .1em; }
.service ul { list-style: none; padding: 0; margin: 14px 0 0; color: var(--muted); font-size: .93rem; }
.service li { padding-left: 22px; position: relative; margin: 6px 0; }
.service li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; border-radius: 50%; background: var(--lime); }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--indigo-900), var(--indigo) 55%, #3D2287); color: #fff; position: relative; overflow: hidden; }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: 64px; padding-bottom: 64px; position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin: 0; }
.cta-band h2 span { color: var(--lime); }
.cta-band p { color: rgba(255,255,255,.75); margin: 8px 0 0; }
.cta-band .ring {
  position: absolute; width: 520px; height: 220px; border: 18px solid var(--lime); border-radius: 50%; opacity: .14;
  right: -120px; top: -40px; transform: rotate(-12deg);
}

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; position: relative; }
.step { position: relative; padding: 28px 24px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: "Inter", sans-serif; font-weight: 800; font-size: 2.4rem; color: var(--lime); line-height: 1; display: block; margin-bottom: 14px;
}
.step p { color: var(--muted); margin: 0; font-size: .95rem; }

/* Why */
.why .container { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.why-item svg { color: var(--lime-600); margin-bottom: 10px; }
.why-item h3 { font-size: 1.05rem; margin-bottom: .3em; }
.why-item p { color: var(--muted); font-size: .94rem; margin: 0; }
.why-visual {
  background: var(--indigo); border-radius: 24px; padding: 48px; color: #fff; position: relative; overflow: hidden;
}
.why-visual h3 { color: #fff; font-size: 1.6rem; }
.why-visual p { color: rgba(255,255,255,.78); }
.why-visual .ring { position: absolute; width: 380px; height: 160px; border: 14px solid var(--lime); border-radius: 50%; opacity: .2; left: -80px; bottom: -60px; transform: rotate(-10deg); }
.why-visual ul { list-style: none; padding: 0; margin: 20px 0 0; position: relative; }
.why-visual li { padding: 10px 0 10px 34px; position: relative; border-top: 1px solid rgba(255,255,255,.12); }
.why-visual li::before { content: "✓"; position: absolute; left: 0; top: 9px; width: 22px; height: 22px; border-radius: 50%; background: var(--lime); color: var(--indigo-900); display: grid; place-items: center; font-size: .75rem; font-weight: 800; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 24px; margin-bottom: 12px; transition: box-shadow .2s ease; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 700; color: var(--indigo); display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--lime-600); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; }

/* Contact */
.contact .container { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.contact-info { display: grid; gap: 18px; margin-top: 28px; }
.contact-line { display: flex; gap: 14px; align-items: center; }
.contact-line .pain-icon { width: 42px; height: 42px; }
.contact-line small { display: block; color: var(--muted); font-size: .8rem; }
.contact-line strong { color: var(--indigo); }
.form { background: #fff; border-radius: 22px; padding: 36px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: .85rem; font-weight: 600; color: var(--indigo); }
.field input, .field select, .field textarea {
  font: inherit; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--bg-soft); color: var(--ink); transition: border-color .2s ease, background .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--lime-600); background: #fff; }
.field textarea { min-height: 120px; resize: vertical; }
.form .btn { width: 100%; justify-content: center; }
.form-note { font-size: .8rem; color: var(--muted); margin: 12px 0 0; text-align: center; }

/* Footer */
.footer { background: var(--indigo-900); color: rgba(255,255,255,.72); padding: 72px 0 28px; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-logo { background: #fff; display: inline-block; padding: 12px 18px; border-radius: 14px; margin-bottom: 18px; }
.footer-logo img { height: 40px; width: auto; }
.footer h4 { color: #fff; font-family: "Inter", sans-serif; margin: 0 0 16px; font-size: 1rem; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin: 8px 0; }
.footer a:hover { color: var(--lime); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 48px; padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Responsive */
@media (max-width: 1024px) {
  .grid-4, .steps { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: 76px 0 auto 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 24px 24px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow); transform: translateY(-120%); transition: transform .3s ease; z-index: -1;
  }
  .nav.open { transform: none; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 16px; justify-content: center; }
  .nav .lang { align-self: flex-start; margin-top: 16px; }
  .hero .container, .problem .container, .why .container, .contact .container { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding: 64px 0 90px; }
  .float-chip.one { left: 10px; }
  .float-chip.two { right: 10px; }
  .cta-band .container { flex-direction: column; align-items: flex-start; }
  .topbar { display: none; }
}
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .section { padding: 72px 0; }
  .grid-4, .grid-3, .steps, .why-grid, .form-row, .footer-grid { grid-template-columns: 1fr; }
  .logo img { height: 38px; }
  .form, .why-visual { padding: 26px; }
}

/* Legal pages (privacy policy) */
.legal { padding: 72px 0 96px; background: var(--bg-soft); }
.legal-body { max-width: 860px; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 56px 64px; box-shadow: var(--shadow); }
.legal-body h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: .2em; }
.legal-body h2 { font-size: 1.35rem; margin: 2.2em 0 .6em; padding-top: 1.2em; border-top: 1px solid var(--line); }
.legal-body h3 { font-size: 1.05rem; margin: 1.6em 0 .5em; }
.legal-body p, .legal-body li { color: var(--muted); }
.legal-body strong { color: var(--ink); }
.legal-body ul { padding-left: 1.2em; }
.legal-body li { margin: .35em 0; }
.legal-body a:not(.link-arrow) { color: var(--indigo); text-decoration: underline; text-decoration-color: var(--lime); text-underline-offset: 3px; }
.legal-meta { font-size: .9rem; font-weight: 600; color: var(--lime-600) !important; }
.legal-back { margin-top: 2.5em; }
@media (max-width: 600px) { .legal { padding: 32px 0 64px; } .legal-body { padding: 28px 20px; border-radius: 16px; } }
