:root {
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --dark: #1e293b;
  --darker: #0f172a;
  --light: #f8fafc;
  --gray: #64748b;
  --line: #e2e8f0;
  --green: #25d366;
  --green-dark: #128c7e;
  --accent: #10b981;
  --gradient: linear-gradient(135deg, #2563eb, #0f172a);
  --soft-gradient: linear-gradient(135deg, #eff6ff, #f0fdf4);
  --shadow: 0 20px 50px rgba(15, 23, 42, 0.1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Poppins, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--dark);
  line-height: 1.6;
  background: #fff;
  overflow-x: hidden;
}
a { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.container { width: min(1140px, calc(100% - 32px)); margin: 0 auto; }
section { padding: 80px 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.96);
  box-shadow: 0 2px 15px rgba(0,0,0,0.08);
  backdrop-filter: blur(10px);
}
.nav-shell { min-height: 76px; display: flex; align-items: center; gap: 24px; }
.brand {
  display: grid;
  grid-template-columns: 46px 1fr;
  column-gap: 10px;
  align-items: center;
  text-decoration: none;
  line-height: 1;
  margin-right: auto;
}
.brand-logo {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #062f29;
  box-shadow: 0 12px 26px rgba(7,94,84,0.18), inset 0 0 0 1px rgba(255,255,255,0.16);
}
.brand-logo svg {
  width: 37px;
  height: 37px;
}
.brand-name {
  display: block;
  font-size: 1.42rem;
  font-weight: 800;
  letter-spacing: 0;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand-tag { display: block; margin-top: 2px; color: var(--gray); font-size: 0.62rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 18px; }
.site-nav a { position: relative; color: var(--dark); text-decoration: none; font-size: 0.95rem; font-weight: 500; }
.site-nav a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--blue); transition: width 0.25s ease; }
.site-nav a:hover, .site-nav a.active { color: var(--blue); }
.site-nav a:hover::after, .site-nav a.active::after { width: 100%; }
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.header-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(37,99,235,0.25); }
.nav-toggle { display: none; border: 0; background: #eff6ff; border-radius: 8px; padding: 10px; }
.nav-toggle span:not(.sr-only) { display: block; width: 22px; height: 2px; margin: 4px; background: var(--blue); }

.hero-section {
  position: relative;
  overflow: hidden;
  padding: 96px 0 82px;
  text-align: center;
  color: #fff;
  background: var(--gradient);
}
.hero-section::before,
.demo-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 28%, rgba(16,185,129,0.17), transparent 42%),
    radial-gradient(circle at 80% 72%, rgba(37,99,235,0.25), transparent 46%);
}
.hero-inner, .demo-section .container { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  padding: 7px 16px;
  border: 1px solid rgba(16,185,129,0.34);
  border-radius: 999px;
  background: rgba(16,185,129,0.14);
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 600;
}
.pulse { width: 8px; height: 8px; border-radius: 999px; background: var(--accent); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }
.hero-section h1 { margin: 0 auto 22px; max-width: 920px; font-size: clamp(2.15rem, 5vw, 3.7rem); line-height: 1.14; font-weight: 800; }
.hero-section h1 span { padding: 0 8px; background: linear-gradient(120deg, transparent 0 52%, rgba(16,185,129,0.42) 52% 100%); }
.subtitle { max-width: 770px; margin: 0 auto 34px; color: rgba(255,255,255,0.9); font-size: 1.17rem; }
.hero-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 24px;
  border-radius: 12px;
  border: 0;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.btn:hover { transform: translateY(-3px); }
.btn-green { background: var(--green); color: #fff; box-shadow: 0 10px 28px rgba(37,211,102,0.35); }
.btn-green:hover { background: var(--green-dark); box-shadow: 0 14px 36px rgba(37,211,102,0.48); }
.btn-outline { border: 2px solid rgba(255,255,255,0.32); color: #fff; background: transparent; }
.btn-outline:hover { background: rgba(255,255,255,0.1); }
.btn-blue { background: var(--blue); color: #fff; }
.big { padding-inline: 32px; min-height: 58px; font-size: 1.05rem; }
.hero-trust { margin-top: 42px; color: rgba(255,255,255,0.78); font-size: 0.92rem; }
.hero-trust span { margin: 0 14px; }

.pain-section, .how-section, .why-section, .contact-section { background: var(--light); }
.section-eyebrow { margin: 0 0 8px; text-align: center; color: var(--blue); font-size: 0.88rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.section-eyebrow.left, .section-title.left { text-align: left; }
.section-title { max-width: 860px; margin: 0 auto 14px; color: var(--darker); text-align: center; font-size: clamp(1.9rem, 3vw, 2.65rem); line-height: 1.18; font-weight: 800; }
.section-subtitle { max-width: 740px; margin: 0 auto 46px; color: var(--gray); text-align: center; font-size: 1.06rem; }
.card-grid { display: grid; gap: 22px; }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.pain-card, .solution-card, .contact-card, .version-card, .promise, .faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(15,23,42,0.04);
}
.pain-card, .solution-card, .version-card { padding: 28px; transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; }
.pain-card:hover, .solution-card:hover, .version-card:hover { transform: translateY(-7px); border-color: var(--blue); box-shadow: var(--shadow); }
.icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: var(--soft-gradient);
  color: var(--blue);
  font-weight: 800;
}
.icon.danger { background: linear-gradient(135deg, #fee2e2, #fecaca); color: #dc2626; }
h3 { margin: 0 0 10px; color: var(--darker); font-size: 1.15rem; line-height: 1.25; }
p { margin-top: 0; }
.pain-card p, .solution-card p, .version-card p, .how-step p, .why-feature p, .promise p, .faq-item p, .contact-card p { color: var(--gray); }

.rubro-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 30px;
  padding: 28px;
  border-radius: 20px;
  background: var(--soft-gradient);
}
.rubro-panel h3 { font-size: 1.35rem; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.tags span { padding: 8px 12px; border-radius: 999px; background: #fff; color: var(--blue); font-size: 0.88rem; font-weight: 700; box-shadow: 0 6px 18px rgba(37,99,235,0.08); }
.solution-card { position: relative; overflow: hidden; }
.solution-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--gradient); opacity: 0; transition: opacity 0.25s ease; }
.solution-card:hover::before { opacity: 1; }
.target { color: var(--blue) !important; font-size: 0.87rem; font-weight: 700; }
.solution-card ul { margin: 0; padding-left: 0; list-style: none; }
.solution-card li { position: relative; padding: 6px 0 6px 24px; color: var(--dark); font-size: 0.93rem; }
.solution-card li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }

.demo-section {
  position: relative;
  overflow: hidden;
  text-align: center;
  color: #fff;
  background: var(--gradient);
}
.demo-section .section-eyebrow { color: var(--accent); }
.demo-section .section-title { color: #fff; }
.demo-section .section-subtitle { color: rgba(255,255,255,0.84); }
.demo-box {
  max-width: 720px;
  margin: 0 auto;
  padding: 42px 30px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 24px;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
}
.demo-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 30px; }
.demo-steps span, .how-step span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
}
.demo-steps p { margin: 0; color: rgba(255,255,255,0.86); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; }
.how-step span { width: 78px; height: 78px; margin-bottom: 22px; background: var(--gradient); font-size: 1.7rem; box-shadow: 0 10px 28px rgba(37,99,235,0.3); }

.version-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-bottom: 34px; }
.version-card span { display: inline-block; margin-bottom: 14px; padding: 7px 14px; border-radius: 999px; background: #e0f2fe; color: var(--blue); font-weight: 800; }
.version-card.featured { border-color: var(--blue); transform: scale(1.02); box-shadow: 0 24px 55px rgba(37,99,235,0.12); }
.version-card.featured span { background: var(--gradient); color: #fff; }
.price-table { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
.price-row { display: grid; grid-template-columns: 1.5fr 0.7fr 0.8fr 0.6fr; gap: 14px; align-items: center; padding: 18px 20px; border-bottom: 1px solid #f1f5f9; }
.price-row:last-child { border-bottom: 0; }
.price-row.head { background: var(--gradient); color: #fff; font-weight: 800; }
.price-row small { display: block; color: var(--gray); margin-top: 2px; }
.price-row a { padding: 9px 12px; border-radius: 9px; background: var(--blue); color: #fff; text-align: center; text-decoration: none; font-size: 0.9rem; font-weight: 700; }
.promise { max-width: 830px; margin: 34px auto 0; padding: 28px; text-align: center; background: var(--soft-gradient); }

.why-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.why-feature { display: flex; gap: 18px; margin-top: 22px; }
.why-feature span, .contact-item span {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--soft-gradient);
  color: var(--blue);
  font-weight: 800;
}
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.stats div { min-height: 150px; display: grid; place-items: center; text-align: center; padding: 24px; border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
.stats div:first-child { grid-column: 1 / -1; }
.stats strong { color: var(--blue); font-size: 2.7rem; line-height: 1; }
.stats span { color: var(--gray); font-size: 0.9rem; }

.narrow { max-width: 860px; }
.faq-list { display: grid; gap: 14px; }
.faq-item { overflow: hidden; }
.faq-item button {
  width: 100%;
  padding: 20px 24px;
  border: 0;
  background: #fff;
  color: var(--darker);
  text-align: left;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.faq-item button::after { content: "+"; float: right; color: var(--blue); font-size: 1.35rem; line-height: 1; transition: transform 0.2s ease; }
.faq-item.active button::after { transform: rotate(45deg); }
.faq-item div { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.faq-item.active div { max-height: 180px; }
.faq-item p { padding: 0 24px 22px; margin: 0; }

.final-cta { text-align: center; color: #fff; background: var(--gradient); }
.final-cta h2 { margin: 0 auto 12px; max-width: 760px; font-size: clamp(2rem, 3vw, 2.7rem); line-height: 1.15; }
.final-cta p { max-width: 650px; margin: 0 auto 26px; color: rgba(255,255,255,0.84); }

.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 28px; }
.contact-card { padding: 30px; }
.contact-item { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid #f1f5f9; }
.contact-item:last-child { border-bottom: 0; }
.contact-item a { display: block; color: var(--blue); text-decoration: none; font-weight: 700; }
.contact-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.field.full, .contact-form .full, .form-feedback { grid-column: 1 / -1; }
label { display: block; margin-bottom: 7px; color: var(--darker); font-weight: 600; }
input, textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font: inherit;
}
textarea { resize: vertical; }
.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.form-feedback { margin: 0; color: var(--blue); font-weight: 700; }

.site-footer { padding: 58px 0 24px; background: var(--darker); color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 0.7fr); gap: 34px; }
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 1.42rem;
  font-weight: 800;
}
.footer-brand-logo {
  width: 42px;
  height: 42px;
}
.footer-brand-logo svg {
  width: 35px;
  height: 35px;
}
.site-footer p { color: rgba(255,255,255,0.68); }
.site-footer h3 { color: #fff; font-size: 1rem; }
.site-footer a { display: block; margin: 8px 0; color: rgba(255,255,255,0.66); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-bottom { margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.12); color: rgba(255,255,255,0.6); text-align: center; font-size: 0.9rem; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .site-nav, .header-cta { display: none; }
  .nav-toggle { display: block; }
  .nav-shell { position: relative; }
  .site-nav.open {
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--shadow);
  }
  .site-nav.open a { padding: 12px; }
  .card-grid.four, .card-grid.three, .why-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr 1fr; }
  .rubro-panel, .version-cards { grid-template-columns: 1fr; }
  .tags { justify-content: flex-start; }
}

@media (max-width: 720px) {
  section { padding: 58px 0; }
  .hero-section { padding: 72px 0 62px; }
  .hero-actions, .hero-trust span { display: grid; }
  .hero-trust span { margin: 6px 0; }
  .card-grid.four, .card-grid.three, .steps, .demo-steps, .why-grid, .stats, .contact-grid, .contact-form, .footer-grid { grid-template-columns: 1fr; }
  .price-table { display: grid; gap: 14px; border: 0; background: transparent; box-shadow: none; }
  .price-row, .price-row.head { grid-template-columns: 1fr; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--dark); }
  .price-row.head { display: none; }
  .btn { width: 100%; }
}
