/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green: #1a9e5c;
  --green-light: #e6f7ef;
  --green-dark: #127a45;
  --ink: #111827;
  --ink-2: #374151;
  --ink-3: #6b7280;
  --border: #e5e7eb;
  --bg: #ffffff;
  --bg-alt: #f9fafb;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.07), 0 1px 2px rgba(0,0,0,0.04);
  --shadow: 0 4px 16px rgba(0,0,0,0.08), 0 1px 4px rgba(0,0,0,0.04);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
}

/* ─── Layout ─── */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: 5rem 0; }
.section-alt { background: var(--bg-alt); }

/* ─── Nav ─── */
.nav {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  padding: 0.9rem 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.3px;
}
.logo span { color: var(--green); }

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  transition: all 0.2s;
}
.nav-link:hover { border-color: var(--green); color: var(--green); }

/* ─── Hero ─── */
.hero {
  background: linear-gradient(160deg, #f0fdf6 0%, #ffffff 60%);
  padding: 6rem 0 5rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.badge {
  display: inline-block;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.3px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: var(--ink);
  margin-bottom: 1.25rem;
}

.highlight { color: var(--green); }

.hero-sub {
  font-size: 1.1rem;
  color: var(--ink-2);
  max-width: 560px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-trust {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--ink-3);
}

/* ─── Buttons ─── */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  font-family: inherit;
}

.btn-primary {
  background: var(--green);
  color: #fff;
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--ink-2);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover { border-color: var(--green); color: var(--green); }

.btn-large {
  font-size: 1.05rem;
  padding: 0.9rem 2rem;
}

/* ─── Section headers ─── */
.section-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.6rem;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.3px;
  line-height: 1.25;
  margin-bottom: 1rem;
  color: var(--ink);
}

.section-sub {
  color: var(--ink-2);
  font-size: 1rem;
  max-width: 600px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

#join .section-sub {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* ─── Guide Card ─── */
.guide-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  align-items: start;
}

@media (max-width: 680px) {
  .guide-card { grid-template-columns: 1fr; gap: 2rem; }
}

.guide-visual {
  display: flex;
  justify-content: center;
}

.pdf-icon {
  background: linear-gradient(135deg, #1a9e5c, #127a45);
  color: white;
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  width: 100%;
  max-width: 220px;
  box-shadow: var(--shadow);
}

.pdf-badge {
  background: rgba(255,255,255,0.2);
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 1.2rem;
}

.pdf-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 1rem;
}

.pdf-pages {
  font-size: 0.8rem;
  opacity: 0.8;
}

.guide-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--ink);
}

.checklist {
  list-style: none;
  margin-bottom: 1.75rem;
}

.checklist li {
  padding: 0.4rem 0;
  padding-left: 1.6rem;
  position: relative;
  color: var(--ink-2);
  font-size: 0.95rem;
  border-bottom: 1px solid var(--border);
}
.checklist li:last-child { border-bottom: none; }

.checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

.share-note {
  font-size: 0.85rem;
  color: var(--ink-3);
  margin-top: 0.9rem;
}

/* ─── Idea Grid ─── */
.idea-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.idea-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}
.idea-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.idea-icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.idea-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--ink);
}

.idea-card p {
  font-size: 0.9rem;
  color: var(--ink-2);
  line-height: 1.6;
}

.idea-summary {
  background: var(--green-light);
  border-left: 4px solid var(--green);
  border-radius: var(--radius-sm);
  padding: 1.5rem 1.75rem;
}

.idea-summary p {
  font-size: 1.05rem;
  color: var(--ink);
  font-style: italic;
  margin-bottom: 0.5rem;
}

.idea-attr {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green-dark);
}

/* ─── Upvote ─── */
.upvote-box {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow);
}

.upvote-count-wrap {
  margin-bottom: 1.75rem;
}

.upvote-count {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
}

.upvote-label {
  font-size: 0.875rem;
  color: var(--ink-3);
  margin-top: 0.25rem;
}

.email-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--ink);
  margin-bottom: 0.75rem;
  transition: border-color 0.2s;
  outline: none;
}
.email-input:focus { border-color: var(--green); }

.upvote-btn {
  width: 100%;
  font-size: 1rem;
  padding: 0.85rem;
}

.upvote-note {
  font-size: 0.8rem;
  color: var(--ink-3);
  margin-top: 0.75rem;
}

.hidden { display: none !important; }

.upvote-success {
  padding-top: 0.5rem;
}
.success-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}
.upvote-success h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.upvote-success p {
  font-size: 0.9rem;
  color: var(--ink-2);
  margin-bottom: 1.25rem;
}

/* ─── Join Steps ─── */
.join-inner {
  text-align: center;
}

/* GRID = equal width guaranteed */
.join-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 0 auto 2.5rem;
  max-width: 800px;
}

/* STEP CARD */
.step {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1rem;
  text-align: center;
  box-shadow: var(--shadow-sm);

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  min-height: 120px; /* height consistent */
  transition: all 0.2s ease;
}

/* HOVER EFFECT (premium feel) */
.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

/* NUMBER CIRCLE */
.step-num {
  width: 36px;
  height: 36px;
  background: var(--green);
  color: white;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.95rem;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 0.6rem;
}

/* TEXT */
.step p {
  font-size: 0.9rem;
  color: var(--ink-2);
  font-weight: 500;
  line-height: 1.4;
}

/* REMOVE ARROWS (not needed now) */
.step-arrow {
  display: none;
}

@media (max-width: 680px) {
  .join-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ─── About ─── */
.about-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 3.5rem;
  align-items: start;
}

@media (max-width: 680px) {
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
}

.about-avatar { text-align: center; }

.avatar-circle {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: white;
  border-radius: 50%;
  font-size: 2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  box-shadow: 0 4px 16px rgba(26,158,92,0.3);
}

.avatar-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
}

.avatar-title {
  font-size: 0.8rem;
  color: var(--ink-3);
  margin-top: 0.25rem;
  line-height: 1.5;
}

.about-content p {
  color: var(--ink-2);
  margin-bottom: 1rem;
  font-size: 0.97rem;
}

.about-content strong { color: var(--ink); }
.about-content em { font-style: italic; color: var(--green-dark); font-weight: 500; }

.skills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.skill-tag {
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
}

/* ─── Footer ─── */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: 2.5rem 0;
}

.footer-inner { text-align: center; }

.footer .logo {
  color: white;
  margin-bottom: 0.75rem;
  display: inline-block;
}

.footer p {
  font-size: 0.875rem;
  margin-bottom: 0.4rem;
}

.footer-small {
  font-size: 0.78rem;
  opacity: 0.5;
}

/* ─── Responsive ─── */
@media (max-width: 480px) {
  .hero { padding: 4rem 0 3.5rem; }
  .section { padding: 3.5rem 0; }
  .join-steps { gap: 0.5rem; }
  .step-arrow { display: none; }
  .step { min-width: 130px; }
}

.guide-image {
  width: 100%;
  max-width: 260px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.guide-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.guide-image img {
  border-radius: 8px;
  transform: perspective(800px) rotateY(-8deg);
}

.avatar-socials {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.avatar-socials a {
  font-size: 0.85rem;
  color: var(--ink-2);
  text-decoration: none;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  transition: all 0.2s;
  display: inline-block;
}

.avatar-socials a:hover {
  color: var(--green);
  background: var(--green-light);
}

@media (max-width: 480px) {
  .avatar-socials {
    display: flex;
    flex-direction: row;   /* ek line me */
    justify-content: center;
    flex-wrap: wrap;       /* overflow na ho */
    gap: 8px;
  }

  .avatar-socials a {
    display: inline-block;
    font-size: 0.75rem;
    padding: 4px 8px;
    border: 1px solid var(--border);
    border-radius: 999px;
  }

}@media (max-width: 480px) {
  .avatar-socials {
    display: flex;
    flex-direction: row;   /* ek line me */
    justify-content: center;
    flex-wrap: wrap;       /* overflow na ho */
    gap: 8px;
  }

  .avatar-socials a {
    display: inline-block;
    font-size: 0.75rem;
    padding: 4px 8px;
    border: 1px solid var(--border);
    border-radius: 999px;
  }
}