/* features-hub.css — Features overview page (vozmozhnosti/) */

/* ============================================
   Hero
   ============================================ */
.features-hero {
    padding: 6.5rem 0 4rem;
    text-align: center;
    background: var(--bg-gradient);
}

.features-hero .section-label {
    margin-bottom: 1.5rem;
}

.features-hero h1 {
    margin-bottom: 1rem;
}

.features-hero__sub {
    font-size: 1.175rem;
    max-width: 640px;
    margin: 0 auto 2rem;
    color: var(--text-light);
    line-height: 1.65;
}

/* Differentiator chips */
.features-diff {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.625rem;
    margin-bottom: 2.25rem;
}

.fdc {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text);
    background: white;
    border: 1px solid rgba(45, 49, 66, 0.1);
    border-radius: 20px;
    padding: 0.375rem 0.875rem;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.fdc svg {
    color: var(--primary);
    flex-shrink: 0;
}

/* Stats bar */
.features-hero-stats {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin: 0 auto 2rem;
    flex-wrap: wrap;
}

.features-hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.features-hero-stat__num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.features-hero-stat__label {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.features-hero-cta {
    margin-top: 0.5rem;
}

/* ============================================
   Grid
   ============================================ */
.features-hub-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
    max-width: 1040px;
    margin: 0 auto;
}

/* ============================================
   Card
   ============================================ */
.fh-card {
    display: flex;
    flex-direction: column;
    background: var(--card-bg);
    border: 1px solid rgba(45, 49, 66, 0.07);
    border-radius: var(--radius-md);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    position: relative;
}

.fh-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(237, 83, 138, 0.18);
}

/* ============================================
   Visual illustration zone
   ============================================ */
.fh-card__visual {
    height: 150px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.fh-card__visual svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* Per-feature gradients */
.fhv--finance    { background: linear-gradient(135deg, #059669 0%, #10b981 60%, #34d399 100%); }
.fhv--students   { background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 60%, #60a5fa 100%); }
.fhv--schedule   { background: linear-gradient(135deg, #6d28d9 0%, #7c3aed 60%, #a78bfa 100%); }
.fhv--team       { background: linear-gradient(135deg, #b45309 0%, #d97706 60%, #fbbf24 100%); }
.fhv--mobile     { background: linear-gradient(135deg, #0e7490 0%, #0891b2 60%, #22d3ee 100%); }
.fhv--analytics  { background: linear-gradient(135deg, #1e3a5f 0%, #1e40af 60%, #3b82f6 100%); }
.fhv--automation { background: linear-gradient(135deg, #92400e 0%, #b45309 60%, #f59e0b 100%); }
.fhv--retention  { background: linear-gradient(135deg, #9f1239 0%, #be185d 60%, #f43f5e 100%); }
.fhv--gamification { background: linear-gradient(135deg, #92400e 0%, #c2410c 60%, #fb923c 100%); }
.fhv--shop       { background: linear-gradient(135deg, #5b21b6 0%, #7c3aed 60%, #a78bfa 100%); }

/* ============================================
   Card body
   ============================================ */
.fh-card__body {
    display: flex;
    flex-direction: column;
    padding: 1.75rem 1.75rem 1.5rem;
    flex: 1;
}

/* Icon circle */
.fh-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-pale);
    margin-bottom: 1rem;
    flex-shrink: 0;
    margin-top: -2rem;
    position: relative;
    z-index: 1;
    box-shadow: 0 2px 8px rgba(237, 83, 138, 0.2);
    border: 2px solid white;
}

.fh-card__icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--primary);
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Title */
.fh-card__title {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 0.625rem;
    color: var(--text);
}

/* Description */
.fh-card__desc {
    font-size: 0.9375rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Proof points */
.fh-card__proof {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    flex-grow: 1;
}

.fh-card__proof li {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    padding-left: 1.25rem;
    position: relative;
    line-height: 1.45;
}

.fh-card__proof li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.35em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0.45;
    flex-shrink: 0;
}

/* Link arrow */
.fh-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--primary);
    transition: var(--transition);
    margin-top: auto;
}

.fh-card:hover .fh-card__link {
    gap: 0.625rem;
}

/* ============================================
   Bottom CTA
   ============================================ */
.features-cta {
    text-align: center;
    padding: clamp(4rem, 7vw, 6rem) 0;
    background: var(--bg-warm);
}

.features-cta h2 {
    margin-bottom: 1rem;
}

.features-cta p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-light);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
    .features-hub-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .fh-card__visual {
        height: 120px;
    }

    .fh-card__body {
        padding: 1.5rem 1.5rem 1.25rem;
    }

    .features-hero {
        padding: 5.5rem 0 3rem;
    }

    .features-hero-stats {
        gap: 1.5rem;
    }

    .features-hero-stat__num {
        font-size: 1.625rem;
    }

    .features-diff {
        gap: 0.5rem;
    }

    .fdc {
        font-size: 0.75rem;
        padding: 0.3rem 0.75rem;
    }
}
