/* =========================
   HOME 2026 - DIET SAAS
========================= */
/* ===== LOGIN & TERMS ===== */

#login-box label,
#register-box label{
    display:flex;
    align-items:flex-start;
    gap:4px;

    margin:16px 0;

    font-size:13px;
    line-height:1.6;

    color:#cbd5e1;

    cursor:pointer;
}

#login-box input[type="checkbox"],
#register-box input[type="checkbox"]{
    margin-top:3px;

    width:18px;
    height:18px;

    accent-color:#0ea5e9;

    cursor:pointer;
    flex-shrink:0;
}

#login-box a,
#register-box a{
    color:#38bdf8;
    text-decoration:none;

    transition:
        color .25s ease,
        text-shadow .25s ease;
}

#login-box a:hover,
#register-box a:hover{
    color:#7dd3fc;
    text-shadow:0 0 8px rgba(56,189,248,.45);
}

.blog-hero {
  position: relative;
  max-width: 1100px;
  margin: 60px auto;
  height: 260px;
  border-radius: 22px;
  overflow: hidden;


  background-size: cover;
  background-position: center;

  box-shadow: 0 25px 60px rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.08);
}

/* dark overlay + blue glow */
.blog-hero-overlay {
  position: absolute;
  inset: 0;

  background: linear-gradient(
    90deg,
    rgba(11,18,32,0.92) 0%,
    rgba(11,18,32,0.65) 40%,
    rgba(14,165,233,0.15) 100%
  );
}

/* content */
.blog-hero-content {
  position: relative;
  z-index: 2;

  height: 100%;
  padding: 30px;

  display: flex;
  flex-direction: column;
  justify-content: center;

  color: white;
}

.blog-hero-content h1 {
  font-size: 34px;
  margin-bottom: 10px;
}

.blog-hero-content p {
  max-width: 600px;
  color: #cbd5e1;
  line-height: 1.5;
}

/* CTA button */
.blog-hero-content a {
  margin-top: 18px;
  width: fit-content;

  padding: 10px 16px;
  border-radius: 12px;

  background: rgba(14,165,233,0.15);
  border: 1px solid rgba(14,165,233,0.4);

  color: #38bdf8;
  text-decoration: none;
  font-weight: 600;

  transition: 0.25s ease;
}

.blog-hero-content a:hover {
  background: rgba(14,165,233,0.28);
  transform: translateY(-2px);
}

/* HERO */
.hero {
  max-width: 1100px;
  margin: 40px auto;
  padding: 60px 25px;

  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  backdrop-filter: blur(10px);

  position: relative;
  overflow: hidden;
}

/* soft glow inside hero */
.hero::before {
  content: "";
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(14,165,233,0.25), transparent 60%);
  filter: blur(60px);
  z-index: 0;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  position: relative;
  z-index: 1;
}

.hero p {
  margin-top: 12px;
  color: #94a3b8;
  max-width: 650px;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.hero a {
  display: inline-block;
  margin-top: 22px;
  padding: 12px 18px;

  background: linear-gradient(135deg, #0ea5e9, #3b82f6);
  color: white;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;

  transition: 0.2s;
  position: relative;
  z-index: 1;
}

.hero a:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

/* FEATURES GRID */
.features {
  max-width: 1100px;
  margin: 50px auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  padding: 0 20px;
}

.card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 20px;

  transition: 0.25s;
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(14,165,233,0.3);
}

.card h3 {
  margin-bottom: 8px;
}

.card p {
  color: #94a3b8;
  line-height: 1.5;
}

/* MAIN CONTENT (BLOG PREVIEW / DASHBOARD AREA) */
.main-container {
  max-width: 1100px;
  margin: 50px auto;
  padding: 25px;

  background: rgba(17,28,51,0.35);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  backdrop-filter: blur(10px);
}

/* optional section title */
.section-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #e5e7eb;
}

/* CTA ENHANCED (home version override) */
.cta {
  max-width: 1100px;
  margin: 70px auto;
  padding: 45px 25px;
  text-align: center;

  background: linear-gradient(
    135deg,
    rgba(14,165,233,0.15),
    rgba(59,130,246,0.10)
  );

  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
}

.cta h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.cta p {
  color: #94a3b8;
}

.cta a {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 18px;
  background: #0ea5e9;
  color: white;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
}

.cta a:hover {
  background: #0284c7;
}

/* SMALL RESPONSIVE FIX */
@media (max-width: 600px) {
  .hero {
    padding: 40px 18px;
  }

  .features {
    padding: 0 10px;
  }
}