/* Estilos Globais */
:root {
  --primary-color: #2a71d0;
  --secondary-color: #6c63ff;
  --accent-color: #00d09c;
  --dark-color: #1a2b4a;
  --light-color: #f8f9fa;
  --text-color: #333;
  --text-light: #6c757d;
  --success-color: #28a745;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
  --border-radius: 8px;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-color);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

a:hover {
  color: var(--secondary-color);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
  transition: var(--transition);
  text-align: center;
}

.btn:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: var(--box-shadow);
  color: white;
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: white;
}

.btn-accent {
  background-color: var(--accent-color);
}

.btn-accent:hover {
  background-color: #00b589;
}

.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 36px;
  margin-bottom: 15px;
  color: var(--dark-color);
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 3px;
  background-color: var(--accent-color);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.section-title p {
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto;
  font-size: 18px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.header.scrolled {
  padding: 15px 0;
  background-color: white;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--dark-color);
  display: flex;
  align-items: center;
}

.logo span {
  color: var(--accent-color);
}

.logo img {
  height: 40px;
  margin-right: 10px;
}

.nav-menu {
  display: flex;
}

.nav-menu li {
  margin-left: 30px;
}

.nav-menu a {
  color: var(--dark-color);
  font-weight: 500;
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  bottom: -5px;
  left: 0;
  transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  cursor: pointer;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--dark-color) 0%, var(--primary-color) 100%);
  color: white;
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/crypto-pattern.png');
  background-size: cover;
  opacity: 0.1;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero-image {
  flex: 1;
  text-align: right;
  margin-left: 50px;
}

.hero h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero p {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.9;
}

.hero-btns {
  display: flex;
  gap: 15px;
}

/* Features Section */
.features {
  background-color: white;
}

.features-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature-box {
  background-color: white;
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  text-align: center;
}

.feature-box:hover {
  transform: translateY(-10px);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background-color: rgba(108, 99, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.feature-icon i {
  font-size: 30px;
  color: var(--secondary-color);
}

.feature-box h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: var(--dark-color);
}

.feature-box p {
  color: var(--text-light);
}

/* How It Works Section */
.how-it-works {
  background-color: #f5f7fa;
}

.steps-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.step-box {
  flex: 1;
  min-width: 250px;
  max-width: 350px;
  text-align: center;
  position: relative;
}

.step-number {
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  margin: 0 auto 20px;
}

.step-box h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: var(--dark-color);
}

.step-box p {
  color: var(--text-light);
}

.step-box:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 25px;
  right: -15%;
  width: 30%;
  height: 2px;
  background-color: var(--primary-color);
  display: none;
}

@media (min-width: 992px) {
  .step-box:not(:last-child)::after {
    display: block;
  }
}

/* Pricing Section */
.pricing {
  background-color: white;
}

.pricing-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.pricing-box {
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 40px 30px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.pricing-box.featured {
  transform: scale(1.05);
  border: 2px solid var(--accent-color);
}

.pricing-box.featured::before {
  content: 'Popular';
  position: absolute;
  top: 20px;
  right: -30px;
  background-color: var(--accent-color);
  color: white;
  padding: 5px 30px;
  transform: rotate(45deg);
  font-size: 12px;
  font-weight: 600;
}

.pricing-box:hover {
  transform: translateY(-10px);
}

.pricing-box.featured:hover {
  transform: scale(1.05) translateY(-10px);
}

.pricing-name {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--dark-color);
}

.pricing-price {
  font-size: 48px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.pricing-price span {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-light);
}

.pricing-features {
  margin-bottom: 30px;
}

.pricing-features li {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.pricing-features li:last-child {
  border-bottom: none;
}

/* Testimonials Section */
.testimonials {
  background-color: #f5f7fa;
}

.testimonials-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-box {
  background-color: white;
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.testimonial-content {
  margin-bottom: 20px;
  font-style: italic;
  color: var(--text-light);
  position: relative;
}

.testimonial-content::before {
  content: '"';
  font-size: 60px;
  color: rgba(108, 99, 255, 0.1);
  position: absolute;
  top: -20px;
  left: -10px;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 15px;
  object-fit: cover;
}

.author-info h4 {
  font-size: 18px;
  margin-bottom: 5px;
  color: var(--dark-color);
}

.author-info p {
  font-size: 14px;
  color: var(--text-light);
}

/* FAQ Section */
.faq {
  background-color: white;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow: hidden;
}

.faq-question {
  padding: 20px;
  background-color: white;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--dark-color);
}

.faq-question i {
  transition: var(--transition);
}

.faq-question.active i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
  background-color: #f9f9f9;
}

.faq-answer.active {
  padding: 20px;
  max-height: 1000px;
}

/* CTA Section */
.cta {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  text-align: center;
  padding: 100px 0;
}

.cta h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.cta p {
  font-size: 18px;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta .btn {
  background-color: white;
  color: var(--primary-color);
}

.cta .btn:hover {
  background-color: var(--accent-color);
  color: white;
}

/* Contact Section */
.contact {
  background-color: #f5f7fa;
}

.contact-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 50px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(108, 99, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon i {
  font-size: 20px;
  color: var(--secondary-color);
}

.contact-text h3 {
  font-size: 18px;
  margin-bottom: 5px;
  color: var(--dark-color);
}

.contact-text p {
  color: var(--text-light);
}

.contact-form {
  background-color: white;
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
  color: var(--dark-color);
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: 16px;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary-color);
  outline: none;
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* Footer */
.footer {
  background-color: var(--dark-color);
  color: white;
  padding: 80px 0 30px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.footer-logo {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  display: inline-block;
}

.footer-logo span {
  color: var(--accent-color);
}

.footer-about p {
  margin-bottom: 20px;
  opacity: 0.8;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--accent-color);
  transform: translateY(-5px);
}

.footer-links h3,
.footer-newsletter h3 {
  font-size: 20px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-links h3::after,
.footer-newsletter h3::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 2px;
  background-color: var(--accent-color);
  bottom: 0;
  left: 0;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

.footer-links ul li a:hover {
  color: var(--accent-color);
  padding-left: 5px;
}

.footer-newsletter p {
  margin-bottom: 20px;
  opacity: 0.8;
}

.newsletter-form {
  display: flex;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 15px;
  border: none;
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  font-family: inherit;
  font-size: 14px;
}

.newsletter-form button {
  background-color: var(--accent-color);
  color: white;
  border: none;
  padding: 0 20px;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-form button:hover {
  background-color: #00b589;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  opacity: 0.8;
  font-size: 14px;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero .container {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    margin-bottom: 50px;
  }

  .hero-image {
    margin-left: 0;
  }

  .hero-btns {
    justify-content: center;
  }

  .section {
    padding: 60px 0;
  }

  .section-title h2 {
    font-size: 30px;
  }
}

@media (max-width: 768px) {
  .header .container {
    padding: 15px 20px;
  }

  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 80%;
    height: calc(100vh - 80px);
    background-color: white;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 50px;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    margin: 15px 0;
  }

  .hamburger {
    display: block;
    font-size: 24px;
  }

  .hero {
    padding: 120px 0 60px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .pricing-box.featured {
    transform: scale(1);
  }

  .pricing-box.featured:hover {
    transform: translateY(-10px);
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 30px;
  }

  .section-title h2 {
    font-size: 26px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input {
    border-radius: var(--border-radius);
    margin-bottom: 10px;
  }

  .newsletter-form button {
    border-radius: var(--border-radius);
    width: 100%;
    padding: 12px;
  }
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate {
  animation: fadeIn 0.8s ease forwards;
}

.delay-1 {
  animation-delay: 0.2s;
}

.delay-2 {
  animation-delay: 0.4s;
}

.delay-3 {
  animation-delay: 0.6s;
}

/* Scroll to Top Button */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
}

.scroll-top.active {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background-color: var(--secondary-color);
  transform: translateY(-5px);
}
