:root {
  --bg: #f7f9fc;
  --text: #111827;
  --muted: #5d6b82;
  --primary: #0f62fe;
  --primary-dark: #0847ba;
  --accent: #10b981;
  --warning: #f59e0b;
  --line: #dce3ee;
  --surface: #ffffff;
  --surface-2: #eef3f8;
  --ink: #0b1220;
  --shadow: 0 18px 44px rgba(15, 23, 42, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1160px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 249, 252, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.28);
}

.nav-wrap {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-logo {
  width: auto;
  height: 38px;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.35rem;
  flex: 1;
  margin: 0 1rem;
}

.nav-links a {
  color: #334155;
  font-size: 0.92rem;
  font-weight: 650;
}

.nav-links .login-btn {
  color: #ffffff;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links .login-btn:hover {
  color: #ffffff;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-left: auto;
}

.login-btn,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 42px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 700;
  line-height: 1.1;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.login-btn {
  padding: 0.65rem 0.95rem;
  background: var(--ink);
  color: #ffffff;
  font-size: 0.86rem;
  white-space: nowrap;
}

.login-btn svg {
  width: 14px;
  height: 14px;
}

.login-btn:hover,
.btn:hover {
  transform: translateY(-2px);
}

.mobile-login {
  display: none;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--text);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
}

.btn {
  padding: 0.78rem 1.08rem;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(15, 98, 254, 0.24);
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-outline,
.btn-light {
  border-color: #cbd5e1;
  background: #ffffff;
  color: #182235;
}

.hero {
  position: relative;
  isolation: isolate;
  padding: 5.2rem 0 4.7rem;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(11, 18, 32, 0.96) 0%, rgba(16, 32, 56, 0.9) 52%, rgba(15, 98, 254, 0.22) 100%),
    url("assets/logo.png") right 8% top 16% / min(480px, 46vw) auto no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(transparent, #000);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.76fr);
  gap: 2.2rem;
  align-items: center;
}

.hero-copy {
  color: #ffffff;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0 0 0.8rem;
  color: var(--primary);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #93c5fd;
}

h1,
h2,
h3 {
  margin: 0 0 0.75rem;
  line-height: 1.14;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  font-size: clamp(2.45rem, 5vw, 4.6rem);
}

h2 {
  font-size: clamp(1.65rem, 3vw, 2.5rem);
}

.lead {
  max-width: 62ch;
  margin: 0;
  color: #cbd5e1;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.55rem;
}

.hero .btn-light {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.26);
  color: #ffffff;
}

.hero-callout {
  margin: 1rem 0 0;
  color: #dbeafe;
  font-weight: 700;
}

.hero-callout i,
.hero-trust i {
  color: var(--accent);
  margin-right: 0.35rem;
}

.hero-callout a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.35rem;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  padding: 0.46rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  color: #e2e8f0;
  font-size: 0.9rem;
  font-weight: 650;
}

.hero-card {
  align-self: stretch;
}

.dashboard-card {
  position: relative;
  min-height: 420px;
  height: 100%;
  padding: 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.dashboard-card::before {
  content: "";
  display: block;
  height: 168px;
  margin: -1.15rem -1.15rem 1rem;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.2), rgba(15, 98, 254, 0.12)),
    repeating-linear-gradient(90deg, #111827 0 28px, #1f2937 28px 31px);
}

.camera-strip {
  position: absolute;
  top: 1rem;
  left: 1rem;
  right: 1rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.62rem 0.72rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(5, 12, 25, 0.76);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
}

.camera-strip strong {
  margin-left: auto;
  color: #fecaca;
  font-size: 0.74rem;
}

.camera-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 0 5px rgba(239, 68, 68, 0.18);
}

.dashboard-card h3 {
  font-size: 1.1rem;
}

.dashboard-card ul {
  list-style: none;
  margin: 1rem 0;
  padding: 0;
}

.dashboard-card li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.72rem 0;
  border-bottom: 1px solid #e5eaf2;
}

.dashboard-card li:last-child {
  border-bottom: 0;
}

.dashboard-card strong {
  color: var(--primary);
}

.roles {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.roles span {
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  color: #344256;
  font-size: 0.82rem;
  font-weight: 700;
}

.section {
  padding: 4.8rem 0;
}

.section.alt {
  background: var(--surface-2);
}

.section-head {
  max-width: 720px;
  margin-bottom: 2rem;
}

.section-head p {
  color: var(--muted);
  margin: 0.4rem 0 0;
}

.grid,
.steps,
.mockup-grid,
.industry-grid,
.pricing-grid,
.contact-wrap,
.demo-feature-grid,
.demo-stats,
.form-grid {
  display: grid;
}

.cards-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card,
.step,
.mockup-card,
.industry,
.price-card,
.demo-info,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.card,
.step,
.price-card {
  padding: 1.25rem;
}

.card,
.price-card,
.demo-info,
.contact-form {
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.card {
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: #b8c5d8;
  box-shadow: var(--shadow);
}

.card i,
.industry i,
.plan-tag i,
.scan-panel i,
.demo-feature-card i {
  color: var(--primary);
}

.card i {
  margin-bottom: 0.8rem;
  font-size: 1.22rem;
}

.card p,
.step p,
.about p {
  color: var(--muted);
  margin: 0;
}

.steps {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.step {
  position: relative;
  overflow: hidden;
}

.step::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--primary);
}

.step-num {
  display: inline-block;
  margin-bottom: 0.35rem;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 800;
}

.mockup-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.mockup-card {
  overflow: hidden;
  box-shadow: var(--shadow);
}

.mockup-top {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.72rem 0.9rem;
  border-bottom: 1px solid var(--line);
  background: #0f172a;
  color: #ffffff;
}

.mockup-top p {
  margin: 0 0 0 0.55rem;
  color: #e2e8f0;
  font-size: 0.88rem;
  font-weight: 750;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #94a3b8;
}

.dot:first-child {
  background: #ef4444;
}

.dot:nth-child(2) {
  background: #f59e0b;
}

.dot:nth-child(3) {
  background: #22c55e;
}

.mockup-body {
  padding: 1rem;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin-bottom: 0.95rem;
}

.mini-stat,
.chart-row,
.scan-panel,
.task,
.demo-feature-card,
.demo-stats div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
}

.mini-stat {
  padding: 0.75rem;
}

.mini-stat small {
  display: block;
  margin-bottom: 0.2rem;
  color: #64748b;
}

.mini-stat strong {
  font-size: 1.12rem;
}

.chart-row {
  padding: 0.85rem;
}

.bars {
  display: flex;
  align-items: flex-end;
  gap: 0.45rem;
  min-height: 110px;
  margin-bottom: 0.75rem;
}

.bars span {
  display: block;
  width: 16%;
  border-radius: 5px 5px 2px 2px;
  background: linear-gradient(180deg, var(--accent), var(--primary));
}

.legend {
  display: grid;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  color: #475569;
  font-size: 0.86rem;
  list-style: none;
}

.legend i {
  margin-right: 0.35rem;
  color: var(--primary);
  font-size: 0.5rem;
}

.operator-body {
  display: grid;
  gap: 0.9rem;
}

.scan-panel,
.task {
  padding: 0.85rem;
}

.panel-title {
  margin: 0 0 0.2rem;
  color: #64748b;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.scan-panel h4,
.scan-panel p {
  margin: 0.34rem 0;
}

.scan-panel p,
.task {
  color: #42526a;
}

.task-list {
  display: grid;
  gap: 0.45rem;
}

.task.done {
  border-color: #b7e4cd;
  background: #effaf4;
}

.task i {
  margin-right: 0.4rem;
  color: #16824b;
}

.mockup-btn {
  width: 100%;
}

.industry-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.8rem;
}

.industry {
  align-items: center;
  gap: 0.55rem;
  min-height: 78px;
  padding: 0.95rem;
  color: #27364a;
  font-weight: 750;
}

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.price-card {
  position: relative;
}

.price-card.featured {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.plan-tag {
  margin: 0;
  color: #50627a;
  font-size: 0.84rem;
  font-weight: 750;
}

.badge {
  position: absolute;
  top: -12px;
  right: 16px;
  margin: 0;
  padding: 0.24rem 0.65rem;
  border-radius: 999px;
  background: var(--accent);
  color: #052e1b;
  font-size: 0.75rem;
  font-weight: 800;
}

.price {
  margin: 0.65rem 0 0.9rem;
  font-size: 1.45rem;
  font-weight: 850;
}

.price span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.price-card ul {
  margin: 0 0 1rem;
  padding-left: 1rem;
  color: #3d4b60;
}

.about {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 2rem;
  align-items: start;
}

.about p {
  font-size: 1.04rem;
}

.contact-wrap {
  grid-template-columns: 0.92fr 1.08fr;
  gap: 1.25rem;
}

.demo-layout {
  align-items: start;
}

.demo-info {
  display: block;
  padding: 1.35rem;
  align-self: start;
  height: fit-content;
  min-height: 0;
}

.demo-info > p {
  margin: 0;
  color: var(--muted);
}

.demo-feature-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.demo-feature-card {
  padding: 0.72rem 0.8rem;
  color: #27364a;
  font-size: 0.88rem;
  font-weight: 750;
}

.demo-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  margin-bottom: 0.85rem;
}

.demo-stats div {
  padding: 0.7rem;
  text-align: center;
}

.demo-stats strong {
  display: block;
  color: var(--ink);
  font-size: 1.05rem;
}

.demo-stats span {
  color: #64748b;
  font-size: 0.76rem;
}

.sales-cta-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  min-height: 46px;
  padding: 0.8rem 1rem;
  border: 1px solid #bcd0ee;
  border-radius: 8px;
  background: #ffffff;
  color: var(--primary-dark);
  font-weight: 800;
  transition: transform 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.sales-cta-card svg {
  width: 16px;
  height: 16px;
}

.sales-cta-card:hover {
  transform: translateY(-2px);
  background: var(--ink);
  color: #ffffff;
}

.contact-form {
  padding: 1.2rem;
}

.form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.field-full {
  grid-column: 1 / -1;
}

.contact-form label {
  display: block;
  color: #304054;
  font-size: 0.88rem;
  font-weight: 750;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  margin-top: 0.4rem;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 0.76rem 0.82rem;
  background: #ffffff;
  color: var(--text);
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 4px rgba(15, 98, 254, 0.14);
}

.contact-form input.input-invalid {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

.field-error {
  min-height: 1rem;
  margin: 0.32rem 0 0;
  color: #b91c1c;
  font-size: 0.81rem;
  font-weight: 650;
}

.form-msg {
  min-height: 1.2rem;
  margin: 0.65rem 0 0;
  color: #047857;
  font-weight: 750;
}

.form-msg.error {
  color: #b91c1c;
}

.submit-btn {
  min-height: 46px;
  margin-top: 0.3rem;
}

.spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.submit-btn.is-loading .spinner {
  display: inline-block;
}

.submit-btn:disabled {
  opacity: 0.78;
  cursor: not-allowed;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.legal-wrap {
  max-width: 900px;
  margin: 0 auto;
}

.legal-wrap h1 {
  margin-bottom: 0.7rem;
  font-size: 32px;
  font-weight: 750;
}

.legal-tagline {
  margin: 0 0 0.5rem;
  color: #35538e;
  font-weight: 700;
}

.legal-effective {
  margin: 0 0 1rem;
  color: #4e618a;
  font-size: 15px;
}

.legal-section {
  margin-top: 32px;
}

.legal-section h2 {
  margin: 0 0 16px;
  font-size: 20px;
}

.legal-section p,
.legal-section li {
  color: #2d426d;
  font-size: 15px;
  line-height: 1.7;
}

.legal-section p {
  margin: 0 0 16px;
}

.legal-section ul {
  margin: 0;
  padding-left: 1.15rem;
}

.site-footer {
  padding: 1.2rem 0;
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-wrap p {
  margin: 0;
  color: #475569;
}

.footer-links {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}

.footer-links a {
  color: #30445d;
  font-weight: 750;
}

.footer-links a:hover {
  color: var(--primary);
}

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.34);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(37, 211, 102, 0.42);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.12s;
}

.delay-2 {
  transition-delay: 0.22s;
}

@media (max-width: 1024px) {
  .hero-grid,
  .about,
  .contact-wrap {
    grid-template-columns: 1fr;
  }

  .hero-card {
    max-width: 680px;
  }

  .cards-grid,
  .steps,
  .pricing-grid,
  .mockup-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .industry-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex;
  }

  .desktop-login {
    display: none;
  }

  .nav-links {
    position: absolute;
    top: 74px;
    right: 4%;
    left: 4%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    margin: 0;
    padding: 0.85rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .mobile-login {
    display: inline-flex;
    width: 100%;
    margin-top: 0.2rem;
  }

  .hero {
    padding: 4.1rem 0 3.2rem;
    background:
      linear-gradient(115deg, rgba(11, 18, 32, 0.98), rgba(16, 32, 56, 0.96));
  }

  h1 {
    font-size: clamp(2.1rem, 11vw, 3rem);
  }

  .section {
    padding: 3.6rem 0;
  }

  .cards-grid,
  .steps,
  .pricing-grid,
  .industry-grid,
  .mockup-grid,
  .form-grid,
  .demo-feature-grid,
  .demo-stats,
  .stats-row {
    grid-template-columns: 1fr;
  }

  .dashboard-card {
    min-height: 380px;
  }

  .footer-wrap {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .legal-wrap h1 {
    font-size: 26px;
  }

  .legal-section h2 {
    font-size: 18px;
  }

  .legal-section p,
  .legal-section li,
  .legal-effective {
    font-size: 14px;
  }
}

@media (max-width: 560px) {
  .nav-right {
    gap: 0.5rem;
  }

  .brand-logo {
    height: 32px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    width: 50px;
    height: 50px;
  }

  .whatsapp-float svg {
    width: 27px;
    height: 27px;
  }
}
