/* =========================
   NOVABLOG PREMIUM THEME
========================= */

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  font-family:'Poppins',sans-serif;
  background:#050816;
  color:#fff;
  overflow-x:hidden;
  line-height:1.7;
}

img{
  max-width:100%;
  display:block;
}

a{
  text-decoration:none;
  color:inherit;
}

.container{
  width:90%;
  max-width:1280px;
  margin:auto;
}

/* =========================
   HEADER
========================= */

header{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  z-index:999;
  background:rgba(5,8,22,0.85);
  backdrop-filter:blur(15px);
  border-bottom:1px solid rgba(255,255,255,0.08);
}

.navbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:20px 0;
}

.logo{
  font-size:2rem;
  font-weight:700;
  background:linear-gradient(45deg,#7f5cff,#00d4ff);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

.menu ul{
  display:flex;
  list-style:none;
  gap:30px;
}

.menu a{
  color:#d6d6e2;
  transition:.3s;
}

.menu a:hover{
  color:#00d4ff;
}

/* =========================
   HERO SECTION
========================= */

.hero{
  position:relative;
  overflow:hidden;
  padding:180px 0 120px;
  background:
  radial-gradient(circle at top left,#7f5cff22,transparent 30%),
  radial-gradient(circle at bottom right,#00d4ff22,transparent 30%),
  linear-gradient(135deg,#050816,#101935);
}

.hero-overlay{
  position:absolute;
  inset:0;
  background:url('https://www.transparenttextures.com/patterns/cubes.png');
  opacity:.05;
}

.hero-wrapper{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:70px;
  align-items:center;
}

.hero-content h1{
  font-size:4.5rem;
  line-height:1.1;
  margin:25px 0;
}

.hero-content h1 span{
  background:linear-gradient(45deg,#7f5cff,#00d4ff);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

.hero-content p{
  color:#b8b8c8;
  font-size:1.1rem;
  max-width:600px;
}

.hero-badge{
  display:inline-block;
  padding:10px 22px;
  border-radius:50px;
  background:rgba(255,255,255,0.05);
  border:1px solid rgba(255,255,255,0.08);
  backdrop-filter:blur(10px);
}

.hero-buttons{
  display:flex;
  gap:20px;
  margin-top:40px;
}

.primary-btn,
.secondary-btn{
  padding:16px 35px;
  border-radius:14px;
  font-weight:700;
  transition:.4s;
}

.primary-btn{
  background:#00d4ff;
  color:#000;
}

.primary-btn:hover{
  transform:translateY(-5px);
}

.secondary-btn{
  background:rgba(255,255,255,0.05);
  border:1px solid rgba(255,255,255,0.1);
}

.secondary-btn:hover{
  background:#fff;
  color:#000;
}

.hero-stats{
  display:flex;
  gap:25px;
  margin-top:50px;
  flex-wrap:wrap;
}

.stat-box{
  padding:25px;
  min-width:170px;
  border-radius:22px;
  background:rgba(255,255,255,0.05);
  border:1px solid rgba(255,255,255,0.08);
  backdrop-filter:blur(20px);
}

.stat-box h2{
  font-size:2rem;
  margin-bottom:10px;
}

.stat-box p{
  color:#b8b8c8;
}

.hero-image img{
  border-radius:30px;
  box-shadow:0 25px 80px rgba(0,0,0,0.5);
  animation:float 5s ease-in-out infinite;
}

@keyframes float{
  0%{
    transform:translateY(0);
  }
  50%{
    transform:translateY(-15px);
  }
  100%{
    transform:translateY(0);
  }
}

/* =========================
   PREMIUM SECTIONS
========================= */

.premium-section{
  padding:100px 0;
}

.section-heading{
  text-align:center;
  margin-bottom:60px;
}

.section-heading h2{
  font-size:3rem;
  margin-bottom:20px;
}

.section-heading p{
  color:#b8b8c8;
  max-width:700px;
  margin:auto;
}

/* =========================
   BLOG GRID
========================= */

.blog-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
  gap:35px;
}

.blog-card{
  background:#121933;
  border-radius:28px;
  overflow:hidden;
  transition:.4s;
  border:1px solid rgba(255,255,255,0.08);
  box-shadow:0 15px 50px rgba(0,0,0,0.35);
}

.blog-card:hover{
  transform:translateY(-12px);
}

.blog-card img{
  width:100%;
  height:240px;
  object-fit:cover;
}

.blog-content{
  padding:28px;
}

.blog-content h2{
  margin-bottom:18px;
  font-size:1.5rem;
}

.blog-content p{
  color:#b8b8c8;
}

.read-more{
  display:inline-block;
  margin-top:20px;
  color:#00d4ff;
  font-weight:600;
}

/* =========================
   NEWSLETTER
========================= */

.newsletter-section{
  padding-bottom:100px;
}

.newsletter-box{
  background:#121933;
  padding:70px;
  border-radius:35px;
  text-align:center;
  border:1px solid rgba(255,255,255,0.08);
}

.newsletter-box h2{
  font-size:3rem;
  margin-bottom:20px;
}

.newsletter-box p{
  color:#b8b8c8;
  margin-bottom:35px;
}

.newsletter-form{
  display:flex;
  justify-content:center;
  gap:15px;
  flex-wrap:wrap;
}

.newsletter-form input{
  padding:18px;
  width:320px;
  border:none;
  border-radius:14px;
  background:#050816;
  color:#fff;
}

.newsletter-form button{
  padding:18px 35px;
  border:none;
  border-radius:14px;
  background:#00d4ff;
  color:#000;
  font-weight:700;
  cursor:pointer;
  transition:.3s;
}

.newsletter-form button:hover{
  transform:translateY(-4px);
}

/* =========================
   FOOTER
========================= */

.site-footer{
  background:#0a1026;
  padding-top:80px;
  border-top:1px solid rgba(255,255,255,0.08);
}

.footer-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:40px;
  padding-bottom:50px;
}

.footer-logo{
  font-size:2rem;
  margin-bottom:20px;
  background:linear-gradient(45deg,#7f5cff,#00d4ff);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

.footer-links{
  list-style:none;
  margin-top:20px;
}

.footer-links li{
  margin-bottom:12px;
}

.footer-links a{
  color:#b8b8c8;
  transition:.3s;
}

.footer-links a:hover{
  color:#00d4ff;
}

.footer-form{
  display:flex;
  flex-direction:column;
  gap:15px;
  margin-top:20px;
}

.footer-form input{
  padding:15px;
  border:none;
  border-radius:10px;
  background:#121933;
  color:#fff;
}

.footer-form button{
  padding:15px;
  border:none;
  border-radius:10px;
  background:#00d4ff;
  color:#000;
  font-weight:700;
  cursor:pointer;
}

.footer-bottom{
  text-align:center;
  padding:25px 0;
  border-top:1px solid rgba(255,255,255,0.08);
  color:#b8b8c8;
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:991px){

  .hero-wrapper{
    grid-template-columns:1fr;
  }

  .hero-content h1{
    font-size:3rem;
  }

}

@media(max-width:768px){

  .menu ul{
    flex-direction:column;
    gap:15px;
  }

  .hero{
    padding-top:150px;
  }

  .section-heading h2,
  .newsletter-box h2{
    font-size:2.2rem;
  }

}