/* ============ RESET ============ */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}

:root{
  --navy:#1B3B5F;
  --navy-dark:#0F2540;
  --navy-light:#2A5480;
  --green:#8DC63F;
  --green-dark:#6FA82E;
  --green-light:#B5DB6F;
  --white:#ffffff;
  --muted:#6b7a8c;
  --bg:#F5F9FC;
  --radius:16px;
  --shadow:0 20px 45px -20px rgba(27,59,95,.35);
  --grad:linear-gradient(135deg,var(--navy) 0%,var(--navy-light) 50%,var(--green-dark) 100%);
}

body{
  font-family:'Poppins',system-ui,-apple-system,sans-serif;
  background:var(--bg);
  color:var(--navy);
  min-height:100vh;
  overflow-x:hidden;
  position:relative;
  line-height:1.6;
}

/* ============ BACKGROUND ============ */
.bg-blobs{position:fixed;inset:0;z-index:-2;overflow:hidden}
.blob{position:absolute;border-radius:50%;filter:blur(90px);opacity:.35;animation:float 18s ease-in-out infinite}
.blob-1{width:500px;height:500px;background:var(--green);top:-150px;left:-120px}
.blob-2{width:600px;height:600px;background:var(--navy-light);bottom:-200px;right:-150px;animation-delay:-6s}
.blob-3{width:400px;height:400px;background:var(--green-light);top:40%;left:50%;animation-delay:-12s}

@keyframes float{
  0%,100%{transform:translate(0,0) scale(1)}
  50%{transform:translate(40px,-30px) scale(1.1)}
}

.grid-overlay{
  position:fixed;inset:0;z-index:-1;pointer-events:none;
  background-image:linear-gradient(rgba(27,59,95,.06) 1px,transparent 1px),
                   linear-gradient(90deg,rgba(27,59,95,.06) 1px,transparent 1px);
  background-size:60px 60px;
  mask-image:radial-gradient(ellipse at center,#000 30%,transparent 75%);
}

/* ============ LAYOUT ============ */
.container{
  max-width:1200px;
  margin:0 auto;
  padding:40px 24px 32px;
  min-height:100vh;
  display:flex;
  flex-direction:column;
}

.brand{display:flex;justify-content:center;margin-bottom:30px;animation:fadeDown .8s ease}
.logo{max-width:220px;width:100%;height:auto;filter:drop-shadow(0 8px 20px rgba(27,59,95,.15))}

/* ============ HERO ============ */
.hero{text-align:center;flex:1;animation:fadeUp 1s ease .1s both}

.badge{
  display:inline-flex;align-items:center;gap:8px;
  background:rgba(141,198,63,.15);
  color:var(--green-dark);
  padding:8px 18px;border-radius:999px;
  font-size:.85rem;font-weight:600;letter-spacing:.5px;
  border:1px solid rgba(141,198,63,.4);
  margin-bottom:24px;
}
.pulse{
  width:8px;height:8px;border-radius:50%;background:var(--green);
  box-shadow:0 0 0 0 rgba(141,198,63,.7);
  animation:pulse 1.8s infinite;
}
@keyframes pulse{
  0%{box-shadow:0 0 0 0 rgba(141,198,63,.7)}
  70%{box-shadow:0 0 0 12px rgba(141,198,63,0)}
  100%{box-shadow:0 0 0 0 rgba(141,198,63,0)}
}

.title{
  font-size:clamp(2rem,5.5vw,3.8rem);
  font-weight:800;
  line-height:1.15;
  letter-spacing:-1px;
  color:var(--navy);
  margin-bottom:20px;
}
.highlight{
  background:var(--grad);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  position:relative;
}
/* .highlight::after{
  content:'';position:absolute;left:0;right:0;bottom:-6px;height:6px;
  background:var(--green);border-radius:6px;opacity:.3;
} */

.subtitle{
  font-size:clamp(.95rem,1.6vw,1.15rem);
  color:var(--muted);
  max-width:680px;
  margin:0 auto 50px;
}
.subtitle strong{color:var(--navy);font-weight:600}

/* ============ CATEGORIES ============ */
.categories{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:20px;
  margin-bottom:55px;
}
.cat-card{
  background:var(--white);
  border-radius:var(--radius);
  padding:28px 22px;
  text-align:center;
  border:1px solid rgba(27,59,95,.08);
  box-shadow:0 10px 30px -18px rgba(27,59,95,.25);
  transition:all .35s cubic-bezier(.4,0,.2,1);
  position:relative;
  overflow:hidden;
}
.cat-card::before{
  content:'';position:absolute;top:0;left:0;right:0;height:3px;
  background:var(--grad);
  transform:scaleX(0);transform-origin:left;
  transition:transform .4s ease;
}
.cat-card:hover{
  transform:translateY(-8px);
  box-shadow:var(--shadow);
  border-color:rgba(141,198,63,.4);
}
.cat-card:hover::before{transform:scaleX(1)}

.cat-icon{
  font-size:2.4rem;
  margin-bottom:12px;
  display:inline-block;
  transition:transform .4s ease;
}
.cat-card:hover .cat-icon{transform:scale(1.15) rotate(-8deg)}

.cat-card h3{
  font-size:1.1rem;font-weight:700;color:var(--navy);margin-bottom:8px;
}
.cat-card p{font-size:.9rem;color:var(--muted);line-height:1.5}

/* ============ COUNTDOWN ============ */
.countdown{
  display:flex;justify-content:center;flex-wrap:wrap;gap:14px;margin-bottom:45px;
}
.time-box{
  background:var(--grad);
  color:var(--white);
  min-width:100px;
  padding:20px 14px;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  position:relative;
  overflow:hidden;
}
.time-box::before{
  content:'';position:absolute;inset:0;
  background:linear-gradient(135deg,rgba(255,255,255,.15),transparent 50%);
}
.time-box span{
  display:block;font-size:2.2rem;font-weight:800;line-height:1;font-variant-numeric:tabular-nums;
}
.time-box small{
  display:block;margin-top:6px;font-size:.75rem;
  text-transform:uppercase;letter-spacing:2px;opacity:.85;font-weight:500;
}

/* ============ NOTIFY FORM ============ */
.notify{
  display:flex;flex-wrap:wrap;gap:10px;justify-content:center;
  max-width:520px;margin:0 auto 40px;
  position:relative;
}
.notify input{
  flex:1;min-width:220px;
  padding:14px 20px;
  border:2px solid rgba(27,59,95,.15);
  border-radius:999px;
  font-family:inherit;font-size:.95rem;
  background:var(--white);color:var(--navy);
  outline:none;transition:border-color .25s,box-shadow .25s;
}
.notify input:focus{
  border-color:var(--green);
  box-shadow:0 0 0 4px rgba(141,198,63,.2);
}
.notify button{
  padding:14px 30px;
  border:none;border-radius:999px;
  background:var(--grad);
  color:var(--white);font-weight:600;font-family:inherit;
  cursor:pointer;font-size:.95rem;letter-spacing:.3px;
  box-shadow:0 10px 25px -10px rgba(27,59,95,.5);
  transition:transform .2s,box-shadow .2s;
}
.notify button:hover{
  transform:translateY(-2px);
  box-shadow:0 15px 30px -10px rgba(27,59,95,.6);
}
.notify-msg{
  display:none;width:100%;margin-top:14px;
  color:var(--green-dark);font-weight:600;font-size:.9rem;
}

/* ============ SOCIALS ============ */
.socials{display:flex;justify-content:center;gap:14px;margin-bottom:40px}
.socials a{
  width:44px;height:44px;border-radius:50%;
  display:inline-flex;align-items:center;justify-content:center;
  background:var(--white);color:var(--navy);
  text-decoration:none;font-weight:700;font-size:1rem;
  border:1px solid rgba(27,59,95,.1);
  transition:all .3s ease;
}
.socials a:hover{
  background:var(--grad);color:var(--white);
  transform:translateY(-4px) rotate(6deg);
  box-shadow:var(--shadow);
}

/* ============ FOOTER ============ */
.footer{
  text-align:center;
  font-size:.85rem;
  color:var(--muted);
  padding-top:20px;
  border-top:1px solid rgba(27,59,95,.08);
}
.footer em{color:var(--green-dark);font-style:normal;font-weight:600}

/* ============ ANIMATIONS ============ */
@keyframes fadeUp{from{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}
@keyframes fadeDown{from{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}

/* ============ RESPONSIVE ============ */
@media (max-width:640px){
  .container{padding:28px 18px}
  .logo{max-width:170px}
  .time-box{min-width:74px;padding:16px 10px}
  .time-box span{font-size:1.6rem}
  .time-box small{font-size:.65rem;letter-spacing:1.5px}
  .cat-card{padding:22px 18px}
  .notify input,.notify button{width:100%}
  .badge{font-size:.75rem}
}

@media (max-width:400px){
  .countdown{gap:8px}
  .time-box{min-width:66px}
}
