/* eMarket — Home (Landing) */

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: 7rem 0 3rem;
  background: linear-gradient(135deg, #06061e 0%, #0d0d3a 45%, #080828 100%);
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.hero__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: .12;
  z-index: 0;
  pointer-events: none;
}

/* Grain texture overlay */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .25;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.08'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  mix-blend-mode: overlay;
}
.hero__content {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Entrada escalonada del hero */
.hero__text > * {
  animation: heroEntrance .7s cubic-bezier(.22,.68,0,1.2) both;
}
.hero__text .badge       { animation-delay: .1s; }
.hero__text h1           { animation-delay: .2s; }
.hero__text .hero__checks{ animation-delay: .35s; }
.hero__text .hero__ctas  { animation-delay: .48s; }
.hero__text .hero__stats { animation-delay: .6s; }
.hero__visual {
  animation: heroEntrance .8s cubic-bezier(.22,.68,0,1.2) .3s both;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@keyframes heroEntrance {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero__text { color: #fff; }
.hero__text .badge {
  background: rgba(51,150,255,.15);
  color: #7ec8ff;
  border: 1px solid rgba(51,150,255,.25);
  letter-spacing: .08em;
  margin-bottom: .5rem;
  font-size: .68rem;
}
.hero__text h1 {
  margin: .5rem 0 1rem;
  color: #fff;
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  line-height: 1.2;
  font-size: clamp(2.6rem, 7.5vw, 4rem);
}
.hero__text p  { color: rgba(255,255,255,.7); max-width: 500px; margin-bottom: 1.5rem; font-size: 1rem; line-height: 1.6; display: none; }
.hero__ctas    { display: flex; gap: .85rem; flex-wrap: wrap; margin-bottom: 2rem; }

/* Stats — más impacto */
.hero__stats   { display: flex; gap: 2.5rem; flex-wrap: wrap; }
.stat          { display: flex; flex-direction: column; gap: .1rem; }
.stat strong {
  font-family: 'Sora', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #60baff 0%, #00d4ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.stat span     { font-size: .75rem; color: rgba(255,255,255,.45); text-transform: uppercase; letter-spacing: .08em; margin-top: .2rem; }

/* ===== HERO SHAPES — ORBES AMBIENTALES ===== */
.hero-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
}
.shape--1 {
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(0,99,204,.55) 0%, transparent 65%);
  top: -180px; right: -80px;
  animation: orbDrift 20s ease-in-out infinite;
}
.shape--2 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(0,170,255,.35) 0%, transparent 65%);
  bottom: -80px; left: -60px;
  animation: orbDrift 26s ease-in-out infinite reverse;
}
.shape--3 {
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(79,70,229,.4) 0%, transparent 65%);
  top: 55%; left: 38%;
  animation: orbDrift 17s ease-in-out infinite 5s;
}
@keyframes orbDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  30%       { transform: translate(40px, -50px) scale(1.06); }
  65%       { transform: translate(-25px, 30px) scale(0.94); }
}

/* Device cards flotantes */
.device-card {
  position: relative;
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  transition: border-color .3s, background .3s;
  overflow: hidden;
}
/* Shimmer interno */
.device-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.05) 50%, transparent 70%);
  pointer-events: none;
}
.device-card:hover {
  border-color: rgba(51,150,255,.35);
  background: rgba(255,255,255,.1);
}
.device-card__icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(51,150,255,.15);
  border-radius: .65rem;
  border: 1px solid rgba(51,150,255,.2);
}
.device-card__name { font-size: .88rem; font-weight: 600; color: #fff; display: block; letter-spacing: .01em; }
.device-card__spec { font-size: .72rem; color: rgba(255,255,255,.5); display: block; margin-top: .2rem; line-height: 1.35; }
@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-7px); }
}

@media (max-width: 900px) {
  .hero__content    { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  .hero__text .badge { margin: 0 auto .5rem; display: inline-block; }
  .hero__ctas       { justify-content: center; }
  .hero__stats      { justify-content: center; }
  .hero__visual     { width: 100%; }
  .device-card      { width: 100%; }
}

/* ===== HERO — CHECKMARKS ===== */
.hero__checks {
  list-style: none;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.hero__checks li {
  font-size: .9rem;
  color: rgba(255,255,255,.75);
  display: flex;
  align-items: center;
  gap: .4rem;
}
.hero__checks li::before {
  content: '✔';
  color: #3396ff;
  font-weight: 700;
  flex-shrink: 0;
}

/* ===== FIRMA CTA SIMPLE (reemplaza highlight completo) ===== */

/* Dot-grid sobre sección oscura */
.section--dark {
  position: relative;
}
.section--dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(51,150,255,.1) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}

.firma-cta-simple {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  max-width: 560px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.firma-cta-simple h2 { color: #fff; font-family: 'Sora', sans-serif; }
.firma-cta-simple p  { color: rgba(255,255,255,.65); font-size: 1.05rem; line-height: 1.7; }

/* ===== SERVICIOS ===== */
.servicios__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; }

/* ===== DESTACADOS ===== */
.destacados__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.destacados-loading { display: flex; gap: 1.5rem; }
.destacados-loading .skeleton { height: 260px; flex: 1; border-radius: 1.25rem; }

/* ===== PLANES ===== */
.planes__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; max-width: 920px; margin: 0 auto; }

/* ===== FIRMA SECTION ===== */
.firma-highlight {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: center;
}
.firma-highlight__steps { display: flex; flex-direction: column; gap: 1.5rem; }
.firma-step { display: flex; gap: 1rem; align-items: flex-start; }
.firma-step__num {
  font-size: 1.8rem;
  font-weight: 900;
  color: rgba(51,150,255,.5);
  line-height: 1;
  flex-shrink: 0;
  width: 40px;
}
.firma-step__title { font-weight: 700; color: #fff; margin-bottom: .2rem; display: block; }
.firma-step__desc  { font-size: .87rem; color: rgba(255,255,255,.6); }

.firma-highlight__info {
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 1.25rem;
  padding: 2rem;
}
.firma-highlight__info h3 { color: #fff; margin-bottom: 1.25rem; }
.firma-uso { display: flex; gap: 1rem; margin-bottom: 1.1rem; }
.firma-uso__icon   { font-size: 1.4rem; flex-shrink: 0; }
.firma-uso strong  { display: block; font-size: .92rem; color: #fff; margin-bottom: .2rem; }
.firma-uso p       { font-size: .82rem; color: rgba(255,255,255,.6); margin: 0; }

@media (max-width: 900px) {
  .firma-highlight { grid-template-columns: 1fr; }
}

/* ===== VIDEO DEMO ===== */
.video-section {
  position: relative;
  background: linear-gradient(180deg, var(--bg) 0%, #05051c 45%, var(--bg) 100%);
  overflow: hidden;
}
.video-section__orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  animation: orbDrift 18s ease-in-out infinite;
}
.video-section__orb--1 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(0,99,204,.28) 0%, transparent 70%);
  top: -140px; left: -100px;
}
.video-section__orb--2 {
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(79,70,229,.22) 0%, transparent 70%);
  bottom: -100px; right: -80px;
  animation-duration: 24s;
  animation-direction: reverse;
}
.video-wrapper {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  padding: 3px;
}
.video-glow {
  position: absolute;
  inset: -8px;
  border-radius: 1.75rem;
  background: linear-gradient(135deg, rgba(51,150,255,.55), rgba(0,212,255,.35), rgba(79,70,229,.45));
  filter: blur(22px);
  opacity: .65;
  z-index: 0;
  animation: glowPulse 4s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { opacity: .55; transform: scale(1); }
  50%       { opacity: .8;  transform: scale(1.015); }
}
.video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.13);
  box-shadow: 0 32px 80px rgba(0,0,0,.55), 0 0 0 1px rgba(51,150,255,.15);
  z-index: 1;
}
.video-container iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  display: block;
}

/* ===== YouTube Facade ===== */
.yt-facade {
  position: absolute;
  inset: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.yt-facade__thumb {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.yt-facade__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.yt-facade:hover .yt-facade__overlay { background: rgba(0,0,0,.15); }
.yt-facade__play {
  position: relative;
  z-index: 1;
  transition: transform .2s;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,.5));
}
.yt-facade:hover .yt-facade__play { transform: scale(1.1); }
@media (max-width: 768px) {
  .video-section__orb--1 { width: 260px; height: 260px; }
  .video-section__orb--2 { width: 200px; height: 200px; }
}

/* ===== TESTIMONIOS ===== */
.testimonios__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }

/* ===== CONTACTO CTA ===== */
.contacto-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.contacto-cta__left .badge { margin-bottom: .75rem; }
.contacto-cta__left h2  { margin-bottom: .75rem; }
.contacto-cta__left p   { margin-bottom: 2rem; font-size: 1.05rem; }
.contacto-cta__actions  { display: flex; gap: 1rem; flex-wrap: wrap; }
.contacto-cta__right    { display: flex; flex-direction: column; gap: .75rem; }

@media (max-width: 900px) {
  .contacto-cta { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ===== CÓMO EMPEZAR — PASOS ===== */
.pasos__grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: start;
  margin-top: 1rem;
}
.paso-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  text-align: center;
  transition: transform .25s, box-shadow .25s;
}
.paso-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.paso-card__num {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--primary-500);
  margin-bottom: .75rem;
  text-transform: uppercase;
}
.paso-card__icon {
  font-size: 2.5rem;
  margin-bottom: .75rem;
  display: block;
}
.paso-card h3 {
  font-size: 1.05rem;
  margin-bottom: .5rem;
}
.paso-card p {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}
.paso-card__connector {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 .5rem;
  margin-top: 4rem;
}
.paso-card__connector::before {
  content: '→';
  font-size: 1.75rem;
  color: var(--border-color);
}

@media (max-width: 768px) {
  .pasos__grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .paso-card__connector {
    margin-top: 0;
    padding: 0;
    transform: rotate(90deg);
  }
}

/* ===== POR QUÉ EMARKET ===== */
.porq__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}
.porq-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.porq-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-500);
}
.porq-card__icon {
  font-size: 2.2rem;
  display: block;
  margin-bottom: 1rem;
}
.porq-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .5rem;
}
.porq-card p {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

/* ===== FAQ ===== */
.faq__list {
  max-width: 760px;
  margin: 1rem auto 0;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color .2s;
}
.faq-item[open] {
  border-color: var(--primary-500);
}
.faq-item__q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 1.5rem;
  font-weight: 600;
  font-size: .97rem;
  color: var(--text-main);
  cursor: pointer;
  list-style: none;
  gap: 1rem;
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__q::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--primary-500);
  flex-shrink: 0;
  transition: transform .25s;
  line-height: 1;
}
.faq-item[open] .faq-item__q::after {
  transform: rotate(45deg);
}
.faq-item__a {
  padding: 0 1.5rem 1.25rem;
  font-size: .92rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
}

/* ===== RESPONSIVE GENERAL ===== */
@media (max-width: 600px) {
  .hero { padding: 6rem 0 3rem; min-height: auto; }
  .hero__text h1 { margin: .35rem 0 .8rem; font-size: clamp(2rem, 6vw, 2.8rem); line-height: 1.25; }
  .hero__checks { margin-bottom: 1rem; }
  .hero__checks li { font-size: .85rem; gap: .35rem; }
  .hero__ctas { gap: .6rem; margin-bottom: 1.5rem; }
  .hero__ctas .btn { width: 100%; font-size: .88rem; padding: .75rem 1.4rem; }
  .hero__stats { gap: 1.2rem; }
  .stat strong { font-size: 1.4rem; }
  .stat span { font-size: .7rem; }
  .device-card { padding: .85rem 1rem; gap: .85rem; }
  .device-card__icon { width: 40px; height: 40px; font-size: 1.6rem; }
  .device-card__name { font-size: .8rem; }
  .device-card__spec { font-size: .65rem; }
  .section { padding: 3.5rem 0; }
}

/* ===== HERO TAGLINE ===== */
.hero__tagline {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin: 0 0 .6rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.hero__tagline::before {
  content: '';
  display: inline-block;
  width: 22px;
  height: 2px;
  background: var(--primary-500);
  border-radius: 2px;
}

/* ===== POR QUÉ CARD HIGHLIGHT ===== */
.porq-card--highlight {
  border-color: var(--primary-500);
  background: linear-gradient(135deg, rgba(51,150,255,.08) 0%, var(--bg-card) 100%);
}
.porq-card--highlight h4 {
  color: var(--primary-500);
}

/* ===== TIPOS DE NEGOCIO ===== */
.negocios__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.negocio-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  padding: 1.5rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: transform .25s, border-color .25s, box-shadow .25s;
  cursor: default;
}
.negocio-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-500);
  box-shadow: var(--shadow-md);
}
.negocio-card__icon {
  font-size: 2.2rem;
}

/* ===== SOMOS DESARROLLADORES ===== */
.somos-dev {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 3rem;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 1.5rem;
  padding: 3rem;
}
.somos-dev__text .badge { margin-bottom: .75rem; }
.somos-dev__text h2 { margin: .5rem 0 1rem; line-height: 1.25; }
.somos-dev__text p { color: var(--text-muted); margin-bottom: 1.25rem; }
.somos-dev__checks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.somos-dev__checks li {
  font-size: .9rem;
  color: var(--text-secondary);
}
.somos-dev__stat {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(51,150,255,.1), rgba(0,212,255,.06));
  border: 1px solid rgba(51,150,255,.2);
  border-radius: 1.25rem;
}
.somos-dev__stat strong {
  display: block;
  font-family: 'Sora', sans-serif;
  font-size: 4rem;
  font-weight: 800;
  background: linear-gradient(135deg, #60baff 0%, #00d4ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.somos-dev__stat span {
  display: block;
  font-size: .85rem;
  color: var(--text-muted);
  margin-top: .4rem;
}
.somos-dev__quote {
  margin-top: 1.5rem;
  font-size: .78rem;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.6;
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
}
@media (max-width: 768px) {
  .somos-dev { grid-template-columns: 1fr; padding: 2rem; gap: 2rem; }
  .somos-dev__stat { padding: 1.5rem; }
  .somos-dev__stat strong { font-size: 3rem; }
  .negocios__grid { grid-template-columns: repeat(3, 1fr); }
}

/* ===== VALORES EMARKET ===== */
.valores__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.valor-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  position: relative;
  overflow: hidden;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.valor-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent, #3396ff), #00d4ff);
  opacity: 0;
  transition: opacity .3s;
}
.valor-card:hover {
  transform: translateY(-4px);
  border-color: rgba(51,150,255,.35);
  box-shadow: 0 8px 32px rgba(0,100,200,.12);
}
.valor-card:hover::before { opacity: 1; }
.valor-card__icon {
  font-size: 1.6rem;
  width: 52px; height: 52px;
  border-radius: .75rem;
  border: 1px solid transparent;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.valor-card__title {
  font-size: .95rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}
.valor-card__desc {
  font-size: .82rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}
@media (max-width: 900px) {
  .valores__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .valores__grid { grid-template-columns: 1fr; }
}

/* ===== PROMO MODAL ===== */
.promo-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: promo-overlay-in .25s ease;
}
.promo-modal--out { animation: promo-overlay-out .2s ease forwards; }
@keyframes promo-overlay-in  { from { opacity:0 } to { opacity:1 } }
@keyframes promo-overlay-out { from { opacity:1 } to { opacity:0 } }

.promo-modal__card {
  position: relative;
  background: linear-gradient(145deg, #0e0e2e 0%, #141452 100%);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 1.5rem;
  max-width: 420px;
  width: 100%;
  text-align: center;
  color: #fff;
  box-shadow: 0 24px 80px rgba(0,0,0,.6);
  overflow: hidden;
  animation: promo-card-in .3s cubic-bezier(.34,1.56,.64,1);
}
@keyframes promo-card-in {
  from { transform: scale(.85) translateY(16px); opacity:0 }
  to   { transform: scale(1)   translateY(0);    opacity:1 }
}

.promo-modal__header {
  background: linear-gradient(135deg, #f97316 0%, #ef4444 100%);
  padding: 1.75rem 1.5rem 1.5rem;
}
.promo-modal__fire {
  font-size: 2.5rem;
  display: block;
  line-height: 1;
  margin-bottom: .5rem;
}
.promo-modal__tag {
  display: inline-block;
  background: rgba(0,0,0,.2);
  border-radius: 999px;
  font-size: .73rem;
  font-weight: 700;
  padding: .2rem .75rem;
  margin-bottom: .65rem;
}
.promo-modal__title {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.25;
  margin: 0;
}

.promo-modal__body { padding: 1.5rem; }
.promo-modal__desc {
  font-size: .9rem;
  color: rgba(255,255,255,.7);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.promo-modal__deadline {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  padding: .35rem .9rem;
  font-size: .82rem;
  color: rgba(255,255,255,.8);
  margin-bottom: 1.5rem;
}
.promo-modal__actions {
  display: flex;
  gap: .75rem;
  justify-content: center;
}
.promo-modal__cta {
  flex: 1;
  background: linear-gradient(90deg, #f97316, #ef4444);
  color: #fff !important;
  border: none;
  font-weight: 700;
  font-size: .9rem;
  padding: .7rem 1.25rem;
  border-radius: .75rem;
  text-decoration: none;
  transition: opacity .15s;
}
.promo-modal__cta:hover { opacity: .85; }
.promo-modal__dismiss {
  flex: 1;
  background: transparent;
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.6);
  font-size: .9rem;
  padding: .7rem 1.25rem;
  border-radius: .75rem;
  cursor: pointer;
  transition: border-color .15s, color .15s;
}
.promo-modal__dismiss:hover { border-color: rgba(255,255,255,.4); color: #fff; }

.promo-modal__close {
  position: absolute;
  top: .65rem;
  right: .65rem;
  background: rgba(0,0,0,.25);
  border: none;
  color: rgba(255,255,255,.8);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: .8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
  z-index: 1;
}
.promo-modal__close:hover { background: rgba(0,0,0,.5); color: #fff; }

@media (max-width: 480px) {
  .promo-modal__card { border-radius: 1.25rem; }
  .promo-modal__title { font-size: 1.3rem; }
  .promo-modal__actions { flex-direction: column; }
}
