body::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: url('your-curl-pattern.png') center/cover no-repeat;
  opacity: 0.05; /* subtle effect */
  pointer-events: none;
  z-index: 0;
}
.product-box:hover {
  box-shadow: 0px 6px 60px rgba(0,0,0,0.07);
}



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

    body {
      font-family: "roboto", sans-serif;
      background: linear-gradient(180deg, #faf7f3 0%, #f5f2ed 100%);
      color: #2e2d2a;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: flex-start;
      min-height: 100vh;
      text-align: center;
      padding: 0 1rem;
    }

    /* -------------------------
       Navbar
    --------------------------*/
    nav {
      width: 100%;
      background: linear-gradient(to right, #323230, #1f2423); /* Dark navbar */
      font-family: "Montserrat", sans-serif;
      padding: 0.75rem 1.5rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      position: fixed;
      top: 0;
      left: 0;
      z-index: 1000;
    }
    
  


    nav .nav-logo {
      color: #fff;
      font-size: 1.4rem;
      font-weight: 600;
      text-decoration: none;
    }

    nav .nav-links {
      display: flex;
      gap: 1.5rem;
    }

    nav .nav-links a {
      color: #fff;
      text-decoration: none;
      font-size: 1rem;
      transition: color 0.3s ease;
    }

    nav .nav-links a:hover {
      color: #f0c987; /* subtle accent color */
    }

    /* -------------------------
       Page Content
    --------------------------*/
    .content {
      margin-top: 100px; /* offset for fixed navbar */
      display: flex;
      flex-direction: column;
      align-items: center;
      width: 100%;
    }

    .logo {
      max-width: 220px;
      margin-bottom: 1.5rem;
    }

    h1 {
      font-size: 2.6rem;
      font-weight: 500;
      letter-spacing: -0.02em;
      margin-bottom: 0.75rem;
    }

    p.subtitle {
      font-size: 1.2rem;
      color: #555;
      max-width: 520px;
      line-height: 1.5;
      margin: 0 auto 2.5rem;
    }

    /* -------------------------
       Upload Section
    --------------------------*/
    .upload-box {
      background: #fff;
      border: 1px solid #e5e3df;
      border-radius: 18px;
      padding: 3rem 2rem;
      max-width: 420px;
      width: 100%;
      box-shadow: 0 6px 18px rgba(0,0,0,0.04);
      transition: box-shadow 0.3s ease;
    }

    .upload-box:hover {
      box-shadow: 0 20px 26px rgba(0,0,0,0.07);
    }

    input[type="file"] {
      display: block;
      margin: 0 auto 1.5rem;
      font-size: 0.95rem;
      color: #3b3a36;

    }

    button {
      background-color: #2e2d2a;
      color: #fff;
      border: none;
      border-radius: 24px;
      padding: 0.75rem 2.5rem;
      font-size: 1rem;
      letter-spacing: 0.02em;
      cursor: pointer;
      transition: background-color 0.3s ease, transform 0.2s ease;
    }

    button:hover {
      background-color: #403f3b;
      transform: translateY(-1px);
    }

    /* -------------------------
       Footer
    --------------------------*/
    footer {
      margin-top: 3rem;
      font-size: 0.85rem;
      color: #8a8680;
    }

    @media (max-width: 600px) {
      h1 { font-size: 2rem; }
      p.subtitle { font-size: 1.05rem; }
      .upload-box { padding: 2.5rem 1.5rem; }
      nav .nav-links { gap: 1rem; font-size: 0.9rem; }
    }


/* -------------------------
   Articles Page
--------------------------*/
.articles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 1rem 0;
  width: 100%;
  max-width: 1200px;
}

.article-card {
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  text-align: left;
  box-shadow: 0 6px 18px rgba(0,0,0,0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}

.article-card h2 {
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
  color: #2e2d2a;
}

.article-card p {
  color: #555;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.article-card .btn {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background-color: #2e2d2a;
  color: #fff;
  border-radius: 24px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.article-card .btn:hover {
  background-color: #403f3b;
  transform: translateY(-1px);
}
.article-card img {
  width: 100%;        /* Make image fit the card width */
  height: auto;       /* Maintain aspect ratio */
  border-radius: 12px;
  margin-top: 1rem;
  display: block;
  object-fit: cover;  /* Ensures clean scaling */
}

.article-ai-cta {
  background: #fff;
  border: 1px solid #eee;
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
  margin: 2rem auto 1.5rem auto;
  max-width: 850px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
}

.article-ai-cta h2 {
  font-size: 1.7rem;
  margin-bottom: 0.5rem;
}

.article-ai-cta p {
  font-size: 1.15rem;
  color: #555;
  margin-bottom: 1.2rem;
}

.cta-btn {
  background: #6466f1;
  color: white;
  padding: 0.9rem 1.7rem;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: 0.2s;
}

.cta-btn:hover {
  background: #4f4ddf;
}

/* ----------------------------------------
   Article Page — Single Clean Reading Box
-----------------------------------------*/
.article-box {
  max-width: 850px;
  margin: 2.5rem auto;
  padding: 2.5rem;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.06);
  text-align: left;
  line-height: 1.75;
  position: relative;
  z-index: 5;
}

.article-box h1 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
  text-align: left;
}

.article-box h2 {
  margin-top: 2rem;
  margin-bottom: 0.7rem;
  font-size: 1.7rem;
  font-weight: 600;
}

.article-box p {
  margin-bottom: 1.2rem;
  font-size: 1.08rem;
  color: #444;
}

/* CTA inside article */
.article-cta-box {
  background: #f9f7ff;
  border-left: 6px solid #7c3aed;
  padding: 1.7rem 2rem;
  border-radius: 14px;
  margin: 2.5rem 0;
  box-shadow: 0px 3px 12px rgba(0,0,0,0.04);
}

.article-cta-box h2 {
  margin-bottom: 0.4rem;
}

.article-cta-box p {
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.article-cta-box .cta-btn {
  margin-top: 0.5rem;
}

/* Make article look good on mobile */
@media (max-width: 600px) {
  .article-box {
    padding: 1.5rem;
    margin: 1.5rem 0.5rem;
  }
  .article-box h1 {
    font-size: 2rem;
  }
  .article-box h2 {
    font-size: 1.4rem;
  }
  .article-box p {
    font-size: 1rem;
  }
}

.text-box {
  background-color: #ffffff; /* white background */
  padding: 40px; /* space inside the box */
  margin: 40px auto; /* space around the box and center it */
  max-width: 900px; /* keeps it from being too wide on big screens */
  border-radius: 12px; /* rounded corners */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* subtle shadow */
}



/* -------------------------
   Responsive Adjustments
--------------------------*/
@media (max-width: 768px) {
  .articles {
    grid-template-columns: 1fr;
  }

  .article-card {
    padding: 1.25rem;
  }
}



