/* ─────────────────────────────────────────────
   CLARITY — minimal, white, Linear/Apple style
   ───────────────────────────────────────────── */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--color-text); text-decoration: none; transition: color .2s ease; }
button { font-family: inherit; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.container-narrow { max-width: 760px; margin: 0 auto; padding: 0 28px; }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 22px; border-radius: 10px; font-weight: 600; font-size: 0.94rem; cursor: pointer; border: 1px solid transparent; transition: all .2s ease; font-family: inherit; }
.btn-large { padding: 14px 28px; font-size: 1rem; }
.btn-primary { background: var(--color-primary); color: #fff; box-shadow: 0 1px 2px rgba(15,23,42,0.08), inset 0 1px 0 rgba(255,255,255,0.18); }
.btn-primary:hover { background: color-mix(in srgb, var(--color-primary) 90%, black); transform: translateY(-1px); box-shadow: 0 6px 16px -6px color-mix(in srgb, var(--color-primary) 50%, transparent); }
.btn-outline { background: #fff; color: var(--color-text); border-color: var(--color-border); }
.btn-outline:hover { border-color: var(--color-text); }
.btn-link { color: var(--color-primary); font-weight: 600; font-size: 0.94rem; display: inline-flex; align-items: center; gap: 4px; transition: gap .2s ease; }
.btn-link:hover { gap: 8px; }

/* ── Header ── */
.topbar { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--color-border); padding: 14px 0; transition: box-shadow .2s ease; }
.topbar.scrolled { box-shadow: 0 1px 0 var(--color-border), 0 6px 16px -10px rgba(15,23,42,0.1); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { font-weight: 800; font-size: 1.15rem; color: var(--color-primary); letter-spacing: -0.02em; }
.nav { display: flex; gap: 28px; }
.nav a { font-size: 0.92rem; color: var(--color-text-soft); font-weight: 500; transition: color .2s ease; }
.nav a:hover { color: var(--color-primary); }
.topbar-cta { display: flex; align-items: center; gap: 14px; }
.status-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; font-size: 0.78rem; font-weight: 500; color: #16a34a; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 999px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #16a34a; animation: pulseDot 2s ease-in-out infinite; }
@keyframes pulseDot { 0%,100% { box-shadow: 0 0 0 0 rgba(22,163,74,0.4); } 50% { box-shadow: 0 0 0 5px transparent; } }
.hamburger { display: none; background: transparent; border: 0; cursor: pointer; }
.hamburger span { display: block; width: 22px; height: 1.6px; background: var(--color-text); margin: 5px 0; border-radius: 1px; transition: all .25s ease; }
@media (max-width: 920px) {
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; padding: 16px 28px; gap: 14px; border-bottom: 1px solid var(--color-border); box-shadow: var(--shadow-md); }
  .nav.open { display: flex; }
  .hamburger { display: block; }
  .status-pill { display: none; }
}
@media (max-width: 540px) { .topbar-cta .btn { padding: 9px 14px; font-size: 0.86rem; } }

/* ── Hero ── */
.hero { padding: 90px 0 110px; min-height: 90vh; display: flex; align-items: center; }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-eyebrow { display: inline-block; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.18em; color: var(--color-text-soft); margin-bottom: 24px; }
.hero h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 800; line-height: 1.1; margin-bottom: 22px; }
.hero h1 .hl { color: var(--color-primary); }
.hero .lead { font-size: clamp(1rem, 1.5vw, 1.15rem); color: var(--color-text-soft); margin-bottom: 32px; max-width: 460px; }
.hero-cta { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; margin-bottom: 40px; }
.hero-social-proof { display: flex; align-items: center; gap: 14px; color: var(--color-text-soft); font-size: 0.92rem; }
.avatar-stack { display: inline-flex; }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--color-background-soft); border: 2px solid #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 600; color: #1e293b; font-size: 0.86rem; margin-left: -10px; }
.avatar:first-child { margin-left: 0; }
.avatar-more { background: var(--color-primary); color: #fff; }

/* Dashboard mockup */
.hero-visual { position: relative; }
.dashboard { background: #fff; border: 1px solid var(--color-border); border-radius: 18px; box-shadow: var(--shadow-xl); overflow: hidden; animation: dashFloat 6s ease-in-out infinite; }
@keyframes dashFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.dashboard-bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; background: var(--color-background-soft); border-bottom: 1px solid var(--color-border); }
.dot { width: 11px; height: 11px; border-radius: 50%; background: #cbd5e1; }
.dot:nth-child(1) { background: #ef4444; }
.dot:nth-child(2) { background: #f59e0b; }
.dot:nth-child(3) { background: #10b981; }
.dashboard-url { margin-left: 14px; flex: 1; padding: 6px 14px; background: #fff; border: 1px solid var(--color-border); border-radius: 7px; font-size: 0.8rem; color: var(--color-text-soft); }
.dashboard-body { padding: 24px; }
.dashboard-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.dashboard-title { font-weight: 700; font-size: 0.95rem; }
.dashboard-lines { display: flex; flex-direction: column; gap: 6px; margin-bottom: 22px; }
.line { height: 6px; background: var(--color-border); border-radius: 3px; }
.line-1 { width: 70%; }
.line-2 { width: 50%; }
.line-3 { width: 80%; }
.dashboard-chart { display: flex; align-items: flex-end; gap: 8px; height: 92px; margin-bottom: 18px; padding-bottom: 4px; border-bottom: 1px dashed var(--color-border); }
.bar { flex: 1; background: var(--color-background-soft); border-radius: 4px 4px 0 0; transition: background .2s ease; }
.bar:nth-child(odd) { background: color-mix(in srgb, var(--color-primary) 25%, transparent); }
.bar:nth-child(3n) { background: var(--color-primary); }
.dashboard-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.pill { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 0.75rem; font-weight: 600; }
.pill-blue { background: #dbeafe; color: #1d4ed8; }
.pill-green { background: #dcfce7; color: #15803d; }
.pill-amber { background: #fef3c7; color: #b45309; }
.pill-purple { background: #ede9fe; color: #6d28d9; }

.floater { position: absolute; padding: 10px 14px; background: #fff; border: 1px solid var(--color-border); border-radius: 10px; box-shadow: var(--shadow-md); font-size: 0.84rem; font-weight: 600; color: var(--color-text); }
.floater-1 { top: 10%; left: -32px; color: #15803d; animation: slideInRight .8s ease-out .4s backwards, floatY 4s ease-in-out 1.2s infinite; }
.floater-2 { top: 46%; right: -32px; color: #1d4ed8; animation: slideInLeft .8s ease-out .7s backwards, floatY 4s ease-in-out 1.5s infinite; }
.floater-3 { bottom: 8%; left: 12%; animation: slideInUp .8s ease-out 1s backwards, floatY 4s ease-in-out 1.8s infinite; }
@keyframes slideInRight { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideInLeft { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideInUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

@media (max-width: 980px) {
  .hero { padding: 60px 0 80px; min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; gap: 50px; }
  .hero-visual { max-width: 540px; margin: 0 auto; }
  .floater-1 { left: -8px; } .floater-2 { right: -8px; }
}

/* ── Logos strip ── */
.logos-strip { padding: 40px 0 60px; border-bottom: 1px solid var(--color-border); }
.logos-label { text-align: center; color: var(--color-text-soft); font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; margin-bottom: 22px; }
.logos-row { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.logo-item { font-weight: 800; font-size: 1.2rem; letter-spacing: -0.01em; color: #94a3b8; opacity: 0.6; transition: opacity .25s ease, color .25s ease; cursor: default; }
.logo-item:hover { opacity: 1; color: var(--color-text); }
@media (max-width: 760px) { .logos-row { justify-content: center; gap: 20px; } .logo-item { font-size: 1rem; } }

/* ── Sections ── */
.section { padding: 96px 0; }
.section-soft { background: var(--color-background-soft); }
.section-head { text-align: center; margin-bottom: 56px; max-width: 680px; margin-left: auto; margin-right: auto; }
.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; margin-bottom: 12px; line-height: 1.15; }
.section-head .section-sub { color: var(--color-text-soft); font-size: 1.04rem; max-width: 540px; margin: 0 auto; }
.eyebrow { display: inline-block; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.18em; color: var(--color-primary); text-transform: uppercase; margin-bottom: 12px; }
.eyebrow-light { color: rgba(255,255,255,0.85); }
.section-head-light h2 { color: #fff; }

/* ── Grid ── */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 920px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-3 { grid-template-columns: 1fr; } }

/* ── Feature cards ── */
.feature-card { background: var(--color-background-soft); border: 1px solid transparent; border-radius: 14px; padding: 30px; transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease; }
.feature-card:hover { transform: translateY(-4px); background: #fff; border-color: var(--color-border); box-shadow: var(--shadow-md); }
.feature-icon { width: 48px; height: 48px; border-radius: 12px; background: color-mix(in srgb, var(--color-primary) 10%, white); color: var(--color-primary); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.feature-icon svg { width: 24px; height: 24px; stroke: currentColor; fill: none; }
.feature-card h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: 8px; }
.feature-card p { color: var(--color-text-soft); font-size: 0.96rem; }

/* ── How it works ── */
.how-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; position: relative; }
.how-steps::before { content: ''; position: absolute; top: 28px; left: 16%; right: 16%; height: 1.5px; background: linear-gradient(90deg, transparent, var(--color-border), transparent); }
.how-step { text-align: center; padding: 0 14px; position: relative; }
.how-num { display: inline-block; font-family: var(--font-title); font-size: 2.6rem; font-weight: 800; color: #cbd5e1; line-height: 1; margin-bottom: 18px; background: var(--color-background-soft); padding: 0 12px; position: relative; z-index: 1; }
.how-step h3 { font-size: 1.18rem; margin-bottom: 8px; }
.how-step p { color: var(--color-text-soft); font-size: 0.96rem; }
@media (max-width: 800px) { .how-steps { grid-template-columns: 1fr; gap: 28px; } .how-steps::before { display: none; } }

/* ── Product cards ── */
.product-card { background: #fff; border: 1px solid var(--color-border); border-radius: 14px; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; display: flex; flex-direction: column; position: relative; }
.product-card::before { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--color-primary); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.product-card:hover::before { transform: scaleX(1); }
.product-img { aspect-ratio: 16 / 9; background-size: cover; background-position: center; background-color: var(--color-background-soft); position: relative; }
.product-badge { position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,0.95); color: var(--color-primary); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em; }
.product-body { padding: 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-cat { display: inline-block; padding: 3px 10px; border-radius: 999px; background: color-mix(in srgb, var(--color-primary) 10%, white); color: var(--color-primary); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; width: fit-content; }
.product-card h3 { font-size: 1.08rem; font-weight: 700; }
.product-card p { color: var(--color-text-soft); font-size: 0.92rem; flex: 1; }
.product-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; padding-top: 12px; border-top: 1px dashed var(--color-border); }
.product-price { font-weight: 700; color: var(--color-text); font-size: 0.98rem; }

/* ── Testimonials ── */
.testi-card { background: #fff; border: 1px solid var(--color-border); border-radius: 14px; padding: 30px; box-shadow: var(--shadow-sm); position: relative; transition: transform .25s ease, box-shadow .25s ease; }
.testi-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.quote-mark { position: absolute; top: 18px; right: 22px; font-family: serif; font-size: 4rem; color: color-mix(in srgb, var(--color-primary) 18%, transparent); line-height: 1; pointer-events: none; }
.testi-card .stars { color: var(--color-primary); letter-spacing: 2px; margin-bottom: 12px; font-size: 1rem; }
.testi-text { color: var(--color-text); font-style: italic; line-height: 1.7; margin-bottom: 22px; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar { width: 42px; height: 42px; border-radius: 50%; background: color-mix(in srgb, var(--color-primary) 12%, white); color: var(--color-primary); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1rem; }
.testi-meta strong { display: block; font-size: 0.94rem; color: var(--color-text); }
.testi-meta span { display: block; font-size: 0.82rem; color: var(--color-text-soft); }

/* ── Metrics band ── */
.metrics-band { padding: 90px 0; background: var(--color-primary); color: #fff; }
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; max-width: 980px; margin: 0 auto; }
.metric { text-align: center; }
.metric strong { display: block; font-family: var(--font-title); font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800; color: #fff; line-height: 1; margin-bottom: 8px; }
.metric span { display: block; font-size: 0.94rem; color: rgba(255,255,255,0.85); font-weight: 500; }
@media (max-width: 760px) { .metrics-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; } }

/* ── CTA band ── */
.cta-band { padding: 110px 0; background: var(--color-background-soft); }
.cta-inner { max-width: 620px; margin: 0 auto; text-align: center; }
.cta-inner h2 { font-size: clamp(2rem, 4vw, 2.6rem); font-weight: 800; margin-bottom: 14px; }
.cta-inner p { color: var(--color-text-soft); font-size: 1.06rem; margin-bottom: 32px; }
.cta-form { display: flex; gap: 8px; max-width: 460px; margin: 0 auto 12px; }
.cta-form input { flex: 1; padding: 13px 18px; border: 1px solid var(--color-border); background: #fff; border-radius: 10px; font-family: inherit; font-size: 0.96rem; transition: border-color .2s ease; }
.cta-form input:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-primary) 18%, transparent); }
.cta-fine { font-size: 0.84rem; color: var(--color-text-soft); margin-top: 6px; }
@media (max-width: 600px) { .cta-form { flex-direction: column; } }

/* ── FAQ ── */
.section-faq { padding: 90px 0; }
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--color-border); padding: 20px 0; }
.faq-item:last-child { border-bottom: 0; }
.faq-item summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; font-weight: 600; font-size: 1.05rem; color: var(--color-text); padding-right: 12px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { width: 22px; height: 22px; position: relative; flex-shrink: 0; margin-left: 12px; }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; background: var(--color-primary); border-radius: 1px; }
.faq-icon::before { top: 50%; left: 0; right: 0; height: 1.6px; margin-top: -0.8px; }
.faq-icon::after { left: 50%; top: 0; bottom: 0; width: 1.6px; margin-left: -0.8px; transition: transform .25s ease; }
.faq-item[open] .faq-icon::after { transform: scaleY(0); }
.faq-item p { margin-top: 12px; color: var(--color-text-soft); line-height: 1.7; padding-right: 24px; }

/* ── Contact ── */
.section-contact { padding-bottom: 130px; }
.contact-info-row { display: flex; align-items: center; justify-content: center; gap: 28px; margin-bottom: 40px; flex-wrap: wrap; }
.contact-info-item { display: inline-flex; align-items: center; gap: 8px; color: var(--color-text-soft); font-size: 0.94rem; }
.contact-info-item svg { color: var(--color-primary); }
.contact-info-item:hover { color: var(--color-primary); }
.contact-form { display: flex; flex-direction: column; gap: 18px; max-width: 600px; margin: 0 auto; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form .field { display: flex; flex-direction: column; gap: 6px; }
.contact-form .field span { font-size: 0.82rem; font-weight: 600; color: var(--color-text-soft); }
.contact-form input, .contact-form textarea { width: 100%; padding: 12px 0; background: transparent; border: 0; border-bottom: 1.5px solid var(--color-border); font-family: inherit; font-size: 0.96rem; color: var(--color-text); transition: border-color .2s ease; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--color-primary); }
.contact-form textarea { resize: vertical; min-height: 100px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-size: 0.92rem; min-height: 1.2em; text-align: center; }
.form-status.success { color: #16a34a; }
.form-status.error { color: #dc2626; }
.contact-form .btn-large { align-self: center; }
@media (max-width: 600px) { .contact-form .row { grid-template-columns: 1fr; } }

/* ── Footer ── */
.site-footer { background: #fff; border-top: 1px solid var(--color-border); padding: 64px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-brand p { color: var(--color-text-soft); font-size: 0.92rem; margin: 12px 0 16px; max-width: 320px; line-height: 1.7; }
.footer-logo { font-weight: 800; font-size: 1.2rem; color: var(--color-primary); letter-spacing: -0.02em; }
.footer-col h4 { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-text); margin-bottom: 16px; }
.footer-col a, .footer-col span { display: block; color: var(--color-text-soft); font-size: 0.92rem; margin-bottom: 9px; transition: color .2s ease; }
.footer-col a:hover { color: var(--color-primary); }
.footer-social { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.footer-social a { display: inline-block; padding: 6px 14px; border: 1px solid var(--color-border); border-radius: 999px; font-size: 0.78rem; color: var(--color-text-soft); margin: 0; }
.footer-social a:hover { border-color: var(--color-primary); color: var(--color-primary); }
.footer-bottom { border-top: 1px solid var(--color-border); padding: 22px 0; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.copyright, .footer-tagline { color: var(--color-text-soft); font-size: 0.84rem; }
@media (max-width: 900px) { .footer-inner { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 540px) { .footer-inner { grid-template-columns: 1fr; gap: 24px; } }

/* ── Reveal ── */
.reveal { transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* Footer brand color override */
.site-footer .logo,
.footer-logo,
.footer-brand,
.site-footer .brand-name,
.site-footer h3.logo {
  color: var(--color-primary) !important;
}
