* { box-sizing: border-box; }
html, body { width: 100% !important; margin: 0 !important; padding: 0 !important; overflow-x: hidden !important; }
:root { 
  --primary: #00e676; 
  --bg: #0a0a0a; 
  --card-bg: rgba(21, 21, 21, 0.9); 
  --text-light: #ffffff;
}

body { 
  font-family: 'Segoe UI', Roboto, sans-serif; 
  margin: 0; 
  background: var(--bg); 
  color: var(--text-light); 
  background-image: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.85)), 
                    url('https://images.unsplash.com/photo-1626814026160-2237a95fc5a0?q=80&w=2070&auto=format&fit=crop');
  background-attachment: fixed;
  background-size: cover;
  overflow-x: hidden;
}

/* Header Largo */
header { 
  background: rgba(0, 0, 0, 0.95); 
  padding: 15px 5%; 
  position: sticky; top: 0; z-index: 1000; 
  display: flex; justify-content: space-between; align-items: center; 
  border-bottom: 1px solid #222;
}

.brand-area h1 { font-size: 1.5rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; }

/* Hero Section - Agora ocupando a tela toda */
.hero-section {
  width: 100%;
  min-height: 70vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 0;
}

.hero-container {
  width: 90%;
  max-width: 1400px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.hero-text-content { flex: 1.2; text-align: left; }
.badge-premium { background: var(--primary); color: #000; padding: 6px 15px; border-radius: 4px; font-weight: 900; font-size: 14px; }
.hero-title { font-size: 4.2rem; line-height: 1.1; margin: 25px 0; font-weight: 800; }
.hero-description { font-size: 1.4rem; color: #ccc; margin-bottom: 40px; max-width: 600px; line-height: 1.4; }

.btn-cta { 
  background: var(--primary); color: #000; padding: 22px 50px; 
  font-size: 1.2rem; border-radius: 5px; font-weight: 900; border: none;
  cursor: pointer; transition: 0.3s;
}

.hero-visual { flex: 1; display: flex; justify-content: flex-end; }
.img-tv { width: 100%; max-width: 750px; border-radius: 15px; box-shadow: 0 30px 60px rgba(0,0,0,0.9); border: 1px solid #333; }

/* Grid de Planos */
.container { width: 90%; max-width: 1400px; margin: 40px auto; padding-bottom: 100px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 30px; }

.card { 
 .card { 
  background: var(--card-bg); border-radius: 15px; padding: 40px 30px; 
  border: 1px solid #333; text-align: center; transition: 0.3s;
  backdrop-filter: blur(5px); position: relative; display: flex;
  flex-direction: column; justify-content: space-between;
}
.card:hover { border-color: var(--primary); transform: translateY(-10px); }
.card h3 { font-size: 1.8rem; margin-bottom: 15px; }
.price { font-size: 3rem; font-weight: 800; color: var(--primary); margin: 25px 0; }

/* Painel Admin - Consertado para não vazar */
.admin-panel { 
  background: #111; padding: 30px; border-radius: 15px; 
  margin-bottom: 50px; border: 1px solid var(--primary);
  display: none; 
}

/* Modais */
.modal-overlay { 
  display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; 
  background: rgba(0,0,0,0.9); z-index: 2000; justify-content: center; align-items: center; 
}
.modal-content { background: #151515; padding: 30px; border-radius: 15px; width: 90%; max-width: 500px; }

/* Botões Gerais */
/* Inputs e Formulários */
.form-group { margin-bottom: 15px; text-align: left; }
.form-row { display: flex; gap: 15px; }
.form-row input { flex: 1; }
.form-group label { display: block; margin-bottom: 8px; font-weight: bold; color: #ccc; font-size: 0.9rem; }
.input-modern { 
  width: 100%; padding: 12px; border-radius: 8px; 
  background: rgba(255,255,255,0.05); border: 1px solid #333; 
  color: var(--text-light); font-family: inherit; font-size: 1rem; transition: 0.3s;
}
.input-modern:focus { border-color: var(--primary); outline: none; background: rgba(255,255,255,0.1); }
.file-group { background: rgba(255,255,255,0.03); padding: 15px; border-radius: 8px; border: 1px dashed #444; }

/* Botões Gerais */
button { cursor: pointer; border: none; transition: 0.3s; font-weight: bold; border-radius: 8px; }
.btn-login { background: #4285F4; color: white; padding: 10px 20px; }
.btn-config { background: #333; color: white; padding: 10px 20px; }
.btn-save { background: var(--primary); color: #000; padding: 12px 25px; width: 100%; font-size: 1.1rem; }
.btn-save:hover { filter: brightness(1.1); transform: translateY(-2px); }
.btn-add { background: var(--primary); color: #000; padding: 12px 20px; width: 100%; margin-top: 15px; }
.btn-add:hover { background: #00c766; }
.btn-delete { background: #ff4d4d; color: white; padding: 8px; border-radius: 5px; position: absolute; top: 15px; right: 15px; display: flex; align-items: center; justify-content: center; }
.btn-delete:hover { background: #cc0000; }

@media (max-width: 1100px) {
  .hero-container { flex-direction: column; text-align: center; }
  .hero-text-content { text-align: center; align-items: center; display: flex; flex-direction: column; }
  .hero-title { font-size: 2.8rem; }
  .hero-visual { justify-content: center; width: 100%; }
}