/* ==== Global & Reset ==== */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #222;
  background-color: #f9f9f9;
  line-height: 1.75;
}

.container {
  width: 92%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 30px 0;
}

p {
  max-width: 900px;
  margin: 0 auto 1.2em;
  font-size: 1rem;
}

/* ==== Header ==== */
.site-header {
  position: sticky;
  top: 0;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.08);
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.6em;
  font-weight: bold;
  color: #007bff;
  text-decoration: none;
}

.highlight {
  color: #ff5722;
}

/* ==== Navigation ==== */
.nav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1em;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ==== Hero ==== */
.hero {
  position: relative;
  color: #fff;
  padding: 90px 0;
  text-align: center;
}

.hero .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 2.3em;
  margin-bottom: 0.6em;
  font-weight: 700;
}

.hero p {
  font-size: 1.05em;
  max-width: 850px;
  margin: 0 auto 1.5em;
  opacity: 0.95;
}

/* ==== Buttons ==== */
.btn {
  background-color: #28a745;
  color: white;
  padding: 10px 22px;
  text-decoration: none;
  border-radius: 25px;
  margin: 6px;
  display: inline-block;
  font-size: 0.95rem;
}

.btn:hover {
  background-color: #218838;
}

.btn-secondary {
  background-color: #ffc107;
  color: #000;
}

.btn-tertiary {
  background-color: #6f42c1;
  color: white;
}

/* ==== Sections ==== */
section {
  background: #fff;
}

.how-it-works,
.features,
.categories,
.latest-blog {
  padding: 70px 0;
}

h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 1.8em;
}

h3 {
  margin-top: 0;
  font-size: 1.2em;
}

/* ==== Grid & Cards ==== */
.grid {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
}

.card {
  flex: 1 1 30%;
  background: #fff;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  border-radius: 8px;
  transition: transform .25s;
}

.card:hover {
  transform: translateY(-4px);
}

/* ==== Testimonials ==== */
.testimonials {
  background: #f3f3f3;
  padding: 70px 0;
}

.testimonials blockquote {
  font-style: italic;
  font-size: 0.95em;
  margin-bottom: 1em;
}

/* ==== FAQ ==== */
.faq {
  padding: 70px 0;
}

.faq .qa h4 {
  margin-top: 20px;
  font-weight: 600;
}

/* ==== Blog List ==== */
.blog-list {
  max-width: 700px;
  margin: 0 auto;
}

.blog-list li {
  margin: 12px 0;
}

/* ==== Sticky Offer (Softened) ==== */
.sticky-offer {
  position: fixed;
  bottom: 15px;
  right: 20px;
  background: #ff5722;
  color: white;
  padding: 12px 20px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 0.9rem;
  z-index: 999;
  opacity: 0.85;
}

@media (min-width: 1024px) {
  .sticky-offer {
    display: none;
  }
}

/* ==== Footer ==== */
.site-footer {
  background: #222;
  color: #ccc;
  text-align: center;
  padding: 30px 0;
}

.footer-links a {
  color: #ccc;
  margin: 0 10px;
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
}

/* ==== Responsive ==== */
@media (min-width: 768px) {
  .nav-grid {
    grid-template-columns: repeat(5, auto);
  }
}
