/* Landing — HiLinkChat */

body {
  --bg: #fbfaf8;
  --bg-elevated: #ffffff;
  --text: #17213e;
  --text-muted: #5d6988;
  --navy: #101a3d;
  --sky: #bfeaff;
  --soft: #f0f5ff;
  --accent-lime: #d4ff70;
  --border: #e8ecf8;
  --shadow-soft: 0 22px 60px rgba(49, 93, 255, 0.14);
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 70% 45% at 50% -5%, rgba(191, 234, 255, 0.55), transparent 55%),
    radial-gradient(ellipse 50% 35% at 100% 20%, rgba(0, 102, 255, 0.06), transparent),
    var(--bg);
}

.page-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.25;
  background-image:
    linear-gradient(rgba(16, 26, 61, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 26, 61, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 85% 65% at 50% 25%, black, transparent);
}

.site-nav.is-scrolled {
  background: rgba(251, 250, 248, 0.94);
  box-shadow: 0 8px 28px rgba(16, 26, 61, 0.07);
}

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

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 2rem) 0 3rem;
  overflow: hidden;
  background: linear-gradient(180deg, #d7f1ff 0%, #e8f2ff 38%, var(--bg) 88%);
}

.hero-glow {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.12), transparent 70%);
  top: 8%;
  right: -5%;
  filter: blur(50px);
  animation: floatGlow 8s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes floatGlow {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-30px, 24px) scale(1.08); }
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 0.92fr 1.28fr;
    gap: 1.75rem;
  }

  .hero-visual .device-wrap {
    width: 112%;
    max-width: 720px;
    margin-left: auto;
  }
}

@media (min-width: 1100px) {
  .hero-visual .device-wrap {
    width: 118%;
    max-width: 780px;
  }
}

.hero-content { position: relative; z-index: 2; }

.hero-meta {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 0.02em;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 5.5vw, 3.75rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin: 0 0 1.15rem;
  color: var(--navy);
  background: none;
  -webkit-text-fill-color: currentColor;
}

.text-highlight {
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  background: linear-gradient(transparent 58%, var(--accent-lime) 58%);
}

.hero-sub {
  font-size: clamp(1.02rem, 1.8vw, 1.12rem);
  color: var(--text);
  line-height: 1.65;
  max-width: 32rem;
  margin: 0 0 1.5rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-trust {
  margin: 1.1rem 0 0;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  opacity: 0.72;
}

.nav-login {
  display: none;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--navy);
  white-space: nowrap;
  padding: 0.35rem 0.5rem;
  transition: color 0.2s;
}

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

@media (min-width: 900px) {
  .nav-login { display: inline-flex; }
}

.hero-cta .btn,
.cta-final .btn,
.plan-card .btn {
  min-height: 50px;
  border-radius: 999px;
  font-weight: 800;
}

.btn-light {
  color: var(--primary);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  box-shadow: 0 4px 14px rgba(16, 26, 61, 0.06);
}

.btn-light:hover {
  border-color: rgba(0, 102, 255, 0.35);
  background: #fff;
}

/* Device / screenshot */
.hero-visual {
  position: relative;
  perspective: 1200px;
  z-index: 1;
}

.hero-visual::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1.5rem;
  transform: translateX(-50%);
  width: 110%;
  height: 45%;
  background: linear-gradient(180deg, transparent, var(--sky));
  border-radius: 50%;
  z-index: -1;
  opacity: 0.65;
  pointer-events: none;
}

.device-wrap {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.4s var(--ease);
  animation: deviceFloat 6s ease-in-out infinite;
}

.device-wrap:hover { animation-play-state: paused; }

@keyframes deviceFloat {
  0%, 100% { transform: translateY(0) rotateX(2deg) rotateY(-4deg); }
  50% { transform: translateY(-10px) rotateX(3deg) rotateY(-2deg); }
}

.device-glow {
  position: absolute;
  inset: 8% 5% -5%;
  background: radial-gradient(ellipse, rgba(0, 102, 255, 0.28), transparent 65%);
  filter: blur(36px);
  z-index: -1;
}

.device-frame {
  position: relative;
  border-radius: 20px;
  padding: 8px 8px 20px;
  background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
  box-shadow: var(--shadow-soft), 0 40px 80px -40px rgba(15, 23, 42, 0.45);
  transform: rotateY(-6deg) rotateX(3deg);
  transition: transform 0.5s var(--ease), box-shadow 0.5s;
}

.device-wrap:hover .device-frame {
  transform: rotateY(-2deg) rotateX(2deg) scale(1.015);
  box-shadow: var(--shadow-soft), 0 50px 100px -40px rgba(15, 23, 42, 0.5);
}

.device-notch {
  width: 72px;
  height: 5px;
  margin: 0 auto 8px;
  background: #334155;
  border-radius: 3px;
}

.device-screen {
  border-radius: 15px;
  overflow: hidden;
  background: #0f172a;
  line-height: 0;
}

.device-screen img {
  width: 100%;
  height: auto;
}

.device-reflection {
  position: absolute;
  inset: 8px 8px 20px;
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 42%);
  pointer-events: none;
}

/* Seções — títulos centralizados */
.section .section-header {
  margin-inline: auto;
  text-align: center;
  max-width: 720px;
}

.section-title {
  color: var(--navy);
  font-size: clamp(1.9rem, 4vw, 2.65rem);
  line-height: 1.08;
}

.section-lede {
  color: var(--text-muted);
}

/* Cards mais limpos */
.glass-card {
  background: var(--bg-elevated);
  border-color: var(--border);
  box-shadow: 0 14px 40px rgba(16, 26, 61, 0.06);
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(0, 102, 255, 0.18);
}

.card-icon {
  border-radius: 14px;
}

/* Clientes */
.logos-strip {
  padding: 2.75rem 0;
  border-block: 1px solid var(--border);
  background: var(--bg-elevated);
  text-align: center;
}

.logos-strip .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.clientes-head {
  width: 100%;
  max-width: 36rem;
  margin: 0 auto 1.25rem;
  text-align: center;
}

.clientes-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--navy);
  text-align: center;
}

.logos-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.logos-row span {
  padding: 0.5rem 1rem;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--navy);
  background: var(--soft);
  border: 1px solid var(--border);
  border-radius: 999px;
}

/* Stats */
.stats-row {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

@media (min-width: 640px) {
  .stats-row { grid-template-columns: repeat(3, 1fr); }
}

.stat-item {
  text-align: center;
  padding: 1.35rem 1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(16, 26, 61, 0.05);
}

.stat-value {
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 600;
  line-height: 1.4;
}

/* Split operação */
.section--soft {
  background: var(--soft);
}

.split-block {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .split-block {
    grid-template-columns: 1fr 1.05fr;
    gap: 3rem;
  }
}

.split-copy .section-title {
  text-align: left;
  max-width: 18ch;
}

.split-copy .section-lede {
  text-align: left;
  margin-bottom: 1.25rem;
}

.split-copy .section-eyebrow {
  display: inline-block;
}

.split-list {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.split-list li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.5rem;
  font-weight: 600;
  color: var(--text);
  font-size: 0.95rem;
}

.split-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.12);
}

.split-media {
  position: relative;
}

.split-frame {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  box-shadow: var(--shadow-soft);
  transform: rotate(1.5deg);
  transition: transform 0.4s var(--ease);
}

.split-frame:hover {
  transform: rotate(0deg) translateY(-4px);
}

.split-frame img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: left center;
  aspect-ratio: 16 / 11;
}

/* Bandas de seção */
.section--band {
  background: var(--sky);
  border-block: none;
}

.section--band .glass-card {
  background: rgba(255, 255, 255, 0.88);
}

.section:not(.section--band):not(.section--dark):not(.section--soft) {
  background: var(--bg-elevated);
}

.section--dark {
  background: linear-gradient(180deg, #0b1220 0%, #111827 100%);
  color: #f1f5f9;
}

.section--dark .section-title { color: #fff; }
.section--dark .section-lede { color: rgba(241, 245, 249, 0.65); }
.section--dark .section-eyebrow { color: var(--cyan); }

/* Dashboard */
.dashboard-showcase {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-soft);
}

.dashboard-showcase img { width: 100%; }

/* Planos */
.plan-cards {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 800px) {
  .plan-cards { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
}

.plan-card {
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  border-radius: 20px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  box-shadow: 0 14px 40px rgba(16, 26, 61, 0.06);
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
}

.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}

.plan-card--featured {
  border-color: rgba(0, 102, 255, 0.35);
  background: linear-gradient(165deg, rgba(0, 102, 255, 0.06), #fff 50%);
  box-shadow: var(--shadow-soft);
}

.plan-badge {
  align-self: flex-start;
  padding: 0.35rem 0.75rem;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--navy);
  background: var(--accent-lime);
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.plan-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy);
}

.plan-price {
  font-size: 2.25rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  color: var(--navy);
}

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

.plan-section-label {
  margin: 0 0 0.6rem;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.plan-limits {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  text-align: center;
}

.plan-limits li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  padding: 0.9rem 0.4rem;
  border-radius: 14px;
  background: rgba(16, 26, 61, 0.04);
  border: 1px solid var(--border);
  transition: transform 0.3s var(--ease), background 0.3s, border-color 0.3s;
}

.plan-card:hover .plan-limits li {
  transform: translateY(-3px);
}

.plan-limits li strong {
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}

.plan-limits li span {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.plan-card--featured .plan-limits li {
  background: rgba(0, 102, 255, 0.08);
  border-color: rgba(0, 102, 255, 0.22);
}

.plan-card--featured .plan-limits li strong {
  color: var(--accent, #0066ff);
  color: var(--green);
}

.plan-feats {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  flex: 1;
  font-size: 0.9rem;
}

.plan-feats li {
  padding: 0.3rem 0 0.3rem 1.25rem;
  position: relative;
}

.plan-feats li.yes::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

.plan-feats li.no {
  color: var(--text-muted);
  opacity: 0.7;
}

.plan-feats li.no::before {
  content: "—";
  position: absolute;
  left: 0;
}

.plan-note {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}

/* FAQ */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  background: transparent;
}

.faq-item summary {
  padding: 1.15rem 0;
  font-weight: 800;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

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

.faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--primary);
  font-weight: 400;
  flex-shrink: 0;
}

.faq-item[open] summary::after { content: "−"; }

.faq-item p {
  margin: 0 0 1.15rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.faq-item a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
}

/* CTA final */
.cta-final {
  text-align: center;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--soft) 0%, var(--bg) 100%);
}

.cta-final::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 100%, rgba(191, 234, 255, 0.45), transparent);
  pointer-events: none;
}

.cta-final .section-title {
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
  color: var(--navy);
}

.cta-final .section-lede {
  margin-left: auto;
  margin-right: auto;
}

.cta-final .hero-cta {
  justify-content: center;
  margin-top: 1.5rem;
}

.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.75);
  border-top: none;
}

.site-footer .footer-logo {
  display: block;
  width: auto;
  height: 32px;
  margin-bottom: 0.75rem;
  object-fit: contain;
}

.site-footer .footer-col h4,
.site-footer .footer-bottom {
  color: rgba(255, 255, 255, 0.5);
}

.site-footer .footer-col a,
.site-footer .footer-brand p {
  color: rgba(255, 255, 255, 0.82);
}

.site-footer .footer-col a:hover { color: #fff; }

.site-footer .footer-bottom {
  border-top-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 959px) {
  .device-frame { transform: none; }
  .device-wrap:hover .device-frame { transform: scale(1.01); }
  .hero-visual { order: -1; }
  .hero-visual .device-wrap {
    width: 108%;
    max-width: 520px;
    margin-inline: auto;
  }
  .hero { padding-top: calc(var(--nav-h) + 1rem); }
}

@media (prefers-reduced-motion: reduce) {
  .device-wrap { animation: none; }
  .hero-glow { animation: none; }
}
