:root {
  --accent: #00c9a7;
  --accent2: #007bff;
}

body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  margin: 0;
  color: #111;
}

.header-spacer {
  height: 72px;
}

/* Hero background integrado */
.hero {
  position: relative;
  padding: 100px 0;
  background: url('https://ascendr.us/img/fondo.png') center/100% auto no-repeat;
  color: #111;
  overflow: hidden;
}

/* Ondas suaves al final del fondo (responsiva) */
.hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 100%);
  clip-path: ellipse(50% 100% at 50% 100%);
}

/* Tarjeta transparente sobre fondo */
.card-ghost {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  padding: 20px;
}

/* Modificaciones para iconos grandes */
.feature-icon {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}

.feature-icon i {
  font-size: 2.25rem;
}

.pricing-card {
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(11, 18, 36, 0.06);
}

.table-compact td,
.table-compact th {
  padding: .6rem .8rem;
}

.footer-cta {
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  color: #fff;
  padding: 40px;
  border-radius: 12px;
}

/* ARREGLO PARA MOBILE: Ajuste de tamaño y fade-out */
@media (max-width: 768px) {
  .hero {
    padding: 60px 0;
    background-size: 100% 150%;
    background-position: center top -100px;
    -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
  }

  .header-spacer {
    height: 64px;
  }
}

.site-footer .text-muted {
  color: #6c757d !important;
}

/* ========================================================================= */
/* MODIFICACIONES PARA EL ESTILO DE LAS TARJETAS (SECTION FEATURES)          */
/* ========================================================================= */

/* Estilo para las tarjetas en la sección "Why choose Ascendr?" */
.feature-card {
  /* Fondo blanco para las tarjetas */
  background: #fff;
  /* Bordes redondeados */
  border-radius: 12px;
  /* Sombra sutil */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  /* Ajusta el padding si es necesario, tu original era p-4 (1.5rem) */
  padding: 25px;
  /* Animación al pasar el mouse */
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.feature-card:hover {
  /* Pequeño levantamiento al pasar el mouse */
  transform: translateY(-5px);
  /* Sombra más pronunciada */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Estilo para las tarjetas en la sección "Performance", "Security", "Developer Tools" */
/* Usamos selectores combinados para mayor especificidad */
.bg-white.rounded-4.shadow-sm.h-100 {
  /* Bordes redondeados, !important para sobrescribir Bootstrap si es necesario */
  border-radius: 12px !important;
  /* Sombra sutil */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
  /* Ajusta el padding */
  padding: 25px !important;
  /* Animación */
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  /* Asegura el fondo blanco */
  background: #fff !important;
}

.bg-white.rounded-4.shadow-sm.h-100:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12) !important;
}

/* Asegurarnos de que el icono en las tarjetas inferiores tenga el tamaño correcto */
.bg-white.rounded-4.shadow-sm.h-100 i {
  /* Mismo tamaño de icono que el .feature-icon */
  font-size: 2.25rem;
  /* Espacio debajo del icono */
  margin-bottom: 10px;
  /* Para que margin-bottom funcione correctamente */
  display: block;
}

/* Ajustes para el texto dentro de estas tarjetas */
.bg-white.rounded-4.shadow-sm.h-100 h5 {
  /* Ajuste de margen para el título */
  margin-top: 15px;
  /* Color del título */
  color: #2c3e50;
}

.bg-white.rounded-4.shadow-sm.h-100 p {
  /* Color del párrafo */
  color: #555;
  /* Ajuste del tamaño de fuente */
  font-size: 0.9em;
}

/* =============================
   Ascendr Brand Polish (non-breaking)
   ============================= */
.hero h1{
  background: linear-gradient(90deg, #0f172a, #0f172a 35%, var(--accent2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lead{ max-width: 52ch; }

.card-ghost{
  border: 1px solid rgba(226,232,240,.85);
}

.feature-card{
  border: 1px solid rgba(226,232,240,.9);
}

.feature-card:hover{
  border-color: rgba(0,201,167,.45);
}

.footer-cta{
  border-radius: 22px;
  box-shadow: 0 18px 50px rgba(0,0,0,.08);
}

/* Cleaner focus states */
:focus-visible{
  outline: none;
  box-shadow: 0 0 0 .25rem rgba(0,201,167,.25);
  border-radius: 12px;
}
/* ===== Hero benefits (above the fold) ===== */
.hero-benefits{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.hero-benefit{
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  background: rgba(255,255,255,0.75);
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: 12px;
  backdrop-filter: blur(6px);
}

.hero-benefit i{
  font-size: 18px;
  margin-top: 2px;
}

.benefit-title{
  font-weight: 700;
  line-height: 1.2;
}

.benefit-sub{
  font-size: 13px;
  color: rgba(15,23,42,0.65);
  line-height: 1.2;
}

@media (max-width: 991px){
  .hero-benefits{
    grid-template-columns: 1fr;
  }
}
