/* Variáveis de cores - mantendo a identidade visual */
:root {
  --primary: #1e90ff;
  --accent: #4dd0ff;
  --bg: #0a0f1a;
  --dark-bg: #0f1724;
  --card-bg: #12203b;
  --text: #ffffff;
  --text-light: #d5dfe8;
  --success: #4ade80;
  --warning: #facc15;
  --error: #f87171;
}

/* Reset e estilos base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Partículas de fundo */
.floating-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.particle-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(77, 208, 255, 0.1);
  animation: float 15s infinite ease-in-out;
}

.circle-1 {
  width: 150px;
  height: 150px;
  top: 10%;
  left: 5%;
  animation-delay: 0s;
}

.circle-2 {
  width: 100px;
  height: 100px;
  top: 70%;
  left: 10%;
  animation-delay: -2s;
}

.circle-3 {
  width: 200px;
  height: 200px;
  top: 20%;
  right: 5%;
  animation-delay: -5s;
}

.circle-4 {
  width: 120px;
  height: 120px;
  top: 60%;
  right: 10%;
  animation-delay: -7s;
}

.circle-5 {
  width: 80px;
  height: 80px;
  top: 40%;
  left: 20%;
  animation-delay: -10s;
}

.circle-6 {
  width: 180px;
  height: 180px;
  top: 50%;
  right: 20%;
  animation-delay: -12s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.5;
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
    opacity: 0.8;
  }
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 5%;
  height: 72px;
  background: rgba(10, 15, 26, 0.9);
  backdrop-filter: saturate(120%) blur(6px);
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.logo-image {
  height: 160px;
  width: auto;
  margin-top: 10px;
  transition: all 0.4s ease;
}

.nav {
  display: flex;
  align-items: center;
  margin-right: 47px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.nav-link-item {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 0;
  position: relative;
  transition: all 0.3s ease;
}

.nav-link-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.4s ease;
}

.nav-link-item:hover::after,
.nav-link-item.active::after {
  width: 100%;
}

.nav-link-item:hover,
.nav-link-item.active {
  color: var(--accent);
}

/* Menu mobile */
.hamburger {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
  margin-left: 15px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 3px;
  background: #fff;
  margin: 3px 0;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.sidebar {
  position: fixed;
  top: 0;
  right: -100%;
  width: 76%;
  max-width: 320px;
  height: 100%;
  background: #0f1a2a;
  padding: 84px 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: right 0.4s ease;
  z-index: 1100;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.5);
}

.sidebar.show {
  right: 0;
}

.sidebar-close {
  position: absolute;
  top: 20px;
  right: 20px;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.sidebar-close:hover {
  color: var(--accent);
  transform: scale(1.1);
}

.sidebar-link {
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
  padding: 10px 0;
  display: block;
  transition: all 0.3s ease;
}

.sidebar-link:hover,
.sidebar-link.active {
  color: var(--accent);
  transform: translateX(5px);
}

/* Hero Section - Como Funciona */
.how-hero {
  padding: 160px 5% 80px;
  min-height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 60px;
  width: 100%;
}

.hero-content {
  flex: 1;
}

.hero-title {
  font-size: 3.2rem;
  margin-bottom: 20px;
  line-height: 1.2;
  animation: fadeInUp 1s ease;
  color: var(--text);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 40px;
  animation: fadeInUp 1s ease 0.2s both;
}

.hero-cta {
  display: flex;
  gap: 20px;
  margin-top: 40px;
  animation: fadeInUp 1s ease 0.4s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  padding: 16px 32px;
  border-radius: 10px;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  font-size: 1.1rem;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: all 0.6s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 8px 20px rgba(30, 144, 255, 0.3);
}

.btn-primary:hover {
  background: #0d7dd9;
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(30, 144, 255, 0.4);
}

.btn-secondary {
  background: rgba(77, 208, 255, 0.15);
  border: 2px solid var(--accent);
  color: var(--accent);
}

.btn-secondary:hover {
  background: rgba(77, 208, 255, 0.25);
  transform: translateY(-3px);
}

.btn-large {
  padding: 18px 36px;
  font-size: 1.2rem;
}

.btn-icon {
  margin-right: 12px;
  font-size: 1.2rem;
}

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn 1s ease 0.6s both;
}

.connection-visual {
  display: flex;
  align-items: center;
  gap: 15px;
}

.visual-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background: var(--card-bg);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  min-width: 120px;
  transition: transform 0.3s ease;
}

.visual-item:hover {
  transform: translateY(-5px);
}

.visual-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background: rgba(77, 208, 255, 0.1);
  color: var(--accent);
  transition: all 0.3s ease;
}

.visual-item:hover .visual-icon {
  background: var(--accent);
  color: var(--bg);
  transform: scale(1.1);
}

.platform .visual-icon {
  background: rgba(30, 144, 255, 0.1);
  color: var(--primary);
}

.platform:hover .visual-icon {
  background: var(--primary);
  color: var(--bg);
}

.visual-item span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-light);
}

.connection-animation {
  position: relative;
  width: 60px;
  height: 3px;
  background: var(--primary);
  overflow: hidden;
}

.connection-dots {
  display: flex;
  gap: 8px;
  animation: moveDots 2s infinite linear;
}

.reverse .connection-dots {
  animation: moveDotsReverse 2s infinite linear;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

@keyframes moveDots {
  0% {
    transform: translateX(-20px);
  }
  100% {
    transform: translateX(20px);
  }
}

@keyframes moveDotsReverse {
  0% {
    transform: translateX(20px);
  }
  100% {
    transform: translateX(-20px);
  }
}

/* Seções de Processo */
.process-section {
  padding: 100px 5%;
  background: var(--dark-bg);
}

.provider-section {
  background: var(--bg);
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.8rem;
  margin-bottom: 15px;
  color: var(--text);
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
}

.section-header p {
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 700px;
  margin: 30px auto 0;
}

/* Tabela de Processos */
.process-table {
  background: var(--card-bg);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.table-header {
  display: grid;
  grid-template-columns: 100px 1fr 2fr;
  background: rgba(77, 208, 255, 0.1);
  padding: 20px 30px;
  font-weight: 700;
  color: var(--accent);
}

.table-row {
  display: grid;
  grid-template-columns: 100px 1fr 2fr;
  padding: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
}

.table-row:last-child {
  border-bottom: none;
}

.table-row.visible {
  opacity: 1;
  transform: translateY(0);
}

.table-row:hover {
  background: rgba(77, 208, 255, 0.05);
}

.table-step {
  display: flex;
  align-items: flex-start;
}

.step-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  box-shadow: 0 0 0 8px rgba(30, 144, 255, 0.2);
  transition: all 0.3s ease;
}

.table-row:hover .step-number {
  transform: scale(1.1);
  box-shadow: 0 0 0 10px rgba(30, 144, 255, 0.3);
}

.table-process {
  display: flex;
  align-items: center;
  gap: 15px;
}

.process-icon {
  font-size: 1.8rem;
  color: var(--accent);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(77, 208, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.table-row:hover .process-icon {
  background: var(--accent);
  color: var(--bg);
  transform: scale(1.1);
}

.table-process h3 {
  font-size: 1.2rem;
  color: var(--text);
}

.table-desc p {
  color: var(--text-light);
  line-height: 1.6;
}

/* Seção de Vantagens */
.advantages-section {
  padding: 100px 5%;
  background: var(--dark-bg);
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.advantage-card {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
}

.advantage-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.advantage-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, var(--primary), var(--accent));
}

.advantage-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.advantage-icon {
  font-size: 3rem;
  color: var(--accent);
  margin-bottom: 25px;
  transition: all 0.3s ease;
}

.advantage-card:hover .advantage-icon {
  transform: scale(1.2) rotate(5deg);
  color: var(--primary);
}

.advantage-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--text);
}

.advantage-card p {
  color: var(--text-light);
  line-height: 1.6;
}

/* Seção FAQ */
.faq-section {
  padding: 100px 5%;
  background: var(--bg);
}

.faq-container {
  max-width: 900px;
  margin: 60px auto 0;
}

.faq-item {
  margin-bottom: 20px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--card-bg);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.faq-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 30px;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: rgba(77, 208, 255, 0.05);
}

.faq-question i {
  transition: transform 0.3s ease;
}

.faq-question.active i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer p {
  padding: 0 30px 25px;
  color: var(--text-light);
  line-height: 1.6;
}

/* Seção CTA */
.cta-section {
  padding: 100px 5%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(255,255,255,0.05)"/></svg>');
  background-size: 100% 100%;
}

.cta-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  color: var(--text);
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Footer */
.footer {
  background: var(--dark-bg);
  padding: 80px 5% 40px;
  color: var(--text-light);
  position: relative;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.footer-about p {
  margin: 20px 0;
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 25px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, var(--primary), var(--accent));
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 1;
}

.social-link:hover::before {
  opacity: 1;
}

.social-link i {
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.social-link:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 10px 20px rgba(30, 144, 255, 0.3);
}

.social-link:hover i {
  color: white;
  transform: rotate(10deg);
}

/* Efeitos individuais para cada rede social */
.social-link:nth-child(1):hover {
  background: #3b5998;
}

.social-link:nth-child(2):hover {
  background: #e4405f;
}

.social-link:nth-child(3):hover {
  background: #0077b5;
}

.social-link:nth-child(4):hover {
  background: #ff0000;
}

.footer-heading {
  color: var(--text);
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.footer-links:hover .footer-heading::after {
  width: 60px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-light);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 8px;
  transform: translateX(5px);
}

.footer-contact p {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.footer-contact p:hover {
  color: var(--accent);
}

.footer-contact p:hover i {
  transform: scale(1.2);
}

.footer-contact i {
  margin-right: 12px;
  color: var(--accent);
  width: 20px;
  transition: all 0.3s ease;
}

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.copyright::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
}

/* Animações */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(77, 208, 255, 0.7);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(77, 208, 255, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(77, 208, 255, 0);
  }
}

/* Responsividade */
@media (max-width: 1024px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }
  
  .hero-title {
    font-size: 2.8rem;
  }
  
  .connection-visual {
    gap: 10px;
  }
  
  .visual-item {
    min-width: 100px;
    padding: 15px;
  }
  
  .visual-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
  
  .connection-animation {
    width: 40px;
  }
  
  .table-header,
  .table-row {
    grid-template-columns: 80px 1fr 1.5fr;
  }
  
  .step-number {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .process-icon {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .header {
    padding: 14px 20px;
  }
  
  .nav {
    display: none;
  }
  
  .hamburger {
    display: flex;
  }
  
  .how-hero {
    padding: 140px 5% 60px;
    min-height: auto;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-cta {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .connection-visual {
    flex-direction: column;
    gap: 20px;
  }
  
  .connection-animation {
    width: 3px;
    height: 40px;
  }
  
  .connection-dots {
    flex-direction: column;
    gap: 8px;
    animation: moveDotsVertical 2s infinite linear;
  }
  
  .reverse .connection-dots {
    animation: moveDotsVerticalReverse 2s infinite linear;
  }
  
  @keyframes moveDotsVertical {
    0% {
      transform: translateY(-20px);
    }
    100% {
      transform: translateY(20px);
    }
  }
  
  @keyframes moveDotsVerticalReverse {
    0% {
      transform: translateY(20px);
    }
    100% {
      transform: translateY(-20px);
    }
  }
  
  .table-header {
    display: none;
  }
  
  .table-row {
    grid-template-columns: 1fr;
    gap: 15px;
    text-align: center;
    padding: 20px;
  }
  
  .table-step {
    justify-content: center;
  }
  
  .table-process {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  
  .advantages-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
  }
  
  .social-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .btn {
    padding: 14px 28px;
    font-size: 1rem;
  }
  
  .btn-large {
    padding: 16px 32px;
  }
  
  .section-header h2 {
    font-size: 2.2rem;
  }
  
  .table-row {
    padding: 15px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-heading::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer-contact p {
    justify-content: center;
  }
  
  .social-links {
    justify-content: center;
  }
}