/* Variáveis e Reset */
:root {
  --primary: gold; /* Amarelo/laranja conforme a imagem */
  --primary-dark: #121212;
  --secondary: #c7b484; /* Azul conforme botões secundários */
  --dark: #000000; /* Fundo escuro mais intenso */
  --dark-light: black;
  --light: black;
  --gray: #808080;
  --light-gray: #121212;
  --border-radius: 10px;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --vh: 1vh;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--light);
  background-color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: var(--light);
}

ul {
  list-style: none;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.section-padding {
  padding: 100px 0;
}

.section-title {
color: #fff;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-align: center;
}

.section-description {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
  opacity: 0.8;
}

/* Botões */
.btn {
  display: inline-block;
  background: var(--secondary);
  color: var(--light);
  padding: 12px 25px;
  border-radius: 50px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1rem;
}

.btn:hover {
  background: #275AD9;
  transform: translateY(-3px);
  transform: scale(0.5px);
  box-shadow: 0 10px 20px rgba(51, 101, 234, 0.3);
}

.btn-cadastro {
  background: var(--primary);
  color: var(--dark);
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
}

.btn-cadastro:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.btn-register {
  width: 100%;
  padding: 15px;
  font-size: 1.1rem;
  margin-top: 1rem;
  background: var(--primary);
  color: var(--dark);
}

.btn-register:hover {
  background: var(--primary-dark);
}

/* Preloader */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--dark);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.fade {
  opacity: 0;
  visibility: hidden;
}

.loader {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  border-top-color: var(--primary);
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Header */
header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  padding: 0 20px;
  transition: all 0.3s ease;
  background-color: black;
  backdrop-filter: blur(30px);
  overflow-x: hidden; /* Prevenindo rolagem horizontal dentro do header */
}


.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 20px;
  position: relative;
}

.header-container img {
  height: 50px;
  width: auto;
}

.desktop-nav ul {
  display: flex;
  align-items: center;
}

.desktop-nav ul li {
  margin-left: 30px;
}

.desktop-nav ul li a {
  position: relative;
  color: #fff;
  font-weight: 500;
  transition: var(--transition);
}

.desktop-nav ul li a:not(.btn-cadastro):after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

.desktop-nav ul li a:hover:not(.btn-cadastro):after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--light);
  font-size: 1.5rem;
  cursor: pointer;
  overflow: hidden;
  position: relative; /* Adicionando posicionamento relativo */
  z-index: 1001; /* Garantindo que fique acima de outros elementos */
  margin-right: 5px; /* Espaçamento para afastá-lo da borda */
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--dark);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  color: var(--light);
  font-size: 1.8rem;
  cursor: pointer;
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mobile-menu ul li {
  margin: 15px 0;
}

.mobile-menu ul li a {
  font-size: 1.3rem;
  font-weight: 500;
}

.mobile-cta {
  display: inline-block;
  margin-top: 15px;
  background: var(--primary);
  padding: 12px 25px;
  border-radius: 50px;
  color: var(--dark);
}

/* Hero Section */
.hero {
  padding-top: 120px;
  padding-bottom: 80px;
  background-color: #000000;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-container {
  display: flex;
  text-align: left;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.hero-content {
  flex: 1;
}

.hero-content h1 {
  font-size: 3rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: #fff;
}

.hero-content span {
  color: #FFD700;
  letter-spacing: -2px;
  position: relative;
}

.hero-content p {
    color: #fff;
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.8;
  max-width: 500px;
}

.hero-image {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-image .main-image {
  max-width: 100%;
  height: auto;
}

.notification {
  position: absolute;
  background: rgba(26, 26, 47, 0.8);
  backdrop-filter: blur(10px);
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  width: 150px;
  animation: float 4s infinite ease-in-out;
}

.notification p {
    color: #fff;
  font-size: 0.8rem;
  font-weight: bold;
  opacity: 0.8;
  margin-bottom: 5px;
}

.notification .value {
  font-weight: 600;
  font-size: 1rem;
  color: var(--primary);
}

.fade-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 40%; /* quanto maior, mais alto vai o degradê */
  width: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, #000000 100%);
  pointer-events: none;
}

.notification-1 {
  top: 20%;
  left: 5%;
  animation-delay: 0s;
}

.notification-2 {
  top: 30%;
  right: 5%;
  animation-delay: 1s;
}

.notification-3 {
  bottom: 10%;
  left: 10%;
  animation-delay: 2s;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

/* Features Section */
.features {
  background-color: black;
}

.features-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 50px;
}

.feature-card {
  background: black;
  border-radius: var(--border-radius);
  padding: 30px;
  text-align: center;
  transition: var(--transition);
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.feature-card i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.feature-card h3 {
    color: #fff;
    letter-spacing: -1px;
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.feature-card p {
    color: #fff;
  opacity: 0.8;
}

/* Solutions Section */
.solutions {
  background-color: var(--dark);
}

.solutions-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.solutions-content {
  flex: 1;
}

.solutions-content h2 {
    color: gold;
    line-height: 35px;
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.solutions-content p {
    color: #fff;
  margin-bottom: 25px;
  opacity: 0.8;
}

.solutions-list {
    color: #fff;
  margin-bottom: 30px;
}

.solutions-list li {
  margin-bottom: 15px;
  color: #fff;
  display: flex;
  align-items: center;
}

.solutions-list i {
  color: var(--primary);
  margin-right: 10px;
  font-size: 1.2rem;
}

.solutions-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.solutions-image img {
  max-width: 100%;
  height: 500px;
  border-radius: var(--border-radius);
}

/* Bank Account Section */
.bank {
  background-color: black;
  position: relative;
  overflow: hidden;
}


.bank-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.bank li{
    color: black;
}

.bank-content {
  flex: 1;
}

.bank-content h2 {
  font-size: 2.5rem;
  color: #fff;
  letter-spacing: -2px;
  line-height: 35px;
  margin-bottom: 20px;
}

.bank-content p {
  margin-bottom: 25px;
  opacity: 0.8;
  color: black;
}

.bank-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card {
  width: 350px;
  height: 230px;
  background: linear-gradient(135deg, #1A1A2F, black, #000000);
  border-radius: 15px;
  padding: 25px;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-logo {
  
}

.card-number {
  font-size: 1.2rem;
  letter-spacing: 2px;
  margin-top: 20px;
}

.card-info {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.card-label {
  font-size: 0.7rem;
  opacity: 0.7;
  margin-bottom: 5px;
}

.card-name, .card-exp {
  font-size: 0.9rem;
  font-weight: 500;
}

/* Register Section */
.register {
  background-color: var(--dark);
  position: relative;
}

.register::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top left, rgba(255, 145, 0, 0.05), transparent 70%);
}

.register-form {
  background: rgba(26, 26, 47, 0.5);
  backdrop-filter: blur(10px);
  max-width: 600px;
  margin: 0 auto;
  border-radius: var(--border-radius);
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input, .form-group select {
  width: 100%;
  padding: 12px 15px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  color: var(--light);
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
}

.form-group input:focus, .form-group select:focus {
  outline: none;
  border-color: var(--primary);
}

.form-check {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.form-check input {
  margin-top: 5px;
  margin-right: 10px;
}

.form-check a {
  color: var(--primary);
  text-decoration: underline;
}

/* Footer */
footer {
  background-color: var(--dark-light);
  padding: 80px 0 30px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.footer-column h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: var(--primary);
}

.footer-column p {
    font-size: 11pt;
  margin-bottom: 20px;
  opacity: 0.8;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
    color: #fff;
  opacity: 0.8;
  transition: var(--transition);
}

.footer-column ul li a:hover {
  opacity: 1;
  color: var(--primary);
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--primary);
  color: var(--dark);
  transform: translateY(-5px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  text-align: center;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.footer-logo span {
  color: var(--primary);
}

.copyright {
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: var(--dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px);
}

/* Responsividade */
@media (max-width: 992px) {
  .hero-container, .solutions-container, .bank-container {
    flex-direction: column;
    text-align: center;
  }
  
  .solutions-list, .solutions-content, .bank-content {
    text-align: left;
  }
  
  .hero-image {
    margin-top: 40px;
  }
  
  .solutions-image, .bank-image {
    margin-top: 30px;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .section-padding {
    padding: 70px 0;
  }
  
  .desktop-nav {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .notification {
    width: 120px;
    padding: 10px;
  }
  .mobile-menu-btn {
    display: block;
    position: fixed; /* Mudando para posição fixa */
    top: 20px; /* Distância do topo */
    right: 20px; /* Distância da direita */
    z-index: 1002; /* Garantindo que fique acima de tudo */
    background: transparent;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
  }
  
  .header-container {
    padding-right: 0px; /* Dando espaço para o botão do menu mobile */
  }
}

@media (max-width: 576px) {
  .register-form {
    padding: 25px;
  }
  
  .card {
    width: 320px;
    height: 230px;
    padding: 15px;
  }
  
  .hero-content h1 {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
    .header-container img{
        height: 30px;
    }
    .mobile-menu-btn {
    display: block;
    position: fixed; /* Mudando para posição fixa */
    top: 20px; /* Distância do topo */
    right: 20px; /* Distância da direita */
    z-index: 1002; /* Garantindo que fique acima de tudo */
    background: transparent;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
  }
}

/* Animações adicionais */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 1s ease forwards;
}
