/* public/community-innovation.css */
:root {
  --ci-brand: #2b7a78;
  --ci-brand2: #1f5e5c;
  --ci-ink: #1f2937;
  --ci-muted: #6b7280;
  --ci-bg: #f7f9fb;
  --ci-card: #ffffff;
  --ci-border: #e5e7eb;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family:
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial,
    sans-serif;
  background: var(--ci-bg);
  color: var(--ci-ink);
  line-height: 1.7;
}
a {
  color: inherit;
}
.ci-container {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 22px;
}
.ci-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 26px;
  background: #fff;
  border-bottom: 2px solid var(--ci-brand);
}
.ci-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  text-decoration: none;
}
.ci-brand img {
  height: 28px;
}
.ci-brand em {
  color: var(--ci-brand);
  font-style: normal;
}
.ci-back {
  text-decoration: none;
  font-size: 0.85rem;
  color: var(--ci-muted);
}

.ci-hero {
  padding: 70px 0 56px;
  background: #fff;
  border-bottom: 1px solid var(--ci-border);
  text-align: center;
}
.ci-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
  margin-bottom: 10px;
}
.ci-hero h1 span {
  color: var(--ci-brand);
}
.ci-hero p {
  color: var(--ci-muted);
  max-width: 640px;
  margin: 0 auto 6px;
}
.ci-hero-sub {
  font-size: 0.95rem;
  margin-top: 14px !important;
}
.ci-hero-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 26px;
  flex-wrap: wrap;
}

.ci-btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.92rem;
  cursor: pointer;
  border: none;
}
.ci-btn-primary {
  background: var(--ci-brand);
  color: #fff;
}
.ci-btn-primary:hover {
  background: var(--ci-brand2);
}
.ci-btn-secondary {
  background: #fff;
  color: var(--ci-brand);
  border: 2px solid var(--ci-brand);
}

.ci-section {
  padding: 48px 0;
}
.ci-section-alt {
  background: #fff;
  border-top: 1px solid var(--ci-border);
  border-bottom: 1px solid var(--ci-border);
}
.ci-section h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 16px;
}
.ci-section h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--ci-brand);
}
.ci-section p {
  margin-bottom: 12px;
  color: var(--ci-ink);
}
.ci-emphasis {
  font-weight: 700;
  color: var(--ci-brand);
}

.ci-list {
  list-style: none;
  padding: 0;
}
.ci-list li {
  padding: 6px 0 6px 26px;
  position: relative;
}
.ci-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--ci-brand);
  font-weight: 700;
}

.ci-categories {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
}
.ci-category {
  padding: 14px 12px;
  border-radius: 12px;
  border: 1px solid var(--ci-border);
  background: #fff;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.18s;
  text-align: center;
}
.ci-category i {
  display: block;
  font-size: 1.3rem;
  margin-bottom: 6px;
  color: var(--ci-brand);
}
.ci-category:hover {
  border-color: var(--ci-brand);
}
.ci-category.selected {
  background: var(--ci-brand);
  color: #fff;
}
.ci-category.selected i {
  color: #fff;
}

.ci-steps {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.ci-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.ci-step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ci-brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
}
.ci-step strong {
  display: block;
  margin-bottom: 2px;
}
.ci-step p {
  color: var(--ci-muted);
  margin: 0;
  font-size: 0.9rem;
}

.ci-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 16px 0;
}
.ci-badges span {
  background: rgba(43, 122, 120, 0.1);
  color: var(--ci-brand);
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 0.85rem;
  font-weight: 600;
}

.ci-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ci-tags span {
  background: var(--ci-bg);
  border: 1px solid var(--ci-border);
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 0.85rem;
}

.ci-benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}

.ci-faq details {
  border-bottom: 1px solid var(--ci-border);
  padding: 12px 0;
}
.ci-faq summary {
  cursor: pointer;
  font-weight: 700;
}
.ci-faq p {
  margin-top: 8px;
  color: var(--ci-muted);
}

.ci-form {
  background: #fff;
  border: 1px solid var(--ci-border);
  border-radius: 14px;
  padding: 26px;
}
.ci-field {
  margin-bottom: 14px;
}
.ci-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 5px;
}
.ci-field input,
.ci-field select,
.ci-field textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--ci-border);
  font-family: inherit;
  font-size: 0.9rem;
  box-sizing: border-box;
}
.ci-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.ci-footer {
  text-align: center;
  padding: 40px 20px;
  color: var(--ci-muted);
  font-size: 0.85rem;
  background: #fff;
  border-top: 1px solid var(--ci-border);
}

@media (max-width: 640px) {
  .ci-field-row,
  .ci-benefits-grid {
    grid-template-columns: 1fr;
  }
}
/* community-innovation.css */
.ci-nav {
  position: sticky;
  top: 0;
  z-index: 500;
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.92);
}
.ci-back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--ci-brand);
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(43, 122, 120, 0.4);
  z-index: 400;
  border: none;
  font-size: 1.1rem;
}
