/* Finance Page Specific Styles */

/* Hero Section with Finance Background */
.finance-hero {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)), 
              url('arquivos/TelaInicial.png');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 150px 0 80px;
  text-align: center;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.finance-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 1rem;
  line-height: 1.2;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.finance-hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5rem;
}

/* Device Mockups for Hero Section */
.device-mockups {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
  perspective: 1000px;
  max-width: 70%;
  margin-left: auto;
  margin-right: auto;
}

.device {
  position: relative;
  transition: all 0.5s ease;
}

.device.laptop {
  width: 400px;
  max-width: 70%;
  transform: rotateY(-5deg);
  z-index: 1;
}

.device.mobile {
  width: 150px;
  max-width: 25%;
  transform: rotateY(15deg) translateX(-30px);
  z-index: 2;
}

.device-frame {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.device.laptop .device-frame {
  border: 8px solid #333;
  border-bottom: 15px solid #333;
  border-radius: 10px;
}

.device.mobile .device-frame {
  border: 6px solid #333;
  border-top: 10px solid #333;
  border-bottom: 12px solid #333;
  border-radius: 15px;
}

.device.mobile .device-frame::before {
  content: '';
  position: absolute;
  width: 30px;
  height: 3px;
  background: #222;
  top: -7px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
  z-index: 10;
}

.device-frame img {
  width: 100%;
  height: auto;
  display: block;
}

/* Responsive adjustments for device mockups */
@media (max-width: 992px) {
  .device.laptop {
    width: 350px;
  }
  
  .device.mobile {
    width: 140px;
  }
}

@media (max-width: 768px) {
  .device-mockups {
    flex-direction: column;
    gap: 20px;
    margin-top: 15px;
  }
  
  .device.laptop {
    width: 80%;
    transform: none;
  }
  
  .device.mobile {
    width: 50%;
    max-width: 180px;
    transform: none;
    margin-top: -40px;
  }
}

/* Main Solution Section */
.main-solution {
  padding: 6rem 0;
  background-color: #f9f9f9;
}

.solution-content {
  display: flex;
  flex-wrap: wrap;
  gap: 4rem;
  align-items: center;
}

.solution-text {
  flex: 1;
  min-width: 300px;
}

.solution-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--dark);
}

.solution-text > p {
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  color: #444;
}

.solution-image {
  flex: 1;
  min-width: 300px;
}

.solution-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.solution-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature {
  background-color: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.feature h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--dark);
}

.feature p {
  color: #555;
  font-size: 1rem;
}

/* How It Works Section */
.how-it-works {
  padding: 6rem 0;
  background-color: white;
}

.how-it-works h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 4rem;
}

.steps {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50px;
  width: 2px;
  background-color: #e0e0e0;
}

.step {
  display: flex;
  margin-bottom: 4rem;
  position: relative;
}

.step:last-child {
  margin-bottom: 0;
}

.step-number {
  width: 60px;
  height: 60px;
  background-color: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-right: 2rem;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.step-content {
  flex: 1;
}

.step-content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  color: var(--dark);
}

.step-content p {
  color: #555;
}

/* Benefits Section */
.benefits {
  padding: 6rem 0;
  background-color: #f9f9f9;
}

.benefits h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

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

.benefit-card {
  text-align: center;
  padding: 2rem;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.benefit-card i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.benefit-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--dark);
}

.benefit-card p {
  color: #555;
  font-size: 1rem;
}

/* Case Study Section */
.case-study {
  padding: 6rem 0;
  background-color: white;
}

.case-content {
  display: flex;
  flex-wrap: wrap;
  gap: 4rem;
  align-items: center;
}

.case-text {
  flex: 1;
  min-width: 300px;
}

.case-label {
  display: inline-block;
  background-color: rgba(255, 107, 53, 0.1);
  color: var(--primary);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.case-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--dark);
}

.case-text > p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #444;
}

.case-results {
  list-style: none;
  padding: 0;
  margin-bottom: 2.5rem;
}

.case-results li {
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  color: #444;
}

.case-results li i {
  color: var(--primary);
  margin-right: 1rem;
  font-size: 1.2rem;
}

.case-image {
  flex: 1;
  min-width: 300px;
}

.case-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.testimonial {
  background-color: #f9f9f9;
  padding: 2rem;
  border-radius: 10px;
  position: relative;
}

.testimonial::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 15px;
  font-size: 5rem;
  color: rgba(255, 107, 53, 0.1);
  font-family: serif;
  line-height: 1;
}

.testimonial p {
  font-style: italic;
  color: #444;
  position: relative;
  z-index: 1;
  margin-bottom: 1.5rem;
}

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

.testimonial-author span:first-child {
  font-weight: 700;
  color: var(--dark);
}

.author-title {
  font-size: 0.9rem;
  color: #666;
}

/* Features Comparison */
.features-comparison {
  padding: 6rem 0;
  background-color: #f9f9f9;
}

.features-comparison h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

.comparison-table-container {
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.comparison-table th,
.comparison-table td {
  padding: 1.5rem;
  text-align: left;
  border-bottom: 1px solid #f0f0f0;
}

.comparison-table th {
  background-color: var(--primary);
  color: white;
  font-weight: 600;
}

.comparison-table th:first-child {
  width: 30%;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table tr:nth-child(even) {
  background-color: #f9f9f9;
}

/* App Demo Section */
.app-demo {
  padding: 100px 0;
  background-color: #f8f9fa;
}

.app-demo h2 {
  text-align: center;
  margin-bottom: 1rem;
  color: var(--dark);
  font-size: 2.5rem;
}

.app-demo p {
  text-align: center;
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #555;
  font-size: 1.2rem;
}

.app-screens {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.screen {
  flex: 0 0 calc(50% - 40px);
  max-width: 400px;
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.screen:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.screen img {
  width: 100%;
  height: auto;
  border-bottom: 1px solid #eee;
}

.screen h3 {
  padding: 20px 20px 10px;
  font-size: 1.5rem;
  color: var(--dark);
}

.screen p {
  padding: 0 20px 20px;
  margin-bottom: 0;
  text-align: left;
  font-size: 1rem;
}

/* Responsive adjustments for app demo */
@media (max-width: 768px) {
  .app-screens {
    flex-direction: column;
    align-items: center;
  }
  
  .screen {
    flex: 0 0 100%;
    margin-bottom: 30px;
  }
}

/* CTA Section */
.cta-section {
  padding: 6rem 0;
  background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), 
              url('https://images.unsplash.com/photo-1520038410233-7141be7e6f97?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.cta-section p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.secondary-cta {
  display: inline-block;
  background-color: transparent;
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid white;
}

.secondary-cta:hover {
  background-color: white;
  color: var(--dark);
}

/* FAQ Section */
.faq {
  padding: 6rem 0;
  background-color: white;
}

.faq h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1.5rem;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  background-color: white;
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.2rem;
  color: var(--dark);
  font-weight: 600;
}

.faq-question i {
  color: var(--primary);
  transition: all 0.3s ease;
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 0 1.5rem 1.5rem;
  max-height: 500px;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer p {
  margin: 0;
  color: #555;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .finance-hero {
    padding: 150px 0 80px !important;
    min-height: 100vh !important;
    display: flex;
    align-items: center;
  }
  
  .finance-hero .container {
    width: 100%;
  }
  
  .finance-hero h1 {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    margin-bottom: 1.5rem;
  }
  
  .finance-hero p {
    font-size: clamp(1rem, 2vw, 1.1rem);
    margin-bottom: 2rem;
    padding: 0 1rem;
  }
  
  .solution-content, .case-content {
    flex-direction: column;
    gap: 2rem;
  }
  
  .solution-image, .case-image {
    order: -1;
  }
  
  .steps::before {
    left: 25px;
  }
  
  .step-number {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
    margin-right: 1.2rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    max-width: 250px;
    margin: 0 auto;
  }
  
  .comparison-table th,
  .comparison-table td {
    padding: 0.8rem;
    font-size: 0.9rem;
  }
  
  .benefit-card, .feature {
    padding: 1.5rem;
  }
  
  .benefit-card i, .feature i {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
}
