:root {
  --bg: #08111d;
  --surface: #0f1b2b;
  --surface-2: #15273b;
  --text: #e8f0fb;
  --muted: #9fb2c9;
  --primary: #1f7ae0;
  --primary-ink: #f1f7ff;
  --accent: #44a2ff;
  --line: #23384e;
  --shadow: 0 18px 42px rgba(2, 8, 16, 0.55);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", "Segoe UI", sans-serif;
}

h1,
h2,
h3 {
  font-family: "Sora", "Manrope", sans-serif;
  margin-top: 0;
}

p {
  margin-top: 0;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 17, 29, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.brand {
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  transition: transform 0.2s ease;
}

.brand span {
  color: var(--accent);
}

.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 0.5rem;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: 0 6px 14px rgba(3, 10, 20, 0.35);
  filter: brightness(1.18) contrast(1.12) saturate(1.1);
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.brand-text {
  color: var(--text);
  display: inline-flex;
  flex-direction: column;
  line-height: 1.05;
  gap: 0.25rem;
}

.brand-text strong {
  font-size: 1.25rem;
  letter-spacing: 0.03em;
}

.section {
  padding: 5rem 0;
}

.alt {
  background: linear-gradient(180deg, #0c1728, #0a1522);
}

.hero {
  padding: 5.5rem 0 4rem;
  background:
    radial-gradient(circle at 88% 20%, rgba(68, 162, 255, 0.2), transparent 32%),
    radial-gradient(circle at 14% 18%, rgba(31, 122, 224, 0.22), transparent 28%),
    var(--bg);
}

.hero-grid,
.split {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

h1 {
  font-size: clamp(1.9rem, 3.4vw, 2.85rem);
  line-height: 1.12;
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.85rem);
  line-height: 1.2;
  margin-bottom: 0.95rem;
}

h3 {
  font-size: 1.22rem;
  margin-bottom: 0.55rem;
}

.eyebrow {
  color: var(--accent);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.lead,
.section-intro,
.card p,
.step-list p,
.founder-card p,
.hero-panel p,
.module-card p,
.price-card p,
.faq-list p {
  color: var(--muted);
}

.lead,
.section-intro {
  font-size: 1.06rem;
  max-width: 68ch;
}

.microcopy {
  margin-top: 1.1rem;
  color: #9fb6d3;
  font-weight: 700;
  font-size: 0.9rem;
}

.btn {
  display: inline-block;
  text-decoration: none;
  padding: 0.85rem 1.15rem;
  border-radius: 0.68rem;
  font-weight: 800;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

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

.btn-primary {
  background: var(--primary);
  color: var(--primary-ink);
  box-shadow: 0 10px 20px rgba(31, 122, 224, 0.28);
}

.btn-primary:hover {
  background: #165faa;
}

.btn-secondary {
  background: rgba(18, 35, 52, 0.72);
  color: var(--text);
  border: 1px solid #355578;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.6rem 0 1rem;
}

.hero-cta.center {
  justify-content: center;
}

.hero-panel,
.card,
.module-card,
.price-card,
.founder-card,
.cta-box,
.quote {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: var(--shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.hero-panel {
  padding: 1.4rem;
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.panel-title {
  font-weight: 800;
  margin: 0;
}

.panel-badge {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a8c7e8;
  border: 1px solid #355578;
  padding: 0.3rem 0.5rem;
  border-radius: 999px;
}

.panel-note {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid #23384e;
  color: #9fb2c9;
  font-size: 0.9rem;
}

.savings-demo {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: var(--shadow);
  padding: 1.2rem;
  display: grid;
  gap: 1rem;
}

.savings-stack {
  display: grid;
  gap: 1rem;
}

.savings-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
}

.savings-tab {
  border: 1px solid #355578;
  background: rgba(16, 30, 46, 0.8);
  color: var(--text);
  border-radius: 0.65rem;
  padding: 0.55rem 0.4rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.savings-tab.active {
  background: #1b3a5c;
  border-color: #4d7aa3;
  color: #d9ecff;
}

.savings-card {
  background: var(--surface-2);
  border-radius: 0.9rem;
  padding: 1rem;
}

.savings-label {
  color: #b2c7de;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.savings-card strong {
  display: block;
  font-size: 1.6rem;
  color: #9fd0ff;
  margin-bottom: 0.4rem;
}

.hero-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1rem;
}

.hero-kpis div {
  background: var(--surface-2);
  border-radius: 0.8rem;
  padding: 0.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.hero-kpis strong {
  display: block;
  font-size: 1.55rem;
  color: var(--accent);
  margin-bottom: 0.2rem;
}

.hero-kpis span {
  font-size: 0.88rem;
  color: #afc2d9;
}

.list-check {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-check li {
  position: relative;
  padding-left: 1.55rem;
  margin-bottom: 0.55rem;
  color: var(--muted);
}

.list-check li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 800;
}

.cards {
  display: grid;
  gap: 1rem;
  margin-top: 1.4rem;
}

.cards.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  padding: 1.25rem;
}

.step-list {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.step-list article {
  padding: 0.9rem 1rem;
  border-radius: 0.85rem;
  border: 1px solid #2f5375;
  background: rgba(16, 30, 46, 0.6);
}

.step-list strong {
  display: block;
  margin-bottom: 0.35rem;
  color: #9fd0ff;
}

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

.module-card {
  padding: 1rem;
}

.module-card h3 {
  color: #9fd0ff;
}

.founder-grid {
  align-items: stretch;
}

.founder-card {
  padding: 1.25rem;
}

.quote {
  align-self: center;
  padding: 1.4rem;
  font-size: 1.1rem;
  line-height: 1.45;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 1.8rem auto 0;
  max-width: 920px;
  justify-content: center;
}

.price-card {
  padding: 1.4rem;
  display: grid;
  gap: 1rem;
}

.price-card.highlight {
  border-color: #3f78b4;
  background: linear-gradient(180deg, rgba(18, 42, 68, 0.95), rgba(13, 28, 45, 0.95));
  box-shadow: 0 22px 46px rgba(2, 10, 20, 0.6);
}

.price-head {
  display: grid;
  gap: 0.4rem;
}

.price-tag {
  color: #9fd0ff;
  font-weight: 800;
}

.pricing-note {
  margin-top: 1rem;
  color: #9fb2c9;
}

.cta-box,
.final-cta {
  text-align: center;
}

.cta-box {
  padding: 2rem;
}

.contact-form {
  margin-top: 1.4rem;
  text-align: left;
}

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

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

.contact-grid label {
  display: block;
  margin-bottom: 0.35rem;
  color: #b2c7de;
  font-size: 0.88rem;
  font-weight: 700;
}

.contact-grid input,
.contact-grid textarea {
  width: 100%;
  border: 1px solid #355578;
  border-radius: 0.65rem;
  padding: 0.7rem 0.78rem;
  font: inherit;
  color: var(--text);
  background: #0b1a2a;
}

.contact-grid textarea {
  resize: vertical;
}

.contact-grid input:focus,
.contact-grid textarea:focus {
  outline: none;
  border-color: #44a2ff;
  box-shadow: 0 0 0 3px rgba(68, 162, 255, 0.14);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.form-feedback {
  margin: 0.85rem 0 0;
  min-height: 1.2rem;
  color: #80d7a6;
  font-weight: 600;
}

.form-feedback.error {
  color: #ff8f8f;
}

.faq-list {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.faq-list details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  padding: 0.9rem 1rem;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.final-cta h2 {
  max-width: 24ch;
  margin-left: auto;
  margin-right: auto;
}

.final-cta p {
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #09121f;
}

.footer-content {
  padding: 1.2rem 0 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-content p {
  margin: 0;
  color: var(--muted);
}

.footer-brand .brand-logo {
  width: 36px;
  height: 36px;
}

.whatsapp-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  background: #16a34a;
  color: #f4fff8;
  text-decoration: none;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 14px 28px rgba(3, 20, 9, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.chat-widget {
  position: fixed;
  right: 1rem;
  bottom: 4.75rem;
  z-index: 200;
  font-family: inherit;
}

.chat-trigger {
  border: none;
  background: #1f7ae0;
  color: #f1f7ff;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(5, 25, 50, 0.45);
}

.chat-panel {
  position: absolute;
  right: 0;
  bottom: 3.2rem;
  width: min(360px, 86vw);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
}

.chat-panel[aria-hidden="true"] {
  display: none;
}

.chat-header {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-header span {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  margin-top: 0.2rem;
}

.chat-close {
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 1.4rem;
  cursor: pointer;
}

.chat-body {
  padding: 0.9rem 1rem;
  display: grid;
  gap: 0.6rem;
  max-height: 320px;
  overflow-y: auto;
}

.chat-bubble {
  padding: 0.7rem 0.85rem;
  border-radius: 0.8rem;
  font-size: 0.92rem;
  line-height: 1.35;
}

.chat-bubble.bot {
  background: rgba(24, 46, 72, 0.75);
  color: #d9e9ff;
  justify-self: start;
}

.chat-bubble.user {
  background: #1f7ae0;
  color: #f1f7ff;
  justify-self: end;
}

.chat-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
  padding: 0.8rem 1rem 1rem;
  border-top: 1px solid var(--line);
}

.chat-form input {
  border-radius: 0.65rem;
  border: 1px solid #355578;
  background: #0b1a2a;
  color: var(--text);
  padding: 0.6rem 0.7rem;
  font: inherit;
}

.chat-form input:focus {
  outline: none;
  border-color: #44a2ff;
  box-shadow: 0 0 0 3px rgba(68, 162, 255, 0.14);
}

.chat-form button {
  border: none;
  border-radius: 0.65rem;
  padding: 0.6rem 0.9rem;
  background: var(--accent);
  color: #08111d;
  font-weight: 800;
  cursor: pointer;
}

@media (hover: hover) and (pointer: fine) {
  .brand:hover {
    transform: translateY(-1px);
  }

  .brand:hover .brand-logo {
    transform: translateY(-1px) scale(1.04);
    box-shadow: 0 10px 20px rgba(3, 10, 20, 0.48);
    filter: brightness(1.24) contrast(1.15) saturate(1.14);
  }

  .card:hover,
  .module-card:hover,
  .hero-panel:hover,
  .price-card:hover,
  .founder-card:hover,
  .quote:hover,
  .cta-box:hover {
    transform: translateY(-4px);
    border-color: #35658f;
    box-shadow: 0 20px 40px rgba(2, 8, 16, 0.62);
  }

  .hero-kpis div:hover {
    transform: translateY(-3px);
    background: #1a3048;
    box-shadow: 0 10px 22px rgba(3, 12, 24, 0.45);
  }

  .savings-tab:hover {
    transform: translateY(-2px);
    border-color: #4d7aa3;
    background: rgba(28, 52, 78, 0.88);
  }

  .btn-primary:hover {
    box-shadow: 0 14px 26px rgba(31, 122, 224, 0.35);
  }

  .btn-secondary:hover {
    border-color: #4d7aa3;
    background: rgba(28, 52, 78, 0.88);
  }

  .whatsapp-float:hover {
    transform: translateY(-2px);
    filter: brightness(1.06);
    box-shadow: 0 18px 32px rgba(3, 20, 9, 0.58);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .split,
  .cards.four,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .module-grid {
    grid-template-columns: 1fr;
  }

  .savings-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section {
    padding: 4rem 0;
  }

  .footer-content {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 4.4rem;
  }

  .hero-kpis {
    grid-template-columns: 1fr;
  }

  .savings-tabs {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .nav .btn {
    padding: 0.72rem 0.8rem;
    font-size: 0.92rem;
  }

  .brand-logo {
    width: 42px;
    height: 42px;
  }

  .brand-text {
    gap: 0.15rem;
  }

  .brand-text strong {
    font-size: 0.8rem;
  }

  .whatsapp-float {
    right: 0.75rem;
    bottom: 0.75rem;
  }
}
