:root {
  --blue: #2563eb;
  --yellow: #facc15;
  --green: #22c55e;
  --dark: #0f172a;
  --text: #1f2937;
  --muted: #475569;
  --background: #f3f4f6;
  --card: #ffffff;
  --gradient: linear-gradient(135deg, #0f172a 0%, #1d4ed8 45%, #22c55e 100%);
  --font-primary: 'Poppins', 'Space Grotesk', sans-serif;
  --font-alt: 'Space Grotesk', 'Poppins', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-primary);
  color: var(--text);
  background: var(--background);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

.hero {
  min-height: 100vh;
  padding: 2.5rem clamp(1.25rem, 5vw, 4rem) 4rem;
  background: radial-gradient(circle at top right, rgba(37, 99, 235, 0.25), transparent 50%),
    radial-gradient(circle at 20% 20%, rgba(250, 204, 21, 0.15), transparent 45%), var(--gradient);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../../app/assets/images/logo_auto_profe.png') center/280px no-repeat;
  opacity: 0.06;
  pointer-events: none;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
}

.nav-links li a {
  transition: color 0.2s ease;
}

.nav-links li a:hover {
  color: var(--yellow);
}

.ghost-btn {
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 0.6rem 1.6rem;
  border-radius: 999px;
  color: #fff;
  font-weight: 500;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.ghost-btn:hover {
  background: rgba(15, 23, 42, 0.25);
  border-color: #fff;
}

.hero-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin-top: 5rem;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 4vw, 4rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-content .lead {
  color: rgba(255, 255, 255, 0.92);
  max-width: 32rem;
  margin-bottom: 2rem;
}

.eyebrow {
  letter-spacing: 0.23em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--yellow);
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-weight: 600;
  min-width: 190px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.store-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.16);
}

.store-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

.store-text {
  display: grid;
  gap: 0.15rem;
}

.store-btn span {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
}

.store-btn strong {
  font-size: 0.95rem;
}

.store-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.6);
}

.store-btn.ghost {
  background: rgba(15, 23, 42, 0.35);
}

.store-btn.apple {
  background: #000;
  border-color: #000;
}

.store-btn.apple .store-icon {
  background: rgba(255, 255, 255, 0.15);
}

.primary-btn,
.secondary-btn {
  padding: 0.95rem 1.75rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.primary-btn {
  background: var(--yellow);
  color: #0f172a;
  box-shadow: 0 10px 25px rgba(250, 204, 21, 0.3);
}

.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(250, 204, 21, 0.35);
}

.secondary-btn {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
}

.secondary-btn:hover {
  transform: translateY(-2px);
  border-color: #fff;
}

.badges {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.9);
}

.badge-value {
  font-size: 1.35rem;
  font-weight: 600;
  display: block;
}

.badge-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.92);
}

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.glass-card {
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 1.75rem;
  border-radius: 1.5rem;
  backdrop-filter: blur(16px);
  box-shadow: 0 25px 55px rgba(15, 23, 42, 0.45);
}

.glass-title {
  font-weight: 600;
  margin-bottom: 1rem;
}

.status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.status-row:last-of-type {
  border: none;
}

.tag {
  border-radius: 999px;
  padding: 0.25rem 0.85rem;
  background: rgba(34, 197, 94, 0.15);
  color: #fff;
  font-size: 0.8rem;
  border: 1px solid rgba(34, 197, 94, 0.35);
}

.tag.warning {
  background: rgba(250, 204, 21, 0.2);
  border-color: rgba(250, 204, 21, 0.4);
}

.timeline {
  margin-top: 1.5rem;
  display: grid;
  gap: 1rem;
}

.timeline-item {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.95);
}

.timeline-item .dot {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  margin-top: 0.35rem;
}

.timeline-item.active .dot {
  background: var(--yellow);
  border-color: var(--yellow);
  box-shadow: 0 0 15px rgba(250, 204, 21, 0.6);
}

.timeline small {
  display: block;
  color: rgba(255, 255, 255, 0.78);
}

.hero-image {
  border-radius: 1.5rem;
  height: 240px;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(250, 204, 21, 0.25), transparent 60%);
}

.hero-image::before {
  content: 'Auto Profe';
  position: relative;
  z-index: 1;
  font-size: 1.35rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.section {
  padding: clamp(3rem, 8vw, 6rem) clamp(1.25rem, 6vw, 5rem);
}

.section h2 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  margin-bottom: 2rem;
  color: var(--dark);
}

.highlight h2,
.highlight h3,
.cta h2,
.cta h3 {
  color: #fff;
}

.trusted {
  background: var(--card);
}

.app-showcase {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 60%);
}

.showcase-header {
  max-width: 640px;
  margin-bottom: 2.5rem;
}

.showcase-header p {
  color: var(--muted);
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.75rem;
}

.app-card {
  background: #fff;
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(15, 23, 42, 0.08);
  display: grid;
  gap: 1rem;
  align-content: start;
  min-height: 380px;
}

.app-card img {
  width: 100%;
  border-radius: 1rem;
  background: #f1f5f9;
  object-fit: contain;
  max-height: 280px;
}

.app-card figcaption {
  color: var(--muted);
  font-size: 0.95rem;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.trust-grid article {
  background: #fff;
  padding: 1.75rem;
  border-radius: 1.3rem;
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
}

.trust-grid h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.trust-grid ul {
  margin-top: 1rem;
  list-style: disc;
  margin-left: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
  display: grid;
  gap: 0.35rem;
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 3rem;
  background: var(--background);
}

.split h2 {
  margin-bottom: 1rem;
}

.split p {
  color: var(--muted);
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.pill-list span {
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, 0.2);
  background: rgba(37, 99, 235, 0.05);
  font-size: 0.9rem;
  color: var(--text);
}

.steps {
  background: #fff;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.step-card {
  border-radius: 1.2rem;
  padding: 1.5rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: var(--background);
  box-shadow: 0 12px 25px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease;
}

.step-card:hover {
  transform: translateY(-6px);
}

.step-number {
  font-family: var(--font-alt);
  font-size: 1.3rem;
  color: var(--yellow);
  letter-spacing: 0.2em;
}

.highlight {
  background: var(--dark);
  color: #fff;
}

.highlight-card {
  border-radius: 1.5rem;
  background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.25), rgba(15, 23, 42, 0.95));
  padding: clamp(2rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.highlight-card p {
  color: rgba(255, 255, 255, 0.88);
}

.stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.stat-value {
  font-size: 1.7rem;
  font-weight: 600;
}

.stat-label {
  color: rgba(255, 255, 255, 0.85);
}

.cta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  align-items: center;
  background: linear-gradient(120deg, #1d4ed8, #2563eb 50%, #0f172a);
  color: #fff;
  border-radius: 1.8rem;
  margin: clamp(2rem, 6vw, 4rem);
  padding: clamp(2.5rem, 6vw, 4rem);
}

.cta p {
  color: rgba(255, 255, 255, 0.85);
}

.cta-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-start;
}

footer {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--muted);
  background: #fff;
  margin-top: 2rem;
}

footer p {
  font-weight: 500;
  margin-bottom: 0.3rem;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero-ctas {
    flex-direction: column;
  }

  .store-buttons {
    flex-direction: column;
  }

  .badges {
    flex-direction: column;
  }

  .cta-actions {
    width: 100%;
  }

  .primary-btn,
  .secondary-btn {
    width: 100%;
  }
}
