/* ═══════════════════════════════════════════════════════════════════
   Feature Cards Styling
   Location: Landing Page - Hero Section
   Description: Professional feature cards with icons, hover effects,
                and responsive design for ISP platform showcase
   ═══════════════════════════════════════════════════════════════════ */

/* ───────────────────────────────────────────────────────────────────
   Base Card Container
   ─────────────────────────────────────────────────────────────────── */
.feature-card {
    background: #ffffff;
    padding: 12px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    box-shadow: 0 2px 6px rgba(15, 30, 45, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e8eef4;
    height: 100%;
}

/* ───────────────────────────────────────────────────────────────────
   Card Hover State - Interactive Effect
   ─────────────────────────────────────────────────────────────────── */
.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 30, 45, 0.12);
    border-color: #8dc63f;
}

/* ───────────────────────────────────────────────────────────────────
   Icon Wrapper - Default (Green Theme)
   ─────────────────────────────────────────────────────────────────── */
.feature-icon-wrapper {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e8f9e8;
    color: #8dc63f;
    font-size: 20px;
    flex-shrink: 0;
}

/* ───────────────────────────────────────────────────────────────────
   Icon Wrapper - Network Card (Blue Theme)
   ─────────────────────────────────────────────────────────────────── */
.feature-card.network-card .feature-icon-wrapper {
    background: #dce9ff;
    color: #4a90d9;
}

/* ───────────────────────────────────────────────────────────────────
   Icon Wrapper - MikroTik Card (Orange Theme)
   ─────────────────────────────────────────────────────────────────── */
.feature-card.mikrotik-card .feature-icon-wrapper {
    background: #fff5e8;
    color: #f0a500;
}

/* ───────────────────────────────────────────────────────────────────
   Content Container
   ─────────────────────────────────────────────────────────────────── */
.feature-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

/* ───────────────────────────────────────────────────────────────────
   Card Label - Small Text
   ─────────────────────────────────────────────────────────────────── */
.feature-card .mini-label {
    font-size: 11px;
    color: #8a9baa;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

/* ───────────────────────────────────────────────────────────────────
   Card Value - Main Text
   ─────────────────────────────────────────────────────────────────── */
.feature-card .mini-value {
    font-size: 14px;
    font-weight: 700;
    color: #1a2535;
    margin-bottom: 2px;
    line-height: 1.3;
}

/* ───────────────────────────────────────────────────────────────────
   Card Hint - Description Text
   ─────────────────────────────────────────────────────────────────── */
.feature-hint {
    font-size: 10px;
    color: #8a9baa;
    line-height: 1.4;
}

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE DESIGN - Tablet (768px - 1199px)
   ═══════════════════════════════════════════════════════════════════ */
@media (max-width: 1199px) and (min-width: 768px) {
    .feature-card {
        padding: 11px;
    }

    .feature-icon-wrapper {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }

    .feature-card .mini-label {
        font-size: 10px;
    }

    .feature-card .mini-value {
        font-size: 13px;
    }

    .feature-hint {
        font-size: 9px;
    }
}

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE DESIGN - Mobile (< 768px)
   ═══════════════════════════════════════════════════════════════════ */
@media (max-width: 767px) {
    .feature-card {
        padding: 10px;
        gap: 6px;
    }

    .feature-icon-wrapper {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .feature-card .mini-label {
        font-size: 10px;
        margin-bottom: 1px;
    }

    .feature-card .mini-value {
        font-size: 12px;
        margin-bottom: 1px;
    }

    .feature-hint {
        font-size: 9px;
        line-height: 1.3;
    }
}

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE DESIGN - Small Mobile (< 576px)
   ═══════════════════════════════════════════════════════════════════ */
@media (max-width: 575px) {
    .feature-card {
        padding: 9px;
        gap: 5px;
    }

    .feature-icon-wrapper {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .feature-card .mini-label {
        font-size: 9px;
    }

    .feature-card .mini-value {
        font-size: 11px;
    }

    .feature-hint {
        font-size: 8px;
    }
}

/* ═══════════════════════════════════════════════════════════════════
   Accessibility & Print Styles
   ═══════════════════════════════════════════════════════════════════ */

/* Ensure cards are usable on all devices */
@media (prefers-reduced-motion: reduce) {
    .feature-card,
    .feature-card:hover {
        transition: none;
        transform: none;
    }
}

/* Print styles */
@media print {
    .feature-card {
        box-shadow: none;
        border: 1px solid #cccccc;
    }

    .feature-card:hover {
        transform: none;
    }
}

