/* =========================
   BASE
========================= */
body{
  margin:0;
  font-family:'Inter', sans-serif;
  background:#f4f6f8;
  color:#111;
}

img{
  max-width:100%;
  height:auto;
  display:block;
}

.container{
  max-width:420px;
  margin:auto;
  background:#fff;
  overflow:hidden;
  padding-bottom:70px; /* chừa sticky */
}

/* =========================
   HERO
========================= */
.hero{
  padding:24px 18px;
  background:linear-gradient(135deg,#ff512f,#dd2476);
  color:#fff;
  text-align:center;
  border-radius:0 0 20px 20px;
}

.hero h1{
  font-size:22px;
  font-weight:800;
  margin:0;
}

.hero p{
  font-size:14px;
  opacity:0.9;
  margin-top:8px;
}

.badge{
  display:inline-block;
  margin-top:10px;
  background:#004dc0;
  padding:6px 12px;
  border-radius:20px;
  font-size:12px;
}
.badgea{
  display:inline-block;
  margin-top:10px;
  background:#f6ff99;
  padding:6px 12px;
  border-radius:20px;
  font-size:12px;
}

/* =========================
   SECTION GENERAL
========================= */
.section{
  padding:14px 16px;
}

.box{
  background:#fff;
  margin:12px 0;
  padding:16px;
  border-radius:16px;
  box-shadow:0 6px 18px rgba(0,0,0,0.08);
}

/* =========================
   TITLE
========================= */
.title{
  font-size:16px;
  font-weight:800;
  text-align:center;
  margin-bottom:12px;
}

/* =========================
   GRID
========================= */
.grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}

.card{
  background:#fff;
  padding:12px;
  border-radius:12px;
  box-shadow:0 2px 10px rgba(0,0,0,0.08);
  text-align:center;
  font-size:13px;
}

/* =========================
   WHY SECTION
========================= */
.why-section{
  padding:20px 16px;
  background:linear-gradient(180deg,#f8f9fb,#fff);
}

.why-title{
  text-align:center;
  font-size:18px;
  font-weight:800;
  margin-bottom:12px;
}

.why-card{
  display:flex;
  gap:12px;
  padding:14px;
  border-radius:14px;
  background:#fff;
  margin-bottom:12px;
  box-shadow:0 6px 16px rgba(0,0,0,0.06);
  border-left:4px solid #ff3d6e;
}

.why-icon{
  font-size:18px;
}

.why-card h3{
  margin:0;
  font-size:14px;
}

.why-card p{
  margin:4px 0 0;
  font-size:13px;
  color:#555;
}

/* =========================
   TESTIMONIAL (CLEAN VERSION)
========================= */
.testimonial-card{
  background:#fff;
  border-radius:14px;
  padding:14px;
  margin-bottom:12px;
  box-shadow:0 6px 18px rgba(0,0,0,0.06);
}

.top{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:10px;
}

.avatar{
  width:42px;
  height:42px;
  border-radius:50%;
  object-fit:cover;
  border:2px solid #ff3d6e;
}

.top b{
  font-size:14px;
}

.top small{
  font-size:12px;
  color:#777;
}

.testimonial-card p{
  margin:0;
  font-size:14px;
  line-height:1.4;
}

/* =========================
   FORM
========================= */
input{
  width:100%;
  padding:12px;
  margin-top:10px;
  border:1px solid #ddd;
  border-radius:10px;
  font-size:14px;
}

.cta-mid{
    text-align:center;
    margin:25px 0;
}

.cta-mid button{
    display:inline-block;
    width:auto;          /* Quan trọng */
    min-width:260px;     /* Có thể bỏ nếu không cần */
    padding:14px 28px;
    margin:0;
    border:none;
    border-radius:30px;
    background:linear-gradient(135deg,#ff512f,#dd2476);
    color:#fff;
    font-weight:800;
    cursor:pointer;
}
.form-box button{
    width:100%;
    padding:14px;
    margin-top:12px;
    border:none;
    border-radius:30px;
    background:linear-gradient(135deg,#ff512f,#dd2476);
    color:#fff;
    font-weight:800;
    cursor:pointer;
}
.note{
  text-align:center;
  font-size:12px;
  color:#666;
  margin-top:10px;
}

/* =========================
   TIMER
========================= */
.timer{
  display:flex;
  justify-content:center;
  gap:6px;
  margin-top:10px;
}

.timer div{
  background:#111;
  color:#fff;
  padding:8px;
  border-radius:10px;
  min-width:60px;
  text-align:center;
}

.timer span{
  display:block;
  font-weight:800;
}

/* =========================
   STICKY CTA (SMART CONTROLLED)
========================= */
.sticky{
  position:fixed;
  bottom:0;
  left:0;
  right:0;
  z-index:9999;

  display:none;
  background:#fff;
  padding:10px;
  box-shadow:0 -2px 10px rgba(0,0,0,0.1);
}

.sticky a{
  display:block;
  background:linear-gradient(135deg,#ff512f,#dd2476);
  color:#fff;
  text-align:center;
  padding:14px;
  border-radius:25px;
  text-decoration:none;
  font-weight:800;
}
.footer{
    background:#222;
    color:#fff;
    padding:35px 20px;
    text-align:center;
    margin-top:50px;
    border-radius:12px 12px 0 0;
}

.footer h3{
    margin-bottom:20px;
    font-size:28px;
    color:#fff;
}

.footer p{
    margin:10px 0;
    line-height:1.8;
    color:#ddd;
}

.footer a{
    color:#FFD54F;
    text-decoration:none;
    font-weight:600;
}

.footer a:hover{
    text-decoration:underline;
}

.footer hr{
    margin:25px auto;
    width:80%;
    border:0;
    border-top:1px solid rgba(255,255,255,.2);
}

@keyframes pulse{

    0%{
        transform:scale(1);
        box-shadow:0 0 0 rgba(255,81,47,0);
    }

    50%{
        transform:scale(1.06);
        box-shadow:0 0 18px rgba(255,81,47,.45);
    }

    100%{
        transform:scale(1);
        box-shadow:0 0 0 rgba(255,81,47,0);
    }

}

.cta-blink{
    display:inline-block;
    animation:pulse 1.3s ease-in-out infinite;
}

.cta-blink:hover{
    animation:none;
    transform:scale(1.05);
}
.card,
.why-card,
.testimonial-card{
    transition:.3s;
}

.card:hover,
.why-card:hover,
.testimonial-card:hover{
    transform:translateY(-4px);
    box-shadow:0 10px 28px rgba(0,0,0,.12);
}
.cta{
    display:block;
    width:100%;
    box-sizing:border-box;
    text-align:center;
    padding:16px;
    margin-top:12px;
    border-radius:30px;
    text-decoration:none;
    color:#fff;
    font-weight:800;
    background:linear-gradient(135deg,#ff512f,#dd2476);
    transition:.3s;
    animation:pulse 1.5s infinite;
}

.cta:hover{
    transform:scale(1.03);
}