/* kandyo.com — stile del sito (03/09/2026). Stessi token dell'app:
   brand #1877F2, navy sidebar #0F172A, profitto #16A34A, sfondo #F8FAFC. */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/poppins-400.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/poppins-500.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/poppins-600.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/poppins-700.woff2") format("woff2"); }

:root {
  --brand: #1877F2; --brand-dark: #1465CE; --brand-soft: rgba(24,119,242,.08);
  --navy: #0F172A; --navy-2: #1E293B;
  --pos: #16A34A; --pos-soft: rgba(22,163,74,.10);
  --warn: #D97706; --warn-soft: rgba(217,119,6,.10);
  --violet: #7C3AED;
  --bg: #F8FAFC; --surface: #FFFFFF; --line: #E8EEF5; --line-2: #CBD5E1;
  --ink: #111827; --ink-2: #4B5563; --ink-3: #6B7280;
  --shadow: 0 1px 2px rgba(16,24,40,.06), 0 8px 24px -8px rgba(16,24,40,.18);
  --r: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--brand); text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.08rem; font-weight: 600; }
p { margin: 0; }
.muted { color: var(--ink-2); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); background: var(--brand-soft); border: 1px solid rgba(24,119,242,.25); border-radius: 999px; padding: 6px 14px; }
.eyebrow.green { color: var(--pos); background: var(--pos-soft); border-color: rgba(22,163,74,.3); }
.eyebrow.violet { color: var(--violet); background: rgba(124,58,237,.08); border-color: rgba(124,58,237,.3); }

/* 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 .wrap { height: 68px; display: flex; align-items: center; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.25rem; color: var(--ink); letter-spacing: -0.02em; }
.logo .mark { width: 34px; height: 34px; border-radius: 10px; background: var(--brand); display: grid; place-items: center; color: #fff; }
.logo .mark svg { width: 20px; height: 20px; }
.nav-links { display: flex; gap: 22px; margin-left: 8px; font-size: .92rem; font-weight: 500; }
.nav-links a { color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.lang { font-size: .82rem; font-weight: 600; color: var(--ink-3); border: 1px solid var(--line-2); border-radius: 8px; padding: 6px 10px; }
.lang:hover { color: var(--ink); background: var(--surface); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 10px; font-weight: 600; font-size: .95rem; border: 1px solid transparent; cursor: pointer; transition: filter .15s, background .15s; white-space: nowrap; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--bg); }
.btn-green { background: var(--pos); color: #fff; }
.btn-green:hover { filter: brightness(.94); }
.btn-lg { height: 52px; padding: 0 26px; font-size: 1.02rem; }
.nav-toggle { display: none; }

/* hero */
.hero { padding: 84px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero .lead { font-size: 1.15rem; color: var(--ink-2); margin: 22px 0 30px; max-width: 54ch; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-note { margin-top: 14px; font-size: .86rem; color: var(--ink-3); }
.shot { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; }
.shot img { width: 100%; }
.shot-bar { height: 34px; background: #F1F5F9; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 6px; padding: 0 12px; }
.shot-bar i { width: 10px; height: 10px; border-radius: 50%; background: #CBD5E1; display: block; }
.hero-shot { position: relative; }
.hero-shot .float { position: absolute; left: -28px; bottom: 34px; background: var(--navy); color: #fff; border-radius: 12px; padding: 12px 16px; box-shadow: var(--shadow); font-size: .85rem; }
.hero-shot .float b { display: block; font-size: 1.3rem; color: #34D399; letter-spacing: -0.02em; }

/* strip numeri */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 26px 24px; }
.strip .k { font-size: 1.45rem; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }
.strip .l { font-size: .86rem; color: var(--ink-3); }

/* sezioni */
.section { padding: 88px 0; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head h2 { margin: 14px 0 12px; }
.section-head p { font-size: 1.05rem; color: var(--ink-2); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; box-shadow: 0 1px 2px rgba(16,24,40,.04); }
.card .ico { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; margin-bottom: 16px; background: var(--brand-soft); color: var(--brand); }
.card .ico.green { background: var(--pos-soft); color: var(--pos); }
.card .ico.warn { background: var(--warn-soft); color: var(--warn); }
.card .ico.violet { background: rgba(124,58,237,.08); color: var(--violet); }
.card .ico svg { width: 22px; height: 22px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--ink-2); font-size: .95rem; }

/* feature alternate con screenshot */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 36px 0; }
.feature:nth-child(even) .feature-text { order: 2; }
.feature h3 { font-size: 1.5rem; font-weight: 700; margin: 12px 0 12px; letter-spacing: -0.02em; }
.feature p { color: var(--ink-2); }
.feature ul { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.feature li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); font-size: .95rem; }
.feature li svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--pos); margin-top: 2px; }

/* AdPilot: sezione navy */
.dark { background: var(--navy); color: #fff; }
.dark .section-head p, .dark .card p, .dark .muted { color: #CBD5E1; }
.dark .card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); box-shadow: none; }
.dark .card h3 { color: #fff; }
.dark .card .ico { background: rgba(255,255,255,.10); color: #fff; }
.dark h2 { color: #fff; }
.dark .eyebrow { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color: #A5B4FC; }
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 36px; }
.flow .step { position: relative; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r); padding: 22px; }
.flow .n { width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; display: grid; place-items: center; margin-bottom: 14px; font-size: .9rem; }
.flow h3 { color: #fff; margin-bottom: 6px; }
.flow p { color: #CBD5E1; font-size: .92rem; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.pill { font-size: .82rem; font-weight: 500; padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: #E2E8F0; }

/* come funziona */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.steps .card { position: relative; padding-top: 30px; }
.steps .card::before { counter-increment: s; content: counter(s); position: absolute; top: -16px; left: 22px; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; display: grid; place-items: center; }

/* sicurezza */
.sec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.sec-grid .card { display: flex; gap: 14px; align-items: flex-start; }
.sec-grid .card .ico { margin: 0; flex-shrink: 0; }

/* prezzi */
.price { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 36px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; box-shadow: var(--shadow); }
.price .tiers { display: grid; gap: 10px; }
.price .tier { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border: 1px solid var(--line); border-radius: 10px; font-size: .95rem; }
.price .tier b { color: var(--brand); }

/* faq */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::after { content: "+"; color: var(--brand); font-size: 1.3rem; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 10px; color: var(--ink-2); font-size: .95rem; }

/* cta finale */
.cta-final { background: linear-gradient(135deg, var(--brand) 0%, #0F4FB3 100%); color: #fff; border-radius: 22px; padding: 56px 48px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; }
.cta-final h2 { color: #fff; }
.cta-final p { color: rgba(255,255,255,.85); margin-top: 10px; }
.cta-final .btn-ghost { background: #fff; color: var(--brand-dark); border-color: #fff; }
.cta-final form { display: grid; gap: 10px; }
.cta-final input { height: 48px; border-radius: 10px; border: 1px solid rgba(255,255,255,.4); background: rgba(255,255,255,.12); color: #fff; padding: 0 14px; font: inherit; font-size: .95rem; }
.cta-final input::placeholder { color: rgba(255,255,255,.7); }

/* footer */
footer { border-top: 1px solid var(--line); padding: 40px 0; font-size: .88rem; color: var(--ink-3); }
footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
footer h4 { margin: 0 0 10px; color: var(--ink); font-size: .9rem; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
footer a { color: var(--ink-3); }
footer a:hover { color: var(--ink); }
.legal { max-width: 820px; padding: 56px 24px 80px; margin: 0 auto; }
.legal h1 { font-size: 2rem; margin-bottom: 8px; }
.legal h2 { font-size: 1.25rem; margin: 32px 0 10px; }
.legal p, .legal li { color: var(--ink-2); font-size: .97rem; }
.legal .date { color: var(--ink-3); font-size: .88rem; }

@media (max-width: 960px) {
  .hero-grid, .feature, .price, .cta-final, .grid-2, .sec-grid { grid-template-columns: 1fr; }
  .feature:nth-child(even) .feature-text { order: 0; }
  .grid-3, .steps, .flow { grid-template-columns: 1fr 1fr; }
  .strip .wrap { grid-template-columns: 1fr 1fr; }
  footer .wrap { grid-template-columns: 1fr 1fr; }
  .hero-shot .float { left: 12px; }
  .nav-links { display: none; }
  .hero { padding: 56px 0 40px; }
  .section { padding: 64px 0; }
}
@media (max-width: 600px) {
  .grid-3, .steps, .flow, .strip .wrap, footer .wrap { grid-template-columns: 1fr; }
  .cta-final { padding: 36px 24px; }
  .btn-lg { width: 100%; }
}
