/* ============================================================
   Nusere DNS — Landing comercial
   Tema: dark institucional (infra/segurança)
   ============================================================ */

:root {
  --bg: #07101f;
  --bg-2: #0b1626;
  --bg-3: #0f1d31;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #e7eefc;
  --text-mute: #9aa8c2;
  --text-dim: #6c7a96;

  --brand: #00d4ff;
  --brand-2: #0084ff;
  --brand-deep: #0050d6;
  --accent: #36e08e;
  --warn: #ffb547;
  --danger: #ff6273;
  --violet: #b08bff;

  --grad-brand: linear-gradient(135deg, #00e1ff 0%, #0084ff 55%, #6f4dff 100%);
  --grad-soft: linear-gradient(180deg, rgba(0, 212, 255, 0.12), rgba(0, 132, 255, 0.02));

  --radius: 14px;
  --radius-lg: 20px;
  --shadow-lg: 0 30px 60px -25px rgba(0, 0, 0, 0.7), 0 10px 30px -15px rgba(0, 132, 255, 0.25);
  --shadow-md: 0 14px 30px -15px rgba(0, 0, 0, 0.6);

  --maxw: 1180px;
  --maxw-narrow: 860px;

  --font: "Inter", "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

img { max-width: 100%; display: block; }

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.88em;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.1em 0.4em;
  border-radius: 6px;
  color: #c8e0ff;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow { max-width: var(--maxw-narrow); }

.grad {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.grad-green {
  background: linear-gradient(135deg, #36e08e 0%, #00b8a8 55%, #00a8e8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* =============== NAV =============== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  background: rgba(7, 16, 31, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.nav.scrolled { border-bottom-color: var(--border); background: rgba(7, 16, 31, 0.88); }

.nav-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}

.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: 0.2px; }
.logo-mark { display: inline-flex; }
.logo-text { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo-dot { color: var(--brand); }
.logo-product {
  font-weight: 500;
  font-size: 14px;
  color: var(--text-mute);
  padding-left: 8px;
  border-left: 1px solid var(--border);
  margin-left: 4px;
  letter-spacing: 0.06em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}
.nav-links a {
  font-size: 14.5px;
  color: var(--text-mute);
  transition: color 0.15s ease;
  position: relative;
}
.nav-links a:hover { color: var(--text); }

.nav-cta { margin-left: 8px; }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  width: 40px;
  height: 40px;
  padding: 10px;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
}
.nav-toggle span { display: block; height: 2px; width: 100%; background: var(--text); border-radius: 2px; transition: 0.2s; }

/* =============== BUTTONS =============== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  padding: 12px 18px;
  font-weight: 600;
  font-size: 14.5px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
  font-family: inherit;
}
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 9px 14px; font-size: 13.5px; border-radius: 10px; }
.btn-lg { padding: 14px 22px; font-size: 15.5px; border-radius: 14px; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(0, 132, 255, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-primary:hover { box-shadow: 0 14px 28px -10px rgba(0, 132, 255, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.3); transform: translateY(-1px); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.2); }

/* =============== HERO =============== */
.hero {
  position: relative;
  padding: 96px 0 80px;
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-bg .grid {
  position: absolute; inset: -1px;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at top, rgba(0,0,0,1) 25%, rgba(0,0,0,0) 75%);
  -webkit-mask-image: radial-gradient(ellipse at top, rgba(0,0,0,1) 25%, rgba(0,0,0,0) 75%);
}
.hero-bg .glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.55;
}
.glow-a { width: 520px; height: 520px; background: #006eff; top: -120px; right: -140px; }
.glow-b { width: 600px; height: 600px; background: #6f4dff; bottom: -240px; left: -180px; opacity: 0.4; }
.glow-chat-a { width: 520px; height: 520px; background: #00a8e8; top: -120px; right: -140px; border-radius: 50%; filter: blur(120px); opacity: 0.5; position: absolute; }
.glow-chat-b { width: 600px; height: 600px; background: #36e08e; bottom: -240px; left: -180px; opacity: 0.35; border-radius: 50%; filter: blur(120px); position: absolute; }

.hero-inner { position: relative; z-index: 1; max-width: 920px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.25);
  color: #b3e8ff;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.2px;
  margin-bottom: 22px;
}
.badge-green {
  background: rgba(54, 224, 142, 0.08);
  border-color: rgba(54, 224, 142, 0.28);
  color: #b6f0d1;
}

h1 {
  font-size: clamp(34px, 5.4vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
  font-weight: 800;
}
.lead {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--text-mute);
  max-width: 720px;
  margin: 0 0 36px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 56px;
}

.hero-stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.hero-stats li {
  border-left: 2px solid var(--brand);
  padding: 6px 0 6px 16px;
}
.hero-stats strong {
  display: block;
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  letter-spacing: -0.01em;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-stats span { color: var(--text-mute); font-size: 13px; }

/* =============== TRUST =============== */
.trust {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  padding: 22px 0;
}
.trust-title { color: var(--text-dim); font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.18em; margin: 0 0 14px; text-align: center; }
.trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 28px;
  color: var(--text-mute);
  font-size: 14px;
}
.trust-row span { opacity: 0.85; }

/* =============== SECTIONS =============== */
.section { padding: 88px 0; position: relative; }
.section-alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.kicker {
  display: inline-block;
  font-size: 12.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 600;
  margin-bottom: 12px;
}
.section h2 {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 14px;
}
.section-sub { color: var(--text-mute); margin: 0; font-size: 16.5px; }

/* =============== CARDS =============== */
.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.card {
  position: relative;
  padding: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s, transform 0.2s;
}
.card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.card h3 { margin: 0 0 10px; font-size: 19px; letter-spacing: -0.01em; }
.card p { color: var(--text-mute); margin: 0 0 16px; font-size: 14.5px; }

.card-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: #fff;
}
.card-icon svg { width: 22px; height: 22px; }
.icon-blue   { background: linear-gradient(135deg, #00b8ff, #0050d6); box-shadow: 0 6px 20px -8px rgba(0, 132, 255, 0.7); }
.icon-cyan   { background: linear-gradient(135deg, #1ee1c4, #00a8e8); box-shadow: 0 6px 20px -8px rgba(0, 200, 230, 0.6); }
.icon-green  { background: linear-gradient(135deg, #36e08e, #19a36b); box-shadow: 0 6px 20px -8px rgba(54, 224, 142, 0.6); }
.icon-violet { background: linear-gradient(135deg, #b08bff, #6f4dff); box-shadow: 0 6px 20px -8px rgba(176, 139, 255, 0.6); }
.icon-amber  { background: linear-gradient(135deg, #ffd28a, #ff9b40); box-shadow: 0 6px 20px -8px rgba(255, 155, 64, 0.6); }

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.check-list li {
  position: relative;
  padding: 6px 0 6px 26px;
  color: var(--text);
  font-size: 14.5px;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 11px;
  width: 16px; height: 16px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'><path d='M2 8.5L6 12.5L14 4' stroke='%2336e08e' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-size: 16px;
  background-repeat: no-repeat;
}

/* =============== GRID-2 (feature blocks) =============== */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.feature {
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.feature h4 {
  margin: 0 0 16px;
  font-size: 17px;
  display: flex; align-items: center; gap: 10px;
  letter-spacing: -0.01em;
}
.dot { width: 9px; height: 9px; border-radius: 50%; box-shadow: 0 0 0 3px rgba(255,255,255,0.04); }
.dot-blue   { background: #00b8ff; }
.dot-cyan   { background: #1ee1c4; }
.dot-green  { background: #36e08e; }
.dot-violet { background: #b08bff; }

.bullets {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 10px;
  color: var(--text-mute); font-size: 14.5px;
}
.bullets li { padding-left: 14px; position: relative; }
.bullets li::before {
  content: "";
  position: absolute; left: 0; top: 9px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--brand);
}
.bullets strong { color: var(--text); }

/* =============== COMPLIANCE =============== */
.compliance {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.comp-col {
  padding: 28px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(0, 212, 255, 0.08), transparent 60%),
    var(--surface);
  border: 1px solid var(--border);
}
.comp-col h3 { margin: 0 0 10px; font-size: 19px; }
.comp-col p { color: var(--text-mute); margin: 0 0 14px; font-size: 14.5px; }

/* =============== METRICS =============== */
.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 38px;
}
.metric {
  padding: 28px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
}
.metric-value {
  display: block;
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 8px;
}
.metric-label { color: var(--text-mute); font-size: 13.5px; }

.perf-extra {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.perf-col {
  padding: 24px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.perf-col h4 { margin: 0 0 10px; font-size: 16px; }
.perf-col p { margin: 0; color: var(--text-mute); font-size: 14.5px; }

/* =============== USE CASES =============== */
.use-cases {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.use {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.use::before {
  content: ""; position: absolute; inset: 0;
  background: var(--grad-soft);
  opacity: 0; transition: opacity 0.25s;
  pointer-events: none;
}
.use:hover::before { opacity: 1; }
.use > * { position: relative; }
.use-tag {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 12px;
  font-weight: 600;
}
.use h3 { margin: 0 0 16px; font-size: 18px; line-height: 1.3; letter-spacing: -0.01em; }

/* =============== STACK =============== */
.stack {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.stack-item {
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: border-color 0.2s, transform 0.2s;
}
.stack-item:hover { border-color: var(--brand); transform: translateY(-2px); }
.stack-item strong { font-size: 14.5px; }
.stack-item span { color: var(--text-mute); font-size: 12.5px; line-height: 1.4; }

/* =============== PLANS =============== */
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}
.plan {
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.2s;
}
.plan:hover { transform: translateY(-3px); }
.plan h3 { margin: 0 0 6px; font-size: 22px; }
.plan-desc { color: var(--text-mute); margin: 0 0 22px; font-size: 14px; }
.plan .check-list { flex: 1; margin-bottom: 22px; }

.plan-featured {
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(0, 132, 255, 0.16), transparent 60%),
    var(--surface);
  border-color: rgba(0, 212, 255, 0.45);
  box-shadow: var(--shadow-lg);
}
.plan-flag {
  position: absolute;
  top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--grad-brand);
  color: #fff;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 8px 18px -8px rgba(0, 132, 255, 0.8);
}

/* =============== FAQ =============== */
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 12px;
  transition: border-color 0.2s;
}
.faq details[open] { border-color: var(--border-strong); }
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 15.5px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 22px;
  color: var(--brand);
  line-height: 1;
  transition: transform 0.2s;
}
.faq details[open] summary::after { content: "−"; }
.faq p { margin: 14px 0 0; color: var(--text-mute); font-size: 14.5px; }

/* =============== CTA =============== */
.cta { padding: 80px 0; }
.cta-inner {
  background:
    radial-gradient(80% 100% at 0% 0%, rgba(0, 212, 255, 0.18), transparent 70%),
    radial-gradient(80% 100% at 100% 100%, rgba(111, 77, 255, 0.18), transparent 70%),
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid var(--border-strong);
  border-radius: 28px;
  padding: 56px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
  box-shadow: var(--shadow-lg);
}
.cta h2 { font-size: clamp(24px, 3vw, 34px); margin: 0 0 12px; letter-spacing: -0.02em; }
.cta p { color: var(--text-mute); margin: 0; font-size: 16px; }

.cta-form { display: grid; gap: 12px; }
.cta-form label { display: grid; gap: 6px; font-size: 13px; color: var(--text-mute); font-weight: 500; }
.cta-form input,
.cta-form textarea {
  background: rgba(7, 16, 31, 0.6);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 14.5px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  resize: vertical;
}
.cta-form input:focus,
.cta-form textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.18);
}
.cta-hint { font-size: 12.5px; color: var(--text-dim); margin: 4px 0 0; text-align: center; }
.cta-hint.ok { color: var(--accent); }
.cta-hint.err { color: var(--danger); }

/* =============== SCREENSHOTS GALLERY =============== */
.screens {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.screen {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.screen:hover { transform: translateY(-3px); border-color: var(--brand); box-shadow: var(--shadow-md); }
.screen-frame {
  background: #050a14;
  position: relative;
  padding-top: 12px;
}
.screen-frame::before {
  content: "● ● ●";
  position: absolute; top: 8px; left: 14px;
  font-size: 9px; letter-spacing: 6px; color: #2a3a55;
}
.screen-img { display: block; width: 100%; height: auto; border-top: 1px solid rgba(255,255,255,0.05); }
.screen-meta { padding: 16px 18px; }
.screen-meta h4 { margin: 0 0 4px; font-size: 15.5px; }
.screen-meta p { margin: 0; color: var(--text-mute); font-size: 13.5px; }

/* Mock device frame for placeholder previews */
.mock {
  aspect-ratio: 16/10;
  background:
    radial-gradient(60% 80% at 20% 0%, rgba(0, 132, 255, 0.25), transparent 60%),
    radial-gradient(60% 80% at 100% 100%, rgba(111, 77, 255, 0.2), transparent 60%),
    linear-gradient(180deg, #0a1424, #060d1a);
  position: relative;
  overflow: hidden;
}
.mock::before, .mock::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 24px 24px;
}
.mock-label {
  position: absolute; inset: auto 0 22px 0;
  text-align: center;
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-dim);
}

/* =============== FOOTER =============== */
.footer {
  background: #050b16;
  border-top: 1px solid var(--border);
  padding: 56px 0 0;
  color: var(--text-mute);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-brand {
  display: flex; gap: 14px; align-items: flex-start;
}
.footer-brand strong { color: var(--text); font-size: 17px; }
.footer-brand p { margin: 6px 0 0; font-size: 13.5px; color: var(--text-mute); max-width: 320px; }

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.footer-cols h5 { color: var(--text); font-size: 13px; margin: 0 0 12px; text-transform: uppercase; letter-spacing: 0.14em; }
.footer-cols a {
  display: block;
  padding: 4px 0;
  font-size: 14px;
  color: var(--text-mute);
  transition: color 0.15s;
}
.footer-cols a:hover { color: var(--text); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 18px 0;
  font-size: 12.5px;
}
.footer-bottom .container { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.footer-tech { color: var(--text-dim); }

/* =============== PRODUCTS (suíte) =============== */
.products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.product {
  position: relative;
  padding: 30px;
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(0, 212, 255, 0.06), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}
.product:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.product-head {
  display: flex; gap: 16px; align-items: flex-start;
  margin-bottom: 14px;
}
.product-head .card-icon { margin-bottom: 0; flex-shrink: 0; }
.product-head h3 { margin: 4px 0 0; font-size: 22px; letter-spacing: -0.01em; }
.product-tag {
  display: inline-block;
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 600;
}
.product > p {
  color: var(--text-mute);
  margin: 0 0 18px;
  font-size: 15px;
}
.product .check-list { flex: 1; margin-bottom: 20px; }
.product-cta { display: flex; gap: 10px; flex-wrap: wrap; }

/* =============== CHANNELS (Nusere Chat) =============== */
.channels {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.channel {
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s, transform 0.2s;
}
.channel:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.channel h3 { margin: 0 0 10px; font-size: 18px; letter-spacing: -0.01em; }
.channel p { color: var(--text-mute); margin: 0; font-size: 14px; }
.channel-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.channel-icon svg { width: 22px; height: 22px; }
.icon-green-soft  { background: rgba(54, 224, 142, 0.14); color: #36e08e; }
.icon-blue-soft   { background: rgba(0, 168, 232, 0.14);  color: #00a8e8; }
.icon-pink-soft   { background: rgba(255, 89, 153, 0.14); color: #ff5999; }
.icon-violet-soft { background: rgba(176, 139, 255, 0.14); color: #b08bff; }

/* =============== RESPONSIVE =============== */
@media (max-width: 960px) {
  .cards, .grid-2, .compliance, .use-cases, .plans, .stack, .screens, .products { grid-template-columns: 1fr 1fr; }
  .channels { grid-template-columns: 1fr 1fr; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .perf-extra { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .cta-inner { grid-template-columns: 1fr; padding: 38px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-links { display: none; position: fixed; inset: 68px 0 auto 0; flex-direction: column; align-items: stretch; padding: 18px; gap: 0; background: rgba(7, 16, 31, 0.98); border-bottom: 1px solid var(--border); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 6px; border-bottom: 1px solid var(--border); }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .logo-product { display: none; }

  .cards, .grid-2, .compliance, .use-cases, .plans, .stack, .screens, .products, .channels { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 56px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .section { padding: 64px 0; }
  .cta-inner { padding: 28px; }
  .product-head { flex-direction: column; gap: 12px; }
}

/* =============== ANIM =============== */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ─────────────────────────────────────────────────────────────────────────
   WhatsApp Floating Button — fixo no canto inferior direito
───────────────────────────────────────────────────────────────────────── */
.wa-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    background: #25d366;
    color: #fff;
    padding: 12px 18px 12px 14px;
    border-radius: 999px;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45), 0 2px 6px rgba(0, 0, 0, 0.18);
    font-family: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 1;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
    -webkit-tap-highlight-color: transparent;
}
.wa-float:hover {
    background: #1ebe5a;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.55), 0 4px 10px rgba(0, 0, 0, 0.22);
    color: #fff;
}
.wa-float:active { transform: translateY(0); }
.wa-float svg {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    fill: #fff;
}
.wa-float-label {
    display: inline-block;
    white-space: nowrap;
}
/* Em mobile: vira só o ícone (sem texto) pra não cobrir conteúdo */
@media (max-width: 640px) {
    .wa-float {
        padding: 12px;
        bottom: 18px;
        right: 18px;
    }
    .wa-float-label { display: none; }
    .wa-float svg { width: 26px; height: 26px; }
}

/* Pulso sutil pra chamar atenção sem ser irritante (anima 1× ao carregar) */
@keyframes wa-pulse {
    0%   { box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.55); }
    70%  { box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45), 0 0 0 16px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0); }
}
.wa-float {
    animation: wa-pulse 2.5s ease-out 1s 3;
}

/* ─────────────────────────────────────────────────────────────────────────
   Dropdown "Produtos" no nav
───────────────────────────────────────────────────────────────────────── */
.nav-dropdown {
    position: relative;
    display: inline-block;
}
.nav-dropdown-btn {
    background: transparent;
    border: 0;
    padding: 8px 0;
    color: inherit;
    font: inherit;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: 1;
}
.nav-dropdown-btn:hover { color: #00d4ff; }
.nav-caret {
    font-size: 10px;
    transition: transform 0.18s;
    display: inline-block;
}
.nav-dropdown[data-open="true"] .nav-caret { transform: rotate(180deg); }
.nav-dropdown[data-open="true"] .nav-dropdown-btn { color: #00d4ff; }

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 14px);
    left: 0;
    min-width: 280px;
    background: #0d1b2a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45), 0 2px 8px rgba(0, 0, 0, 0.25);
    padding: 8px;
    display: none;
    z-index: 1000;
    animation: nav-dd-fade 0.18s ease-out;
}
.nav-dropdown[data-open="true"] .nav-dropdown-menu { display: block; }
@keyframes nav-dd-fade {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}
.nav-dropdown-menu a {
    display: block;
    padding: 10px 12px;
    border-radius: 7px;
    text-decoration: none;
    color: #e6ebf3;
    transition: background 0.12s;
}
.nav-dropdown-menu a:hover {
    background: rgba(0, 212, 255, 0.10);
    color: #fff;
}
.nav-dropdown-menu a strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}
.nav-dropdown-menu a small {
    display: block;
    font-size: 12px;
    color: rgba(230, 235, 243, 0.6);
    margin-top: 2px;
    line-height: 1.4;
}
.nav-dropdown-menu a:hover small { color: rgba(230, 235, 243, 0.85); }

/* Mobile: dropdown vira lista normal dentro do menu hambúrguer */
@media (max-width: 880px) {
    .nav-dropdown { display: block; width: 100%; }
    .nav-dropdown-btn { width: 100%; justify-content: space-between; padding: 12px 0; }
    .nav-dropdown-menu {
        position: static;
        display: block;
        min-width: 0;
        background: transparent;
        border: 0;
        box-shadow: none;
        padding: 0 0 4px 12px;
        animation: none;
    }
    .nav-dropdown[data-open="false"] .nav-dropdown-menu { display: none; }
    .nav-dropdown-menu a { padding: 8px 10px; }
    .nav-dropdown-menu a small { display: none; }
}

/* Tagline sob o logo "Nusere" */
.logo-text {
    display: inline-flex;
    flex-direction: column;
    line-height: 1;
    gap: 2px;
}
.logo-tag {
    font-size: 10px;
    font-weight: 500;
    color: rgba(230, 235, 243, 0.65);
    letter-spacing: 0.4px;
    text-transform: lowercase;
}

/* ─────────────────────────────────────────────────────────────────────────
   PATCHES MOBILE (auditoria 2026-05-11)
───────────────────────────────────────────────────────────────────────── */

/* Toque mínimo 44x44 em todos os botões/links de nav (WCAG 2.5.5) */
.nav-toggle {
    min-width: 44px;
    min-height: 44px;
}
.btn { min-height: 44px; }
.btn-sm { min-height: 40px; }  /* exceção pra botões claramente secundários */

/* Inputs com font-size 16px+ pra evitar zoom no iOS */
input, textarea, select {
    font-size: 16px;
}

/* Evita overflow horizontal por imagens grandes (sem max-width inline) */
img, svg, video { max-width: 100%; height: auto; }

/* Tap highlight discreto (em vez do azul default do iOS) */
* { -webkit-tap-highlight-color: rgba(0, 212, 255, 0.18); }

/* Smooth scroll respeita preferência de redução de movimento */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}
/* Offset pro sticky nav não cobrir anchor */
:target { scroll-margin-top: 80px; }

/* Texto não quebra em viewports muito pequenas (320px-380px) */
@media (max-width: 380px) {
    h1 { font-size: clamp(28px, 8vw, 38px); line-height: 1.15; }
    h2 { font-size: clamp(22px, 6vw, 28px); }
    .hero-stats { gap: 12px; }
    .hero-stats li strong { font-size: 22px; }
    .container { padding-left: 16px; padding-right: 16px; }
}

/* Mobile menu — quando .open, garante scroll dentro do drawer se conteúdo grande */
@media (max-width: 880px) {
    .nav-links {
        max-height: calc(100dvh - 64px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }
    .nav-cta { width: 100%; }
    .nav-cta .btn { width: 100%; justify-content: center; }
}

/* Footer não escapa em mobile */
@media (max-width: 720px) {
    .footer-cols { grid-template-columns: 1fr; gap: 24px; }
    .footer-bottom .container {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

/* WhatsApp button não esconde texto importante em landscape baixo */
@media (max-height: 480px) and (orientation: landscape) {
    .wa-float {
        bottom: 12px;
        right: 12px;
        padding: 8px;
    }
    .wa-float-label { display: none; }
}

/* Print styles — pra quem imprime a página comercial */
@media print {
    .nav, .wa-float, .nav-toggle, .footer { display: none !important; }
    body { color: #000; background: #fff; }
    a { color: #000; text-decoration: underline; }
}

/* Garante que html não tenha overflow horizontal (causa scroll fantasma) */
html, body { overflow-x: hidden; }
