/* Base Styles */
:root {
  --primary-color: #3b82f6;
  --primary-dark: #2563eb;
  --secondary-color: #f3f4f6;
  --text-color: #1f2937;
  --text-light: #6b7280;
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --border-radius: 0.5rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background: linear-gradient(to bottom, var(--gray-50), var(--gray-100));
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--gray-900);
}

.section-header p {
  font-size: 1.25rem;
  color: var(--text-light);
  max-width: 48rem;
  margin: 0 auto;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 4rem;
  color: var(--gray-900);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary:hover {
  background-color: var(--white);
  color: var(--primary-color);
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.btn-primary i {
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

.btn-primary:hover i {
  transform: translateX(3px);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-color);
  border: 2px solid var(--gray-300);
}

.btn-outline:hover {
  background-color: var(--gray-100);
}

.btn-secondary {
  background-color: var(--gray-100);
  color: var(--text-color);
  border: none;
}

.btn-secondary:hover {
  background-color: var(--gray-200);
}

.btn-white {
  background-color: var(--white);
  color: var(--primary-color);
  border: none;
}

.btn-white:hover {
  background-color: var(--gray-50);
}

.btn-entrar {
  background-color: var(--white);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.btn-entrar:hover {
  background-color: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.btn-entrar i {
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

.btn-entrar:hover i {
  transform: translateX(3px);
}

/* Header */
.header {
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  position: fixed;
  width: 100%;
  z-index: 1000;
}

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

.logo {
  display: flex;
  align-items: center;
}

.logo-text {
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: transform 0.3s ease;
  letter-spacing: -0.5px;
}

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

.logo-text-i {
  font-style: italic;
  color: var(--primary-color);
}

.logo-text-cloud {
  font-weight: 400;
  color: #4b5563;
  -webkit-text-fill-color: #4b5563;
  opacity: 0.9;
}

.logo-text-app {
  font-weight: 400;
  font-size: 1.4rem;
  opacity: 0.8;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-light);
  transition: color 0.3s ease;
}

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

/* Header button style */
.nav-links .btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
  border: 2px solid var(--primary-color);
  box-shadow: none;
  transform: none;
}

.nav-links .btn-primary:hover {
  background-color: var(--white);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding-top: 8rem;
  padding-bottom: 5rem;
  background: linear-gradient(135deg, #ebf5ff, var(--white), #ebf5ff);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -10%;
  width: 60%;
  height: 70%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
  z-index: 0;
  animation: pulse 8s infinite alternate;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.1); opacity: 0.8; }
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text h1 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--gray-900);
}

.hero-text p {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.hero-image img {
  border-radius: 1rem;
  box-shadow: var(--shadow-xl);
  transition: transform 0.5s ease;
}

.hero-image img:hover {
  transform: scale(1.02);
}

/* Benefits Section */
.benefits {
  padding: 5rem 0;
  background-color: var(--white);
  background-image: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(255, 255, 255, 1) 100%);
  position: relative;
  overflow: hidden;
}

.benefits::after {
  content: '';
  position: absolute;
  bottom: -5%;
  left: -5%;
  width: 40%;
  height: 40%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
  z-index: 0;
  animation: float 10s infinite alternate;
}

@keyframes float {
  0% { transform: translateY(0) rotate(0); }
  100% { transform: translateY(-20px) rotate(5deg); }
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.benefits-content {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.benefit-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  transition: transform 0.3s ease;
}

.benefit-item:hover {
  transform: translateX(5px);
}

.benefit-item i {
  font-size: 2rem;
  color: var(--primary-color);
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-top: 0.25rem;
}

.benefit-item h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--gray-900);
}

.benefit-item p {
  color: var(--text-light);
  line-height: 1.7;
}

.benefits-image img {
  border-radius: 1rem;
  box-shadow: var(--shadow-xl);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.benefits-image img:hover {
  transform: scale(1.02) translateY(-5px);
  box-shadow: 0 25px 30px -12px rgba(0, 0, 0, 0.15);
}

/* Features Section */
.features {
  padding: 5rem 0;
  background-color: var(--white);
  position: relative;
  overflow: hidden;
}

.features::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.03) 0%, rgba(255, 255, 255, 0) 50%);
  z-index: 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.feature-card {
  padding: 2rem;
  border-radius: var(--border-radius);
  background: linear-gradient(135deg, #ebf5ff, var(--white));
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

.feature-card:hover i {
  transform: scale(1.1);
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--text-light);
}

/* Pricing Section */
.pricing {
  padding: 5rem 0;
  background-color: var(--gray-50);
  position: relative;
  overflow: hidden;
}

.pricing::before {
  content: '';
  position: absolute;
  top: -10%;
  left: -10%;
  width: 120%;
  height: 120%;
  background: radial-gradient(ellipse at top left, rgba(59, 130, 246, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
  z-index: 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.pricing-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  border: 2px solid var(--gray-100);
  text-align: center;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.pricing-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.pricing-card:hover::after {
  transform: scaleX(1);
}

.pricing-card.featured {
  background-color: var(--primary-color);
  color: var(--white);
  box-shadow: var(--shadow-xl);
  transform: scale(1.02);
  z-index: 1;
}

.pricing-card.featured:hover {
  transform: scale(1.04);
}

.pricing-card.featured::after {
  background: linear-gradient(90deg, var(--white), transparent);
}

.popular-tag {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: #10b981;
  color: var(--white);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.pricing-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.price {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.price span {
  font-size: 1rem;
  color: var(--text-light);
}

.pricing-card.featured .price span {
  color: rgba(255, 255, 255, 0.8);
}

.features-list {
  margin-bottom: 2rem;
  flex-grow: 1;
}

.features-list li {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  justify-content: center;
  font-size: 0.95rem;
}

.features-list i {
  color: #10b981;
  margin-right: 0.5rem;
}

.pricing-card.featured .features-list i {
  color: var(--white);
}

.pricing-card .btn {
  width: 100%;
  margin-top: auto;
}

/* Testimonials Section */
.testimonials {
  padding: 5rem 0;
  background-color: var(--white);
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.03) 0%, rgba(255, 255, 255, 0) 50%);
  z-index: 0;
}

.testimonials-container {
  position: relative;
  z-index: 1;
  padding: 2rem 0;
}

.testimonial-card {
  background-color: var(--white);
  border-radius: 1rem;
  box-shadow: var(--shadow);
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--gray-100);
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.testimonial-content {
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

.testimonial-text {
  color: var(--text-color);
  font-style: italic;
  line-height: 1.7;
  position: relative;
  padding-left: 1.5rem;
}

.testimonial-text::before {
  content: '"';
  position: absolute;
  left: 0;
  top: -0.5rem;
  font-size: 3rem;
  color: var(--primary-color);
  opacity: 0.3;
  line-height: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--primary-color);
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-info {
  display: flex;
  flex-direction: column;
}

.testimonial-info h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.25rem;
}

.testimonial-rating {
  color: #f59e0b;
  font-size: 0.875rem;
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--primary-color);
}

.swiper-pagination-bullet-active {
  background-color: var(--primary-color);
}

/* Contact Section */
.contact {
  padding: 5rem 0;
  background-color: var(--white);
  position: relative;
  overflow: hidden;
}

.contact::after {
  content: '';
  position: absolute;
  bottom: -10%;
  right: -10%;
  width: 50%;
  height: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
  z-index: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.contact-item {
  text-align: center;
  padding: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: var(--border-radius);
}

.contact-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  background-color: var(--gray-50);
}

.contact-item i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.contact-item:hover i {
  transform: scale(1.2);
}

.contact-item h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.contact-item p {
  color: var(--text-light);
}

/* Footer */
.footer {
  background-color: var(--gray-900);
  color: var(--gray-300);
  padding: 3rem 0;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
}

.footer-about p {
  font-size: 0.875rem;
}

.footer-links h4 {
  color: var(--white);
  font-weight: 600;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.footer-links h4::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--primary-color);
}

.footer-links ul li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
}

.footer-links a::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--white);
  transition: width 0.3s ease;
}

.footer-links a:hover {
  color: var(--white);
  transform: translateX(3px);
}

.footer-links a:hover::before {
  width: 100%;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #374151;
  font-size: 0.875rem;
  position: relative;
  z-index: 1;
}

/* Animation classes */
.fade-in {
  animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Media Queries */
@media (max-width: 992px) {
  .hero-content, .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-text, .benefits-content {
    text-align: center;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .benefit-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .pricing-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  
  .pricing-card.featured {
    transform: none;
  }
  
  .pricing-card.featured:hover {
    transform: translateY(-5px);
  }
}

@media (max-width: 768px) {
  .menu-icon {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: 5rem;
    left: 0;
    width: 100%;
    flex-direction: column;
    background-color: var(--white);
    box-shadow: var(--shadow);
    padding: 2rem;
    gap: 1.5rem;
    transform: translateY(-150%);
    transition: transform 0.3s ease;
    z-index: 999;
  }
  
  .menu-toggle:checked ~ .nav-links {
    transform: translateY(0);
  }
  
  .hero-text h1 {
    font-size: 2.5rem;
  }
  
  .features-grid {
    grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-logo {
    justify-content: center;
  }
  
  .footer-links h4::after {
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 576px) {
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-buttons .btn {
    width: 100%;
  }
  
  .section-header h2 {
    font-size: 1.75rem;
  }
  
  .section-header p {
    font-size: 1rem;
  }
  
  .hero-text h1 {
    font-size: 2rem;
  }
  
  .hero-text p {
    font-size: 1rem;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* Testimonials specific styles */
.text-center {
  text-align: center;
}