/* =============================
  File: style.css
  Global stylesheet for AI Influencer Profit Blueprint site
  Author: [Your Name]
  Last updated: [Insert Date]
============================= */

/* Root colour palette */
:root {
  --primary: #6366f1;       /* indigo-500 */
  --primary-dark: #4f46e5;  /* indigo-600 */
  --gray: #6b7280;          /* neutral-500 */
  --bg: #f9fafb;            /* neutral-50 */
}

/* Universal reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: var(--bg);
  color: #111;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--primary-dark);
}

/* Hero section */
header {
  background: url('how-to-make-money-using-ai-influencer.png') center/cover no-repeat;
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}
header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  padding: 1rem;
}
.hero-title {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  font-weight: 700;
}
.hero-sub {
  font-size: clamp(1rem, 2.2vw, 1.4rem);
  margin: 1rem 0 2rem;
  color: #e5e7eb;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  border-radius: 50px;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  transition: 0.25s all ease;
}
.btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.35);
}

/* Section wrapper */
section {
  padding: 4rem 1.2rem;
  max-width: 1040px;
  margin-inline: auto;
}

/* Features grid */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  text-align: center;
}
.features i {
  font-size: 2rem;
  margin-bottom: 0.6rem;
  color: var(--primary);
}
.features h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.gray {
  color: var(--gray);
}

/* Preview section */
.preview {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  align-items: center;
}
.preview img {
  width: 320px;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.preview ul {
  list-style: disc;
  margin-left: 1.2rem;
}
.preview li {
  margin-bottom: 0.7rem;
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.testimonial {
  background: #fff;
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}
.testimonial p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
  color: var(--gray);
}

/* Pricing card */
.pricing {
  background: #fff;
  padding: 3rem 1.5rem;
  border-radius: 18px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.09);
  text-align: center;
}
.price {
  font-size: 3rem;
  font-weight: 700;
  margin: 1rem 0;
  color: var(--primary);
}

/* Footer */
footer {
  background: #111;
  color: #d1d5db;
  padding: 2rem 1.5rem;
  text-align: center;
  font-size: 0.9rem;
}
footer a {
  color: #d1d5db;
}
footer a:hover {
  color: #fff;
}

/* Legal page layout tweaks */
.legal-body {
  padding: 3.5rem 1.2rem 2rem;
  max-width: 960px;
  margin: auto;
}
.legal-body h1 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  text-align: center;
  color: var(--primary-dark);
}
.legal-body h2 {
  font-size: 1.35rem;
  font-weight: 600;
  margin-top: 2.2rem;
  margin-bottom: 0.8rem;
  color: var(--primary);
}
.legal-body p,
.legal-body li {
  font-size: 0.97rem;
  color: #333;
  margin-bottom: 0.9rem;
}
.legal-body ul {
  margin-left: 1.2rem;
}
