/* Homepage – dashboard styling + logo-inspired colors (PaxLes: green, gold, red) */
.home-page {
    --home-bg: #f0f2f5;
    --home-surface: #ffffff;
    --home-border: rgba(0, 0, 0, 0.08);
    --home-text: #1f2328;
    --home-text-muted: #656d76;
    --home-font: 'Saira', ui-sans-serif, system-ui, sans-serif;
    --home-radius: 12px;
    --home-radius-sm: 8px;
    --home-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    --home-shadow-lg: 0 4px 14px rgba(0, 0, 0, 0.08);
    /* Logo-inspired */
    --logo-green: #16a34a;
    --logo-green-light: rgba(22, 163, 74, 0.12);
    --logo-gold: #ca8a04;
    --logo-gold-light: rgba(202, 138, 4, 0.12);
    --logo-red: #dc2626;
    --logo-red-light: rgba(220, 38, 38, 0.1);
    --logo-teal: #0d9488;
    font-family: var(--home-font);
    background: var(--home-bg);
    color: var(--home-text);
}

/* Hero */
.home-hero {
    padding: 4rem 0 5rem;
    position: relative;
    overflow: hidden;
}
.home-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 140%;
    background: linear-gradient(135deg, var(--logo-green-light) 0%, var(--logo-gold-light) 50%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.home-hero__inner { position: relative; z-index: 1; }
.home-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    background: var(--home-surface);
    border: 1px solid var(--home-border);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--home-text-muted);
    margin-bottom: 1.25rem;
    box-shadow: var(--home-shadow);
}
.home-hero__badge i { color: var(--logo-green); }
.home-hero__title {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--home-text);
    margin-bottom: 1rem;
}
.home-hero__title span { color: var(--logo-green); }
.home-hero__desc {
    font-size: 1.15rem;
    color: var(--home-text-muted);
    max-width: 540px;
    margin-bottom: 1.75rem;
    line-height: 1.6;
}
.home-hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.home-hero__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--home-font);
    border-radius: var(--home-radius-sm);
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.15s;
}
.home-hero__btn:hover { transform: translateY(-1px); }
.home-hero__btn--primary {
    background: linear-gradient(135deg, var(--logo-green) 0%, #15803d 100%);
    color: #fff;
    border: none;
    box-shadow: 0 2px 8px rgba(22, 163, 74, 0.35);
}
.home-hero__btn--primary:hover { box-shadow: 0 4px 14px rgba(22, 163, 74, 0.4); color: #fff; }
.home-hero__btn--outline {
    background: var(--home-surface);
    color: var(--home-text);
    border: 2px solid var(--home-border);
}
.home-hero__btn--outline:hover { border-color: var(--logo-green); color: var(--logo-green); background: var(--logo-green-light); }
.home-hero__visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.home-hero__visual img { max-width: 100%; height: auto; border-radius: var(--home-radius); box-shadow: var(--home-shadow-lg); }

/* Section titles */
.home-section { padding: 3.5rem 0; }
.home-section__title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--home-text);
    margin-bottom: 0.5rem;
    text-align: center;
}
.home-section__subtitle {
    font-size: 1rem;
    color: var(--home-text-muted);
    text-align: center;
    max-width: 560px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

/* Full-width feature sections: creative layout with imagery from Unsplash */
.home-feature-section {
    padding: 4.5rem 0;
    border-bottom: 1px solid var(--home-border);
    position: relative;
}
.home-feature-section:nth-child(odd) { background: var(--home-bg); }
.home-feature-section:nth-child(even) { background: var(--home-surface); }
.home-feature-section--accent {
    background: linear-gradient(135deg, var(--home-surface) 0%, var(--logo-green-light) 50%, var(--home-surface) 100%) !important;
}
.home-feature-section--first {
    padding-top: 5rem;
}
.home-feature-section--first .home-feature-section__title {
    font-size: clamp(1.75rem, 4vw, 2.35rem);
}
.home-feature-section--reverse .home-feature-section__inner { flex-direction: row-reverse; }
.home-feature-section__container { max-width: 1140px; margin: 0 auto; padding: 0 1rem; }
.home-feature-section__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3rem;
    margin: 0 auto;
}
.home-feature-section__content { flex: 1 1 340px; min-width: 0; }
.home-feature-section__image-wrap {
    flex: 1 1 400px;
    min-width: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(22, 163, 74, 0.08);
    background: var(--home-bg);
    aspect-ratio: 16/10;
    position: relative;
}
.home-feature-section__image-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
    pointer-events: none;
}
.home-feature-section--accent .home-feature-section__image-wrap {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 2px 12px rgba(22, 163, 74, 0.15);
}
.home-feature-section__image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.home-feature-section__label {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.65rem;
    background: var(--logo-green-light);
    color: var(--logo-green);
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    width: fit-content;
}
.home-feature-section__title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--home-text);
    margin-bottom: 0.75rem;
    line-height: 1.25;
}
.home-feature-section__desc {
    font-size: 1rem;
    color: var(--home-text-muted);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}
.home-feature-section__list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}
.home-feature-section__list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--home-text-muted);
    margin-bottom: 0.5rem;
}
.home-feature-section__list li i {
    color: var(--logo-green);
    margin-top: 0.2rem;
    flex-shrink: 0;
}
.home-feature-section .home-hero__btn { margin-top: 0.25rem; }
@media (max-width: 991px) {
    .home-feature-section--reverse .home-feature-section__inner { flex-direction: column; }
}
@media (max-width: 767px) {
    .home-feature-section { padding: 3rem 0; }
    .home-feature-section__inner { gap: 2rem; }
}

/* How it works */
.home-steps { padding: 3rem 0 4rem; background: var(--home-surface); border-top: 1px solid var(--home-border); }
.home-steps__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; text-align: center; }
.home-step__num {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--logo-green) 0%, #15803d 100%);
    color: #fff;
    font-weight: 700;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}
.home-step__title { font-weight: 600; color: var(--home-text); margin-bottom: 0.35rem; }
.home-step__text { font-size: 0.9rem; color: var(--home-text-muted); line-height: 1.5; }

/* CTA */
.home-cta {
    padding: 4rem 0;
    text-align: center;
    background: linear-gradient(135deg, var(--logo-green-light) 0%, var(--logo-gold-light) 100%);
    border-top: 1px solid var(--home-border);
}
.home-cta__title { font-size: 1.75rem; font-weight: 700; color: var(--home-text); margin-bottom: 0.5rem; }
.home-cta__text { color: var(--home-text-muted); margin-bottom: 1.5rem; }
.home-cta .home-hero__btn--primary { font-size: 1.05rem; padding: 0.85rem 1.75rem; }

/* Stats strip (optional) */
.home-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem 3rem;
    padding: 2rem 0;
    border-bottom: 1px solid var(--home-border);
}
.home-stat__value { font-size: 1.75rem; font-weight: 700; color: var(--logo-green); }
.home-stat__label { font-size: 0.85rem; color: var(--home-text-muted); }
