/* ===== GENERAL ===== */
* { margin:0; padding:0; box-sizing:border-box; font-family:'Segoe UI',sans-serif; }
body { background:#f9f9f9; color:#333; line-height:1.6; }
a { text-decoration:none; color:inherit; }
h1,h2,h3{font-weight:600; margin-bottom:15px;}
p{margin-bottom:15px;}

/* HEADER */
header { width:100%; background:#1a73e8; color:white; position:sticky; top:0; z-index:999; }
header nav { display:flex; justify-content:space-between; align-items:center; max-width:1200px; margin:auto; padding:10px 20px; }
header nav div:first-child{ font-size:1.5rem; font-weight:bold; }
header nav div a{ margin-left:15px; padding:5px 10px; transition:background 0.3s; }
header nav div a:hover{ background: rgba(255,255,255,0.2); border-radius:5px; }

/* HERO */
.hero {
    background: url('assets/background.jpg') no-repeat center center/cover;
    color:white;
    text-align:center;
    padding:80px 20px;
    position:relative;
    min-height:400px;
}
.hero::before {
    content:"";
    position:absolute;
    top:0; left:0; right:0; bottom:0;
    background:rgba(0,0,0,0.5);
    z-index:1;
}
.hero * { position:relative; z-index:2; }
.hero input, .hero button{ padding:10px; margin:5px 0; width:100%; max-width:350px; }
.hero .free-btn{ background:#ff9800; color:white; border:none; cursor:pointer; font-size:1rem; transition:background 0.3s; }
.hero .free-btn:hover{ background:#e68900; }

/* SECTION */
.section { max-width:1200px; margin:auto; padding:50px 20px; }
.section h2 { text-align:center; margin-bottom:40px; font-size:2rem; }

/* GRID */
.grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(250px,1fr)); gap:20px; }

/* CARD */
.card{
    background:white; border-radius:8px; padding:20px;
    box-shadow:0 6px 15px rgba(0,0,0,0.1); transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover{ transform:translateY(-5px); box-shadow:0 10px 20px rgba(0,0,0,0.15);}
.card img{ width:100%; height:auto; border-radius:5px; display:block; margin-bottom:10px; }

/* BUTTONS */
.free-btn{ background:#4caf50; color:white; border:none; padding:10px; width:100%; cursor:pointer; font-size:1rem; border-radius:5px; transition: background 0.3s;}
.free-btn:hover{ background:#43a047; }
.premium-btn{ background:#f44336; color:white; border:none; padding:10px; width:100%; cursor:pointer; font-size:1rem; border-radius:5px; transition: background 0.3s;}
.premium-btn:hover{ background:#d32f2f; }

/* Admin Reset Button */
.reset-btn {
    display: inline-block;
    padding: 8px 12px;
    background: #f44336;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    margin-top: 5px;
}
.reset-btn:hover { background: #d32f2f; }
.success {
    background: #4caf50;
    color: white;
    padding: 8px;
    margin: 10px 0;
    border-radius: 4px;
}

/* Admin login button */
.admin-btn {
    display: inline-block;
    padding: 5px 10px;
    background: #333;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    margin-left: 10px;
}
.admin-btn:hover { background: #555; }
/* FOOTER */
footer{ background:#1a73e8; color:white; text-align:center; padding:30px 20px; position:relative;}
.whatsapp-btn{ display:inline-block; margin-top:10px; background:#25d366; color:white; padding:10px 15px; border-radius:5px; font-weight:bold; transition:background 0.3s;}
.whatsapp-btn:hover{ background:#1ebe57; }

/* COUNTDOWN */
#countdown{ font-weight:bold; font-size:1.2rem; }

/* ERROR */
.error{ color:red; text-align:center; margin-bottom:15px; }

/* RESPONSIVE */
@media(max-width:768px){
    .hero h1{ font-size:2rem; }
    .hero p{ font-size:1rem; }
    .hero{ padding:60px 15px; }
    header nav{ flex-direction:column; }
    header nav div a{ margin-left:0; margin-top:10px; }
}