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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: #24292f;
  line-height: 1.6;
  background: #fff;
}

a { color: #0969da; text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, #24292f 0%, #0d1117 60%, #161b22 100%);
  color: white;
  padding: 80px 24px 100px;
  text-align: center;
}

.hero-inner {
  max-width: 720px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  opacity: 0.9;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 1.1rem;
  opacity: 0.8;
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.btn-primary {
  display: inline-block;
  background: #2da44e;
  color: white;
  padding: 14px 32px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.15s;
}
.btn-primary:hover {
  background: #2c974b;
  text-decoration: none;
}

/* ===== Sections ===== */
.section { padding: 72px 0; }
.alt-bg { background: #f6f8fa; }

.section h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 36px;
  text-align: center;
}

/* ===== About Cards ===== */
.about p {
  text-align: center;
  font-size: 1.05rem;
  color: #57606a;
  max-width: 720px;
  margin: 0 auto 48px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.card {
  background: white;
  border: 1px solid #d0d7de;
  border-radius: 8px;
  padding: 28px 24px;
  transition: box-shadow 0.15s;
}
.card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); }

.card-icon { font-size: 2rem; margin-bottom: 12px; }

.card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #24292f;
}

.card p { font-size: 0.9rem; color: #57606a; }

/* ===== Feature List ===== */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.feature-item {
  display: flex;
  gap: 20px;
  background: white;
  border: 1px solid #d0d7de;
  border-radius: 8px;
  padding: 24px;
}

.feature-icon { font-size: 1.75rem; flex-shrink: 0; }

.feature-body h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.feature-body p { font-size: 0.9rem; color: #57606a; }

/* ===== Steps ===== */
.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  left: 23px;
  top: 24px;
  bottom: 24px;
  width: 2px;
  background: #d0d7de;
}

.step {
  display: flex;
  gap: 20px;
  padding: 0 0 36px;
  position: relative;
}

.step:last-child { padding-bottom: 0; }

.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #0969da;
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.step-body h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
  margin-top: 12px;
}

.step-body p { font-size: 0.9rem; color: #57606a; }

/* ===== FAQ ===== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border: 1px solid #d0d7de;
  border-radius: 8px;
  overflow: hidden;
}

.faq-item summary {
  padding: 16px 20px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.faq-item summary::before {
  content: '▶';
  font-size: 0.7rem;
  color: #57606a;
  transition: transform 0.2s;
  flex-shrink: 0;
}

.faq-item[open] summary::before { transform: rotate(90deg); }

.faq-item p {
  padding: 0 20px 16px;
  font-size: 0.9rem;
  color: #57606a;
  border-top: 1px solid #f0f0f0;
  padding-top: 12px;
}

/* ===== Footer ===== */
.footer {
  background: #0d1117;
  color: #8b949e;
  padding: 56px 24px 0;
  font-size: 0.875rem;
  border-top: 1px solid #30363d;
}

.footer-nav {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid #30363d;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 600;
  color: white;
  margin-bottom: 14px;
}

.footer-tagline {
  font-size: 0.85rem;
  line-height: 1.7;
  color: #8b949e;
}

.footer-col h4 {
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  color: #8b949e;
  font-size: 0.875rem;
  transition: color 0.15s;
}

.footer-col ul li a:hover { color: white; text-decoration: none; }

.footer-bottom {
  padding: 24px 0 32px;
  text-align: center;
}

.footer-copyright {
  color: #6e7681;
  font-size: 0.8rem;
  line-height: 1.8;
  margin-bottom: 10px;
}

.footer-note {
  color: #484f58;
  font-size: 0.75rem;
}

.footer a { color: #8b949e; }
.footer a:hover { color: white; }

@media (max-width: 700px) {
  .footer-nav {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .footer-col:first-child {
    grid-column: 1 / -1;
  }
}

/* ===== Responsive ===== */
@media (max-width: 600px) {
  .hero { padding: 60px 16px 80px; }
  .section { padding: 48px 0; }
  .cards { grid-template-columns: 1fr; }
  .feature-item { flex-direction: column; gap: 12px; }
  .steps::before { display: none; }
}
