/* ========================================
   A.V. Report Landing Page — Styles
   ======================================== */

/* --- CSS Variables --- */
:root {
  --bg-primary:      #012236;
  --bg-dark:         #011529;
  --bg-darker:       #000D1A;
  --bg-light:        #012D47;
  --bg-card:         #013354;
  --bg-section:      #010F1E;
  --green:           #007CBA;
  --green-dark:      #014970;
  --white:           #FFFFFF;
  --text-secondary:  #A0C4D8;
  --text-muted:      #5B849A;
  --radius:          6px;
  --radius-lg:       12px;
  --transition:      0.3s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-light) 100%);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.1;
}

a {
  color: var(--green);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: #2A9EE0;
}

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

/* --- Utility --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.pretitle {
  font-size: 0.85rem;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  margin-bottom: 16px;
}

.btn {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 18px 36px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}

.btn:hover {
  background: #2A9EE0;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 124, 186, 0.35);
  color: var(--white);
}

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

.btn-secondary:hover {
  background: var(--green);
  color: var(--white);
}

.trust-text {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 12px;
}

/* --- Scroll Animations --- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(15, 24, 40, 0.95);
  backdrop-filter: blur(12px);
  padding: 10px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  display: flex;
  align-items: center;
}

.navbar-logo {
  height: 48px;
  width: auto;
  transition: height 0.3s ease;
}

.navbar.scrolled .navbar-logo {
  height: 36px;
}

.navbar-logo:hover {
  opacity: 0.85;
}

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

.navbar-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
}

.navbar-links a:hover {
  color: var(--white);
}

.navbar-cta {
  padding: 10px 24px !important;
  font-size: 0.85rem !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition);
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- SECTION 01: Hero --- */
.hero {
  padding: 160px 0 100px;
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-light) 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--white);
  margin-bottom: 24px;
}

.hero h1 em {
  font-style: normal;
  color: var(--green);
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 540px;
  line-height: 1.7;
}

.hero-image {
  position: relative;
}

.screenshot-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* --- SECTION 02: Problema --- */
.problema {
  background: var(--bg-dark);
  position: relative;
}

.problema .container {
  max-width: 760px;
}

.problema h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-bottom: 28px;
}

.problema-body {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 32px;
  line-height: 1.7;
}

.pain-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pain-list li {
  color: var(--text-secondary);
  padding-left: 28px;
  position: relative;
  font-size: 1rem;
  line-height: 1.6;
}

.pain-list li::before {
  content: '✕';
  position: absolute;
  left: 0;
  color: #E53E3E;
  font-weight: 700;
}

.problema-closing {
  color: var(--white);
  font-weight: 600;
  margin-top: 32px;
  font-size: 1.05rem;
  border-left: 3px solid var(--green);
  padding-left: 16px;
}

/* --- SECTION 03: Beneficios --- */
.beneficios {
  background: var(--bg-section);
}

.beneficios h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  text-align: center;
  margin-bottom: 60px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.benefit-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 28px;
  border-left: 3px solid var(--green);
  transition: transform var(--transition), box-shadow var(--transition);
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.benefit-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.benefit-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: var(--white);
}

.benefit-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- SECTION 04: Como Funciona --- */
.como-funciona {
  background: var(--bg-dark);
}

.como-funciona h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  text-align: center;
  margin-bottom: 70px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 16.66%;
  right: 16.66%;
  height: 2px;
  background: linear-gradient(90deg, var(--green), rgba(0, 124, 186, 0.3), var(--green));
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.step-number::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(0, 124, 186, 0.1);
  z-index: -1;
}

.step h3 {
  font-size: 1.15rem;
  margin-bottom: 14px;
  color: var(--white);
}

.step p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 300px;
  margin: 0 auto;
}

/* --- SECTION 05: Metricas --- */
.metricas {
  background: linear-gradient(135deg, #007CBA 0%, #014970 100%);
  padding: 80px 0;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}

.metric-item h3 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--white);
  margin-bottom: 8px;
}

.metric-item p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

/* --- SECTION 06: Diferenciacion --- */
.diferenciacion {
  background: var(--bg-primary);
}

.diferenciacion .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.diferenciacion h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-bottom: 36px;
  grid-column: span 2;
}

.checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.checklist li {
  padding-left: 32px;
  position: relative;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
  font-size: 1.1rem;
}

.dif-text {
  background: rgba(1, 34, 54, 0.6);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.dif-text p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.dif-text p:last-child {
  margin-bottom: 0;
  color: var(--white);
  font-weight: 600;
}

/* --- SECTION 07: Dashboard --- */
.dashboard {
  background: var(--bg-dark);
}

.dashboard .container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.dashboard h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.3rem);
  margin-bottom: 20px;
}

.dashboard-body {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
  line-height: 1.7;
}

.features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.features-list li {
  padding-left: 28px;
  position: relative;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.features-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

/* --- SECTION 08: CTA Fuerte --- */
.cta-fuerte {
  background: var(--bg-darker);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-fuerte::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(0, 124, 186, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

.cta-fuerte .container {
  max-width: 700px;
  position: relative;
  z-index: 1;
}

.cta-fuerte h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 20px;
}

.cta-fuerte p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  line-height: 1.7;
}

.btn-pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 124, 186, 0.5); }
  70% { box-shadow: 0 0 0 15px rgba(0, 124, 186, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 124, 186, 0); }
}

/* --- SECTION 09: Formulario --- */
.formulario {
  background: var(--bg-section);
}

.formulario .container {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 60px;
  align-items: start;
}

.form-info h2 {
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  margin-bottom: 20px;
}

.form-info > p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 28px;
}

.form-benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-benefits li {
  padding-left: 28px;
  position: relative;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.form-benefits li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

.form-wrapper {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-group label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 14px 16px;
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  transition: border-color var(--transition);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23A0AEC0' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-group select option {
  background: var(--bg-card);
  color: var(--white);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-submit {
  margin-top: 24px;
}

.form-submit .btn {
  width: 100%;
  font-size: 1.05rem;
}

.form-privacy {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 16px;
  text-align: center;
  line-height: 1.5;
}

.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.form-success.show {
  display: block;
}

.form-success-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.form-success h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: var(--green);
}

.form-success p {
  color: var(--text-secondary);
}

/* --- SECTION 10: Inteligencia --- */
.inteligencia {
  background: var(--bg-darker);
}

.inteligencia .container {
  max-width: 900px;
}

.inteligencia h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  text-align: center;
  margin-bottom: 24px;
}

.inteligencia h2 span {
  color: var(--green);
}

.inteligencia-body {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 50px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.comparison-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-align: center;
  margin-bottom: 20px;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.comparison-table thead th {
  background: var(--bg-card);
  padding: 16px 20px;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--white);
  border-bottom: 2px solid rgba(2, 173, 255, 0.05);
}

.comparison-table thead th:first-child {
  text-align: left;
}

.comparison-table tbody td {
  padding: 14px 20px;
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  background: rgba(1, 51, 84, 0.3);
}

.comparison-table tbody td:first-child {
  text-align: left;
  color: var(--white);
  font-weight: 500;
}

.comparison-table tbody tr:hover td {
  background: rgba(0, 124, 186, 0.08);
}

.comparison-table .yes {
  color: var(--green);
  font-weight: 600;
}

.comparison-table .no {
  color: #E53E3E;
}

.comparison-table .special {
  color: var(--green);
  font-size: 0.85rem;
}

/* --- Footer --- */
.footer {
  background: var(--bg-darker);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 40px 0;
  text-align: center;
}

.footer-logo {
  height: 40px;
  width: auto;
  margin-bottom: 10px;
  opacity: 0.7;
}

.footer p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer a {
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer a:hover {
  color: var(--green);
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-image {
    order: -1;
    max-width: 500px;
    margin: 0 auto;
  }

  .diferenciacion .container {
    grid-template-columns: 1fr;
  }

  .diferenciacion h2 {
    grid-column: span 1;
  }

  .dashboard .container {
    grid-template-columns: 1fr;
  }

  .dashboard-image {
    order: -1;
  }

  .formulario .container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 70px 0;
  }

  .navbar-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(15, 24, 40, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    transition: right var(--transition);
    gap: 24px;
  }

  .navbar-links.open {
    right: 0;
  }

  .hamburger {
    display: flex;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .steps::before {
    display: none;
  }

  .metrics-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-group.full-width {
    grid-column: span 1;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero {
    padding: 120px 0 70px;
    min-height: auto;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .btn {
    padding: 14px 28px;
    font-size: 0.9rem;
  }

  .form-wrapper {
    padding: 24px;
  }
}
