/* ============================================================
   ASP Community Connects — Brand Stylesheet
   ============================================================ */

/* ---------- Filter tabs ---------- */
.filter-btn {
    padding: 0.4375rem 1.125rem;
    border-radius: 40px;
    font-size: 0.875rem;
    font-weight: 600;
    border: 1.5px solid #e8e8e8;
    background: #ffffff;
    color: #717171;
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: 'DM Sans', sans-serif;
    white-space: nowrap;
}
.filter-btn:hover { border-color: #32BCAD; color: #32BCAD; }
.filter-btn.active { background: #1b1b1b; border-color: #1b1b1b; color: #ffffff; }

/* ---------- Type badges ---------- */
.badge {
    display: inline-block;
    padding: 0.2rem 0.6875rem;
    border-radius: 40px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    white-space: nowrap;
}
.badge-green   { background: #e6f4ec; color: #007236; }
.badge-blue    { background: #e8f4fb; color: #33A3DC; }
.badge-teal    { background: #e8f9f7; color: #32BCAD; }
.badge-orange  { background: #fef3eb; color: #F58220; }
.badge-dark    { background: #f0f0f0; color: #1b1b1b; }
.badge-pink    { background: #fce8f3; color: #D83D96; }

/* ---------- Module tiles ---------- */
.module-tile {
    display: flex;
    flex-direction: column;
    border: 1.5px solid #e8e8e8;
    border-radius: 16px;
    padding: 1.75rem;
    background: #ffffff;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.module-tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
    border-color: #32BCAD;
}

/* ---------- Community card ---------- */
.community-card {
    background: #ffffff;
    border: 1.5px solid #e8e8e8;
    border-radius: 14px;
    padding: 1.375rem 1.5rem;
    transition: box-shadow 0.2s ease;
}
.community-card:hover {
    box-shadow: 0 8px 28px rgba(0,0,0,0.07);
}

/* ---------- Partner logo strip ---------- */
.partner-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: 1.5px solid #e8e8e8;
    border-radius: 40px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #1b1b1b;
    background: #ffffff;
    white-space: nowrap;
}

/* ---------- Buttons ---------- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #1b1b1b;
    color: #ffffff;
    padding: 0.8125rem 1.875rem;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.9375rem;
    letter-spacing: 0.01em;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.15s ease;
    border: 2px solid #1b1b1b;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    white-space: nowrap;
}
.btn-primary:hover {
    background-color: #32BCAD;
    border-color: #32BCAD;
    transform: translateY(-1px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    color: #1b1b1b;
    padding: 0.8125rem 1.875rem;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.9375rem;
    letter-spacing: 0.01em;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 2px solid #1b1b1b;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    white-space: nowrap;
}
.btn-secondary:hover {
    background-color: #1b1b1b;
    color: #ffffff;
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    color: #ffffff;
    padding: 0.8125rem 1.875rem;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.9375rem;
    letter-spacing: 0.01em;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 2px solid #ffffff;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    white-space: nowrap;
}
.btn-ghost:hover {
    background-color: #ffffff;
    color: #1b1b1b;
}

.btn-accent {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #32BCAD;
    color: #ffffff;
    padding: 0.8125rem 1.875rem;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.9375rem;
    letter-spacing: 0.01em;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 2px solid #32BCAD;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    white-space: nowrap;
}
.btn-accent:hover {
    background-color: #50d1c3;
    border-color: #50d1c3;
    transform: translateY(-1px);
}

/* ---------- Section spacing ---------- */
.section-padding {
    padding-top: 5rem;
    padding-bottom: 5rem;
}
@media (max-width: 768px) {
    .section-padding {
        padding-top: 3.5rem;
        padding-bottom: 3.5rem;
    }
}

/* ---------- Section label (eyebrow) ---------- */
.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #32BCAD;
    margin-bottom: 0.875rem;
}

/* ---------- Cards ---------- */
.card {
    background: #ffffff;
    border: 1.5px solid #e8e8e8;
    border-radius: 16px;
    padding: 2rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.08);
}

/* ---------- Focus area cards ---------- */
.focus-card {
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.focus-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 64px rgba(0,0,0,0.15);
}

/* ---------- Check / Cross lists ---------- */
.check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.check-list li {
    padding: 0.375rem 0 0.375rem 1.875rem;
    position: relative;
    color: #1b1b1b;
    line-height: 1.6;
}
.check-list li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: #32BCAD;
    font-weight: 700;
    font-size: 1.1rem;
}

.cross-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.cross-list li {
    padding: 0.375rem 0 0.375rem 1.875rem;
    position: relative;
    color: #717171;
    line-height: 1.6;
}
.cross-list li::before {
    content: "\2717";
    position: absolute;
    left: 0;
    color: #9b9b9b;
}

/* ---------- Star rating ---------- */
.star-rating {
    color: #f5a623;
    letter-spacing: 0.05em;
    font-size: 1rem;
}

/* ---------- Form inputs ---------- */
.form-input {
    width: 100%;
    padding: 0.875rem 1.25rem;
    border: 1.5px solid #e8e8e8;
    border-radius: 10px;
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    color: #1b1b1b;
    background: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}
.form-input:focus {
    border-color: #32BCAD;
    box-shadow: 0 0 0 3px rgba(50, 188, 173, 0.15);
}
.form-input::placeholder {
    color: #9b9b9b;
}

/* ---------- FAQ (native details/summary) ---------- */
.faq-item {
    border: 1.5px solid #e8e8e8;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
}
.faq-item + .faq-item {
    margin-top: 0.75rem;
}
.faq-item summary {
    padding: 1.375rem 1.5rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #1b1b1b;
    font-family: 'Plus Jakarta Sans', sans-serif;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "\25BE";
    font-size: 1.25rem;
    color: #32BCAD;
    transition: transform 0.25s ease;
    flex-shrink: 0;
    margin-left: 1.25rem;
}
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-item p {
    padding: 0 1.5rem 1.375rem;
    margin: 0;
    color: #717171;
    line-height: 1.75;
    font-size: 0.9375rem;
}

/* ---------- Spectrum bar ---------- */
.spectrum-bar {
    display: flex;
    width: 100%;
}
.spectrum-bar span { flex: 1; }

/* ---------- Stats ---------- */
.stat-number {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: #1b1b1b;
    line-height: 1;
    letter-spacing: -0.02em;
}
.stat-label {
    font-size: 0.875rem;
    color: #717171;
    margin-top: 0.375rem;
    font-weight: 500;
}
@media (max-width: 640px) {
    .stat-number { font-size: 2.25rem; }
}

/* ---------- Tag / Pill ---------- */
.tag {
    display: inline-block;
    background: #e8f9f7;
    color: #32BCAD;
    padding: 0.25rem 0.875rem;
    border-radius: 40px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}
.tag-dark {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    color: #ffffff;
    padding: 0.25rem 0.875rem;
    border-radius: 40px;
    font-size: 0.8125rem;
    font-weight: 600;
}

/* ---------- Navigation ---------- */
.nav-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: #1b1b1b;
    text-decoration: none;
    transition: color 0.2s ease;
    padding: 0.25rem 0;
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: #32BCAD;
    transform: scaleX(0);
    transition: transform 0.2s ease;
    border-radius: 1px;
}
.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }
.nav-link:hover { color: #32BCAD; }

/* ---------- Process / Timeline steps ---------- */
.process-step {
    position: relative;
    padding-left: 4rem;
}
.process-step-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 2.5rem;
    height: 2.5rem;
    background: #32BCAD;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.875rem;
    flex-shrink: 0;
}

/* ---------- Mobile menu overlay ---------- */
#mobile-menu {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Hover arrow link ---------- */
.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    color: #32BCAD;
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: gap 0.2s ease;
}
.link-arrow:hover { gap: 0.625rem; }
