/* ================================================
   Gestão de Frota - Sistema Automotivo Específico
   Cores: Vermelho/Cinza Escuro Profissional
   ================================================ */

/* Variables */
:root {
  --frota-primary: #dc2626;
  --frota-secondary: #b91c1c;
  --frota-accent: #ef4444;
  --frota-dark: #1f2937;
  --frota-light: #f8f9fa;
  --frota-text: #374151;
  --frota-white: #ffffff;
  --frota-gradient: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  --frota-hover: #991b1b;
}

/* Hero Product Section */
#hero-product {
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.95) 0%, rgba(31, 41, 55, 0.95) 100%), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><linearGradient id="grad" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%23dc2626;stop-opacity:0.1"/><stop offset="100%" style="stop-color:%23b91c1c;stop-opacity:0.1"/></linearGradient></defs><g fill="url(%23grad)"><circle cx="200" cy="150" r="50"/><circle cx="800" cy="200" r="30"/><circle cx="300" cy="800" r="40"/><circle cx="900" cy="600" r="25"/><rect x="100" y="400" width="60" height="60" rx="10"/><rect x="700" y="700" width="40" height="40" rx="8"/></g></svg>');
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px 0;
}

#hero-product::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="frota-pattern" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 10,0 10,20 M 0,10 20,10" stroke="%23ffffff" stroke-width="0.3" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23frota-pattern)"/></svg>');
  opacity: 0.1;
  z-index: 1;
}

#hero-product .container {
  position: relative;
  z-index: 2;
}

.product-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 16px;
  border-radius: 50px;
  color: var(--frota-white);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 20px;
}

.product-badge i {
  font-size: 16px;
  color: #fbbf24;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--frota-white);
  line-height: 1.2;
  margin-bottom: 24px;
  font-family: 'Space Grotesk', sans-serif;
}

.gradient-text {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-alt {
  background: linear-gradient(135deg, #ffffff 0%, #e5e7eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 90%;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-bottom: 40px;
}

.stat-item {
  text-align: left;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: #fbbf24;
  font-family: 'Space Grotesk', sans-serif;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary-modern {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--frota-gradient);
  color: var(--frota-white);
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 10px 25px rgba(220, 38, 38, 0.3);
}

.btn-primary-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(220, 38, 38, 0.4);
  color: var(--frota-white);
  background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%);
}

.btn-secondary-modern {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  color: var(--frota-white);
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary-modern:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--frota-white);
  transform: translateY(-1px);
}

/* Dashboard Preview */
.hero-image {
  position: relative;
}

.dashboard-preview {
  background: var(--frota-white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
  transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
  transition: all 0.3s ease;
}

.dashboard-preview:hover {
  transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
}

.dashboard-header {
  background: linear-gradient(135deg, var(--frota-primary) 0%, var(--frota-secondary) 100%);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.dashboard-controls {
  display: flex;
  gap: 8px;
}

.control {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.control.red {
  background: #ff5f56;
}

.control.yellow {
  background: #ffbd2e;
}

.control.green {
  background: #27ca3f;
}

.dashboard-title {
  color: var(--frota-white);
  font-weight: 600;
  font-size: 1rem;
}

.dashboard-body {
  padding: 60px 40px;
  text-align: center;
  background: linear-gradient(135deg, #f8f9fa 0%, #e5e7eb 100%);
}

.dashboard-logo {
  font-size: 4rem;
  margin-bottom: 20px;
}

.dashboard-subtitle {
  color: var(--frota-text);
  font-size: 1.2rem;
  font-weight: 600;
}

/* Features Section */
.features {
  padding: 100px 0;
  background: var(--frota-light);
}

.features-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--frota-primary) 0%, var(--frota-secondary) 100%);
  color: var(--frota-white);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
}

/* Section Title - Centralização */
.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--frota-dark);
  margin-bottom: 20px;
  font-family: 'Space Grotesk', sans-serif;
  text-align: center;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--frota-text);
  margin-bottom: 60px;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.feature-box {
  background: var(--frota-white);
  padding: 40px 30px;
  border-radius: 20px;
  text-align: left;
  transition: all 0.3s ease;
  margin-bottom: 30px;
  border: 1px solid rgba(220, 38, 38, 0.1);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.feature-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--frota-gradient);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.feature-box:hover::before {
  transform: scaleX(1);
}

.feature-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(220, 38, 38, 0.15);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--frota-primary) 0%, var(--frota-secondary) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.feature-icon i {
  font-size: 32px;
  color: var(--frota-white);
}

.feature-box h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--frota-dark);
  margin-bottom: 16px;
  font-family: 'Space Grotesk', sans-serif;
}

.feature-box p {
  color: var(--frota-text);
  line-height: 1.6;
  margin-bottom: 20px;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  color: var(--frota-text);
  margin-bottom: 8px;
  font-size: 0.9rem;
  position: relative;
  padding-left: 0;
}

.feature-list li:before {
  content: "✓";
  color: var(--frota-primary);
  font-weight: bold;
  margin-right: 8px;
}

/* Benefits Section */
.benefits {
  padding: 100px 0;
  background: var(--frota-white);
}

.benefits-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--frota-dark);
  margin-bottom: 24px;
  font-family: 'Space Grotesk', sans-serif;
}

.benefits-intro {
  font-size: 1.2rem;
  color: var(--frota-text);
  margin-bottom: 40px;
  line-height: 1.6;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 32px;
}

.benefit-icon {
  width: 60px;
  height: 60px;
  background: var(--frota-gradient);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.benefit-icon i {
  font-size: 28px;
  color: var(--frota-white);
}

.benefit-text h4 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--frota-dark);
  margin-bottom: 8px;
  font-family: 'Space Grotesk', sans-serif;
}

.benefit-text p {
  color: var(--frota-text);
  line-height: 1.6;
  margin: 0;
}

.benefits-metrics {
  position: relative;
  height: 400px;
}

.metric-float {
  position: absolute;
  background: var(--frota-white);
  padding: 24px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(220, 38, 38, 0.1);
  border: 1px solid rgba(220, 38, 38, 0.1);
  min-width: 140px;
}

.metric-float:nth-child(1) {
  top: 0;
  right: 0;
}

.metric-float:nth-child(2) {
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.metric-float:nth-child(3) {
  bottom: 0;
  right: 20%;
}

.metric-float-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.metric-float-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--frota-primary);
  margin-bottom: 8px;
  font-family: 'Space Grotesk', sans-serif;
}

.metric-float-label {
  color: var(--frota-text);
  font-size: 0.9rem;
  font-weight: 500;
}

/* Pricing Section - 3 Cards Layout */
.pricing {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e5e7eb 50%, #f3f4f6 100%);
  position: relative;
}

.pricing::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="pricing-pattern" x="0" y="0" width="30" height="30" patternUnits="userSpaceOnUse"><circle cx="15" cy="15" r="1" fill="%23dc2626" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23pricing-pattern)"/></svg>');
  opacity: 0.3;
  z-index: 1;
}

.pricing .container {
  position: relative;
  z-index: 2;
}

.pricing-badge-modern {
  display: inline-block;
  background: var(--frota-gradient);
  color: var(--frota-white);
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 24px;
  box-shadow: 0 8px 20px rgba(220, 38, 38, 0.3);
}

/* Pricing Cards */
.pricing-card {
  background: var(--frota-white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
  position: relative;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

/* Starter Card */
.pricing-card.starter {
  border: 3px solid #6366f1;
}

.pricing-card.starter .card-header {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  color: var(--frota-white);
  padding: 30px 25px;
  text-align: center;
}

/* Professional Card (Featured) */
.pricing-card.professional {
  border: 3px solid #10b981;
  transform: scale(1.05);
}

.pricing-card.professional .card-header {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: var(--frota-white);
  padding: 30px 25px;
  text-align: center;
}

.pricing-card.professional .popular-badge {
  position: absolute;
  top: -5px;
  right: 15px;
  background: #8b5cf6;
  color: var(--frota-white);
  padding: 8px 15px;
  border-radius: 0 0 15px 15px;
  font-size: 12px;
  font-weight: 600;
  z-index: 2;
}

/* Enterprise Card */
.pricing-card.enterprise {
  border: 3px solid #ec4899;
}

.pricing-card.enterprise .card-header {
  background: linear-gradient(135deg, #ec4899 0%, #be185d 100%);
  color: var(--frota-white);
  padding: 30px 25px;
  text-align: center;
}

/* Card Headers */
.card-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 15px 0;
  font-family: 'Space Grotesk', sans-serif;
}

.price {
  margin-bottom: 15px;
}

.price .currency {
  font-size: 1.2rem;
  font-weight: 600;
  vertical-align: top;
}

.price .amount {
  font-size: 3rem;
  font-weight: 800;
  font-family: 'Space Grotesk', sans-serif;
}

.price .period {
  font-size: 1rem;
  font-weight: 500;
  vertical-align: bottom;
}

.plan-description {
  font-size: 1rem;
  margin: 0;
  opacity: 0.9;
  font-weight: 500;
}

/* Card Body */
.card-body {
  padding: 30px 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.features {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
  flex: 1;
}

.features li {
  padding: 10px 0;
  color: var(--frota-text);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 0.95rem;
  line-height: 1.4;
}

.features li:last-child {
  border-bottom: none;
}

/* Pricing Buttons */
.btn-pricing {
  display: block;
  width: 100%;
  background: var(--frota-gradient);
  color: var(--frota-white);
  text-align: center;
  padding: 15px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  margin-top: auto;
}

.btn-pricing:hover {
  background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%);
  transform: translateY(-2px);
  color: var(--frota-white);
  text-decoration: none;
}

.pricing-footer {
  text-align: center;
  margin-top: 40px;
}

.pricing-footer p {
  color: var(--frota-text);
  font-size: 1.1rem;
  margin: 0;
  padding: 20px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 15px;
  border: 1px solid rgba(220, 38, 38, 0.1);
  display: inline-block;
}

/* CTA Section */
.cta-section {
  padding: 100px 0;
  background: var(--frota-gradient);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><defs><pattern id="cta-pattern" x="0" y="0" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 20,0 20,40 M 0,20 40,20" stroke="%23ffffff" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="200" height="200" fill="url(%23cta-pattern)"/></svg>');
  animation: float 20s ease-in-out infinite;
  z-index: 1;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(-20px, -20px) rotate(90deg); }
  50% { transform: translate(0, -40px) rotate(180deg); }
  75% { transform: translate(20px, -20px) rotate(270deg); }
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--frota-white);
  margin-bottom: 24px;
  font-family: 'Space Grotesk', sans-serif;
}

.cta-content p {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  margin-bottom: 40px;
}

.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--frota-white);
  color: var(--frota-primary);
  padding: 18px 36px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.btn-cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
  color: var(--frota-primary);
}

.cta-features {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.cta-feature i {
  color: #fbbf24;
  font-size: 18px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.8rem;
  }
  
  .hero-stats {
    gap: 20px;
  }
  
  .stat-number {
    font-size: 1.5rem;
  }
  
  .benefits-metrics {
    height: 300px;
  }
  
  .metric-float {
    position: relative;
    margin: 20px auto;
  }
  
  .metric-float:nth-child(1),
  .metric-float:nth-child(2),
  .metric-float:nth-child(3) {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    transform: none;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .dashboard-preview {
    transform: none;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .benefits-content h2 {
    font-size: 2rem;
  }
  
  .cta-content h2 {
    font-size: 2.2rem;
  }
  
  .cta-features {
    gap: 20px;
  }
  
  .subscription-price-amount {
    font-size: 2.8rem;
  }
}