/* ===== Reset & base ===== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Helvetica Neue", Helvetica, "Apple Color Emoji","Segoe UI Emoji";
  color: #0f172a;
  background: #ffffff;
}
a { color: inherit; text-decoration: none; }
a:hover { opacity: .9; }
img { max-width: 100%; display: block; }
.container { width: min(1100px, calc(100% - 40px)); margin: 0 auto; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0; }
.muted { color: #475569; }
.small { font-size: .9rem; }
.accent { color: #16a34a; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .9rem 1.1rem;
  border-radius: 12px;
  border: 1px solid transparent;
  background: #16a34a;
  color: white;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(22,163,74,.18);
}
.btn:hover { transform: translateY(-1px); }
.btn--ghost {
  background: transparent;
  color: #0f172a;
  border-color: rgba(15,23,42,.14);
  box-shadow: none;
}
.btn--small { padding: .6rem .9rem; border-radius: 10px; font-weight: 700; }
.btn--full { width: 100%; }

.pill{
  display:inline-flex; align-items:center; gap:.4rem;
  padding:.35rem .6rem; border-radius:999px;
  background: rgba(22,163,74,.12);
  color:#166534; font-weight:700; font-size:.85rem;
}

/* ===== Topbar ===== */
.topbar {
  background: #0b1220;
  color: rgba(255,255,255,.88);
  padding: .45rem 0;
}
.topbar__inner { display:flex; align-items:center; justify-content:space-between; gap: 12px; }
.topbar__left { display:flex; align-items:center; gap: 10px; flex-wrap: wrap; }
.topbar__right { display:flex; gap: 14px; flex-wrap: wrap; }
.topbar__link { color: rgba(255,255,255,.9); font-size: .92rem; }

/* ===== Header / Nav ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(15,23,42,.08);
}
.header__inner {
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: .8rem 0;
}
.brand { display:flex; align-items:center; gap:.6rem; }
.brand__logo{
  width: 38px; height: 38px;
  display:grid; place-items:center;
  border-radius: 12px;
  background: rgba(22,163,74,.12);
}
.brand__name { font-weight: 900; letter-spacing: .2px; }

.nav__menu {
  list-style:none;
  display:flex;
  align-items:center;
  gap: 18px;
  margin: 0; padding: 0;
}
.nav__menu a { font-weight: 700; color: #0f172a; }
.nav__toggle {
  display:none;
  width: 46px; height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(15,23,42,.12);
  background: white;
}
.nav__toggleBar { display:block; height:2px; width: 20px; margin: 4px auto; background: #0f172a; border-radius: 10px; }

/* ===== Hero ===== */
.hero {
  padding: 64px 0 26px;
  background:
    radial-gradient(900px 280px at 25% 0%, rgba(22,163,74,.18), transparent 60%),
    radial-gradient(900px 280px at 75% 0%, rgba(14,165,233,.12), transparent 60%),
    linear-gradient(#ffffff, #ffffff);
}
.hero__grid {
  display:grid;
  grid-template-columns: 1.2fr .9fr;
  gap: 36px;
  align-items: center;
}
.hero h1 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 3.3vw, 3rem);
  line-height: 1.08;
  letter-spacing: -.4px;
}
.lead { font-size: 1.08rem; line-height: 1.65; margin: 0 0 16px; }
.hero__cta { display:flex; gap: 12px; flex-wrap: wrap; margin: 14px 0 18px; }

.hero__badges {
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 8px;
}
.badge {
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 16px;
  padding: 12px;
  background: rgba(255,255,255,.75);
}
.badge__kpi { font-weight: 900; font-size: 1.1rem; }
.badge__label { font-size: .9rem; color: #475569; }

/* ===== Hero visual ===== */
.hero__visual { position: relative; min-height: 360px; }
.deviceCard {
  border-radius: 18px;
  border: 1px solid rgba(15,23,42,.10);
  background: white;
  box-shadow: 0 22px 55px rgba(2,6,23,.10);
  overflow:hidden;
}
.deviceCard__top {
  display:flex; align-items:center; gap: 8px;
  padding: 12px 14px;
  background: rgba(15,23,42,.04);
  border-bottom: 1px solid rgba(15,23,42,.08);
}
.dot { width:10px; height:10px; border-radius:99px; background:#94a3b8; }
.dot--r{ background:#ef4444; } .dot--y{ background:#f59e0b; } .dot--g{ background:#22c55e; }
.deviceCard__title { margin-left: 8px; font-weight: 800; color:#0f172a; }
.deviceCard__body { padding: 14px; display:grid; gap: 10px; }
.row { display:flex; align-items:center; justify-content:space-between; }
.tag {
  font-weight: 800; font-size: .92rem;
  color:#0f172a;
}
.ok, .warn {
  font-size: .85rem; font-weight: 800;
  padding: .25rem .55rem; border-radius: 999px;
}
.ok { background: rgba(22,163,74,.12); color:#166534; }
.warn { background: rgba(245,158,11,.15); color:#92400e; }

.progress {
  height: 10px; border-radius: 999px;
  background: rgba(15,23,42,.08);
  overflow:hidden;
}
.progress__bar { height: 100%; background: #16a34a; border-radius: 999px; }

.deviceCard__note { color:#475569; font-size: .92rem; }
.floating{
  position:absolute;
  padding: .55rem .7rem;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(15,23,42,.10);
  box-shadow: 0 14px 30px rgba(2,6,23,.10);
  font-weight: 800;
  font-size: .9rem;
}
.floating--1 { top: 18px; right: -10px; }
.floating--2 { bottom: 70px; left: -14px; }
.floating--3 { bottom: 12px; right: 16px; }

/* ===== Trust ===== */
.trust { padding: 22px 0 10px; }
.trust__grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.trust__item{
  display:flex; gap: 12px; align-items:flex-start;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(15,23,42,.08);
  background: white;
}
.trust__icon{
  width: 40px; height: 40px; border-radius: 14px;
  display:grid; place-items:center;
  background: rgba(14,165,233,.12);
}
.trust__title { font-weight: 900; }

/* ===== Sections ===== */
.section { padding: 64px 0; }
.section--soft { background: rgba(2,6,23,.03); }
.section__head { margin-bottom: 22px; }
.section__head h2 { margin: 0 0 8px; font-size: 2rem; letter-spacing: -.3px; }

/* ===== Cards ===== */
.cards {
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.card{
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(15,23,42,.10);
  background: white;
  box-shadow: 0 12px 30px rgba(2,6,23,.06);
}
.card__icon{
  width: 44px; height: 44px;
  border-radius: 16px;
  display:grid; place-items:center;
  background: rgba(22,163,74,.12);
  margin-bottom: 10px;
}
.card h3 { margin: 0 0 8px; font-size: 1.15rem; }
.list { margin: 12px 0 0; padding-left: 18px; color:#334155; }
.list li { margin: 7px 0; }

/* ===== Engagement layout ===== */
.twoCols {
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 16px;
  align-items: start;
}
.checks { margin-top: 14px; display:grid; gap: 10px; }
.check { padding: 12px 14px; border-radius: 16px; background: white; border: 1px solid rgba(15,23,42,.10); }

.panel {
  padding: 18px;
  border-radius: 18px;
  background: white;
  border: 1px solid rgba(15,23,42,.10);
  box-shadow: 0 12px 30px rgba(2,6,23,.06);
}
.panel h3 { margin: 0 0 10px; }
.panel__row { display:flex; justify-content:space-between; padding: 10px 0; border-bottom: 1px dashed rgba(15,23,42,.12); }
.panel__row:last-of-type { border-bottom: none; }
.panel__label { font-weight: 800; color:#0f172a; }
.panel__value { color:#475569; font-weight: 700; }
.panel__cta { margin-top: 12px; }

/* ===== Pricing ===== */
.pricing{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
}
.priceCard{
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(15,23,42,.10);
  background: white;
  box-shadow: 0 12px 30px rgba(2,6,23,.06);
}
.priceCard__top { margin-bottom: 10px; }
.price { font-size: 1.7rem; font-weight: 950; letter-spacing: -.3px; }
.priceCard--featured{
  border-color: rgba(22,163,74,.35);
  box-shadow: 0 20px 60px rgba(22,163,74,.14);
}

/* ===== FAQ ===== */
.faq { display:grid; gap: 10px; }
.faq__item{
  border-radius: 16px;
  border: 1px solid rgba(15,23,42,.10);
  background: white;
  padding: 12px 14px;
}
.faq__item summary { cursor:pointer; font-weight: 900; }
.faq__item p { margin: 10px 0 0; color:#334155; }

/* ===== Contact ===== */
.contactGrid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 14px;
  align-items: start;
}
.form{
  background: white;
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 12px 30px rgba(2,6,23,.06);
}
.form label{ display:block; font-weight: 800; color:#0f172a; margin-bottom: 10px; }
.form input, .form textarea{
  width: 100%;
  margin-top: 6px;
  padding: .85rem .9rem;
  border-radius: 12px;
  border: 1px solid rgba(15,23,42,.14);
  outline: none;
  font: inherit;
}
.form input:focus, .form textarea:focus{
  border-color: rgba(22,163,74,.65);
  box-shadow: 0 0 0 4px rgba(22,163,74,.12);
}
.form__row{ display:grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.checkbox{ display:flex; align-items:flex-start; gap: 10px; font-weight: 700; color:#334155; }
.checkbox input{ width: 18px; height: 18px; margin-top: 2px; }
.error {
  border-color: rgba(239,68,68,.75) !important;
  box-shadow: 0 0 0 4px rgba(239,68,68,.12) !important;
}
.sideCard{
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(15,23,42,.10);
  background: white;
  box-shadow: 0 12px 30px rgba(2,6,23,.06);
}
.sideCard h3 { margin: 0 0 10px; }
.sideCard__item{ display:flex; gap: 10px; padding: 10px 0; border-bottom: 1px dashed rgba(15,23,42,.12); }
.sideCard__item:last-of-type { border-bottom: none; }
.sideCard__note{ margin-top: 12px; padding: 12px; border-radius: 14px; background: rgba(14,165,233,.10); border: 1px solid rgba(14,165,233,.20); color:#0f172a; }

/* ===== Footer ===== */
.footer{
  padding: 30px 0;
  border-top: 1px solid rgba(15,23,42,.08);
  background: #ffffff;
}
.footer__inner{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 14px;
  align-items: start;
}
.footer__links{ display:flex; flex-wrap:wrap; gap: 12px; justify-content: flex-end; }
.footer__bottom{ margin-top: 10px; }

/* ===== ToTop ===== */
.toTop{
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display:grid;
  place-items:center;
  background: white;
  border: 1px solid rgba(15,23,42,.12);
  box-shadow: 0 18px 40px rgba(2,6,23,.12);
}

/* ===== Responsive ===== */
@media (max-width: 980px){
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { min-height: 320px; }
  .cards, .pricing, .trust__grid { grid-template-columns: 1fr; }
  .twoCols, .contactGrid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__links { justify-content: flex-start; }
}

/* ===== Mobile menu ===== */
@media (max-width: 760px){
  .nav__toggle{ display:block; }
  .nav__menu{
    position: absolute;
    right: 20px;
    top: 64px;
    width: min(320px, calc(100% - 40px));
    background: white;
    border: 1px solid rgba(15,23,42,.10);
    border-radius: 16px;
    padding: 12px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    box-shadow: 0 18px 50px rgba(2,6,23,.14);
  }
  .nav__menu.is-open { display:flex; }
  .nav__menu li a { padding: 10px 10px; display:block; border-radius: 12px; }
  .nav__menu li a:hover { background: rgba(2,6,23,.04); }
}

button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}