:root{
  --ko-green:#0BAD95;
  --ko-green-dark:#088F7B;
  --ko-green-darker:#066B5E;
  --ko-green-light:#E3F7F1;
  --ko-green-soft:#C3ECE1;
  --ko-lime:#7BCE80;
  --ko-lime-bg:#EAF9EC;
  --ko-navy:#132420;
  --ko-navy-2:#1A322B;
  --ko-navy-3:#234138;
  --ko-ink:#15211D;
  --ko-gray:#5B6B64;
  --ko-border:#E2EAE5;
  --ko-light:#F6FBF8;
  --ko-amber:#B3690A;
  --ko-amber-bg:#FDF1DD;
  --ko-red:#DC2626;
  --ko-red-bg:#FDEBEB;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }

body{
  font-family:"Inter", system-ui, -apple-system, sans-serif;
  color:var(--ko-ink);
  background:#fff;
  overflow-x:hidden;
}

h1,h2,h3,h4,h5{ font-weight:800; letter-spacing:-0.02em; }

.text-green{ color:var(--ko-green) !important; }
.text-lime{ color:var(--ko-green-dark) !important; }
.bg-green{ background-color:var(--ko-green) !important; }
.eyebrow{
  font-size:.76rem;
  font-weight:700;
  letter-spacing:.09em;
  text-transform:uppercase;
  color:var(--ko-green-dark);
}
.eyebrow-light{ color:#9FD9C9; }
.lead-gray{ color:var(--ko-gray); }

.btn-ko-primary{
  background:var(--ko-green);
  border-color:var(--ko-green);
  color:#fff;
  border-radius:10px;
  padding:.7rem 1.4rem;
  font-weight:600;
  box-shadow:0 10px 22px -8px rgba(11,173,149,.45);
  transition:all .2s ease;
}
.btn-ko-primary:hover{
  background:var(--ko-green-dark);
  border-color:var(--ko-green-dark);
  color:#fff;
  transform:translateY(-1px);
}
.btn-ko-outline{
  background:#fff;
  border:1.5px solid var(--ko-border);
  color:var(--ko-ink);
  border-radius:10px;
  padding:.7rem 1.4rem;
  font-weight:600;
  transition:all .2s ease;
}
.btn-ko-outline:hover{
  border-color:var(--ko-green);
  color:var(--ko-green-dark);
}
.btn-ko-white{
  background:#fff;
  color:var(--ko-green-darker);
  border-radius:10px;
  padding:.7rem 1.6rem;
  font-weight:700;
  border:none;
}
.btn-ko-white:hover{ background:var(--ko-green-light); color:var(--ko-green-darker); }
.btn-ko-ghost-light{
  background:transparent;
  color:#fff;
  border:1.5px solid rgba(255,255,255,.45);
  border-radius:10px;
  padding:.7rem 1.6rem;
  font-weight:600;
}
.btn-ko-ghost-light:hover{ background:rgba(255,255,255,.1); color:#fff; }

/* Navbar */
.navbar-ko{
  padding-top:1rem;
  padding-bottom:1rem;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(10px);
}
.navbar-brand-ko{
  font-weight:800;
  font-size:1.1rem;
  color:var(--ko-ink);
  display:flex;
  align-items:center;
  gap:.55rem;
}
.brand-logo{ height:70px; width:auto; display:block; }
.brand-logo-demo{ height:28px; width:auto; display:block; }
.navbar-ko .nav-link{
  font-weight:600;
  font-size:.95rem;
  color:var(--ko-ink);
  padding:.5rem 1rem;
}
.navbar-ko .nav-link:hover{ color:var(--ko-green-dark); }
.navbar-ko .nav-link.active{ color:var(--ko-green-dark); }
.link-accedi{
  font-weight:600;
  color:var(--ko-ink);
  text-decoration:none;
}
.link-accedi:hover{ color:var(--ko-green-dark); }

/* Hero */
.hero-section{
  background:linear-gradient(180deg, #F2FBF8 0%, #ffffff 55%);
  padding-top:2.5rem;
  padding-bottom:3.5rem;
  position:relative;
  overflow:hidden;
}
.hero-heading{
  font-size:2.3rem;
  line-height:1.15;
}
@media (min-width:992px){
  .hero-heading{ font-size:2.65rem; }
}
.hero-feature-pill{
  font-size:.86rem;
  font-weight:600;
  color:var(--ko-ink);
  display:flex;
  align-items:center;
  gap:.5rem;
}
.hero-feature-pill i{
  color:var(--ko-green);
  font-size:1.1rem;
}

.hero-visual{
  position:relative;
  padding:1rem 0 1.5rem;
}
.annotation{
  font-family:"Caveat", cursive;
  font-weight:700;
  color:var(--ko-ink);
  font-size:1.2rem;
  line-height:1.15;
  position:absolute;
  z-index:6;
  display:none;
  text-align:right;
}
@media (min-width:992px){ .annotation{ display:block; } }
.annotation-1{ top:-2.2rem; right:0; transform:rotate(-3deg); }
.annotation-2{ top:-2.3rem; left:1%; transform:rotate(-2deg); }

/* Screenshot frame (real product screenshots) */
.shot-frame{
  background:#fff;
  border-radius:18px;
  box-shadow:0 30px 65px -25px rgba(16,40,32,.3);
  border:1px solid var(--ko-border);
  overflow:hidden;
  position:relative;
  z-index:3;
}
.shot-frame img{ width:100%; height:auto; display:block; }
.shot-frame.shot-crop{ max-height:420px; overflow:hidden; }
.shot-frame.shot-crop img{ object-fit:cover; object-position:top; }

.shot-caption{ margin-top:1rem; font-size:.92rem; color:var(--ko-gray); }
.shot-caption strong{ color:var(--ko-ink); display:block; font-size:.98rem; margin-bottom:.15rem; }

/* Sections */
section{ scroll-margin-top:90px; }
.section-pad{ padding:5rem 0; }
.section-title{ font-size:1.8rem; }
@media (min-width:992px){ .section-title{ font-size:2.1rem; } }

/* Flow row (light) */
.flow-row{
  display:flex; flex-wrap:wrap; align-items:flex-start; justify-content:center;
  gap:0; margin-top:2rem;
}
.flow-step{
  display:flex; flex-direction:column; align-items:center; text-align:center;
  width:calc(100% / 2); padding:.6rem;
}
@media (min-width:768px){ .flow-step{ width:auto; min-width:140px; } }
.flow-icon{
  width:56px;height:56px;border-radius:50%;
  background:var(--ko-green-light); color:var(--ko-green-dark);
  border:1px solid var(--ko-green-soft);
  display:flex;align-items:center;justify-content:center;
  font-size:1.4rem; margin-bottom:.7rem;
}
.flow-label{ font-weight:700; font-size:.85rem; }
.flow-arrow{
  display:none; align-items:center; color:#C7D6CF; font-size:1.2rem;
  padding-top:1.6rem;
}
@media (min-width:768px){ .flow-arrow{ display:flex; } }

/* Numbered feature blocks */
.numbered-block{ height:100%; padding:0 .3rem; }
.numbered-block .nb-num{
  font-weight:800; font-size:.85rem; color:var(--ko-green-dark);
  width:34px; height:34px; border-radius:9px;
  background:var(--ko-green-light);
  display:flex; align-items:center; justify-content:center;
  margin-bottom:1rem;
}
.numbered-block h6{ font-weight:800; margin-bottom:.5rem; font-size:1.05rem; }
.numbered-block p{ color:var(--ko-gray); font-size:.9rem; }
.numbered-block a{ font-weight:700; text-decoration:none; color:var(--ko-green-dark); font-size:.86rem; }
.numbered-block a:hover{ color:var(--ko-green-darker); }

/* Feature cards (bordered) */
.feat-card{
  border:1px solid var(--ko-border);
  border-radius:16px;
  padding:1.6rem;
  height:100%;
  background:#fff;
}
.feat-icon{
  width:46px;height:46px;border-radius:12px;
  background:var(--ko-green-light); color:var(--ko-green-dark);
  display:flex;align-items:center;justify-content:center;
  font-size:1.25rem; margin-bottom:1rem; flex-shrink:0;
}
.feat-card h6{ font-weight:800; margin-bottom:.4rem; font-size:1.02rem; }
.feat-card p{ color:var(--ko-gray); font-size:.9rem; margin-bottom:0; }

/* Problem cards */
.problem-card{
  background:var(--ko-light);
  border-radius:18px;
  padding:2rem;
  height:100%;
}
.problem-card h3{ font-size:1.25rem; margin-bottom:1rem; font-weight:800; }
.problem-list{ list-style:none; margin:0; padding:0; display:grid; gap:.75rem; }
.problem-list li{ display:flex; gap:.6rem; align-items:flex-start; font-size:.94rem; color:var(--ko-ink); }
.problem-list li i{ color:var(--ko-gray); flex-shrink:0; margin-top:.2rem; font-size:.7rem; }

.checklist{ list-style:none; padding:0; margin:0; }
.checklist li{ display:flex; align-items:flex-start; gap:.5rem; font-size:.88rem; font-weight:600; margin-bottom:.6rem; }
.checklist li i{ color:var(--ko-green); margin-top:.15rem; }

/* Comparison table */
.cmp-table{ width:100%; border-collapse:separate; border-spacing:0; margin-top:2rem; background:#fff; border-radius:18px; overflow:hidden; border:1px solid var(--ko-border); }
.cmp-table th{ padding:1rem 1.4rem; text-align:left; font-weight:700; font-size:.92rem; color:#fff; background:var(--ko-navy); }
.cmp-table th:last-child{ background:var(--ko-green-dark); }
.cmp-table td{ padding:1rem 1.4rem; border-bottom:1px solid var(--ko-border); vertical-align:top; font-size:.94rem; }
.cmp-table tr:last-child td{ border-bottom:0; }
.cmp-table td:first-child{ color:var(--ko-gray); width:45%; }
.cmp-table td:last-child{ color:var(--ko-ink); font-weight:600; display:flex; gap:.55rem; align-items:flex-start; }
.cmp-table td:last-child i{ color:var(--ko-green); margin-top:.2rem; flex-shrink:0; }

/* Distinguishing cards */
.dgrid-card{ background:var(--ko-light); border-radius:16px; padding:1.6rem; height:100%; }
.dgrid-card h6{ font-weight:800; margin-bottom:.4rem; font-size:1.02rem; }
.dgrid-card p{ color:var(--ko-gray); font-size:.9rem; margin-bottom:0; }

blockquote.ko-quote{
  margin:2.75rem 0 0;
  font-weight:600;
  font-size:clamp(1.3rem,2.2vw,1.7rem);
  color:var(--ko-navy);
  border-left:4px solid var(--ko-green);
  padding-left:1.4rem;
}

/* Integrations */
.integ-card{ border:1px solid var(--ko-border); border-radius:14px; padding:1.4rem 1.5rem; background:#fff; height:100%; }
.integ-icon{ width:46px;height:46px;border-radius:10px; background:var(--ko-green-light); color:var(--ko-green-dark); display:flex;align-items:center;justify-content:center; font-size:1.25rem; margin-bottom:.9rem; flex:none; }
.integ-card h6{ font-size:1rem; font-weight:800; margin:0 0 .4rem; }
.integ-card p{ font-size:.88rem; color:var(--ko-gray); margin:0; }
.integ-badge{ display:inline-block; background:var(--ko-lime-bg); color:var(--ko-green-darker); font-size:.74rem; font-weight:700; padding:.2rem .65rem; border-radius:999px; margin-top:.8rem; }

/* Sectors row */
.sector-item{ text-align:center; }
.sector-icon{
  width:64px;height:64px;border-radius:50%;
  background:var(--ko-green-light); color:var(--ko-green-dark);
  display:flex;align-items:center;justify-content:center;
  font-size:1.6rem; margin:0 auto .8rem;
}
.sector-item .lbl{ font-weight:700; font-size:.88rem; max-width:160px; margin:0 auto; }

/* CTA */
.cta-dark-card{
  background:linear-gradient(120deg, var(--ko-navy) 0%, var(--ko-navy-3) 75%);
  border-radius:26px;
  color:#fff;
  position:relative;
  overflow:hidden;
  padding:2.5rem 2rem;
}
@media (min-width:992px){ .cta-dark-card{ padding:3rem 3rem; } }
.cta-dark-card h2{ font-size:1.6rem; line-height:1.3; }
@media (min-width:992px){ .cta-dark-card h2{ font-size:1.95rem; } }
.cta-photo-inset{
  display:none;
  position:absolute;
  right:0; bottom:0;
  width:280px; height:100%;
  -webkit-mask-image:linear-gradient(90deg, transparent 0%, #000 40%);
  mask-image:linear-gradient(90deg, transparent 0%, #000 40%);
}
.cta-photo-inset img{ width:100%; height:100%; object-fit:cover; opacity:.55; }
@media (min-width:992px){ .cta-photo-inset{ display:block; } }

/* Cross-link strip */
.rel-strip{ padding:2.4rem 0; border-top:1px solid var(--ko-border); font-size:.95rem; color:var(--ko-gray); }
.rel-strip a{ color:var(--ko-green-dark); font-weight:600; text-decoration:none; }
.rel-strip a:hover{ text-decoration:underline; }

/* Footer */
footer{ background:var(--ko-navy); color:#B9C9C2; }
footer a{ color:#B9C9C2; text-decoration:none; }
footer a:hover{ color:#fff; }
footer h6{ color:#fff; font-weight:700; font-size:.85rem; }
.footer-brand{ font-weight:800; font-size:1.1rem; color:#fff; display:flex; align-items:center; gap:.55rem; }
.footer-logo{ height:36px; width:auto; display:block; }
.footer-tagline{ font-size:.8rem; color:#8FA39A; margin:.4rem 0 0; }
.keynet-col .keynet-brand{ display:flex; align-items:center; gap:.5rem; margin-bottom:.5rem; }
.keynet-col p{ font-size:.8rem; color:#8FA39A; margin-bottom:0; }

@media (max-width:900px){
  .hero-section .row{ }
  .sgrid, .fgrid3{ grid-template-columns:repeat(2,minmax(0,1fr)); }
}

/* ===== Contact page ===== */
.contact-photo{
  border-radius:20px;
  overflow:hidden;
  position:relative;
  z-index:2;
  box-shadow:0 30px 65px -25px rgba(16,40,32,.3);
  border:1px solid var(--ko-border);
}
.contact-photo img{ width:100%; height:100%; aspect-ratio:4/3.1; object-fit:cover; display:block; }

.text-req{ color:var(--ko-red); }

.form-card{
  background:#fff;
  border:1px solid var(--ko-border);
  border-radius:20px;
  padding:2rem;
  box-shadow:0 25px 55px -32px rgba(16,40,32,.2);
}
.form-card h3{ font-size:1.3rem; margin-bottom:.3rem; }

.form-control, .form-select{
  border-radius:10px;
  border-color:var(--ko-border);
  padding:.65rem .9rem;
  font-size:.95rem;
}
.form-control:focus, .form-select:focus{
  border-color:var(--ko-green);
  box-shadow:0 0 0 .2rem rgba(11,173,149,.15);
}
.form-check-input:checked{
  background-color:var(--ko-green);
  border-color:var(--ko-green);
}
.form-check-input:focus{
  border-color:var(--ko-green);
  box-shadow:0 0 0 .2rem rgba(11,173,149,.15);
}
.alert-success{ background:var(--ko-green-light); border-color:var(--ko-green-soft); color:var(--ko-green-darker); }
.alert-danger{ background:var(--ko-red-bg); border-color:#F4C7C7; color:var(--ko-red); }

.info-card{
  background:var(--ko-light);
  border-radius:20px;
  padding:2rem;
  height:100%;
}
.info-feature{ display:flex; gap:.9rem; margin-bottom:1.3rem; }
.if-icon{
  width:42px;height:42px;border-radius:10px;
  background:#fff; border:1px solid var(--ko-green-soft); color:var(--ko-green-dark);
  display:flex;align-items:center;justify-content:center;
  font-size:1.1rem; flex:none;
}
.info-feature h6{ font-weight:800; font-size:.95rem; margin-bottom:.2rem; }
.info-feature p{ font-size:.86rem; color:var(--ko-gray); margin:0; }

.direct-contact-item{ display:flex; gap:.8rem; align-items:center; margin-bottom:1rem; }
.direct-contact-item:last-child{ margin-bottom:0; }
.dc-icon{
  width:40px;height:40px;border-radius:10px;
  background:#fff; border:1px solid var(--ko-green-soft); color:var(--ko-green-dark);
  display:flex;align-items:center;justify-content:center;
  font-size:1.05rem; flex:none;
}
.direct-contact-item strong{ display:block; font-size:.92rem; }
.direct-contact-item .sub{ display:block; font-size:.8rem; color:var(--ko-gray); }

.why-contact-item{ text-align:left; }
.why-contact-icon{
  width:48px;height:48px;border-radius:12px;
  background:var(--ko-green-light); color:var(--ko-green-dark);
  display:flex;align-items:center;justify-content:center;
  font-size:1.2rem; margin-bottom:.9rem;
}
.why-contact-item h6{ font-weight:800; font-size:.96rem; margin-bottom:.3rem; }
.why-contact-item p{ font-size:.86rem; color:var(--ko-gray); margin:0; }

/* ===== FAQ accordion ===== */
.faq-acc .accordion-item{ border:1px solid var(--ko-border); border-radius:14px !important; margin-bottom:.8rem; overflow:hidden; }
.faq-acc .accordion-button{ font-weight:700; font-size:1rem; color:var(--ko-ink); padding:1.1rem 1.4rem; background:#fff; box-shadow:none; }
.faq-acc .accordion-button:not(.collapsed){ background:var(--ko-green-light); color:var(--ko-green-darker); }
.faq-acc .accordion-button:focus{ border-color:var(--ko-green); box-shadow:0 0 0 .2rem rgba(11,173,149,.15); }
.faq-acc .accordion-body{ color:var(--ko-gray); font-size:.95rem; padding:1.1rem 1.4rem 1.3rem; }
