/* DESIGN SYSTEM & CONSTANTS */
:root {
  --bg-primary: #222B32;
  --accent-gold: #FABD02;
  --accent-gold-dark: #D4AC0D;
  --text-light: #F8F9FA;
  --text-dark: #2D3748;
  --bg-card: rgba(255, 255, 255, 0.08);
  --border-card: rgba(255, 255, 255, 0.15);
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.3);
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background-color: rgba(34, 43, 50, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-card);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.nav-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-family: 'Outfit', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: var(--text-light);
}

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

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-light);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.3s ease;
}

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

/* HERO SECTION */
.hero {
  padding: 160px 0 100px 0;
  background: radial-gradient(circle at top right, rgba(250, 189, 2, 0.08), transparent 50%), var(--bg-primary);
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 60px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.badge {
  background-color: rgba(250, 189, 2, 0.15);
  color: var(--accent-gold);
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: 6px;
  margin-bottom: 24px;
  border: 1px solid rgba(250, 189, 2, 0.3);
}

.hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: 46px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -1.5px;
}

.hero-subtitle {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 36px;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 16px;
}

/* BUTTONS */
.btn-primary {
  background-color: var(--accent-gold);
  color: var(--bg-primary);
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  transition: transform 0.2s ease, background-color 0.2s ease;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: var(--accent-gold-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  border: 1.5px solid var(--border-card);
  color: var(--text-light);
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  transition: background-color 0.2s ease, transform 0.2s ease;
  cursor: pointer;
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

.btn-primary-sm {
  background-color: var(--accent-gold);
  color: var(--bg-primary);
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  transition: background-color 0.2s ease;
}

.btn-primary-sm:hover {
  background-color: var(--accent-gold-dark);
}

.btn-block {
  width: 100%;
}

/* HERO VISUAL (MOCK CARD) */
.hero-visual {
  display: flex;
  justify-content: center;
}

.truck-card {
  width: 100%;
  max-width: 360px;
  background-color: var(--bg-card);
  border: 1.5px solid var(--border-card);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(8px);
}

.truck-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-card);
  padding-bottom: 16px;
  margin-bottom: 16px;
}

.truck-title {
  font-weight: 700;
  font-size: 16px;
}

.truck-status-badge {
  background-color: rgba(250, 189, 2, 0.15);
  color: var(--accent-gold);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  border: 1px solid var(--accent-gold);
}

.truck-body p {
  font-size: 13.5px;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.9);
}

.carbon-kpi {
  margin-top: 20px;
  background-color: rgba(231, 76, 60, 0.1);
  border: 1px solid rgba(231, 76, 60, 0.3);
  padding: 12px;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.kpi-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.kpi-value {
  color: #e74c3c;
  font-weight: 700;
  font-size: 16px;
}

/* FEATURES */
.features {
  padding: 100px 0;
  background-color: rgba(0, 0, 0, 0.1);
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px auto;
  padding: 0 24px;
}

.section-header h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 300;
}

.features-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 28px;
}

.feature-card {
  background-color: var(--bg-card);
  border: 1.5px solid var(--border-card);
  border-radius: 20px;
  padding: 32px;
  transition: transform 0.3s ease, border-color 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-gold);
}

.feature-icon {
  font-size: 32px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 300;
}

/* CALCULATOR & PRICING */
.pricing {
  padding: 100px 0;
}

.calculator-container {
  max-width: 600px;
  margin: 0 auto;
  background-color: var(--bg-card);
  border: 1.5px solid var(--border-card);
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(8px);
}

.calculator-container h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  margin-bottom: 8px;
  font-weight: 700;
  text-align: center;
}

.calculator-container > p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  margin-bottom: 28px;
}

.calc-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 32px;
}

.input-group {
  display: flex;
  flex-direction: column;
}

.input-group label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 6px;
}

.form-control {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1.5px solid var(--border-card);
  border-radius: 8px;
  padding: 12px;
  color: var(--text-light);
  font-size: 14px;
  outline: none;
  font-family: inherit;
}

.form-control:focus {
  border-color: var(--accent-gold);
}

.calc-result {
  background-color: rgba(255, 255, 255, 0.04);
  padding: 24px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px dashed var(--border-card);
}

.calc-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 4px;
}

.calc-price {
  font-family: 'Outfit', sans-serif;
  font-size: 38px;
  font-weight: 800;
  color: var(--accent-gold);
  line-height: 1;
}

.calc-vat {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 4px;
}

/* SURVEY SECTION (NEGOTIATION) */
.survey {
  padding: 100px 0;
  background-color: rgba(0, 0, 0, 0.1);
}

.survey-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.survey-info h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.25;
}

.survey-info p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 32px;
  font-weight: 300;
}

.contact-details {
  border-top: 1px solid var(--border-card);
  padding-top: 24px;
  font-size: 14px;
}

.contact-details p {
  margin-bottom: 8px;
  font-weight: 500;
}

.survey-form-box {
  background-color: var(--bg-card);
  border: 1.5px solid var(--border-card);
  border-radius: 24px;
  padding: 36px;
  position: relative;
  overflow: hidden;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 18px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.9);
}

.survey-form input, .survey-form select, .survey-form textarea {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1.5px solid var(--border-card);
  border-radius: 8px;
  padding: 12px;
  color: var(--text-light);
  font-size: 14px;
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s ease;
}

.survey-form input:focus, .survey-form select:focus, .survey-form textarea:focus {
  border-color: var(--accent-gold);
}

.success-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(34, 43, 50, 0.98);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

.success-overlay.hidden {
  display: none;
}

.success-content {
  text-align: center;
  padding: 24px;
}

.success-icon {
  font-size: 48px;
  color: #2ec4b6;
  display: inline-block;
  margin-bottom: 16px;
  background-color: rgba(46, 196, 182, 0.1);
  width: 80px;
  height: 80px;
  line-height: 80px;
  border-radius: 50%;
}

.success-content h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  margin-bottom: 8px;
}

.success-content p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

/* FOOTER */
.footer-landing {
  padding: 60px 0;
  border-top: 1px solid var(--border-card);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 800;
  display: block;
  margin-bottom: 8px;
}

.footer-info p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-legal {
  text-align: right;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-legal p {
  margin-bottom: 4px;
}

/* RESPONSIVE LAYOUTS */
@media (max-width: 768px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  
  .hero-content {
    align-items: center;
  }
  
  .hero-title {
    font-size: 34px;
  }
  
  .nav-links {
    display: none; /* Simplificado para landing móvil */
  }
  
  .survey-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }
  
  .footer-legal {
    text-align: center;
  }
}
