:root {
  --navy: #0b0d12;
  --navy-2: #12151c;
  --navy-3: #191d27;
  --border-dark: #262b36;
  --accent: #22c1a4;
  --accent-2: #17a893;
  --accent-blue: #38b6ff;
  --accent-soft: rgba(34, 193, 164, 0.12);
  --convia-accent: #38b6ff;
  --convia-soft: rgba(56, 182, 255, 0.12);
  --white: #ffffff;
  --paper: #ffffff;
  --paper-2: #f6f8fb;
  --border-light: #e7eaf0;
  --text-onlight: #10131a;
  --text-onlight-dim: #5b6472;
  --text-ondark: #f5f7fa;
  --text-ondark-dim: #9aa4b2;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 20px 60px -20px rgba(15, 18, 24, 0.35);
  --shadow-sm: 0 8px 24px -8px rgba(15, 18, 24, 0.18);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--paper);
  color: var(--text-onlight);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 16px;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

h1, h2, h3, h4 { font-weight: 800; line-height: 1.15; margin: 0; letter-spacing: -0.02em; }

.section-head { max-width: 620px; margin: 0 auto 56px; text-align: center; }
.section-head.left { margin: 0 0 48px; text-align: left; }
.section-head h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.section-head p { margin: 16px 0 0; font-size: 1.05rem; color: var(--text-onlight-dim); line-height: 1.6; }

section { padding: 96px 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: 0.95rem;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #04211b; box-shadow: 0 12px 28px -10px rgba(34, 193, 164, 0.55); }
.btn-primary:hover { background: var(--accent-2); }
.btn-ghost-dark { background: rgba(255,255,255,0.05); color: var(--text-ondark); border-color: rgba(255,255,255,0.16); }
.btn-ghost-dark:hover { border-color: rgba(255,255,255,0.32); background: rgba(255,255,255,0.09); }
.btn-outline { background: transparent; color: var(--text-onlight); border-color: var(--border-light); }
.btn-outline:hover { border-color: var(--text-onlight); }
.btn-sm { padding: 10px 18px; font-size: 0.85rem; }

/* Header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(11, 13, 18, 0.96);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-img { height: 46px; width: auto; }
.main-nav ul { list-style: none; display: flex; gap: 32px; margin: 0; padding: 0; }
.main-nav a { color: var(--text-ondark-dim); font-size: 0.92rem; font-weight: 500; transition: color 0.15s ease; }
.main-nav a:hover { color: var(--text-ondark); }
.header-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; }

/* Hero */
.hero {
  position: relative;
  background: radial-gradient(1100px 520px at 15% -10%, rgba(34,193,164,0.16), transparent 60%),
              radial-gradient(900px 500px at 100% 0%, rgba(56,182,255,0.10), transparent 55%),
              var(--navy);
  color: var(--text-ondark);
  padding: 168px 0 120px;
  overflow: hidden;
  border-bottom: 1px solid var(--border-dark);
}
.hero-inner { max-width: 760px; }
.hero h1 { font-size: clamp(2.2rem, 4.2vw, 3.5rem); color: var(--text-ondark); }
.hero h1 .accent-text { background: linear-gradient(135deg, #22c1a4, #38b6ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { margin: 22px 0 32px; font-size: 1.15rem; color: var(--text-ondark-dim); max-width: 600px; line-height: 1.65; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 48px; flex-wrap: wrap; margin-top: 56px; padding-top: 36px; border-top: 1px solid rgba(255,255,255,0.08); }
.hero-stat .num { font-size: 2.1rem; font-weight: 800; color: var(--text-ondark); line-height: 1; }
.hero-stat .num span { background: linear-gradient(135deg, #22c1a4, #38b6ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-stat .label { font-size: 0.82rem; color: var(--text-ondark-dim); margin-top: 8px; }


/* Product */
.products { background: var(--paper-2); }
.product-feature {
  display: grid; grid-template-columns: 1fr 1fr; align-items: stretch;
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border-light); box-shadow: var(--shadow-sm);
  max-width: 980px; margin: 0 auto;
}
.product-feature:not(:last-child) { margin-bottom: 28px; }
.product-feature.reverse .product-visual { order: 2; }
.product-visual {
  padding: 48px; display: flex; align-items: center; justify-content: center;
}
.product-visual.convia { background: linear-gradient(135deg, #0b0d12, #142235); }
.product-visual.gestor { background: linear-gradient(135deg, #0b1712, #0f2a20); }
.product-body { padding: 48px; display: flex; flex-direction: column; justify-content: center; }
.product-tag {
  display: inline-flex; align-self: flex-start; font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.05em; padding: 5px 12px; border-radius: 999px; margin-bottom: 14px;
}
.product-tag.convia { background: var(--convia-soft); color: #1a9ceb; }
.product-tag.gestor { background: var(--accent-soft); color: var(--accent-2); }
.product-body h3 { font-size: 1.5rem; margin-bottom: 12px; }
.product-body p { font-size: 0.98rem; color: var(--text-onlight-dim); line-height: 1.65; margin: 0 0 26px; }
.product-body .btn { align-self: flex-start; }

/* mini mockups reused style */
.mockup-chip {
  display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12); border-radius: 12px; padding: 12px 16px; color: #e8eaed;
  font-size: 0.85rem; font-weight: 600;
}
.mockup-chip svg { width: 18px; height: 18px; flex-shrink: 0; }
.mockup-stack { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 280px; }

/* Why us */
.why { background: var(--paper); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-card { padding: 28px 8px; }
.why-num { font-size: 0.75rem; font-weight: 800; color: var(--accent-2); margin-bottom: 10px; letter-spacing: 0.05em; }
.why-card h4 { font-size: 1.05rem; margin-bottom: 8px; }
.why-card p { font-size: 0.88rem; color: var(--text-onlight-dim); line-height: 1.55; margin: 0; }

/* Final CTA */
.final-cta {
  background: var(--navy); color: var(--text-ondark); text-align: center;
  border-radius: 28px; padding: 72px 40px; margin: 0 24px; max-width: 1130px; margin-inline: auto;
  position: relative; overflow: hidden;
}
.final-cta::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 50% 0%, rgba(34,193,164,0.2), transparent 65%);
}
.final-cta * { position: relative; }
.final-cta h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--text-ondark); margin-bottom: 16px; }
.final-cta p { color: var(--text-ondark-dim); font-size: 1.05rem; margin: 0 0 32px; }
.final-cta .hero-ctas { justify-content: center; }

/* Footer */
.site-footer { background: var(--navy); color: var(--text-ondark-dim); padding: 64px 0 28px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand .logo { margin-bottom: 14px; }
.footer-brand p { font-size: 0.88rem; line-height: 1.6; max-width: 300px; margin: 0; }
.footer-col h5 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-ondark); margin: 0 0 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a, .footer-col span { font-size: 0.88rem; transition: color 0.15s ease; }
.footer-col a:hover { color: var(--text-ondark); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; font-size: 0.8rem; flex-wrap: wrap; gap: 12px;
}

.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; background: #25d366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px -8px rgba(37, 211, 102, 0.6);
  transition: transform 0.15s ease;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 28px; height: 28px; color: white; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .why-grid, .product-feature { grid-template-columns: 1fr; }
  .product-feature.reverse .product-visual { order: 0; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-stats { gap: 32px; }
}
@media (max-width: 720px) {
  .main-nav { display: none; }
  .nav-toggle {
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 10px;
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); color: var(--text-ondark);
  }
  .header-cta .btn-desktop-only { display: none; }
  section { padding: 64px 0; }
  .hero { padding: 140px 0 80px; }
  .final-cta { padding: 48px 24px; margin: 0 16px; }
}
