/* Reset e Variáveis */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-dark: #0f172a;
  --bg-card: #ffffff;
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-gradient: linear-gradient(135deg, #3b82f6, #2563eb);
  --text-main: #1e293b;
  --text-dim: #64748b;
  --text-light: #f8fafc;
  --accent: #38bdf8;
  --success-green: #25d366;
  --card-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  --border-radius: 16px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
  background-color: #f8fafc;
  color: var(--text-main);
  max-width: 100%;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hero Section */
.hero {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.8) 100%),
    url("https://jeandouglas.com.br/lojacarro/assets/img/hero-bg.jpg") center/cover no-repeat fixed;
  display: flex;
  flex-direction: column;
  position: relative;
}

nav {
  padding: 24px 0;
  width: 100%;
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -1px;
  color: #fff;
}

.logo span {
  color: var(--accent);
}

.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 40px;
  animation: fadeInUp 0.8s ease-out;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.2;
  color: #fff;
}

.hero-content p {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  color: #cbd5e1;
  max-width: 600px;
  margin-bottom: 40px;
  line-height: 1.6;
}

/* Base Buttons */
.btn-primary, .btn-secondary, .btn-demo, .btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn-primary, .btn-submit {
  background: var(--primary-gradient);
  color: white;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
}

.btn-primary:hover, .btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

/* Features */
.features {
  padding: 100px 0;
  background: #f8fafc;
  position: relative;
  z-index: 10;
  margin-top: -50px;
  border-radius: 40px 40px 0 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.feature-card {
  background: var(--bg-card);
  border-radius: var(--border-radius);
  padding: 40px 32px;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  border: 1px solid rgba(226, 232, 240, 0.4);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border-color: var(--primary);
}

.feature-card h3 {
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 16px;
  font-weight: 700;
}

.feature-card p {
  color: var(--text-dim);
  line-height: 1.6;
  font-size: 1.05rem;
}

/* Pricing Section */
.pricing {
  padding: 100px 0;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

.price-box {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
  padding: 48px 40px;
  max-width: 450px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.price-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 6px;
  background: var(--primary-gradient);
}

.price-box h2 {
  font-size: 1.8rem;
  color: var(--text-main);
  margin-bottom: 24px;
}

.value {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.value span {
  font-size: 1.2rem;
  color: var(--text-dim);
  margin-left: 8px;
  font-weight: 500;
}

.price-box ul {
  list-style: none;
  margin-bottom: 40px;
  text-align: left;
}

.price-box li {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  color: var(--text-main);
  font-size: 1.1rem;
}

.price-box li i {
  color: var(--success-green);
  margin-right: 12px;
  font-size: 1.2rem;
}

.btn-secondary {
  background: var(--bg-dark);
  color: white;
  width: 100%;
}

.btn-secondary:hover {
  background: var(--primary);
  transform: translateY(-2px);
}

/* Clients Section */
.clients {
  padding: 100px 0;
  background: #fff;
  text-align: center;
}

.clients h2 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  color: var(--text-main);
}

.clients p {
  color: var(--text-dim);
  margin-bottom: 48px;
  font-size: 1.1rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.client-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border-radius: var(--border-radius);
  padding: 40px 32px;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  border: 1px solid rgba(226, 232, 240, 0.6);
  text-decoration: none;
  color: inherit;
}

.client-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border-color: var(--primary);
}

.client-card h3 {
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 12px;
  font-weight: 700;
}

.client-card span {
  color: var(--text-dim);
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  transition: var(--transition);
}

.client-card:hover span {
  color: var(--primary);
}

/* Demo Section */
.demo {
  padding: 100px 0;
  text-align: center;
  background: var(--bg-dark);
  color: white;
}

.demo h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  color: var(--text-light);
}

.demo p {
  color: #cbd5e1;
  margin-bottom: 48px;
  font-size: 1.1rem;
}

.demo-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px;
  max-width: 800px;
  margin: 0 auto;
  backdrop-filter: blur(10px);
}

.demo-image-container {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 32px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.demo-image-container img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

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

.btn-demo {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
}

.btn-demo:hover {
  background: var(--accent);
  color: var(--bg-dark);
}

/* Contact Form */
.contact {
  padding: 100px 0;
  background: #fff;
}

.contact h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 48px;
  color: var(--text-main);
}

.contact-form {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  padding: 40px;
  max-width: 550px;
  margin: 0 auto;
  border: 1px solid rgba(226, 232, 240, 0.6);
}

.input-group {
  margin-bottom: 24px;
}

.input-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-main);
}

.input-group input {
  width: 100%;
  padding: 16px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-size: 1rem;
  transition: var(--transition);
  background: #f8fafc;
}

.input-group input:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

/* Footer */
footer {
  background: var(--bg-dark);
  color: #94a3b8;
  text-align: center;
  padding: 32px 0;
}

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

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--success-green);
  color: #fff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: var(--transition);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background: #20b055;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

/* Media Queries */
@media (max-width: 900px) {
  .hero {
    min-height: 80vh;
  }
}

@media (max-width: 768px) {
  .grid {
    grid-template-columns: 1fr;
  }
  
  .features {
    padding: 60px 0;
    margin-top: -30px;
    border-radius: 30px 30px 0 0;
  }

  .demo-card, .price-box, .contact-form {
    padding: 32px 24px;
  }
  
  .price-box .value {
    font-size: 2.8rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 20px;
  }
  
  .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .hero-content p {
    font-size: 1rem;
    margin-bottom: 30px;
  }
  
  .btn-primary, .btn-secondary, .btn-demo, .btn-submit {
    width: 100%;
    padding: 14px 20px;
  }
  
  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 1.8rem;
    bottom: 20px;
    right: 20px;
  }

  .pricing, .demo, .contact {
    padding: 60px 0;
  }
}
