:root {
  --ink: #121926;
  --muted: #5d6b7a;
  --line: #dbe3ea;
  --paper: #ffffff;
  --soft: #f4f8fb;
  --blue: #1877f2;
  --magenta: #d62976;
  --green: #19a96b;
  --lime: #c8ef5e;
  --violet: #6557ff;
  --shadow: 0 24px 62px rgba(18, 25, 38, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 850;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--magenta));
  border-radius: 8px;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 34px);
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
}

.header-cta,
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 850;
  letter-spacing: 0;
}

.header-cta {
  padding: 0 18px;
  color: white;
  background: var(--ink);
}

.button {
  padding: 0 22px;
  border: 1px solid var(--ink);
}

.button.primary {
  color: white;
  background: var(--ink);
}

.button.secondary {
  color: var(--ink);
  background: white;
}

.hero {
  display: grid;
  min-height: calc(100vh - 74px);
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
  align-items: center;
  gap: clamp(34px, 6vw, 86px);
  padding: clamp(42px, 6vw, 88px) clamp(20px, 5vw, 72px) clamp(36px, 5vw, 68px);
  background:
    linear-gradient(135deg, rgba(24, 119, 242, 0.12), rgba(214, 41, 118, 0.09) 43%, rgba(25, 169, 107, 0.13)),
    var(--paper);
}

.hero-copy {
  max-width: 720px;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--magenta);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(46px, 6.6vw, 88px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(31px, 4vw, 54px);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: 0;
}

.lead {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 23px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.channel-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.channel-list li {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.facebook {
  background: var(--blue);
}

.instagram {
  background: linear-gradient(135deg, #feda75, #d62976, #4f5bd5);
}

.whatsapp {
  background: var(--green);
}

.product-shell {
  position: relative;
  min-height: 610px;
}

.builder-panel,
.chat-panel,
.metrics-panel {
  position: absolute;
  background: white;
  border: 1px solid rgba(18, 25, 38, 0.12);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.builder-panel {
  right: 0;
  top: 10px;
  width: min(560px, 92%);
  padding: 22px;
}

.panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.panel-top div {
  display: grid;
  gap: 4px;
}

.panel-label,
.flow-card span,
.feature-grid article span,
.price-card span,
.metrics-panel span {
  color: var(--muted);
}

.status-pill {
  display: inline-grid;
  min-height: 30px;
  place-items: center;
  padding: 0 12px;
  color: #0a5d3d;
  background: rgba(25, 169, 107, 0.14);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
}

.flow-canvas {
  display: grid;
  gap: 12px;
}

.flow-card {
  position: relative;
  padding: 16px 18px 16px 44px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.flow-card::before {
  position: absolute;
  left: 18px;
  top: 22px;
  width: 12px;
  height: 12px;
  content: "";
  background: var(--violet);
  border-radius: 50%;
}

.flow-card.trigger::before {
  background: var(--magenta);
}

.flow-card strong {
  display: block;
  margin-top: 2px;
}

.flow-card p {
  margin: 7px 0 0;
  color: var(--muted);
}

.chat-panel {
  left: 0;
  top: 92px;
  width: min(310px, 52%);
  padding: 20px;
  transform: rotate(-3deg);
}

.phone-top {
  width: 62px;
  height: 7px;
  margin: 0 auto 22px;
  background: var(--line);
  border-radius: 8px;
}

.message {
  width: 90%;
  padding: 12px 14px;
  margin-bottom: 12px;
  border-radius: 8px;
  font-size: 14px;
}

.message.incoming {
  background: var(--soft);
}

.message.outgoing {
  margin-left: auto;
  color: white;
  background: var(--blue);
}

.reply-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.reply-grid span {
  display: grid;
  min-height: 34px;
  place-items: center;
  background: rgba(200, 239, 94, 0.28);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
}

.metrics-panel {
  right: 38px;
  bottom: 18px;
  display: grid;
  width: min(470px, 76%);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  background: var(--line);
  gap: 1px;
}

.metrics-panel div {
  display: grid;
  gap: 5px;
  padding: 18px;
  background: white;
}

.metrics-panel strong {
  font-size: 28px;
}

.section {
  padding: clamp(56px, 8vw, 104px) clamp(20px, 5vw, 72px);
}

.channels,
.features,
.pricing {
  background: var(--soft);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.channel-grid,
.feature-grid,
.pricing-grid,
.workflow-steps {
  display: grid;
  gap: 18px;
}

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

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

.channel-grid article,
.feature-grid article,
.price-card,
.workflow-steps article,
.automation-board,
.board-column {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.channel-grid article,
.feature-grid article,
.price-card,
.workflow-steps article {
  padding: 26px;
}

.channel-icon {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 18px;
  color: white;
  border-radius: 8px;
  font-weight: 900;
  text-transform: uppercase;
}

.channel-grid p,
.feature-grid p,
.workflow-steps p,
.price-card p,
.site-footer p,
.policy-content p,
.privacy-hero p {
  color: var(--muted);
}

.workflow-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(380px, 1.05fr);
  gap: 24px;
  align-items: start;
}

.workflow-steps {
  grid-template-columns: 1fr;
}

.workflow-steps span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 16px;
  color: white;
  background: var(--ink);
  border-radius: 8px;
  font-weight: 900;
}

.automation-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 16px;
  background: #fbfdff;
}

.board-column {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 360px;
  padding: 16px;
}

.board-column span {
  padding: 12px;
  color: var(--muted);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 750;
}

.feature-grid article span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.price-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
}

.price-card.featured {
  border-color: rgba(24, 119, 242, 0.45);
  box-shadow: var(--shadow);
}

.plan-name {
  margin: 0 0 10px;
  color: var(--blue);
  font-weight: 900;
}

.price-card h3 {
  margin-bottom: 10px;
  font-size: 42px;
}

.price-card h3 span {
  color: var(--muted);
  font-size: 16px;
}

.price-card ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 18px 0 28px;
  list-style: none;
}

.price-card li {
  position: relative;
  padding-left: 24px;
}

.price-card li::before {
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 10px;
  height: 10px;
  content: "";
  background: var(--green);
  border-radius: 50%;
}

.price-card .button {
  margin-top: auto;
}

.pricing-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.contact-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(40px, 6vw, 72px) clamp(20px, 5vw, 72px);
  color: white;
  background: var(--ink);
}

.contact-band .eyebrow,
.contact-band h2 {
  color: white;
}

.contact-band .button.primary {
  color: var(--ink);
  background: var(--lime);
  border-color: var(--lime);
}

.site-footer {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
  padding: 42px clamp(20px, 5vw, 72px);
  background: #0f1722;
  color: white;
}

.footer-brand .brand-mark {
  background: linear-gradient(135deg, var(--lime), var(--green));
}

address,
.footer-links {
  display: grid;
  gap: 8px;
  font-style: normal;
}

.site-footer a,
.site-footer span,
.site-footer p {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer strong {
  color: white;
}

.privacy-hero {
  padding: clamp(56px, 8vw, 104px) clamp(20px, 5vw, 72px) 38px;
  background: linear-gradient(135deg, rgba(24, 119, 242, 0.12), rgba(214, 41, 118, 0.09));
}

.privacy-hero h1 {
  font-size: clamp(44px, 7vw, 82px);
}

.privacy-hero p {
  max-width: 820px;
  font-size: 19px;
}

.policy-content {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 0 72px;
}

.policy-content h2 {
  margin-top: 34px;
  font-size: 28px;
}

.policy-content a {
  color: var(--blue);
  font-weight: 850;
}

@media (max-width: 1020px) {
  .hero,
  .workflow-layout {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .product-shell {
    min-height: 650px;
  }

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

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .channel-grid,
  .pricing-grid,
  .automation-board,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .board-column {
    min-height: auto;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 14px 18px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    padding: 34px 18px 30px;
  }

  h1 {
    font-size: clamp(40px, 13vw, 62px);
  }

  .hero-actions,
  .contact-band {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .product-shell {
    display: grid;
    gap: 16px;
    min-height: auto;
  }

  .builder-panel,
  .chat-panel,
  .metrics-panel {
    position: relative;
    inset: auto;
    width: 100%;
    transform: none;
  }

  .metrics-panel {
    grid-template-columns: 1fr;
  }

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

  .section,
  .contact-band {
    padding-right: 18px;
    padding-left: 18px;
  }
}
