:root {
  --dark: #0d1b2a;
  --navy: #081c34;
  --blue: #1b263b;
  --green: #28a745;
  --green-light: #20d67b;
  --bg: #f4f7fb;
  --white: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --border: #e5e7eb;
  --shadow: 0 20px 50px rgba(13, 27, 42, 0.12);
  --radius: 22px;
  --container: 1180px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background: var(--bg);
  color: var(--text);
}

a {
  text-decoration: none;
}

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

/* Header */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 247, 251, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */

.logo{
  display:flex;
  align-items:center;
  gap:14px;
  text-decoration:none;
}

.logo-icon{
  width:58px;
  height:58px;
  border-radius:18px;
  background: linear-gradient(135deg, #081c34, #102b4a);
  color:#20d67b;

  display:grid;
  place-items:center;

  font-size:26px;

  box-shadow:0 12px 24px rgba(8,28,52,.18);
}

.logo-text{
  display:flex;
  flex-direction:column;
}

.logo-title{
  font-size:28px;
  font-weight:700;
  color:#081c34;
  line-height:1;
}

.logo-title strong{
  color:#20d67b;
}

.logo-text small{
  margin-top:6px;
  font-size:13px;
  color:#64748b;
  letter-spacing:.3px;
}

.menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.menu a {
  color: var(--text);
  font-weight: 500;
}

.menu a:hover {
  color: var(--green);
}

.btn-nav,
.btn-primary {
  background: linear-gradient(135deg, var(--green), var(--green-light));
  color: var(--white) !important;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 12px 25px rgba(40, 167, 69, 0.25);
}

.btn-secondary {
  color: var(--navy);
  background: var(--white);
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid var(--border);
}

.menu-btn {
  display: none;
  border: none;
  background: var(--navy);
  color: white;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  font-size: 18px;
}

/* Hero */

.hero {
  padding: 80px 0 60px;
  background:
    radial-gradient(circle at top left, rgba(32, 214, 123, 0.18), transparent 35%),
    linear-gradient(180deg, #f8fbff, #f4f7fb);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 55px;
  align-items: center;
}

.tag {
  display: inline-flex;
  background: rgba(40, 167, 69, 0.12);
  color: var(--green);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.08;
  color: var(--navy);
  margin-bottom: 22px;
}

.hero p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
  max-width: 560px;
}

.hero-actions {
  margin: 32px 0;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.hero-stats div {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 18px;
  border-radius: 18px;
  min-width: 135px;
  box-shadow: 0 10px 24px rgba(13, 27, 42, 0.06);
}

.hero-stats strong {
  display: block;
  color: var(--navy);
  font-size: 20px;
}

.hero-stats span {
  color: var(--muted);
  font-size: 13px;
}

/* Dashboard Mockup */

.hero-card {
  background: var(--navy);
  border-radius: 34px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.app-window {
  background: #f8fafc;
  border-radius: 24px;
  overflow: hidden;
}

.window-top {
  background: var(--navy);
  padding: 16px;
  display: flex;
  gap: 8px;
}

.window-top span {
  width: 12px;
  height: 12px;
  background: var(--green-light);
  border-radius: 50%;
}

.dashboard-card {
  padding: 26px;
}

.dashboard-card h3 {
  color: var(--navy);
  margin-bottom: 18px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.mini-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
}

.mini-card span {
  color: var(--muted);
  font-size: 13px;
}

.mini-card strong {
  display: block;
  margin-top: 6px;
  color: var(--navy);
}

.green {
  color: var(--green) !important;
}

.blue {
  color: #2563eb !important;
}

.chart {
  height: 190px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  margin: 18px 0;
  padding: 22px;
  display: flex;
  align-items: end;
  gap: 14px;
}

.chart span {
  flex: 1;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, var(--green-light), var(--green));
}

.transactions {
  display: grid;
  gap: 10px;
}

.transactions div {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 14px;
  border-radius: 14px;
  display: flex;
  justify-content: space-between;
}

.transactions span {
  color: var(--muted);
}

/* Features */

.features {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 42px;
}

.section-title span {
  color: var(--green);
  font-weight: 700;
}

.section-title h2 {
  color: var(--navy);
  font-size: 36px;
  margin: 8px 0 12px;
}

.section-title p {
  color: var(--muted);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.features-grid article {
  background: var(--white);
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 12px 28px rgba(13, 27, 42, 0.06);
  transition: 0.2s;
}

.features-grid article:hover {
  transform: translateY(-5px);
}

.features-grid i {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: var(--navy);
  color: var(--green-light);
  font-size: 22px;
  margin-bottom: 18px;
}

.features-grid h3 {
  color: var(--navy);
  margin-bottom: 10px;
}

.features-grid p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

/* Preview */

.preview {
  padding: 80px 0;
  background: var(--navy);
  color: white;
}

.preview-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 50px;
  align-items: center;
}

.preview h2 {
  font-size: 42px;
  margin-bottom: 18px;
}

.preview p {
  color: #d1d5db;
  line-height: 1.7;
  margin-bottom: 26px;
}

.preview ul {
  list-style: none;
  display: grid;
  gap: 14px;
}

.preview li {
  color: #f9fafb;
}

.preview li i {
  color: var(--green-light);
  margin-right: 8px;
}

.phone-card {
  display: flex;
  justify-content: center;
}

.phone {
  width: 300px;
  background: #f9fafb;
  color: var(--navy);
  padding: 22px;
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.phone-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 22px;
}

.phone-header strong {
  color: var(--green);
}

.balance {
  background: linear-gradient(135deg, var(--green), var(--green-light));
  color: white;
  border-radius: 24px;
  padding: 22px;
  margin-bottom: 18px;
}

.balance span {
  display: block;
  font-size: 13px;
}

.balance strong {
  font-size: 25px;
}

.phone-list {
  display: grid;
  gap: 12px;
}

.phone-list div {
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  display: flex;
  justify-content: space-between;
}

/* CTA */

.cta {
  padding: 80px 0;
}

.cta-box {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: white;
  border-radius: 32px;
  padding: 55px;
  text-align: center;
  box-shadow: var(--shadow);
}

.cta-box h2 {
  font-size: 36px;
  margin-bottom: 12px;
}

.cta-box p {
  color: #d1d5db;
  margin-bottom: 28px;
}

/* Footer */

.footer {
  padding: 28px 0;
  background: white;
  border-top: 1px solid var(--border);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 14px;
}

.footer-content a {
  gap: 12px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 14px;
}

/* Botão voltar ao topo */

.back-to-top{
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 56px;
  height: 56px;
  border: none;
  border-radius: 20px;
  background: linear-gradient(135deg, #20d67b, #17c964);
  color: white;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 12px 30px rgba(32,214,123,.28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: .25s ease;
  z-index: 999;
  background: linear-gradient(135deg, #20d67b, #17c964);
  color: white;
}

.back-to-top:hover{
  transform: translateY(-4px);
  box-shadow:
    0 16px 36px rgba(32,214,123,.35);
}

.back-to-top.show{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top i{
  font-size: 16px;
}


/* Responsive */

@media (max-width: 900px) {
  .menu-btn {
    display: block;
  }

  .menu {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: white;
    padding: 24px;
    flex-direction: column;
    align-items: flex-start;
    border-bottom: 1px solid var(--border);
    display: none;
  }

  .menu.active {
    display: flex;
  }

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

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

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

@media (max-width: 600px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 50px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .cta-box {
    padding: 36px 22px;
  }

  .cta-box h2,
  .preview h2,
  .section-title h2 {
    font-size: 28px;
  }

  .hero-card {
    padding: 10px;
  }
}