/* ============================================
   CredPix Landing Page — Premium Dark Fintech
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --green: #0f9b0f;
  --green-light: #50c878;
  --green-dark: #0a7a0a;
  --gold: #d4af37;
  --bg: #050a05;
  --bg-card: rgba(15, 155, 15, 0.06);
  --bg-glass: rgba(10, 20, 10, 0.65);
  --border-glass: rgba(15, 155, 15, 0.15);
  --text: #e8f5e8;
  --text-muted: #8aab8a;
  --text-dim: #5a7a5a;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Space Grotesk', 'Inter', sans-serif;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { border: none; background: none; cursor: pointer; font: inherit; color: inherit; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
  position: relative;
}

/* --- Scroll Progress Bar --- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--green), var(--green-light), var(--gold));
  z-index: 10000;
  transition: none;
}

/* --- Preloader --- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s, visibility 0.6s;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-inner {
  text-align: center;
}

.preloader-diamond {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto 24px;
}

.preloader-logo {
  width: 80px;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: pulse-glow 1.5s ease-in-out infinite;
  border-radius: 10px;
}

.preloader-ring {
  position: absolute;
  inset: -10px;
  border: 2px solid transparent;
  border-top-color: var(--green);
  border-radius: 50%;
  animation: spin 1.2s linear infinite;
}

.preloader-ring-2 {
  inset: -20px;
  border-top-color: var(--green-light);
  animation-duration: 1.8s;
  animation-direction: reverse;
}

.preloader-text {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 8px;
  color: var(--green);
  text-shadow: 0 0 30px rgba(15, 155, 15, 0.5);
}

@keyframes pulse-glow {
  0%, 100% { filter: drop-shadow(0 0 10px rgba(15, 155, 15, 0.4)); transform: translate(-50%, -50%) scale(1); }
  50% { filter: drop-shadow(0 0 25px rgba(15, 155, 15, 0.8)); transform: translate(-50%, -50%) scale(1.05); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: background var(--transition), padding var(--transition), backdrop-filter var(--transition);
}

.navbar.scrolled {
  background: rgba(5, 10, 5, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  padding: 10px 0;
  border-bottom: 1px solid var(--border-glass);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.navbar-logo-img {
  height: 36px;
  width: auto;
  transition: transform var(--transition);
  border-radius: 8px;
}

.navbar-logo:hover .navbar-logo-img {
  transform: scale(1.05);
}

.navbar-links {
  display: flex;
  gap: 32px;
  flex: 1;
  justify-content: center;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green);
  transition: width var(--transition);
}

.nav-link:hover {
  color: var(--text);
}

.nav-link:hover::after {
  width: 100%;
}

.navbar-cta {
  font-size: 13px;
  padding: 8px 20px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--green), var(--green-light));
  color: #fff;
  padding: 14px 32px;
  font-size: 16px;
  box-shadow: 0 4px 20px rgba(15, 155, 15, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(15, 155, 15, 0.5);
}

.btn-outline {
  border: 2px solid var(--green);
  color: var(--green-light);
  padding: 12px 32px;
  font-size: 16px;
  background: transparent;
}

.btn-outline:hover {
  background: rgba(15, 155, 15, 0.1);
  transform: translateY(-2px);
}

.btn-cta {
  background: linear-gradient(135deg, var(--green), var(--green-light));
  color: #fff;
  border-radius: var(--radius-xs);
}

.btn-cta:hover {
  box-shadow: 0 4px 20px rgba(15, 155, 15, 0.4);
  transform: translateY(-1px);
}

.btn-whatsapp {
  background: #25D366;
  color: #fff;
  padding: 14px 32px;
  font-size: 16px;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: #1da851;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 17px;
}

.btn-cta-large {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  padding: 20px 48px;
  background: linear-gradient(135deg, var(--green), var(--green-light));
  color: #fff;
  border-radius: var(--radius);
  box-shadow: 0 0 40px rgba(15, 155, 15, 0.4);
  animation: cta-pulse 2s ease-in-out infinite;
  transition: all var(--transition);
}

.btn-cta-large:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 0 60px rgba(15, 155, 15, 0.6);
}

@keyframes cta-pulse {
  0%, 100% { box-shadow: 0 0 40px rgba(15, 155, 15, 0.4); }
  50% { box-shadow: 0 0 60px rgba(15, 155, 15, 0.6), 0 0 100px rgba(15, 155, 15, 0.2); }
}

/* --- Hamburger --- */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-mouse-light {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(15, 155, 15, 0.06), transparent 60%);
}

.hero-hex-pattern {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='49' viewBox='0 0 28 49'%3E%3Cg fill='%230f9b0f' fill-opacity='1'%3E%3Cpath d='M13.99 9.25l13 7.5v15l-13 7.5L1 31.75v-15l12.99-7.5zM3 17.9v12.7l10.99 6.34 11-6.35V17.9l-11-6.34L3 17.9zM0 15l12.98-7.5V0h-2v6.35L0 12.69v2.3zm0 18.5L12.98 41v8h-2v-6.85L0 35.81v-2.3zM15 0v7.5L27.99 15H28v-2.31h-.01L17 6.35V0h-2zm0 49v-8l12.99-7.5H28v2.31h-.01L17 42.15V49h-2z'/%3E%3C/g%3E%3C/svg%3E");
}

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

.hero-logo-wrapper {
  position: relative;
  width: 160px;
  height: 160px;
  margin: 0 auto 40px;
}

.hero-logo {
  width: 120px;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 0 30px rgba(15, 155, 15, 0.5));
  animation: hero-logo-float 4s ease-in-out infinite;
  border-radius: 12px;
}

.hero-orbit {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(15, 155, 15, 0.2);
  border-radius: 50%;
  animation: spin 12s linear infinite;
}

.hero-orbit::after {
  content: '';
  position: absolute;
  top: -4px;
  left: 50%;
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--green);
}

.hero-orbit-2 {
  inset: -20px;
  border-color: rgba(80, 200, 120, 0.1);
  animation-duration: 18s;
  animation-direction: reverse;
}

.hero-orbit-2::after {
  background: var(--green-light);
  width: 6px;
  height: 6px;
  box-shadow: 0 0 10px var(--green-light);
}

@keyframes hero-logo-float {
  0%, 100% { transform: translate(-50%, -50%) translateY(0); }
  50% { transform: translate(-50%, -50%) translateY(-10px); }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 64px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-gradient {
  background: linear-gradient(135deg, var(--green), var(--green-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.hero-typing-wrapper {
  font-size: 20px;
  color: var(--text-muted);
  min-height: 32px;
  margin-bottom: 40px;
}

.hero-cursor {
  animation: blink 0.8s step-end infinite;
  color: var(--green);
  font-weight: 300;
}

@keyframes blink {
  50% { opacity: 0; }
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

/* Scroll indicator */
.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-dim);
  font-size: 12px;
  animation: scroll-bounce 2s ease-in-out infinite;
}

.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid var(--text-dim);
  border-radius: 12px;
  position: relative;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background: var(--green);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll-wheel 1.5s ease-in-out infinite;
}

@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

@keyframes scroll-wheel {
  0% { opacity: 1; top: 6px; }
  100% { opacity: 0; top: 22px; }
}

/* --- Stats Bar --- */
.stats-bar {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
  padding: 40px 0;
  position: relative;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item {
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -16px;
  top: 10%;
  height: 80%;
  width: 1px;
  background: var(--border-glass);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--green), var(--green-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  line-height: 1.2;
}

.stat-label {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 4px;
  display: block;
}

/* --- Section Headers --- */
.section-badge {
  display: inline-block;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
  background: rgba(15, 155, 15, 0.1);
  border: 1px solid rgba(15, 155, 15, 0.2);
  border-radius: 20px;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

/* --- Features Grid --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(15, 155, 15, 0.08), transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card:hover {
  border-color: rgba(15, 155, 15, 0.3);
  box-shadow: 0 8px 40px rgba(15, 155, 15, 0.1);
}

.feature-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(15, 155, 15, 0.15), rgba(80, 200, 120, 0.1));
  border-radius: 14px;
  color: var(--green);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- Steps (Como Funciona) --- */
.como-funciona {
  background: linear-gradient(180deg, var(--bg) 0%, rgba(15, 155, 15, 0.02) 50%, var(--bg) 100%);
}

.steps-wrapper {
  position: relative;
}

.steps-line {
  position: absolute;
  top: 80px;
  left: 16%;
  right: 16%;
  height: 4px;
  z-index: 0;
  display: flex;
  align-items: center;
}

.steps-svg {
  width: 100%;
  height: 4px;
  overflow: visible;
}

.steps-dash {
  stroke-dasharray: 800;
  stroke-dashoffset: 800;
  transition: stroke-dashoffset 1.5s ease;
}

.steps-wrapper.revealed .steps-dash {
  stroke-dashoffset: 0;
}

.step-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--green);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  box-shadow: 0 0 12px var(--green);
  animation: dot-pulse 2s ease-in-out infinite;
}

.step-dot-1 { left: 0; }
.step-dot-2 { left: 50%; transform: translate(-50%, -50%); }
.step-dot-3 { right: 0; }

@keyframes dot-pulse {
  0%, 100% { box-shadow: 0 0 12px var(--green); }
  50% { box-shadow: 0 0 24px var(--green), 0 0 48px rgba(15, 155, 15, 0.3); }
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  position: relative;
  z-index: 1;
}

.step-card {
  text-align: center;
  position: relative;
  padding: 32px 24px;
}

.step-number-bg {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-heading);
  font-size: 140px;
  font-weight: 700;
  background: linear-gradient(180deg, rgba(15, 155, 15, 0.08) 0%, transparent 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  pointer-events: none;
  z-index: 0;
}

.step-number {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--green), var(--green-light));
  color: #fff;
  border-radius: 50%;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
}

.step-icon {
  color: var(--green);
  margin-bottom: 16px;
}

.step-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.step-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- Showcase --- */
.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.showcase-text .section-title {
  text-align: left;
}

.showcase-text .section-badge {
  display: inline-block;
}

.showcase-desc {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.7;
}

.showcase-list {
  list-style: none;
  margin-bottom: 32px;
}

.showcase-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  font-size: 15px;
}

.showcase-list li svg {
  flex-shrink: 0;
}

/* Phone Mockup */
.phone-mockup {
  width: 300px;
  margin: 0 auto;
  background: #111;
  border-radius: 36px;
  padding: 12px;
  border: 2px solid rgba(15, 155, 15, 0.2);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(15, 155, 15, 0.1);
  position: relative;
}

.phone-notch {
  width: 120px;
  height: 24px;
  background: #111;
  border-radius: 0 0 16px 16px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.phone-screen {
  background: #0b1a0b;
  border-radius: 24px;
  overflow: hidden;
  min-height: 450px;
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(15, 155, 15, 0.1);
  border-bottom: 1px solid var(--border-glass);
}

.chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-avatar img {
  width: 28px;
  height: auto;
}

.chat-name {
  font-weight: 600;
  font-size: 14px;
  display: block;
}

.chat-status {
  font-size: 11px;
  color: var(--green);
}

.chat-body {
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 360px;
}

.chat-bubble {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.5;
  position: relative;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s, transform 0.4s;
}

.chat-bubble.visible {
  opacity: 1;
  transform: translateY(0);
}

.chat-bubble.bot {
  background: rgba(15, 155, 15, 0.12);
  border: 1px solid rgba(15, 155, 15, 0.15);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.chat-bubble.user {
  background: rgba(80, 200, 120, 0.15);
  border: 1px solid rgba(80, 200, 120, 0.2);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.chat-bubble.success {
  border-color: rgba(15, 155, 15, 0.3);
  background: rgba(15, 155, 15, 0.18);
}

.chat-bubble strong {
  color: var(--green-light);
}

.chat-time {
  display: block;
  text-align: right;
  font-size: 10px;
  color: var(--text-dim);
  margin-top: 4px;
}

.chat-pix-code {
  background: rgba(0, 0, 0, 0.3);
  padding: 6px 10px;
  border-radius: 6px;
  font-family: monospace;
  font-size: 11px;
  color: var(--green);
  margin-top: 6px;
  word-break: break-all;
}

.chat-typing {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 12px 16px;
  align-self: flex-start;
}

.chat-typing span {
  width: 6px;
  height: 6px;
  background: var(--text-dim);
  border-radius: 50%;
  animation: typing-dot 1.4s ease-in-out infinite;
}

.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing-dot {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-6px); opacity: 1; }
}

/* --- Security --- */
.seguranca {
  background: linear-gradient(180deg, var(--bg) 0%, rgba(15, 155, 15, 0.02) 50%, var(--bg) 100%);
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}

.security-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  padding: 40px 28px;
  text-align: center;
  transition: all var(--transition);
}

.security-card:hover {
  border-color: rgba(15, 155, 15, 0.3);
  box-shadow: 0 8px 40px rgba(15, 155, 15, 0.1);
  transform: translateY(-4px);
}

.security-icon {
  color: var(--green);
  margin-bottom: 20px;
}

.security-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

.security-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

.security-badges {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(15, 155, 15, 0.06);
  border: 1px solid rgba(15, 155, 15, 0.15);
  border-radius: 24px;
  font-size: 14px;
  font-weight: 500;
  color: var(--green-light);
}

/* --- Ticker --- */
.ticker {
  padding: 20px 0;
  background: rgba(15, 155, 15, 0.04);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
  overflow: hidden;
}

.ticker-track {
  display: flex;
  width: max-content;
  -webkit-animation: ticker-scroll 30s linear infinite;
  animation: ticker-scroll 30s linear infinite;
  will-change: transform;
}

.ticker-content {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-right: 24px;
  white-space: nowrap;
}

.ticker-item {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
}

.ticker-sep {
  color: var(--green);
  font-size: 10px;
}

@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- CTA Final --- */
.cta-final {
  text-align: center;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.cta-waves {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(15, 155, 15, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(80, 200, 120, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 50% 50%, rgba(15, 155, 15, 0.04) 0%, transparent 70%);
  animation: waves-drift 8s ease-in-out infinite alternate;
}

@keyframes waves-drift {
  0% { transform: scale(1) translateY(0); }
  100% { transform: scale(1.05) translateY(-10px); }
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-title {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.cta-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 40px;
}

/* --- Footer --- */
.footer {
  background: rgba(5, 10, 5, 0.8);
  border-top: 1px solid var(--border-glass);
  padding-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
}

.footer-logo {
  height: 40px;
  width: auto;
  margin-bottom: 16px;
  border-radius: 8px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text);
}

.footer-links a,
.footer-contact a {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  padding: 4px 0;
  transition: color var(--transition);
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--green);
}

.footer-bottom {
  border-top: 1px solid var(--border-glass);
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-dim);
}

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1280px) {
  .hero-title { font-size: 56px; }
  .section-title { font-size: 36px; }
}

@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase-grid { grid-template-columns: 1fr; gap: 40px; }
  .showcase-text .section-title { text-align: center; }
  .showcase-text { text-align: center; }
  .showcase-list li { justify-content: center; }
  .showcase-text .btn-whatsapp { margin: 0 auto; }
  .steps-line { display: none; }
  .hero-title { font-size: 48px; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .navbar-links {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(5, 10, 5, 0.95);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    z-index: 999;
  }
  .navbar-links.open { display: flex; }
  .navbar-links .nav-link { font-size: 20px; }
  .navbar-cta { display: none; }
  .hamburger { display: flex; }

  .hero-title { font-size: 40px; }
  .hero-typing-wrapper { font-size: 16px; }
  .hero-logo-wrapper { width: 120px; height: 120px; }
  .hero-logo { width: 80px; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .stat-item:not(:last-child)::after { display: none; }
  .stat-number { font-size: 32px; }

  .section-title { font-size: 30px; }
  .section-subtitle { font-size: 16px; }

  .steps-grid { grid-template-columns: 1fr; gap: 32px; }
  .step-number-bg { font-size: 100px; }

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

  .footer-grid { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .footer-brand p { max-width: 100%; }

  .cta-title { font-size: 32px; }
  .btn-cta-large { font-size: 17px; padding: 16px 32px; }

  .phone-mockup { width: 260px; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .features-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 34px; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .hero-buttons .btn { width: 100%; max-width: 280px; justify-content: center; }
  .security-badges { gap: 12px; }
  .badge-item { font-size: 13px; padding: 8px 14px; }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .scroll-progress { display: none; }
  .reveal { opacity: 1; transform: none; }
  .hero-particles { display: none; }
  .ticker-track { animation: none; }
}
