/* =========================
   BASE STYLES
   ========================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Inter, Arial, sans-serif;
}

body {
  color: #0f172a;
  background: #ffffff;
  line-height: 1.6;
}

/* CONTAINER */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

/* HEADER */
.header {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo {
  font-size: 22px;
  font-weight: 700;
  color: #2563eb;
}

.nav a {
  margin-left: 20px;
  text-decoration: none;
  color: #334155;
  font-weight: 500;
}

.cta-btn {
  background: #2563eb;
  color: #fff !important;
  padding: 10px 16px;
  border-radius: 6px;
  text-decoration: none;
}

.cta-btn.full {
  display: block;
  text-align: center;
  margin-top: 15px;
}

/* HERO */
.hero {
  background: #f8fafc;
  padding: 50px 0;
}

.updated {
  font-size: 14px;
  color: #64748b;
}

.hero h1 {
  font-size: 24px;
  margin: 10px 0 20px;
}

.author-box {
  display: flex;
  align-items: center;
  gap: 15px;
}

.author-box img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

/* CONTENT */
.content {
  display: grid;
  grid-template-columns: 3fr 1.2fr;
  gap: 40px;
  margin-top: 40px;
}

.main p {
  margin-bottom: 20px;
}

.author-card {
  display: flex;
  gap: 15px;
  padding: 20px;
  background: #f1f5f9;
  border-radius: 10px;
}

.author-card img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
}

/* STICKY SIDEBAR */
.sidebar {
  position: relative;
}

.sticky-box {
  position: sticky;
  top: 100px;
  background: linear-gradient(180deg, #020617, #020617);
  color: #fff;
  padding: 25px;
  border-radius: 14px;
}

.sticky-box h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.sticky-box ul {
  margin: 15px 0;
  padding-left: 20px;
}

.sticky-box li {
  margin-bottom: 8px;
}

/* STATS */
.stats {
  background: #020617;
  color: #fff;
  text-align: center;
  padding: 60px 20px;
  margin-top: 60px;
}

.stats h2 span {
  color: #22c55e;
}

.stats .cta-btn {
  margin-top: 20px;
  display: inline-block;
}

/* FOOTER */
.footer {
  background: #020617;
  color: #cbd5f5;
  padding: 60px 20px 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.footer a {
  display: block;
  color: #cbd5f5;
  text-decoration: none;
  margin-bottom: 8px;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
  font-size: 14px;
}

/* PRE-OUTREACH SECTION */
.pre-outreach-section {
  background: #f5faff;
  border-radius: 16px;
  padding: 28px 32px;
  max-width: 720px;
  border: 1px solid #e6f0fb;
}

.pre-outreach-section h3 {
  font-size: 22px;
  font-weight: 700;
  color: #0f2a44;
  margin-bottom: 20px;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 18px;
  color: #0f2a44;
  margin-bottom: 16px;
  line-height: 1.5;
}

.checklist li:last-child {
  margin-bottom: 0;
}

.check-icon {
  width: 18px;
  height: 18px;
  background: linear-gradient(135deg, #2dd4bf, #22c55e);
  border-radius: 5px;
  margin-top: 4px;
  flex-shrink: 0;
}

/* =========================
   RESPONSIVE STYLES
   ========================= */

/* Tablets (≤ 1024px) */
@media (max-width: 1024px) {
  .header-flex {
    flex-direction: column;
    justify-content: center;
    height: auto;
    gap: 10px;
  }

  .nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  .content {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .sticky-box {
    position: relative;
    top: 0;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  

  .updated {
    font-size: 13px;
  }

  .author-box {
    gap: 10px;
  }

  .pre-outreach-section {
    padding: 24px;
  }

  .checklist li {
    font-size: 16px;
  }
}

/* Mobile (≤ 768px) */
@media (max-width: 768px) {
  .content {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  
  .updated {
    font-size: 12px;
  }

  .sidebar {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .sticky-box {
    padding: 20px;
  }

  .pre-outreach-section {
    padding: 20px;
  }

  .checklist li {
    font-size: 15px;
  }
}

/* Small phones (≤ 480px) */
@media (max-width: 480px) {
  body {
    padding: 10px;
  }

  .hero {
    padding: 30px 0;
  }

  

  .author-box {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .pre-outreach-section {
    padding: 16px;
  }

  .checklist li {
    font-size: 14px;
    gap: 10px;
  }

  .cta-btn {
    padding: 8px 12px;
    font-size: 14px;
  }

  .sticky-box {
    padding: 15px;
  }

  .stats h2 {
    font-size: 18px;
  }

  .footer {
    padding: 40px 15px 15px;
  }

  .footer-bottom {
    font-size: 13px;
  }
}


/* Base nav styling (already exists) */

/* Hamburger button hidden on desktop */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #2563eb; /* button color */
  border-radius: 3px;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav {
    display: none; /* hide by default on mobile */
    flex-direction: column;
    gap: 10px;
    width: 100%;
    background: #ffffff;
    padding: 10px 0;
    border-radius: 6px;
    position: absolute;
    top: 70px; /* below header */
    left: 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  }

  .nav.active {
    display: flex;
  }

  .header-flex {
    position: relative;
    flex-wrap: wrap;
    align-items: center;
  }

  .nav a {
    padding: 8px 20px;
  }

  .cta-btn {
    width: 100%;
    text-align: center;
    margin: 0;
  }
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.hamburger span {
  transition: all 0.3s ease;
}
